]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
output the actual Boundary
[lyx.git] / src / ChangeLog
1 2005-07-16  Juergen Vigna  <jug@lyx.org>
2
3         * text.C (currentState): output the actual Boundary
4
5 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * factory.C (createInset): fix bad logic for tabular creation
8
9 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10
11         * lyx_main.C (init): change some reLyX reference to tex2lyx
12
13 2005-07-16  Juergen Vigna  <jug@lyx.org>
14
15         * dociterator.C (DocIterator): initialize boundary
16
17 2005-07-16  Juergen Vigna  <jug@lyx.org>
18
19         * text2.C (getColumnNearX): Consider rows without trailing blank.  
20
21 2005-07-16  André Pönitz  <poenitz@gmx.net>
22
23         * lyxfont.h: Change order of declarations to give the compiler
24         a better chance to inline things
25
26         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
27         questions on unsaved docs for better scritability
28
29 2005-07-16  André Pönitz  <poenitz@gmx.net>
30
31         * paragraph.h (getChar): remove asserts as the same kind of security
32         can be achieved by using a suitable standard library implementation
33         and the function was in the critical path (25.9% in profiler)
34
35 2005-07-16  Juergen Vigna  <jug@lyx.org>
36
37         * cursor.C (bruteFind2):
38         * bufferview_funcs.C (coordOffset): 
39         * text.C (cursorX,cursorY): Handle cursor position after last char
40         in row before a inset which uses a whole row.
41
42 2005-07-15  José Matos <jamatos@lyx.org>
43
44         * output_plaintext.[Ch] (writeFileAscii): control reference title
45         printing.
46         (asciiParagraph): noparbreak was already deal and was incorrectly
47         used.
48
49 2005-07-15  Juergen Vigna <jug@lyx.org>
50
51         * lyxfunc.C (dispatch): save and restore the cursor after a
52         textclass switch.
53
54 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
55
56         * text.C (backspace): bug 806 for empty keepempty paragraphs we
57         change the layout to default before letting DEPM do its thing.
58
59         * paragraph_funcs.C (breakParagraph): dont reset the layout on
60         keepEmpty paragraphs
61
62         * text.C (setCursorFromCoordinates): add a debug statement
63
64         * text2.C (getColumnNearX): bug 1825 make sure that we don't
65         return a pos that is not on the row
66
67         * output_latex.C (TeXDeeper): get rid of potential dereferencing
68         of past the end iterator
69
70 2005-07-14  André Pönitz  <poenitz@gmx.net>
71
72         * undo.C (recordUndoFullBuffer): implement undo for
73         textclass switches
74
75 2005-07-14  André Pönitz  <poenitz@gmx.net>
76
77         * cursor.C (setSelection): open insets when selection is set there
78         to avoid crashs with cold coord cache
79
80 2005-07-14  André Pönitz  <poenitz@gmx.net>
81
82         * trans_mgr.C (insert): move cursor to the right after inserting
83         a char.
84
85 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
86
87         * BufferView_pimpl.C (update): dampen some of the debug blabbering
88         * factory.C (readInset): ditto
89         * text.C, text2.C: ditto
90
91 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
92
93         * buffer.C: format incremented to 242. There is no file format per
94         se, but the "frenchb" language has been removed from lib/language
95         and has to be translated to "french" by lyx2lyx.
96
97 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
98
99         * cursor_slice.h, dociterator.h: add some documentation
100         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
101
102 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
103
104         * text.C (leftMargin): do not add identation to display() style
105         insets, because they are always centered (bug 1293).
106
107 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
108
109         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
110         formatted_time methods in support/lyxtime.
111
112 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
113
114         * toc.[Ch]: new method getGuiName, which is used by the frontends 
115         to set the toc combo (fixes bug 1870). Make TOC string translatable.
116
117 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
118
119         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
120         StableDocIterator const &)
121         * undo.C (recordUndo): use the above instead of cell.size() comparison
122         (fixes bug 1808; instructed by André).
123
124 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
125
126         * cursor_slice.h: 
127         * dociterator.h: Fix the assert when copying rows/cols in math
128
129 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
130
131         * BufferView_pimpl.C:
132         * LyXAction.C:
133         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
134
135         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
136         (findInset): new functions, refactored from goto Inset that return 
137         the position of a certain inset without setting the buffer's cursor
138         (by Jean-Marc); 
139         (gotoInset): rewrite to call findInset and then set the cursor
140         (by Jean-Marc).
141
142 2005-06-16  Angus Leeming  <leeming@lyx.org>
143
144         * lyxrc.C (output, read): wrap all input and output of paths with
145         calls to os::internal_path and os::external_path, respectively.
146         (output): wrap bind_file inside quotes.
147
148         * format.C (view): enable the viewer to use the '$$s' placeholder.
149
150 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
151
152         * LColor.[Ch] (getFromLaTeXName): new
153
154 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
155
156         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
157
158 2005-06-14  Angus Leeming  <leeming@lyx.org>
159
160         * lyx_main.C (init): ensure that the LyX binary dir is the first
161         element in the PATH on non-POSIX builds.
162
163 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
164
165         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
166
167 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * rowpainter.C (paintInset, paintHebrewComposeChar)
170         (paintArabicComposeChar, paintChars): add a LyXFont argument.
171         (paintChars): use getFontSpan to reduce calls to getFont to a
172         minimum; use Paragraph::lookupChange instead of isXXXText.
173         (paintForeignMark): rename LyXFont argument.
174         (paintFromPos): pass a LyXFont object to the various paintXXX
175         methods.
176
177         * FontIterator.C (FontIterator, operator++): use
178         Paragraph::getFontSpan
179
180         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
181         version that returns the font span as a pair.
182
183 2005-06-09  Angus Leeming  <leeming@lyx.org>
184
185         * converter.C (convert): Don't forget "outfile = real_outfile" as
186         the final step in a conversion where the input and output file names
187         are the same. Otherwise, future conversion steps won't work...
188
189 2005-06-09  Angus Leeming  <leeming@lyx.org>
190
191         * lyxsocket.C: remove stub code as it isn't needed by
192         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
193
194 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
195
196         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
197         effectively disabled -x
198
199 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
200
201         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
202         when it actually makes sense.
203
204 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
205
206         * BufferView_pimpl.C: revert to showCursor in connection with
207         Lars's front-end stack
208
209 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
210
211         * text.C (redoParagraph): move cursor right after a bibitem
212         has been inserted.
213
214         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
215
216 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * buffer_funcs.C (bufferErrors): fix computation of the end of an
219         error range.
220
221 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
222
223         * BufferView.[Ch] (update):
224         * BufferView_pimpl.[Ch] (update, metrics):
225         * dimension.h (operator==):
226         * lyxfunc.C (dispatch):
227         * metricsinfo.h (ViewMetricsInfo):
228         * rowpainter.C (paintText):
229         * lyxtext.h:
230         * text.C (redoParagraph):
231         * text3.C (dispatch): Make LyX only repaint current paragraph in
232         case of character insert --> speedup. Also fix cursor draw
233         artifacts
234
235 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
236
237         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
238         avoid a crash (bug 1891)
239
240 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         Fix bug 1892:
243
244         * text2.C (getStringToIndex): constify cur argument.
245
246         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
247         argument has been given
248         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
249         try to invoke LFUN_INSET_APPLY).
250
251         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
252         if no inset was created by doInsertInset
253         (doInsertInset): return true if an inset has been inserted.
254
255 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
256
257         * vspace.C (asGUIName): new method. A version of the space
258         suitable for showing on screen.
259
260 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
261
262         * MenuBackend.C:
263         * lyxrc.C: rename "ASCII" to "Plain Text"
264
265 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
266
267         * buffer_funcs.C (expandLabel): take a Buffer as argument;
268         translate the labelstring.
269         (setCounter): translate labelstring as needed.
270
271         * output_docbook.C (makeCommand): fix expandLabel invokation
272
273 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
274
275         * BufferView.C: fix dialog title
276
277 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
278
279         * lyx_main.C (priv_exec): fix logic error with help from Angus
280         * lyx_main.C (parse_execute): set is_gui = false and remove now
281         obsolete comment about a segfault
282
283 2005-05-18  Angus Leeming  <leeming@lyx.org>
284
285         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
286
287 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
288
289         * tabular.[hC]: added setCellInset to fix tabular paste.
290
291 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
292
293         * buffer.C (save): check if destination is writable before trying
294         to copy a file
295
296 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
297
298         * BufferView_pimpl.C (update): fix processEvents -caused update
299         recursion bug
300
301 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
302
303         * buffer_funcs.C (setCounter): fix test for numbering of
304         environments.
305
306         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
307         depth correctly; use optional argument when it exists
308
309         * lyxtextclass.C: remove unused MaxCounterTags enum
310         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
311         (max_toclevel, min_toclevel): new methods.
312
313         * MenuBackend.C (expandToc2): fix case where depth is smaller than
314         the smallest depth in toc.
315
316         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
317         layouts that should not appear in a table of contents.
318
319 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
320
321         * cursor.h (undispatched, noUpdate): add comments from André
322
323 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
324
325         * lfuns.h:
326         * LyXAction.C:
327         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
328
329 2005-05-07  André Pönitz  <poenitz@gmx.net>
330
331         * cursor.[Ch] (leaveInset): new function
332
333 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
334
335         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
336
337 2005-05-04  Angus Leeming  <leeming@lyx.org>
338
339         * lyxfunc.C (getStatus): disable the spell checker dialog if
340         none of USE_[AIP]SPELL are defined.
341
342 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
343
344         * tabular.C (setWidthOfCell): remove obsolete comment
345
346 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
347
348         * paragraph.C (bibitem):
349         * buffer_funcs.C (setCounter):
350         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
351
352 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
353
354         * text3.C (getStatus): immediately return after setOnOff
355
356         * rowpainter.C: fix drawing of appendix start
357
358 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
359
360         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
361         SwitchBetweenClasses and remove the unused return value.
362         Handle character styles, too
363
364 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
365
366         * factory.C (createInset): handle undefined character styles
367
368 2005-05-02  Angus Leeming  <leeming@lyx.org>
369
370         * buffer.C: protect the #include of utime.h with a preprocessor
371         guard.
372
373 2005-05-02  Angus Leeming  <leeming@lyx.org>
374
375         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
376         function so that auto-saving works, albeit in a blocking manner.
377
378         * Makefile.am: make compilation of the client sub directory, of
379         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
380         on conditionals set at configure time.
381
382         * SpellBase.[Ch]: no longer an abstract base class. Instead,
383         it can be compiled in its own right but has no-op functionality.
384
385         * aspell.C, pspell.C: remove preprocessor guards. The files should
386         be compiled only if the necessary functionality exists.
387
388         * lyxserver.C, lyxsocket.C: disable on Windows.
389
390 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
391
392         * text.C (leftMargin): Fix the parindent use bug (1764)
393         by dirty trick
394
395 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
396
397         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
398         argument.
399
400 2005-04-25  Angus Leeming  <leeming@lyx.org>
401
402         * Bidi.[Ch]:
403         * coordcache.[Ch]:
404         * ispell.C:
405         * lyxserver.C:
406         * mover.C:
407         * pch.h:
408         include <config.h> in .C files, not .h ones.
409         add licence blurb.
410         protect headers inside preprocessor guards.
411
412 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
413
414         * FuncStatus.h (StatusCodes): document
415
416 2005-04-21  André Pönitz  <poenitz@gmx.net>
417
418         * FuncStatus.h (enabled, onoff): document
419
420 2005-04-19  Angus Leeming  <leeming@lyx.org>
421
422         * BufferView_pimpl.C (cursorToggle): no longer test whether
423         any child processes have been reaped before calling
424         handleCompletedProcesses().
425
426 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
427
428         * text3.C (dispatch): fix, finally fix, the language problem in
429         new lyxtexts, without disabling on-the-fly font changes (Helge's
430         bug report)
431
432 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
433
434         * text3.C (dispatch): set cursor on double/triple click events
435         (bug 1811)
436
437 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
440         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
441
442         * rowpainter.C (paintFirst): simplify the code a little bit. In
443         particular, remove the test for secnumdepth.
444         * text.C (setHeightOfRow): only allocate space for chapter number
445         when updateCounters provided an actual label, instead of looking
446         at secnumdepth directly.
447
448         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
449
450         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
451         paragraphs when secnumdepth is large enough or, for environments,
452         when they are not the first in a sequence.
453
454 2005-04-17  Angus Leeming  <leeming@lyx.org>
455
456         * buffer.C (makeLaTeXFile): replace code to manipulate a path
457         containing space and '~' characters with a call to latex_path().
458
459 2005-04-17  Angus Leeming  <leeming@lyx.org>
460
461         * converter.C (convert): protect all args of convertDefault.sh
462         script with quotes.
463
464 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
465
466         * text3.C (dispatch): change the layout to "Caption" after inserting
467         a float.
468
469 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
470
471         * text3.C (dispatch): fix language problem in newly created
472         textinsets (and main text) in non-english docs
473
474 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
475
476         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
477         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
478         * text3.C (getStatus): disable LFUN_INSET_MODIFY
479
480 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
481
482         * lyxtext.h:
483         * text.C (metrics):
484         * text2.C (getFont):
485         * rowpainter.C (getFont): Fix metrics bug introduced by inset
486         fonts fix
487
488 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
489
490         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
491         output of \item arguments without trailing text.
492
493 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * FontIterator.C (operator*): avoid a copy of the font.
496
497 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
498
499         * rowpainter.C (getFont): fix language bug from previous fix
500
501 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
502
503         * rowpainter.C (RowPainter, getFont): fix font inside inset
504         (bugs 1766, 1809)
505
506 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
507
508         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
509         preventing inserted font, deco, delim insets jumping to start of
510         surrounding inset.
511
512 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
513
514         * lyxfunc.C (dispatch): translate message before sending it to the
515         minibuffer.
516
517 2005-03-29  Angus Leeming  <leeming@lyx.org>
518
519         * lyx_main.C (priv_exec): call os::internal_path on each file passed
520         to LyX on the command line.
521
522 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
523
524         * vc-backend.C: use QuoteName to protect file names wherever
525         necessary.
526
527 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
528
529         * buffer.[Ch]:
530         * BranchList.h: fix bugs 1844,1845: document settings don't
531         stick
532
533 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
534
535         * lyxrc.C (setDefaults, read, output, getDescription): add support
536         for tex_allows_spaces.
537
538         * exporter.C (Export): allows files in directory containing spaces
539         if tex_allows_spaces is true.
540
541         * buffer.C (makeLaTeXFile): if the document path contains spaces,
542         output it in double quotes.
543
544 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
545
546         * rowpainter.C: use default text height for drawing change tracker
547         strikeout lines.
548
549 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
550
551         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
552
553 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
554
555         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
556         directory is missing.
557
558 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
559
560         * text2.C: fixed the fix, extended to other case.
561
562 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
563
564         * text2.C: fix for cursor up/down stuck in math [bug 1792]
565
566 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
567
568         * text2.C (cursorUp): get rid of a crash
569         * text.C (x2pos): add an assert
570
571 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
572
573         * lyxfunc.C (getStatus): fix warning when assertions are disabled
574
575         * text3.C:
576         * lyxfunc.C:
577         * dociterator.C: include <boost/current_function.hpp>, which is
578         needed when assertions are disabled.
579
580 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
581
582         * text2.C: fix for stuck cursor when traversing two
583         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
584
585 2005-02-25  Andreas Vox  <avox@arcor.de>
586
587         * output_docbook.C (makeParagraph): suppress trailing newline
588         after a run of paragraphs
589
590 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
591
592         * paragraph.C: fix for confused change tracker when pasting
593         text that begins with a lineseparator. [bug 1827]
594         (setChange(0, Change::INSERTED);)
595
596         * paragraph_funcs.C: fix for lost changes on triple-paste
597         in change tracking mode [bug 1827] (par.setChange()).
598
599 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
600
601         * text2.C (updateCounters, setCounter, expandLabel): move to
602         buffer_funcs.
603
604         * buffer_funcs.C (updateCounters): turn into a free standing
605         function and add a buffer parameter. Remove dead code for tracking
606         labelstring change.
607         (setCounter): change into a free-standing function which gets a
608         dociterator as argument. Use this iterator to fix captions in a
609         simple way. When no float is found above the caption, use the
610         labelstring of the caption layout as default.
611
612         * text.C (breakParagraph, backspace):
613         * text2.C (init, setLayout, changeDepth):
614         * text3.C (dispatch):
615         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
616         updateCounters.
617
618         * dociterator.C (forwardPar): make it much faster by calling
619         forwardPos() only when really necessary.
620
621         * output_docbook.C (makeCommand): adapt to expandLabel move.
622
623         * cursor.C: remove unused variable
624
625 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
626
627         * paragraph_funcs.C: fix crash when pasting insets in change
628         tracking mode [bug 1277] (honour change type in moveItem).
629
630 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
631
632         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
633
634 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * BufferView.C (setCursor): change to use a DocIterator.
637         (gotoLabel): use BufferView::setCursor (other part of bug 781).
638         (putSelectionAt): adapt to BufferView::setCursor change.
639
640         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
641         moved here from LyXText and rewritten to use proper cursor
642         methods. Fixes bug 1787, 616 and 835.
643
644         * BufferView_pimpl.C (restorePosition): set the cursor correctly
645         when inside an inset (part of bug 781).
646         (dispatch): adapt to change of BufferView::setCursor.
647         (getStatus, dispatch): handle LFUN_GOTOERROR,
648         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
649
650         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
651         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
652         * text3.C (gotoNextInset, gotoInset): removed.
653
654 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
655
656         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
657
658 2005-02-15  Angus Leeming  <leeming@lyx.org>
659
660         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
661         can be used meaningfully in a comparison.
662
663 2005-02-13  André Pönitz  <poenitz@gmx.net>
664
665         * bufferview_funcs.C (coordOffset): improve cursor drawing
666
667 2005-02-13  André Pönitz  <poenitz@gmx.net>
668
669         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
670         * Cursor.C (dispatch): use fixIfBroken
671         * lyxfunc.C (getStatus): use fixIfBroken
672
673 2005-02-15  Angus Leeming  <leeming@lyx.org>
674
675         * lyx_main.C (error_handler):
676         * lyxfunc.C:
677         * lyxrc.C (setDefaults):
678         s/GetEnv/getEnv/.
679         #include "environment.h".
680
681         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
682
683 2005-02-15  Angus Leeming  <leeming@lyx.org>
684
685         * lyxserver.C (startPipe): squash MSVC warning "local variable
686         'fd' used without having been initialized".
687
688 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
689
690         * BufferView_pimpl.C: revert accidental commit.
691
692 2005-02-14  André Pönitz  <poenitz@gmx.net>
693
694         * dociterator.[Ch]: new member forwardPosNoDescent(),
695         which doesn't enter nested insets.
696         * text2.C (setFont): use forwardPosNoDescent() instead
697         of ForwardPos() (fixes crash on font change).
698
699 2005-02-13  Angus Leeming  <leeming@lyx.org>
700
701         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
702         only if lyxrc.path_prefix is not empty.
703
704 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
705
706         * bufferparams.C (readGraphicsDriver): prevent crash
707
708 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
709
710         * text2.C (setCounter): check for inInset() == 0
711
712 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
715         but use update() to get correct screen display; use convert
716         instead of istringstream.
717         (getStatus): handle LFUN_GOTO_PARAGRAPH
718
719         * lyxfunc.C (dispatch, getStatus): do not handle
720         LFUN_GOTO_PARAGRAPH here.
721
722 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
723
724         * text3.C (dispatch): size() -> depth()
725
726         * text2.C: remove some debug output
727
728         * paragraph.C: ws changes only
729
730         * lyxfunc.C (getStatus): size() -> depth()
731
732         * dociterator.h (clear, push_back, pop_back, internalData,
733         operator[], resize, empty): new functions
734         Make StableDocIterator and operator== be friends. Don't inherit
735         from std::vector use a privat class variable slices_ instead.
736         Modify to fit.
737
738         * dociterator.C: update because of not inheriting from std::vector
739         anymore. Call explictly to slices_ instead. Use depth() instead of
740         size() and top() instead of back()
741
742         * cursor.C: chagne size() -> depth and back() -> top(). Also
743         remove some direct operator[](i) calls in favour of foo[i]
744         (getFont): remove some dead code
745
746         * bufferview_funcs.C (coordOffset): size() -> depth()
747
748         * buffer.C: ws changes only
749
750         * CutAndPaste.C (eraseSelection): back() -> top()
751
752         * BufferView_pimpl.C (selectionRequested): back() -> top()
753
754         * BufferView.C (setCursor): size() -> depth()
755
756 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
757
758         * text3.C (cursorPrevious): return true if depm changed something
759         (cursorNext): ditto
760         (dispatch): rename sl to oldTopSlice, remove moving use the new
761         NoUpdate func attrib instead. Make sure that needsUpdate is set
762         for function that have NoUpdate, but where depm might have changed
763         the buffer anyway.
764
765         * text2.C (cursorLeft): make us return true if depm changed
766         something
767         (cursorRight): ditto
768         (cursorUpParagraph): ditto
769         (curosrDownParagraph): ditto
770         (cursorUp, cursorDown): ditto, make sure to read comments in code
771         (deleteEmptyParagraphMechanism): remove an assert, also return
772         true if just a single char was deleted.
773
774         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
775         cursor that we modify, to avoid modifying an active cursor before
776         we call setCursor. This allows depm to run. Also return true if
777         depm deleted something.
778
779         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
780         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
781         cursorDownParagraph, cursorPrevious and cursorNext, return true if
782         something was changed in the buffer because of them (ie. depm run)
783
784         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
785         debug messages. Make update by default be false. Make sure that
786         the result of update is retained throught several calls down to
787         dispatch.
788
789         * LyXAction.h: add a new func_attrib: NoUpdate
790
791         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
792         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
793         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
794         and LFUN_WORDLEFT
795         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
796
797 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
798
799         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
800         bv_->owner(), bv_->buffer() by direct references to the private
801         members.
802         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
803         (getStatus): isSavedPosition() is in BufferView::Pimpl.
804         (fitCursor): center() is in BufferView::Pimpl.
805         (getStatus, trackChanges, dispatch): no need for a temporary buf
806         variable
807         (fitCursor, workAreaDispatch): use workarea().workheight()
808
809 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
810
811         * CutAndPaste.C (pasteSelectionHelper): fix a crash
812
813 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
814
815         * buffer.C: format up to 241.
816         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
817         break if pasting into ERT
818         * lyxfunc.C (getStatus): suppress mathpanel and
819         LFUN_DIALOG_SHOW_NEW_INSET in ERT
820
821 2005-02-01  Angus Leeming  <leeming@lyx.org>
822
823         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
824
825 2005-02-01  Angus Leeming  <leeming@lyx.org>
826
827         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
828         calling fs::is_directory().
829
830 2005-01-31  Angus Leeming  <leeming@lyx.org>
831
832         * lyx_main.C (priv_exec): specify explicitly the relative location
833         of the top level build directory when run in-place.
834
835 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
838         LyXText containing the cursor, not the top-level one.
839
840         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
841         true.
842         (insertStringAsLines): rename par to pit; use temporary variable
843         par to hold a Paragraph; do not store par.layout() in a variable,
844         since the pointer may die when breaking paragraphs; pass pars to
845         breakParagraph() instead of Buffer::paragraphs().
846
847 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
848
849         * lyxlex_pimpl.h: #include <fstream>.
850
851         * BufferView.[Ch] (getLyXText): add a const version.
852
853         * BufferView_pimpl.C: add debug aids.
854
855         * RowList_fwd.h:
856         * buffer.h:
857         * lyxrow.h:
858         * paragraph_funcs.h: add commentary explaining what the class does.
859
860
861         * coordcache.[Ch]: add lots of commentary.
862         (startUpdating, doneUpdating): debug aids.
863         (arrays, insets, parPos, getParPos): accessors to private data.
864
865         * cursor_slice.[Ch] (text): add a const version.
866         * dociterator.[Ch] (text, innerText): add const versions.
867
868         * lyxtext.h (breakParagraph): change the keep_layout arg to a
869         bool.
870
871         * paragraph.C (getRow, pos2ros): add asserts.
872
873         * paragraph.h: add commentary. Lots of.
874
875         * paragraph.[Ch] (metrucs, draw): removed.
876
877         * cursor.C:
878         * rowpainter.[Ch]: const-correct changes.
879
880         * text.C: various obvious clean-ups. Removal of ancient cruft.
881         Bug fixes, even.
882
883 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
884
885         * vc-backend.C (find_file): rewrite to use boost.filesystem
886         (scanMaster): ditto
887
888         * main.C (main): set default name check for boost.filesystem to
889         no check
890
891         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
892         (open): ditto
893         (doImport): ditto
894         (actOnUpdatedPrefs): ditto
895
896         * lyx_main.C (init): rewrite to use boost.filesystem
897         (queryUserLyXDir): ditto
898
899         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
900         (getContentsOfAsciiFile): ditto
901
902         * lastfiles.C (readFile): rewrite to use boost.filesystem
903
904         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
905
906         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
907         (loadLyXFile): ditto
908
909         * buffer.C (Buffer): adjust for destroydir
910         (getLogName): rewrite to use boost.filesystem
911         (setFileName): ditto
912         (save): use fs::copy_file (from fs_extras)
913
914         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
915
916         * LaTeX.C (run): rewrite to use boost.filesystem
917         (scanAuxFiles): ditto
918         (handleFoundFile): ditto
919
920 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
921
922         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
923
924         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
925
926 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
927
928         * lyxlayout.[Ch]: change some vars from float to double
929
930         * buffer.C (readFile): make a local var const
931
932         * Several files: use convert<> instead of atoi,strToXXX and friends
933
934 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
935
936         * LaTeXFeatures.[Ch]: Add a static list packages_ that
937         holds the contents of packages.lst. New functions getAvailable
938         and isAvailable to parse and check that list, resp.
939
940         * LyXAction.C:
941         * lfuns.h:
942         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
943
944         * bufferparams.[Ch]: new param output_changes.
945
946         * Buffer.C: increase file format to 240.
947         Use output_changes and isVailable.
948
949         * changes.[Ch]:
950         * paragraph.C:
951         * paragraph_pimpl.C: Use output_changes and isVailable.
952
953 2005-01-23  Angus Leeming  <leeming@lyx.org>
954
955         * output_latex.C: #include "insetbibitem.h", rather than
956         forward declare function bibitemWidest.
957
958 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
959
960         * lyx_main.C (init): make it compile on the Mac.
961
962 2005-01-20  Angus Leeming  <leeming@lyx.org>
963
964         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
965         (setLyXMisc): (char string literal) != (char string literal) is
966         performing a comparison on the addresses. Convert one operand
967         explicitly to string to guarantee expected behaviour.
968         From MSVC warning.
969
970 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
971
972         * buffer.C:
973         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
974
975         * output_plaintext.C: remove unneeded #include gzstream.h.
976
977 2005-01-20  Angus Leeming  <leeming@lyx.org>
978
979         * SpellBase.h: rename some of the elements of the Result enum.
980
981         * aspell_local.h:
982         * ispell.h:
983         * pspell.h:
984         * aspell.C (check):
985         * ispell.C (check):
986         * pspell.C (check): ditto
987
988 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
989
990         * buffer.C: add #include <fstream>.
991
992         * lyx_main.C (init): Compile fix.
993
994         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
995
996 2005-01-20  Angus Leeming  <leeming@lyx.org>
997
998         * mover.h: change commentary to reflect the changed meaning of
999         the $$s placeholder.
1000
1001 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1002
1003         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1004
1005         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1006
1007 2005-01-20  Angus Leeming  <leeming@lyx.org>
1008
1009         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1010         printing diagnostic data by not dereferecing an iterator past the
1011         end.
1012
1013 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1014
1015         * buffer.C (readHeader): use "&&" rather than "and".
1016
1017         * lyxserver.h (inPipeName, outPipeName): make these const.
1018
1019 2005-01-19  Angus Leeming  <leeming@lyx.org>
1020
1021         * lyx_main.C (error_handler, init): protect SIGHUP with
1022         #ifdef SIGHUP guards.
1023
1024 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1025
1026         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1027
1028 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1029
1030         * text.C (setHeightOfRow): add a margin at the top and bottom of
1031         the document (bug 1761)
1032
1033 2005-01-17  Angus Leeming  <leeming@lyx.org>
1034
1035         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1036         with "python ". Workaround for a brain-dead Windows.
1037
1038 2005-01-16  Angus Leeming  <leeming@lyx.org>
1039
1040         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1041         for MacOSX and Windows to use prependEnvPath.
1042         Strip out the hard-coded block to add elements to the PATH for
1043         MacOSX and replace it with a call to prependEnvPath using the
1044         contents of LyXRC::path_prefix.
1045         (queryUserLyXDir): strip out the code to run reconfigure, instead
1046         returning a boolean indicating the necessity to do so.
1047         (reconfigureUserLyXDir): contains the code to reconfigure the
1048         user support directory. Is now called after the various LyXRC data
1049         files have been read.
1050
1051         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1052
1053 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1054
1055         * converter.[Ch] (convert): take a new parameter try_default. Use
1056         a default converter (imagemagick) if try_default is true.
1057
1058 2005-01-13  Angus Leeming  <leeming@lyx.org>
1059
1060         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1061         os::cygwin_path_fix.
1062         (write): output LyXRC::cygwin_path_fix as necessary.
1063
1064 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1065
1066         * lyxrc.h:
1067         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1068
1069 2005-01-12  Angus Leeming  <leeming@lyx.org>
1070
1071         * lyx_main.C (init): set the PATH variable to include the
1072         directory containing the LyX binary when running on Mac or Windows.
1073
1074 2005-01-12  Angus Leeming  <leeming@lyx.org>
1075
1076         * lyx_main.C (init): remove cruft that purports to set the locale
1077         dir. It doesn't and is not needed anyway.
1078
1079 2005-01-10  Angus Leeming  <leeming@lyx.org>
1080
1081         * Makefile.am: remove the lyx_main.C special casing.
1082
1083         * BufferView_pimpl.C:
1084         * bufferlist.C:
1085         * exporter.C:
1086         * lyx_cb.C:
1087         * lyx_main.C:
1088         * lyxfunc.C:
1089         * messages.C: use support/package.h to provide the paths to the
1090         various directories used by LyX.
1091
1092 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1093
1094         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1095         layout if pasting into an empty paragraph)
1096
1097 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1098
1099         * tex-accent.C: add <string>
1100
1101 2005-01-06  José Matos  <jamatos@lyx.org>
1102
1103         * ParagraphParameters.C (write): put every parameter in its own line.
1104         * paragraph.C (write): reduce number of consecutive empty lines exported.
1105         * buffer.C (LYX_FORMAT): increase file format to 239.
1106
1107 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1108
1109         * everywhere: change support/tostr.h -> support/convert.h
1110
1111         * tabular.C: make all write_attributes templates, tostr -> convert
1112
1113         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1114         (emptyTag): and -> &&, and fix type for ret from getChar
1115         (getFirstWord): fix type for ret from getChar
1116         (onlyText): and -> &&
1117         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1118         getChar
1119
1120         * toc.C (goTo, action):
1121         * text3.C (dispatch):
1122         * text.C (currentState):
1123         * tex-accent.C (DoAccent):
1124         * sgml.C:
1125         * lyxrc.C:
1126         * lyxfunc.C (menuNew):
1127         * lyxfinc.C (replace):
1128         * counters.C (laberItem):
1129         * bufferview_funcs.C (font2string):
1130         * bufferparams.C (writeFile):
1131         * buffer.C (readFile):
1132         * Spacing.C (set):
1133         * MenuBackend.C: tostr -> convert
1134
1135         * LaTeX.C (runMessage): fix format
1136         (scanAuxFiles): tostr -> convert
1137
1138         * BufferView_pimpl.C (savePosition): fix format
1139         (restorePosition): ditto
1140         (dispatch): ditto
1141
1142 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1143
1144         * Spacing.[Ch]: New method getValueAsString().
1145
1146         * Spacing.[Ch]:
1147         * bufferparams.C:
1148         * ParagraphParameters.C:
1149         * lyxlayout.C:
1150         * text.C:
1151         * text3.C: store/read spacing value as string.
1152
1153         * rowpainter.C: change float value (spacing_val) to double.
1154
1155         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1156         broken custom document spacing).
1157
1158 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1159
1160         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1161         namespace, also more use of temp references and const
1162
1163         * cursor.[Ch] (getStatus): move to lyxfunc.C
1164
1165         * bufferparams.C: reformat slightly
1166
1167         * bufferview_funcs.C (font2string): constify arg
1168
1169         * changes.C:
1170         * converter.C:
1171         * counters.C:
1172         * bufferlist.C:
1173         * buffer_funcs.C: (many funcs): constify arg on function
1174         definitions, also make more local vars const, also add ASSERTS on
1175         pointer args.
1176
1177         * buffer.C (LYX_FORMAT): put const in correct place
1178         (many funcs): constify arg on function definitions, also make
1179         more local vars const
1180
1181         * aspell_local.h: remove "struct" from typdef setup
1182
1183         * aspell.C (check): make word_ok const
1184         (nextMiss): simplify slightly
1185         (error): ditto
1186
1187 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1188
1189         * lyxrc.[Ch]: store all float values as strings.
1190         use int (not float) for lyxrc.dpi.
1191
1192 2005-01-04  Angus Leeming  <leeming@lyx.org>
1193
1194         * lyx_cb.C (Reconfigure):
1195         * lyx_main.C (queryUserLyXDir):
1196         to run the <system_lyxdir>/configure correctly on Windows, prefix
1197         the path to the script with "sh " when generating the string that
1198         is passed to system().
1199
1200 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1201
1202         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1203
1204 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1205
1206         * lyxlength.C (asLatexString): get rid of setprecision
1207
1208 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1209
1210         * text2.C (setLayout): remove unused variable endpit.
1211         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1212
1213         * paragraph.C (onlyText): remove unused variable style.
1214
1215         * cursor.C (bruteFind): remove unused variables beg and end.
1216
1217         * Makefile.am (dist_noinset_DATA): not needed anymore
1218
1219         * cheaders/*: remove.
1220
1221 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1222
1223         * text3.C: fix LFUN_MATH_MODE.
1224
1225 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1226
1227         * buffer_funcs.C (countWords): new function. Counts words between
1228         two iterators.
1229
1230         * BufferView_pimpl.C (getStatus, dispatch): handle
1231         LFUN_WORDS_COUNT.
1232
1233         * LyXAction.C (init):
1234         * lfuns.h: add LFUN_WORDS_COUNT.
1235
1236 2004-12-19  Angus Leeming  <leeming@lyx.org>
1237
1238         * buffer.C (save): s/slashify_path/internal_path/.
1239
1240 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1241
1242         * lyxfind.C (findChange): do not search for end of pars, because
1243         the change tracker cannot handle this (fixes bug 1719).
1244
1245 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1246
1247         * paragraph.[Ch] (autoBreakRows): remove
1248
1249         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1250
1251         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1252         avoid using the paragraph one
1253
1254         * text2.C (LyXText, insertStringAsLines): adjust
1255
1256 2004-12-16  Angus Leeming  <leeming@lyx.org>
1257
1258         * bufferlist.C:
1259         * lyx_main.C:
1260         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1261
1262 2004-12-14  Angus Leeming  <leeming@lyx.org>
1263
1264         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1265
1266         * bufferlist.C (emergencyWrite):
1267         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1268         GetEnvPath("HOME").
1269
1270 2004-12-14  Angus Leeming  <leeming@lyx.org>
1271
1272         * main.C: (main): no longer pass pointers to os::init.
1273
1274 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1275
1276         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1277         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1278
1279 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1280
1281         * lyxfunc.C:
1282         * text3.C: remove selection_possible global flag
1283
1284 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1285
1286         * text2.C (getSelectionSpan): remove
1287         (changeDepth, changeDepthAllowed): adjust
1288
1289 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1290
1291         * Makefile.am (BOOST_LIBS): use boost variables
1292
1293 2004-12-03  José Matos  <jamatos@lyx.org>
1294
1295         * buffer.C: format up to 238.
1296
1297 2004-12-03  José Matos  <jamatos@lyx.org>
1298
1299         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1300
1301 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1302
1303         * cursor.C (goUpDown): remove call to idxUpDown2
1304
1305 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1306
1307         * tabular.[Ch]: use size_t-like types for cell, row and column
1308         indices
1309
1310 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1311
1312         * lyxfunc.C (getStatus): do not lose previous information when
1313         calling BufferView::getStatus; do not set a default "Command
1314         disabled" message at the beginning, but just before returning.
1315
1316 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1317
1318         * cursor.h (getStatus): add better comment from src/cursor.C
1319
1320 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1321
1322         * text3.C (getStatus): return false when the lfun is not handled
1323
1324 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1325
1326         * broken_headers.h: remove
1327
1328         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1329
1330 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1331
1332         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1333         offset_ref accessors
1334
1335         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1336         top_y_, merge fitcursor with update
1337         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1338         coord scheme
1339         (metrics): introduce
1340         (workAreaDispatch): adapt to new coord scheme
1341         (redoCurrentBuffer): remove
1342
1343         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1344
1345         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1346         CurStatus enum.
1347
1348         * coordcache.[Ch]: add paragraph cache and helpers
1349
1350         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1351         adjust everywhere
1352
1353         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1354         (targetX, setTargetX): introduce
1355
1356         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1357         baseline -> ascent, as the rest of lyx
1358
1359         * lyxtext.h: remove redoParagraphs, updateParPositions,
1360         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1361         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1362         have ascent/descent (ascent is ascent of first par)
1363
1364         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1365         step of BufferView
1366
1367         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1368
1369         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1370
1371         * pariterator.C: fix infinite loop introduced in par->pit renaming
1372
1373         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1374         in insets and LyXText, draw two off-screen paragraphs using
1375         NullPainter, and adapt to new coord scheme
1376
1377         * text.C:
1378         * text2.C:
1379         * text3.C: adapt lfun handlers to the new coord scheme, which
1380         means: there's only guaranteed coord information for onscreen pars
1381         plus one above and one below. This implies that one can do search
1382         from y coordinates in the range [-1,workHeight]
1383
1384 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1385
1386         * rename a lot of InsetOld to InsetBase
1387
1388 2004-11-25  Angus Leeming  <leeming@lyx.org>
1389
1390         * BufferView_pimpl.C:
1391         * lyx_cb.C:
1392         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1393
1394 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1395
1396         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1397         call BufferView::getStatus if LCursor::getStatus did nothing
1398         (setStatusMessage, getStatusMessage): removed.
1399
1400         * FuncStatus.C (message): new methods. Used to provide an error
1401         message indicating why a command is disabled.
1402         (clear, |=, FuncStatus): update for message.
1403
1404 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1405
1406         * lyxfunc.C (dispatch): always call sendDispatchMessage
1407
1408 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1409
1410         * BufferView.C:
1411         * BufferView_pimpl.C:
1412         * CutAndPaste.C:
1413         * FontIterator.C:
1414         * buffer.C:
1415         * cursor.C:
1416         * cursor_slice.[Ch]:
1417         * dociterator.[Ch]:
1418         * lyxfind.C:
1419         * paragraph_funcs.C:
1420         * pariterator.C:
1421         * rowpainter.C:
1422         * text.C:
1423         * text2.C:
1424         * text3.C:
1425         * undo.C: par->pit renaming
1426
1427 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1428
1429         * tabular.C (cellstruct): use initialization, store a shared_ptr
1430         to insettext instead of the insettext directly, adjust to fit.
1431         (operator=):  new function
1432         (swap): new function
1433         (rowstruct): use initialization
1434         (columnstruct): use initialization
1435         (ltType): use initialization
1436
1437
1438         * lyxlength.h (swap): new function
1439
1440         * LColor.[Ch] (operator=): use the common semantics
1441
1442 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1443
1444         * lyxfind.C (findNextChange): update the bufferview after setting
1445         the selection.
1446
1447 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1450         number of InsetOptArgs has already been inserted.
1451
1452         * output_latex.C (latexOptArgInsets): new method. This outputs all
1453         the optarg insets, up to the limit defined in the layout file.
1454         (optArgInset): removed
1455         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1456
1457 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1458
1459         * paragraph.C (isLetter): remove special spellchecker-related
1460         code; return true also for digits
1461         (isWord, isKomma): remove
1462
1463         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1464         * lyxfind.C (MatchString()): use isLetter instead of isWord
1465
1466 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1467
1468         * pariterator.h (operatir=): comment out un-implemented member
1469         function.
1470
1471         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1472         static cast.
1473
1474 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1475
1476         * lyxfont.h: include LColor.h to satisfy concept checks.
1477
1478 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1479
1480         * pariterator.h: add typdefs for value_type, difference_type,
1481         pointer and reference to satisfy concept checks. Also add default
1482         constructor for same reason.
1483
1484         * pariterator.C (operator++): add post-increment operator to
1485         satisfy concept checks.
1486
1487         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1488         checks.
1489
1490         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1491
1492         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1493         checks. Also rename base_type to BaseType to follow naming
1494         standard better.
1495
1496         * FloatList.h: include Floating.h to satisfy concept checks.
1497
1498 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * lyxfunc.C (getStatus): when the origin of the request is menu or
1501         toolbar, and the LyXView does not have focus, do as if there was
1502         no buffer (bug 1720)
1503
1504         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1505         FuncRequest to individual entries of LFUN_SEQUENCE
1506
1507 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1508
1509         * output_latex.C (TeXOnePar): override runparams.moving_arg
1510         according to the needprotect value of the current paragraph (bug
1511         1739)
1512
1513         * paragraph.C (simpleTeXOnePar): no need to override
1514         runparams.moving_args here
1515
1516 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1517
1518         * vspace.C: fix off-by-one-error, related to fix #1682
1519
1520 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1521
1522         * lengthcommon.C: a more general fix for bug 1682
1523
1524 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1525
1526         * text.C (backspace): fix crash
1527
1528 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1529
1530         * format.[Ch] (getFormatFromFile): new method
1531         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1532
1533 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1534
1535         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1536
1537 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1538
1539         * lyxfunc.C (dispatch): remove the verbose argument
1540         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1541         instead
1542
1543         * kbmap.C (defkey): set the origin of func to KEYBOARD
1544
1545         * MenuBackend.C (MenuItem):
1546         * ToolbarBackend.C (add): set the origin of func to UI
1547
1548         * funcrequest.[Ch]: add origin member, which indicates which part
1549         of LyX requests an action
1550
1551 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1552
1553         * converter.C (move): don't lie in the error message
1554         * converter.h (isReachable, move): document
1555
1556 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1557
1558         * buffer.C: remove unused using lyx::support::atoi
1559         * paragraph_funcs.C: ditto
1560
1561 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1562
1563         * bufferlist.C (exists): use bind and equal_to instead of
1564         compare_memfun
1565         (getBuffer): ditto
1566         * lyxtextclasslist.C (NumberOfClass): ditto
1567
1568         * cursor.C (insert): use for_each instead of explicit for loop
1569
1570         * bufferlist.C (getFileNames): use std::transform and
1571         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1572
1573         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1574         for loop
1575
1576         * buffer.C (changeLanguage): use for_each instead of explicit for
1577         loop
1578         (hasParWithID): implement using getParFromID
1579
1580         * LaTeXFeatures.C: ws change only
1581
1582         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1583         to cleanup a bit.
1584
1585         * BufferView_pimpl.C (trackChanges): use for_each instead of
1586         expilicit for loop
1587
1588 2004-11-04  André Pönitz  <poenitz@gmx.net>
1589
1590         * undo.h:
1591         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1592
1593         * dociterator.C (asDocIterator): use hard assert again.
1594
1595 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1596
1597         * lyxlength.C (asLatexString): rewrite so that it does not use
1598         snprintf anymore
1599
1600 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1601
1602         * text3.C (specialChar, dispatch): make sure cursor moves to the
1603         right after inserting an inset
1604
1605 2004-11-02  José Matos  <jamatos@lyx.org>
1606
1607         * output_docbook.C (docbook):
1608         * paragraph.C (getID):
1609         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1610         garantee that the output is always legal.
1611
1612         * tabular.C (docbook):
1613         * outputprams.[Ch]: remove mixed contents.
1614
1615 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1616
1617         * text2.C (setCounter): prevent endless loop
1618
1619 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1620
1621         * exporter.C (copyFile): use the mover instead of support::copy()
1622         * exporter.C (Export): pass format and latex name to copyFile()
1623         * exporter.h (addExternalFile): document
1624         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1625
1626 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1627
1628         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1629
1630 2004-10-30  José Matos  <jamatos@lyx.org>
1631
1632         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1633         text and no inset or font change. This allows to use CDATA
1634         sections just for the whole paragraph.
1635
1636 2004-10-30  José Matos  <jamatos@lyx.org>
1637
1638         * paragraph.C (getFirstWord): remove unused variable.
1639
1640 2004-10-30  José Matos  <jamatos@lyx.org>
1641
1642         * paragraph.C (getFirstWord): the content should always be escaped
1643         there.
1644         (simpleDocBookOnePar):
1645         * output_docbook.C (makeEnvironment): replace reference to CDATA
1646         to style pass_thru.
1647
1648 2004-10-30  José Matos  <jamatos@lyx.org>
1649
1650         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1651
1652 2004-10-30  José Matos  <jamatos@lyx.org>
1653
1654         * output_docbook.C (makeParagraphs):
1655         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1656         standard paragraph has only a given type of content drop the wrapper.
1657
1658 2004-10-29  José Matos  <jamatos@lyx.org>
1659
1660         * output_docbook.C (makeEnvironment):
1661         * sgml.C (openTag):
1662         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1663
1664 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1665
1666         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1667         (cleanID): sanitize any id.
1668
1669 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1670
1671         * buffer.C, lyxlex_pimpl.C:
1672         * lyxlex_pimpl.C (setFile):
1673         s/getExtFromContents/getFormatFromContents/
1674
1675 2004-10-28  José Matos  <jamatos@lyx.org>
1676
1677         * output_docbook.C (makeEnvironment): move id to broadest possible
1678         scope.
1679
1680         * sgml.C (openTag): apply substitution of <> for all attributes.
1681
1682 2004-10-28  José Matos  <jamatos@lyx.org>
1683
1684         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1685         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1686         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1687
1688         * sgml.[Ch]: new version for open and closeTag for paragraph and
1689         for strings. Now they handle the ids of paragraphs.
1690
1691 2004-10-26  Angus Leeming  <leeming@lyx.org>
1692
1693         * Makefile.am: add mover.[Ch].
1694
1695         * converter.C (convert, move): use the new Movers to move external
1696         files to the temp directory.
1697
1698         * lyx_main.C (init): ensure that the global system_movers data
1699         is initialised.
1700
1701         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1702         preferences file.
1703
1704         * mover.[Ch]: new files, defining a Mover as a utility to move an
1705         external file between directories and, if necessary, manipulate this
1706         file using a helper script.
1707
1708 2004-10-25  José Matos  <jamatos@lyx.org>
1709
1710         * output_docbook.C (makeCommand): merge two if's that tested the
1711         same condition.
1712
1713 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1714
1715         * sgml.C (escapeString): fix warning in a better way
1716
1717 2004-10-25  José Matos  <jamatos@lyx.org>
1718
1719         * sgml.C (escapeString): import the require boosts header file for
1720         tie, and avoid a signed unsigned comparison.
1721
1722 2004-10-25  José Matos  <jamatos@lyx.org>
1723
1724         * sgml.h: add #include <string>
1725
1726 2004-10-25  José Matos  <jamatos@lyx.org>
1727
1728         * sgml.[Ch] (escapeString): new function to escape all the string.
1729
1730 2004-10-24  José Matos  <jamatos@lyx.org>
1731
1732         * paragraph.[Ch] (getFirstWord): new function to get the first
1733         word. Useful for description.
1734         (simpleDocBookOnePar): remove depth argument, add another that
1735         says where to start the paragraph.
1736
1737         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1738         use the new functions to fix cleanly the support for descriptions.
1739
1740 2004-10-24  José Matos  <jamatos@lyx.org>
1741
1742         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1743         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1744         * output_linuxdoc.C (linuxdocParagraphs):
1745         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1746         add buffer as argument.
1747
1748 2004-10-24  José Matos  <jamatos@lyx.org>
1749
1750         * output_docbook.C (makeEnvironment, searchEnvironment): place
1751         CDATA inside paragraphs and fix scope for listitems.
1752
1753 2004-10-24  José Matos  <jamatos@lyx.org>
1754
1755         * output_docbook.C: remove using statement for stack.
1756
1757 2004-10-23  José Matos  <jamatos@lyx.org>
1758
1759         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1760         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1761         docbook. The new scheme is recursive and makes use of iterators, the
1762         same as latex export works.
1763         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1764         directly with the paragraph contents. This code was moved up to
1765         output_docbook.C (docbookParagraphs).
1766         * sgml.C (openTag, closeTag): removed unneeded newlines.
1767         (closeEnvTags) removed.
1768
1769 2004-10-23  André Pönitz  <poenitz@gmx.net>
1770
1771         * undo.C (textUndoOrRedo):
1772         * dociterator.C (asDocIterator): work around crash
1773
1774         * cursor.C (getStatus): replace ASSERT by more verbose error message
1775           and manual correction of the problem. Should increase stability
1776           while providing more sensible information.
1777
1778 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1779
1780         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1781
1782         * bufferlist.C (previous, next): new methods
1783
1784         * lfuns.h:
1785         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1786
1787 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1788
1789         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1790         entities to preamble.
1791
1792 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1793
1794         * messages.C (Pimpl): strip off translation context information
1795
1796 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1797
1798         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1799         the cursor is correct (bug 1694)
1800
1801 2004-10-13  José Matos  <jamatos@lyx.org>
1802
1803         * output_docbook.C (docbookParagraphs): fix closing tags in the
1804         end of the document.
1805
1806 2004-10-09  José Matos  <jamatos@lyx.org>
1807
1808         * buffer.C: format up to 237.
1809         * bufferparams.C (write): use tostr to convert booleans to strings.
1810
1811 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1812
1813         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1814
1815 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1816
1817         * LaTeX.C: implement use of babel language in xindy.
1818
1819 2004-10-05  José Matos  <jamatos@lyx.org>
1820
1821         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1822         Add new translators to help reading and writing the lyx file.
1823
1824 2004-10-05  José Matos  <jamatos@lyx.org>
1825
1826         * ParagraphParameters.C (read):
1827         * text.C (readParToken): replace nexToken by more appropriate lex
1828         methods.
1829
1830 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1831
1832         * LaTeX.C (runMakeIndex):
1833         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1834         (usually 'makeindex') configurable.
1835
1836         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1837         with a variable rather than with a number.
1838
1839 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1840
1841         * output_latex.C (TeXOnePar): make sure font setting is the first
1842         thing that gets output (and the last at the end). Should fix bug
1843         1404.
1844
1845 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1846
1847         * pch.h: use proper signal include
1848
1849         * LaTeX.h: Use preferred calling of Boost.Signal
1850         * buffer.h: ditto
1851
1852 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1853
1854         * pch.h: dont include <boost/function/function0.hpp>
1855
1856         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1857
1858         * paragraph_pimpl.h: remove usage of ShareContainer
1859
1860         * paragraph_pimpl.C: remove initialization of ShareContainer.
1861
1862 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1863
1864         Fix bug #1666
1865
1866         * BufferView.C (putSelectionAt): change the semantics when
1867         backwards == true: now, this just swaps cursor and anchor wrt the
1868         forward case
1869
1870         * BufferView.h (putSelectionAt): add some documentation
1871
1872         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1873         make sure backwardChar is done at least once (to avoid getting
1874         stuck)
1875         (findNextChange): use putSelectionAt in the forward direction
1876         (operator()): use Paragraph::isWord
1877
1878 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1879
1880         * Spacing.C (set): c_str fix
1881
1882 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1883
1884         * lyx_cb.C (Reconfigure): quote the name of configure script in
1885         case it contains spaces
1886
1887 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1888
1889         * client: new dir
1890
1891         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1892         (BOOST_LIBS): use top_buildir when looking for the file
1893
1894 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1895
1896         * pch.h: do not use include boost/format.hpp, multiple symbols
1897                 will result (gcc bug)
1898
1899
1900 2004-08-23  José Matos  <jamatos@lyx.org>
1901
1902         * bufferparams.C (readToken): fix reading of the author field.
1903
1904 2004-08-20  José Matos  <jamatos@lyx.org>
1905
1906         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1907
1908 2004-08-20  José Matos  <jamatos@lyx.org>
1909
1910         * lyxlex.[Ch] (findToken): remove function.
1911
1912         * ParagraphParameters.C (findToken):
1913         * bufferparams.C (findToken): replace call for previous function
1914         with local copy. This local function has one more argument, the
1915         read string argument.
1916
1917 2004-08-16  José Matos  <jamatos@lyx.org>
1918
1919         * ParagraphParameters.C (write):
1920         * Spacing.C (writeFile):
1921         * bufferparams.C (writeLaTeX):
1922         * lyx_cb.C (Reconfigure):
1923         * paragraph.C (write):
1924         * tabular.C (write): remove unnecessary space at end of line.
1925
1926
1927 2004-08-16  José Matos  <jamatos@lyx.org>
1928
1929         * text.C (readParagraph): remove debug message.
1930
1931 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1932
1933         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1934         crash
1935
1936         * output_plaintext.C (asciiParagraph): set depth correctly
1937
1938         * outputparams.h: add member depth
1939
1940         * paragraph_funcs.C (ownerPar): remove.
1941
1942         * text2.C (setCounter): remove first_pit; comment out some
1943         non-working code that uses ownerPar
1944
1945         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1946         uses ownerPar
1947
1948 2004-08-16  José Matos  <jamatos@lyx.org>
1949
1950         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1951         For the same level of importance use the same chanel to report problems.
1952         (read): add code to deal with \begin_body and \end_body.
1953
1954
1955 2004-08-15  José Matos  <jamatos@lyx.org>
1956
1957         * lyxlex.C (getString): fix comment, buffer::readBody is now
1958         buffer:readDocument.
1959
1960         * tex-strings.C (string_papersize): Default -> default,
1961         Custom -> custom, for consistency with other options.
1962
1963 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1964
1965         * pch.h: new file
1966
1967         * Makefile.am: support pch
1968
1969 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1970
1971         * text.C (readParToken): remove the static LyXFont variable and
1972         pass it as a parameter instead. This fixes a nasty bug where an
1973         inset will be inserted with a bad font in some situations
1974         (readParagraph): adapt
1975
1976         * text2.C (setCounter): reduce number of calls to pars_[pit]
1977
1978         * text.C (singleWidth): add an assert, fix a test
1979
1980         * rowpainter.C (paintText): reduce number of calls to singleWidth
1981
1982         * paragraph.C (isHfill):
1983         (isNewline): ws only
1984
1985 2004-08-14  André Pönitz  <poenitz@gmx.net>
1986
1987         * text.C:
1988         * text2.C:
1989         * rowpainter.C:
1990         * lyxtext.h (several functions): use a Paragraph & argument
1991         instead of par_type
1992
1993 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1994
1995         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1996
1997         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1998
1999         * text.C (singleWidth): remove useless test
2000
2001 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2002
2003         * tabular.h: remove bogus comments
2004
2005         * tabular.C (getDescentOfRow):
2006         (isPartOfMultiColumn): add assertions
2007
2008         * lyxlength.C (inPixels): remove #warning
2009
2010 2004-08-14  André Pönitz  <poenitz@gmx.net>
2011
2012         * paragraph.h: inline getChar()
2013
2014         * BufferView.h: remove unused declarations
2015
2016 2004-08-14  José Matos  <jamatos@lyx.org>
2017
2018         * Buffer.[Ch] (readDocument): new name for old readBody.
2019         * Buffer.C: new file format, new keywords: \begin_document,
2020         \begin_header, \begin_body, \end_body.
2021
2022         * bufferparams.C (readToken): replace all calls to lex.nextToken
2023         by lex.next(). Do the same to eatLine except where really needed.
2024
2025         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2026         line when writing to the lyx file.
2027
2028         * output_plaintext.C (asciiParagraph): fix Bibliography style
2029         handling.
2030
2031         * text.C (read): fix end of file handling.
2032
2033 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2034
2035         * MenuBackend.C (Menu::operator[]): new method to access
2036         individual menu items
2037         (Menu::hasFunc): new method. search for an item that corresponds
2038         to a given func
2039         (MenuBackend::specialMenu): new method
2040         (MenuBackend::expand): if a special menu has been set, skip
2041         entries whose func() appears in this menu
2042
2043 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2044
2045         * text3.C: use Debug::DEBUG a bit more
2046
2047         * text.C (leftMargin): try to simplify a tiny bit change var x to
2048         l_margin. Dont output the wide margins always.
2049         (rightMargin): no margin in inner texts
2050
2051         * rowpainter.h (nestMargin): new func
2052         (changebarMargin): new func
2053         (rightMargin): new func
2054
2055         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2056         now functions.
2057         (paintLast): ditto
2058
2059         * factory.C (createInset): modify setDrawFrame
2060
2061         * cursor.C: use Debug::DEBUG a bit more
2062
2063 2004-08-14  André Pönitz  <poenitz@gmx.net>
2064
2065         * coordcache.[Ch]:
2066         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2067         cache for all insets in (at least partially) visible (top-level)
2068         paragraphs.
2069
2070         * BufferView_pimpl.C: reset external coord cache before every update.
2071         This means the coord cache only contains valid entries.
2072
2073 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2074
2075         bug 1096
2076         * BufferView_pimpl.C (getInsetByCode): move function out of class
2077         and change in to a template in anon namespace. Also fix to do what
2078         suits us better.
2079
2080 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2081
2082         bug 1305
2083         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2084         of char
2085         (breakParagraph): rename par to par_offset and use a local
2086         reference. Add code to keep the language over a rebreak.
2087         (breakParagraphConservative): rename par to par_offset, use a
2088         local reference
2089         (mergeParagraph): ditto
2090         (outerHook): ditto
2091         (isFirstInSequence): ditto
2092         (outerFont): rename pit to par_offset
2093
2094         * paragraph.C: ws change
2095         * paragraph.h: ditto
2096         * text3.C: ditto
2097         * text.C: ditto
2098
2099 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2100
2101         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2102         treatment for ']'
2103
2104         * paragraph.C (simpleTeXOnePar): when we have a \item with
2105         optional argument, enclose the argument with curly brackets (in
2106         case it contains a closing square bracket)
2107
2108         * text2.C (editXY):
2109         * text2.C (editXY):
2110         * text3.C (checkInsetHit): constify
2111
2112 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2113
2114         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2115         documents (bug 1629)
2116
2117 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2118
2119         Fix toggling of collapsable insets with the mouse (bug 1558)
2120
2121         * lyxfunc.C (dispatch): adapt to LCursor changes
2122
2123         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2124         make sure that dispatch is not invoked twice
2125
2126         * cursor.C (needsUpdate): new method
2127         (dispatch): return void
2128         (result): new method, to access the DispatchResult of the cursor.
2129
2130 2004-08-13  José Matos  <jamatos@lyx.org>
2131
2132         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2133
2134 2004-08-13  André Pönitz  <poenitz@gmx.net>
2135
2136         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2137
2138         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2139           multiple cells
2140
2141 2004-08-12  André Pönitz  <poenitz@gmx.net>
2142
2143         * text3.C: take out the 'cursor right' form insertInset and only
2144         do it in those places when it is really needed. Fixes crash on
2145         C-m...
2146
2147 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2150
2151         * BufferView_pimpl.C (setBuffer): initialize the current font of
2152         the underlying LyXText
2153
2154 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2155
2156         * kbsequence.C (print): use UI native formatting for menu
2157         shortcuts
2158
2159         * text.C (insertChar): call Paragraph::insertChar with a font
2160         argument (cosmetic)
2161
2162         * paragraph.C (insertInset, insertChar): the version that takes a
2163         LyXFont argument is now a wrapper around the other one (the
2164         opposite used to be true).
2165
2166         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2167         argument. Font setting is done in Paragraph now.
2168
2169 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2170
2171         * outputparams.h: add new members intitle and lang.
2172
2173         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2174         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2175
2176 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2177
2178         * text3.C (dispatch): remove special handling of button 4 and 5,
2179         it is now taken care of in the frontend code.
2180
2181 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2182
2183         * Spacing.h: add <string> (STLPort compile fix)
2184
2185 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2186
2187         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2188
2189 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2190
2191         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2192         to bool.
2193
2194         * converter.C (showMessage): inherit from unary_function, make
2195         operator() const.
2196
2197         * buffer.C (writeFile): initialize retval
2198
2199         * InsetList.h: rename private variable list to list_
2200         * InsetList.[Ch]: adjust accordingly.
2201
2202 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2203
2204         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2205         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2206         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2207         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2208         * ParagraphParameters.C, LaTeXFeatures.C: replace
2209         "support/std_sstream.h" with <sstream>
2210
2211 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2212
2213         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2214         * lyxsocket.C (LyXServerSocket): ditto
2215         (serverCallback): ditto
2216
2217 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2218
2219         * LaTeXFeatures.C: check release date when loading jurabib.
2220
2221 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2222
2223         * lyxserver.C (startPipe): call register_socket_callback
2224         (endPipe): call unregister_socket_callback
2225
2226 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2227
2228         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2229         (LyXServerSocket): register the callback
2230         (LyXServerSocket): unregister the callback
2231         (fd): delete function
2232         (serverCallback): improve error checking and setup the callbacks.
2233         (dataCallback): change arg to fd.
2234         (writeln): new func (copied fro the client socket) used for server
2235         write to client.
2236         (LyXDataSocket): simplify
2237         (~LyXDataSocket): close ann unregiser callback
2238         (server): delete function
2239         (fd): delete function
2240         (readln): small changes, improve some std::string usage
2241         (writeln): constify a bit
2242
2243 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2244
2245         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2246         Qt frontend
2247
2248 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2249
2250         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2251         after it has been populated
2252
2253 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * text2.C (insertInset): move cursor when inserting inset.
2256
2257 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2258
2259         * kbmap.C (findbindings): a couple of new methods. returns a
2260         container of kb_sequence objects. The real work is done by the
2261         private recursive version
2262         (printbindings): uses findbindings to print out a bracketed list
2263         of bindings (renamed from findbinding).
2264
2265         * MenuBackend.C (binding): use kb_keymap::findbindings
2266
2267         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2268
2269 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2270
2271         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2272
2273 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2274
2275         * paragraph.C (isWord): return true on insets that report
2276         isLetter().
2277
2278         * text.C (getWord): use Paragraph::isWord to decide what is in a
2279         word and what is not; fix bug 1609.
2280
2281 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2282
2283         * tex-strings.C: add "none" to string_paperpackages[], fixes
2284         off-by-one-error in the paperpackage selection.
2285
2286         * lyxlex.[Ch]:
2287         * tex-strings.[Ch]: char const * string[n]
2288         -> char const * const string[]
2289
2290 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2291
2292         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2293         command, return early.
2294
2295 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2296
2297         * debug.h: add DEBUG to enum and fix size of ANY.
2298
2299         * debug.C: add support for Debug::DEBUG
2300         (showTags): cast errorTags.level to unsigned int
2301
2302         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2303         (redoCurrentBuffer): ditto
2304         (updateScrollbar): ditto
2305         * cursor.C (dispatch): ditto
2306         * text2.C (setLayout): ditto
2307         (setFont): ditto
2308         (updateCounters): ditto
2309         (editXY): ditto
2310         (deleteEmptyParagraphMechanism): ditto
2311
2312 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2313
2314         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2315         annotations to cleanup the Makefile slightly.
2316
2317 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2318
2319         * lyxrc.C: do not set user_email to a default value but use empty
2320         instead. The entry used to be translated, which does not work
2321         since at the point where lyxrc is constructed there is no
2322         translation service available
2323
2324         * messages.C (getLocaleDir): remove and use directly
2325         lyx_localedir() instead
2326
2327 2004-06-02  Angus Leeming  <leeming@lyx.org>
2328
2329         Fix crash caused by dereferencing null pointer 'exportdata' in
2330         OutputParams by creating a new ExportData variable on the heap,
2331         storing it in a boost::shared_ptr.
2332         The crash was triggered when generating an Instant Preview
2333         of an external inset.
2334
2335         * Makefile.am: add outputparams.C
2336
2337         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2338         (c-tor): allocate memory to it.
2339
2340         * exporter.C (c-tor): associated changes.
2341
2342 2004-06-01  Angus Leeming  <leeming@lyx.org>
2343
2344         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2345         contains data before calling isInset(0). (Bug 1513.)
2346
2347 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2348
2349         * exporter.C (checkOverwrite): new method
2350         * exporter.C (copyFile): new method
2351         * exporter.C (Export): copy referenced files to the document dir
2352         * exporter.[Ch]: new class ExportedFile
2353         * exporter.[Ch]: new class ExportData. Contains currently the
2354         names of referenced external files
2355         * outputparams.h: add exportdata member.
2356
2357 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2358
2359         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2360         version.C-tmp
2361
2362 2004-05-19  Angus Leeming  <leeming@lyx.org>
2363
2364         * LaTeXFeatures.C:
2365         * ToolbarBackend.C:
2366         * bufferparams.C:
2367         * lyxfunc.C: small changes due to the introduction of namespace
2368         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2369
2370 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2371
2372         * text3.C (dispatch): supress update when only moving the cursor
2373         * cursor.C (selHandle): remove commented code
2374
2375 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2376
2377         * paragraph.C (startTeXParParams): correct column count
2378         * CutAndPaste.C (pasteSelection): remove const_cast
2379         * output_docbook.C (docbookParagraphs): remove const_cast
2380         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2381         const_cast and return ParagraphList::const_iterator
2382         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2383         * output_plaintext.C (writeFileAscii): remove const_cast
2384         * paragraph.[Ch] (simpleTeXOnePar): make const
2385         * paragraph_funcs.C (outerPar): use const iterators
2386         * paragraph_pimpl.C (validate): use const iterators
2387         * text.C (setHeightOfRow): use const iterators
2388
2389 2004-05-17  Angus Leeming  <leeming@lyx.org>
2390
2391         * lfuns.h:
2392         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2393
2394         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2395         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2396         if the citation engine has changed.
2397
2398 2004-05-14  José Matos  <jamatos@lyx.org>
2399
2400         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2401         if the textclass does not provide it. Have it different for sgml and
2402         xml.
2403         support the language of document.
2404         * output_docbook.C (docbookParagraphs):
2405         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2406         first anchor as the id of the paragraph, remove special case code.
2407         * sgml.C (escapeChar): escape only < & >.
2408
2409 2004-05-14  Angus Leeming  <leeming@lyx.org>
2410
2411         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2412         dependencies on src/frontends/controllers/biblio.h. Define a
2413         CiteEngine_enum wrapper class to enable the enum to be forward
2414         declared.
2415
2416 2004-05-12  Angus Leeming  <leeming@lyx.org>
2417
2418         * buffer.C: up LYX_FORMAT to 234.
2419         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2420         use_numerical_citations with a single biblio::CiteEngine cite_engine
2421         variable.
2422         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2423
2424 2004-05-13  José Matos  <jamatos@lyx.org>
2425
2426         * converter.h:
2427         * converter.C (Converter, readFlags): add xml member.
2428         * outputparams.h: add XML flavor.
2429         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2430
2431 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * lyxfunc.C (dispatch):
2434         (getStatus): fix handling of LFUN_SEQUENCE
2435
2436 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2437
2438         * debug.C (showLevel): do not forget the end-of-line marker
2439
2440 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2441
2442         * kbmap.C (read): do not stop parsing a bind file when an error
2443         occurs (bug 1575)
2444
2445 2004-04-29  Angus Leeming  <leeming@lyx.org>
2446
2447         * cursor.C:
2448         * factory.C:
2449         * pariterator.C:
2450         * text2.C: wrap a bunch of #warning statements
2451         inside #ifdef WITH_WARNINGS blocks.
2452
2453 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2454
2455         * buffer.C: increment format to 233.
2456
2457 2004-04-28  Angus Leeming  <leeming@lyx.org>
2458
2459         * BufferView_pimpl.C:
2460         * lyxfunc.C:
2461         * text3.C:
2462         s/updateToolbar()/updateToolbars()/
2463         s/Toolbar.h/Toolbars.h/
2464
2465 2004-04-28  Angus Leeming  <leeming@lyx.org>
2466
2467         * BufferView.[Ch] (c-tor):
2468         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2469         No longer passes these data to the WorkArea generator.
2470
2471 2004-04-28  Angus Leeming  <leeming@lyx.org>
2472
2473         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2474
2475 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2476
2477         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2478
2479 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         * output_latex.C (TeXEnvironment): make sure that there is a line
2482         break before \end{foo} for the last paragraph of a document
2483         (TeXOnePar): if the paragraph is at the end of the document (or
2484         inset) and the language has to be reset, then make sure that the
2485         line break is _before_ the language command, not after (fixes bug
2486         1225); also make sure that the language reset command is the first
2487         thing after the paragraph (to ensure proper nesting of
2488         environments and thus fix bug 1404)
2489
2490 2004-04-21  John Levon  <levon@movementarian.org>
2491
2492         * ToolbarBackend.h:
2493         * ToolbarBackend.C: make "name" be a programmatic name
2494         and a gui_name field.
2495
2496         * lyxfunc.C: display the minibuffer on M-x
2497
2498 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2499
2500         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2501         (bug 1526)
2502
2503 2004-04-19  Angus Leeming  <leeming@lyx.org>
2504
2505         * BufferView_pimpl.C (setBuffer): changed preview interface.
2506
2507         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2508         possible values.
2509
2510 2004-04-19  John Levon  <levon@movementarian.org>
2511
2512         * BufferView_pimpl.C:
2513         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2514
2515 2004-04-05  Angus Leeming  <leeming@lyx.org>
2516
2517         * text.C (redoParagraphs): add call to updateCounters(), thereby
2518         fixing the missing "Figure #:" label from the caption of a
2519         figure float.
2520
2521 2004-04-13  Angus Leeming  <leeming@lyx.org>
2522
2523         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2524         cursor is clicked out of an inset.
2525
2526 2004-04-13  Angus Leeming  <leeming@lyx.org>
2527
2528         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2529         than an InsetOld one.
2530
2531 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2532
2533         * format.[Ch]: add editor to Format
2534         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2535         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2536
2537 2004-04-08  André Pönitz  <poenitz@gmx.net>
2538
2539         * metricsinfo.h: remove PainterInfo::width member
2540
2541 2004-04-08  Angus Leeming  <leeming@lyx.org>
2542
2543         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2544         "\providecommand" rather than "\newcommand", thereby preventing
2545         clashes with packages that define "\boldsymbol" themselves.
2546         Eg, beamer.
2547
2548 2004-04-08  Angus Leeming  <leeming@lyx.org>
2549
2550         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2551         thereby squashing an unnecessary warning.
2552
2553 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2554
2555         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2556         setBuffer()
2557
2558 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2559
2560         * BufferView.C (setCursor): call redoParagraph (some insets could
2561         have been opened)
2562         (putSelectionAt): remove the 'double update' trick
2563
2564         * BufferView_pimpl.C (fitCursor): call refreshPar
2565         (workAreaDispatch): remove an uneeded update call
2566         (dispatch): remove some manual update calls
2567
2568         * cursor.[Ch]: remove cached_y_, updatePos
2569         (selHandle): set noUpdate when appropriate
2570
2571         * lyxfunc.C (dispatch): track if we need an update
2572
2573         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2574
2575         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2576         (paintSelection): cheap optimization, do not call cursorX when not
2577         needed
2578         (paintPars): change signature
2579         (refreshPar): add
2580         (paintText): adjust
2581         (paintTextInset): adjust
2582
2583         * text.C: adjust
2584
2585 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2586
2587         * lengthcommon.C: compilation fix: remove explicit array size from
2588         unit_name[] and friends
2589
2590 2004-04-05  Angus Leeming  <leeming@lyx.org>
2591
2592         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2593
2594         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2595         present only for the preferences dialog.
2596         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2597
2598 2004-04-05  Angus Leeming  <leeming@lyx.org>
2599
2600         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2601         to enable the frontends to export changes to lyxrc correctly.
2602
2603         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2604
2605 2004-04-07  André Pönitz  <poenitz@gmx.net>
2606
2607         * cursor.[Ch] (selClear, adjust): remove math
2608
2609         * cursor_slice.C: more agressive assert
2610
2611         * lyxfunc.C:
2612         * BufferView_pimpl.C: rework mouse event dispatch
2613
2614         * dociterator.C:
2615         * paragraph.C:
2616         * text2.C:
2617         * text3.C: adjust
2618
2619 2004-04-05  André Pönitz  <poenitz@gmx.net>
2620
2621         * cursor.[Ch] (valign, halign...): remove unneeded functions
2622
2623 2004-04-05  Angus Leeming  <leeming@lyx.org>
2624
2625         * lyxlength.[Ch] (unit_name et al.): const-correct.
2626
2627 2004-04-05  Angus Leeming  <leeming@lyx.org>
2628
2629         * BufferView_pimpl.C:
2630         * buffer.C:
2631         * counters.C:
2632         * cursor.C:
2633         * lyxfunc.C
2634         * paragraph.C:
2635         * pariterator.C:
2636         * text.C:
2637         * text2.C:
2638         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2639
2640 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2641
2642         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2643
2644 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2647         * BufferView_pimpl.[Ch] (getStatus)
2648         * BufferView.[Ch] (getStatus): add
2649         * lyxfunc.C (getStatus): move lfuns handled in
2650         BufferView::dispatch to te function above
2651         * Cursor.C (setSelection): set selection() = true
2652
2653 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2654
2655         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2656
2657 2004-03-31  Angus Leeming  <leeming@lyx.org>
2658
2659         * lyxfunc.C (dispatch): Fall through to the generic
2660         Dialogs::show("preamble").
2661
2662 2004-03-31  Angus Leeming  <leeming@lyx.org>
2663
2664         * lyxfunc.C (dispatch): Fall through to the generic
2665         Dialogs::show("spellchecker").
2666
2667 2004-03-31  Angus Leeming  <leeming@lyx.org>
2668
2669         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2670         preferences dialog.
2671
2672 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2673
2674         * BufferView.C
2675         * cursor.[Ch]
2676         * dociterator.[Ch]:
2677         * insetiterator.[Ch]:
2678         * lyxfind.C:
2679         * lyxfunc.C:
2680         * pariterator.[Ch]:
2681         * text2.C:
2682         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2683
2684 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2685
2686         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2687         insets where we are putting the cursor.
2688
2689 2004-03-31  Angus Leeming  <leeming@lyx.org>
2690
2691         * lfuns.h:
2692         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2693
2694         * lyxrc.[Ch] (read, write): overloaded member functions taking
2695         a std::[io]stream arguments.
2696
2697         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2698
2699 2004-03-31  Angus Leeming  <leeming@lyx.org>
2700
2701         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2702         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2703
2704         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2705         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2706
2707 2004-03-31  Angus Leeming  <leeming@lyx.org>
2708
2709         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2710         the LFUN_ALL_INSETS_TOGGLE code.
2711
2712 2004-03-30  Angus Leeming  <leeming@lyx.org>
2713
2714         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2715         has died. Fall through to the generic Dialogs::show("document").
2716
2717 2004-03-30  Angus Leeming  <leeming@lyx.org>
2718
2719         * lfuns.h:
2720         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2721         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2722
2723         * lyxfunc.C (getStatus, dispatch): define the actions for these
2724         lfuns. Little more than a cut and pste job from ControlDocument.C
2725
2726         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2727
2728 2004-03-30  Angus Leeming  <leeming@lyx.org>
2729
2730         * lfuns.h:
2731         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2732         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2733
2734         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2735         open/closed state of ollapsable insets. Usage:
2736
2737         all-inset-toggle <state> <name>, where
2738         <state> == "open" || "closed" || "toggle" and
2739         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2740
2741         * lyxtext.h, text2.C (toggleInset): removed.
2742
2743         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2744         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2745         now passes LFUN_INSET_TOGGLE to the found inset.
2746
2747         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2748         is now invoked as "all-insets-toggle toggle branch".
2749
2750 2004-03-30  Angus Leeming  <leeming@lyx.org>
2751
2752         * dociterator.C:
2753         * insetiterator.C:
2754         * pariterator.[Ch]: added/corrected header blurb.
2755
2756 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2757
2758         * dociterator.[Ch]: add an inset_ member
2759         (backwardPos): implemented
2760         (backwardPos, forwardPos): use inset_ when the stack is empty.
2761         (doc_iterator_begin, doc_iterator_end): implemented
2762         * pariterator.[Ch]: adjust, add begin, end
2763         * insetiterator.[Ch]: adjust, add begin, end
2764         * cursor.C:
2765         * document.C:
2766         * BufferView.C:
2767         * BufferView_pimpl.C:
2768         * CutAndPaste.C: adjust
2769
2770 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2771
2772         * buffer.C: increment file format to 232.
2773         * LaTeXFeatures.C: add bibtopic package.
2774         * bufferparams.[Ch]: param \use_bibtopic.
2775
2776         * lyxrc.[Ch]: add lyxrc bibtex_command
2777         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2778
2779         * buffer.C: increment file format to 231.
2780
2781 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2782
2783         * dociterator.C: implement forwardPar
2784         * iterators.[Ch]: remove, replaced by
2785         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2786         * BufferView.C:
2787         * BufferView_pimpl.C:
2788         * CutAndPaste.C:
2789         * buffer.C:
2790         * bufferview_funcs.C:
2791         * cursor.C:
2792         * lyxfind.C
2793         * lyxfunc.C
2794         * paragraph_funcs.C
2795         * toc.C:
2796         * Makefile.am: adjust
2797
2798 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2799
2800         * CutAndPaste.C (pasteSelection): fix 2 crashes
2801         (eraseSelection): fix a crash
2802         * paragraph_funcs.C: remove a warning
2803
2804 2004-03-28  Angus Leeming  <leeming@lyx.org>
2805
2806         * lfuns.h:
2807         * LyXAction.C (init): new LFUN_PRINT.
2808
2809         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2810
2811 2004-03-27  Angus Leeming  <leeming@lyx.org>
2812
2813         * lfuns.h:
2814         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2815
2816         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2817
2818 2004-03-27  Angus Leeming  <leeming@lyx.org>
2819
2820         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2821         insetlist always contains non-null pointers to insets.
2822
2823 2004-03-26  Angus Leeming  <leeming@lyx.org>
2824
2825         * src/BufferView_pimpl.C:
2826         * src/CutAndPaste.C:
2827         * src/buffer.C:
2828         * src/iterators.C:
2829         * src/output_plaintext.C:
2830         * src/outputparams.h:
2831         * src/paragraph_funcs.C:
2832         * src/rowpainter.C:
2833         * src/text.C:
2834         * src/text2.C:
2835         * src/frontends/controllers/ControlErrorList.C:
2836         * src/frontends/gtk/FileDialogPrivate.C:
2837         * src/frontends/gtk/GPainter.C:
2838         * src/frontends/gtk/GToolbar.C:
2839         * src/frontends/qt2/QRef.C:
2840         * src/mathed/math_scriptinset.C: squash compiler warnings.
2841
2842 2004-03-26  Angus Leeming  <leeming@lyx.org>
2843
2844         * ispell.C (LaunchIspell::start):
2845         * lyx_cb.C (AutoSaveBuffer::start):
2846         invoke run(DontWait) rather than runNonBlocking().
2847
2848 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2849
2850         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2851
2852 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2853
2854         * kbsequence.C (print): adjust
2855
2856         * kbmap.C (printKeySym): rename and change signature
2857         (printKey): use LyXKeySym::print()
2858
2859 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2860
2861         * undo.C: add using std::advance to compile for stlport
2862
2863 2004-03-24  Angus Leeming  <leeming@lyx.org>
2864
2865         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2866         it leads to a crash when no buffer is present.
2867
2868 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2869             Martin Vermeer  <martin.vermeer@hut.fi>
2870
2871         * lyxfunc.C (dispatch):
2872         * bufferparams.C (readToken): use the new LColor::setColor
2873
2874         * LColor.[Ch] (setColor): new version that takes two strings as
2875         argument and creates a new color entry if necessary
2876
2877 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2878
2879         * buffer.C (makeLaTeXFile): if the main latex file that is
2880         processed is usually a subdocument of some master, then pretend
2881         for a while that it is actually the master
2882
2883 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2884
2885         * buffer.C (getLabelList):
2886         (getBibkeyList): use getMasterBuffer()
2887         (getMasterBuffer): new method. Returns the main document in the
2888         case where one is using included documents.
2889
2890 2004-03-25  André Pönitz  <poenitz@gmx.net>
2891
2892         * Makefile.am:
2893         * iterators.[Ch]:
2894         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2895
2896         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2897
2898         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2899         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2900
2901         * ParameterStruct.h: merge with ParagraphParameters
2902
2903         * lyxtext.h: remove LyXText::parOffset() and getPar()
2904
2905         * text3.C: Remove all 'manual' update calls. We do now one per user
2906         interaction which is completely sufficient.
2907
2908         * Bidi.C:
2909         * BufferView.[Ch]:
2910         * BufferView_pimpl.C:
2911         * FontIterator.[Ch]:
2912         * MenuBackend.C:
2913         * ParagraphParameters.[Ch]:
2914         * buffer.C:
2915         * buffer.h:
2916         * bufferlist.C:
2917         * cursor.[Ch]:
2918         * cursor_slice.[Ch]:
2919         * dociterator.[Ch]:
2920         * errorlist.[Ch]:
2921         * factory.C:
2922         * lfuns.h:
2923         * lyxfind.C:
2924         * lyxfunc.C:
2925         * output_docbook.[Ch]:
2926         * output_latex.[Ch]:
2927         * output_linuxdoc.[Ch]:
2928         * output_plaintext.[Ch]:
2929         * paragraph.[Ch]:
2930         * paragraph_funcs.[Ch]:
2931         * paragraph_pimpl.[Ch]:
2932         * rowpainter.C:
2933         * tabular.[Ch]:
2934         * text.C:
2935         * text2.C:
2936         * toc.C:
2937         * undo.[Ch]: adjust
2938
2939         * frontends/controllers/ControlDocument.C:
2940         * frontends/controllers/ControlErrorList.C:
2941         * frontends/controllers/ControlSpellchecker.C:
2942         * insets/inset.C:
2943         * insets/inset.h:
2944         * insets/insetbase.h:
2945         * insets/insetbibitem.C:
2946         * insets/insetbox.C:
2947         * insets/insetbranch.C:
2948         * insets/insetcaption.C:
2949         * insets/insetcharstyle.C:
2950         * insets/insetcharstyle.h:
2951         * insets/insetcollapsable.C:
2952         * insets/insetcollapsable.h:
2953         * insets/insetert.C:
2954         * insets/insetfloat.C:
2955         * insets/insetfoot.C:
2956         * insets/insetmarginal.C:
2957         * insets/insetnote.C:
2958         * insets/insetoptarg.C:
2959         * insets/insettabular.C:
2960         * insets/insettext.C:
2961         * insets/insettext.h:
2962         * insets/insetwrap.C:
2963         * mathed/math_mboxinset.C:
2964         * mathed/math_nestinset.C:
2965         * mathed/math_scriptinset.C:
2966         * mathed/math_scriptinset.h:
2967         * support/types.h:
2968
2969 2004-03-24  Angus Leeming  <leeming@lyx.org>
2970
2971         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2972         deal with any child processes that have finished but are waiting to
2973         communicate this fact to the rest of LyX.
2974
2975 2004-03-24  Angus Leeming  <leeming@lyx.org>
2976
2977         64-bit compile fixes.
2978
2979         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2980         (c-tor): pass lyx::pos_types rather than ints.
2981
2982         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2983         lyx::pos_type.
2984
2985         * text.C (Delete): compile fix.
2986         (getPar): ensure that function declaration is the same as that in
2987         the header file.
2988
2989 2004-03-23  Angus Leeming  <leeming@lyx.org>
2990
2991         * ispell.C (LaunchIspell):
2992         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2993         a boost::shred_ptr rather than a std::auto_ptr.
2994
2995 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2996
2997         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2998         handle LFUN_FILE_INSERT_*
2999
3000         * lyxrc.C (setDefaults, getDescription, output, read):
3001         * lyxrc.h: remove ps_command
3002
3003 2004-03-22  Angus Leeming  <leeming@lyx.org>
3004
3005         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3006         Ensure that error_handler is processed once only and that all data
3007         is saved before attempting to output any warning messages.
3008
3009         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3010
3011 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3012
3013         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3014
3015 2004-03-19  André Pönitz  <poenitz@gmx.net>
3016
3017         * cursor.[Ch] (reset): take main text inset as argument
3018
3019         * BufferView: adjust
3020         * BufferView_pimpl.C: adjust
3021
3022         * paragraph.[Ch]: fix completely broken operator=()
3023
3024 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3025
3026         * LColor.C (getFromLyXName): make sure that the color name is used
3027         as lowercase.
3028
3029 2004-03-17  Angus Leeming  <leeming@lyx.org>
3030
3031         * lfuns.h:
3032         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3033
3034         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3035         dialog and to kill a forked process.
3036
3037 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3038
3039         * text2.C (setCursorFromCoordinates): fix font problem
3040
3041 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3042
3043         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3044         bogus "rebuild cursor" code
3045
3046 2004-03-11  André Pönitz  <poenitz@gmx.net>
3047
3048         * buffer.[Ch]: use InsetText instead of LyXText as container for
3049         the main lyx text.
3050
3051         * dociterator.[Ch]: drop the BufferView * member which is not needed
3052         anymore after the change to buffer.C
3053
3054         * paragraph_funcs.C:
3055         * text.C:
3056         * text2.C:
3057         * BufferView.[Ch]:
3058         * BufferView_pimpl.[Ch]:
3059         * cursor.[Ch]:
3060         * cursor_slice.[Ch]: adjust
3061
3062         * text3.C: fix bug in mathDispatch
3063
3064 2004-03-08  André Pönitz  <poenitz@gmx.net>
3065
3066         * undo.[Ch]: use 'StableDocumentIterator' as base for
3067         the Undo struct.
3068
3069 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3070
3071         * LaTeXFeatures.C:
3072         * bufferparams.[Ch]: add jurabib support and param.
3073
3074         * LaTeX.C: add FIXME/comment.
3075
3076 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3077
3078         * buffer.C: increment file format to 230.
3079
3080 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3081
3082         * cursor.C (dispatch): avoid infinite loops
3083
3084 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3085
3086         * rowpainter.C (paintSelection): fix x coordinates
3087
3088 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3089
3090         * text.C (rowBreakPoint): fix breaking before displayed insets
3091
3092 2004-03-01  André Pönitz  <poenitz@gmx.net>
3093
3094         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3095
3096         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3097
3098         * Makefile.am:
3099         * BufferView.C:
3100         * BufferView_pimpl.C:
3101         * buffer.C:
3102         * lyxfind.C:
3103         * lyxfunc.C:
3104         * text.C:
3105         * text2.C:
3106         * text3.C: adjust
3107
3108 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3109
3110         * lyxtext.h:
3111         * text.C:
3112         * text2.C:
3113         * rowpainter.C:
3114         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3115         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3116
3117 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3118
3119         * Bidi.[Ch] (computeTables): const correctness
3120         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3121         fill_hfill, fill_label_hfill and x from Row
3122         * lyxtext.h: prepareToPrint returns a RowMetrics
3123         * rowPainter.C: adjust
3124         * text.C (prepareToPrint): use width, not textWidth. adjust
3125         (redoParagraphInternal, cursorX): adjust
3126         * text2.C (getColumnNearX): adjust
3127         (init): put a default value to the top LyXText::width
3128
3129 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3130
3131         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3132
3133 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3134
3135         * lyxtext.h: add FontIterator class
3136
3137         * text.C (FontIterator, operator*, operator->, operator++): add
3138         (rowBreakPoint, setRowWidth): adjust (fixing a
3139         rebreaking bug)
3140
3141 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3142
3143         * BufferView_pimpl.C (workAreaDispatch): allow also
3144         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3145
3146 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3147
3148         * text.C (rowBreakPoint): fix a bug showing with very large insets
3149
3150 2004-02-25  André Pönitz  <poenitz@gmx.net>
3151
3152         * text3.C:
3153         * cursor.[Ch]: move some mathed specific code to mathed
3154
3155 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3156
3157         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3158         use_tempdir in preferences
3159         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3160         tempfile creation
3161         * lyx_main.C: ensure that tempdir is valid
3162         * lyxlex.h: correct typo
3163         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3164         * paragraph.[Ch] (isMultiLingual): make const
3165         * cursor.[Ch] (openable): make const
3166
3167 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3168
3169         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3170
3171 2004-02-20  André Pönitz  <poenitz@gmx.net>
3172
3173         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3174
3175         * cursor.[Ch]: prepare for localized getStatus()
3176
3177         * lyxtext.h:
3178         * tabular.C:
3179         * text.C:
3180         * text2.C:
3181         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3182
3183 2004-02-20  André Pönitz  <poenitz@gmx.net>
3184
3185         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3186
3187 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3188
3189         * text2.C (setCursorFromCoordinates): switch to absolute coords
3190         (cursorUp): adjust
3191         (cursorDown): adjust
3192         * text3.C (dispatch): adjust
3193
3194 2004-02-16  André Pönitz  <poenitz@gmx.net>
3195
3196         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3197           insets/ChangeLog)
3198
3199         * cursor_slice.[Ch]: remove unneeded acessor function
3200
3201         * lyxtext.h: rename rtl() to isRTL()
3202
3203         * rowpainter.C:
3204         * tabular.C:
3205         * text.C:
3206         * text2.C:
3207         * text3.C: adjust
3208
3209 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3210
3211         * rowpainter.C (paintSelection): coord fix
3212
3213 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3214
3215         * Spacing.C: compile fix
3216
3217 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3218
3219         * cursor.C (dispatch): restore current_ before returning
3220
3221 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3222
3223         * text2.C (cursorUp, cursorDown): fix coords
3224         (moveUp): fix crash
3225
3226 2004-02-12  André Pönitz  <poenitz@gmx.net>
3227
3228         * lyxtext.h:
3229         * text.C:
3230         * text2.C:
3231         * text3.C: add LCursor & parameter to most cursor movement functions
3232           remove usage of LyXText::cursorRow() and cursorPar()
3233
3234         * cursor.[Ch]: add textRow() needed members
3235
3236         * BufferView.C:
3237         * BufferView_pimpl.C:
3238         * paragraph.[Ch]:
3239         * BufferView.C:
3240         * BufferView_pimpl.C: adjust
3241
3242 2004-02-11  André Pönitz  <poenitz@gmx.net>
3243
3244         * lyxfunc.C:
3245         * BufferView.[Ch]:
3246         * BufferView_pimpl.C: shift undo/redo handling
3247
3248         * cursor.[Ch]: fix mathed crash
3249
3250         * lyxfind.C:
3251         * lyxtext.h: move selectionAsText to LCursor
3252
3253         * output_latex.C:
3254         * paragraph.C:
3255         * text.C:
3256         * text2.C:
3257         * text3.C: adjust
3258
3259         * rowpainter.C: fix excessive drawing
3260
3261 2004-02-06  André Pönitz  <poenitz@gmx.net>
3262
3263         * BufferView.[Ch]:
3264         * BufferView_pimpl.[Ch]:
3265         * text3.C: move some text specific LFUN handling
3266
3267 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3268
3269         * text3.C (checkInsetHit): adjust coords
3270         * text2.C (getColumnNearX): adjust coords
3271         (edit): adjust coords
3272         * text.C (getRowNearY): add two asserts
3273
3274 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3275
3276         * converter.C:
3277         * format.C: add using std::distance to compile on gcc 2.95/stlport
3278
3279 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3280
3281         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3282
3283 2004-02-04  André Pönitz  <poenitz@gmx.net>
3284
3285         * BufferView.[Ch] (insertInset):
3286         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3287
3288         * text2.C:
3289         * text3.C: adjust
3290
3291 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3292
3293         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3294         on the default clause of the switch
3295         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3296         wasn't catched by LCursor::dispatch
3297
3298 2004-02-03  André Pönitz  <poenitz@gmx.net>
3299
3300         * BufferView.C:
3301         * cursor.[Ch]: some additional asserts
3302
3303         * undo.[Ch]: remove LyXText dependency in interface
3304
3305         * lyxfunc.C: adjust
3306
3307         * lyxtext.h (firstPar, lastPar): remove dead functions
3308
3309         * text.C:
3310         * text2.C:
3311         * text3.C:
3312         * paragraph.[Ch]: adjust
3313
3314 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3315
3316         * lyxfind.C (find): fix argument order in call to ::find
3317
3318 2004-02-02  André Pönitz  <poenitz@gmx.net>
3319
3320         * cursor.[Ch]: remove direct access to anchor
3321
3322         * text.C: remove findText() hack
3323
3324 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3325
3326         * iterators.[Ch] (lockPath): remove in favour of...
3327         * BufferView.[Ch] (setCursor): this addition
3328         * BufferView.C (putSelectionAt): adjust
3329         * undo.C (performUndoOrRedo): adjust
3330         * lyxfunc.C (dispatch): adjust
3331
3332 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3333
3334         * iterators.C (lockPath): add a missing slice
3335         * undo.C (performUndoOrRedo): remove redundant positioning code
3336
3337 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3338
3339         * vc-backend.C (scanMaster): ";" -> ';'
3340
3341 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3342
3343         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3344         std::binary_function
3345
3346         * lyxtextclass.C (compare_name): rename to...
3347         (LayoutNamesEqual): ...this
3348
3349         * lyxlex_pimpl.C (compare_tags): inherit from
3350         std::binary_function, put back into anon namespace
3351
3352         * lyxfind.C (MatchString): inherig from std::binary_function
3353         (findChange): use empty() istead of !size()
3354
3355         * format.C (FormatNamesEqual): new functor
3356         (getFormat): use it
3357         (getNumber): use it
3358         (add): use it
3359         (erase): use it
3360         (setViewer): use it
3361
3362         * converter.C (compare_Converter): rename to...
3363         (ConverterEqual): ...this, and fixup a bit.
3364         (getConverter): use it, and make function const
3365         (getNumber): use it, and make function const
3366         (add): use it
3367         (erase): use it:
3368
3369         * bufferlist.C: add using boost::bind
3370
3371         * MenuBackend.C (MenuNamesEqual): new functor
3372         (hasMenu): use it, and make function const
3373         (hasSubmenu): use nested bind to get rid of compare_memfun.
3374
3375 2004-01-30  André Pönitz  <poenitz@gmx.net>
3376
3377         * BufferView_pimpl.C:
3378         * cursor.C:
3379         * cursor.h:
3380         * cursor_slice.[Ch]:
3381         * lyxfunc.C:
3382         * lyxtext.h:
3383         * paragraph_funcs.C:
3384         * paragraph_funcs.h:
3385         * rowpainter.C:
3386         * text.C:
3387         * text2.C:
3388         * text3.C: move some of the edit(x,y) handling to the insets
3389         some coordinate changes.
3390
3391 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3392
3393         * text.C: add using statements for std::advance and std::distance
3394
3395         * paragraph.C: add using statement for std::distance
3396
3397         * lyxfind.C: add using statement for std::advance
3398
3399         * cursor.C (region): remove std:: from swap
3400         (openable): use nucleus in stead of operator->
3401
3402         * BufferView.C: add using statements for std::distance and std::swap
3403
3404 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3405
3406         * iterators.C: Remove the pimple, move the needed structures to
3407         the header file. Create accessor for the positions stack.
3408         (asPosIterator): remove function
3409
3410         * PosIterator.C (PosIterator): move constructors to top of file
3411         (PosIterator): reimplement the constructor taking a ParIterator in
3412         terms of setFrom.
3413         (setFrom): new function
3414         (operator!=): inline it
3415
3416 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3417
3418         * lyxfind.C (replaceAll): use std::advance
3419
3420         * iterators.h: inherit from std::iterator.
3421
3422         * PosIterator.C (advance, distance): remove
3423         * PosIterator.h: interit from std::iterator.
3424
3425 2004-01-26  André Pönitz  <poenitz@gmx.net>
3426
3427         * BufferView.[Ch]:
3428         * BufferView_pimpl.[Ch]:
3429         * InsetList.[Ch]:
3430         * PosIterator.[Ch]:
3431         * buffer.h:
3432         * bufferview_funcs.C:
3433         * cursor.[Ch]:
3434         * cursor_slice.h:
3435         * factory.[Ch]:
3436         * iterators.[Ch]:
3437         * lyxfind.C:
3438         * lyxfunc.C:
3439         * lyxtext.h:
3440         * output_docbook.C:
3441         * output_latex.C:
3442         * output_linuxdoc.C:
3443         * output_plaintext.C:
3444         * paragraph.[Ch]:
3445         * paragraph_funcs.[Ch]:
3446         * paragraph_pimpl.[Ch]:
3447         * rowpainter.C:
3448         * tabular.C:
3449         * tabular.h:
3450         * text.C:
3451         * text2.C:
3452         * text3.C: more IU:  dumps most of the rest of the mathcursor
3453     implementation into cursor.[Ch]; "globalize" a bit of it.
3454
3455 2004-01-25  Angus Leeming  <leeming@lyx.org>
3456
3457         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3458
3459 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3460
3461         * LaTeXFeatures.h: add nice_ and nice() const
3462         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3463
3464 2004-01-20  André Pönitz  <poenitz@gmx.net>
3465
3466         * BufferView.[Ch]:
3467         * BufferView_pimpl.C:
3468         * PosIterator.C:
3469         * bufferview_funcs.C:
3470         * cursor.[Ch]:
3471         * cursor_slice.[Ch]:
3472         * factory.C:
3473         * iterators.C:
3474         * lyx_cb.C:
3475         * lyxfind.C:
3476         * lyxfunc.C:
3477         * lyxtext.h:
3478         * rowpainter.C:
3479         * text.C:
3480         * text2.C:
3481         * text3.C:
3482         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3483           LCursor and mathcursor parts to LCursor and InsetBase.
3484
3485 2004-01-15  André Pönitz  <poenitz@gmx.net>
3486
3487         * cursor_slice.[Ch]: add a few covienience functions
3488
3489         * funcrequest.[Ch]: remove BufferView * member
3490
3491         * BufferView_pimpl.C:
3492         * cursor.C:
3493         * factory.[Ch]:
3494         * lyxfind.[Ch]:
3495         * lyxfunc.C:
3496         * lyxtext.h:
3497         * text3.C:
3498         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3499
3500 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3501
3502         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3503         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3504
3505 2004-01-13  André Pönitz  <poenitz@gmx.net>
3506
3507         * textcursor.[Ch]:
3508         * lyxtext.h: hide cursor and selection anchor behind accessor function
3509
3510         * BufferView.C:
3511         * BufferView_pimpl.[Ch]:
3512         * PosIterator.C:
3513         * bufferview_funcs.C:
3514         * cursor.h:
3515         * lyxfind.C:
3516         * lyxfunc.C:
3517         * text.C:
3518         * text2.C:
3519         * text3.C:
3520         * undo.C: adjust
3521
3522         * cursor.h:
3523         * cursor_slice.[Ch]: some integer type changes for inset unification
3524
3525         * lyxcursor.[hC]: remove, it's CursorSlice now.
3526
3527         * Makefile.am:
3528         * BufferView_pimpl.[Ch]:
3529         * bufferview_funcs.C:
3530         * cursor_slice.C:
3531         * lyxtext.h:
3532         * text.C:
3533         * text2.C:
3534         * text3.C:
3535         * textcursor.[Ch]: adjust
3536
3537 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3538
3539         * text2.C (undoSpan): add and use
3540         * text.C (breakParagraph): use undoSpan (fix bug 578)
3541         * lyxtext.h: adjust
3542
3543 2004-01-08  Angus Leeming  <leeming@lyx.org>
3544
3545         * BufferView_pimpl.C (MenuInsertLyXFile):
3546         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3547         * lyxfunc.C (menuNew, open, doImport):
3548         FileFilterList change to the FileDialog open and save functions.
3549
3550 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3551
3552         * ShareContainer.h: make isEqual and isUnique adaptable
3553
3554         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3555
3556 2004-01-07  Angus Leeming  <leeming@lyx.org>
3557
3558         * LyXAction.C:
3559         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3560
3561         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3562
3563         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3564         functions replacing find, replace and replaceAll.
3565
3566         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3567         LFUN_WORDFIND(FORWARD|BACKWARD).
3568
3569 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3570
3571         * text.C (breakParagraph): remove an outdated #warning
3572
3573 2004-01-07  André Pönitz  <poenitz@gmx.net>
3574
3575         * lyxfind.C: somewhat clearer logic
3576
3577         * text.C: prevent crash in cursorX on unitialized row cache
3578
3579 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3580
3581         * lyxcursor.[Ch] (operator>): add
3582         * textcursor.C (selStart, selEnd): use std::min and std::max
3583
3584 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3585
3586         * Chktex.C: include boost/format.hpp
3587
3588 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3589
3590         * InsetList.C: replace functor MathcIt with adaptable functor
3591         InsetTablePosLess
3592         (insetIterator): modify accordingly
3593
3594         * BranchList.h: move the BranchNamesEqual functor here from...
3595         * BranchList.C: ... to here
3596
3597         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3598         SameName and match.
3599         (add): replace a finding loop with std::find_if.
3600
3601 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3602
3603         * output_docbook.C: moving LatexParam functionality into
3604         .layout files
3605
3606 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3607
3608         * buffer.C: increment format to 229.
3609
3610 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3611
3612         * LaTeXFeatures.C:
3613         * lyx_sty.[Ch]: remove minipageindent_def
3614
3615         * LyXAction.C:
3616         * factory.C:
3617         * lfuns.h:
3618         * lyxfunc.C:
3619         * text3.C: remove LFUN_INSET_MINIPAGE
3620
3621 2003-12-28  Angus Leeming  <leeming@lyx.org>
3622
3623         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3624
3625 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3626
3627         * text2.C (setParagraph): fix off-by-one crash
3628
3629 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3630
3631         * output_docbook.C: header stuff for AGU
3632
3633 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3634
3635         * text2.C (redoCursor): remove
3636         * text.C:
3637         * text3.C:
3638         * BufferView_pimpl.C: remove calls to redoCursor and
3639         setCursor(cursor.par(), cursor.pos()) all around
3640
3641 2003-12-15  Angus Leeming  <leeming@lyx.org>
3642
3643         * buffer.C: up the format to 228.
3644
3645 2003-12-15  André Pönitz  <poenitz@gmx.net>
3646
3647         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3648         slices
3649
3650         * Makefile.am:
3651
3652         * BufferView_pimpl.C:
3653         * cursor.[Ch]:
3654         * lyxcursor.[Ch]:
3655         * rowpainter.[Ch]:
3656         * lyxtext.h:
3657         * text.C:
3658         * text2.C:
3659         * text3.C: adjust
3660
3661 2003-12-15  Angus Leeming  <leeming@lyx.org>
3662
3663         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3664         than getFromGUIName to manipulate the color.
3665
3666 2003-12-14  Angus Leeming  <leeming@lyx.org>
3667
3668         * BranchList.[Ch]: minimize the API.
3669         (Branch::getBranch, getColor): now return a 'const &'.
3670         (Branch::setSelected) now returns a bool set to true if the
3671         selection status changes.
3672         (BranchList::clear, size, getColor, setColor, setSelected,
3673         allBranches, allSelected, separator): removed.
3674         (BranchList::find): new functions, returning the Branch with
3675         the given name.
3676         (BranchList::add, remove): return a bool indicating that
3677         the operation was successful.
3678
3679         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3680         new InsetBranch::isBranchSlected member function.
3681
3682         * LColor.[Ch]: mimimize the API.
3683         (fill): renamed as addColor and made private.
3684         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3685         versions of these functions taking a string arg have been removed.
3686
3687         * bufferparams.C (readToken):
3688         * lyxfunc.C (dispatch):
3689         * lyxrc.C (read): changes due to the altered BranchList and
3690         LColor APIs.
3691
3692         * factory.C (createInset, readInset): changes due to altered
3693         InsetBranch c-tor.
3694
3695 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3696
3697         * factory.C:
3698         * lyxfunc.C: remove insetminipage. "minipage-insert"
3699         now produces a frameless minipage box inset.
3700
3701 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3702
3703         * textcursor.[Ch] (selStart,selEnd): add new methods
3704         remove selection::start, end, use LyXCursor::operator<
3705         * lyxcursor.[Ch] (operator<): add
3706         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3707         * BufferView.[Ch] (unsetXSel): add
3708         * text2.C (clearSelection): use unsetXSel,adjust
3709         * text.C: adjust
3710         * text3.C: adjust
3711         * rowpainter.C: adjust
3712         * bufferview_funcs.C (put_selection_at): adjust
3713
3714 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3715
3716         * BufferView_pimpl.C: small coord. correction
3717
3718 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3719
3720         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3721         dragging over the splash screen.
3722
3723 2003-12-11  Angus Leeming  <leeming@lyx.org>
3724
3725         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3726         as it is now handled in LyXText::dispatch.
3727
3728         * text3.C (doInsertInset): remove a level of nesting.
3729
3730 2003-12-11  Angus Leeming  <leeming@lyx.org>
3731
3732         * factory.C (createInset): changes due to the changed interface to
3733         InsetCommandMailer::string2params.
3734
3735 2003-12-10  Angus Leeming  <leeming@lyx.org>
3736
3737         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3738         'dialog-show-new-inset <inset name>'
3739
3740 2003-12-10  Angus Leeming  <leeming@lyx.org>
3741
3742         * buffer.C: up the format to 227.
3743
3744         * factory.C: the box inset is now identified simply by 'Box'.
3745
3746 2003-12-10  Angus Leeming  <leeming@lyx.org>
3747
3748         * buffer.C: up the format to 226.
3749
3750         * factory.C: the note inset is now identified simply by 'Note'.
3751
3752 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3753
3754         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3755         when a pit is enough. Standarize a couple of loops.
3756
3757 2003-12-05  Angus Leeming  <leeming@lyx.org>
3758
3759         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3760         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3761         data to the re-worked "log" dialog.
3762
3763 2003-12-03  André Pönitz  <poenitz@gmx.net>
3764
3765         * PosIterator.C:
3766         * iterators.C:
3767         * lyxtext.h:
3768         * output_latex.C:
3769         * paragraph_funcs.C:
3770         * text.C:
3771         * text2.C: use Inset::getText instead of Inset::getParagraph
3772
3773 2003-12-03  André Pönitz  <poenitz@gmx.net>
3774
3775         * buffer.[Ch]:
3776         * lyxtext.h:
3777         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3778         InsetText::read() as LyXText::read()
3779
3780 2003-12-02  Angus Leeming  <leeming@lyx.org>
3781
3782         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3783         type. Add a comment in the implementation that the function uses
3784         the stream's bad() function rather than fail() as the std::streams
3785         would do.
3786
3787 2003-12-02  André Pönitz  <poenitz@gmx.net>
3788
3789         * lyxlex.[Ch]: make interface more similar to std::stream
3790
3791         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3792
3793 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3794
3795         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3796
3797 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3798
3799         * vspace.[Ch]: remove VSpace::NONE
3800
3801 2003-12-01  André Pönitz  <poenitz@gmx.net>
3802
3803         * buffer.[Ch]:
3804         * lyxtext.h: move ParagraphList member to LyXText
3805         rename LyXText::ownerParagraphs to LyXText::paragraph
3806
3807         * CutAndPaste.C:
3808         * bufferview_funcs.C:
3809         * iterators.[Ch]:
3810         * lyx_cb.C:
3811         * paragraph.C:
3812         * rowpainter.C:
3813         * tabular.C:
3814         * text.C:
3815         * text2.C:
3816         * text3.C: adjust
3817
3818         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3819
3820         * undo.C: fix cursor positioning
3821
3822 2003-12-01  John Levon  <levon@movementarian.org>
3823
3824         * BufferView_pimpl.C: fix a crash on exit with
3825         a buffer open
3826
3827 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3828
3829         * BranchList.C: fix setSelected() method.
3830
3831 2003-11-28  André Pönitz  <poenitz@gmx.net>
3832
3833         * ParagraphParameters.[Ch]:
3834         * ParameterStruct.h: remove space above/below from Paragraph to
3835          InsetVSpace
3836
3837         * BufferView_pimpl.C:
3838         * factory.C:
3839         * lyxfunc.C:
3840         * lyxtext.h:
3841         * output_latex.C:
3842         * paragraph.C:
3843         * paragraph_funcs.C:
3844         * rowpainter.[Ch]:
3845         * text.C:
3846         * text2.C:
3847         * text3.C: adjust
3848
3849 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3850
3851         * factory.C: Syntax change for CharStyles
3852
3853 2003-11-28  André Pönitz  <poenitz@gmx.net>
3854
3855         * BufferView.[Ch]:
3856         * BufferView.[Ch]:
3857         * buffer.[Ch]:
3858         * buffer.[Ch]: move LyXText member
3859
3860 2003-11-28  André Pönitz  <poenitz@gmx.net>
3861
3862         * BufferView.[Ch]: make LyXText * text a private member
3863
3864         * BufferView_pimpl.C:
3865         * cursor.C:
3866         * iterators.C:
3867         * lyx_cb.C:
3868         * lyxfind.C:
3869         * lyxtext.h:
3870         * rowpainter.[Ch]:
3871         * text.C:
3872         * text2.C:
3873         * undo.C: adjust
3874
3875         * output_plaintext.C: cleanup
3876
3877 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3878
3879         * buffer.C:
3880         * lyxtextclass.[Ch]: parametrize SGML document header
3881
3882 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3883
3884         * converter.[Ch]:
3885         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3886         getFlavor().
3887
3888 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3889
3890         * text2.C (setFont): rework using PosIterator (no more recursive)
3891         (setCharFont): no more needed
3892         (setLayout): no more selection cursors fiddling (done by redoCursor)
3893         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3894         destroy remaining ones)
3895
3896 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3897
3898         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3899         * lyxtext.h: ditto
3900         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3901         selection cursors
3902         * lyxfunc.C: adjust
3903         * text3.C: adjust + re-allow multi par depth changes
3904         * textcursor.C: simplify a bit
3905
3906 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3907
3908         * src/buffer.C:
3909         * src/lyxlayout.C:
3910         * src/lyxlayout.h:
3911         * src/lyxtext.h:
3912         * src/output_docbook.C:
3913         * src/output_latex.C:
3914         * src/paragraph.C:
3915         * src/paragraph.h:
3916         * src/sgml.C:
3917         * src/sgml.h:
3918         * src/text2.C: Introducing a number of tags parametrizing various
3919         XML formats that we may want to support
3920
3921 2003-11-25  André Pönitz  <poenitz@gmx.net>
3922
3923         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3924
3925         * lyxtext.h (leftMargin/rightMargin): simplify interface
3926
3927         * rowpainter.C:
3928         * text.C:
3929         * text2.C:
3930         * text3.C: adjust
3931
3932 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3933
3934         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3935         master file to any child files. Fixes bug 546.
3936
3937 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3938
3939         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3940
3941 2003-11-24  André Pönitz  <poenitz@gmx.net>
3942
3943         * rowpainter.C: simplification
3944
3945         * text2.C (updateCounters): remove call to redoParagraph on
3946         changed labels as this is far too expensive.
3947
3948 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3949
3950         * converter.C (convert): fix a crash: this function gets
3951         called with buffer == 0 from importer code.
3952
3953 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3954
3955         * text3.C (cursorPrevious): make sure that we do not compare
3956         iterators form different containers.
3957         (cursorNext): ditto
3958
3959         * rowpainter.C (paintSelection): make sure that we do not compare
3960         iterators from different containers.
3961
3962         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3963         iterators from different ParagraphList containers.
3964         [NEXT] ditto
3965
3966         * text2.C (LyXText): change order of initialization slightly
3967         (operator=): new function. copy all variables except cache_par_
3968         (moveUp): make sure that we do not compare iterators from
3969         different ParagraphList constainers.
3970         (moveDown): ditto
3971
3972         * text.C (firstPar): new function
3973         (lastPar): new function
3974         (endPar): new function
3975
3976         * lyxtext.h: move things around and group public functions, public
3977         variables, private functions, private variables
3978
3979 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3980
3981         * factory.C: change call to InsetERT constructor to avoid
3982         additional invocation of method status
3983         * text2.C (toggleInset): remove redundant update() call
3984         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3985         instead of a Bufferview pointer
3986
3987 2003-11-21  André Pönitz  <poenitz@gmx.net>
3988
3989         * rowpainter.C: simplification
3990
3991 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3992
3993         * text3.C (dispatch): make possible to extend a word/row selection
3994         with the mouse
3995
3996 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3997
3998         * lyxtext.h: x0_,y0_ -> xo_,yo_
3999         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4000         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4001         * rowpainter.C (paintRows): paint full paragraphs
4002
4003 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4004
4005         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4006         screen coordinates)
4007
4008 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4009
4010         * lyxtext.h: add x0_, y0_
4011         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4012         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4013
4014 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4015
4016         * text2.C (setCursorIntern): move the x_target update here *
4017         * text3.C: change some bv() to true/false in calls to
4018         cursorUp/Down/Right/Left
4019         * cursor.C: use helper function.
4020
4021 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4022
4023         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4024         * paragraph_funcs.[Ch]: correct comment
4025         * rowpainter.C: do not paint selections away from bv->cursor()
4026         Fix a long standing selection painting bug.
4027         * text3.C: generalize mouse-selection code to LyXTexts other that
4028         top one
4029         * textcursor.C: do not use y coords if we can use par offsets
4030
4031 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4032
4033         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4034         cursor position after e.g. inset insert)
4035
4036 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4037
4038         * lyxfind.C (replace): adjust to locking removal + some
4039         code simplification
4040
4041 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4042
4043         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4044         of the path
4045
4046 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4047
4048         * lyxlayout.[Ch]:
4049         * output_docbook.C: XML sanitation: new layout
4050         parameters InnerTag and CommandDepth
4051
4052 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4053
4054         * BufferView_pimpl.C:
4055         * factory.C:
4056         * text3.C: Fix the insertion and modification of button-style
4057         insets
4058
4059 2003-11-13  André Pönitz  <poenitz@gmx.net>
4060
4061         * InsetList.[Ch]: remove deleteLyXText
4062
4063         * paragraph.[Ch]: cache beginOfBody position
4064
4065         * Bidi.C:
4066         * text.C:
4067         * text2.C:
4068         * text3.C: remove superfluous update() calls
4069
4070         * vspace.C: cleanup
4071
4072 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4073
4074         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4075         * BufferView.C (fitLockedInsetCursor): remove
4076         * cursor.[Ch] (getDim): add
4077         * text.C (getRowNearY): add faster version
4078         * text3.C: remove some update calls
4079
4080 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4081
4082         * LaTeXFeatures.C:
4083         * LyXAction.C:
4084         * MenuBackend.C:
4085         * MenuBackend.h:
4086         * dispatchresult.h:
4087         * factory.C:
4088         * lfuns.h:
4089         * lyxfunc.C:
4090         * lyxtextclass.C:
4091         * lyxtextclass.h:
4092         * text3.C: The Character Style /XML short element patch.
4093
4094 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4095
4096         * text3.C:
4097         * factory.C: Small step to solving 'unable to insert some insets'
4098         problem
4099
4100 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4101
4102         * cursor.[Ch] (updatePos): new function for updating the y
4103         position of the tip inset
4104         * bufferview_funcs.C (put_selection_at):
4105         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4106
4107 2003-11-11  André Pönitz  <poenitz@gmx.net>
4108
4109         * text.C: remove big comment on invalid Paragraph pointers as it is
4110         not valid anymore
4111
4112 2003-11-11  André Pönitz  <poenitz@gmx.net>
4113
4114         * text_funcs.[Ch]: merge with ...
4115
4116         * text.C: ... this
4117
4118         * lyxtext.h:
4119         * text2.C:
4120         * text3.C: adjust
4121
4122         * Makefile.am: remove text_funcs.[Ch]
4123
4124 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * cursor.C (getPos): return absolute cached y coord
4127
4128         * BufferView_pimpl.C (fitCursor): new simplistic code
4129         (workAreaDispatch): add a fitCursor call
4130
4131 2003-11-10  André Pönitz  <poenitz@gmx.net>
4132
4133         * BufferView.[Ch]:
4134         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4135
4136 2003-11-10  André Pönitz  <poenitz@gmx.net>
4137
4138         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4139         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4140         indicate that the cursor needs to leave an inset
4141
4142         * lyxtext.h: remove inset locking
4143
4144         * cursor.[Ch]: re-implement functionality provided by inset locking
4145
4146         * BufferView.[Ch]:
4147         * BufferView_pimpl.[Ch]:
4148         * LyXAction.C:
4149         * bufferview_funcs.[Ch]:
4150         * factory.C:
4151         * funcrequest.[Ch]:
4152         * iterators.C:
4153         * lyx_cb.C:
4154         * lyxfind.C:
4155         * lyxfunc.C:
4156         * text.C:
4157         * text2.C:
4158         * text3.C:
4159         * undo.C: adjust
4160
4161 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4162
4163         * PosIterator.[Ch]: replace the stack with a vector, add inset
4164         accesor
4165         * iterators.[C]: adjust
4166
4167 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4170         replaced
4171         * paragraph_funcs.C (readParToken): put the correct id in the
4172         error item, not the id of the top paragraph
4173
4174 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4175
4176         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4177         * bufferview_funcs.C (put_selection_at): use the above
4178
4179 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4180
4181         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4182
4183 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4184
4185         * output_linuxdoc.h:
4186         * output_plaintext.h:
4187         * output.h:
4188         * output_docbook.h: add #include statements
4189
4190 2003-11-05  José Matos  <jamatos@lyx.org>
4191
4192         * output_docbook.[Ch]:
4193         * output_latex.[Ch]:
4194         * output_linuxdoc.[Ch]:
4195         * output_plaintext.[Ch]: New files for output formats.
4196         * output.[Ch]: New file for helper functions.
4197
4198         * buffer.[Ch]:
4199         * paragraph_funcs.[Ch]: output functions moved to new files.
4200
4201         * outputparams.h: rename of latexrunparams.h
4202
4203         * LaTeX.[Ch]:
4204         * buffer.[Ch]:
4205         * bufferlist.[Ch]:
4206         * converter.[Ch]:
4207         * exporter.C:
4208         * paragraph.[Ch]:
4209         * paragraph_funcs.[Ch]:
4210         * paragraph_pimpl.[Ch]:
4211         * tabular.[Ch]: rename ascii to plaintext
4212         and LatexRunParams to OutputParams.
4213
4214 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4215
4216         * iterators.[Ch] (text): require bv argument
4217         * undo.C (recordUndo):
4218         * lyxfunc.C (dispatch):
4219         * bufferview_funcs.C (put_selection_at): adjust
4220
4221 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4222
4223         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4224
4225 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4226
4227         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4228         nestings
4229
4230 2003-11-04  André Pönitz  <poenitz@gmx.net>
4231
4232         * cursor.[Ch]: restructure
4233
4234         * BufferView.[Ch]:
4235         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4236
4237         * iterators.[Ch] (asCursor): remove
4238
4239         * lfuns.h: remove LFUN_INSET_EDIT
4240
4241         * lyxfunc.C:
4242         * tabular.C:
4243         * text.C:
4244         * text2.C:
4245         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4246
4247 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4248
4249         * lyxfind.[Ch]: complete overhaul
4250         * BufferView_pimpl.C:
4251         * lyxfunc.C: adjust
4252         * paragraph.[Ch] (insert): add
4253
4254 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4255
4256         * BufferView.[Ch]:
4257         * lyxtext.h:
4258         * text.C: remove dead spellcheck code
4259
4260 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * dispatchresult.h: add a val setter
4263
4264         * cursor.C (dispatch): use a tempvar for data_[i]
4265
4266 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4267
4268         * PosIterator.[Ch]: compile fix
4269
4270 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4271
4272         * text.C (cursorPar): deactivate the cursor cache
4273
4274 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4275
4276         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4277
4278 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * text3.C (dispatch): adjust for new DisptchResult semantics.
4281
4282         * lyxfunc.C (dispatch): handle update when return from
4283         Cursor::dispatch, adjust for new DispatchResult semantics.
4284
4285         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4286         DispatchResult(true) mean to not update. Add class functions for
4287         setting dispatched and update, as well as reading.
4288
4289         * cursor.C (dispatch): don't handle update here
4290
4291 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4292
4293         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4294         * trans_mgr.C: adjust
4295
4296         * paragraph_funcs.C (readParToken): exception safety
4297
4298         * lyxvc.h: store the vcs pointer in a scoped_ptr
4299         * lyxvc.C: adjust
4300
4301         * lyxsocket.C (serverCallback): exception safety
4302
4303         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4304
4305         * ispell.C (clone): make it return a auto_ptr
4306
4307         * factory.C (createInset): exception safety
4308         (readInset): exception safety
4309
4310         * bufferlist.C (newBuffer): exception safety
4311
4312         * Thesaurus.C (Thesaurus): use initialization for aik_
4313
4314         * MenuBackend.C (expandToc): exception safety.
4315
4316 2003-11-03  André Pönitz  <poenitz@gmx.net>
4317
4318         * buffer.C:
4319         * buffer.h:
4320         * bufferview_funcs.C: remove getInsetFromId()
4321
4322         * lyxcursor.[Ch]:
4323         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4324
4325         * lyxfunc.C:
4326         * text2.C:
4327         * text3.C: adjust
4328
4329 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4330
4331         * PosIterator.C (distance, advance): new
4332         * bufferview_funcs.[Ch] (put_selection_at): new
4333         * iterators.[Ch] (lockPath): new
4334
4335 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4336
4337         * iterators.[Ch] (asPosIterator): added
4338         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4339         * PosIterator.[Ch]: added
4340
4341 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * text3.C:
4344         * lyxfunc.C:
4345         * cursor.C (dispatch):
4346         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4347
4348         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4349         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4350         contructor, add a class function dispatched. Remove operator>=
4351
4352 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4353
4354         * debug.C: only use the default constructor for debugstream
4355         (lyxerr) here.
4356
4357         * main.C (main): include debug.h and setup the lyxerr streambuf
4358         here.
4359
4360 2003-10-31  José Matos  <jamatos@lyx.org>
4361
4362         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4363
4364         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4365         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4366         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4367         * paragraph_pimpl.C (simpleTeXSpecialC):
4368         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4369         add LatexRunParams argument.
4370
4371         * exporter.C (Export): change call accordingly.
4372
4373         * latexrunparams.h: add new member to take care of the other backends.
4374 2003-10-30  José Matos  <jamatos@lyx.org>
4375
4376         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4377         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4378         factorise code for paragraph output.
4379         * buffer.[Ch]:
4380         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4381         move functions.
4382
4383 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4384
4385         * text3.C (dispatch):
4386         * lyxfunc.C (dispatch):
4387         * cursor.C (dispatch):
4388         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4389
4390         * dispatchresult.h: make the dispatch_result_t ctor explicit
4391
4392 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4393
4394         * sgml.[Ch]:
4395         * buffer.C: small refactoring of docbook stuff
4396
4397 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4400         meaning.
4401
4402 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4403
4404         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4405         operator dispatch_result_t, and operators for == != and >=
4406
4407         * cursor.C (dispatch): adjust for operator dispatch_result_t
4408         removal. comment out call to update
4409
4410         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4411
4412 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * text3.C:
4415         * text2.C:
4416         * text.C:
4417         * lyxtext.h:
4418         * lyxfunc.C:
4419         * cursor.C:
4420         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4421         (dispatch):
4422
4423         * dispatchresult.h: new file, DispatchResult broken out of
4424         insets/insetbase.h
4425
4426         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4427
4428 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * text.C (rowBreakPoint): put a hack inside #if 0
4431
4432 2003-10-28  André Pönitz  <poenitz@gmx.net>
4433
4434         * lyxtext.h:
4435         * metricsinfo.C:
4436         * paragraph_funcs.C:
4437         * rowpainter.C:
4438         * text.C:
4439         * text2.C: general cleanup (lots of small stuff)
4440
4441 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4442
4443         * text2.C (cursorEnd): simple fix to the "end key goes to one
4444         before the end on last row" bug
4445
4446 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4447
4448         * text.C (backspace): fix the "zombie characters"
4449
4450 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4451
4452         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4453
4454 2003-10-27  André Pönitz  <poenitz@gmx.net>
4455
4456         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4457
4458         * factory.C: handle new InsetPagebreak, InsetLine
4459
4460         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4461         and move handling into new InsetPagebreak, InsetLine
4462
4463         * BufferView_pimpl.C:
4464         * LyXAction.C:
4465         * ParagraphParameters.C:
4466         * ParameterStruct.h:
4467         * lyxfunc.C:
4468         * lyxtext.h:
4469         * paragraph.C:
4470         * paragraph.h:
4471         * paragraph_funcs.C:
4472         * paragraph_pimpl.C:
4473         * rowpainter.C:
4474         * text.C:
4475         * text2.C:
4476         * text3.C: adjust
4477
4478 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * text.C:
4481         * lyxrow_funcs.[Ch]:
4482         * Bidi.C:
4483         * paragraph.C:
4484         * lyxtext.h:
4485         * rowpainter.C:
4486         * text2.C:
4487         * text3.C: remove lastPos uses in favour of Row::endpos
4488
4489 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4490
4491         * undo.C (performUndoOrRedo): fix two crashes by setting a
4492         cursor by hand and reordering some calls. Use bv->lockInset instead
4493         of inset->edit because the latter loses cursor information
4494
4495 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4496
4497         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4498         by Martin
4499         (rowBreakPoint): fix width. change point to point + 1.
4500         Add a missing check.
4501
4502 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4503
4504         * MenuBackend.C:
4505         * lyxfunc.C: fix (at least partly) the problems
4506         with the Nav menu and headers inside branch insets
4507         reported by Kayvan
4508
4509 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4510
4511         * paragraph.C (getChar): add strong asserts
4512
4513         * lyxrow_funcs.C (lastPos): remove hideous hack
4514
4515         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4516         (fill): adjust to that (avoid an infinite loop)
4517
4518 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4519
4520         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4521
4522 2003-10-23  André Pönitz  <poenitz@gmx.net>
4523
4524         * RowList_fwd.h: change list<> to vector<> to gain speed
4525         after suggestion from Alfredo
4526
4527 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4528
4529         * lyxtext.h: move the bidi stuff from here...
4530         * text.C: and here
4531         * text2.C: and here
4532         * Bidi.[Ch]: ... to here
4533
4534 2003-10-23  André Pönitz  <poenitz@gmx.net>
4535
4536         * lyxtext.h:
4537         * text.C (isLastRow, isFirstRow): new functions
4538
4539         * paragraph.h: new width cache member
4540
4541         * rowpainter.C: replace RowList::iterator with Row & where possible
4542
4543         * lyxfunc.C: replace several view()->text with a single call
4544
4545         * toc.C: fix 'unused' warning
4546
4547 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4550         when woring with stream::pos_type
4551         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4552
4553 2003-10-22  André Pönitz  <poenitz@gmx.net>
4554
4555         * lyxtext.h:
4556         * text.C: use Row & instead of RowList::iterator
4557
4558         * lyxrow.h: rename end() to endpos()
4559
4560         * rowpainter.C:
4561         * text.C:
4562         * text2.C: adjust
4563
4564 2003-10-22  Angus Leeming  <leeming@lyx.org>
4565
4566         * buffer.[Ch] (fully_loaded): new member function, returning true
4567         only when the file has been loaded fully.
4568         Used to prevent the premature generation of previews and by the
4569         citation inset to prevent computation of the natbib-style label.
4570
4571         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4572         templates are all set up.
4573
4574         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4575
4576 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4577
4578         * text.C: fixed an "oops" in the "is a bit silly"
4579         bug fix
4580
4581 2003-10-21  André Pönitz  <poenitz@gmx.net>
4582
4583         * FuncStatus.[Ch]: small stuff, whitespace
4584
4585         * lyxfont.[Ch]: operator<<() for debug reasons
4586
4587         * lyxfunc.C:
4588         * lyxrow_funcs.C:
4589         * lyxtext.h: whitespace, spelling
4590
4591         * paragraph.C: naming of variables
4592
4593         * text.C:
4594         * text2.C: small stuff
4595
4596
4597 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4598
4599         * text.C: (1) finish off the inset display() work;
4600         (2) fix the "is a bit silly" bug (accessing char
4601         past end of par).
4602
4603 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4604
4605         * text.C: re-introduce display() for insets, fixing the
4606         various bugs (stretch of line above, math inset
4607         positioning, ...)
4608
4609 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4610
4611         * text.C (rightMargin): remove spurious semicolon
4612
4613         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4614         1415)
4615
4616 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4617
4618         * text3.C: fix one crash due to wrong cursor def
4619
4620 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * vc-backend.C (scanMaster): make the regex static
4623
4624         * LaTeX.C (scanAuxFile): make the regexs static
4625
4626         * text3.C (doInsertInset, dispatch, dispatch):
4627         * text2.C (cursorUp, cursorDown):
4628         * text.C (selectNextWordToSpellcheck):
4629         * BufferView_pimpl.C (dispatch):
4630         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4631
4632 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4633
4634         * lyxsocket.C: include <cerrno>
4635
4636 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * lyxfunc.C (dispatch): remove textcache stuff
4639
4640         * bufferlist.C (release): remove textcache stuff
4641         (closeAll): ditto
4642
4643         * TextCache.C: delete file
4644         * TextCache.h: delete file
4645
4646         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4647
4648         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4649         delete of the bv_->text.
4650         (resizeCurrentBuffer): remove texcache stuff
4651         (workAreaResize): ditto
4652
4653 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4656         action.
4657
4658 2003-10-16  André Pönitz  <poenitz@gmx.net>
4659
4660         * lyxrow.[Ch]:
4661         * paragraph.h:
4662         * rowpainter.C:
4663         * text.C:
4664         * text2.C:
4665         * text3.C: speed up by storing y positions per paragraph plus per-row
4666         offset instead of having a 'full' y position in the row.
4667
4668 2003-10-15  André Pönitz  <poenitz@gmx.net>
4669
4670         * iterators.[Ch]:
4671         * iterators.[Ch]:
4672         * undo.[Ch]: make undo aware of inner insets
4673
4674 2003-10-14  Angus Leeming  <leeming@lyx.org>
4675
4676         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4677         static member functions LyX::ref() and LyX::cref.
4678         (lastfiles): new accessor functions for the new lastfiles_ member var.
4679         (addLyXView, views_): add a new LyXView to the list of views_.
4680         (updateInset): loop over all LyXViews to call their own updateInset
4681         member function, returning a pointer to the Buffer owning the inset.
4682
4683         * BufferView_pimpl.C (loadLyXFile):
4684         * MenuBackend.C (expandLastfiles):
4685         * bufferlist.C (MenuWrite, QuitLyX):
4686         lastfiles is no longer a global variable.
4687         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4688
4689         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4690         static function. Access through LyX::cref().emergencyCleanup().
4691
4692 2003-10-14  André Pönitz  <poenitz@gmx.net>
4693
4694         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4695
4696         * undo.[Ch]: restoring part of 'undo in insets'
4697
4698         * Makefile.am:
4699         * undo_funcs.[Ch]: merge with undo.[Ch]
4700
4701         * tabular.C: small cleansing stuff
4702
4703 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4704
4705         * paragraph_funcs.C (readParToken): report unknown insets as error
4706         boxes. Use the outer paragraph as location (also for unknown
4707         tokens).
4708
4709         * factory.C (readInset): do not abort on reading an unknown inset.
4710         Eat it and return 0.
4711
4712 2003-10-13  Angus Leeming  <leeming@lyx.org>
4713
4714         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4715
4716         * lyxrc.C: displayTranslator is now a function,
4717         declared in GraphicsTypes.h.
4718
4719 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4720
4721         * format.C: new placeholder $$a to pass the socket address.
4722
4723         * bufferlist.[Ch]: new function getBufferFromTmp.
4724
4725         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4726           files in the temporary dir.
4727
4728 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4729
4730         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4731
4732         * Makefile.am: add lyxsocket.[Ch].
4733
4734         * lyx_main.C (error_handler): handle SIGPIPE.
4735
4736 2003-10-13  André Pönitz  <poenitz@gmx.net>
4737
4738         * BufferView_pimpl.C:
4739         * lyxtext.h:
4740         * text.C:
4741         * text2.C:
4742         * text3.C:
4743         * undo_funcs.[Ch]: use paroffset_type instead of
4744           ParagraphList::iterators to prevent multiple conversion
4745           (and get a more robust interface)
4746
4747 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4750         * lyxtext.h: ditto
4751         * text3.C (dispatch): ditto
4752
4753 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4756         move the onlyfile, use onlyfile instead of foundfile in a couple
4757         of places.
4758
4759         * DepTable.C (update): flush the error stream a bit more
4760
4761 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * lyxserver.C (callback): adjust
4764
4765         * lyxfunc.C (getStatus): add a missing brace in commented code
4766         (ensureBufferClean): reindent
4767         (dispatch): delete version taking a string
4768
4769 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * LaTeX.C (deplog): move found file handlig from here...
4772         (handleFoundFile): .. to new function here.
4773         (deplog): make sure to discover several files mentioned on the
4774         same log line.
4775
4776 2003-10-10  André Pönitz  <poenitz@gmx.net>
4777
4778         * lyxfunc.C:
4779         * lyxtext.h:
4780         * tabular.C:
4781         * text.C:
4782         * text2.C:
4783         * text3.C: fix some of the tabular crashes
4784
4785 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4786
4787         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4788
4789         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4790
4791 2003-10-09  André Pönitz  <poenitz@gmx.net>
4792
4793         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4794
4795         * BufferView.C:
4796         * BufferView_pimpl.C:
4797         * bufferview_funcs.C:
4798         * lyx_cb.C:
4799         * lyxcursor.C:
4800         * lyxfind.C:
4801         * lyxfunc.C:
4802         * lyxtext.h:
4803         * text.C:
4804         * text2.C:
4805         * text3.C:
4806         * text_funcs.[Ch]:
4807         * textcursor.[Ch]:
4808         * undo_funcs.C: adjust
4809
4810 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * text2.C (incrementItemDepth): new function, use a backtracking
4813         algorithm to discover the correct item depth.
4814         (resetEnumCounterIfNeeded): new function, use a backtracking
4815         algorithm to discover if counter reset is needed.
4816         (setCounter): use them. Simplify a bit. Add different labels for
4817         different item depths for itemize.
4818
4819         * paragraph.C (Paragraph): remove initialization of enumdepth
4820         (operator=): ditto
4821
4822         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4823         enumerate and itemize. Change the type of itemdepth to signed char.
4824
4825 2003-10-08  André Pönitz  <poenitz@gmx.net>
4826
4827         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4828           thing assignable.
4829         * text.C:
4830         * text2.C: adjust
4831
4832         * tabular.[Ch]: fix crash after 'row-insert'
4833
4834 2003-10-08  Angus Leeming  <leeming@lyx.org>
4835
4836         Fix doxygen warnings.
4837
4838         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4839         Remove CutAndPaste:: prefix from header file declaration.
4840
4841         * LColor.h (fill): remove LColor:: prefix from declaration.
4842
4843         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4844         use lyx::depth_type rather than Paragraph::depth_type so that
4845         header file and .C file match.
4846
4847         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4848
4849         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4850         * aspell.C: \file aspell_local.C -> \file aspell.C
4851         * gettext.C: \file gettext.C -> \file src/gettext.C
4852         * gettext.h: \file gettext.h -> \file src/gettext.h
4853         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4854         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4855         * text.C: \file text.C -> \file src/text.C
4856
4857         * toc.C: move comment so that doxygen is not confused.
4858
4859 2003-10-07  Angus Leeming  <leeming@lyx.org>
4860
4861         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4862
4863 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4864
4865         * aspell.C:
4866         * aspell_local.h: add forgotten std::string's.
4867
4868 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4869
4870         * LaTeXFeatures.C:
4871         * LyXAction.C:
4872         * factory.C:
4873         * lfuns.h:
4874         * lyxfunc.C:
4875         * text3.C: The Box patch. Fancybox support, minipage, parbox
4876
4877 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4878
4879         * CutAndPaste.h:
4880         * DepTable.h:
4881         * FloatList.h:
4882         * LaTeXFeatures.h:
4883         * ParagraphParameters.h:
4884         * TextCache.h:
4885         * Thesaurus.h:
4886         * bufferlist.h:
4887         * exporter.h:
4888         * importer.h:
4889         * lastfiles.h:
4890         * lyxfind.h:
4891         * lyxfont.h:
4892         * lyxlex.h:
4893         * lyxtextclasslist.h:
4894         * messages.h:
4895         * paragraph.h:
4896         * paragraph_pimpl.C:
4897         * textcursor.h: add <string> and other small fixes to make Lars'
4898         std::string patch compile with STLport.
4899
4900 2003-10-06  Angus Leeming  <leeming@lyx.org>
4901
4902         * LColor.h: Add missing #include <string>.
4903
4904 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * All most all file in all subdirs: Make <string> be the prefered
4907         way of getting to std::string, add using declarations.
4908
4909 2003-10-06  André Pönitz  <poenitz@gmx.net>
4910
4911         * metricsinfo.C: initialize LyXFont before changing attribute.
4912         (fixes the 'math in \emph is upright' bug)
4913
4914 2003-10-06  André Pönitz  <poenitz@gmx.net>
4915
4916         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4917
4918 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4919
4920         * graph.C:
4921         * paragraph_pimpl.C: Small fixes to build using STLport
4922
4923 2003-10-02  André Pönitz  <poenitz@gmx.net>
4924
4925         * lyxfunc.C:
4926         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4927
4928 2003-10-01  André Pönitz  <poenitz@gmx.net>
4929
4930         * factory.C: assert early
4931
4932 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * lyx_main.C: remove the global debug object
4935
4936         * debug.h: adjust for new debugstream
4937
4938         * debug.C: adjust for new debugstream and keep the global debug
4939         object here.
4940
4941 2003-09-22  Angus Leeming  <leeming@lyx.org>
4942
4943         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4944         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4945         an incomplete class LyXFont.
4946
4947 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4948
4949         * factory.C: bug fix in branches
4950
4951 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * lyxfunc.C (processKeySym): adjust
4954         (dispatch): adjust
4955         (dispatch): change arg name from ev to func, adjust
4956         (sendDispatchMessage): ditto
4957
4958         * lyx_main.C (defaultKeyBindings): adjust keybindings
4959         (deadKeyBindings): ditto
4960
4961         * kbsequence.C (addkey): return a FuncRequest
4962
4963         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4964
4965         * kbmap.C (bind): take a FuncRequest as arg, adjust
4966         (read): adjust
4967         (lookup): adjust
4968         (defkey): change to take a FuncRequest as arg, adjust
4969         (findbinding): take a FuncRequest as arg, adjust.
4970
4971         * funcrequest.h (operator=): added
4972
4973         * funcrequest.C (FuncRequest): default kb_action changed from
4974         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4975
4976         * buffer.C (dispatch): simplify
4977         (dispatch): adjust to take a FuncRequest as arg, adjust
4978
4979         * boost.C (assertion_failed): change assertion message slightly
4980
4981         * ToolbarBackend.C (read): simplify
4982
4983         * MenuBackend.C (binding): adjust call to findbinding, add a
4984         message if no binding is found.
4985         (read): simplify
4986         (expandToc): correct by adding a empty FuncRequest
4987
4988         * LyXAction.C: include <boost/assert.hpp>
4989         (isPseudoAction): delete function
4990         (LookupFunc): change name to...
4991         (lookupFunc): this. change return type to FuncRequest.
4992         (getActionName): take kb_action as arg, simplify
4993         (funcHasFlag): add an assert, simplify.
4994
4995 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * toc.C (action): return a FuncRequest, simplify
4998
4999         * lyxfunc.C (processKeySym): adjust
5000         (getStatus): delete version that takes an int.
5001         (getStatus): adjust
5002         (dispatch): delete version that takes action as int
5003         (dispatch): adjust
5004         (sendDispatchMessage): simplify and adjust
5005
5006         * funcrequest.C (getArg): take unsigned int as arg
5007
5008         * ToolbarBackend.C (read): adjust
5009         (add): delete version that takes func as a string.
5010         (getIton): take a FuncRequest as arg
5011
5012         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5013         action.
5014
5015         * MenuBackend.C (MenuItem): add a new construct that only takes a
5016         Kind, simplify the constructor use for submenus.
5017         (add): adjust
5018         (expandLastfiles): adjust
5019         (expandDocuments): adjust
5020         (expandFormats): adjust
5021         (expandFloatListInsert): adjust
5022         (expandFloatInsert): adjust
5023         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5024
5025         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5026         Remove class variables lyx_pseudo_map and lyx_arg_map
5027
5028         * LyXAction.C (searchActionArg): delete function
5029         (getPseudoAction): delete function
5030         (retrieveActionArg): delete function
5031         (LookupFunc): make it return kb_action, simplify.
5032         (getActionName): simplify
5033
5034         * factory.C (createInset): fix new bug
5035
5036 2003-09-19  Angus Leeming  <leeming@lyx.org>
5037
5038         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5039         masterFilename_ parameter in the include inset.
5040
5041         * factory.C (createInset): changes due to the changes to InsetInclude.
5042
5043 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5044
5045         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5046
5047 2003-09-18  Angus Leeming  <leeming@lyx.org>
5048
5049         * buffer.C:
5050         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5051         Inset::fillWithBibKeys.
5052         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5053
5054 2003-09-18  Angus Leeming  <leeming@lyx.org>
5055
5056         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5057         variables.
5058         (ctor): pass and store a 'Buffer const &'
5059         (buffer): new member function.
5060
5061         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5062         '*this' to the LaTeXFeatures ctor.
5063
5064 2003-09-18  Angus Leeming  <leeming@lyx.org>
5065
5066         * LColor.h:
5067         * lyxfont.C:
5068         * lyxfont.h:
5069         * lyxtext.h:
5070         * text.C: rename EnumLColor as LColor_color.
5071
5072 2003-09-18  Angus Leeming  <leeming@lyx.org>
5073
5074         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5075         remove #include "insets/insetbase.h" from cursor.h.
5076
5077 2003-09-18  Angus Leeming  <leeming@lyx.org>
5078
5079         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5080         InsetOld_code to remove #include "inset.h".
5081
5082         * iterators.C: add #include "insets/inset.h"
5083
5084 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5085
5086         * BufferView.C: remove more locking stuff that apparently doesn't
5087         do anything sensible.
5088
5089 2003-09-16  André Pönitz  <poenitz@gmx.net>
5090
5091         * paragraph.[Ch]:
5092         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5093           performance boost.
5094
5095 2003-09-16  Angus Leeming  <leeming@lyx.org>
5096
5097         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5098
5099         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5100         arg/return type.
5101
5102         * paragraph.h: remove #include "lyxfont.h". Forward declare
5103         LyXFont_size.
5104
5105 2003-09-16  Angus Leeming  <leeming@lyx.org>
5106
5107         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5108         of support/textutils.h.
5109         (isWord): move the contents of support/textutils.h's IsWordChar here.
5110
5111         * buffer.C:
5112         * lyxfind.C:
5113         * rowpainter.C:
5114         * text.C:
5115         * text2.C: add #include "paragraph.h".
5116
5117         * rowpainter.C:
5118         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5119
5120 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * main.C:
5123         * lyx_main.C:
5124         * lyx_cb.C:
5125         * buffer.C:
5126         * LaTeX.C: use namespace alias for lyx::support::os
5127
5128 2003-09-16  Angus Leeming  <leeming@lyx.org>
5129
5130         * bufferparams.C:
5131         * bufferview_funcs.C:
5132         * factory.C:
5133         * lyxfunc.C:
5134         * paragraph_pimpl.C:
5135         * rowpainter.C:
5136         * text.C: add #include "LColor.h".
5137
5138 2003-09-16  Angus Leeming  <leeming@lyx.org>
5139
5140         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5141         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5142         return LyXFont &.
5143         Store the FontBits::color variable as an int rather than as an
5144         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5145         file.
5146
5147         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5148         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5149         string calls together.
5150
5151         * lyxrc.C: add #include "LColor.h".
5152
5153 2003-09-15  Angus Leeming  <leeming@lyx.org>
5154
5155         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5156         a cow_ptr.
5157
5158 2003-09-15  Angus Leeming  <leeming@lyx.org>
5159
5160         * LColor.h: add an EnumLColor wrapper for LColor::color.
5161
5162         * lyxfont.[Ch] (color, setColor, realColor):
5163         * lyxtext.h, text.C (backgroundColor):
5164         pass EnumLColor args to/from the functions, rather than LColor::color
5165         ones.
5166
5167         * lyxfont.h:
5168         * lyxtext.h: forward declare EnumLColor.
5169
5170         * lyx_main.C: add #include "LColor.h".
5171
5172 2003-09-15  Angus Leeming  <leeming@lyx.org>
5173
5174         * .cvsignore: add lyx-gtk.
5175
5176 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * Chktex.C
5179         * LaTeX.C
5180         * LaTeXFeatures.C
5181         * ParagraphParameters.C
5182         * Spacing.C
5183         * buffer.C
5184         * bufferparams.C
5185         * bufferview_funcs.C
5186         * chset.C
5187         * counters.C
5188         * funcrequest.C
5189         * lyxfont.C
5190         * lyxgluelength.C
5191         * lyxlength.C
5192         * paragraph.C
5193         * paragraph_funcs.C
5194         * text3.C
5195         * vc-backend.C: remove usage of STRCONV
5196
5197 2003-09-15  Angus Leeming  <leeming@lyx.org>
5198
5199         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5200         explicitly define the color passed to the painter.
5201
5202 2003-09-15  Angus Leeming  <leeming@lyx.org>
5203
5204         * bufferparams.C (BufferParams): reorder member initializers to avoid
5205         compiler warning.
5206
5207 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5208
5209         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5210         * text.C (updateRowPositions): remove an unusual nop
5211
5212 2003-09-12  André Pönitz  <poenitz@gmx.net>
5213
5214         * BufferView_pimpl.C:
5215         * Bullet.C:
5216         * layout.h:
5217         * lyxfunc.C:
5218         * lyxlayout.[Ch]:
5219         * lyxtextclass.C:
5220         * rowpainter.C:
5221         * text.C:
5222         * text2.C:
5223         * Counters.[Ch]: finish the 'automatic counters' job
5224
5225 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5226
5227         * aspell.C: include <boost/assert.cpp> (compile fix)
5228
5229 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5230
5231         * boost.C (assertion_failed): use lyx::support::abort instead of
5232         assert.
5233
5234 2003-09-10  Angus Leeming  <leeming@lyx.org>
5235
5236         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5237         with their _fwd progeny.
5238
5239 2003-09-09  Angus Leeming  <leeming@lyx.org>
5240
5241         134 files throughtout the source tree: replace 'using namespace abc;'
5242         directives with the appropriate 'using abc::xyz;' declarations.
5243
5244 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5245
5246         * boost.C (emergencyCleanup): moved here from LAssert.c
5247         (assertion_failed): new function, called by BOOST_ASSERT
5248
5249         * several files: change Assert to BOOST_ASSERT
5250
5251 2003-09-09  Angus Leeming  <leeming@lyx.org>
5252
5253         * buffer.[Ch]: Add an Impl class and move Buffer's member
5254         variables into it. As a result move several header files out of
5255         buffer.h.
5256
5257         Add header files to lots of .C files all over the tree as a result.
5258
5259 2003-09-09  Angus Leeming  <leeming@lyx.org>
5260
5261         * buffer.[Ch]: make Buffer's member variables private. Add
5262         accessor functions.
5263
5264         Lots of changes all over the tree as a result.
5265
5266 2003-09-08  Angus Leeming  <leeming@lyx.org>
5267
5268         * graph.C: #include <config.h>.
5269
5270 2003-09-08  Angus Leeming  <leeming@lyx.org>
5271
5272         * BranchList.C:
5273         * BufferView.C:
5274         * BufferView_pimpl.C:
5275         * CutAndPaste.C:
5276         * DepTable.C:
5277         * LaTeX.C:
5278         * LaTeXFeatures.C:
5279         * LyXAction.C:
5280         * MenuBackend.C:
5281         * TextCache.C:
5282         * aspell.C:
5283         * buffer.C:
5284         * bufferlist.C:
5285         * changes.C:
5286         * chset.C:
5287         * converter.C:
5288         * counters.C:
5289         * debug.C:
5290         * graph.C:
5291         * ispell.C:
5292         * lyx_cb.C:
5293         * lyxfind.C:
5294         * lyxfunc.C:
5295         * lyxlex_pimpl.C:
5296         * lyxrc.C:
5297         * lyxrow.C:
5298         * paragraph.C:
5299         * rowpainter.C:
5300         * texrow.C:
5301         * text.C:
5302         * text2.C:
5303         * toc.C: remove redundant using directives.
5304
5305 2003-09-07  Angus Leeming  <leeming@lyx.org>
5306
5307         * LaTeXFeatures.h: remove #include "support/types.h".
5308         * ToolbarBackend.h: remove #include <algorithm>.
5309         * changes.h: remove #include <ctime>.
5310         * debug.h: remove #include <iosfwd>.
5311         * graph.h: remove #include "support/std_string.h".
5312         * lyx_main.h: remove #include <csignal>.
5313         * lyxlex_pimpl.h: remove #include <fstream>.
5314         * sgml.h: remove #include <algorithm>, <utility>.
5315         * toc.h: remove #include "support/std_ostream.h".
5316         Add #include <iosfwd>.
5317
5318 2003-09-07  Angus Leeming  <leeming@lyx.org>
5319
5320         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5321
5322         * converter.h: forward declare LatexRunParams.
5323         * encoding.h: remove #include "lyxrc.h".
5324         * lyxtext.h: remove #include "LColor.h".
5325         * lyxtextclass.h: remove #include "support/types.h".
5326         * trans.h: remove #include "tex-accent.h".
5327         * trans_mgr.h: remove #include "tex-accent.h".
5328         * insets/inset.h: remove #include "support/types.h", <vector>.
5329         * insets/insetcollapsable.h: remove #include "LColor.h".
5330         * insets/insetinclude.h: remove #include "dimension.h".
5331         * insets/insetlatexaccent.h: remove #include "dimension.h".
5332         * insets/insetoptarg.h:: remove #include "insettext.h".
5333         * insets/insettext.h: remove #include "dimension.h",
5334         <boost/shared_ptr.hpp>
5335
5336         * insets/renderers.h: add #include "dimension.h".
5337         * insets/updatableinset.h: add #include "support/types.h".
5338
5339         * many .C files: Associated changes.
5340
5341 2003-09-06  Angus Leeming  <leeming@lyx.org>
5342
5343         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5344         one, inside testInvariant.
5345
5346         * PrinterParams.C: new file.
5347         * PrinterParams.[Ch]: move the function bodies out of line.
5348
5349 2003-09-06  Angus Leeming  <leeming@lyx.org>
5350
5351         * ParagraphParameters.h: forward declare ParameterStruct rather than
5352         including its header file.
5353         (depth): moved out-of-line.
5354
5355 2003-09-06  Angus Leeming  <leeming@lyx.org>
5356
5357         * BufferView_pimpl.h:
5358         * kbmap.h:
5359         * kbsequence.h:
5360         * lyxfunc.h: forward declare LyXKeySym rather than
5361         #include "frontends/LyXKeySym.h".
5362
5363         * BufferView_pimpl.C:
5364         * kbmap.C:
5365         * kbsequence.C:
5366         * lyxfunc.C: associated changes.
5367
5368 2003-09-06  Angus Leeming  <leeming@lyx.org>
5369
5370         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5371         As a result, can remove the #include "insets/inset.h" from BufferView.h
5372
5373 2003-09-06  Angus Leeming  <leeming@lyx.org>
5374
5375         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5376         As a result, can remove the #include "insets/inset.h" from BufferView.h
5377
5378 2003-09-06  Angus Leeming  <leeming@lyx.org>
5379
5380         * buffer_funcs.C:
5381         * buffer.h:
5382         * bufferlist.C:
5383         * BufferView.C:
5384         * bufferview_funcs.C:
5385         * BufferView_pimpl.C:
5386         * CutAndPaste.C:
5387         * lyx_cb.C:
5388         * lyxfunc.C:
5389         * paragraph.h:
5390         * ParagraphParameters.C:
5391         * tabular.C:
5392         * text3.C:
5393         * toc.C:
5394         * undo_funcs.C:
5395         * frontends/controllers/ControlDocument.C:
5396         * insets/insetcaption.C: rearrange the #includes into some sort of
5397         coherent order.
5398
5399         * buffer.h: remove #includes ErrorList.h, undo.h
5400
5401 2003-09-06  Angus Leeming  <leeming@lyx.org>
5402
5403         * support/types.h: add a 'depth_type' typedef, used to store the
5404         nesting depth of a paragraph.
5405
5406         * paragraph.h:
5407         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5408         defining explicitly.
5409
5410         * buffer.h:
5411         * paragraph_funcs.h:
5412         * ParagraphParameters.h:
5413         * sgml.h: use lyx::depth_type rather than Paragraph or
5414         ParameterStruct's depth_type.
5415
5416         * buffer.h
5417         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5418
5419         * BufferView.C:
5420         * BufferView_pimpl.C:
5421         * CutAndPaste.C:
5422         * ParagraphParameters.C:
5423         * buffer_funcs.C:
5424         * bufferlist.C:
5425         * bufferview_funcs.C:
5426         * lyx_cb.C:
5427         * lyxfunc.C:
5428         * tabular.C:
5429         * text3.C:
5430         * toc.C:
5431         * undo_funcs.C:
5432         * frontends/LyXView.C:
5433         * frontends/controllers/ControlDocument.C:
5434         * frontends/controllers/ControlErrorList.C:
5435         * insets/insetbibitem.C:
5436         * insets/insetbranch.C:
5437         * insets/insetcaption.C:
5438         * insets/insetcollapsable.C:
5439         * insets/insetenv.C:
5440         * insets/insetert.C:
5441         * insets/insetfloat.C:
5442         * insets/insetfoot.C:
5443         * insets/insetfootlike.C:
5444         * insets/insetnewline.C:
5445         * insets/insetquotes.C:
5446         * insets/insettabular.C:
5447         * insets/insettext.C:
5448         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5449
5450         * frontends/controllers/ControlChanges.C: #include "changes.h".
5451
5452 2003-09-06  Angus Leeming  <leeming@lyx.org>
5453
5454         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5455         than #including paragraph.h.
5456
5457         * ParagraphList.h:
5458         * RowList.h: deleted. Superfluous.
5459
5460         * CutAndPaste.h:
5461         * iterators.h:
5462         * lyxcursor.h:
5463         * lyxtext.h:
5464         * text_funcs.h:
5465         * undo.h:
5466         * undo_funcs.h:
5467         * insets/inset.h:
5468         * insets/insettext.h: use ParagraphList_fwd.h rather than
5469         ParagraphList.h.
5470
5471         * paragraph.h: don't forward declare ParagraphList.
5472
5473         * buffer.h:
5474         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5475         rather than ParagraphList.h. paragraph.h is still needed for the
5476         Paragraph::depth_type parameters.
5477
5478         * textcursor.h: enable it to compile stand-alone in light of the
5479         above changes.
5480
5481         * bufferview_funcs.C:
5482         * iterators.C:
5483         * lyxfunc.C:
5484         * lyxrow_funcs.C:
5485         * paragraph.C:
5486         * rowpainter.C:
5487         * text.C:
5488         * text2.C:
5489         * text3.C:
5490         * text_funcs.C:
5491         * textcursor.C:
5492         * undo.C:
5493         * frontends/controllers/ControlParagraph.C:
5494         * frontends/controllers/ControlTabular.C:
5495         * insets/insetmarginal.C:
5496         * insets/insetminipage.C:
5497         * insets/insetnote.C:
5498         * insets/insetoptarg.C: add header files needed to compile again.
5499
5500 2003-09-06  Angus Leeming  <leeming@lyx.org>
5501
5502         * RowList_fwd.h: new file, forward-declaring Row rather than
5503         #including lyxrow.h.
5504
5505         * lyxrow_funcs.h:
5506         * lyxtext.h:
5507         * paragraph.h:
5508         * insets/insettext.h: use it instead of RowList.h
5509
5510         * bufferview_funcs.C:
5511         * lyxfunc.C:
5512         * lyxrow_funcs.C:
5513         * paragraph.C:
5514         * rowpainter.C:
5515         * text.C:
5516         * text2.C:
5517         * text3.C: #include "RowList.h".
5518
5519 2003-09-05  Angus Leeming  <leeming@lyx.org>
5520
5521         * factory.C (createInset):
5522         * vspace.C (c-tor): replace sscanf call with an istringstream.
5523         * ispell.C: re-add missing HP/UX headers.
5524         * lyxserver.C: re-add missing  os2 headers.
5525
5526 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5527
5528         * BranchList.C:
5529         * graph.C:
5530         * ispell.C:
5531         * lastfiles.C:
5532         * lyx_cb.C:
5533         * lyxserver.C:
5534         * texrow.C:
5535         * text3.C: re-add missing system headers, needed for 2.95.2.
5536
5537 2003-09-05  Angus Leeming  <leeming@lyx.org>
5538
5539         Changes most place everywhere due to the removal of using directives
5540         from support/std_sstream.h.
5541
5542 2003-09-05  Angus Leeming  <leeming@lyx.org>
5543
5544         Replace LString.h with support/std_string.h,
5545         Lsstream.h with support/std_sstream.h,
5546         support/LIstream.h with support/std_istream.h,
5547         support/LOstream.h with support/std_ostream.h.
5548
5549         Changes resulting throughout the tree.
5550
5551 2003-09-05  Angus Leeming  <leeming@lyx.org>
5552
5553         * sgml.h: ensure that the header file can be compiled stand-alone.
5554         * *.C: strip out redundant #includes. (320 in total.)
5555
5556 2003-09-04  Angus Leeming  <leeming@lyx.org>
5557
5558         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5559         here (from getPackages).
5560
5561         * debug.[Ch]: add a new EXTERNAL tag.
5562
5563 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5564
5565         * text2.C (cursorEnd): simplify
5566         (setCursor): adjust
5567         (getColumnNearX): adjust
5568
5569         * text.C (computeBidiTables): adjust
5570         (fill): adjust
5571
5572         * rowpainter.C (paintChars): adjust
5573         (paintSelection): adjust
5574         (paintChangeBar): adjust
5575         (paintText): adjust
5576
5577         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5578         lastPos instead.
5579         (numberOfSeparators): adjust
5580
5581 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5582
5583         * LyXAction.C:
5584         * box.[Ch]:
5585         * lfuns.h:
5586         * lyxfunc.C:
5587         * text3.C: Restricts the mouse click functionality
5588         of insets like bibtex, include, toc and floatlist to the visible
5589         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5590         up the dialogs. Cursor has to be in front of the inset (i.e.
5591         start of row) for this to function.
5592
5593 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5594
5595         * bufferview_funcs.C (currentState): output row information
5596
5597 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5598
5599         * bufferview_funcs.C (currentState): output paragraph position
5600
5601 2003-09-04  Angus Leeming  <leeming@lyx.org>
5602
5603         * FloatList.h: move out #include "Floating.h".
5604         * LaTeX.h: move out #include "DepTable.h".
5605         * LyXAction.h: move out #include "funcrequest.h".
5606         * buffer.h: move out #include "author.h", "iterators.h".
5607         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5608         * lyx_main.h: move out #include "errorlist.h".
5609         * lyxfunc.h: move out #include "FuncStatus.h".
5610         * lyxtext: move out #include "lyxcursor.h".
5611         * paragraph_pimpl.h: move out #include "counters.h".
5612
5613 2003-09-03  Angus Leeming  <leeming@lyx.org>
5614
5615         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5616         preamble_snippets list, enabling us to add snippets to the preamble
5617         only if the snippet was not there already.
5618
5619 2003-09-04  Angus Leeming  <leeming@lyx.org>
5620
5621         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5622
5623 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5626         update
5627
5628 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5629
5630         * BranchList.C: point fix, earlier forgotten
5631
5632 2003-09-02  Angus Leeming  <leeming@lyx.org>
5633
5634         * box.C (contains): renamed from 'contained' after a fantastic
5635         amount of hot air.
5636
5637 2003-09-02  John Levon  <levon@movementarian.org>
5638
5639         * BufferView.C:
5640         * lyxcursor.h:
5641         * lyxcursor.C:
5642         * lyxfunc.C:
5643         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5644
5645 2003-09-02  John Levon  <levon@movementarian.org>
5646
5647         * text2.C: simplification of cursorEnd(), including partial
5648         fix for bug 1376
5649
5650 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5651
5652         * buffer.C (readFile): add a space
5653
5654 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5655
5656         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5657
5658 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * buffer.C (readFile): new function, take a filename and a
5661         ParagraphList::iterator
5662         (readFile): adjust
5663         (readFile): adjust, make it private. don't use setStream, make
5664         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5665         always contain the filename.
5666
5667         * BufferView.C (insertLyXFile): simplify and make it work for
5668         gzipped files.
5669
5670 2003-08-30  John Levon  <levon@movementarian.org>
5671
5672         * Makefile.am: fix dist (from Kayvan)
5673
5674 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5675
5676         * most files: change to use const Buffer refs
5677
5678 2003-08-27  André Pönitz  <poenitz@gmx.net>
5679
5680         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5681         on top of ownerPar().
5682
5683 2003-08-27  John Levon  <levon@movementarian.org>
5684
5685         * funcrequest.C: properly initialise POD members
5686
5687 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5688
5689         * lyxtext.h (top_y): move top_y from here
5690         * text.C:
5691         * text2.C:
5692         * text3.C:
5693         * BufferView.[Ch]:
5694         * BufferView_pimpl.[Ch]: to here
5695         * frontends/screen.C:
5696         * insets/insettabular.C:
5697         * insets/insettext.C: adjust
5698         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5699
5700 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5701
5702         * BufferView.[Ch]:
5703         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5704
5705 2003-08-26  André Pönitz  <poenitz@gmx.net>
5706
5707         * paragraph_func.[Ch] (outerPar): new function
5708
5709         * paragraph.C:
5710         * paragraph_funcs.C:
5711         * paragraph_funcs.h:
5712         * paragraph_pimpl.C:
5713         * text2.C: remove Inset::par_owner
5714
5715 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5716
5717         * lyxrow_funcs.C:
5718         * lyxtext.h:
5719         * text.C:
5720         * text2.C: eliminates the needFullRow/display() stuff
5721         altogether, putting the logic in metrics/draw in the insets.
5722
5723 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5724
5725         * text2.C (redoParagraphInternal, redoParagraphs):
5726         * text.C (redoParagraph): add a call to updateRowPositions at the
5727         end of each 'metrics-like' call. Remove all others.
5728         (getRow): remove the 'y-computing' version.
5729         (getRowNearY): do not compute nor return the real y. Solve the
5730         'y < 0' problem and simplify.
5731
5732 2003-08-22  Angus Leeming  <leeming@lyx.org>
5733
5734         * *.[Ch]: clean-up of licence and author blurbs.
5735         Also move config.h out of a few .h files and into a few .C files.
5736
5737 2003-08-22  André Pönitz  <poenitz@gmx.net>
5738
5739         * lyxrow.[Ch]: add x_ and *fill_ members
5740
5741         * lyxtext.h:
5742         * text.C:
5743         * rowpainter.C:
5744         * text2.C: adjust/remove prepareToPrint() calls
5745
5746 2003-08-22  André Pönitz  <poenitz@gmx.net>
5747
5748         * lyxrow.[Ch]: add  end_ member
5749
5750         * lyxrow_funcs.C: use LyXRow::end_
5751
5752         * lyxtext.h (singleWidth): add LyXFont parameter
5753
5754         * rowpainter.C:
5755         * text2.C: adjust LyXText::singleWidth() calls
5756
5757         * text.C (redoParagraph): simplify row breaking logic
5758
5759
5760 2003-08-19  André Pönitz  <poenitz@gmx.net>
5761
5762         * funcrequest.C: initialize button_ member
5763
5764         * text3.C:
5765         * rowpainter.[Ch]: interface consolidation
5766
5767 2003-08-18  André Pönitz  <poenitz@gmx.net>
5768
5769         * BufferView.C:
5770         * BufferView_pimpl.C:
5771         * lyxfind.C:
5772         * paragraph_funcs.C:
5773         * rowpainter.C:
5774         * text3.C: remove LyXScreen::draw() and fitCursor calls
5775
5776         * BranchList.h: remove spurious semicolons
5777
5778         * MenuBackend.C: fix branchlist related crash
5779
5780 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5781
5782         * BranchList.[Ch]:
5783         * InsetList.[Ch]:
5784         * LColor.[Ch]:
5785         * LyXAction.C:
5786         * Makefile.am:
5787         * MenuBackend.[Ch]:
5788         * bufferparams.[Ch]:
5789         * factory.C:
5790         * lfuns.h:
5791         * lyxfunc.C:
5792         * text3.C: implements the 'branch inset'
5793         idea. This allows the output of various versions of a document
5794         from a single source version, selectively outputing or suppressing
5795         output of parts of the text.
5796         This implementation contains a 'branch list editor' in a separate
5797         tab of the document settings dialog. Branches are user definable
5798         and have a "display colour" to distinguish them on-screen.
5799
5800         ColorHandler was somewhat cleaned up.
5801         (1) make possible a dynamically growing LColor list by allowing
5802         the graphic context cache to grow along (vector);
5803         (2) eliminate an IMHO unnecessary step in colour allocation.
5804
5805 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5806
5807         * BufferView_pimpl.C: compile fix
5808
5809 2003-08-15  André Pönitz  <poenitz@gmx.net>
5810
5811         * rowpainter.C: remove extra metrics calls
5812
5813         * lyxtext.h: merge the two constructors into a single one,
5814           pass reference to owner's par list
5815
5816         * BufferView_pimpl.C:
5817         * text.C:
5818         * text2.C: adjust
5819
5820 2003-08-15  André Pönitz  <poenitz@gmx.net>
5821
5822         * lyxrow_funcs.[Ch]:
5823         * lyxtext.h:
5824         * paragraph.h:
5825         * paragraph_funcs.C:
5826         * rowpainter.C:
5827         * text.C:
5828         * text2.C:
5829         * text3.C:
5830         * text_funcs.C: split LyXText::rowlist_ into individual
5831         Paragraph::rows_ chunks
5832
5833         * BufferView.[Ch]:
5834         * BufferView_pimpl.[Ch]:
5835         * lyxfind.C:
5836         * lyxtext.h:
5837         * text3.C: remove toggleSelection()
5838
5839 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5840
5841         * bufferlist.C: beautify two alerts (shorter text of buttons)
5842         * buffer.C: Remove redundant ' ' from message
5843         * tabular.h:
5844         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5845         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5846         rename VALIGN_CENTER to VALIGN_MIDDLE
5847
5848 2003-08-11  André Pönitz  <poenitz@gmx.net>
5849
5850         * lyxtext.h (getPar):
5851         * text.C: new function
5852
5853 2003-08-11  André Pönitz  <poenitz@gmx.net>
5854
5855         * Makefile.am:
5856         * tracer.[Ch]: remove unneeded files
5857
5858         * InsetList.[Ch]: remove resizeInsetsLyXText()
5859
5860         * lyxtext.h:
5861         * text.C:
5862         * text2.C:
5863         * text3.C: merge insertParagraphs() and appendParagraph()
5864         remove breakAgain(), update()
5865
5866         * BufferView_pimpl.[Ch]:
5867         * bufferview_funcs.[Ch]:
5868         * lyxfunc.C:
5869         * paragraph.[Ch]:
5870         * rowpainter.C:
5871         * tabular.C: adjust after text & InsetList changes.
5872
5873 2003-08-08  André Pönitz  <poenitz@gmx.net>
5874
5875         * text.C (insertChar, backspace): replace rowlist fiddling
5876         with rebreak of full par
5877
5878         * lyxtext.h:
5879         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5880         checkParagraph, updateInset): removed
5881
5882 2003-08-07  André Pönitz  <poenitz@gmx.net>
5883
5884         * paragraph.C:
5885         * text3.C: merge some LFUN handlers, remove dead code
5886
5887 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5888
5889         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5890
5891 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5892
5893         * text2.C (DEPM): fix part of bug 1255 and 1256
5894
5895 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5896
5897         * BufferView_pimpl.C (workAreaDispatch): change to use
5898         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5899         that are no mouse related.
5900
5901 2003-08-05  André Pönitz  <poenitz@gmx.net>
5902
5903         * BufferView.[Ch]:
5904         * BufferView_pimpl.[Ch]:
5905         * bufferview_funcs.C:
5906         * text2.C:
5907         * text3.C: rip out "deep update"
5908
5909         * textcursor.[Ch] (last_sel_cursor): remove unused member
5910
5911 2003-08-04  André Pönitz  <poenitz@gmx.net>
5912
5913         * BufferView.[Ch]:
5914         * BufferView_pimpl.[Ch]:
5915         * ParagraphParameters.C:
5916         * bufferview_funcs.C:
5917         * lyx_cb.C:
5918         * lyxfind.C:
5919         * lyxfunc.C:
5920         * text.C:
5921         * text2.C:
5922         * text3.C: replace "complicated" BufferView::update(...) calls with
5923         simpler ones.
5924
5925         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5926
5927 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5928
5929         * Makefile.am (lyx_SOURCES): add paper.h
5930
5931 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5932
5933         * Makefile.am: move things around so that both lyx-qt and
5934         lyx-xforms can be built (according to --with-frontend). Then lyx
5935         is a symbolic link to lyx-[firstfrontend]
5936
5937 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5938
5939         * Always use std::endl with lyxerr
5940
5941 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5942
5943         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5944
5945 2003-08-01  André Pönitz  <poenitz@gmx.net>
5946
5947         * BufferView.[Ch]:
5948         * BufferView_pimpl.[Ch]:
5949         * lyxfunc.C:
5950         * text3.C: merge BufferView::repaint() and BufferView::update()
5951
5952 2003-08-01  José Matos  <jamatos@lyx.org>
5953
5954         * buffer.[Ch]: file_format is no longer a buffer data element.
5955
5956 2003-08-01  André Pönitz  <poenitz@gmx.net>
5957
5958         * BufferView.C:
5959         * lyxtext.h:
5960         * text.C:
5961         * text2.C: make redoParagraph more independent of current cursor
5962
5963         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5964         * text.C:
5965         * text2.C: remove unneeded members
5966
5967 2003-07-30  André Pönitz  <poenitz@gmx.net>
5968
5969         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5970
5971         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5972           create a single function...
5973
5974         * paragraph_funcs.C (moveItem): ... here.
5975
5976         * text.C:
5977           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5978
5979 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5980
5981         * LColor.[Ch]: Add comment and greyedout logical colors.
5982
5983 2003-07-30  André Pönitz  <poenitz@gmx.net>
5984
5985         * tabular.C: don't use Assert too heavily. This crashes where it
5986           shouldn't
5987
5988 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5989
5990         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5991         is disabled (bug 1232)
5992
5993 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5994
5995         * factory.C: limited 'arg' scope
5996
5997 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5998
5999         * factory.C: fixed Note submenu issues
6000
6001 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6002
6003         * factory.C: submenu for Note/Comment/Greyedout
6004
6005 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6006
6007         * lyx_main.C (LyX):
6008         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6009
6010 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6011
6012         * LaTeXFeatures.C:
6013         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6014         greyedout. Patch provided by Jürgen Spitzmüller.
6015
6016 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6017
6018         * kbmap.C (read): fix error message when reading bind files
6019
6020 2003-07-29  Angus Leeming  <leeming@lyx.org>
6021
6022         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6023         certainly does not do what it purports to do. I am doing it, and
6024         us, a favour by killing it.
6025
6026 2003-07-28  José Matos  <jamatos@lyx.org>
6027
6028         * buffer.C (readBody, do_writeFile):
6029         * paragraph.C(readParagraph): \end_document replaces \the_end.
6030
6031 2003-07-29  André Pönitz  <poenitz@gmx.net>
6032
6033         * BufferView.[Ch]:
6034         * BufferView_pimpl.[Ch]:
6035         * lyxfunc.C:
6036         * text2.C:
6037         * text3.C:
6038         * textcursor.[Ch]: remove toggleToggle & Co
6039
6040 2003-07-28  José Matos  <jamatos@fep.up.pt>
6041
6042         * buffer.C (readParagraph):
6043         * params_func (readParToken, readParagraph):
6044         * paragraph.C (write): \layout -> \begin_layout.
6045
6046 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * lyxlex_pimpl.C (setFile): clean up slightly.
6049
6050         * bufferparams.h: add compressed var
6051
6052         * buffer_funcs.C (readFile): adjust for LyXLex change
6053         (newFile): ditto + simplify
6054
6055         * buffer.C (writeFile): handle writing of compressed files
6056
6057         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6058         Check if the file is compressed and set a bufferparm if so.
6059
6060         * Makefile.am (lyx_LDADD): remove explicit -lz
6061
6062 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6063
6064         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6065         makeDocBookFile): put the real LyX version in the first line of
6066         the file
6067
6068         * version.h:
6069         * version.C.in: remove lyx_docversion
6070
6071         * tabular.C (write_attribute): add a template-based version to
6072         write enums properly
6073
6074 2003-07-28  André Pönitz  <poenitz@gmx.net>
6075
6076         * lyxtext.h:
6077         * text.C:
6078         * text2.C:
6079         * text3.C: use doubles again for x-coordinates. They are needed.
6080
6081 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * messages.C (getLocaleDir): use lyx_localedir()
6084
6085         * lyxlex_pimpl.C (setFile): compress stuff
6086
6087         * buffer.C (writeFile): add some compression stuff
6088         (do_writeFile): new func, dont call expliti close... will this
6089         breake anything?
6090
6091         * Makefile.am (lyx_LDADD): add -lz
6092
6093 2003-07-28  José Matos  <jamatos@fep.up.pt>
6094
6095         * buffer.C: increment file format.
6096         * paragraph_funcs (readParagraph, readParToken):
6097         * paragraph.C (readParagraph): add \end_layout.
6098
6099 2003-07-27  Angus Leeming  <leeming@lyx.org>
6100
6101         * Makefile.am: remove special casing for configure-time setting of
6102         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6103
6104         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6105         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6106
6107 2003-07-26  André Pönitz  <poenitz@gmx.net>
6108
6109         * paragraph_func.[Ch]:
6110         * paragraph.C (realizeFont): inline it whereever it is used
6111
6112         * rowpainter.C:
6113         * text.C:
6114         * text2.C:
6115         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6116
6117
6118 2003-07-26  André Pönitz  <poenitz@gmx.net>
6119
6120         *       lyxtext.h:
6121         * text.C:
6122         * text2.C: get rid of LyXText::need_break_row
6123
6124 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6125
6126         * toc.[Ch]: put namespace toc inside namespace lyx
6127
6128         * MenuBackend.C (expandToc2): adjust for lyx::toc
6129         (expandToc): ditto
6130
6131         * lyxfunc.C (dispatch): adjust for lyx::find
6132
6133         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6134         lyx::find instead. Reorganize a bit.
6135         (LyXReplace): rename to replace
6136         (LyXFind): rename to find
6137
6138         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6139         (dispatch): ditto
6140
6141 2003-07-26  André Pönitz  <poenitz@gmx.net>
6142
6143         * text.C (setHeightOfRow): restrict scope of temporary variable
6144
6145         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6146           code (never has been used?)
6147
6148 2003-07-27  Asger Alstrup  <alstrup@local>
6149
6150         * text.C (fill): Optimise algorithm to exploit that we can reuse
6151         the LyXFont for many characters.
6152         (setHeightOfRow): Same thing.
6153         (rowBreakPoint): Same thing.
6154
6155 2003-07-26  Asger Alstrup  <alstrup@local>
6156
6157         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6158
6159         * text.C (singleWidth): Spurious font copying in hot-spot
6160         singleWidth avoided. Reorder tests for arabic for efficiency.
6161
6162         * text.C (fill): handle empty paragraphs better.
6163
6164 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6165
6166         * ispell.C:
6167         * encoding.h: add includes
6168
6169         * lyxrc.C: remove reading of bind files
6170
6171         * lyx_main.C (init): setup bindings and menus only if we have a
6172         gui.
6173
6174         * kbmap.C (read): new method. Do the actual reading of bind
6175         files.
6176
6177         * converter.C (dvipdfm_options):
6178         * bufferparams.C:
6179         * lyxrc.C (read):
6180         (output): adapt PAPER_* enums.
6181
6182         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6183
6184         * bufferparams.h: remove paper-related enums from there
6185
6186         * paper.h: New file. A trivial header file to hold paper-related
6187         enums. It should later expand to contain many paper-related
6188         horrors access.
6189
6190         * lyxrc.C: declare extern displayTranslator
6191
6192 2003-07-27  José Matos  <jamatos@fep.up.pt>
6193
6194         * tabular.[Ch] (linuxdoc): add support for tables and figures
6195         (linuxdoc).
6196
6197 2003-07-27  José Matos  <jamatos@fep.up.pt>
6198
6199         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6200         consistency in both functions.
6201         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6202
6203 2003-07-26  Asger Alstrup  <alstrup@local>
6204
6205         * rowpainter.C (paintRows): Change algorithm to work directly on
6206         the insets rather than asking every character in the document
6207         whether its an inset.
6208
6209 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6210
6211         * buffer.C (openFileWrite): factorize some code
6212
6213 2003-07-26  Angus Leeming  <leeming@lyx.org>
6214
6215         * lyx_cb.C:
6216         * lyx_main.[Ch]: replace occurances of system_tempdir with
6217         os::getTmpDir().
6218
6219 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * rename Inset to InsetOld
6222
6223 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6224
6225         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6226         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6227         which I think is a bit clearer. EDIT is gone, since it was
6228         premature optimisation, and broken for mathed anyway.
6229         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6230         with cursor positioning in insets as well (math insets still do not
6231         work, but that's a different story anyway.) It mysteriously
6232         crashes sometimes with undo in the first paragraph, but I'm fairly
6233         confident that this is a compiler bug.
6234
6235 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * paragraph.C (Paragraph): adjust for new clone return type
6238         (operator==): ditto
6239         (copyIntoMinibuffer): ditto
6240
6241 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6242
6243         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6244         by not having a special case, and always doing a full rebreak of
6245         the document after undo.
6246
6247 2003-07-23  Angus Leeming  <leeming@lyx.org>
6248
6249         * factory.C (createInset): InsetExternal::setParams now takes a
6250         Buffer const * arg.
6251
6252 2003-07-23  Angus Leeming  <leeming@lyx.org>
6253
6254         * factory.C (createInset): changed interface to the external and
6255         graphics mailers' string2params functions.
6256
6257 2003-07-23  Angus Leeming  <leeming@lyx.org>
6258
6259         * factory.C (createInset): pass a
6260         Buffer const * parameter to InsetExternalMailer's string2params.
6261
6262 2003-07-22  John Levon  <levon@movementarian.org>
6263
6264         * Thesaurus.h: include the right aiksaurus header
6265
6266 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6267
6268         * MenuBackend.C (expand): check menu shortcuts unconditionally
6269
6270 2003-07-21  Angus Leeming  <leeming@lyx.org>
6271
6272         * factory.C (createInset): pass a
6273         buffer_path parameter to InsetGraphicsMailer's string2params.
6274
6275 2003-07-21  Angus Leeming  <leeming@lyx.org>
6276
6277         * BufferView_pimpl.C (buffer):
6278         * buffer.C (d-tor):
6279         * lyx_main.C (LyX):
6280         * lyxfunc.C (dispatch):
6281         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6282         rather than the grfx shortcut.
6283
6284 2003-07-21  André Pönitz  <poenitz@gmx.net>
6285
6286         * rowpainter.C: remove unused variables
6287
6288         * tabular_funcs.C:
6289         * tabular_funcs.h: move to tabular.C
6290         * Makefile.am: adjust
6291
6292         * tabular.[Ch]: basic optical cleaning
6293
6294         * author.h: pass references, not values
6295
6296 2003-07-18  André Pönitz  <poenitz@gmx.net>
6297
6298         * lyxtext.h:
6299         * metricsinfo.C:
6300         * metricsinfo.h:
6301         * rowpainter.C:
6302         * text.C:
6303         * text2.C:
6304         * text3.C: two-phase drawing for InsetText and InsetTabular
6305         some float -> int changes.
6306
6307 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6308
6309         * lyx_main.C: fix the fix
6310
6311 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6312
6313         * lyx_main.C: fix a crash in batch mode if no files specified
6314         * converter.C: ws
6315
6316 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6317
6318         * format.[Ch] (papersize): moved to BufferParams
6319         * converter.[Ch] (dvips_options): moved to BufferParams
6320         (dvipdfm_options): moved to anon namespace
6321         * bufferparams.[Ch]: added above functions.
6322
6323 2003-07-17  André Pönitz  <poenitz@gmx.net>
6324
6325         * lyxtext.h:
6326         * rowpainter.C:
6327         * text2.C: don't call inset->update() anymore
6328
6329         * metricsinfo.[Ch]: add convenience constructor
6330
6331 2003-07-16  André Pönitz  <poenitz@gmx.net>
6332
6333         * lyxcursor.[Ch]:
6334         * lyxfunc.[Ch]:
6335         * text.C:
6336         * text2.C: replace the LyXCursor::irow_ member with
6337          on-demand computation of the value
6338
6339 2003-07-16  John Levon  <levon@movementarian.org>
6340
6341         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6342
6343 2003-07-15  André Pönitz  <poenitz@gmx.net>
6344
6345         * text.C:
6346         * text2.C: remove no more needed refresh_row
6347
6348 2003-07-15  André Pönitz  <poenitz@gmx.net>
6349
6350         * lyxtext.h:
6351         * rowpainter.C:
6352         * text2.C:
6353         * text3.C: refresh_status tristate -> need_update bool
6354
6355 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6356
6357         * lyxtext.h (init): remove reinit argument (act as if always true)
6358         * text2.C: adjust to that
6359
6360 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6361
6362         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6363         * text3.C: use it to delete selections in some cases
6364         (bugs 441, 673, 702, 954).
6365
6366 2003-07-14  André Pönitz  <poenitz@gmx.net>
6367
6368         * rowpainter.[Ch]: reduce interface
6369
6370 2003-07-14  André Pönitz  <poenitz@gmx.net>
6371
6372         * BufferView_pimpl.C:
6373         * text2.C: adjust after removing unused BufferView * argument
6374
6375 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6376
6377         * text2.C (init): fix a crash fired on resize
6378
6379 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6380
6381         * buffer.[Ch]: added new closing signal
6382         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6383         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6384         BufferView::Pimpl via the closing the signal
6385
6386 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6387
6388         * buffer.[Ch]: take out all bv-related from buffer
6389         * BufferView.C:
6390         * BufferView_pimpl.[Ch]: connect to new signals
6391         * CutAndPaste.C: removed useless asserts
6392         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6393         * lyxvc.[Ch]:
6394         * vc-backend.[Ch]:
6395         * lyxfunc.C: moved view-related funciontality from vc here
6396         * paragraph.C: removed outdated comments
6397         * text.C: ws
6398
6399 2003-07-10  André Pönitz  <poenitz@gmx.net>
6400
6401         * BufferView_pimpl.C:
6402         * tabular.h:
6403         * tabular_funcs.C:
6404         * text.C:
6405         * text2.C: remove InsetText::InnerCache, clean up consequences
6406
6407 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6408
6409         * ispell.C: fix two typos in error messages
6410
6411 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6412
6413         * Extend Note inset to other forms of annotation like Comment
6414         and Greyedout. Right button click gives dialog.
6415
6416         Files modified or added (+):
6417
6418         * insetnote.[Ch]
6419         * FormNote.[Ch]      +
6420         * ControlNote.[Ch]   +
6421         * form_note.fd       +
6422         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6423         frontends/controllers
6424         * xforms/Dialogs.C
6425         * factory.C
6426
6427 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6428
6429         * aspell.C: add missing namespace lyx::support
6430
6431 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6432
6433         * BufferView.[Ch] (newFile): Add
6434         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6435         * LaTeX.[Ch] (message): added this signal and use it
6436         * buffer.[Ch] (busy, message): added these signals and use them
6437         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6438         * converter.C:
6439         * exporter.C:
6440         * format.C:
6441         * importer.C: use buffer signals instead of direct bv calling
6442         * lyx_cb.[Ch] (ShowMessage): removed
6443         * lyx_main.C:
6444         * lyxfunc.C:
6445         * paragraph_funcs.C:
6446         * text2.C: use buffer signals
6447
6448 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * introduce namespace lyx::graphics
6451
6452 2003-07-02  André Pönitz  <poenitz@gmx.net>
6453
6454         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6455
6456 2003-07-01  André Pönitz  <poenitz@gmx.net>
6457
6458         * text.C:
6459         * text2.C:
6460         * text3.C:
6461         * text_funcs.[Ch]:
6462         * textcursor.h:
6463         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6464           text*.C to text_func.C
6465
6466 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * introduce namespace lyx::support
6469
6470 2003-06-30  André Pönitz  <poenitz@gmx.net>
6471
6472         * Chktex.C:
6473         * funcrequest.C:
6474         * lyxtext.h:
6475         * text.C: re-enable --with-included-string
6476
6477 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6478
6479         * textcursor.C: add <config.h>
6480
6481         * text.C (getWord): remove const from word_location arg
6482
6483         * lyxvc.C (getLogFile): fix const type order
6484
6485         * lyxtext.h: remove const from word_location arg, add arg name
6486
6487         * lyxlayout.h: currect type on labeltype.
6488
6489         * importer.C: correct \file
6490
6491         * converter.C (intToFormat): use std:: on ret val, ws changes
6492
6493         * bufferlist.h: correct \file
6494
6495         * buffer.C (makeLinuxDocFile): fix const type order
6496         (makeDocBookFile): ditto
6497         (fillWithBibKeys): use std:: on stdlib args.
6498
6499         * CutAndPaste.C: fix authors.
6500         (availableSelections): use std:: on return vector
6501
6502 2003-06-27  André Pönitz  <poenitz@gmx.net>
6503
6504         * BufferView_pimpl.C:
6505         * bufferview_funcs.C:
6506         * lyxcursor.C:
6507         * lyxcursor.h:
6508         * lyxfunc.C:
6509         * lyxtext.h:
6510         * rowpainter.C:
6511         * text.C:
6512         * text2.C:
6513         * text3.C: remove LyXCursor::row_ member
6514
6515         * lyxtext.h:
6516         * text.C: rename fullRebreak() to partialRebreak() and implement
6517           a fullRebreak() that really bereks fully
6518
6519         * textcursor.h: new struct for cursor-related data
6520
6521 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6522
6523         * lyx_main.C (LyX): get full path of document loaded on the
6524         command line
6525
6526 2003-06-26  André Pönitz  <poenitz@gmx.net>
6527
6528         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6529           remove unused/broken operator>,<,>=.
6530
6531         *       text.C: remove only use of broken operator<= in an Assert().
6532
6533 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6534
6535         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6536         moved errorlist_.clear to showErrorList
6537
6538 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6539
6540         * converter.C (scanLog, runLaTeX):
6541         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6542         move the bv->showErrorList call to the callers
6543         * lyxfunc.C: i.e. here...
6544         * text2.C: and here
6545         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6546         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6547         namespace, the second to...
6548         * buffer_funcs (BufferFormat, parseErrors): added
6549         * errorlist.C (ErrorList(TeXErrors const &)): removed
6550
6551 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6552
6553         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6554
6555 2003-06-24  "Garst R. Reese" <reese@isn.net>
6556
6557         * debug.C: fix typo
6558
6559 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6560
6561         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6562
6563         * version.C.in: change docversion to 1.4
6564
6565 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6566
6567         * buffer.C: fix a bug just introduced
6568
6569 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6570
6571         * buffer.[Ch]: added the parseError signal and use it, removed
6572         sgmlError
6573         * BufferView.[Ch] (addError): moved to ...
6574         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6575         to the Buffer::parseError signal to catch (guess what) parse errors
6576         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6577
6578 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6579
6580         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6581         ability to create a buffer and to return an existing one from
6582         the list. Moved these functions to...
6583         * buffer_funcs.[Ch]: added
6584         * BufferView.[Ch] (loadLyXFile): added
6585         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6586         job removed from bufferlist::loadLyXFile.
6587         * buffer.C (setReadOnly): make it work without view
6588         (i.e added an if (users))
6589
6590 2003-06-19  Angus Leeming  <leeming@lyx.org>
6591
6592         * lfuns.h:
6593         * LyXAction.C (init):
6594         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6595         with LFUN_DIALOG_SHOW <name> <data>.
6596
6597 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6598
6599         * CutAndPaste.C (availableSelections): small compilation fix for
6600         ancient (gcc 2.9x) compilers
6601
6602 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * text3.C (cursorNext): add tmp var
6605
6606         * text2.C (updateCounters): for function calling out of for clause
6607         (replaceSelectionWithString): ditto
6608         (insertStringAsParagraphs): ditto
6609         (getColumnNearX): add tmp var
6610         (setCursorFromCoordinates): add tmp var
6611         (cursorDownParagraph): add tmp var
6612         (deleteEmptyParagraphMechanism): add tmp var
6613
6614         * text.C (insertChar): add tmp var
6615
6616         * rowpainter.C (paintDepthBar): add tmp var
6617
6618         * CutAndPaste.C (availableSelections): potentially check all
6619         paragraphs in a cut to fill the shown strings.
6620
6621 2003-06-18  André Pönitz  <poenitz@gmx.net>
6622
6623         * kbmap.[Ch]: use vector<> instead of list<>
6624
6625 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6626
6627         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6628         pasteSelection with index
6629
6630         * text2.C (pasteSelection): modify, call pasteSelection with index
6631
6632         * paragraph.C (asString): reimplement version with no interval to
6633         call the one with interval.
6634
6635         * lyxtext.h: add index arg to pasteSelection
6636
6637         * MenuBackend.C (MenuItem): handle PasteRecent
6638         (Menu::read::Menutags): add md_pasterecent
6639         (read): handle it
6640         (expandPasteRecent): new function
6641         (expand): use it
6642
6643         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6644
6645         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6646         the limited stack
6647         (availableSelections): new function
6648
6649 2003-06-17  Angus Leeming  <leeming@lyx.org>
6650
6651         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6652
6653 2003-06-17  Angus Leeming  <leeming@lyx.org>
6654
6655         * lfuns.h:
6656         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6657
6658         * lyxfunc.C (dispatch): invoke it.
6659
6660 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6661
6662         * iterators.C (operator++, ParPosition): reintroduce some
6663         const_cast for the benefit of older compilers.
6664
6665 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6666
6667         * text3.C (dispatch): do not modify clipboard when doing
6668         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6669         LFUN_DELETE_SKIP on a selection selection
6670
6671 2003-06-16  André Pönitz  <poenitz@gmx.net>
6672
6673         * BufferView.C:
6674         * buffer.C:
6675         * buffer.h:
6676         * paragraph.C:
6677         * tabular.[Ch]: IU of clone() and getLabelList();
6678
6679 2003-06-13  André Pönitz  <poenitz@gmx.net>
6680
6681         * tabular.h: compactification
6682
6683 2003-06-12  André Pönitz  <poenitz@gmx.net>
6684
6685         * tabular.C:
6686         * tabular.h:
6687         * tabular_funcs.h: some renaming plus whitespace
6688
6689 2003-06-12  André Pönitz  <poenitz@gmx.net>
6690
6691         * BufferView.C:
6692         * BufferView_pimpl.C:
6693         * CutAndPaste.C:
6694         * buffer.C:
6695         * iterators.[Ch]:
6696         * lyxfunc.C:
6697         * text.C:
6698         * toc.C: Return a Paragraph & for ParIterator::operator*()
6699
6700 2003-06-11  John Levon  <levon@movementarian.org>
6701
6702         * lyx_main.C:
6703         * ToolbarBackend.h:
6704         * ToolbarBackend.C: add "Toolbars" section and
6705         put the flags there
6706
6707 2003-06-10  Angus Leeming  <leeming@lyx.org>
6708
6709         * lfuns.h:
6710         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6711
6712         * lyxfunc.C (dispatch): invoke it.
6713
6714 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * main.C: protect <ios> with HAVE_IOS
6717         (main): protect sync_with_stdio with HAVE_IOS
6718
6719 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6720
6721         * text2.C (cutSelection): adjust
6722         (pasteSelection): adjust
6723
6724         * messages.C: handle get of empty string
6725
6726         * main.C (main): use sync_with_stdio(false)
6727
6728         * lyxfunc.C (dispatch): adjust
6729
6730         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6731         (WriteAs): remove unneeded BufferView arg.
6732
6733         * bufferparams.h: use correct types on papersize, papersize2 and
6734         paperpackage.
6735
6736         * bufferparams.C (readToken): adjust for type
6737         (writeLaTeX): add missing cases to switch.
6738
6739         * bufferlist.C (quitWriteBuffer): adjust
6740         (close): adjust
6741
6742         * buffer.C (asciiParagraph): remove some commented code.
6743
6744         * CutAndPaste.C: remove current_view extern variable.
6745         (cutSelection): add BufferParams arg.
6746         (eraseSelection): add BufferParams arg.
6747         (pasteSelection): add Buffer const & arg
6748
6749 2003-06-07  John Levon  <levon@movementarian.org>
6750
6751         * buffer.C:
6752         * paragraph_funcs.C:
6753         * paragraph_pimpl.C:
6754         * text.C:
6755         * text2.C:
6756         * paragraph.h:
6757         * paragraph.C: allow InsetERT to freely space lines,
6758         and some consolidation of code
6759
6760 2003-06-06  José Matos  <jamatos@fep.up.pt>
6761
6762         * buffer.C (makeDocBookFile): fix bug #821
6763
6764 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6765
6766         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6767
6768 2003-06-04  Angus Leeming  <leeming@lyx.org>
6769
6770         * buffer.C: bump format to 224.
6771
6772 2003-06-05  André Pönitz  <poenitz@gmx.net>
6773
6774         * text2.C (redoParagraphs): remove two const_cast<>
6775
6776 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6777
6778         * ParagraphList.h: remove last remnants of NO_STD_LIST
6779
6780 2003-06-03  Angus Leeming  <leeming@lyx.org>
6781
6782         * factory.C (createInset): small change to the way InsetExternal's params
6783         are set.
6784
6785 2003-06-04  André Pönitz  <poenitz@gmx.net>
6786
6787         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6788
6789         * paragraph_pimpl.h:
6790         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6791
6792         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6793
6794         * undo_funcs.C: make some simple cases of undo work again
6795
6796 2003-06-03  John Levon  <levon@movementarian.org>
6797
6798         * ispell.C: HPUX doesn't have sys/select.h
6799         (from Albert Chin)
6800
6801 2003-06-03  John Levon  <levon@movementarian.org>
6802
6803         * CutAndPaste.C: update tabular and include inset
6804         buffer references
6805
6806         * buffer.h:
6807         * paragraph.h:
6808         * paragraph.C: remove owningBuffer(), don't pass Buffer
6809         to clone()
6810
6811         * factory.C: insetGraphicsParams changed
6812
6813 2003-06-02  John Levon  <levon@movementarian.org>
6814
6815         * LyXAction.C:
6816         * factory.C:
6817         * lfuns.h:
6818         * lyxfunc.C:
6819         * text3.C: remove insetparent
6820
6821 2003-06-02  John Levon  <levon@movementarian.org>
6822
6823         * buffer.h:
6824         * buffer.C: fix inset_iterator.end(), move out of line
6825         (bug 1149)
6826
6827 2003-06-01  John Levon  <levon@movementarian.org>
6828
6829         * text3.C: use a proper cut/paste when doing inset
6830         insert (from Jürgen Spitzmüller)
6831
6832 2003-06-01  John Levon  <levon@movementarian.org>
6833
6834         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6835
6836 2003-05-30  André Pönitz  <poenitz@gmx.net>
6837
6838         * rowpainter.C: unify second drawing phase
6839
6840 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * trans_mgr.C: remove one case of current_view
6843
6844         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6845
6846         * paragraph_funcs.h: remove paragraph.h include
6847
6848         * paragraph.h: delete NO_STD_LIST stuff
6849
6850         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6851
6852         * buffer.h: remove paragraph.h include
6853
6854         * ParagraphList.C: delete file
6855
6856         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6857
6858         * toc.C (getTocList): adjust
6859
6860         * paragraph_pimpl.C (validate): adjust
6861
6862         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6863
6864         * paragraph.C (Paragraph): adjust
6865         (getPositionOfInset): use const_iterator, adjust
6866         (bibitem): use const_iterator, adjust
6867         (setInsetOwner): adjust
6868
6869         * iterators.C (operator++): adjust
6870
6871         * InsetList.[Ch]: Replace selfmade iterator with standard
6872         vector::iterator also introduce const_iterator. Remove getPos,
6873         getInset and setInset from InsetTable. Adjust accordingly.
6874
6875         * BufferView.C (lockInset): adjust
6876         (ChangeInsets): adjust
6877
6878         * tabular.[Ch]: delete commented same_id functions
6879
6880 2003-05-28  John Levon  <levon@movementarian.org>
6881
6882         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6883
6884 2003-05-28  André Pönitz  <poenitz@gmx.net>
6885
6886         * metricsinfo.[Ch]: remove 'fullredraw' member
6887
6888 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6889
6890         * lyxtextclass.C (operator): remove caching.
6891
6892 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * text3.C: adjust
6895
6896         * text2.C (cursorBottom): adjust
6897         (setCounter): use ParagraphList::find, adjust
6898
6899         * text.C (workWidth): use ParagraphList::find, adjust
6900
6901         * lyxcursor.C (LyXCursor): adjust
6902
6903         * buffer.C (inset_iterator): adjust
6904
6905         * ParagraphList.h: make iterator(value_type) private, make
6906         ParagraphList a friend of iterator.
6907
6908         * ParagraphList.C (find): new function
6909
6910         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6911
6912 2003-05-27  André Pönitz  <poenitz@gmx.net>
6913
6914         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6915
6916 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6917
6918         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6919
6920 2003-05-26  John Levon  <levon@movementarian.org>
6921
6922         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6923
6924 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6925
6926         * remove same_id from function signatures, adjust.
6927
6928 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6931
6932         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6933
6934         * paragraph.C (Paragraph): get rid of same_ids parameter
6935
6936         * ParagraphList.C (insert): adjust
6937         (push_back): adjust
6938
6939 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6940
6941         * paragraph_funcs.C (breakParagraph): adjust
6942         (breakParagraphConservative): adjust
6943
6944         * buffer.C (readParagraph): adjust
6945
6946         * ParagraphList.C (insert): take a reference instead of a pointer
6947         (insert): adjust
6948
6949         * paragraph.[Ch] (id): new function
6950
6951         * bufferlist.C (newFile): adjust
6952
6953         * ParagraphList.C (ParagraphList): adjust
6954         (assign): adjust
6955         (push_back): take a reference instead of a pointer.
6956
6957         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6958
6959         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6960         instead.
6961
6962         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6963         set else use old code.
6964
6965         * ParagraphList.C: remove all NO_NEXT code and only compile this
6966         code of NO_STD_LIST is set.
6967
6968 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6969
6970         * BufferView_pimpl.C:
6971         * TextCache.C:
6972         * TextCache.h:
6973         * bufferlist.C:
6974         * errorlist.h:
6975         * format.C:
6976         * format.h:
6977         * graph.C:
6978         * lyxfunc.C:
6979         * lyxrc.C:
6980         * graphics/GraphicsConverter.C:
6981         * graphics/PreviewLoader.C: header adjustment
6982
6983 2003-05-23  Angus Leeming  <leeming@lyx.org>
6984
6985         * LaTeXFeatures.[Ch] (useBabel): new method.
6986         * bufferparams.C (writeLaTeX): use it.
6987
6988 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * ParagraphList.h (set): remove unused function.
6991
6992 2003-05-23  André Pönitz  <poenitz@gmx.net>
6993
6994         * BufferView.C:
6995         * BufferView_pimpl.C:
6996         * buffer.C:
6997         * buffer.h:
6998         * lyxfunc.C:
6999         * undo_funcs.C: setUndo reworked
7000
7001         * iterators.[Ch]: add access to topmost ParagraphList
7002
7003         * lyxtext.[Ch] (workWidth): add a const
7004
7005 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7006
7007         * texrow.[Ch] (increasePos): remove function
7008         * exporter.C (export): removed unused var and outdated comment
7009
7010 2003-05-23  Angus Leeming  <leeming@lyx.org>
7011
7012         * latexrunparams.h: rename fragile as moving_arg.
7013         * paragraph.C (simpleTeXOnePar): ditto.
7014         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7015
7016 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7017
7018         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7019         (createUndo): ditto
7020         (textUndoOrRedo): comment out a currently unused var.
7021
7022         * paragraph.h (NO_NEXT): enable NO_NEXT
7023
7024         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7025
7026         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7027
7028         * exporter.C (Export): adjust for removeAutoInsets removal.
7029
7030         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7031
7032         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7033
7034         * BufferView.[Ch] (removeAutoInsets): delete function
7035
7036 2003-05-22  Angus Leeming  <leeming@lyx.org>
7037
7038         * latexrunparams.h: add a free_spacing variable.
7039
7040         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7041         to pass moving_arg, as the data is stored in runparams.fragile.
7042
7043         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7044         to Inset::latexOptional or to simpleTeXOnePar.
7045
7046         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7047         free_spacing arg to Inset::latexOptional.
7048
7049         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7050         free_spacing arg.
7051
7052 2003-05-22  Angus Leeming  <leeming@lyx.org>
7053
7054         * latexrunparams.h: add fragile and use_babel variables.
7055
7056         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7057         * buffer.C (makeLaTeXFile): store this returned value in
7058         runparams.use_babel, thus passing it to the inset::latex methods.
7059
7060         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7061         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7062
7063         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7064         longer has a fragile arg, as it is stored in runparams.fragile.
7065
7066         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7067         moving_arg parameter as the data is stored in runparams.fragile.
7068
7069         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7070         a fragile parameter as the data is stored in runparams.fragile.
7071
7072 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7073
7074         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7075
7076 2003-05-22  Angus Leeming  <leeming@lyx.org>
7077
7078         * latexrunparams.h: add a 'bool nice' which defaults to false.
7079
7080         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7081         now encapsulated within runparams.
7082
7083         * bufferlist.C (updateIncludedTeXfiles):
7084         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7085
7086 2003-05-22  Angus Leeming  <leeming@lyx.org>
7087
7088         * latexrunparams.h: new file containing struct LatexRunParams.
7089         * Makefile.am: add new file.
7090
7091         * LaTeX.[Ch] (c-tor, run):
7092         * buffer.[Ch] (makeLaTeXFile):
7093         * bufferlist.[Ch] (updateIncludedTeXfiles):
7094         * converter.C (convert, scanLog):
7095         * converter.[Ch] (runLaTeX):
7096         * exporter.C (Export):
7097         * paragraph.[Ch] (simpleTeXOnePar):
7098         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7099         * paragraph_funcs.[Ch] (latexParagraphs):
7100         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7101         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7102         pass around a LatexRunParams parameter.
7103
7104 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * paragraph.[Ch]: remove unused constructor
7107
7108         * ParagraphList.C (erase): new function, taking two iterators
7109
7110 2003-05-22  André Pönitz  <poenitz@gmx.net>
7111
7112         * undo_funcs.C: remove duplicated code
7113
7114         * iterator.[Ch]: operator=
7115
7116 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * tabular.C (SetMultiColumn): ws changes
7119
7120         * rowpainter.C (paintFirst): get rid of a ->previous
7121
7122         * lyx_cb.C (getPossibleLabel): parlist simplification
7123
7124         * BufferView.C (ChangeInsets): simplify slightly.
7125
7126 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7127
7128         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7129         * lfuns.h: new LFUN_SPACE
7130         * lyxfunc.C: protected space has a new lfun
7131         * paragraph_funcs.C: read new space insets
7132         * text3.C:
7133         * factory.C: handle new space insets
7134
7135 2003-05-22  André Pönitz  <poenitz@gmx.net>
7136
7137         * BufferView.C:
7138         * BufferView_pimpl.C:
7139         * buffer.[Ch]:
7140         * lyxfunc.C:
7141         * undo_funcs.C: return a ParIterator from getParFromID.
7142
7143         * iterators.[Ch]: add two const's
7144
7145 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * toc.C (getTocList): adjust
7148
7149         * iterators.[Ch]: rework for parlist
7150
7151         * buffer.C (par_iterator_begin): adjust
7152         (par_iterator_end): adjust
7153
7154         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7155
7156         * BufferView.C (removeAutoInsets): adjust
7157         (ChangeInsets): adjust
7158
7159 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7160
7161         * text.C (top_y): fix bug 1110
7162
7163 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7164
7165         * errorlist.[Ch]: added
7166         * buffer.C:
7167         * BufferView.[Ch]:
7168         * BufferView_pimpl.C:
7169         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7170         instead
7171
7172 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * Makefile.am: ensure that lyx is relinked upon changes to the
7175         various "convenience" libs.
7176
7177 2003-05-20  Angus Leeming  <leeming@lyx.org>
7178
7179         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7180         files are compiled in alphabetical order again.
7181
7182         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7183
7184 2003-05-19  Angus Leeming  <leeming@lyx.org>
7185
7186         * gettext.[Ch]: remove "char const * _(char const *)".
7187
7188 2003-05-19  André Pönitz  <poenitz@gmx.net>
7189
7190         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7191
7192         * Makefile.am:
7193         * BufferView.C:
7194         * DepTable.h:
7195         * LaTeXFeatures.C:
7196         * buffer.C:
7197         * lyxfont.C:
7198         * lyxlex.h:
7199         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7200
7201 2003-05-19  André Pönitz  <poenitz@gmx.net>
7202
7203         * buffer.C:
7204         * lyxlayout.[Ch]:
7205         * lyxtextclass.[Ch]:
7206         * paragraph.C:
7207         * paragraph_funcs.[Ch]:
7208         * text2.C:
7209         * text3.C: more insetenv work
7210
7211 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7212
7213         * ParagraphParameters.C (params2string): small bug fixed
7214
7215 2003-05-16  André Pönitz  <poenitz@gmx.net>
7216
7217         * debug.C:
7218         * bufferview_funcs.C: patch from Kornel Benko to prevent
7219           crash when _(...) is called twice in a statement
7220
7221 2003-05-16  André Pönitz  <poenitz@gmx.net>
7222
7223         * BufferView.C:
7224         * lyxfunc.C:
7225         * text.C:
7226         * text2.C:
7227         * text3.C:
7228         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7229
7230 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7231
7232         * lyx_main.C (init): remove spurious static_cast
7233
7234 2003-05-14  André Pönitz  <poenitz@gmx.net>
7235
7236         * BufferView.C: fix format string
7237
7238 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7239
7240         * BufferView.[Ch] (insertErrors): removed
7241         * BufferView.[Ch] (showErrorList): added
7242         * buffer.C (runChkTeX):
7243         * converter.C (scanLog): call showErrorList instead of inserterrors
7244
7245 2003-05-13  André Pönitz  <poenitz@gmx.net>
7246
7247         * BufferView_pimpl.C:
7248         * buffer.C:
7249         * bufferview_func.C:
7250         * MenuBackend.C:
7251         * lyxfunc.C:
7252         * lyxrc.C:
7253         * tex-accent.C:
7254         * text3.C:
7255         * toc.C:
7256         * tabular_funcs.h: tostr() from its own header
7257
7258         * ParagraphParameters.C:
7259         * ToolbarBackend.C:
7260         * bufferparams.C:
7261         * format.C:
7262         * lyxlex_pimpl.C:
7263         * text3.C: STRCONV()
7264
7265 2003-05-12  André Pönitz  <poenitz@gmx.net>
7266
7267         * BufferView.C:
7268         * BufferView_pimpl.C:
7269         * CutAndPaste.C:
7270         * LaTeX.C:
7271         * LaTeXFeatures.C:
7272         * ParagraphParameters.C:
7273         * buffer.C:
7274         * bufferlist.C:
7275         * bufferparams.C:
7276         * bufferview_funcs.C:
7277         * converter.C:
7278         * counters.C:
7279         * debug.C:
7280         * exporter.C:
7281         * format.C:
7282         * importer.C:
7283         * lyx_cb.C:
7284         * lyx_main.C:
7285         * lyxfont.C:
7286         * lyxfunc.C:
7287         * lyxvc.C:
7288         * paragraph.C:
7289         * paragraph_funcs.C:
7290         * tabular.C:
7291         * tabular_funcs.C:
7292         * text2.C:
7293         * text3.C:  boost::format -> bformat  all over the place
7294
7295
7296 2003-05-09  André Pönitz  <poenitz@gmx.net>
7297
7298         * LColor.[Ch]: Pimpl the #include <map> away
7299
7300 2003-05-09  John Levon  <levon@movementarian.org>
7301
7302         * bufferlist.C: never remove emergency saves
7303
7304 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7305
7306         * Makefile.am: better lib building
7307
7308 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7311         instead.
7312         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7313         (simpleTeXSpecialChars): adjust
7314         (simpleTeXSpecialChars): adjust
7315         * paragraph.C (simpleTeXOnePar): adjust
7316         * buffer.C (makeLaTeXFile): adjust
7317
7318         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7319
7320         * text2.C (changeDepth): parlist cleanup
7321         (getColumnNearX): ditto
7322
7323         * rowpainter.C (getLabelFont): parlist cleanup
7324
7325         * bufferlist.C (newFile): parlist cleanup
7326
7327         * CutAndPaste.C (eraseSelection): parlist cleanup
7328
7329         * BufferView_pimpl.C (trackChanges): parlist cleanup
7330         (dispatch): ditto
7331
7332         * BufferView.C (lockInset): parlist cleanup.
7333         (ChangeInsets): ditto
7334
7335 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7336
7337         * CutAndPaste.h: Update file header.
7338
7339         * CutAndPaste.C: Update file header.
7340         Store the parts cut out of the Document in a limited_stack.
7341         (copySelection): adjust
7342         (pasteSelection): new function, takes the index in the limited stack.
7343         (nrOfParagraphs): adjust
7344         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7345         simplify error inset insertion.
7346         (checkPastePossible): adjust
7347
7348 2003-05-06  John Levon  <levon@movementarian.org>
7349
7350         * text2.C: don't cast wrap inset to float
7351
7352 2003-05-05  André Pönitz  <poenitz@gmx.net>
7353
7354         * iterator.C:
7355         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7356
7357         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7358           few naked Paragraph *.
7359
7360 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7361
7362         * bufferparams.C: Output warning if a document with missing
7363         TeX document class is loaded
7364         * exporter.C: Disable TeX exports if the document class is missing
7365         * lyxtextclass.C:
7366         * lyxtextclass.h:
7367         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7368         isTeXClassAvailable()
7369
7370 2003-05-03  John Levon  <levon@movementarian.org>
7371
7372         * BufferView.h:
7373         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7374         explicit cursor show/hide
7375
7376         * BufferView_pimpl.h:
7377         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7378         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7379
7380         * lyxfunc.C: hide cursor before dispatching.
7381
7382         * lyx_cb.C:
7383         * lyxfind.C:
7384         * text.C:
7385         * text3.C: remove explicit cursor hides
7386
7387 2003-05-02  André Pönitz  <poenitz@gmx.net>
7388
7389         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7390
7391         * undo_funcs.C:
7392         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7393           linked lists
7394
7395         * text2.C: tiny whitespace
7396
7397 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7398
7399         * undo_funcs.C: almost only ws changes.
7400
7401         * ParagraphList.C (splice): just return if pl is empty.
7402
7403 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7404
7405         * ParagraphList.C (splice): new function.
7406
7407         * CutAndPaste.C (pasteSelection): use it
7408
7409 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7410
7411         * CutAndPaste.C (pasteSelection): remove the last next and
7412         previous from this file.
7413
7414 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7415
7416         * CutAndPaste.C (pasteSelection): more clean up, user proper
7417         ParagraphList functions for pasteing.
7418
7419         * ParagraphList.C (insert): new function, three arg insert
7420
7421 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7422
7423         * ParagraphList.C (insert): new function, three arg insert
7424
7425         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7426         not on paragraphs.
7427
7428 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7429
7430         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7431
7432 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7433
7434         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7435
7436 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7437
7438         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7439         (copySelection): clean up a bit.
7440         (pasteSelection): use make_pair
7441
7442         * ParagraphList.C (ParagraphList): implement copy constructor
7443         (operator=): implement, base on copy constructor.
7444         (assign): new func
7445
7446         * paragraph.C (erase): return a bool
7447
7448         * paragraph_pimpl.C (erasePos): remove function, move contents...
7449         (erase): ... here. Return a bool.
7450         (erase): call erase instead of erasePos.
7451
7452 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7453
7454         * ParagraphList.h: define PitPosPair
7455         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7456         ParagraphList, fix a bug on pasting multiple pars
7457         * text2.C: change interface to C&P
7458
7459 2003-04-30  André Pönitz  <poenitz@gmx.net>
7460
7461         * undo_func.C: revert part of yesterday's patch 2
7462
7463 2003-04-30  John Levon  <levon@movementarian.org>
7464
7465         * LColor.C: s/tabular/table/
7466
7467 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7468
7469         * text3.C (dispatch): do not convert iterator -> pointer
7470         * undo_funcs.C (setCursorParUndo): ditto
7471         * text_funcs.C (transposeChars): ditto
7472
7473         * text2.C (setLayout): ws changes only
7474
7475         * text.C (breakParagraph): do not convert iterator -> pointer
7476         (insertChar): ditto
7477         (acceptChange): ditto
7478         (rejectChange): ditto
7479         (changeCase): ditto
7480         (Delete): ditto
7481         (backspace): ditto
7482
7483         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7484         pointer
7485
7486 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7487
7488         * text3.C (gotoInset): YABG (yet another bad getChar)
7489
7490 2003-04-29  André Pönitz  <poenitz@gmx.net>
7491
7492         * paragraph.h: make operator= private unimplemented as long as
7493           it is unusable
7494
7495         * ParagraphList.C: whitespace
7496
7497         * paragraph.[Ch]:
7498         * paragraph_pimpl.[Ch]:
7499         * paragraph_funcs.C:
7500         * CutAndPaste.C:
7501         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7502
7503         * text2.C:
7504           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7505
7506 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7507
7508         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7509         * paragraph.[Ch] (erase):
7510         * paragraph_pimpl.[Ch] (erase): change return type and value
7511         * text2.C (cutSelection): some rework
7512
7513 2003-04-28  John Levon  <levon@movementarian.org>
7514
7515         * bufferlist.C: changes for unsaved changes dialog
7516
7517 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * bufferlist.C (newFile): set language (messages_) for new
7520         documents also.
7521
7522         * buffer.C (readFile): ws changes only.
7523
7524 2003-04-28  André Pönitz  <poenitz@gmx.net>
7525
7526         * undo_funcs.C:
7527         * lyxfunc.C:
7528         * buffer.[Ch]:
7529         * BufferView_pimpl.C:
7530         * BufferView.C: getParFromID related ParagraphList::iterator changes
7531
7532 2003-04-28  André Pönitz  <poenitz@gmx.net>
7533
7534         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7535           Changes
7536
7537 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * messages.C: remove one more localedir class variable.
7540
7541 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7542
7543         * messages.C (getLocaleDir): singleton generation function
7544         (Pimpl): use it.
7545         (Messages): add a default constructor.
7546
7547         * main.C (main): do not setup localedir here, do not call
7548         gettext_init.
7549
7550         * gettext.C (_): use it.
7551         (gettext_init): delete funciton
7552
7553 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7554
7555         * gettext.C (getLyXMessages): new singleton generating function.
7556
7557         * buffer.C (updateDocLang): adjust
7558
7559         * Makefile.am (messages.o): add target
7560         (main.o): remove target
7561
7562 2003-04-27  John Levon  <levon@movementarian.org>
7563
7564         * bufferlist.C:
7565         * lyx_cb.C:
7566         * lyxfunc.C:
7567         * lyxvc.C: specify cancel button in Alert::prompt
7568
7569 2003-04-26  John Levon  <levon@movementarian.org>
7570
7571         * text3.C:
7572         * lyxfunc.C:
7573         * lfuns.h:
7574         * LyXAction.C: add LFUN_INSET_SETTINGS
7575
7576         * lyxfunc.C: don't enable tabular-feature when there's
7577         just any locking inset
7578
7579 2003-04-26  John Levon  <levon@movementarian.org>
7580
7581         * bufferlist.C: re-add Cancel to buffer close question
7582
7583         * lyxfunc.C: fix import UI a bit
7584
7585 2003-04-25  John Levon  <levon@movementarian.org>
7586
7587         * gettext.C: remove the broken asserts for now
7588
7589 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * messages.C: make case where setlocale cannot comply work better.
7592
7593         * buffer.C (updateDocLang): new function
7594         (changeLanguage): use it
7595         (readFile): use it
7596
7597         * text2.C (setCounter): use B_ a bit.
7598
7599         * lyxlayout.C (Read): be sure to trim the label strings.
7600
7601         * messages.C (Messages): fix typo in comment
7602
7603         * buffer.C (readFile): set message_ after file is loaded.
7604         (makeDocBookFile): remove double return
7605         (changeLanguage): reset message_ upon language change.
7606         (B_): new func, use this to get translated buffer strings.
7607
7608         * main.C: add myself and Jean Marc as authors.
7609
7610 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7611
7612         * messages.[hC]: pimplify Messages, and three different pimpls to be
7613         used in different circumstances.
7614
7615         * gettext.[Ch]: change for use with new message code.
7616
7617 2003-04-24 André Pönitz <poenitz@gmx.net>
7618
7619         * factory.C: support for eqref
7620
7621 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7622
7623         * messages.[Ch]: add missing char
7624
7625         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7626
7627         * messages.[Ch]: New files
7628
7629 2003-04-18  John Levon  <levon@movementarian.org>
7630
7631         * BufferView.h:
7632         * BufferView.C:
7633         * BufferView_pimpl.C:
7634         * lfuns.h:
7635         * LyXAction.C:
7636         * lyxtext.h:
7637         * text2.C: remove layout-copy/paste (bug 778)
7638
7639 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7640
7641         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7642
7643 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7644
7645         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7646         if they succeed. Act accordingly.
7647
7648 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * text2.C (setCharFont): adjust
7651         (setCounter): adjust
7652         (insertStringAsLines): adjust
7653
7654         * text.C (leftMargin): adjust
7655         (setHeightOfRow): adjust
7656
7657         * rowpainter.C (paintFirst): adjust
7658         (paintLast): adjust
7659
7660         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7661         (outerHook): ditto
7662         (isFirstInSequence): ditto
7663         (getEndLabel): ditto
7664         (outerFont): adjust
7665
7666         * paragraph.C (getParLanguage): comment out some hard stuff.
7667
7668         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7669         (sgmlError): ditto
7670         (simpleDocBookOnePar): ditto
7671         (makeDocBookFile): use ParagraphList::iterator
7672
7673         * CutAndPaste.C (pasteSelection): adjust
7674
7675 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7676
7677         * text2.C (getFont): adjust
7678         (getLayoutFont): adjust
7679         (getLabelFont): adjust
7680
7681         * paragraph_funcs.C (TeXOnePar): adjust
7682
7683         * buffer.C (simpleLinuxDocOnePar): adjust
7684         (simpleDocBookOnePar): adjust
7685
7686         * CutAndPaste.C (pasteSelection): adjust
7687
7688         * BufferView.C (getEncoding): adjust
7689
7690         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7691
7692 2003-04-16  John Levon  <levon@movementarian.org>
7693
7694         * lyxfind.C: use parlist stuff for search/changes
7695
7696 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7697
7698         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7699
7700         * text2.C (deleteEmptyParagraphMechanism): adjust
7701
7702         * text2.[Ch] (ownerParagraph): delete func (both of them
7703
7704 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7707
7708 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * ParagraphList.C: prepare for NO_NEXT
7711
7712 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * text2.C (getFont): adjust
7715         (getLayoutFont): adjust
7716         (getLabelFont): adjust
7717
7718         * paragraph.C (getFont): adjust
7719         (getLabelFont): adjust
7720         (getLayoutFont): adjust
7721
7722         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7723
7724 2003-04-15  John Levon  <levon@movementarian.org>
7725
7726         From Angus Leeming
7727
7728         * lyx_main.C: handle Include in .ui files
7729
7730 2003-04-15  John Levon  <levon@movementarian.org>
7731
7732         * MenuBackend.C: make the doc files length shorter
7733
7734         * ToolbarBackend.h:
7735         * ToolbarBackend.C: handle toolbar placement flags,
7736         Minibuffer
7737
7738 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7739
7740         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7741         adjust
7742
7743         * paragraph_funcs.C (TeXOnePar): adjust
7744
7745         * paragraph.C (getLabelFont): add outerfont arg, adjust
7746         (getLayoutFont): ditto
7747         (simpleTeXOnePar): adjust
7748
7749         * paragraph_pimpl.C (realizeFont): delete func
7750
7751 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7752
7753         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7754         row argument, constify cur argument.
7755
7756 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * text2.C (getFont): adjust
7759         (getLayoutFont): adjust
7760         (getLabelFont): adjust
7761
7762         * paragraph_funcs.C (TeXOnePar): adjust
7763         (outerFont): new func...
7764         (realizeFont): ...moved out from here, changed this to facilitate
7765         transition
7766
7767         * paragraph.C (getFont): take outerfont as arg, adjust
7768         (simpleTeXOnePar): add outerfont arg, adjust
7769
7770         * buffer.C (simpleLinuxDocOnePar): adjust
7771         (simpleDocBookOnePar): adjust
7772
7773         * CutAndPaste.C (pasteSelection): adjust
7774
7775         * BufferView.C (getEncoding): adjust
7776
7777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7778
7779         * text2.C (setCharFont): adjust
7780         (setCounter): adjust
7781
7782         * text.C (leftMargin): adjust
7783         (setHeightOfRow): adjust
7784
7785         * rowpainter.C (paintFirst): adjust
7786         (paintLast): adjust
7787
7788         * paragraph_pimpl.C (realizeFont): adjust
7789
7790         * paragraph.C (isFirstInSequence): move from here...
7791         * paragraph_funcs.C (isFirstInSequence): ...to here
7792
7793         * paragraph.C (outerHook): move from here...
7794         * paragraph_funcs.C (outerHook): ...to here
7795
7796         * paragraph.C (depthHook): move from here...
7797         * paragraph_funcs.C (depthHook): ...to here
7798
7799         * paragraph.C (getEndLabel): move from here...
7800         * paragraph_funcs.C (getEndLabel): ...to here
7801
7802         * text2.C (realizeFont): move from here...
7803         * paragraph_funcs.C (realizeFont): ...to here
7804
7805 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7806
7807         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7808
7809 2003-04-14  Angus Leeming  <leeming@lyx.org>
7810
7811         * LColor.[Ch]: scrap LColor mathcursor.
7812
7813 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7814
7815         * lyxlex.[Ch] (text): delete function
7816         * trans.C (Load): adjust
7817         * paragraph_funcs.C (readParToken): adjust
7818
7819 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7820
7821         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7822         vector<char> instead of a char[].
7823
7824         * lyxlex_pimpl.C (getString): adjust
7825         (next): adjust
7826         (lex): use getString
7827         (eatLine): adjust
7828         (nextToken): adjust
7829
7830         * lyxlex.C (text): use pimpl_->getString()
7831         (getBool): ditto
7832         (findToken): ditto
7833
7834 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7835
7836         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7837         (makeFontEntriesLayoutSpecific): temp var for par.size()
7838         (setLayout): temp var for ownerParagraphs().end()
7839         (fullRebreak): temp var for rows().end()
7840         (selectionAsString): temp var for boost::next(startpit), realize
7841         that the while really is a regular for loop.
7842         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7843         setCursor in one place.
7844         (setParagraph): temp vr for ownerParagraphs().end()
7845         (updateCounters): make the while loop a for loop
7846         (cutSelection): temp var for ownerParagraphs().end()
7847         (updateInset): make the do {} while() a regular for loop
7848         (getCursorX): use temp vars
7849         (setCurrentFont): use temp vars
7850         (getColumnNearX): use temp vars
7851
7852 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7853
7854         * text.C (transformChar): use temp var for getChar
7855         (computeBidiTables): use temp var for row->par()
7856         (fill): move temp vars for row->par() and pit->layout() earlier in
7857         the function.
7858         (labelFill): use temp var for row->par()
7859         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7860         asc and desc, realize that pit never changes and that firstpit is
7861         just a duplicate and not needed. Exchange rit->par() with pit in a
7862         lot of places.
7863         (breakAgain): use a temp var for boost::next(rit)
7864         (breakAgainOneRow): ditto
7865         (breakParagraph): use a temp var for rows().begin()
7866         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7867         (cursorRightOneWord): use temp var for cursor.par() and
7868         cursor.pos(), remove usage of tmpcursor.
7869         (cursorLeftOneWord): use temp var for cursor.par() and
7870         cursor.pos() only set cur at end of function.
7871
7872 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7873
7874         * text.C, text2.C: exchange all usage of Paragraph::next with
7875         boost::next(ParagraphList::iterator)
7876
7877         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7878
7879         * text2.C (cursorTop): simplify implementation
7880         (cursorBottom): ditto
7881         (setParagraph): use ParagraphList::iterator
7882         (setCurrentFont): adjust
7883         (getColumnNearX): adjust
7884         (cursorRight): adjust
7885         (cursorLeft): remove usage of Paragraph::previous
7886         (cursorUpParagraph): ditto
7887         (deleteEmptyParagraphMechanism): slight cleanup
7888
7889         * text.C (isBoundary): take a Paragraph const & instead of a
7890         pointer as arg.
7891         (addressBreakPoint): ditto
7892         (leftMargin): remove usage of Paragraph::previous.
7893         (setHeightOfRow): ditto
7894         (cursorLeftOneWord): ditto
7895         (selectNextWordToSpellcheck): ditto
7896         (Delete): ditto
7897         (backspace): ditto
7898         (breakParagraph): remove one usage of Paragraph::next
7899         (redoParagraph): ditto
7900         (acceptChange): ditto
7901         (insertChar): adjust
7902         (rowBreakPoint): adjust
7903
7904         * bufferview_funcs.C (toggleAndShow): adjust
7905
7906 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7907
7908         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7909         methods to access it.
7910         * lyxtext.h:
7911         * text.C: Added updateRowPositions to compute all row positions.
7912         Make top_y and getRowNearY() to use the cached y position
7913
7914 2003-04-11  John Levon  <levon@movementarian.org>
7915
7916         * text.C (rowBreakPoint): reintroduce the labelEnd
7917         checks, code copied from the row fill stuff. Deep voodoo.
7918
7919         * text.C (fill): add a comment and debugging for the
7920         next poor soul.
7921
7922 2003-04-11  John Levon  <levon@movementarian.org>
7923
7924         * text.C: make sure fullrow insets get wrapped to the next line,
7925         even when they're in a manual label
7926
7927 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7928
7929         * text2.C (insertParagraph): make it take ParagraphList::iterator
7930         as arg.
7931         (setLayout): make it return ParagraphList::iterator
7932         (redoParagraphs): ditto
7933         (setCounter): ditto
7934         (checkParagraph): ditto
7935
7936         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7937
7938         * text2.C: adjust several funcs.
7939         (realizeFont): take a ParagraphList::iterator as arg.
7940         (getLayoutFont): ditto
7941         (getLabelFont): ditto
7942         (setCharFont): ditto
7943
7944         * text.C: adjust several funcs.
7945
7946 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7947
7948         * text.C (selectNextWordToSpellcheck): don't accidentally
7949         skip insets
7950
7951 2003-04-10  John Levon  <levon@movementarian.org>
7952
7953         * ToolbarBackend.C (getIcon): special handling for
7954         LFUN_MATH_DELIM
7955
7956 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7957
7958         * text2.C (cursorRight): a getChar assert fixed
7959
7960 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7961
7962         * text2.C (getFont): change to take a ParagraphList::iterator
7963         instead of Paragraph*
7964         Adjust several functions.
7965
7966         * text.C (transformChar): change to take a ParagraphList::iterator
7967         instead of Paragraph*
7968         (singleWidth): ditto
7969         Adjust several functions.
7970
7971         * rowpainter.C: adjust several functions
7972         * rowpainter.h:store a ParagraphList::iterator and not a
7973         Paragraph&.
7974
7975
7976 2003-04-09  John Levon  <levon@movementarian.org>
7977
7978         * lyxfunc.C:
7979         * lfuns.h:
7980         * LyXAction.h:
7981         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7982         and the "help" bits as well
7983
7984 2003-04-09  John Levon  <levon@movementarian.org>
7985
7986         * ToolbarBackend.h:
7987         * ToolbarBackend.C: allow multiple toolbars
7988
7989 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7990
7991         * undo_funcs.C (setCursorParUndo): adjust
7992
7993         * text_funcs.C (transposeChars): adjust
7994
7995         * text3.C (gotoNextInset): adjust
7996         (dispatch): adjust
7997
7998         * text2.C (setLayout): adjust
7999         (changeDepth): adjust
8000         (setFont): adjust
8001         (redoParagraphs): adjust
8002         (selectionAsString): adjust
8003         (setParagraph): adjust
8004         (insertInset): adjust
8005         (cutSelection): adjust
8006         (copySelection): adjust
8007         (pasteSelection): adjust
8008         (insertStringAsLines): adjust
8009         (updateInset): adjust
8010         (setCursor): change to take a ParagraphList::iterator parameter
8011         (setCursorIntern): change to take a ParagraphList::iterator parameter
8012         (setCurrentFont): adjust
8013         (cursorLeft): adjust
8014         (cursorRight): adjust
8015         (deleteEmptyParagraphMechanism): adjust
8016
8017         * text.C (breakParagraph): adjust
8018         (insertChar): adjust
8019         (acceptChange): adjust
8020         (rejectChange): adjust
8021         (selectNextWordToSpellcheck): adjust
8022         (changeCase): adjust
8023         (Delete): adjust
8024         (backspace): adjust
8025
8026         * lyxfind.C (SearchForward): adjust
8027         (SearchBackward): adjust
8028         (nextChange): adjust
8029
8030         * lyxcursor.C (par): adjust
8031
8032         * lyxcursor.h: store a ParagraphList::iterator instead of a
8033         Paragraph*
8034
8035         * lyx_cb.C (getPossibleLabel): adjust
8036
8037         * bufferview_funcs.C (toggleAndShow): adjust
8038
8039         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8040         (dispatch): adjust
8041
8042         * BufferView.C (removeAutoInsets): adjust
8043         (lockedInsetStoreUndo): adjust
8044
8045 2003-04-09  John Levon  <levon@movementarian.org>
8046
8047         * ToolbarBackend.C: try icon without argument
8048         if with argument fails
8049
8050 2003-04-08  John Levon  <levon@movementarian.org>
8051
8052         * ToolbarBackend.h:
8053         * ToolbarBackend.C: add getIcon(), handle tooltip,
8054         and change from "Icon" to "Item".
8055
8056 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8057
8058         * BufferView.C (lockInset): another bad getchar crunched
8059
8060 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8061
8062         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8063         again)
8064
8065 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8066
8067         * lyxfind.C (searchForward, searchBackwards): bug 782
8068
8069 2003-04-07  John Levon  <levon@movementarian.org>
8070
8071         * paragraph.C: remove dead comment
8072
8073         * text.C: remove troublesome depth-fiddling code
8074         in leftMargin() and rightMargin() (bug 1017)
8075
8076         * text.C: fix breaking of rows in nested lists
8077         (bug 1004)
8078
8079         * text2.C (updateCounters): fix up depth values
8080         (bug 1013)
8081
8082 2003-04-07  John Levon  <levon@movementarian.org>
8083
8084         * BufferView_pimpl.C: clear message when doc finishes resizing,
8085         and after a mouse event
8086
8087         * lyxfunc.C: clear message after exiting inset
8088
8089 2003-04-07  John Levon  <levon@movementarian.org>
8090
8091         * bufferview_funcs.C: show math status not outside
8092         status in the statusbar
8093
8094 2003-04-07  John Levon  <levon@movementarian.org>
8095
8096         * lyxfunc.C: note status changed after a depth change
8097
8098 2003-04-04  Angus Leeming  <leeming@lyx.org>
8099
8100         * LaTeX.h: move AuxInfo operator==, != out of line.
8101         Remove LaTeX virtual destructor; nothing derives from it.
8102         Move operator()() out of public area and rename it startscript().
8103         Change protected for private.
8104
8105 2003-04-04  Angus Leeming  <leeming@lyx.org>
8106
8107         * lyxfunc.C:
8108         * text2.C: remove unneeded #includes.
8109
8110 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8111
8112         * text2.C (dEPM): fix the heigth of the next row
8113
8114 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8115
8116         * text.C: squashed an invalid getChar requester + some ws changes
8117
8118 2003-04-03  John Levon  <levon@movementarian.org>
8119
8120         * bufferview_funcs.h:
8121         * bufferview_funcs.C:
8122         * lyxfunc.C:
8123         * lyxtext.h:
8124         * text2.C: make getStatus work for the env depth lfuns
8125
8126 2003-04-03  John Levon  <levon@movementarian.org>
8127
8128         * bufferview_funcs.h:
8129         * bufferview_funcs.C:
8130         * lyxfunc.C:
8131         * lyxtext.h:
8132         * text2.C: parlistize decDepth(), by merging it with incDepth()
8133
8134 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8135
8136         * lyxrow.h: store a ParagraphList::iterator instead of a
8137         Paragraph* and adjust other class functions to suit.
8138
8139         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8140         above.
8141
8142 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8143
8144         * text2.C (setCursor): do not anchor to cursor row for the time being
8145
8146 2003-04-02  John Levon  <levon@movementarian.org>
8147
8148         * LyXAction.C:
8149         * lfuns.h:
8150         * lyx_main.C:
8151         * lyxtext.h:
8152         * text.C:
8153         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8154
8155 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8156
8157         * paragraph.h: make ParagraphList and ParagraphList::iterator
8158         friends of Paragraph.
8159
8160         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8161
8162         * ParagraphList.C: Use the private next_ and previous_ from
8163         Paragraph.
8164
8165 2003-04-01  John Levon  <levon@movementarian.org>
8166
8167         * ToolbarBackend.h:
8168         * ToolbarBackend.C:
8169         * Makefile.am: rename, remove defaults gunk
8170
8171         * MenuBackend.h:
8172         * MenuBackend.C: remove defaults gunk
8173
8174         * Languages.h:
8175         * Languages.C: remove defaults gunk
8176
8177         * lyx_main.h:
8178         * lyx_main.C: error out if files couldn't be found.
8179
8180 2003-04-02  John Levon  <levon@movementarian.org>
8181
8182         * text2.C: make incDepth() use parlist
8183
8184 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8185
8186         * undo_funcs.C (firstUndoParagraph): adjust
8187
8188         * text3.C (gotoInset): adjust
8189         (dispatch): adjust, and rewrite loop.
8190
8191         * text2.C (init): adjust, and rewrite loop.
8192         (redoParagraphs): adjust
8193         (updateInset): adjust, and rewrite loop.
8194         (deleteEmptyParagraphMechanism): adjust
8195
8196         * tabular.C (LyXTabular): adjust
8197         (SetMultiColumn): adjust
8198         (TeXRow): adjust
8199
8200         * lyxtext.[Ch] (ownerParagraph): delete function
8201         (ownerParagraphs): new function returns a ParagraphList.
8202
8203         * BufferView.C (removeAutoInsets): adjust
8204         (insertErrors): adjust
8205         (setCursorFromRow): adjust
8206
8207 2003-04-01  Angus Leeming  <leeming@lyx.org>
8208
8209         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8210         in the frontends.
8211
8212 2003-04-02  John Levon  <levon@movementarian.org>
8213
8214         * lyxtext.h:
8215         * text.C:
8216         * Makefile.am:
8217         * text_funcs.h:
8218         * text_funcs.C: make transposeChars a free function
8219
8220         * lyxrow_funcs.C: remove wrong comment
8221
8222 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8223
8224         * lyxtext.h: adjust
8225         * rowpainter.C: adjust
8226         * text.C: adjust
8227         * text2.C: adjust
8228         * text3.C: adjust
8229
8230         * lyxrow_funcs. [Ch]: new files
8231
8232         * lyxrow.[Ch]: remove next and previous pointers
8233         (next,previous): remove accessor functions
8234         (isParEnd): move to lyxrow_funcs
8235         (lastPos): move to lyxrow_funcs
8236         (nextRowIsAllInset): move to lyxrow_funcs
8237         (lastPrintablePos): move to lyxrow_funcs
8238         (numberOfSeparators): move to lyxrow_funcs
8239         (numberOfHfills): move to lyxrow_funcs
8240         (numberOfLabelHfills): move to lyxrow_funcs
8241         (hfillExpansion): move to lyxrow_funcs
8242
8243         * lyxfunc.C: adjust
8244
8245         * bufferview_funcs.C (toggleAndShow): adjust
8246
8247         * RowList.h: Remove class RowList from file leave just a
8248         std::list<Row>.
8249
8250         * RowList.C: delete file
8251
8252         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8253         and lyxrow_funcs.h
8254
8255 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8256
8257         * text3.C (cursorPrevious): adjust
8258         (cursorNext): adjust
8259         (dispatch): adjust
8260
8261         * text2.C (redoHeightOfParagraph): adjust
8262         (redoDrawingOfParagraph): adjust
8263         (setCursor): adjust
8264
8265         * text.C (breakParagraph): adjust
8266         (insertChar): adjust
8267         (backspace): adjust
8268
8269         * rowpainter.C (RowPainter): adjust
8270         (leftMargin): simplify and adjust
8271         (most rowpainter functions): adjust.
8272
8273         * rowpainter.h: store the row as RowList::iterator not as Row*
8274
8275         * lyxcursor.C (row): taka RowList::iterator as arg
8276         (irow): ditto
8277
8278         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8279         of Row*.
8280
8281 2003-04-01  Angus Leeming  <leeming@lyx.org>
8282
8283         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8284         stuff like bool Bool.
8285
8286 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8287
8288         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8289         rewrite a loop
8290
8291 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8292
8293         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8294         RowList::iterator.
8295
8296         * lyxtext.h (rows): drop one version and leve a const variant that
8297         returns a RowList::iterator.
8298
8299 2003-03-31  Angus Leeming  <leeming@lyx.org>
8300
8301         * text.C (fill): ensure that the signature is the same as that in the
8302         header file.
8303
8304 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8305
8306         * text2.C (redoParagraphs): adjust
8307         (updateCounters): adjust
8308         (checkParagraph): adjust
8309         (getColumnNearX): adjust and reformat a bit.
8310
8311         * text.C (top_y): adjust
8312         (workWidth): adjust
8313         (leftMargin): adjust
8314         (prepareToPrint): adjust
8315         (getRow): adjust
8316         (getRowNearY): adjust
8317
8318         * lyxtext.h: make rowlist_ mutable.
8319
8320         * RowList.h: add const_iterator
8321         * RowList.C: adjust for RowList::const_iterator.
8322
8323         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8324         adjust.
8325
8326 2003-03-31  John Levon  <levon@movementarian.org>
8327
8328         * lyxrc.h:
8329         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8330
8331         * lyx_main.C: set default fonts from using lyx_gui funcs
8332
8333         * exporter.C: pdf_mode moved from lyxrc
8334
8335         * lyx_cb.C:
8336         * lyxfunc.C: changes from above
8337
8338 2003-03-31  John Levon  <levon@movementarian.org>
8339
8340         * lyx_main.C: fix to the last fix
8341
8342 2003-03-31  John Levon  <levon@movementarian.org>
8343
8344         * bufferlist.C: "Load original" -> "Load Original"
8345
8346         * converter.C:
8347         * exporter.C:
8348         * importer.C:
8349         * lyx_main.C:
8350         * format.C: more Alert cleanups
8351
8352 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8353
8354         * text2.C (removeParagraph): make it take a RowList::iterator as
8355         arg, adjust.
8356         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8357         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8358
8359         * text.C (anchor_row): make it take a RowList::iterator as arg,
8360         adjust.
8361         (computeBidiTables): make it take a const reference to Row instead
8362         of Row pointer, adjust.
8363         (leftMargin): make it take a RowList::iterator as arg, adjust.
8364         (rowBreakPoint): adjust
8365         (breakAgainOneRow): make it take a RowList::iterator as arg,
8366         adjust.
8367         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8368
8369         * bufferview_funcs.C (toggleAndShow): adjust
8370
8371 2003-03-30  John Levon  <levon@movementarian.org>
8372
8373         * Makefile.am:
8374         * BoostFormat.h:
8375         * boost-inst.C: moved to support
8376
8377         * several files: changes as a result
8378
8379 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8380
8381         * text2.C (LyXText): adjust.
8382         (init): adjust
8383         (removeRow): make it take a RowList::iterator as arg, adjust.
8384         (fullRebreak): adjust
8385         (deleteEmptyParagraphMechanism): adjust
8386         (clearPaint): adjust
8387         (postPaint): adjust
8388
8389         * text.C (top_y): adjust
8390         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8391         (breakAgain): make it take a RowList::iterator as arg, adjust.
8392         (breakParagraph): adjust
8393         (insertChar): adjust
8394         (backspace): adjust
8395
8396         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8397         need_break_row, and refresh_row.
8398
8399         * text3.C (dispatch): adjust
8400
8401         * text2.C (checkParagraph): adjust
8402         (setCursor): adjust
8403         (setCursorFromCoordinates): adjust
8404
8405         * text.C (top_y): adjust
8406         (workWidth): adjust
8407         (getRow): make it return a RowList::iterator, adjust
8408         (getRowNearY): make it return a RowList::iterator, adjust
8409
8410         * text2.C (init): adjust
8411         (insertRow): remove function
8412         (insertParagraph): adjust
8413         (redoParagraphs): adjust
8414         (fullRebreak): adjust
8415         (updateCounters): adjust
8416
8417         * text.C (top_y): rewrite to use RowList iterators.
8418         (top_y): adjust
8419         (setHeightOfRow): rewrite to sue RowList iterators.
8420         (appendParagraph): adjust
8421         (breakAgain): adjust
8422         (breakAgainOneRow): adjust
8423         (breakParagraph): adjust
8424         (getRow): adjust
8425         (getRowNearY): adjust, and remove commented code.
8426
8427         * lyxtext.h (firstRow): delete function
8428         (lastRow): delete function
8429         (rows): new function (const and non-const versions.)
8430         (insertRow): delete function
8431
8432         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8433
8434 2003-03-29  John Levon  <levon@movementarian.org>
8435
8436         * BufferView_pimpl.C: always update scrollbar top
8437         because pasting text when we're anchored could mean we
8438         miss an update altogether
8439
8440 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8441
8442         * text2.C (init): use rowlist_.end() and not 0.
8443         (insertRow): change to take a RowList::iterator as arg, adjust
8444         for this.
8445         (insertParagraph): change to take a RowList::iterator as arg,
8446         adjust for this.
8447         (redoParagraphs): remove some debug msgs.
8448
8449         * text.C (appendParagraph): change to take a RowList::iterator
8450         arg, adjust for this.
8451         (breakAgain): add an assert
8452         (breakAgainOneRow): ditto
8453
8454 2003-03-29  John Levon  <levon@movementarian.org>
8455
8456         * text2.C: do not clear selection after inc/decDepth
8457         (bug 550)
8458
8459 2003-03-29  John Levon  <levon@movementarian.org>
8460
8461         * BufferView.C:
8462         * buffer.C: fix broken strerrors according to Lars
8463
8464 2003-03-29  John Levon  <levon@movementarian.org>
8465
8466         * converters.C: more Alert cleanups
8467
8468 2003-03-29  John Levon  <levon@movementarian.org>
8469
8470         * bufferview_funcs.C: remove pointless Alert
8471
8472         * buffer.C: fix confusing error message when
8473         a template is chmoded 000
8474
8475 2003-03-29  John Levon  <levon@movementarian.org>
8476
8477         * BufferView.C:
8478         * BufferView.h:
8479         * BufferView_pimpl.C: Alert fixes
8480
8481         * Makefile.am:
8482         * tabular.C:
8483         * tabular-old.C: remove unused table compat reading
8484
8485 2003-03-29  John Levon  <levon@movementarian.org>
8486
8487         * BufferView.C:
8488         * buffer.C:
8489         * lyx_cb.h:
8490         * lyx_cb.C: more Alert cleanups
8491
8492         * lyxfunc.C: don't allow chktex if not latex document
8493
8494 2003-03-29  John Levon  <levon@movementarian.org>
8495
8496         * lyx_cb.C:
8497         * BufferView.C:
8498         * buffer.C: warnings pushed down from support/,
8499         kill err_alert
8500
8501 2003-03-29  John Levon  <levon@movementarian.org>
8502
8503         * lyxfunc.C: safety check for C-r (revert)
8504
8505 2003-03-29  John Levon  <levon@movementarian.org>
8506
8507         * bufferlist.h:
8508         * bufferlist.C: several UI fixes using Alert::prompt.
8509         Fix the pointless looping quit code. Fix stupid revert
8510         behaviour (bug 938)
8511
8512         * lyxvc.h:
8513         * lyxvc.C:
8514         * lyx_cb.C: use Alert::prompt
8515
8516         * lyx_main.C: remove a silly question
8517
8518         * lyxfunc.C: remove a couple of silly questions,
8519         use Alert::prompt
8520
8521 2003-03-28  John Levon  <levon@movementarian.org>
8522
8523         * text2.C: fix bug 974 (End on empty par)
8524
8525 2003-03-28  John Levon  <levon@movementarian.org>
8526
8527         * BufferView_pimpl.C:
8528         * LyXAction.C:
8529         * lfuns.h: remove do-nothing math greek lfuns
8530
8531 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8532
8533         * lyxgluelength.h (isValidGlueLength): add default arg on
8534         parameter 2. Remove default arg from friend in class.
8535
8536         * lyxlength.h (isValidLength): add default arg on parameter 2.
8537         Remove default arg from friend in class.
8538
8539         * text2.C (LyXText): adjust, initialize refresh_row.
8540         (init): adjust
8541         (removeRow): adjust
8542         (insertRow): adjust
8543         (insertParagraph): adjst
8544         (redoParagraphs): adjust
8545         (fullRebreak): adjust
8546         (updateCounters): adjust
8547         (deleteEmptyParagraphMechanism): first attempt at fixing a
8548         crashing bug.
8549
8550         * text.C (top_y): adjust
8551         (setHeightOfRow): adjust
8552         (getRow): adjust
8553         (getRowNearY): adjust
8554
8555         * lyxtext.h: include RowList.h
8556         (~LyXText): not needed anymore, deleted.
8557         (firstRow): modify for RowList
8558         (lastRow): new function
8559         Delete firstrow and lastrow class variables, add a Rowlist
8560         rowlist_ class variable.
8561
8562         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8563         paragraph is empty.
8564
8565         * RowList.C (insert): fix case where it == begin().
8566
8567 2003-03-26  Angus Leeming  <leeming@lyx.org>
8568
8569         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8570         the thesaurus dialog.
8571
8572 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8573
8574         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8575
8576         * RowList.[Ch]: new files
8577
8578         * ParagraphList.C (erase): handle the case where it == begin
8579         correctly.
8580
8581 2003-03-25  John Levon  <levon@movementarian.org>
8582
8583         * Makefile.am:
8584         * aspell_local.h:
8585         * aspell.C: add new aspell support
8586
8587         * lyxrc.h:
8588         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8589         have it accessible.
8590
8591 2003-03-25  Angus Leeming  <leeming@lyx.org>
8592
8593         * lfuns.h:
8594         * LyXAction.C (init): new LFUN_INSET_INSERT.
8595
8596         * BufferView_pimpl.C (dispatch): split out part of the
8597         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8598
8599         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8600         LFUN_INSET_APPLY.
8601
8602 2003-03-25  Angus Leeming  <leeming@lyx.org>
8603
8604         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8605
8606 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8607
8608         * text2.C:
8609         * text3.C: remove useless row->height(0)
8610
8611 2003-03-25  John Levon  <levon@movementarian.org>
8612
8613         * lyxtext.h:
8614         * text2.C:
8615         * text3.C: rename the refreshing stuff to better names
8616
8617 2003-03-24  John Levon  <levon@movementarian.org>
8618
8619         * BufferView_pimpl.h:
8620         * BufferView_pimpl.C: update layout choice on a mouse
8621         press/release
8622
8623 2003-03-23  John Levon  <levon@movementarian.org>
8624
8625         * Makefile.am: fix commandtags.h reference
8626
8627 2003-03-22  John Levon  <levon@movementarian.org>
8628
8629         * BufferView_pimpl.C:
8630         * lyxtext.h:
8631         * rowpainter.C:
8632         * rowpainter.h:
8633         * text.C:
8634         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8635
8636 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8637
8638         * lyxtext.h:
8639         * text.C: take the rtl methods out of line
8640
8641 2003-03-21 André Pönitz <poenitz@gmx.net>
8642
8643         * metricsinfo.[Ch]: new files containing structures to be passed around
8644         during the two-phase-drawing...
8645
8646 2003-03-21 André Pönitz <poenitz@gmx.net>
8647
8648         * lyxtextclass.C: read 'environment' tag.
8649
8650 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8651
8652         * text2.C (removeRow): fix bug 964
8653
8654 2003-03-20  John Levon  <levon@movementarian.org>
8655
8656         * rowpainter.C:
8657         * text.C:
8658         * text2.C: paint cleanups. Inset::update() dropped font
8659         parameter
8660
8661 2003-03-19  John Levon  <levon@movementarian.org>
8662
8663         * lyxfunc.C: only fitcursor/markDirty if available()
8664
8665 2003-03-19  John Levon  <levon@movementarian.org>
8666
8667         * commandtags.h: rename to ...
8668
8669         * lfuns.h: ... this, and renumber / cleanup
8670
8671 2003-03-19  John Levon  <levon@movementarian.org>
8672
8673         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8674         fit the cursor after an lfun
8675
8676         * BufferView.h:
8677         * BufferView.C:
8678         * BufferView_pimpl.h:
8679         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8680
8681         * LyXAction.C: layout-character should have ReadOnly
8682
8683         * ParagraphParameters.C:
8684         * buffer.C:
8685         * bufferview_funcs.C:
8686         * lyx_cb.C:
8687         * lyxfind.C:
8688         * lyxtext.h:
8689         * text.C:
8690         * text2.C:
8691         * text3.C:
8692         * undo_funcs.C: changes from above
8693
8694 2003-03-18  John Levon  <levon@movementarian.org>
8695
8696         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8697         remove it from update()
8698
8699         * lyxfunc.C: update layout choice after an lfun
8700
8701         * text3.C: remove extra updateLayoutChoice()s
8702
8703 2003-03-18  John Levon  <levon@movementarian.org>
8704
8705         * text.C: top_y change means full repaint, fix
8706         a drawing bug with cursor movement
8707
8708 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8709
8710         * lyxtext.h:
8711         * text.C:
8712         * text2.C: anchor row on setCursor
8713
8714 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8715
8716         * lyxtext.h: remove almost all mutable keywords
8717         * text.C:
8718         * text2.C:
8719         * text3.C: remove const keywords accordingly
8720
8721 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8722
8723         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8724         anon namespace
8725         (TeXEnvironment): ditto
8726         (TeXOnePar): ditto
8727
8728 2003-03-17  John Levon  <levon@movementarian.org>
8729
8730         * text.C (rowBreakPoint): remove attempt to fix displayed
8731         math insets inside a manual label
8732
8733 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8734
8735         * lyxtext.h: remove BufferView* as first arg from almost all class
8736         functions.
8737         * other files: adjust.
8738
8739 2003-03-17  John Levon  <levon@movementarian.org>
8740
8741         * lyxtext.h:
8742         * undo_funcs.C:
8743         * text2.C: more paint cleanups
8744
8745         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8746
8747         * rowpainter.h:
8748         * rowpainter.C: remove "smart" background painting code
8749
8750 2003-03-16  John Levon  <levon@movementarian.org>
8751
8752         * lyxtext.h:
8753         * text.C:
8754         * text2.C:
8755         * text3.C: add helper functions for setting refresh_row/y
8756
8757 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8758
8759         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8760         newline inset which *can* get inserted in the pass_thru layouts.
8761         This is primarily for literate documents.
8762
8763 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8764
8765         * buffer.C: increment LYX_FORMAT to 223
8766
8767 2003-03-14 André Pönitz <poenitz@gmx.net>
8768
8769         * textclass.h: prepare for environment handling, ws changes
8770         * lyxlayout.C: read latexheader and latexfooter tags
8771
8772 2003-03-14  John Levon  <levon@movementarian.org>
8773
8774         * text2.C: rewrite ::status() a bit
8775
8776 2003-03-13  John Levon  <levon@movementarian.org>
8777
8778         * lyxtext.h: add some docs
8779
8780 2003-03-13  John Levon  <levon@movementarian.org>
8781
8782         * lyxtext.h:
8783         * text.C:
8784         * text2.C:
8785         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8786
8787 2003-03-13  John Levon  <levon@movementarian.org>
8788
8789         * text3.C: fix appendix redrawing
8790
8791 2003-03-13  John Levon  <levon@movementarian.org>
8792
8793         * text.C (setHeightOfRow):
8794         * rowpainter.h:
8795         * rowpainter.C: make appendix mark have the text
8796           "Appendix" so the user knows what it is
8797
8798         * LColor.h:
8799         * LColor.C: s/appendixline/appendix/ from above
8800
8801 2003-03-13  John Levon  <levon@movementarian.org>
8802
8803         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8804
8805         * text.C: fix a getChar(pos) bug properly
8806
8807 2003-03-13  Angus Leeming  <leeming@lyx.org>
8808
8809         * commandtags.h:
8810         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8811         Probably only temporary. Let's see how things pan out.
8812
8813         * BufferView.C (unlockInset):
8814         * BufferView_pimpl.C (fitCursor):
8815         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8816
8817         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8818         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8819
8820         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8821         new functions that convert ParagraphParameters to and from a string.
8822
8823         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8824         BufferView::Pimpl's dispatch.
8825         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8826
8827 2003-03-13 André Pönitz <poenitz@gmx.net>
8828
8829         * lyxfunc.C:
8830         * text3.C:
8831         * factory.C: make it aware of InsetEnv
8832
8833 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8834
8835         * text2.C (setCursor): never ask for one past last
8836         (setCursor): add some debugging messages.
8837
8838         * text.C (singleWidth): never ask for one past last
8839         (singleWidth): ditto
8840         (leftMargin): ditto
8841         (rightMargin): ditto
8842         (rowBreakPoint): ditto
8843         (setHeightOfRow): ditto
8844         (prepareToPrint): ditto
8845
8846         * rowpainter.C (paintBackground): never ask for one past last
8847         (paintText): never ask for one past last
8848
8849         * paragraph_pimpl.C (getChar): make the assert stricter, never
8850         allow the one past last pos to be taken
8851
8852         * paragraph.C (getChar): ws changes only
8853
8854         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8855         (numberOfSeparators): ditto
8856         (numberOfHfills): ditto
8857
8858 2003-03-12  John Levon  <levon@movementarian.org>
8859
8860         * author.h:
8861         * author.C:
8862         * bufferparams.h:
8863         * bufferparams.C:
8864         * paragraph_funcs.C: fix per-buffer authorlists
8865
8866 2003-03-12  John Levon  <levon@movementarian.org>
8867
8868         * text.C: fix newline in right address
8869
8870 2003-03-12  Angus Leeming  <leeming@lyx.org>
8871
8872         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8873         duplicate those in LyXFunc::dispatch.
8874
8875         * commandtags.h:
8876         * LyXAction.C:
8877         * ToolbarDefaults.C:
8878         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8879         Add LFUN_FONTFREE_UPDATE.
8880
8881         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8882         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8883
8884         * bufferview_func.[Ch]: several new functions to facilliate
8885         transfer of data to and from the character dialog.
8886
8887 2003-03-12  John Levon  <levon@movementarian.org>
8888
8889         * buffer.C:
8890         * paragraph.h:
8891         * paragraph.C:
8892         * paragraph_funcs.C:
8893         * paragraph_pimpl.C:
8894         * sgml.C:
8895         * tabular.C:
8896         * text.C:
8897         * text3.C: remove META_NEWLINE in favour of an inset
8898
8899         * rowpainter.h:
8900         * rowpainter.C: remove paintNewline (done by inset)
8901
8902 2003-03-12  John Levon  <levon@movementarian.org>
8903
8904         * paragraph_pimpl.C: complain about bad getChar()s
8905         for a while at least
8906
8907 2003-03-12  John Levon  <levon@movementarian.org>
8908
8909         * buffer.h:
8910         * buffer.C: move paragraph read into a separate function,
8911         a little renaming to reflect that.
8912
8913         * bufferparams.h:
8914         * bufferparams.C: remove the author_ids map, not necessary now
8915
8916         * factory.h:
8917         * factory.C: moved Buffer::readInset to here
8918
8919         * paragraph_funcs.h:
8920         * paragraph_funcs.C: readParagraph free function moved from
8921         buffer.C
8922
8923         * tabular.C: name change
8924
8925 2003-03-12  John Levon  <levon@movementarian.org>
8926
8927         * buffer.C:
8928         * ParagraphParameters.C: move par params input to
8929         a read() method
8930
8931         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8932         behave like a normal read from the stream wrt reading
8933         a line vs. a \\token
8934
8935 2003-03-12  John Levon  <levon@movementarian.org>
8936
8937         * paragraph.C:
8938         * ParagraphParameters.h:
8939         * ParagraphParameters.C: move output code to a
8940         ::write() method
8941
8942 2003-03-12  John Levon  <levon@movementarian.org>
8943
8944         * BufferView.C (insertLyXFile):
8945         * buffer.h:
8946         * buffer.C:
8947         * tabular.C: use a parlist iterator for creating the
8948           document.
8949
8950 2003-03-12  John Levon  <levon@movementarian.org>
8951
8952         * buffer.C: make current_change static local not
8953           static file-scope
8954
8955 2003-03-12  John Levon  <levon@movementarian.org>
8956
8957         * buffer.C: fix insertStringAsLines for change tracking
8958
8959 2003-03-12  John Levon  <levon@movementarian.org>
8960
8961         * BufferView.C:
8962         * tabular.C:
8963         * buffer.h:
8964         * buffer.C:
8965         * bufferparams.h:
8966         * bufferparams.C: move author list into params. Rename some
8967           functions. Move the header reading into a separate token
8968           loop. Move the header token reading into BufferParams.
8969
8970 2003-03-12  John Levon  <levon@movementarian.org>
8971
8972         * changes.C: put debug inside lyxerr.debugging() checks
8973
8974 2003-03-11 André Pönitz <poenitz@gmx.net>
8975
8976         * factory.C: make it aware of InsetHFill
8977
8978 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8979
8980         * buffer.C (latexParagraphs): move function from here...
8981         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8982         args.
8983
8984 2003-03-10  Angus Leeming  <leeming@lyx.org>
8985
8986         * LyXAction.C (init): fix bug in poplating array with multiple entries
8987         with the same LFUN (spotted by JMarc).
8988
8989 2003-03-10  John Levon  <levon@movementarian.org>
8990
8991         * text.C:
8992         * text2.C: move getColumnNearX() near its
8993         only call site
8994
8995 2003-03-10  John Levon  <levon@movementarian.org>
8996
8997         * text.C: fix break before a minipage
8998
8999 2003-03-10  John Levon  <levon@movementarian.org>
9000
9001         * text.C: fix the last commit
9002
9003 2003-03-09  John Levon  <levon@movementarian.org>
9004
9005         * lyxtext.h:
9006         * text.C:
9007         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9008         bug 365 (don't break before insets unless needed). Don't
9009         return a value > last under any circumstances.
9010
9011 2003-03-09  Angus Leeming  <leeming@lyx.org>
9012
9013         * BufferView_pimpl.C (trackChanges, dispatch): call
9014         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9015
9016 2003-03-09  Angus Leeming  <leeming@lyx.org>
9017
9018         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9019         than Dialogs::showAboutlyx().
9020
9021 2003-03-09  Angus Leeming  <leeming@lyx.org>
9022
9023         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9024         than Dialogs::showTabularCreate().
9025
9026 2003-03-09  John Levon  <levon@movementarian.org>
9027
9028         * lyxtext.h:
9029         * text.C:
9030         * text2.C: 3rd arg to nextBreakPoint was always the same.
9031           Use references.
9032
9033 2003-03-08  John Levon  <levon@movementarian.org>
9034
9035         * lyxrow.C:
9036         * paragraph.C:
9037         * paragraph.h:
9038         * rowpainter.C:
9039         * text.C:
9040         * text2.C: Remove the "main" bit from the "main body"
9041           notion.
9042
9043 2003-03-08  John Levon  <levon@movementarian.org>
9044
9045         * text.C (leftMargin): The left margin of an empty
9046         manual label paragraph should not include the label width
9047         string length.
9048
9049         * text.C (prepareToPrint): don't attempt to measure hfills
9050         for empty manual label paragraphs - the answer should be 0
9051
9052 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9053
9054         * CutAndPaste.C: remove commented code and reindent.
9055
9056 2003-03-08  John Levon  <levon@movementarian.org>
9057
9058         * lyxfunc.h:
9059         * lyxfunc.C: move reloadBuffer()
9060
9061         * BufferView.h:
9062         * BufferView.C: to here
9063
9064         * lyxvc.C: add comment
9065
9066         * vc-backend.h:
9067         * vc-backend.C: call bv->reload() to avoid
9068           getStatus() check on MENURELOAD
9069
9070 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9071
9072         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9073         to an old format .dep file.
9074
9075 2003-03-07  Angus Leeming  <leeming@lyx.org>
9076
9077         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9078         when the LFUN_MOUSE_RELEASE should have been handled by
9079         inset->localDispatch.
9080
9081 2003-03-07  Angus Leeming  <leeming@lyx.org>
9082
9083         * BufferView_pimpl.C (dispatch):
9084         * LyXAction.C (init):
9085         * ToolbarDefaults.C (init):
9086         * commandtags.h:
9087         * lyxfunc.C (getStatus):
9088         remove LFUN_INSET_GRAPHICS.
9089
9090         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9091
9092 2003-03-07  Angus Leeming  <leeming@lyx.org>
9093
9094         * commandtags.h:
9095         * LyXAction.C (init):
9096         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9097
9098         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9099
9100         * commandtags.h:
9101         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9102
9103         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9104         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9105
9106 2003-03-07  Angus Leeming  <leeming@lyx.org>
9107
9108         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9109         remove "ert".
9110
9111 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9112
9113         * ParagraphList.C (front): new function
9114         (back): implement
9115
9116 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9117
9118         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9119         and top_row_offset_. removed var first_y.
9120         * text.C (top_y):
9121         * text2.C (LyXText, removeRow):
9122         * text3.C:
9123         * BufferView_pimpl.C:
9124         use these methods instead of using first_y
9125
9126 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9127
9128         * text2.C (pasteSelection): adjust for checkPastePossible
9129
9130         * CutAndPaste.C: remove Paragraph * buf and replace with
9131         ParagraphList paragraphs.
9132         (DeleteBuffer): delete
9133         (cutSelection): change the tc type to textclass_type
9134         (copySelection): change the tc type to textclass_type
9135         (copySelection): adjust for ParagraphList
9136         (pasteSelection): change the tc type to textclass_type
9137         (pasteSelection): adjust for Paragraphlist
9138         (nrOfParagraphs): simplify for ParagraphList
9139         (checkPastePossible): simplify for ParagraphList
9140         (checkPastePossible): remove unused arg
9141
9142         * ParagraphList.C (insert): handle the case where there are no
9143         paragraphs yet.
9144
9145         * CutAndPaste.h: make CutAndPaste a namespace.
9146
9147         * text3.C (dispatch): adjust
9148
9149         * text.C (breakParagraph): add a ParagraphList as arg
9150
9151         * paragraph_funcs.C (breakParagraph): change to take a
9152         BufferParams and a ParagraphList as args.
9153         (breakParagraphConservative): ditto
9154         (mergeParagraph): ditto
9155         (TeXDeeper): add a ParagraphList arg
9156         (TeXEnvironment): ditto
9157         (TeXOnePar): ditto
9158
9159         * buffer.C (readLyXformat2): adjust
9160         (insertStringAsLines): adjust
9161         (latexParagraphs): adjust
9162
9163         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9164         (cutSelection): adjust
9165         (pasteSelection): adjust
9166
9167         * BufferView_pimpl.C (insertInset): adjust
9168
9169 2003-03-05  Angus Leeming  <leeming@lyx.org>
9170
9171         * commandtags.h:
9172         * LyXAction.C (init):
9173         * BufferView_pimpl.C (dispatch):
9174         * lyxfunc.C (getStatus):
9175         remove LFUN_CHILD_INSERT.
9176
9177         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9178
9179 2003-03-05  Angus Leeming  <leeming@lyx.org>
9180
9181         * commandtags.h:
9182         * LyXAction.C (init):
9183         * src/factory.C (createInset):
9184         * lyxfunc.C (getStatus):
9185         * text3.C (dispatch):
9186         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9187
9188         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9189
9190 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9191
9192         * ParagraphList.C (insert): handle insert right before end()
9193         (erase): fix cases where it can be first or last paragraph.
9194
9195 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9196
9197         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9198         Paragraph::next and Paragraph::previous
9199         (TeXOnePar): ditto
9200
9201         * text.C (breakParagraph): adjust
9202
9203         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9204         BufferParams& as arg.
9205         (breakParagraph): use ParagraphList::insert
9206         (breakParagraphConservative): take a Buffer* instead of a
9207         BufferParams& as arg.
9208         (breakParagraphConservative): use ParagraphList::insert.
9209
9210         * buffer.C (insertStringAsLines): un-const it
9211         (insertStringAsLines): adjust
9212
9213         * ParagraphList.C (insert): new function
9214
9215         * CutAndPaste.C (pasteSelection): adjust
9216
9217         * text.C (backspace): adjust
9218
9219         * tabular.C (SetMultiColumn): adjust
9220
9221         * CutAndPaste.C (cutSelection): adjust
9222         (pasteSelection): adjust
9223
9224         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9225         Buffer const * as arg
9226
9227         * ParagraphList.C (erase): new function
9228         * paragraph_funcs.C (mergeParagraph): use it
9229         (mergeParagraph): make it take a Buffer* instead of a
9230         BufferParams* as arg
9231
9232         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9233         as arg
9234         (breakParagraphConservative): ditto
9235
9236         * paragraph.h: remove the breakParagraph friend
9237
9238         * paragraph.C (eraseIntern): new function
9239         (setChange): new function
9240
9241         * paragraph_funcs.C (mergeParagraph): make it take a
9242         ParagraphList::iterator instead of a Paragraph *, adjust
9243         accordingly.
9244
9245         * paragraph.h: move an #endif so that the change tracking stuff
9246         also works in the NO_NEXT case.
9247
9248 2003-03-04  Angus Leeming  <leeming@lyx.org>
9249
9250         * commandtags.h:
9251         * LyXAction.C: new LFUN_INSET_MODIFY.
9252
9253         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9254         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9255
9256 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9257
9258         * several files: ws changes only
9259
9260         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9261         (TeXEnvironment): ditto
9262         (TeXDeeper): ditto
9263
9264         * buffer.C (makeLaTeXFile): adjust
9265         (latexParagraphs): make it take ParagraphList::iterator as args
9266
9267 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9268
9269         * buffer.C (latexParagraphs): adjust
9270
9271         * paragraph.C (TeXOnePar): move function...
9272         (optArgInset): move function...
9273         (TeXEnvironment): move function...
9274         * paragraph_pimpl.C (TeXDeeper): move function...
9275         * paragraph_funcs.C: ...here
9276
9277         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9278
9279 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9280
9281         * buffer.C (readInset): remove compability code for old Figure and
9282         InsetInfo insets
9283
9284 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9285
9286         * buffer.C: ws changes
9287         (readInset):
9288
9289         * BufferView_pimpl.C: ditto
9290         * author.C: ditto
9291         * buffer.h: ditto
9292         * bufferlist.h: ditto
9293         * changes.h: ditto
9294         * lyxfunc.C: ditto
9295
9296 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9297
9298         * converter.[Ch]: split into itself +
9299         * graph.[Ch]
9300         * format.[Ch]
9301         * Makefile.am: += graph.[Ch] + format.[Ch]
9302         * MenuBackend.C
9303         * buffer.C
9304         * exporter.C
9305         * importer.C
9306         * lyx_main.C
9307         * lyxfunc.C
9308         * lyxrc.C: added #include "format.h"
9309
9310 2003-02-27  Angus Leeming  <leeming@lyx.org>
9311
9312         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9313           a label.
9314
9315         * factory.C (createInset): add "label" to the factory.
9316
9317         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9318           string and do no more.
9319
9320 2003-02-27  Angus Leeming  <leeming@lyx.org>
9321
9322         * commandtags.h:
9323         * LyXAction.C (init):
9324         * factory.C (createInset):
9325         * BufferView_pimpl.C (dispatch):
9326           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9327
9328         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9329
9330         * lyxfunc.C (dispatch):
9331         * text3.C (dispatch): pass name to params2string.
9332
9333 2003-02-26  Angus Leeming  <leeming@lyx.org>
9334
9335         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9336           blocks together.
9337           Rearrange the ~includes. Strip out the unnecessary ones.
9338
9339         * factory.C (createInset): reformat.
9340           create new insets for the various LFUN_XYZ_APPLY lfuns.
9341
9342 2003-02-26  John Levon  <levon@movementarian.org>
9343
9344         * lyxrow.h:
9345         * lyxrow.C: add isParStart,isParEnd helpers
9346
9347         * paragraph.h: make isInserted/DeletedText take refs
9348
9349         * paragraph_funcs.h:
9350         * paragraph_funcs.C: remove #if 0'd code
9351
9352         * lyxtext.h:
9353         * text3.C:
9354         * text2.C:
9355         * text.C: use lyxrow helpers above.
9356           Move draw and paint routines to RowPainter.
9357           Make several methods use refs not pointers.
9358           Make backgroundColor() const.
9359           Add markChangeInDraw(), isInInset().
9360           Merge changeRegionCase into changeCase.
9361           Make workWidth() shouldn't-happen code into an Assert.
9362
9363         * rowpainter.h:
9364         * rowpainter.C: new class for painting a row.
9365
9366         * vspace.h:
9367         * vspace.C: make inPixels take a ref
9368
9369 2003-02-26  Angus Leeming  <leeming@lyx.org>
9370
9371         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9372         LFUN_REF_APPLY.
9373
9374 2003-02-25  John Levon  <levon@movementarian.org>
9375
9376         * ispell.C: give the forked command a more accurate name
9377
9378 2003-02-22  John Levon  <levon@movementarian.org>
9379
9380         * toc.h:
9381         * toc.C: make TocItem store an id not a Paragraph *
9382           (bug #913)
9383
9384 2003-02-21  Angus Leeming  <leeming@lyx.org>
9385
9386         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9387           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9388           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9389           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9390           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9391           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9392
9393         * BufferView_pimpl.C (dispatch):
9394         * LyXAction.C (init):
9395         * factory.C (createInset):
9396         * lyxfunc.C (getStatus, dispatch):
9397         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9398
9399 2003-02-21  Angus Leeming  <leeming@lyx.org>
9400
9401         * BufferView_pimpl.C (MenuInsertLyXFile):
9402         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9403         * lyxfunc.C (menuNew, open, doImport):
9404           no longer pass a LyXView & to fileDlg.
9405
9406 2003-02-21  Angus Leeming  <leeming@lyx.org>
9407
9408         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9409         * LyXAction.C: change, BIBKEY to BIBITEM.
9410         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9411         Change InsetBibKey to InsetBibitem.
9412         Change BIBKEY_CODE to BIBITEM_CODE.
9413         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9414         * factory.C: replace insetbib.h with insetbibitem.h.
9415         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9416         * paragraph.C: replace insetbib.h with insetbibitem.h.
9417         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9418         Change bibkey() to bibitem().
9419         * text.C: remove insetbib.h.
9420         * text2.C: replace insetbib.h with insetbibitem.h.
9421         change bibkey() to bibitem().
9422         * text3.C: remove insetbib.h.
9423         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9424
9425 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9426
9427         * lyxrc.C (output): enclose user email in quotes (in case there are
9428         several words)
9429
9430 2003-02-18  John Levon  <levon@movementarian.org>
9431
9432         * buffer.h: add std::
9433
9434 2003-02-17  John Levon  <levon@movementarian.org>
9435
9436         * SpellBase.h:
9437         * ispell.h:
9438         * ispell.C:
9439         * pspell.h:
9440         * pspell.C: reworking. Especially in ispell, a large
9441           number of clean ups and bug fixes.
9442
9443         * lyxfunc.C: fix revert to behave sensibly
9444
9445 2003-02-17 André Pönitz <poenitz@gmx.net>
9446
9447         * LyXAction.C:
9448         * commandtags.h: new LFUN_INSERT_BIBKEY
9449
9450         * layout.h:
9451         * lyxlayout.C:
9452         * buffer.C:
9453         * factory.C:
9454         * text.C:
9455         * text2.C:
9456         * text3.C:
9457         * paragraph.[Ch]:
9458         * paragraph_func.C: remove special bibkey handling
9459
9460 2003-02-17  John Levon  <levon@movementarian.org>
9461
9462         * text.C (Delete): fix case where delete at the end of
9463           the very first paragraph would not merge the pars
9464
9465 2003-02-17  John Levon  <levon@movementarian.org>
9466
9467         * lyxrow.C: fix lastPrintablePos()
9468
9469 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9470
9471         * bufferparams.C (writeLaTeX): add a std:here
9472
9473         * buffer.C: and remove a using directive there
9474
9475 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9476
9477         * buffer.C (makeLaTeXFile): move the code that generates the
9478           preamble...
9479
9480         * bufferparams.C (writeLaTeX): ... in this new method
9481
9482         * LaTeXFeatures.C (getEncodingSet): make const
9483           (getLanguages): make const
9484
9485         * MenuBackend.C (binding): returns the binding associated to this
9486           action
9487           (add): sets the status of each item by calling getStatus. Adds
9488           some intelligence.
9489           (read): add support for OptSubMenu
9490           (expand): remove extra separator at the end of expanded menu
9491
9492 2003-02-15  John Levon  <levon@movementarian.org>
9493
9494         * BufferView.C:
9495         * BufferView_pimpl.C:
9496         * bufferlist.h:
9497         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9498           inset code that had no actual effect. Remove unneeded status
9499           code.
9500
9501 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9502
9503         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9504           in preamble
9505
9506 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9507
9508         * text.C (drawLengthMarker): also draw an arrow marker for
9509           symbolic lengths (medskip...)
9510
9511 2003-02-14  John Levon  <levon@movementarian.org>
9512
9513         * tabular.h:
9514         * tabular.C: better method names
9515
9516 2003-02-14  John Levon  <levon@movementarian.org>
9517
9518         * BufferView_pimpl.C:
9519         * bufferlist.C:
9520         * buffer.C:
9521         * converter.C:
9522         * lyx_cb.C:
9523         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9524           it's a more accurate name. Remove some pointless uses.
9525
9526 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9527
9528         * text2.C (LyXText): change order of initilizers to shut off
9529           warnings
9530
9531 2003-02-14  John Levon  <levon@movementarian.org>
9532
9533         * buffer.C: use ParIterator for getParFromID()
9534
9535         * paragraph.h:
9536         * paragraph.C:
9537         * paragraph_pimpl.h:
9538         * paragraph_pimpl.C: remove unused getParFromID()
9539
9540 2003-02-14  John Levon  <levon@movementarian.org>
9541
9542         * buffer.C: remove some very old #if 0'd parse code
9543
9544 2003-02-13  John Levon  <levon@movementarian.org>
9545
9546         * text.h:
9547         * text.C:
9548         * text2.C: move hfillExpansion(), numberOfSeparators(),
9549           rowLast(), rowLastPrintable(), numberofHfills(),
9550           numberOfLabelHfills() ...
9551
9552         * lyxrow.h:
9553         * lyxrow.C: ... to member functions here.
9554
9555         * paragraph.h:
9556         * paragraph.C:
9557         * lyxtext.h:
9558         * text.C: remove LyXText::beginningOfMainBody(), and call
9559           p->beginningOfMainBody() directly. Move the check for
9560           LABEL_MANUAL into the latter.
9561
9562         * text.h:
9563         * text.C:
9564         * text2.C:
9565         * vspace.C:
9566         * BufferView.h:
9567         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9568
9569         * text.h:
9570         * text.C:
9571         * text2.C:
9572         * text3.C:
9573         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9574           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9575
9576 2003-02-13  John Levon  <levon@movementarian.org>
9577
9578         * CutAndPaste.C: remove debug
9579
9580 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9581
9582         * paragraph.C (asString): remove two unused variables
9583
9584         * lyxtextclass.C (readTitleType):
9585           (Read):
9586           (LyXTextClass): handle new members titletype_ and titlename_
9587
9588         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9589
9590 2003-02-09  John Levon  <levon@movementarian.org>
9591
9592         * buffer.h:
9593         * buffer.C: replace hand-coded list with a map for the dep clean
9594
9595 2003-02-08  John Levon  <levon@movementarian.org>
9596
9597         * LaTeX.C: consolidate code into showRunMessage() helper
9598
9599 2003-02-08  John Levon  <levon@movementarian.org>
9600
9601         * lyxfind.C:
9602         * lyxtext.h:
9603         * text2.C:
9604         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9605           and pass the size in explicitly
9606
9607         * BufferView_pimpl.h:
9608         * BufferView_pimpl.C:
9609         * BufferView.h:
9610         * BufferView.C: add getCurrentChange()
9611
9612         * BufferView_pimpl.h:
9613         * BufferView_pimpl.C: handle change lfuns
9614
9615         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9616           for changes. Mark pasted paragraphs as new.
9617
9618         * support/lyxtime.h:
9619         * support/lyxtime.C:
9620         * DepTable.C: abstract time_t as lyx::time_type
9621
9622         * LColor.h:
9623         * LColor.C: add colours for new text, deleted text, changebars
9624
9625         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9626           package use "usenames" option.
9627
9628         * commandtags.h:
9629         * lyxfunc.C:
9630         * LyXAction.C: add change lfuns
9631
9632         * Makefile.am:
9633         * author.h:
9634         * author.C: author handling
9635
9636         * buffer.h:
9637         * buffer.C: add a per-buffer author list, with first entry as
9638           current author. Handle new .lyx tokens for change tracking. Output
9639           author list to .lyx file. Output dvipost stuff to .tex preamble.
9640           Bump lyx format to 222.
9641
9642         * bufferlist.h:
9643         * bufferlist.C: add setCurrentAuthor() to reset current author details
9644           in all buffers.
9645
9646         * bufferparams.h:
9647         * bufferparams.C: add param for tracking
9648
9649         * bufferview_funcs.C: output change info in minibuffer
9650
9651         * Makefile.am:
9652         * changes.h:
9653         * changes.C: add change-tracking structure
9654
9655         * debug.h:
9656         * debug.C: add CHANGES debug flag
9657
9658         * lyxfind.h:
9659         * lyxfind.C: add code for finding the next change piece
9660
9661         * lyxrc.h:
9662         * lyxrc.C: add user_name and user_email
9663
9664         * lyxrow.h:
9665         * lyxrow.C: add a metric for the top of the text line
9666
9667         * lyxtext.h:
9668         * text.C: implement accept/rejectChange()
9669
9670         * lyxtext.h:
9671         * text.C: paint changebars. Paint new/deleted text in the chosen
9672         colours. Strike through deleted text.
9673
9674         * paragraph.h:
9675         * paragraph.C:
9676         * paragraph_pimpl.h:
9677         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9678           in the current change to the insert functions. Rework erase to
9679           mark text as deleted, adding an eraseIntern() and a range-based
9680           erase(). Implement per-paragraph change lookup and
9681           accept/reject.
9682
9683         * paragraph_funcs.C: Fixup paste for change tracking.
9684
9685         * tabular.C: mark added row/columns as new.
9686
9687         * text.C: fix rowLast() to never return -1. Don't allow
9688           spellchecking of deleted text. Track transpose changes. Don't
9689           allow paragraph break or merge where appropriate.
9690
9691         * text2.C: leave cursor at end of selection after a cut.
9692
9693 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9694
9695         * text.C (getLengthMarkerHeight):
9696         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9697         visible on screen too.
9698
9699 2003-02-07  John Levon  <levon@movementarian.org>
9700
9701         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9702
9703 2003-02-05  Angus Leeming  <leeming@lyx.org>
9704
9705         * lyxserver.C (read_ready): revert my patch of 11 September last year
9706         as it sends PC cpu through the roof. Presumably this means that
9707         the lyxserver will no longer run on an Alpha...
9708
9709 2003-01-30  Angus Leeming  <leeming@lyx.org>
9710
9711         * factory.C (createInset): create an InsetCommandParam of type "index"
9712         and use it to 'do the right thing'.
9713
9714         * text2.C (getStringToIndex): ensure that cursor position is always
9715         reset to the reset_cursor position.
9716
9717 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9718
9719         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9720         disabled.
9721
9722 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9723
9724         * bufferview.C:
9725         * lyxcb.C:
9726         * lyxfunc.C: Output messages with identical spelling, punctuation,
9727         and spaces
9728
9729 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9730
9731         * MenuBackend.C (expandFormats): List only viewable export formats
9732         in "View" menu
9733
9734         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9735         message
9736
9737         * lyxfunc.C (getStatus): Make sure that formats other than
9738         "fax" can also be disabled
9739
9740 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9741
9742         * text3.C (dispatch): put the lfuns that insert insets in 3
9743         groups, and call doInsertInset with appropriate arguments.
9744         (doInsertInset): new function, that creates an inset and inserts
9745         it according to some boolean parameters.
9746
9747 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9748
9749         * buffer.C (readFile): remember to pass on 'par' when calling
9750         readFile recursively.
9751
9752 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9753
9754         * MenuBackend.C (expandFormats): add "..." to import formats.
9755
9756 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9757
9758         * paragraph.C (asString): Remove XForms RTL hacks.
9759
9760 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9761         * buffer.C: fix typo
9762
9763 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9764
9765         * Makefile.am (LIBS): delete var
9766         (lyx_LDADD): add @LIBS@ here instead.
9767
9768 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9769
9770         * Clarify the meaning of "wheel mouse jump"
9771
9772 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9773
9774         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9775         tabular in a float
9776
9777 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9778
9779         * importer.C (Loaders): do not preallocate 3 elements in the
9780         vector, since one ends up with 6 elements otherwise
9781
9782 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9783
9784         * DepTable.C (write): write the file name as last element of the
9785         .dep file (because it may contain spaces)
9786         (read): read info in the right order
9787
9788 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9789
9790         * paragraph_pimpl.C (simpleTeXBlanks):
9791         (simpleTeXSpecialChars):
9792         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9793
9794         * tabular.C (latex): add some missing case statements. Reindent.
9795
9796         * MenuBackend.C (expandToc): remove unused variable.
9797
9798 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9799
9800         * LColor.C:
9801         * LaTeX.C:
9802         * LyXAction.C:
9803         * MenuBackend.C:
9804         * buffer.C:
9805         * exporter.C:
9806         * lyxfunc.C:
9807         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9808         and the like.
9809
9810 2003-01-05  John Levon  <levon@movementarian.org>
9811
9812         * BufferView.h:
9813         * BufferView.C: add getEncoding()
9814
9815         * kbsequence.h:
9816         * kbsequence.C: do not store last keypress
9817
9818         * lyxfunc.h:
9819         * lyxfunc.C: store last keypress here instead. Pass encoding
9820           to getISOEncoded()
9821
9822 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9823
9824         * lyx_main.C (init): remove annoying error message when following
9825         symbolic links (bug #780)
9826
9827 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9828
9829         * text.C (insertChar):
9830         * lyxrc.C (getDescription): remove extra spaces
9831
9832 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9833
9834         * lyxrc.C (getDescription): remove extra spaces
9835
9836 2002-12-20  John Levon  <levon@movementarian.org>
9837
9838         * text3.C: hack fix for page up/down across tall rows
9839
9840 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9841
9842         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9843         not been invoked
9844
9845 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9846
9847         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9848         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9849         thesaurus is not compiled in
9850
9851 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9852
9853         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9854
9855 2002-12-16  Angus Leeming  <leeming@lyx.org>
9856
9857         * lyxrc.[Ch]:
9858         * lyx_main.C (init): remove override_x_deadkeys stuff.
9859
9860 2002-12-12  John Levon  <levon@movementarian.org>
9861
9862         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9863           insert. Only remove shift modifier under strict
9864           circumstances.
9865
9866 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9867
9868         * MenuBackend.C (expandToc): fix crash.
9869
9870 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9871
9872         * MenuBackend.C (expandToc): gettext on float names.
9873
9874 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9875
9876         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9877         implement bool empty() [bug 490]
9878
9879 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9880
9881         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9882
9883 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9884
9885         * several files: ws changes
9886
9887 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9888
9889         * text2.C (setCounter): clean up a bit, use boost.format.
9890         (updateCounters): initialize par upon declaration.
9891
9892         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9893         if the layout exists. We do not just store the layout any more.
9894         (SwitchLayoutsBetweenClasses): use boost.format
9895
9896 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9897
9898         * converter.C (convert): if from and to files are the same, use a
9899         temporary files as intermediary
9900
9901 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9902
9903         * commandtags.h:
9904         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9905
9906 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9907
9908         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9909
9910 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9911
9912         * tabular.C (asciiPrintCell): use string(size, char) instead of
9913         explicit loop.
9914
9915         * sgml.C (openTag): fix order of arguments to string constructor
9916         (closeTag): ditto
9917
9918         * lyxfunc.C (dispatch): use boost.format
9919
9920         * lots of files: change "c" -> 'c'
9921
9922 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9923
9924         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9925
9926 2002-11-25  Angus Leeming  <leeming@lyx.org>
9927
9928         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9929
9930         * lyx_main.C (init): compile fix.
9931
9932 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9933
9934         * lyx_cb.C (start): boost.formatify
9935         do not include <iostream>
9936
9937         * lengthcommon.C: ws only
9938
9939         * boost-inst.C,BoostFormat.h: add more explict instantations
9940
9941 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9942
9943         * lots of files: handle USE_BOOST_FORMAT
9944
9945 2002-11-21  John Levon  <levon@movementarian.org>
9946
9947         * pspell.C: fix compile
9948
9949 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9950
9951         * lyxfunc.C (dispatch): use boost::format
9952         (open): ditto
9953         (doImport): ditto
9954
9955         * lyxfont.C (stateText): use boost::format
9956
9957         * lyx_main.C (LyX): use boost::format
9958         (init): ditto
9959         (queryUserLyXDir): ditto
9960         (readRcFile): ditto
9961         (parse_dbg): ditto
9962         (typedef boost::function): use the recommened syntax.
9963
9964         * importer.C (Import): use boost::format
9965
9966         * debug.C (showLevel): use boost::format
9967
9968         * converter.C (view): use boost::format
9969         (convert): ditto
9970         (move): ditto
9971         (scanLog): ditto
9972
9973         * bufferview_funcs.C (currentState): use boost::format
9974
9975         * bufferlist.C (emergencyWrite): use boost::format
9976
9977         * buffer.C (readLyXformat2): use boost::format
9978         (parseSingleLyXformat2Token): ditto
9979
9980         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9981
9982         * LaTeX.C (run): use boost::format
9983
9984         * Chktex.C (scanLogFile): use boost::format
9985
9986         * BufferView_pimpl.C (savePosition): use boost::format
9987         (restorePosition): ditto
9988         (MenuInsertLyXFile): ditto
9989
9990         * BoostFormat.h: help file for explicit instation.
9991
9992 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9993
9994         * tabular.C (latex): Support for block alignment in fixed width
9995         columns.
9996
9997 2002-11-17  John Levon  <levon@movementarian.org>
9998
9999         * BufferView_pimpl.C:
10000         * lyx_cb.C:
10001         * lyxfunc.C: split filedialog into open/save
10002
10003 2002-11-08  Juergen Vigna  <jug@sad.it>
10004
10005         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10006         by my last patch (hopefully).
10007
10008 2002-11-08  John Levon  <levon@movementarian.org>
10009
10010         * iterators.h:
10011         * iterators.C:
10012         * buffer.h:
10013         * buffer.C:
10014         * paragraph.h:
10015         * paragraph.C:
10016         * toc.h:
10017         * toc.C: ParConstIterator, and use it (from Lars)
10018
10019 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10020
10021         * lyxtextclass.[Ch]: revise and add doxygen comments
10022
10023 2002-11-07  John Levon  <levon@movementarian.org>
10024
10025         * text.C: fix progress value for spellchecker
10026
10027         * toc.C: fix navigate menu for insetwrap inside minipage
10028
10029         * paragraph_funcs.C: added FIXME for suspect code
10030
10031 2002-11-07  John Levon  <levon@movementarian.org>
10032
10033         * BufferView_pimpl.C: fix redrawing of insets
10034           on buffer switch
10035
10036 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10037
10038         * text2.C (updateCounters): fix bug 668
10039
10040 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10041
10042         * text3.C (dispatch): Do not make the buffer dirty when moving the
10043         cursor.
10044
10045 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10046
10047         * vc-backend.C: STRCONV
10048         (scanMaster): ditto
10049
10050         * text2.C (setCounter): STRCONV
10051
10052         * paragraph.C (asString): STRCONV
10053
10054         * lyxlength.C (asString): STRCONV
10055         (asLatexString): ditto
10056
10057         * lyxgluelength.C (asString): STRCONV
10058         (asLatexString): ditto
10059
10060         * lyxfunc.C (dispatch): STRCONV
10061         (open): ditto
10062
10063         * lyxfont.C (stateText): STRCONV
10064
10065         * importer.C (Import): STRCONV
10066
10067         * counters.C (labelItem): STRCONV
10068         (numberLabel): ditto
10069         (numberLabel): remove unused ostringstream o
10070
10071         * chset.C: STRCONV
10072         (loadFile): ditto
10073
10074         * bufferview_funcs.C (currentState): STRCONV
10075
10076         * buffer.C (readFile): STRCONV
10077         (asciiParagraph): ditto
10078         (makeLaTeXFile): ditto
10079
10080         * Spacing.C (writeEnvirBegin): STRCONV
10081
10082         * LaTeXFeatures.C (getLanguages): STRCONV
10083         (getPackages): ditto
10084         (getMacros): ditto
10085         (getBabelOptions): ditto
10086         (getTClassPreamble): ditto
10087         (getLyXSGMLEntities): ditto
10088         (getIncludedFiles): ditto
10089
10090         * LaTeX.C: STRCONV
10091         (run): ditto
10092         (scanAuxFile): ditto
10093         (deplog): ditto
10094
10095         * LString.h: add the STRCONV macros
10096
10097         * BufferView_pimpl.C (savePosition): STRCONV
10098         (restorePosition): ditto
10099         (MenuInsertLyXFile): ditto
10100
10101         * vc-backend.C (scanMaster): change from submatch[...] to
10102         submatch.str(...)
10103
10104         * funcrequest.C: include config.h
10105
10106         * factory.C: include config.h
10107
10108         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10109
10110         * box.C: include config.h
10111
10112         * LaTeX.C (scanAuxFile): change from submatch[...] to
10113         submatch.str(...)
10114         (deplog): ditto
10115
10116 2002-10-25  Angus Leeming  <leeming@lyx.org>
10117
10118         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10119
10120         * ispell.[Ch] (setError): new method.
10121         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10122         Use setError() insetead of goto END.
10123
10124         * lyx_cb.C (AutoSave): move out child process into new class
10125         AutoSaveBuffer.
10126
10127 2002-10-30  John Levon  <levon@movementarian.org>
10128
10129         * text3.C: make start appendix undoable
10130
10131 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10132
10133         * lyxlength.C (inPixels): Fix returned value.
10134
10135         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10136         environment.
10137
10138 2002-10-24  Angus Leeming  <leeming@lyx.org>
10139
10140         * lyxgluelength.h: no need to forward declare BufferParams
10141         or BufferView, so don't.
10142
10143 2002-10-21  John Levon  <levon@movementarian.org>
10144
10145         * BufferView.C: menuUndo ->undo, redo
10146
10147         * BufferView.h: document, remove dead, make some methods private
10148
10149         * paragraph_funcs.h:
10150         * paragraph_funcs.C:
10151         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10152
10153         * buffer.h:
10154         * buffer.C:
10155         * sgml.h:
10156         * sgml.C: move sgml open/close tag into sgml.C
10157
10158         * bufferview_funcs.h: unused prototype
10159
10160         * lyxfunc.h:
10161         * lyxfunc.C: remove unused
10162
10163         * lyxtext.h:
10164         * text.C: remove unused
10165
10166 2002-10-21  John Levon  <levon@movementarian.org>
10167
10168         * BufferView.h:
10169         * BufferView.C:
10170         * BufferView_pimpl.h:
10171         * BufferView_pimpl.C: fix mouse wheel handling based on
10172           patch from Darren Freeman
10173
10174 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10175
10176         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10177
10178 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10179
10180         * lyxlength.C (inPixels): Fix hanfling of negative length.
10181         Fix LyXLength::MU case.
10182
10183 2002-10-16  John Levon  <levon@movementarian.org>
10184
10185         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10186
10187 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10188
10189         * converter.C (view): add support for $$i (file name) and $$p
10190         (file path) for the viewer command. If $$i is not specified, then
10191         it is appended to the command (for compatibility with old syntax)
10192
10193 2002-10-14  Juergen Vigna  <jug@sad.it>
10194
10195         * undo_funcs.C (textHandleUndo): alter the order in which the
10196         new undopar is added to the LyXText, as we have to set first
10197         the right prev/next and then add it as otherwise the rebuild of
10198         LyXText is not correct. Also reset the cursor to the right paragraph,
10199         with this IMO we could remove the hack in "redoParagraphs()".
10200
10201 2002-10-09  Angus Leeming  <leeming@lyx.org>
10202
10203         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10204         to turn off an optimisation if a new inset is to be inserted.
10205
10206 2002-10-11 André Pönitz <poenitz@gmx.net>
10207
10208         * lyxtext.h: make some functions public to allow access
10209         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10210
10211 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10212
10213         * text3.C (dispatch): when changing layout, avoid an infinite loop
10214         [bug #652]
10215
10216 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10217
10218         * lyxrc.C (read): treat a viewer or converter command of "none" as
10219         if it were empty.
10220
10221         * MenuBackend.C (expandFormats): for an update, also allow the
10222         formats that are not viewable
10223
10224         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10225         script if it is newer than the lyxrc.defaults in user directory
10226
10227 2002-10-07 André Pönitz <poenitz@gmx.net>
10228
10229         * text.C: Vitaly Lipatov's small i18n fix
10230
10231 2002-09-25  Angus Leeming  <leeming@lyx.org>
10232
10233         * ispell.h: doxygen fix.
10234
10235 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10236
10237         * buffer.h (readFile): Add a new argument to the method, to allow
10238         reading of old-format templates.
10239
10240 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10241
10242         * toc.C (getTocList): Get TOC from InsetWrap.
10243
10244 2002-09-16  John Levon  <levon@movementarian.org>
10245
10246         * lyxfunc.C: check tabular for cut/copy too
10247
10248 2002-09-12  John Levon  <levon@movementarian.org>
10249
10250         * LyXAction.C: tidy
10251
10252         * factory.h:
10253         * factory.C: add header
10254
10255         * paragraph_funcs.h:
10256         * paragraph_funcs.C: cleanup
10257
10258 2002-09-11  John Levon  <levon@movementarian.org>
10259
10260         * PrinterParams.h: odd/even default to true
10261
10262 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10263
10264         * PrinterParams.h: update printer parameters for new xforms dialog
10265
10266 2002-09-11  Angus Leeming  <leeming@lyx.org>
10267
10268         * lyxserver.C (read_ready): re-write to make it more transparent
10269         and to make it work in coherent fashion under Tru64 Unix.
10270
10271 2002-09-11  André Pönitz <poenitz@gmx.net>
10272
10273         * commandtags.h:
10274         * LyXAction.C:
10275         * text3.C: implement LFUN_WORDSEL
10276
10277 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10278
10279         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10280         make floatlist_ a boost::shared_ptr<FloatList>
10281
10282         * lyxtextclass.C: include FloatList.h
10283         (LyXTextClass): initialize floatlist_
10284         (TextClassTags): add TC_NOFLOAT
10285         (Read): match "nofloat" to TC_NOFLOAT and use it.
10286         (readFloat): modify call to floatlist_
10287         (floats): ditto
10288         (floats): ditto
10289
10290         * FloatList.[Ch] (FloatList): remove commented out float
10291         initialization.
10292         (erase): new function
10293
10294 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10295
10296         * MenuBackend.C (expandToc): fix crash when there is no document
10297         open
10298
10299 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10300
10301         * many files: Add insetwrap.
10302
10303 2002-09-09  John Levon  <levon@movementarian.org>
10304
10305         * text2.C: remove confusing and awkward depth wraparound
10306
10307 2002-09-09  John Levon  <levon@movementarian.org>
10308
10309         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10310
10311         * buffer.h:
10312         * buffer.C: remove getIncludeonlyList()
10313
10314         * paragraph.C:
10315         * lyxfunc.C: remove headers
10316
10317 2002-09-09  Juergen Vigna  <jug@sad.it>
10318
10319         * text.C (getColumnNearX): fix form Michael this is most
10320         probably a cut&paste bug.
10321
10322 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10323
10324         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10325
10326         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10327         references, ws changes.
10328
10329         * text2.C (init): update counters after init
10330         (insertParagraph): no need to set counter on idividual paragraphs.
10331         (setCounter): access the counters object in the textclass object
10332         on in the buffer object.
10333         (updateCounters): ditto
10334
10335         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10336         shared_ptr<Counters> to avoid loading counters.h in all
10337         compilation units.
10338         (LyXTextClass): initialize ctrs_
10339         (TextClassTags): add TC_COUNTER, and ...
10340         (Read): use it here.
10341         (CounterTags): new tags
10342         (readCounter): new function
10343         (counters): new funtion
10344         (defaultLayoutName): return a const reference
10345
10346         * counters.C (Counters): remove contructor
10347         (newCounter): remove a couple of unneeded statements.
10348         (newCounter): simplify a bit.
10349         (numberLabel): some small formatting changes.
10350
10351         * buffer.[Ch]: remove all traces of counters, move the Counters
10352         object to the LyXTextClass.
10353
10354 2002-09-06  Alain Castera  <castera@in2p3.fr>
10355
10356         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10357         package to set the horizontal alignment on fixed width columns.
10358
10359         * lyx_sty.C:
10360         * lyx_sty.h: added tabularnewline macro def.
10361
10362         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10363
10364 2002-09-06  John Levon  <levon@movementarian.org>
10365
10366         * LyXAction.C: tooltips for sub/superscript
10367
10368         * MenuBackend.C: a bit more verbose
10369
10370         * lyxfunc.C: tiny clean
10371
10372         * undo_funcs.C: document undo_frozen
10373
10374 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10375
10376         * counters.C (Counters): add missing algorithm counter.
10377
10378         * text2.C (setCounter): lookup the counter with layouts latexname
10379         instead of by section number.
10380         (setCounter): use a hackish way to lookup the correct enum
10381         counter.
10382         a float name->type change
10383         reset enum couners with counter name directly instead of depth value.
10384
10385         * counters.C (Counters): remove the push_backs, change to use the
10386         float type not the float name.
10387         (labelItem): remove unused string, float name->type change
10388
10389         * counters.h: don't include vector, loose the enums and sects vectors
10390
10391 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10392
10393         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10394         (Read): add float->TC_FLOAT to textclassTags
10395         (Read): and handle it in the switch
10396         (readFloat): new function
10397
10398         * FloatList.C (FloatList): comment out the hardcoded float
10399         definitions.
10400
10401         * lyxlayout.h: ws change.
10402
10403 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10404
10405         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10406
10407 2002-09-03  Angus Leeming  <leeming@lyx.org>
10408
10409         * BufferView_pimpl.h: qualified name is not allowed in member
10410         declaration: WorkArea & Pimpl::workarea() const;
10411
10412         * factory.C: added using std::endl directive.
10413
10414         * text3.C: added using std::find and std::vector directives.
10415
10416 2002-08-29  André Pönitz <poenitz@gmx.net>
10417
10418         * lyxtext.h:
10419         * text2.C: remove unused member number_of_rows
10420
10421         * Makefile.am:
10422         * BufferView2.C: remove file, move contents to...
10423         * BufferView.C: ... here
10424
10425         * BufferView_pimpl.C:
10426         * factory.C: move more inset creation to factory
10427
10428         * vspace.C: avoid direct usage of LyXText, ws changes
10429
10430         * BufferView.[Ch]:
10431                 don't provide direct access to WorkArea, use two simple
10432                 acessors haveSelction() and workHeight() instead
10433
10434
10435 2002-08-29  John Levon  <levon@movementarian.org>
10436
10437         * BufferView_pimpl.C (dispatch): do not continue when
10438           no buffer
10439
10440 2002-08-28  André Pönitz <poenitz@gmx.net>
10441
10442         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10443
10444         * BufferView.h:
10445         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10446
10447 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10448
10449         * buffer.C: increment LYX_FORMAT to 221
10450
10451         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10452         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10453
10454         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10455
10456         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10457
10458 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10459
10460         * factory.C (createInset): use LyXTextClass::floats
10461
10462         * MenuBackend.C (expandFloatListInsert):
10463         (expandFloatInsert):
10464         (expandToc):
10465
10466         * text2.C (setCounter):
10467
10468         * LaTeXFeatures.C (useFloat):
10469         (getFloatDefinitions):
10470
10471         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10472
10473         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10474         floatlist_, with accessor floats().
10475
10476         * FloatList.h: remove global FloatList
10477
10478 2002-08-26  André Pönitz <poenitz@gmx.net>
10479
10480         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10481
10482         * BufferView.h:
10483         * BufferView2.C:
10484         * BufferView_pimpl.C:
10485         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10486
10487 2002-08-25  John Levon  <levon@movementarian.org>
10488
10489         * LyXAction.C: fix margin note description
10490
10491 2002-08-24  John Levon  <levon@movementarian.org>
10492
10493         * buffer.C:
10494         * bufferlist.C:
10495         * bufferview_funcs.C:
10496         * lyxfont.C:
10497         * undo_funcs.C: cleanups
10498
10499         * lyxfunc.C: disable CUT/COPY when no selection
10500
10501 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10502
10503         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10504         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10505
10506         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10507         Add backward compatibility to "mono", "gray" and "no".
10508
10509 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10510
10511         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10512         (and file_format >= 200).
10513
10514 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10515
10516         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10517
10518 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10519
10520         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10521
10522 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10523
10524         * BufferView_pimpl.C:
10525         * LyXAction.C:
10526         * buffer.C:
10527         * commandtags.h:
10528         * lyxfunc.C:
10529         * paragraph.[Ch]:
10530         * text2.C:
10531         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10532         inset and code to make it  work with the paragraph code. The inset
10533         can be anywhere in the paragraph, but will only do the expected
10534         thing in LaTeX if the layout file contains the parameter line
10535                         OptionalArgs    1
10536         (or more generally, a nonzero value) for that layout.
10537
10538 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10539
10540         * paragraph.h: remove the declaration of undefined counters class
10541         function.
10542
10543 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10544
10545         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10546         Dr. Richard Hawkins.
10547
10548 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * paragraph_funcs.h: remove some unneeded includes
10551
10552         * text.C (backspace): pasteParagraph now in global scipe
10553
10554         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10555         (pasteSelection): ditto
10556
10557         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10558         * paragraph_funcs.C (pasteParagraph): ... here
10559
10560 2002-08-20  André Pönitz <poenitz@gmx.net>
10561
10562         * commandtags.h: new LFUNs for swapping/copying table row/colums
10563
10564         * LyXAction.C:
10565         * lyxfunc.C: support for new lfuns
10566
10567 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10568
10569         * tabular.C:
10570         * buffer.[Ch]: remove NO_COMPABILITY stuff
10571
10572 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10573
10574         * boost.C (throw_exception): new file, with helper function for
10575         boost compiled without exceptions.
10576
10577         * paragraph.h:
10578         * lyxlength.C:
10579         * buffer.C:
10580         * ParameterStruct.h:
10581         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10582
10583         * bufferlist.C (emergencyWriteAll): use boost bind
10584
10585         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10586
10587         * text.C: include paragraph_funcs.h
10588         (breakParagraph): breakParagraph is now in global scope
10589
10590         * paragraph_funcs.[Ch]: new files
10591
10592         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10593         global scope
10594
10595         * buffer.C: include paragraph_funcs.h
10596         (insertStringAsLines): breakParagraph is now in global scope
10597
10598         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10599         paragraph_funcs.C
10600
10601         * CutAndPaste.C: include paragraph_funcs.h
10602         (cutSelection): breakParagraphConservative is now in global scope
10603         (pasteSelection): ditto
10604
10605         * buffer.h: declare oprator== and operator!= for
10606         Buffer::inset_iterator
10607
10608         * bufferlist.C (emergencyWrite): don't use fmt(...)
10609
10610         * text3.C: add using std::endl
10611
10612         * BufferView.C (moveCursorUpdate): remove default arg
10613
10614 2002-08-20  André Pönitz <poenitz@gmx.net>
10615
10616         * buffer.[Ch]: move inline functions to .C
10617
10618         * BufferView2.C:
10619         * BufferView_pimpl.C:
10620         * text.C:
10621         * buffer.[Ch]: use improved inset_iterator
10622
10623         * buffer.C:
10624         * paragraph.[Ch]: write one paragraph at a time
10625
10626 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10627
10628         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10629         style if style is not specified.
10630
10631 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10632
10633         * text2.C (setCounter): when searching for right label for a
10634         caption, make sure to recurse to parent insets (so that a caption
10635         in a minipage in a figure float works) (bug #568)
10636
10637 2002-08-20  André Pönitz <poenitz@gmx.net>
10638
10639         * text3.C: new file for LyXText::dispatch() and helpers
10640
10641         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10642
10643         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10644
10645 2002-08-19  André Pönitz <poenitz@gmx.net>
10646
10647         * lyxtext.h:
10648         * text.C: new LyXText::dispatch()
10649
10650         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10651
10652 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10653
10654         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10655
10656         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10657         Hebrew text.
10658
10659 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10660
10661         * Makefile.am: use $(variables) instead of @substitutions@
10662
10663 2002-08-15  André Pönitz <poenitz@gmx.net>
10664
10665         * lyxfunc.C:
10666         * BufferView_pimpl.C: streamlining mathed <-> outer world
10667         interaction
10668
10669         * commandtags.h:
10670         * LyXAction.C: remove unused LFUN_MATH
10671
10672 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10673
10674         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10675
10676 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10677
10678         * paragraph.C (Paragraph): reformat a bit
10679         (cutIntoMinibuffer): use builtin InsetList function instad of
10680         doing it manually.
10681         (getInset): ditto
10682
10683         * buffer.C: include boost/bind.hpp, add using std::for_each
10684         (writeFileAscii): use ParagraphList iterators
10685         (validate): use for_each for validate traversal of paragraphs
10686         (getBibkeyList): use ParagraphList iterators
10687         (resizeInsets): use for_each to resizeInsetsLyXText for all
10688         paragraphs.
10689         (getParFromID): use ParagraphList iterators
10690
10691         * BufferView2.C (lockInset): use paragraph list and iterators
10692
10693 2002-08-14  John Levon  <levon@movementarian.org>
10694
10695         * lyxserver.C: remove spurious xforms include
10696
10697 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10698
10699         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10700
10701 2002-08-13  André Pönitz <poenitz@gmx.net>
10702
10703         * LyXAction.[Ch]:
10704         * lyxfunc.C: further cleaning
10705
10706 2002-08-13  André Pönitz <poenitz@gmx.net>
10707
10708         * funcrequest.h: new constructor
10709
10710         * funcrequest.C: move stuff here from .h
10711
10712         * Makefile.am:
10713         * BufferView_pimpl.C:
10714         * LyXAction.C:
10715         * toc.C:
10716         * lyxfunc.C: subsequent changes
10717
10718         * lyxfunc.h: new view() member function
10719
10720         * lyxfunc.C: subsequent changes
10721
10722 2002-08-13  Angus Leeming  <leeming@lyx.org>
10723
10724         * BufferView2.C:
10725         * BufferView_pimpl.C:
10726         * buffer.C:
10727         * converter.C:
10728         * importer.C:
10729         * lyxfunc.C:
10730         * lyxvc.C:
10731         * toc.C:
10732         * vc-backend.C:
10733         changes due to the changed LyXView interface that now returns references
10734         to member variables not pointers.
10735
10736 2002-08-13  Angus Leeming  <leeming@lyx.org>
10737
10738         * WordLangTuple (word, lang_code): return references to strings,
10739         not strings.
10740
10741         * BufferView.h:
10742         * SpellBase.h:
10743         * lyxtext.h: forward-declare WordLangTuple.
10744
10745         * BufferView2.C:
10746         * ispell.C:
10747         * pspell.C:
10748         * text.C: #include "WordLangTuple.h".
10749
10750         * lyxtext.h:
10751         * text.C: (selectNextWordToSpellcheck): constify return type.
10752
10753 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10754
10755         * buffer.C:
10756         * buffer.h:
10757         * lyxtext.h:
10758         * paragraph.C:
10759         * paragraph_pimpl.h:
10760         * text.C:
10761         * text2.C:
10762         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10763         suggested by Angus.
10764         Made updateCounter always count from start of buffer, and removed
10765         second argument (par).
10766         Reverted floats number display to '#'. Perhaps I'll try again when the
10767         code base is sanitized a bit.
10768
10769 2002-08-12  Angus Leeming  <leeming@lyx.org>
10770
10771         * buffer.[Ch] (getLabelList): constify.
10772
10773 2002-08-07  André Pönitz <poenitz@gmx.net>
10774
10775         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10776
10777         * funcrequest.h: extension to keep mouse (x,y) position
10778
10779 2002-08-12  Juergen Vigna  <jug@sad.it>
10780
10781         * BufferView2.C (insertErrors): forbid undo when inserting error
10782         insets.
10783
10784         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10785
10786 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10787
10788         * ParagraphList.[Ch]: new files
10789
10790         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10791
10792         * BufferView2.C (lockInset): ParagraphList changes
10793         * toc.C: ditto
10794         * text2.C: ditto
10795         * bufferlist.C: ditto
10796         * buffer.h: ditto
10797         * buffer.C: ditto
10798
10799 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10800
10801         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10802         unused class variable counter_,
10803
10804         * paragraph.[Ch] (getFirstCounter): delete unused function
10805
10806         * counters.C: include LAssert.h
10807         (reset): add a new function with no arg, change other version to
10808         not have def. arg and to not allow empty arg.
10809
10810         * text2.C (setCounter): remove empty arg from call to Counters::reset
10811
10812 2002-08-11  John Levon  <levon@movementarian.org>
10813
10814         * Makefile.am: add WordLangTuple.h
10815
10816 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10817
10818         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10819         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10820
10821         * insets/insettext.C: InsetList changes
10822
10823         * graphics/GraphicsSupport.C (operator()): InsetList changes
10824
10825         * toc.C (getTocList): InsetList changes
10826
10827         * paragraph_pimpl.[Ch]: InsetList changes
10828
10829         * paragraph.[Ch]: InsetList changes
10830
10831         * buffer.C (inset_iterator): InsetList changes
10832         (setParagraph): ditto
10833         * buffer.h (inset_iterator): ditto
10834         * iterators.C (operator++): ditto
10835         * iterators.h: ditto
10836
10837         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10838
10839         * InsetList.[Ch]: new files, most InsetList handling moved out of
10840         paragraph.C.
10841
10842         * BufferView2.C (removeAutoInsets): InsetList changes
10843         (lockInset): ditto
10844         (ChangeInsets): ditto
10845
10846 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10847
10848         * paragraph_pimpl.h (empty): new function
10849
10850         * paragraph.[Ch] (empty): new function
10851
10852         * other files: use the new Paragraph::empty function
10853
10854 2002-08-09  John Levon  <levon@movementarian.org>
10855
10856         * lyxtext.h: remove unused refresh_height
10857
10858 2002-08-09  John Levon  <levon@movementarian.org>
10859
10860         * Makefile.am:
10861         * sgml.h:
10862         * sgml.C:
10863         * buffer.C:
10864         * paragraph.h:
10865         * paragraph.C: move sgml char escaping out of paragraph
10866
10867         * paragraph.h:
10868         * paragraph.C: remove id setter
10869
10870         * buffer.C:
10871         * paragraph.C:
10872         * paragraph_pimpl.C: remove dead tex_code_break_column
10873
10874         * bufferview_funcs.C: small cleanup
10875
10876         * lyxfunc.C: remove dead proto
10877
10878         * lyxtext.h: make some stuff private. Remove some dead stuff.
10879
10880         * lyxgluelength.C: make as[LyX]String() readable
10881
10882 2002-08-08  John Levon  <levon@movementarian.org>
10883
10884         * LyXAction.h:
10885         * LyXAction.C:
10886         * MenuBackend.C:
10887         * ToolbarDefaults.C:
10888         * lyxfunc.C:
10889         * lyxrc.C:
10890         * toc.C: lyxaction cleanup
10891
10892 2002-08-08  John Levon  <levon@movementarian.org>
10893
10894         * BufferView2.C: small cleanup
10895
10896         * lyxfind.h:
10897         * lyxfind.C: move unnecessary header into the .C
10898
10899 2002-08-08  John Levon  <levon@movementarian.org>
10900
10901         * funcrequest.h: just tedious nonsense
10902
10903         * lyx_main.h:
10904         * lyx_main.C: cleanups
10905
10906         * buffer.C:
10907         * vspace.C: remove dead header lyx_main.h
10908
10909 2002-08-07  Angus Leeming  <leeming@lyx.org>
10910
10911         * Paragraph.[Ch]:
10912         * paragraph_pimpl.h:
10913         Forward declare class Counters in paragraph.h by moving the ctrs member
10914         variable into Paragraph::Pimpl.
10915         (counters): new method, returning a reference to pimpl_->ctrs.
10916
10917         * text2.C: ensuing changes.
10918
10919 2002-08-07  John Levon  <levon@movementarian.org>
10920
10921         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10922
10923         * BufferView_pimpl.C: announce X selection on double/triple
10924           click
10925
10926         * lyx_main.C: use correct bool in batch dispatch
10927
10928         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10929
10930 2002-08-07  André Pönitz <poenitz@gmx.net>
10931
10932         * funcrequest.h: new class to wrap a kb_action and its argument
10933
10934         * BufferView.[Ch]:
10935         * BufferView_pimpl[Ch]:
10936         * LaTeX.C:
10937         * LyXAction.[Ch]:
10938         * lyxfunc.[Ch]:
10939         * lyxrc.C: subsequent changes
10940
10941
10942 2002-08-07  John Levon  <levon@movementarian.org>
10943
10944         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10945           document options change.
10946
10947 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10948
10949         * counters.[Ch]
10950         * text2.C
10951         * paragraph.[Ch]
10952         * makefile.am: move counters functionality over from
10953         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10954
10955 2002-08-06  John Levon  <levon@movementarian.org>
10956
10957         * WordLangTuple.h: new file for word + language code tuple
10958
10959         * SpellBase.h:
10960         * pspell.h:
10961         * pspell.C:
10962         * ispell.h:
10963         * ispell.C:
10964         * lyxtext.h:
10965         * text.C:
10966         * text2.C:
10967         * BufferView.h:
10968         * BufferView2.C: use WordLangTuple
10969
10970         * layout.h:
10971         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10972
10973 2002-08-06  John Levon  <levon@movementarian.org>
10974
10975         * lyx_main.C: fix cmdline batch handling
10976
10977 2002-08-06  André Pönitz <poenitz@gmx.net>
10978
10979         * lyxrc.C: set default for show_banner to true
10980
10981 2002-08-06  John Levon  <levon@movementarian.org>
10982
10983         * pspell.C: fix a crash, and allow new aspell to work
10984
10985 2002-08-06  John Levon  <levon@movementarian.org>
10986
10987         * lyxfunc.C:
10988         * kbmap.C: small cleanup
10989
10990         * vspace.h:
10991         * vspace.C: add const
10992
10993 2002-08-05  John Levon  <levon@movementarian.org>
10994
10995         * LyXAction.C: back to tabular-insert
10996
10997 2002-08-04  John Levon  <levon@movementarian.org>
10998
10999         * BufferView.h:
11000         * BufferView.C: cosmetic change
11001
11002         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11003
11004         * bufferlist.C:
11005         * buffer.h:
11006         * buffer.C:
11007         * lyxcb.h:
11008         * lyxcb.C:
11009         * lyxserver.C:
11010         * lyxvc.C:
11011         * vc-backend.C:
11012         * BufferView2.C: purge all "Lyx" not "LyX" strings
11013
11014         * lyxcursor.h:
11015         * lyxcursor.C: attempt to add some documentation
11016
11017         * lyxfunc.C:
11018         * commandtags.h:
11019         * LyXAction.C:
11020         * ToolbarDefaults.C:
11021         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11022           merge with LFUN_TABULAR_INSERT
11023
11024         * Makefile.am:
11025         * SpellBase.h:
11026         * ispell.h:
11027         * ispell.C:
11028         * pspell.h:
11029         * pspell.C: split up i/pspell implementations into separate
11030           files, many cleanups
11031
11032         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11033
11034         * text2.C: some cleanup
11035
11036         * lyxfunc.C: don't check for isp_command == "none" any more, it
11037           didn't make any sense
11038
11039 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11040
11041         * counters.[Ch]
11042         * text2.C
11043         * paragraph.[Ch]
11044         * makefile.am: move counters functionality over
11045         from text2.C/paragraph.[Ch] to counters.[Ch], and
11046         make proper C++.
11047 2002-08-02  John Levon  <levon@movementarian.org>
11048
11049         * buffer.C: s/lyxconvert/lyx2lyx/
11050
11051 2002-08-02  Angus Leeming  <leeming@lyx.org>
11052
11053         * lyxlex.C: revert John's change as it breaks reading of the user
11054         preamble.
11055
11056 2002-08-02  Angus Leeming  <leeming@lyx.org>
11057
11058         * importer.C (Import):
11059         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11060         changes due to LyXView::view() now returning a boost::shared_ptr.
11061
11062 2002-08-02  John Levon  <levon@movementarian.org>
11063
11064         * lyxlex.C: small cleanup
11065
11066 2002-08-02  John Levon  <levon@movementarian.org>
11067
11068         * text2.C (status): small cleanup, no logic change
11069
11070 2002-08-01  John Levon  <levon@movementarian.org>
11071
11072         * buffer.h:
11073         * buffer.C (writeFile): don't output alerts, caller
11074           handles this
11075
11076         * bufferlist.C:
11077         * lyx_cb.C: from above
11078
11079         * lyxfunc.C: allow to open non-existent files
11080
11081 2002-07-31  John Levon  <levon@movementarian.org>
11082
11083         * lyxserver.C: don't let incidental errors get
11084           in the way (errno)
11085
11086 2002-07-30  John Levon  <levon@movementarian.org>
11087
11088         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11089
11090 2002-07-30  John Levon  <levon@movementarian.org>
11091
11092         * lyxserver.h:
11093         * lyxserver.C: remove I/O callback too
11094
11095 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11096
11097         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11098         log.
11099
11100 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11101
11102         * many files: strip,frontStrip -> trim,ltrim,rtrim
11103
11104 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11105
11106         * PrinterParams.h: remove extern containsOnly, and include
11107         support/lstrings.h instead.
11108
11109         * LaTeX.C (scanAuxFile): modify because of strip changes
11110         (deplog): ditto
11111         * buffer.C (makeLaTeXFile): ditto
11112         * bufferparams.C (writeFile): ditt
11113         * lyxfont.C (stateText): ditto
11114         * lyxserver.C (read_ready): ditto
11115         * vc-backend.C (scanMaster): ditto
11116
11117         * BufferView_pimpl.h: ws changes
11118
11119         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11120
11121 2002-07-26  André Pönitz <poenitz@gmx.net>
11122
11123         * kb_sequence.C: remove unnedred usings
11124
11125 2002-07-26  Juergen Vigna  <jug@sad.it>
11126
11127         * lyxfind.C (LyXReplace): we have to check better if the returned
11128         text is not of theLockingInset()->getLockingInset().
11129
11130 2002-07-25  Juergen Vigna  <jug@sad.it>
11131
11132         * lyxfind.C (LyXReplace): don't replace if we don't get the
11133         right LyXText.
11134
11135         * undo_funcs.C (createUndo): remove debugging code.
11136
11137 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11138
11139         * buffer.C (parseSingleLyXformat2Token): Use default placement
11140         when reading old floats.
11141
11142         * FloatList.C (FloatList): Change the default placement of figure
11143         and tables to "tbp".
11144
11145 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11146
11147         * MenuBackend.C: using std::max
11148
11149 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11150
11151         * MenuBackend.C (expandToc):
11152         (expandToc2): code moved from xforms menu frontend. It is now
11153         generic and TOCs are transparent to menu frontends.
11154
11155 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11156
11157         * toc.C (getTocList): protect against buf=0
11158
11159         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11160         Menu as first parameter. Now, this calls itself recursively to
11161         expand a whole tree (this will be useful for TOC handling)
11162         (expandFloatInsert): remove 'wide' version of floats
11163
11164         * MenuBackend.h (submenuname): returns the name of the submenu.
11165         (submenu): returns the submenu itself, provided it has been
11166         created by MenuBackend::expand
11167
11168 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11169
11170         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11171         insets which have noFontChange == true. (bug #172)
11172
11173 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11174
11175         * BufferView_pimpl.C: add connection objects and use them...
11176         (Pimpl): here.
11177
11178 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11179
11180         * MenuBackend.C (expandLastfiles):
11181         (expandDocuments):
11182         (expandFormats):
11183         (expandFloatListInsert):
11184         (expandFloatInsert):
11185         (expand): split expand in parts
11186
11187 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11188
11189         * lyx_gui.C: use lyx_gui::exit()
11190
11191 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11192
11193         * LyXAction.C: show the failing pseudo action
11194
11195 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11196
11197         * buffer.C (readFile): Run the lyxconvert script in order to read
11198         old files.
11199
11200 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11201
11202         * LyXAction.C:
11203         * commandtags.h:
11204         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11205
11206 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11207
11208         * LyXAction.C:
11209         * commandtags.h:
11210         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11211
11212 2002-07-22  Herbert Voss  <voss@lyx.org>
11213
11214         * lengthcommon.C:
11215         * lyxlength.[Ch]: add support for the vertical lengths
11216
11217 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * toc.[Ch]: std:: fixes
11220
11221 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11222
11223         * lyxrc.C: do not include lyx_main.h
11224
11225         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11226         for layouts
11227
11228         * lyxrc.C:
11229         * encoding.C:
11230         * bufferlist.C:
11231         * BufferView2.C: include "lyxlex.h"
11232
11233         * tabular.h:
11234         * bufferparams.h: do not #include "lyxlex.h"
11235
11236         * lyxtextclasslist.C (Add): remove method
11237         (classlist): renamed to classlist_
11238
11239         * paragraph_pimpl.C:
11240         * paragraph.C:
11241         * text2.C:
11242         * CutAndPaste.C:
11243         * bufferview_funcs.C:
11244         * bufferlist.C:
11245         * text.C:
11246         * LaTeXFeatures.C:
11247         * buffer.C:
11248         * toc.C (getTocList): use BufferParams::getLyXTextClass
11249
11250         * toc.C (getTocList): use InsetFloat::addToToc
11251
11252         * toc.[Ch]: new files, containing helper functions to handle table
11253         of contents
11254
11255         * lyxfunc.C (dispatch): no need to remove spaces around command
11256         given as a string
11257         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11258         first command of the sequence; it is not very clever, but I do not
11259         have a better idea, actually
11260
11261         * LyXAction.C (LookupFunc): make sure to remove space at the
11262         beginning and end of the command
11263
11264 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11265
11266         * MenuBackend.C (getMenubar): new method: return the menubar of
11267         this menu set
11268         (read): treat differently reading of menu and menubar (in
11269         particular, the menubar has no name now)
11270         (Menu::menubar): remove
11271
11272         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11273         saving is finished
11274
11275 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11276
11277         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11278         a bibitem inset in a RTL paragraph.
11279
11280 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11281
11282         * paragraph_pimpl.C: constify
11283
11284         * BufferView_pimpl.C:
11285         * LaTeX.C:
11286         * lyxfunc.C: fix dispatch in a nicer way
11287
11288 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11289
11290         * lyxfunc.C (dispatch):
11291         * BufferView_pimpl.C:
11292         * BufferView_pimpl.h:
11293         * BufferView.C:
11294         * BufferView.h: rename Dispatch() to dispatch()
11295
11296         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11297
11298         * lyxlayout.C (Read): honor DependsOn tag
11299
11300         * lyxlayout.[Ch] (depends_on): new method
11301
11302         * version.C.in: update lyx_docversion
11303
11304         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11305
11306         * paragraph.C (validate): remove from here...
11307         * paragraph_pimpl.C (validate): ... and move here
11308         (isTextAt): make it const
11309
11310         * buffer.C (getLists): ws cleanup
11311
11312 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11313
11314         * language.C (read): Use iso8859-1 encoding in latex_lang
11315         (this prevents LyX from crashing when using iso10646-1 encoding).
11316
11317 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11318
11319         * text2.C (toggleInset): if cursor is inside an inset, close the
11320         inset and leave cursor _after_ it
11321
11322 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11323
11324         * lyxfunc.C: move minibuffer completion handling out of here
11325
11326 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * BufferView_pimpl.C:
11329         * LaTeX.C: fix dispatch calls
11330
11331 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11332
11333         * text.C (drawChars): Fix Arabic text rendering.
11334
11335 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11336
11337         * LyXAction.C:
11338         * commandtags.h:
11339         * lyxfunc.C: remove message-push/pop
11340
11341         * lyxserver.C:
11342         * lyxfunc.h:
11343         * lyxfunc.C: rationalise some code by removing verboseDispatch
11344           in favour of a bool argument to dispatch()
11345
11346 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11347
11348         * lyx_main.C (init): make sure to read symlinks as absolute paths
11349
11350 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11351
11352         * lyxfunc.h:
11353         * lyxfunc.C: no need for commandshortcut to be a member
11354
11355 2002-07-15  André Pönitz <poenitz@gmx.net>
11356
11357         * converter.C: add support for $$s (scripts from lib/scripts dir)
11358         * lyx_main.C: white space
11359
11360 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * bufferlist.C:
11363         * lyxrc.h:
11364         * lyxrc.C: remove second exit confirmation
11365
11366 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * BufferView.h:
11369         * BufferView.C:
11370         * BufferView2.C:
11371         * BufferView_pimpl.h:
11372         * BufferView_pimpl.C:
11373         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11374
11375 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11376
11377         * MenuBackend.C (expand): add numeric shortcuts to document menu
11378
11379         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11380
11381 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11382
11383         * lyxfont.C (setLyXFamily):
11384         (setLyXSeries):
11385         (setLyXShape):
11386         (setLyXSize):
11387         (setLyXMisc):
11388         (lyxRead):
11389         * debug.C (value):
11390         * buffer.C (asciiParagraph): use ascii_lowercase
11391
11392 2002-07-15  Mike Fabian  <mfabian@suse.de>
11393
11394         * lyxlex_pimpl.C (search_kw):
11395         * lyxlex.C (getLongString):
11396         * converter.h (operator<):
11397         * converter.C (operator<):
11398         * buffer.C (parseSingleLyXformat2Token):
11399         (asciiParagraph):
11400         * ToolbarDefaults.C (read):
11401         * MenuBackend.C (checkShortcuts):
11402         (read):
11403         * LColor.C (getFromGUIName):
11404         (getFromLyXName): use the compare_ascii_no_case instead of
11405         compare_no_case, because in turkish, 'i' is not the lowercase
11406         version of 'I', and thus turkish locale breaks parsing of tags.
11407
11408 2002-07-16  Angus Leeming  <leeming@lyx.org>
11409
11410         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11411         now takes a Buffer const & argument.
11412
11413 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11414
11415         * BufferView.C (resize): check there's a buffer to resize
11416
11417 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * lyxfunc.C: remove dead code
11420
11421         * lyxserver.h:
11422         * lyxserver.C: use lyx_guii::set_read_callback
11423
11424 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11425
11426         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11427         an inset in a RTL paragraph.
11428
11429 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * lyxfunc.C: repaint after a font size update
11432
11433 2002-07-15  André Pönitz <poenitz@gmx.net>
11434
11435         * lyxlength.C: inBP should be able to return negative values
11436
11437 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * lyxfunc.C: use lyx_gui::update_fonts()
11440
11441 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11442
11443         * lyxfunc.C: use lyx_gui::update_color()
11444
11445 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * bufferlist.C:
11448         * lyxfunc.h:
11449         * lyxfunc.C:
11450         * lyxrc.h:
11451         * lyxrc.C: remove file->new asks for name option, and let
11452           buffer-new take an argument
11453
11454 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * BufferView_pimpl.C: remove unneeded extra repaint()
11457
11458 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11459
11460         * LyXAction.C: allow command-sequence with NoBuffer
11461
11462         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11463
11464 2002-07-10  Angus Leeming  <leeming@lyx.org>
11465
11466         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11467
11468 2002-07-09  Angus Leeming  <leeming@lyx.org>
11469
11470         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11471
11472 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * lengthcommon.h: whitespace
11475
11476         * lyxfunc.C: update scrollbar after goto paragraph
11477
11478         * lyxtext.h: factor out page break drawing, and fix it so
11479           page break/added space paints as selected nicely
11480
11481 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * BufferView_pimpl.C: add FIXMEs, clean up a little
11484
11485 2002-07-09  André Pönitz <poenitz@gmx.net>
11486
11487         * lyxfont.[Ch]: support for wasy symbols
11488
11489 2002-07-08  André Pönitz <poenitz@gmx.net>
11490
11491         * BufferView_pimpl.C: apply John's patch for #93.
11492
11493 2002-07-05  Angus Leeming  <leeming@lyx.org>
11494
11495         * BufferView_pimpl.C (buffer): generate previews if desired.
11496
11497         * LColor.h: add "preview" to the color enum.
11498
11499         * LColor.C (LColor): add a corresponding entry to the items array.
11500
11501         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11502         with this buffer.
11503
11504 2002-07-05  Angus Leeming  <leeming@lyx.org>
11505
11506         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11507         The body of the code is now in the method that is passed an ostream &
11508         rather than a file name.
11509         Pass an additional only_preamble parameter, useful for the forthcoming
11510         preview stuff.
11511
11512 2002-07-03  André Pönitz <poenitz@gmx.net>
11513
11514         * lyxfunc.C: simplify getStatus() a bit for math stuff
11515
11516 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11517
11518         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11519
11520 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11521
11522         * text.C (changeRegionCase): do not change case of all the
11523         document when region ends at paragraph end (bug #461)
11524
11525 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11526
11527         * paragraph.C (startTeXParParams):
11528         (endTeXParParams): add \protect when necessary
11529
11530 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11531
11532         * BufferView_pimpl.C (workAreaExpose): remove warning
11533
11534 2002-06-27  Angus Leeming  <leeming@lyx.org>
11535
11536         * Makefile.am: add lyxlayout_ptr_fwd.h.
11537
11538 2002-06-26  André Pönitz <poenitz@gmx.net>
11539
11540         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11541
11542 2002-06-25  Angus Leeming  <leeming@lyx.org>
11543
11544         * lyxfunc.C (dispatch): Comment out the call to
11545         grfx::GCache::changeDisplay. The method no longer exists now that the
11546         pixmap generation part of the graphics loader has been moved into
11547         InsetGraphics.
11548
11549 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11550
11551         * text2.C: layout as layout
11552
11553         * text.C: layout as layout
11554
11555         * tabular.C (OldFormatRead): layout as layout
11556
11557         * paragraph_pimpl.C (TeXDeeper): layout as layout
11558         (realizeFont): layout as layout
11559
11560         * paragraph.C (writeFile): layout as layout
11561         (validate): layout as layout
11562         (getFont): layout as layout
11563         (getLabelFont): layout as layout
11564         (getLayoutFont): layout as layout
11565         (breakParagraph): layout as layout
11566         (stripLeadingSpaces): layout as layout
11567         (getEndLabel): layout as layout
11568         (getMaxDepthAfter): layout as layout
11569         (applyLayout): layout as layout
11570         (TeXOnePar): layout as layout
11571         (simpleTeXOnePar): layout as layout
11572         (TeXEnvironment): layout as layout
11573         (layout): layout as layout
11574         (layout): layout as layout
11575
11576         * lyxtextclass.C (compare_name): new functor to work with
11577         shared_ptr, layout as layout
11578         (Read): layout as layout
11579         (hasLayout): layout as layout
11580         (operator): layout as layout
11581         (delete_layout): layout as layout
11582         (defaultLayout): layout as layout
11583
11584         * lyxlayout_ptr_fwd.h: new file
11585
11586         * lyxlayout.C (Read): layout as layout
11587
11588         * lyx_cb.C (MenuInsertLabel): layout as layout
11589
11590         * bufferlist.C (newFile): layout as layout
11591
11592         * buffer.C (readLyXformat2): layout as layout
11593         (parseSingleLyXformat2Token): layout as layout
11594         (insertStringAsLines): layout as layout
11595         (asciiParagraph): layout as layout
11596         (latexParagraphs): layout as layout
11597         (makeLinuxDocFile): layout as layout
11598         (simpleLinuxDocOnePar): layout as layout
11599         (makeDocBookFile): layout as layout
11600         (simpleDocBookOnePar): layout as layout
11601         (getLists): layout as layout
11602
11603         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11604
11605         * CutAndPaste.C (cutSelection): layout as layout
11606         (pasteSelection): layout as layout
11607         (SwitchLayoutsBetweenClasses): layout as layout
11608
11609         * BufferView_pimpl.C (Dispatch): layout as layout
11610         (smartQuote): layout as layout
11611
11612         * BufferView2.C (unlockInset): layout as layout
11613
11614 2002-06-24  André Pönitz <poenitz@gmx.net>
11615
11616         * lyxfunc.C: fix #487
11617
11618 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11619
11620         * lyxrc.h:
11621         * lyxrc.C:
11622         * lyxfunc.C: remove display_shortcuts, show_banner
11623
11624 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11625
11626         * Buffer_pimpl.C: oops, update on resize
11627
11628 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * buffer.C:
11631         * converter.C:
11632         * exporter.C:
11633         * lyxfunc.C:
11634         * BufferView.h:
11635         * BufferView.C: use repaint()
11636
11637         * BufferView_pimpl.h:
11638         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11639           as it's a clearer description. Remove superfluous
11640           redraws.
11641
11642 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11643
11644         * text.C: fix bug 488. Not ideal, but getting
11645           getWord() to work properly for the insets that
11646           matter is more difficult ...
11647
11648 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * BufferView_pimpl.C:
11651         * LyXAction.C:
11652         * commandtags.h:
11653         * lyxfunc.C: remove the six million index lyxfuncs to just
11654           one, and DTRT (bug 458)
11655
11656 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11657
11658         * BufferView.h:
11659         * BufferView.C:
11660         * BufferView_pimpl.h:
11661         * BufferView_pimpl.C: clean up resize() stuff,
11662           and unnecessary updateScreen()s
11663
11664 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * BufferView.h:
11667         * BufferView.C:
11668         * BufferView_pimpl.h:
11669         * BufferView_pimpl.C:
11670         * lyxfind.h:
11671         * lyxfind.C:
11672         * minibuffer.C: remove focus management of workarea,
11673           not needed. Use screen's greyOut()
11674
11675 2002-06-17  Herbert Voss  <voss@lyx.org>
11676
11677         * converter.C: (convert) do not post a message, when converting
11678         fails, let the calling function decide what to do in this case
11679
11680 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11681
11682         * lyxfunc.C: tidy up a little
11683
11684 2002-06-16    <alstrup@diku.dk>
11685
11686         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11687         Got rid of FORMS_H_LOCATION include. Now we are
11688         GUII.
11689
11690 2002-06-15  LyX Development team  <lyx@rilke>
11691
11692         * buffer.[Ch] (sgmlOpenTag):
11693         (sgmlCloseTag): Added support for avoiding pernicious mixed
11694         content. Return number of lines written.
11695
11696         (makeLinuxDocFile):
11697         (makeDocBookFile): Fixed calls to sgml*Tag.
11698         Simple white space clean.
11699
11700         (simpleDocBookOnePar): Simple white space clean.
11701
11702         * tabular.[Ch] (docBook): Renamed to docbook and got another
11703         argument to related with the pernicious mixed content.
11704
11705         (docbookRow): Fixed calls for docbook inset method.
11706
11707 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11708
11709         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11710         so it's X11 independent.
11711
11712         * kb*.[Ch]: ditto.
11713
11714         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11715
11716 2002-06-15  Lyx Development team  <lyx@electronia>
11717
11718         * intl.h: Renamed getTrans to getTransManager.
11719
11720 2002-06-14  Angus Leeming  <leeming@lyx.org>
11721
11722         * Makefile.am: nuke forgotten stl_string_fwd.h.
11723
11724 2002-06-12  Angus Leeming  <leeming@lyx.org>
11725
11726         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11727
11728 2002-06-13  Angus Leeming  <leeming@lyx.org>
11729
11730         * LaTeX.C:
11731         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11732
11733 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11734
11735         * kbmap.C (getiso): add support for cyrillic and greek
11736
11737 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * BufferView.h:
11740         * BufferView.C:
11741         * BufferView_pimpl.h:
11742         * BufferView_pimpl.C: move bogus scrolling logic
11743           to xforms
11744
11745 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * lyxfunc.C:
11748         * BufferView_pimpl.C: view->resize() change
11749
11750 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11751
11752         * BufferView_pimpl.C: topCursorVisible
11753           prototype change
11754
11755 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * Makefile.am:
11758         * lyx_gui.h:
11759         * lyx_gui.C: move to frontends/
11760
11761         * main.C:
11762         * lyx_main.h:
11763         * lyx_main.C: changes from above
11764
11765 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11766
11767         * intl.C:
11768         * intl.h:
11769         * kbmap.C:
11770         * kbsequence.C:
11771         * lyx_cb.C:
11772         * lyx_main.C: minor tidy
11773
11774 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11775
11776         * BufferView_pimpl.h:
11777         * BufferView_pimpl.C:
11778         * BufferView.h:
11779         * BufferView.C: make painter() const,
11780           remove dead code
11781
11782         * BufferView2.C: use screen() accessor
11783
11784         * lyx_main.h:
11785         * lyx_main.C: some minor cleanup
11786
11787 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11788
11789         * BufferView_pimpl.h:
11790         * BufferView_pimpl.C: remove enter/leaveView,
11791           use workHeight()
11792
11793 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11794
11795         * BufferView.h:
11796         * BufferView.C:
11797         * BufferView2.C:
11798         * BufferView_pimpl.h:
11799         * BufferView_pimpl.C: only construct screen once,
11800           rename
11801
11802         * lyxrc.C: remove pointless comment
11803
11804 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * BufferView.h:
11807         * BufferView.C: remove active() and belowMouse()
11808
11809         * BufferView_pimpl.h:
11810         * BufferView_pimpl.C: use workarea() not workarea_,
11811           and make it use a scoped_ptr instead
11812
11813 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * lyx_gui.C: add debug message on BadWindow
11816
11817 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11818
11819         * sp_spell.C: fdopen is not part of the C++ standard.
11820
11821         * paragraph.C (InsetIterator): use >= instead of ==
11822
11823 2002-06-07  Angus Leeming  <leeming@lyx.org>
11824
11825         Fixes needed to compile with Compaq cxx 6.5.
11826         * BufferView_pimpl.C:
11827         * DepTable.C:
11828         * buffer.C:
11829         * converter.C:
11830         * encoding.C:
11831         * lyx_gui.C:
11832         * lyx_main.C:
11833         * lyxtextclasslist.C:
11834         * minibuffer.C:
11835         * sp_spell.C:
11836         * tabular_funcs.C:
11837         * vc-backend.C:
11838         all c-library variables have been moved into namespace std. Wrap
11839         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11840
11841         * lyxlength.C:
11842         * tabular-old.C:
11843         * tabular.C:
11844         Add a using std::abs declaration.
11845
11846         * kbmap.h (modifier_pair):
11847         * paragraph.h (InsetTable, InsetList):
11848         * lyxfont.h (FontBits):
11849         type definition made public.
11850
11851         * bufferlist.C (emergencyWriteAll): the compiler complains that
11852         there is more than one possible lyx::class_fun template to choose from.
11853         I re-named the void specialisation as lyx::void_class_fun.
11854
11855         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11856
11857         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11858         the compiler is is unable to find tostr in write_attribute.
11859
11860 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11861
11862         * buffer.C (sgmlError): hide #warning
11863
11864 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11865
11866         * xtl/*: get rid of xtl, which is not in use anyway
11867
11868         * LyXAction.C (init):
11869         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11870         were unimplemented xtl experimentation
11871
11872 2002-06-04  André Pönitz <poenitz@gmx.net>
11873
11874         * lyxfunc.C: disable array operation on simple formulae
11875
11876 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11877
11878         * converter.C: constify a bit
11879
11880 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * lyx_gui.C: check xforms version correctly
11883
11884 2002-04-30  Herbert Voss  <voss@lyx.org>
11885
11886         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11887         "keep" option
11888
11889 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11892           attempt to register it with a VCS)
11893
11894 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11895
11896         * lyx_main.C (init): honor variables LYX_DIR_13x and
11897         LYX_USERDIR_13x
11898
11899 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11900
11901         * buffer.h:
11902         * buffer.C:
11903         * lyx_main.C: fix a crash on bad command line,
11904           and give a useful exit status on error
11905
11906         * lyxfunc.C (doImport): allow -i lyx to work
11907
11908 2002-03-30  André Pönitz <poenitz@gmx.net>
11909
11910         * lyxfunc.C: mathed font changes
11911
11912 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11913
11914         * LaTeX.C:
11915         * importer.h:
11916         * importer.C:
11917         * lyx_sty.h:
11918         * lyx_sty.C:
11919         * lyxlex.C:
11920         * lyxrow.h:
11921         * lyxtext.h:
11922         * paragraph.h:
11923         * paragraph.C:
11924         * texrow.h:
11925         * texrow.C:
11926         * text.C:
11927         * trans_mgr.h: srcdocs, and some minor cleanups
11928
11929 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11930
11931         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11932         call getFont all the time)
11933
11934 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11935
11936         * switch from SigC signals to boost::signals
11937
11938 2002-05-29  André Pönitz <poenitz@gmx.net>
11939
11940         * paragraph_pimpl.C (getChar): don't call size() too often...
11941
11942 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11943
11944         * paragraph_pimpl.C (insertChar): do not try to update tables when
11945         appending (pos == size())
11946
11947         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11948         in order to reduce drastically the number of comparisons needed to
11949         parse a large document
11950
11951 2002-05-29  André Pönitz <poenitz@gmx.net>
11952
11953         * text.C:
11954         * text2.C:
11955         * lyxtextclass.C:
11956         * sp_pspell.h:
11957         * textclasslist.[Ch]:
11958         * sp_ispell.h: whitespace change
11959
11960 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11961
11962         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11963         lyxaction directly now.
11964
11965 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * trans.C:
11968         * lyxfont.C:
11969         * lyxvc.C: remove unused headers
11970
11971 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11972
11973         * Makefile.am:
11974         * buffer.h:
11975         * undostack.h:
11976         * undostack.C:
11977         * undo_funcs.h:
11978         * undo_funcs.C: some cleanups. Use shared_ptr
11979           and a template for the undo stacks.
11980
11981 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11982
11983         * BufferView_pimpl.h:
11984         * BufferView_pimpl.C:
11985         * kbmap.h:
11986         * kbmap.C:
11987         * kbsequence.h:
11988         * kbsequence.C:
11989         * lyxfunc.h:
11990         * lyxfunc.C:
11991         * text2.C: use key_state/mouse_state
11992
11993 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11994
11995         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11996         and LSubstring
11997
11998         * chset.C: change include order
11999         (loadFile): use boost regex and get rid of LRegex and LSubstring
12000
12001         * Makefile.am (BOOST_LIBS): new variable
12002         (lyx_LDADD): use it
12003
12004         * LaTeX.C: change include order.
12005         (scanAuxFile): use boost regex and get rid of LRegex and
12006         LSubstring
12007         (deplog): ditto
12008
12009 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * ColorHandler.h:
12012         * ColorHandler.C:
12013         * FontInfo.h:
12014         * FontInfo.C: moved to frontends/xforms/
12015
12016         * FontLoader.h:
12017         * FontLoader.C: moved into frontends for GUIIzation
12018
12019         * Makefile.am:
12020         * lyx_gui.C:
12021         * lyxfont.C:
12022         * lyxfunc.C: changes from above
12023
12024 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * LColor.C: remove spurious X include
12027
12028         * BufferView_pimpl.C:
12029         * Makefile.am:
12030         * font.h:
12031         * font.C:
12032         * text.C:
12033         * text2.C: move font metrics to frontends/
12034
12035 2002-05-24  Juergen Vigna  <jug@sad.it>
12036
12037         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12038         setting the undo_cursor.
12039
12040         * ParagraphParameters.h: include local includes first.
12041
12042 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * BufferView_pimpl.C:
12045         * BufferView_pimpl.h:
12046         * Makefile.am:
12047         * WorkArea.h:
12048         * WorkArea.C:
12049         * screen.C: move WorkArea into frontends/
12050
12051         * lyxscreen.h:
12052         * screen.C:
12053         * text.C:
12054         * BufferView.C:
12055         * BufferView2.C: move LyXScreen into frontends/
12056
12057         * lyxlookup.h:
12058         * lyxlookup.C:
12059         * lyx_gui.C: move lyxlookup into frontends/xforms/
12060
12061 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * BufferView2.C:
12064         * BufferView_pimpl.C:
12065         * FontLoader.C:
12066         * LyXView.h:
12067         * LyXView.C:
12068         * Makefile.am:
12069         * WorkArea.C:
12070         * XFormsView.h:
12071         * XFormsView.C:
12072         * buffer.C:
12073         * bufferlist.C:
12074         * bufferview_funcs.C:
12075         * converter.C:
12076         * importer.C:
12077         * lyx_cb.C:
12078         * lyx_gui.C:
12079         * lyx_main.C:
12080         * lyx_find.C:
12081         * lyxfunc.C:
12082         * lyxvc.C:
12083         * minibuffer.C:
12084         * text.C:
12085         * text2.C:
12086         * trans.C:
12087         * vc-backend.C: move LyX/XFormsView into frontends/
12088
12089 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * Makefile.am:
12092         * PainterBase.C:
12093         * PainterBase.h:
12094         * Painter.C:
12095         * Painter.h:
12096         * WorkArea.C:
12097         * WorkArea.h:
12098         * screen.C:
12099         * tabular.C:
12100         * text.C:
12101         * text2.C: move Painter to frontends/
12102
12103 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * buffer.C: comment out some some code that depend upon lyx_format
12106         < 220
12107
12108         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12109         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12110
12111         * buffer.h (NO_COMPABILITY): turn off compability
12112
12113         * ColorHandler.C: include scoped_array.hpp
12114
12115         * font.C: Use more specific smart_ptr header.
12116         * Painter.C: ditto
12117         * gettext.C: ditto
12118         * ShareContainer.h: ditto
12119         * lyx_main.h: ditto
12120         * kbmap.h: ditto
12121         * FontInfo.h: ditto
12122         * BufferView_pimpl.h: ditto
12123         * ColorHandler.h: ditto
12124
12125         * kbmap.C (defkey): change call to shared_ptr::reset
12126
12127 2002-05-21  Juergen Vigna  <jug@sad.it>
12128
12129         * buffer.C (insertErtContents): fix to insert ert asis if it is
12130         non empty. Skip it completely if it contains only whitespaces.
12131
12132 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * BufferView_pimpl.C:
12135         * BufferView2.C: clear selection on paste (bug 393)
12136
12137 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12138
12139         * DepTable.C: include ctime
12140
12141 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12142
12143         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12144
12145 2002-05-14  Juergen Vigna  <jug@sad.it>
12146
12147         * text.C (breakParagraph): fixed function to honor the keepempty
12148         layout in the right maner and also to permit the right breaking
12149         algorithm on empty or non empyt keepempty paragraphs.
12150
12151         * paragraph.C (breakParagraph): we have to check also if the par
12152         is really empty (!size()) for isempty otherwise we do the wrong
12153         paragraph break.
12154
12155 2002-05-10  Juergen Vigna  <jug@sad.it>
12156
12157         * buffer.[Ch] : The following are only changes to the ert
12158         compatibility read reading old LaTeX layout and font stuff and
12159         convert it to ERTInsets.
12160
12161         * buffer.h: added isErtInset().
12162
12163         * buffer.C (struct ErtComp): add a fromlayout bool to check
12164         if we're inside a LaTeX layout.
12165         (isErtInset): new helper function.
12166         (insertErtContents): look for other ert insets before this one
12167         and insert the contents there, so that we don't have subsequent
12168         ERT insets with nothing between them. This way we create only one
12169         inset with multiple paragraphs. Also check if we don't insert only
12170         spaces ' ' as they are ignored anyway afterwards in the .tex file
12171         so if we have only spaces we will ignore this latex part in the
12172         new file.
12173         (parseSingleLyXformat2Token \\layout): better compatibility when
12174         reading layout-latex stuff.
12175         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12176         language tag.
12177         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12178         stuff after reading the inset only get the information back from
12179         the stack.
12180
12181 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12182
12183         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12184
12185         * LaTeXFeatures.C (getBabelOptions): New method.
12186
12187 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * BufferView_pimpl.C (Dispatch): work around missing argument for
12190         'layout'
12191
12192 2002-05-08  Juergen Vigna  <jug@sad.it>
12193
12194         * text.C (leftMargin): handle paragraph leftindent.
12195
12196         * paragraph.C (writeFile): write the new \\leftindent tag.
12197         (validate): handle leftindent code.
12198         (TeXEnvironment): handle paragraphleftindent code again.
12199
12200         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12201
12202         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12203         for paragrap_extra indent code and new token \\leftindent.
12204         (latexParagraphs): handle the leftindent as environment.
12205
12206         * ParameterStruct.h: added leftindent support.
12207
12208         * ParagraphParameters.C (leftIndent): added support functions for
12209         the paragraph left indent.
12210
12211         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12212         more appropriate.
12213
12214 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12215
12216         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12217         inside insetERT.
12218
12219         * text.C (computeBidiTables): No bidi in insetERT.
12220
12221         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12222         in RTL documents.
12223
12224 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12225
12226         * version.C.in: pre 5
12227
12228 2002-05-02  José Matos  <jamatos@fep.up.pt>
12229         * buffer.C (makeDocBookFile): white space changes, add newline to
12230         command styles.
12231         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12232
12233         * tabular.C (docBook): fix typo.
12234
12235 2002-05-03  Juergen Vigna  <jug@sad.it>
12236
12237         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12238         change in LyXText as we can not be sure it was not freed.
12239         (drawOneRow): remove unused code.
12240
12241         * text.C (drawInset): redo the calculation of the need_break_row as
12242         it could have a row which was already freed.
12243         (draw): look at the return value of drawInset and return false if
12244         it also returned false.
12245         (paintRowText): look at the return value of draw and return false if
12246         it also returned false.
12247
12248         * lyxtext.h: added bool return type to drawInset() and draw() so that
12249         if we have a change in the row so that the rowbreak has to be redone
12250         we abort drawing as it will be called again.
12251
12252 2002-05-02  Juergen Vigna  <jug@sad.it>
12253
12254         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12255         a change in the maintext also if we're inside an inset.
12256         (Dispatch): set the cursor again after a break line and after the
12257         screen has been updated as it could be we're in a different row.
12258
12259         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12260         to set the cursor behind the pargraph with > size().
12261         (setCursor): check also for the same paragraph when checking where
12262         to put the cursor if we have a NFR inset.
12263
12264         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12265         parts of layout read further up as it still was in the wrong
12266         position.
12267
12268 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * screen.C (drawFromTo): change sine fullRebreak always return
12271         true.
12272
12273         * buffer.C (parseSingleLyXformat2Token): reindent some
12274
12275         * BufferView_pimpl.C (update): change since fullRebreak always
12276         return true.
12277         (Dispatch): git rid of the last hardcoded "Standard"s.
12278
12279 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12280
12281         * text2.[Ch] (fullRebreak): make it return void now that we always
12282         returned true.
12283
12284 2002-04-30  Juergen Vigna  <jug@sad.it>
12285
12286         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12287         ert compatibility check for "latex" layout.
12288
12289 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12290
12291         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12292         minipages: use col% instead of p%, and also use the current font.
12293         (makeLaTeXFile): Fix use babel condition.
12294         (parseSingleLyXformat2Token): Correct font when reading old floats.
12295
12296 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12297
12298         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12299         inserting list of floats.
12300
12301 2002-04-25  Herbert Voss  <voss@lyx.org>
12302
12303         * MenuBackend.C (expand): don't add the graphics extensions to the
12304         export menu
12305
12306 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12307
12308         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12309         non-existing layout, do not complain if it was the default layout
12310         of the original class (bug #342)
12311
12312 2002-04-24  Juergen Vigna  <jug@sad.it>
12313
12314         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12315         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12316
12317 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12318
12319         * buffer.C (getBibkeyList): If using \bibliography, return the
12320         option field with the reference itself. Enables us to provide natbib
12321         support when using \bibliography.
12322
12323 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12324
12325         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12326
12327         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12328         natbib is provided by the LaTeX class.
12329
12330 2002-04-23  Juergen Vigna  <jug@sad.it>
12331
12332         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12333         Wakeup functions.
12334
12335         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12336
12337 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12338
12339         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12340
12341         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12342         ensuremath around textordmasculine, textordfeminine and
12343         textdegree.
12344
12345 2002-04-19  Juergen Vigna  <jug@sad.it>
12346
12347         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12348         reinitializing the buffer otherwise row-dimensions may be wrong.
12349         (update): reset also the selection cursors if they do exits otherwise
12350         their x/y positions may be wrong.
12351
12352         * text2.C (cursorDown): don't enter the inset if we came from a row
12353         above and are one row over the inset.
12354
12355         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12356         really leaving an inset.
12357
12358 2002-04-18  Juergen Vigna  <jug@sad.it>
12359
12360         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12361         of the selected paragraph does not have the selected layout also if
12362         the last one had!
12363
12364         * text2.C (setLayout): fixed bug which did not change last selected
12365         paragraph.
12366
12367         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12368         changed the read and substituted \\end_float with \\end_inset!
12369
12370         * BufferView_pimpl.C (cursorPrevious):
12371         (cursorNext): fixed to make it work with rows heigher than the work
12372         area without moving the cursor only the draw of the row.
12373         (workAreaMotionNotify): fix jumping over high rows.
12374
12375 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12376
12377         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12378         Ressler.
12379
12380 2002-04-16  Juergen Vigna  <jug@sad.it>
12381
12382         * text2.C (setCursor): set also the irow().
12383         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12384         (cursorUp):
12385         (cursorDown): support for locking an inset if the x_fix value goes
12386         inside it. That way I can transverse insets too with cursor up/down.
12387
12388         * lyxrow.h: added irow helper function same as other (i) functions.
12389
12390         * BufferView_pimpl.C (cursorPrevious):
12391         (cursorNext): fixed for insets!
12392
12393 2002-04-15  Juergen Vigna  <jug@sad.it>
12394
12395         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12396         position otherwise it is wrong in some cases.
12397
12398         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12399         inside the inset before the call.
12400
12401 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12402
12403         * buffer.[Ch] (getBibkeyList): make it const.
12404
12405 2002-04-12  Juergen Vigna  <jug@sad.it>
12406
12407         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12408
12409         * text2.C (getCursorX): new helper function
12410         (setCursor): compute also ix_
12411         (setCursorFromCoordinates): set also ix.
12412
12413         * lyxcursor.h: added ix_ and helper functions.
12414
12415         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12416
12417         * buffer.C (insertStringAsLines): dont break paragraph if the this
12418         paragraph is inside an inset which does not permit it!
12419
12420         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12421         also with no chars on this paragraph.
12422         (paintRowText): only paint stuff if it's inside the workarea!
12423
12424         * paragraph.C (breakParagraph): honor keepempty flag and break the
12425         paragraph always below not above.
12426
12427         * BufferView2.C (unlockInset): update the paragraph layout on inset
12428         unlock as we changed paragraph in such a case.
12429
12430         * lyxfind.C (LyXFind): clear the former selection if not found!
12431
12432         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12433         again called in insertChar().
12434
12435         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12436         an inset which uses the whole row!
12437         (rightMargin): ditto.
12438         (insertChar): force a rebreak if we inserted an inset!
12439
12440 2002-03-28  Herbert Voss  <voss@lyx.org>
12441
12442         * lyxlength.[Ch]: add inBP() to get the right PS-point
12443         units (BigPoint). With inPixels we have rounding errors
12444
12445 2002-04-11  Juergen Vigna  <jug@sad.it>
12446
12447         * text2.C (setCursorFromCoordinates): set iy to the right value.
12448         (setCursor): add check if row->previous exists!
12449
12450         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12451         an old float_type as this was the case in the old code!
12452
12453         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12454
12455         * BufferView2.C (showLockedInsetCursor): use iy
12456         (fitLockedInsetCursor): ditto
12457
12458         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12459         locked insets as there we have the right value now.
12460
12461         * lyxcursor.C: added iy_ variable and iy functions to set to the
12462         baseline of cursor-y of the locked inset.
12463
12464         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12465         (setCursor): fixed for insets which need a full row.
12466
12467         * text.C (rowLastPrintable): don't ignore the last space when before
12468         an inset which needs a full row.
12469         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12470         as last character of a row when before a inset which needs a full row.
12471
12472 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12473
12474         * version.C.in: update date
12475
12476         * text2.C (fullRebreak): try to always return true and see what
12477         happens...
12478
12479 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12480
12481         * MenuBackend.C (expand): use Floating::listName
12482
12483         * FloatList.C (FloatList): add listName argument to the built-in
12484         floats
12485
12486         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12487         text associated with the float.
12488
12489 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12490
12491         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12492
12493 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12494
12495         * ShareContainer.h: add a couple of missing typenames.
12496
12497 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12498
12499         * lyxrc.C (getDescription): use _() correctly rather than N_().
12500
12501 2002-03-28  Herbert Voss  <voss@lyx.org>
12502
12503         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12504         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12505
12506 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12507
12508         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12509         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12510
12511 2002-03-29  Juergen Vigna  <jug@sad.it>
12512
12513         * lyxfunc.C (dispatch): add a missing fitCursor call.
12514
12515         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12516         it was scrolled by a cursor move, so return the bool status.
12517
12518         * BufferView.C (fitCursor): return the bool flag also to the outside
12519         world as this is needed.
12520
12521         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12522
12523         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12524         call the edit() as it is not needed (and wrong) IMO.
12525         (workAreaButtonPress): set the screen_first variable before evt.
12526         unlock the inset as this may change screen_first and then we have
12527         a wrong y position for the click!
12528
12529 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12530
12531         * MenuBackend.C (expand): another translation that I missed
12532
12533 2002-03-28  Juergen Vigna  <jug@sad.it>
12534
12535         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12536
12537         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12538
12539 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12540
12541         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12542
12543         * MenuBackend.C (expand): fix export/view/update when there is no
12544         document open.
12545
12546 2002-03-27  Herbert Voss  <voss@lyx.org>
12547
12548         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12549         and text%
12550
12551 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12552
12553         * bufferview_funcs.C (currentState): only show paragraph number
12554         for is DEVEL_VERSION is set.
12555
12556         * lyxfunc.C (dispatch): put warning in INFO channel
12557
12558         * MenuBackend.C (expand): translate the name of floats
12559
12560         * FloatList.C (FloatList): mark the float names for translation
12561
12562         * converter.C (convert): use LibScriptSearch
12563
12564 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12565
12566         * MenuBackend.C (defaults): fix default menu (we might as well get
12567         rid of it...)
12568
12569 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12570
12571         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12572         directory.
12573
12574 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * lyxvc.C: reorder includes.
12577
12578 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12581           properly
12582
12583 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12584
12585         * CutAndPaste.C: change layouts earlier on paste
12586           to avoid crashing when calling getFont()
12587
12588 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12589
12590         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12591         irritating #error.
12592
12593 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * WorkArea.C: remove 'Pending' debug message.
12596
12597         * most files: ws cleanup
12598
12599         * buffer.[Ch]: ws changes
12600
12601         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12602
12603 2002-03-21  Juergen Vigna  <jug@sad.it>
12604
12605         * tabular.C (SetMultiColumn): collapse also the contents of the
12606         cells and set the last border right. Added a Buffer const * param.
12607
12608 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12611         linking or not.
12612
12613 2002-03-19  Juergen Vigna  <jug@sad.it>
12614
12615         * text2.C (clearSelection): reset also xsel_cache.
12616
12617         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12618         where it needs to be called (John tells us to do so too :)
12619         (selectionLost): reset sel_cache.
12620
12621         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12622
12623 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12624
12625         * text2.C (setCursorIntern): put debuging code in INSETS channel
12626
12627 2002-03-19  André Pönitz <poenitz@gmx.net>
12628
12629         * lyxfunc.C: tiny whitespace change
12630
12631 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12632
12633         * ToolbarDefaults.C (init):
12634         * LyXAction.C (init):
12635         * commandtags.h:
12636         * BufferView_pimpl.C (Dispatch):
12637         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12638
12639 2002-03-19  Allan Rae  <rae@lyx.org>
12640
12641         * exporter.C (Export): removeAutoInsets before doing anything else.
12642         While I've just introduced a dependency on BufferView this really is
12643         the best place to clean the buffer otherwise you need to cleanup in
12644         a dozen places before calling export or cleanup in a dozen functions
12645         that export calls.
12646
12647         * converter.C (runLaTeX):
12648         (scanLog): Better handling of removeAutoInsets and screen updates.
12649
12650         * lyxfunc.C (dispatch): small whitespace changes
12651
12652 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12653
12654         * WorkArea.C (C_WorkAreaEvent): return a value.
12655         (event_cb): return 1 if we handled the event, 0 otherwise.
12656
12657         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12658
12659 2002-03-18  Juergen Vigna  <jug@sad.it>
12660
12661         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12662         (GetAdditionalWidth): ditto.
12663         (RightLine): ditto.
12664         (LeftLine): ditto.
12665
12666         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12667         inset if we're there actually (probably not used right now but this
12668         is the direction to go for unifying code).
12669         (paste): disable code to clear the selection.
12670
12671         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12672         inside an InsetText and move the check further up as it is in the
12673         wrong place.
12674
12675         * text2.C (pasteSelection): set a selection over the pasted text.
12676
12677 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12678
12679         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12680         and libgraphics to build on Cygwin.
12681
12682 2002-03-15  Juergen Vigna  <jug@sad.it>
12683
12684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12685         inserting an Inset into the paragraph. I know this is not the best
12686         fix but we already use current_view in CutAndPaste so we will remove
12687         all of it's using at the same time.
12688
12689         * buffer.C (sgmlError): deactivated function till it is rewritten in
12690         the right mode, now it can create problems.
12691
12692         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12693         before accessing it.
12694
12695 2002-03-14  Juergen Vigna  <jug@sad.it>
12696
12697         * undo_funcs.C (textHandleUndo): do the right thing when updating
12698         the inset after the undo/redo.
12699
12700         * text2.C (setCursor): just some testcode for #44 not ready yet.
12701
12702         * undo_funcs.C (textHandleUndo): set the next() and previous()
12703         pointers of the paragraph to 0 before deleting otherwise we have
12704         problems with the Paragraph::[destructor].
12705
12706         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12707         on a paragraph insertion.
12708
12709 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * buffer.C (asciiParagraph): use += operator for char append to
12712         string.
12713
12714         * paragraph.C (getFontSettings): compare >= not just >
12715         (highestFontInRange): ditto
12716         (setFont): ditto
12717
12718 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * paragraph.C: change several algorithm to be more appripriate for
12721         the problem domain. This is lookip in FontList and in the InsetList.
12722
12723 2002-03-13  André Pönitz <poenitz@gmx.net>
12724
12725         * commandtags.h:
12726         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12727
12728 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12729
12730         * commandtags.h:
12731         * LyXAction.C:
12732         * lyxfunc.C:
12733         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12734
12735 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * Painter.C (display): anon helper function, adjust code for this
12738         change.
12739         (pixmap): remove function.
12740
12741         * Painter.h: remove private display variable.
12742
12743         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12744
12745 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12746
12747         * WorkArea.[Ch]: remove figinset_canvas cruft.
12748
12749 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * lyxtextclass.C (operator): add one item cache optimization.
12752
12753         * bufferlist.h: doxy changes
12754
12755         * bufferlist.C: ws changes
12756
12757         * DepTable.[Ch] (ext_exist): place const in the right spot.
12758
12759         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12760         call resizeInsets.
12761         (workAreaExpose): call resizeInsets when the with BufferView changes.
12762         (Dispatch): adjust for protectedBlank removal
12763         (specialChar): call updateInset if the insert went ok.
12764
12765         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12766         specialChar instead.
12767
12768         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12769
12770         * BufferView.h: doxy change
12771
12772         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12773
12774         * lyxtextclass.C (operator[]): remove non-const version
12775         (defaultLayout): remove non-const version
12776
12777 2002-03-12  Juergen Vigna  <jug@sad.it>
12778
12779         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12780         did resize the LyXText too.
12781
12782         * buffer.C (readLyXformat2): set layout information on newly allocated
12783         paragraphs.
12784
12785         * tabular.C (OldFormatRead): set layout information on the paragraph.
12786
12787 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12788
12789         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12790
12791 2002-03-11  Juergen Vigna  <jug@sad.it>
12792
12793         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12794         plainly wrong.
12795         (resizeCurrentBuffer): force also the insets to resize themselfes.
12796         (moveCursorUpdate): fixed up for InsetText.
12797
12798 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12799
12800         * commandtags.h:
12801         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12802         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12803         value of Dialogs::tooltipsEnabled().
12804         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12805
12806 2002-03-08  Juergen Vigna  <jug@sad.it>
12807
12808         * BufferView_pimpl.C (updateInset): update inset inside inset also
12809         if it isn't inside theLockingInset().
12810
12811 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * buffer.C (asciiParagraph): redo some of the word and line length
12814         handling.
12815         (getLists): look for Caption instead of caption.
12816
12817 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12818
12819         * buffer.C (Buffer): initialize niceFile to true
12820         (makeLaTeXFile):
12821         (makeLinuxDocFile):
12822         (makeDocBookFile): make sure niceFile is true on exit
12823
12824 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12825
12826         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12827
12828 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12829
12830         * LyXSendto.C: remove.
12831         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12832         * lyx_gui.C: remove now-redundant comment.
12833         * ColorHandler.h: remove forward declaration of class WorkArea.
12834         * lyxfunc.C: remove #include "WorkArea.h".
12835
12836 2002-03-07  Juergen Vigna  <jug@sad.it>
12837
12838         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12839         got moved away with the DEPM and also set the inset_owner always
12840         right which before could have been omitted.
12841
12842 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12843
12844         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12845         wanted layout is not found.
12846
12847 2002-03-07  Juergen Vigna  <jug@sad.it>
12848
12849         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12850
12851 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * paragraph.C (breakParagraph): use default layout not layout of
12854         prev paragraph.
12855         (Paragraph): clear ParagraphParameters.
12856
12857 2002-03-06  Juergen Vigna  <jug@sad.it>
12858
12859         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12860         otherwise it would not be a valid lenght. Fixed a special case in
12861         the minipage compatibility read where we end the document with a
12862         minipage.
12863
12864         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12865         was set as it could be 0 for InsetTexts first entry.
12866
12867 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * paragraph.C (writeFile): if layout is empty write out
12870         defaultLayoutName().
12871
12872         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12873         file without named layout we set layout to defaultLayoutName().
12874
12875 2002-03-06  Juergen Vigna  <jug@sad.it>
12876
12877         * CutAndPaste.C (copySelection): set layout for new paragraph.
12878
12879         * text.C (prepareToPrint): leave ERT inset left aligned
12880         (leftMargin): don't indent paragraphs inside ERT insets
12881
12882 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12883
12884         * paragraph.C (breakParagraph): dont call clear do the work manually
12885
12886         * paragraph.[Ch] (clear): remove function
12887
12888 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * paragraph.C (Paragraph): dont call clear, the work has already
12891         been done.
12892
12893         * lyxtextclass.C (operator): assert if n is empty
12894
12895         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12896         work manually instead.
12897
12898 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12899
12900         * BufferView_pimpl.C: protect selectionLost against text == 0
12901
12902 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12903
12904         * text.C (breakParagraph): fix a setting layout to '0' problem.
12905
12906 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12907
12908         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12909         final location of file, for the included files, and graphics.
12910
12911 2002-03-05  Juergen Vigna  <jug@sad.it>
12912
12913         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12914
12915 2002-03-04  Juergen Vigna  <jug@sad.it>
12916
12917         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12918
12919         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12920         last column of multicolumn cells.
12921         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12922
12923 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12924
12925         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12926         file if it doesn't go to a temporary file.
12927
12928         * buffer.C (sgmlOpenTag):
12929         (sgmlCloseTag):  remove extra newline insertion.
12930
12931 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * text.C (getRowNearY): comment out debug msg
12934
12935 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * text2.C: first -> first_y
12938
12939         * text.C (getRowNearY): add some attemts at a possible
12940         optimization, not working.
12941
12942         * tabular.[Ch]: add BufferParams to several function so that newly
12943         created paragraph can be initialized to he default layotu for the
12944         buffers textclass.
12945
12946         * tabular-old.C (ReadOld): add buf->params to call of Init
12947
12948         * screen.C: rename text->first to text->first_y
12949
12950         * paragraph.C (breakParagraph): always set layout in the broken
12951         paragraph
12952
12953         * lyxtextclass.C (Read): remove lowercase
12954         (hasLayout): ditto
12955         (operator): ditto
12956         (delete_layout): ditto
12957
12958         * lyxtext.h: rename first -> first_y
12959
12960         * lyxlayout.C (Read): remove lowercase
12961         (name): ditto
12962         (setName): ditto
12963         (obsoleted_by): ditto
12964
12965         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12966
12967         * buffer.C (insertErtContents): add params are to InsetERT
12968         (parseSingleLyXformat2Token): add code to check if a paragraphs
12969         layout really exist.
12970         (parseSingleLyXformat2Token): add params to several inset
12971         constructors
12972         (asciiParagraph): remove lowercase, do the layout comparisons with
12973         no_case
12974
12975         * BufferView_pimpl.C (cursorNext): first -> first_y
12976         (resizeCurrentBuffer): first -> first_y
12977         (updateScrollbar): first -> first_y
12978         (scrollCB): first -> first_y
12979         (workAreaMotionNotify): first -> first_y
12980         (workAreaButtonPress): first -> first_y
12981         (checkInsetHit): first -> first_y
12982         (cursorPrevious): first -> first_y
12983         (cursorNext): first -> first_y
12984         (Dispatch): add buffer_->params to severl inset contructors
12985
12986 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12987
12988         * lyxlayout.C (Read): remove some debug info that I forgot.
12989
12990         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12991         clean up the code slightly.
12992         (makeLinuxDocFile): ditto
12993         (makeDocBookFile): ditto
12994
12995         * text2.C: layout as string
12996
12997         * text.C: layout as string
12998
12999         * paragraph_pimpl.C: layout as string
13000
13001         * paragraph.[Ch]: layout as string
13002
13003         * lyxtextclasslist.[Ch]: layout as string
13004
13005         * lyxtextclass.[Ch]: layout as string
13006
13007         * lyxtext.h: layout as string
13008
13009         * lyxlayout.[Ch]: layout as string
13010
13011         * lyx_cb.C: layout as string
13012
13013         * bufferview_funcs.C: layout as string
13014
13015         * bufferparams.C: layout as string
13016
13017         * buffer.C: layout as string
13018
13019         * LyXView.[Ch]: layout as string
13020
13021         * LaTeXFeatures.[Ch]: layout as string
13022
13023         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13024
13025         * BufferView_pimpl.C: change current_layout to string, remove
13026         lyx::layout_type.
13027         (Dispatch):
13028         (smartQuote):
13029         (insertInset):
13030         (workAreaButtonRelease): layout as string
13031
13032         * BufferView2.C (unlockInset): adjust
13033
13034         * vspace.C (asLatexCommand): use an explict temp variable.
13035
13036 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13037
13038         * Makefile.am: use FRONTEND_*
13039
13040 2002-03-01  Juergen Vigna  <jug@sad.it>
13041
13042         * tabular.C (SetWidthOfMulticolCell): changed to something better
13043         I hope but still work in progress.
13044         (recalculateMulticolumnsOfColumn): renamed function from
13045         recalculateMulticolCells as it is more appropriate now.
13046         (SetWidthOfCell): calculate multicols better.
13047
13048 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13049
13050         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13051
13052         * lyxfunc.C (processKeySym): print sequence also if it is
13053         `deleted' (complete)
13054
13055         * kbsequence.C (print): print sequence even if it is deleted
13056         (complete would be a better word, actually).
13057
13058         * lyxfunc.C (dispatch): print complete options after a prefix key
13059
13060         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13061
13062 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13063
13064         * text2.C (setCharFont): eliminate setCharFont code duplication.
13065
13066 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13067
13068         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13069         LFUN_TABULAR_FEATURE (bug #177)
13070
13071 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13072
13073         * Makefile.am: remove figure.h
13074
13075 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13076
13077         * Bufferview_pimpl.C:
13078         * CutAndPasteC:
13079         * LaTeX.C:
13080         * LyXSendto.C:
13081         * buffer.C:
13082         * bufferlist.C:
13083         * converter.C:
13084         * language.C:
13085         * lyxfunc.C:
13086         * lyxvc.C:
13087         * paragraph.C:
13088         * text.C:
13089         * text2.C: remove #include "lyx_gui_misc.h".
13090
13091         * LaTeX.C: added #include <cstdio>
13092
13093 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13094
13095         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13096         that the paragraph following this one can have.
13097
13098         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13099
13100         * vspace.C (asLatexCommand): fix bogus gcc warning
13101
13102         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13103
13104 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13105
13106         * text2.C (setLayout): get rid of redundant code
13107
13108 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13109
13110         * text2.C (incDepth): make sure depth cannot be increased beyond
13111         reasonable values.
13112
13113 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13114
13115         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13116         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13117
13118         * PainterBase.h (image):
13119         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13120         a LyXImage const *.
13121
13122 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13123
13124         * BufferView.C:
13125         * BufferView.h:
13126         * BufferView_pimpl.C:
13127         * BufferView_pimpl.h:
13128         * LaTeXFeatures.C:
13129         * LyXAction.C:
13130         * LyXView.C:
13131         * Makefile.am:
13132         * UpdateList.h:
13133         * UpdateList.C:
13134         * buffer.C:
13135         * figure.h:
13136         * figureForm.C:
13137         * figureForm.h:
13138         * figure_form.C:
13139         * figure_form.h:
13140         * lyx_cb.C:
13141         * lyx_gui.C:
13142         * lyx_gui_misc.C:
13143         * lyxfunc.C:
13144         * sp_base.h:
13145         * sp_ispell.h:
13146         * sp_pspell.h:
13147         * sp_spell.C: remove fig inset, and the crap house of
13148           cards that follows it
13149
13150 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13151
13152         * Makefile.am:
13153         * lyxserver.C:
13154         * os2_defines.h:
13155         * os2_errortable.h:
13156         * nt_defines.h: move .h into support/
13157
13158         * vms_defines.h: remove
13159
13160         * WorkArea.C: add space in debug output
13161
13162         * text2.C:
13163         * paragraph.C:
13164         * buffer.C: add WITH_WARNINGS
13165
13166         * vc-backend.h:
13167         * vc-backend.C:
13168         * bufferlist.C: s/retrive/retrieve/, add docs
13169
13170         * vspace.h:
13171         * vspace.C:
13172         * kbmap.h:
13173         * lyxlength.h:
13174         * lyxgluelength.h:
13175         * length_common.h:
13176         * chset.h:
13177         * chset.C: add docs
13178
13179         * lyxgui.C: add ID to X error handler
13180
13181         * lyxtestclass.c: fix typo
13182
13183 2002-02-26  Juergen Vigna  <jug@sad.it>
13184
13185         * tabular_funcs.C (write_attribute): changed so that some default
13186         attributes are not written at all.
13187         (getTokenValue): set default values before trying to read the
13188         value so we have the return value always set as default if we don't
13189         find the token we search for.
13190
13191         * tabular.C (Write): write bools as bools not as strings!
13192
13193 2002-02-22  Juergen Vigna  <jug@sad.it>
13194
13195         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13196         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13197
13198         * text.C (leftMargin): don't add an indent for paragraphs inside
13199         tabular cells (fix #208).
13200
13201 2002-02-21  José Matos  <jamatos@fep.up.pt>
13202
13203         * tabular.C (docBook): fixed support for long tables.
13204
13205 2002-02-20  Juergen Vigna  <jug@sad.it>
13206
13207         * text2.C (getFont): get the drawing font of the Inset if this
13208         paragraph is inside an inset (only important for InsetERT for now).
13209
13210         * buffer.C (insertErtContents): use new lanugage params in ERT
13211         constructor.
13212
13213         * CutAndPaste.C: commenting out seemingly uneeded code.
13214
13215 2002-02-19  Allan Rae  <rae@lyx.org>
13216
13217         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13218         Iterators might be simple to use but they also get invalidated.
13219         (removeAutoInsets): renamed saved cursor tracking variables and added
13220         some comments to clarify what everything does.
13221
13222 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13223
13224         * Chktex.C:
13225         * LaTeX.C:
13226         * LyXSendto.C:
13227         * converter.C:
13228         * lyx_cb.C:
13229         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13230         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13231
13232         * lyxfunc.C:
13233         * vc-backend.h: remove #include "support/syscall.h"
13234
13235         * LaTeX.C:
13236         * LyXSendto.C:
13237         * converter.C: rearrange #includes in Lars' approved fashion.
13238
13239         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13240         forward declare class Timeout in the header file.
13241
13242         * XFormsView.C: changes due to the above.
13243
13244         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13245         similar to LyXView.
13246
13247         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13248         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13249
13250 2002-02-18  José Matos  <jamatos@fep.up.pt>
13251
13252         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13253         insets contents.
13254
13255 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13256
13257         * a lot of small ws changes
13258         * add a lot of using std::XXX
13259         * use std construcs some places where approp.
13260         * use some exisint stuff from lyxfunctional where approp.
13261         * Make file changes to use partial linking (lets test this now...)
13262
13263 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13264
13265         * Chktex.C:
13266         * buffer.C:
13267         remove #include "support/syscontr.h" as it's redundant. Always has been.
13268
13269         * Chktex.C:
13270         * LaTeX.C:
13271         * LyXSendto.C:
13272         * converter.C:
13273         * lyx_cb.C:
13274         * vc-backend.C:
13275         change Systemcalls::System to Systemcalls::Wait and
13276         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13277         No change of functionality, just reflects the stripped down Systemcalls
13278         class.
13279
13280 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13281
13282         * debug.[Ch]: add a GRAPHICS type to the enum.
13283
13284 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13285
13286         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13287
13288         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13289         there is an inset.
13290
13291 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13292
13293         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13294         match the changes below.
13295
13296         * text2.C (toggleInset): if there is not editable inset at cursor
13297         position, try to see if cursor is _inside_ a collapsable inset
13298         and close it.
13299
13300 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13301
13302         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13303         document menu has a nice checkbox
13304
13305 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13306
13307         * lyxlength.C (asLatexString): change PW to output as percent of
13308         \textwidth.
13309
13310         * lengthcommon.C: change '%' to 't%'
13311
13312         * lyxfunc.C (dispatch): a few comments from Martin
13313
13314 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13315
13316         * WorkArea.h:
13317         * WorkArea.C:
13318         * BufferView_pimpl.h:
13319         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13320           the X selection.
13321
13322 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13323
13324         * vspace.C (inPixels): fix compiler warning
13325
13326 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13327
13328         * lyxfunc.C (getStatus): fix status message for disabled commands.
13329
13330 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13331
13332         * BufferView_pimpl.C: fix crash on close buffer
13333         during selection (#227)
13334
13335 2002-01-27  Herbert Voss  <voss@lyx.org>
13336
13337         * buffer.C: link old Figure to new graphic inset
13338
13339 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * FontLoader.C (getFontinfo): Change the latex font names in order
13342         to match the names of type1inst.
13343
13344 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13345
13346         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13347
13348         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13349         (extchanged): ditto
13350         (ext_exist): ditto
13351         (remove_files_with_extension): ditto
13352         (remove_file): ditto
13353         (write): ditto
13354
13355         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13356         document is smaller than the work area height. Do not initialize
13357         static variables to 0.
13358
13359 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13360
13361         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13362
13363         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13364         LFUN_LAYOUT_PARAGRAPHS.
13365
13366         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13367         tabular. It is possible to provide a possible cell, which will
13368         typically be the actcell from the corresponding insettabular
13369
13370         * lyxfunc.C (getStatus): small cleanup; disable
13371         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13372         true
13373
13374 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13375
13376         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13377
13378         * paragraph.C (startTeXParParams):
13379         (endTeXParParams): new methods. The LaTeX code to
13380         start/end paragraph formatting
13381         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13382         empty (fixes bug #200)
13383
13384         * vspace.C (inPixels): adapt to the change below
13385         (inPixels): [later] more cleanups (remove unused variables)
13386
13387         * lyxlength.C (inPixels): change to use a width and a height as
13388         parameter.
13389
13390 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13391
13392         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13393         Replaced with \paperwidth
13394
13395         * DepTable.C (insert): add std:: qualifier
13396
13397 2002-01-18  Allan Rae  <rae@lyx.org>
13398
13399         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13400         updated also?
13401
13402         * text.C (drawInset): Turned out I didn't know enough about how
13403         rebreaking worked.  This fixes most of the redraw problems.  I see
13404         an occasional cursor trail when a line is broken now and the cursor
13405         placement can seem out by a few pixels also after a rebreak.
13406
13407 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13408
13409         * buffer.C (parseSingleLyXformat2Token): update because minipage
13410         width is now a LyXLength
13411
13412         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13413
13414         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13415         math insets
13416
13417 2002-01-17  Juergen Vigna  <jug@sad.it>
13418
13419         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13420
13421         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13422         is set correctly and the inset is updated correctly.
13423
13424 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13425
13426         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13427         the beginning of the loop.
13428
13429 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13430
13431         * lyxrc.C: improve help for use_scalable_fonts
13432
13433 2002-01-17  Allan Rae  <rae@lyx.org>
13434
13435         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13436
13437 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13438
13439         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13440         make sure to set their inset_owner to the right value (bug #171)
13441
13442 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13443
13444         * DepTable.h
13445         * DepTable.C: Implement mtime checking to reduce time spent doing
13446         CRCs.
13447
13448 2002-01-16  Juergen Vigna  <jug@sad.it>
13449
13450         * tabular.C (GetAdditionalHeight): one of error fixed.
13451
13452         * lyxrc.C (output): small fix in writing use_pspell.
13453
13454 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13455
13456         * sp_base.h: #include LString.h
13457
13458 2002-01-16  Allan Rae  <rae@lyx.org>
13459
13460         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13461         Can someone check this please?
13462
13463         * text.C (drawInset): It was possible that p.row would be removed by
13464         breakAgainOneRow upsetting a few other settings.  There may be another
13465         small tweak possible by setting need_break_row = 0 when p.row has been
13466         removed but I don't know enough about the logic here.
13467
13468 2002-01-15  Allan Rae  <rae@lyx.org>
13469
13470         * text.C (insertChar): removed conditional truism.
13471
13472         * BufferView2.C (removeAutoInsets): More tweaks.
13473         cur_par_prev could be a stray pointer.  Check for trailing empty line
13474         in case last line was cur_par and only had an error inset on it.
13475
13476 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13477
13478         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13479         absolute
13480
13481         * vc-backend.C (most methods):
13482         * exporter.C (Export):
13483         * converter.C (convert):
13484         (runLaTeX):
13485         * LyXSendto.C (SendtoApplyCB):
13486         * lyxfunc.C (dispatch):
13487         (menuNew):
13488         (open):
13489         (doImport):
13490         * lyx_cb.C (AutoSave):
13491         (InsertAsciiFile):
13492         * BufferView_pimpl.C (MenuInsertLyXFile):
13493         * buffer.C (runChktex): use Buffer::filePath().
13494
13495         * buffer.h: rename filename to filename_; rename filepath to
13496         filepath_ and make it private
13497         (filePath): new method
13498
13499         * buffer.C (writeFile): use fileName()
13500         (getLatexName):
13501
13502         * lyx_main.C (init): fix starting  of LyX when the binary is a
13503         link from so,ewhere else.
13504
13505         * minibuffer.C: include <cctype> for isprint
13506
13507 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13508
13509         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13510         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13511         name clash with InsetCollapsable's width function.
13512
13513 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13514
13515         * lastfiles.C: include <iterator>
13516
13517 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13518
13519         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13520         std::count.
13521
13522         * buffer.C (makeLaTeXFile): ditto.
13523         Also make loop operation more transparent.
13524
13525 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13526
13527         * ToolbarDefaults.C: remove trailing comma closing namespace.
13528
13529         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13530
13531         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13532         as in WorkArea.
13533
13534         * trans.C (Load): comment out unused variable, allowed.
13535
13536 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13537
13538         * minibuffer.[Ch] (append_char): new method to recieve input from the
13539         drop-down completion browser. If a key was pressed, then recieve this
13540         char and append it to the existing string.
13541         (peek_event): modify the positioning data passed to the completion
13542         browser so that it can be placed above the minibuffer rather than below.
13543 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13544
13545         * LyXAction.C (init): alloe error-next for readonly documents.
13546
13547         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13548         count.
13549
13550 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13551
13552         * bufferlist.C (readFile): create the buffer _after_ checking that
13553         the file exists.
13554
13555         * lyxfunc.C (verboseDispatch): fix handling of arguments
13556
13557         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13558
13559         * lyxrc.C: use string::erase() instead of initializing to "".
13560
13561
13562 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13563
13564         * BufferView_pimpl.h:
13565         * BufferView_pimpl.C:
13566         * WorkArea.h:
13567         * WorkArea.C:
13568         * text2.C: tell X when we have made a selection for copying
13569
13570 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13571
13572         * BufferView_pimpl.C (MenuInsertLyXFile):
13573         * lyxfunc.C (menuNew):
13574         (open):
13575         (doImport): add shortcuts to directory buttons
13576
13577         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13578         open a float)
13579
13580         * lyxfunc.C (setStatusMessage):
13581         (getStatusMessage): new methods
13582         (getStatus):use setStatusMessage instead of setErrorMessage
13583         (dispatch): when function is disabled, set error message here
13584         [instead of in getStatus previously]
13585
13586         * BufferView_pimpl.C (workAreaButtonRelease): update
13587         toolbar/menubar here too.
13588
13589 2002-01-13  Allan Rae  <rae@lyx.org>
13590
13591         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13592         Now seems indestructible.  Remaining task is to audit all other
13593         code affected by deleteEmptyParagraphMechanism.  One small quirk
13594         left is that an empty document with an error in the preamble can
13595         be made to report an error but no error box appears.  I don't know
13596         where it goes.
13597         (removeAutoInsets): Improved comments.
13598
13599 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13600
13601         * Thesaurus.h:
13602         * Thesaurus.C: update for Aiksaurus 0.14
13603
13604 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * text2.C (firstParagraph): removed member function, all uses
13607         replaces with ownerParagraph
13608         (redoParagraphs): here
13609         (updateInset): here
13610         (toggleAppendix): here
13611         * BufferView2.C (insertErrors): here
13612         (setCursorFromRow): here
13613
13614 2002-01-13  Allan Rae  <rae@lyx.org>
13615
13616         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13617         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13618         There is still a way to segfault this although you may have to do this
13619         multiple times: Have an InsetERT with an unknown command in it.
13620         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13621         <down-arrow>, <Enter> again, View->DVI, BANG!
13622
13623         * text2.C (setCursor):
13624         (deleteEmptyParagraphMechanism):
13625         * lyxtext.h (setCursor):
13626         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13627         Making use of the return value may help fix other bugs.
13628
13629 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13630
13631         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13632
13633         * LyXView.C (updateMenubar): call MenuBar::update here
13634         (updateToolbar): but not here
13635         (showState): do not update toolbar/menubar
13636
13637         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13638         should need to care about that.
13639
13640         * lyxfunc.C (verboseDispatch): simplify a bit
13641         (getStatus): have a version which takes a pseudoaction, and
13642         another which requires a (kb_action,string).
13643
13644         * LyXAction.C (retrieveActionArg): make it work also when action
13645         is not a pseudo-action.
13646         (getActionName): simplify a bit
13647         (helpText):
13648
13649 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13650
13651         * lyxfunc.C (verboseDispatch): new families of methods with
13652         several ways to specify a command and a bool to indicate whether
13653         the command name and shortcut should be displayed in minibuffer
13654         (eventually, we could extend that to a finer bitmask like
13655         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13656         (dispatch): the pristine dispatch command which just, well,
13657         dispatchs! Note it still sets its result to minibuffer; I'm not
13658         sure we want that.
13659
13660         * lyxfunc.h: remove setHintMessage
13661
13662         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13663
13664 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13665
13666         * BufferView_pimpl.C (specialChar): delete new inset if we have
13667         not been able to insert it.
13668
13669         * kbmap.C: revert to using int instead of kb_action, since all we
13670         are dealing with is pseudo-actions.
13671
13672         * LyXAction.C (searchActionArg): change to return int instead of
13673         kb_action, since the result is a pseudoaction.
13674
13675 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13676
13677         * buffer.C (insertErtContents): Fix (partially) the font bug.
13678
13679 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13680
13681         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13682         as the other one is broken on my machine!
13683
13684 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13685
13686         * commandtags.h:
13687         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13688
13689 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13690
13691         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13692         reflect their actual use. Provide compatibility code for older lyxrc
13693         files.
13694
13695         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13696         FL_NORMAL_STYLE.
13697         change names of popup font variables in line with the changes to lyxrc.C
13698
13699 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13700
13701         * buffer.C (asciiParagraph): avoid outputing a word twice after
13702         an inset.
13703
13704         * lyxrc.C (getDescription): document that document_path and
13705         template_path can be empty.
13706
13707 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13708
13709         * LaTeXFeatures.C (getMacros):
13710         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13711
13712         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13713
13714         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13715         getPackages.
13716         (getPackages): rename feature "floats" to "float". Use an array to
13717         iterate over 'simple' features (i.e. just a \usepackage). Add
13718         handling of "amsmath" (renamed from "amsstyle").
13719
13720 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13721
13722         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13723         features list.
13724
13725 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13726
13727         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13728         FuncStaus::FuncStatus & FuncStaus::some_method().
13729
13730 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13731
13732         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13733         of the func_satus stuff. Edited and massaged in various ways by
13734         JMarc.
13735
13736         * lyxfunc.C (getStatus): use FuncStatus
13737
13738 2002-01-08  Juergen Vigna  <jug@sad.it>
13739
13740         * text.C (nextBreakPoint): use function Inset::isChar().
13741
13742         * paragraph.C (TeXOnePar): use function
13743         Inset::forceDefaultParagraphs.
13744
13745         * buffer.C (latexParagraphs): use function
13746         Inset::forceDefaultParagraphs.
13747
13748 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13749
13750         * lyx_gui.C (init): set the style of the menu popups to
13751         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13752
13753 2002-01-07  Juergen Vigna  <jug@sad.it>
13754
13755         * text.C (setHeightOfRow): small fix
13756         (prepareToPrint): don't look at alignment if we don't have the place
13757         for doing it.
13758
13759 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13760
13761         * box.C: New file. Move the Box methods and functions out of box.h,
13762         following Lars' suggestion.
13763
13764 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13765
13766         * box.h: #include "support/LOstream.h", needed for inlined function.
13767
13768         * lyxtextclass.C:
13769         * lyxtextclasslist.C: added some using std declarations.
13770
13771 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13772
13773         * box.h: make signed dimensions to allow insets wider than
13774           the screen (bug #162)
13775
13776         * BufferView_pimpl.C: add some insetHit debug
13777
13778 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13779
13780         * vc-backend.C: add FIXME
13781
13782 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13783
13784         * lyxfunc.C (getStatus): enable code for showing math font status
13785         in toolbar/menu.
13786
13787 2002-01-07  Juergen Vigna  <jug@sad.it>
13788
13789         * text.C (nextBreakPoint): removed debug output not needed anymore.
13790
13791 2002-01-06  Juergen Vigna  <jug@sad.it>
13792
13793         * text.C (nextBreakPoint): fixed up this function we had this bug
13794         since ever but now hopefully we break row better.
13795         (insertChar): we have to check if an inset is the next char as it
13796         could now happen that a large inset is causing a break.
13797
13798 2002-01-05  Juergen Vigna  <jug@sad.it>
13799
13800         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13801         if it doesn't like to be drawed.
13802
13803 2002-01-04  Juergen Vigna  <jug@sad.it>
13804
13805         * BufferView2.C (lockInset): forgot to set a cursor.
13806
13807         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13808
13809 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13810
13811         * FormMathsPanel.C:
13812         * FormMathsPanel.h
13813         * MathsSymbols.C:
13814         * form_maths_panel.C:
13815         * form_maths_panel.h:
13816         * form_maths_panel.fd: implemented sub- and super- buttons in math
13817         panel.
13818
13819         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13820         (or ^ space) to be used as in TeX (req'd by André).
13821
13822         * lyxfunc.C: Allow ^ and _ again to be used both as
13823         super/subscript (mathed) and as themselves (in text).
13824
13825 2002-01-03  Allan Rae  <rae@lyx.org>
13826
13827         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13828         "LyX" or the filename of the current buffer if it has one.  This is a
13829         modified form of John Levon's patch.
13830
13831         * XFormsView.C (setWindowTitle): also set icon title.
13832
13833         * LyXView.h (setWindowTitle): signature changed.
13834         * XFormsView.h (setWindowTitle): ditto.
13835
13836 2002-01-02  Juergen Vigna  <jug@sad.it>
13837
13838         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13839
13840 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13841
13842         * screen.C (topCursorVisible): introduce a temp var for
13843         text->cursor.row(), handle the case where this row is null. (kindo
13844         hachish)
13845
13846         * text2.C (setCursor): add a couple of asserts.
13847
13848         * paragraph.h (inset_iterator): add -> operator
13849
13850         * paragraph.[Ch] (autoDeleteInsets): remove member function
13851
13852         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13853         cursor pos correctly and handle inset deletion by itself.
13854         (insertErrors): move iterator declaration out of for expression
13855
13856         * lyxtextclass.C: add <algorithm>
13857
13858         * Makefile.am: added the new files to sources, removed layout.C
13859
13860         * layout.C: removed file
13861
13862         * layout.h: remove LYX_DUMMY_LAYOUT
13863
13864         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13865         layout.
13866
13867         * lyxlayout.[Ch]:
13868         * lyxtextclass.[Ch]:
13869         * lyxtextclasslist.[Ch]: new files
13870
13871         * include order changes to a lot of files, also changes because of
13872         the six new files.
13873
13874 2001-12-27  Juergen Vigna  <jug@sad.it>
13875
13876         * buffer.C (asciiParagraph): more fixes.
13877
13878         * tabular.C (ascii): make ascii export support export of only the
13879         data separated by a column-delimiter.
13880         (ascii): better support for ascii export.
13881
13882         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13883
13884 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13885
13886         * tabular_funcs.C: use a "using std::getline" instead of the
13887         previous fix from Angus (necessary for cxx + lyxstring)
13888
13889 2001-12-24  Juergen Vigna  <jug@sad.it>
13890
13891         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13892
13893         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13894         problems. First check a minipage also if we have some ert-contents
13895         (not only on par->size(), second set the right depth of the paragraph
13896         on the relink to the root-paragraph-list!
13897
13898         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13899         which then did not anymore update the main paragraphs on undo/redo!
13900
13901 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13902
13903         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13904         code. Support all font-changing funcs (even those which are not in
13905         menu currently). Support for reporting font settings in
13906         mathed (disabled until Andre provides a function on mathed's side).
13907
13908         * func_status.h (toggle): small helper function to set toggle
13909         state on a flag.
13910
13911 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13912
13913         * tabular_funcs.C: getline -> std::getline
13914
13915 2001-12-21  Juergen Vigna  <jug@sad.it>
13916
13917         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13918         accessed and could be 0 (I couldn't generate this but it seems
13919         Michael could!).
13920
13921 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13922
13923         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13924         * tabular_funcs.h: here and include iosfwd
13925
13926 2001-12-20  Juergen Vigna  <jug@sad.it>
13927
13928         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13929         inside inset but undo_par was.
13930
13931 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13932
13933         * Thesaurus.C: always include <config.h> in sources.
13934
13935         * Painter.h:
13936         * lyxlookup.h:
13937         * box.h: do not include <config.h> in header files
13938
13939         * text.C (paintLastRow): remove unused variable
13940
13941         * text.C (transformChar):
13942         (insertChar):
13943         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13944
13945         * Painter.C (text):
13946         * font.C (width): rewrite to use uppercase() instead of
13947         islower/toupper.
13948
13949         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13950
13951 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13952
13953         * lyxfind.C: clean up of find failure position change
13954
13955 2001-12-20  Juergen Vigna  <jug@sad.it>
13956
13957         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13958
13959         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13960         (TeXRow): added to LaTeX a single tabular row.
13961         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13962         (Latex): simplified and finally good LT-h/f support.
13963         (various_functions): just small adaptions for LT-h/f support.
13964
13965         * tabular_funcs.[hC]: added and moved here all not classfunctions
13966         of LyXTabular.
13967
13968 2001-12-19  Juergen Vigna  <jug@sad.it>
13969
13970         * tabular.[Ch]: better support for longtabular options (not finished
13971         yet!)
13972
13973 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13974
13975         * text.C (paintLastRow): use the label font instead of the font of
13976         the last character to compute the size of *_BOX. This makes more
13977         sense and avoids a crash with empty paragraphs.
13978         Use Painter::rectangle to draw EMPTY_BOX.
13979
13980 2001-12-19  Juergen Vigna  <jug@sad.it>
13981
13982         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13983         the paragraphs if the replaced paragraph is not the first one!
13984         Tried to delete not used paragraphs but does not work yet so for
13985         now it's inside #ifdef's and by default off!
13986
13987 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13988
13989         * MenuBackend.C: include "lyx_main.h" instead of declaring
13990         lastfiles (actually was declared as LastFiles* instead of a
13991         scoped_ptr).
13992
13993 2001-12-17  Juergen Vigna  <jug@sad.it>
13994
13995         * tabular.C (AppendColumn): applied John's fix
13996
13997 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13998
13999         * BufferView.h:
14000         * BufferView.C:
14001         * BufferView_pimpl.h:
14002         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14003
14004         * Makefile.am:
14005         * box.h: new start of class for above
14006
14007         * lyxfunc.C: ignore space-only minibuffer dispatches.
14008           Show the command name when it doesn't exist
14009
14010         * minibuffer.C: don't add empty lines to the history
14011
14012         * minibuffer.C: add a space on dropdown completion
14013
14014 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14015
14016         * text.C: fix line above/below drawing in insets
14017
14018 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14019
14020         * lyxlength.C (LyXLength): Initialize private variables.
14021
14022 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14023
14024         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14025         when inserting error insets.
14026
14027 2001-12-13  Juergen Vigna  <jug@sad.it>
14028
14029         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14030         actually sometimes the before-paragraph.
14031         (setUndo): don't clear the redostack if we're not actually undoing!
14032
14033 2001-12-06  Juergen Vigna  <jug@sad.it>
14034
14035         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14036         and fixed redoing of main paragraph, so we can use it now ;)
14037
14038         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14039
14040 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14041
14042         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14043         Juergen's request
14044
14045 2001-12-13  André Pönitz <poenitz@gmx.net>
14046
14047         * undostack.[Ch]:
14048         * undo_func.C: minor cleanup
14049
14050 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14051
14052         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14053         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14054         font in urw-fonts package which is marked as -urw-fontspecific and
14055         does not work (incidentally, changing the encoding in the
14056         fonts.dir of this package to -adobe-fontspecific fixes the
14057         problem).
14058
14059         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14060         is a crash when undoing first paragraph (Juergen, please take a
14061         look). THis does not mean the undo fix is wrong, just that it
14062         uncovers problems.
14063
14064         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14065         the (Paragraph*) version when needed instead of duplicating the
14066         code.
14067
14068         * text.C (workWidth): use Inset::parOwner to find out where the
14069         inset has been inserted. This is a huge performance gain for large
14070         documents with lots of insets. If Inset::parOwner is not set, fall
14071         back on the brute force method
14072
14073         * paragraph_pimpl.C (insertInset):
14074         * paragraph.C (Paragraph):
14075         (cutIntoMinibuffer): set parOwner of insets when
14076         inserting/removing them
14077
14078         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14079
14080 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14081
14082         * commandtags.h:
14083         * LyXAction.C:
14084         * lyx_main.C:
14085         * lyxfunc.C:
14086         * mathed/formulabase.C:
14087         * mathed/math_cursor.[Ch]:
14088         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14089
14090
14091 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * lyxlength.[Ch] (operator!=): new function
14094
14095 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14096
14097         * text.C (workWidth): use Inset::parOwner to find out where the
14098         inset has been inserted. This is a huge performance gain for large
14099         documents with lots of insets. If Inset::parOwner is not set, fall
14100         back on the brute force method
14101
14102         * paragraph_pimpl.C (insertInset):
14103         * paragraph.C (Paragraph):
14104         (cutIntoMinibuffer): set parOwner of insets when
14105         inserting/removing them
14106
14107         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14108
14109 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14110
14111         * tabular-old.C (getTokenValue):
14112         * tabular.C (getTokenValue):
14113         (write_attribute): new versions for LyXLength
14114         (everywhere): adjust the use of widths
14115
14116         * tabular.h: change the type of widths from string to LyXLength
14117
14118 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14119
14120         * paragraph.C: fixed missing line number count when exporting
14121         Environments to LaTeX file
14122
14123         * buffer.C: added informational message for checking line numbers.
14124
14125 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14126
14127         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14128         paragraph, do the 'double space' part, but not the 'empty
14129         paragraph' one.
14130
14131         * text.C (workWidth): small optimization
14132         (getLengthMarkerHeight): use minimal size for negative lengths.
14133
14134 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14137
14138         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14139
14140 2001-12-11  André Pönitz <poenitz@gmx.net>
14141
14142         * FontLoader.C:
14143         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14144
14145 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14146
14147         * text2.C: keep selection on a setFont()
14148
14149 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14150
14151         * lyx_cb.C: another bv->text misuse, from insert label
14152
14153 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14154
14155         * kbsequence.h:
14156         * kbsequence.C: re-instate nmodifier mask
14157
14158 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14159
14160         * lyx_main.h: make lyxGUI private.
14161
14162 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14163
14164         * lyxfind.C: place the cursor correctly on failed search
14165
14166 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14167
14168         * text.C (getLengthMarkerHeight): for small heights, the arrows
14169         are not always on top/bottom of the text
14170         (drawLengthMarker): smaller arrows; take the left margin in
14171         account; draw also vfills.
14172         (paintFirstRow):
14173         (paintLastRow): remove special code for vfill and standard spaces,
14174         since everything is handled in drawLengthMarker now.
14175
14176 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14177
14178         * buffer.C (insertErtContents): try to handle font and language
14179         interaction a bit better.g
14180
14181         * ColorHandler.C (updateColor): change the hash to cover the whole
14182         LColor enum, ws cleanup
14183         (getGCLinepars): ditto
14184         (getGCLinepars): only lookup in the linecache once.
14185
14186 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14187
14188         * iterators.C (operator++): Make the iterator more robust
14189
14190         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14191         (John's patch)
14192         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14193
14194 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * lyxtext.h:
14197         * text.C: better added space drawing
14198
14199 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14200
14201         * LyXView.C:
14202         * BufferView2.C: fix layout combo update on inset unlock
14203
14204 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14205
14206         * Makefile.am: don't compile unused files
14207
14208 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14209
14210         * lyxfunc.C:
14211         * commandtags.h:
14212         * LyXAction.C: remove old LFUN_LAYOUTNO
14213
14214 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14215
14216         * paragraph_pimpl.h:
14217         * paragraph_pimpl.C: isTextAt() doesn't need font param
14218
14219 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14220
14221         * lyxlex.h:
14222         * lyxlex.C: little cleanup
14223
14224 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14225
14226         * BufferView_pimpl.C: fix insertAscii for insets
14227
14228 2001-12-05  Juergen Vigna  <jug@sad.it>
14229
14230         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14231         set the right font on the "multi" paragraph paste!
14232
14233 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14234
14235         * trans_decl.h:
14236         * trans_mgr.[Ch]:
14237         * trans.[Ch]:
14238         * lyxgluelength.C:
14239         * lyxlength.C: remove out-commented code.
14240
14241         * BufferView_pimpl:
14242         * CutAndPaste.C:
14243         * DepTable.C:
14244         * buffer.C:
14245         * chset.C:
14246         * lastfiles.C:
14247         * lyxlex.C:
14248         * lyxlex_pimpl.C:
14249         * lyxserver.C:
14250         * screen.C:
14251         * tabular-old.C:
14252         * tabular.C:
14253         * text.C:
14254         * trans_mgr.C:
14255         * vc-backend.C: change "while(" to "while ("
14256
14257         * lyxlength.[Ch]: add zero function to check if length is zero or
14258         not
14259         * lyxgluelength.C: use it
14260
14261 2001-12-05  Allan Rae  <rae@lyx.org>
14262
14263         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14264         Works for 2.95.3, from what I understand of Garst's reports this should
14265         work for other g++ versions.  We're screwed if the abs(int) definition
14266         changed between bugfix releases of gcc.
14267
14268 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14269
14270         * text.C: fix chapter label offset !
14271
14272 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14273
14274         * lyxtext.h:
14275         * text.C: fix hfill at end of line, clean up
14276
14277 2001-12-04  Juergen Vigna  <jug@sad.it>
14278
14279         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14280         that we force an update of the inset and it's owners if neccessary.
14281
14282 2001-12-03  Juergen Vigna  <jug@sad.it>
14283
14284         * text.C (rowLast): simplified code
14285
14286 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14287
14288         * lyxfunc.C: fix show options on timeout
14289
14290 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14291
14292         * screen.C (topCursorVisible): scroll half a page when the cursor
14293         reached top of bottom of screen
14294
14295 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * minibuffer.C: deactivate on loss of focus
14298
14299 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14300
14301         * vspace.[Ch] (operator!=): add operator.
14302
14303 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14304
14305         * BufferView_pimpl.C: refuse to open an inset when
14306         there's a selection.
14307
14308 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14309
14310         * BufferView_pimpl.C: allow to click on RHS of full row insets
14311
14312 2001-11-30  Juergen Vigna  <jug@sad.it>
14313
14314         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14315         insets for undo reasons.
14316
14317 2001-11-28  André Pönitz <poenitz@gmx.net>
14318
14319         * vspace.[Ch]: cosmetical changes
14320
14321 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14322
14323         * LyXAction.h:
14324         * LyXAction.C:
14325         * lyxfunc.h:
14326         * lyxfunc.C:
14327         * kbmap.h:
14328         * kbmap.C:
14329         * lyxrc.C:
14330         * kbsequence.h:
14331         * kbsequence.C: part re-write of old kb code
14332
14333         * Painter.C:
14334         * WorkArea.C: remove Lgb_bug_find_hack
14335
14336 2001-11-30  José Matos <jamatos@fep.up.pt>
14337
14338         * buffer.C (makeDocBookFile): add a comment to point a hack.
14339         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14340         Fixed a double write of labels.
14341
14342 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14343
14344         * LaTeX.C:
14345         * LaTeX.h Fixed bug in LaTeX class where it would not
14346         re-run latex if no depfiles were changed, but the .dvi was removed.
14347
14348 2001-11-28  André Pönitz <poenitz@gmx.net>
14349
14350         * all the files from the change on 2001/11/26:
14351         use lyx::layout_type instead of LyXTextClass::size_type
14352         use lyx::textclass_type instead of LyXTextClassList::size_type
14353
14354 2001-11-29  Juergen Vigna  <jug@sad.it>
14355
14356         * text.C: added support for paragraph::isFreeSpacing()
14357
14358         * buffer.C: same as above
14359
14360         * paragraph.h: inserted isFreeSpacing() function to enable
14361         FreeSpacing inside InsetERT.
14362
14363         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14364         of the paragraph's in the cut/copy buffer to 0!
14365
14366         * text2.C (removeRow): remove the assert as it can!
14367
14368         * lyxtext.h: added helper function firstRow returning firstrow and
14369         made firstrow private again.
14370
14371         * BufferView2.C (lockInset): don't relock if we're already locked!
14372
14373         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14374         the only paragraph.
14375         (removeRow): added Assert::(firstrow)
14376
14377         * debug.C: forgot to add INSETTEXT here.
14378
14379 2001-11-28  Juergen Vigna  <jug@sad.it>
14380
14381         * sp_spell.C (initialize): changed error text to more general
14382         spellchecker command use (not only ispell!)
14383
14384         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14385
14386         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14387
14388 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14389
14390         * vspace.C: initialise lyxgluelength on failure
14391
14392 2001-11-28  Allan Rae  <rae@lyx.org>
14393
14394         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14395         declaration & definition that looks like a function declaration.
14396
14397 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14398
14399         * BufferView2.C (copy):
14400         (copyEnvironment): do not clear the selection when doing a copy.
14401
14402         * text.C (paintFirstRow): compilation fix
14403
14404 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14405
14406         * tabular.C (Latex): correct line count when writing latex.
14407
14408 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14409
14410         * paragraph_pimpl.h:
14411         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14412           bug a bit
14413
14414 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14415
14416         * text.C:
14417         * LColor.h:
14418         * LColor.C: change vfillline->added_space
14419
14420         * text.C: add markers and text for added space
14421
14422         * vspace.C: fix comment
14423
14424 2001-11-28  André Pönitz <poenitz@gmx.net>
14425
14426         * paragraph.C: whitespace changes
14427         * all the other files from the change on 2001/11/26:
14428         change *::pos_type into lyx::pos_type
14429
14430 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14431
14432         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14433         language of the document when inserting error insets.
14434
14435 2001-11-26  André Pönitz <poenitz@gmx.net>
14436
14437         * BufferView_pimpl.[Ch]:
14438         *       CutAndPaste.C:
14439         * buffer.[Ch]:
14440         * lyxcursor.[Ch]:
14441         * lyxfind.C:
14442         * lyxfunc.C:
14443         * lyxrow.[Ch]:
14444         * paragraph.[Ch]:
14445         * paragraph_pimpl.[Ch]:
14446         * sp_spell.C:
14447         * text.C:
14448         * text2.C: reduce header dependencies, introduce type for positions
14449
14450 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14451
14452         * <various>: change to use Alert.h
14453
14454 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14455
14456         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14457         when encountering an unknown token.
14458         (readLyXformat2): Show an error message if there were unknown tokens.
14459
14460 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14461
14462         * BufferView2.C:
14463         * BufferView_pimpl.C:
14464         * buffer.C:
14465         * paragraph.h:
14466         * text.C:
14467         * text2.C: use par->isInset()
14468
14469 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14470
14471         * paragraph_pimpl.h:
14472         * paragraph_pimpl.C: cleanup
14473
14474 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14475
14476         * text2.C (removeRow):
14477         * text.C (setHeightOfRow): remove useless (and costly) call to
14478         getRow.
14479
14480 2001-11-20  Allan Rae  <rae@lyx.org>
14481
14482         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14483         Now need Inset*::checkInsertChar() to return true for appropriate
14484         cases so that the characters in the minibuffer will actually be
14485         inserted.
14486
14487 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14488
14489         * text.C: change the order of the includes.
14490         (workWidth): initialize it at once.
14491         (workWidth): make maxw unsigned
14492         (setHeightOfRow): remove unused variable (inset)
14493         (selectSelectedWord): remove unused variable (inset)
14494         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14495
14496 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14497
14498         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14499         server is not running.
14500         (openConnection):
14501         (closeConnection): add debug info when server is disabled.
14502
14503         * ColorHandler.C (getGCForeground): send debug message to GUI
14504         channel.
14505
14506         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14507
14508         * kbmap.C (bind): modify because return conventions of
14509         kb_sequence::parse have changed.
14510
14511         * kbsequence.C (parse): only ignore spaces and not any stupid
14512         control character. This avoids tests like s[i] <= ' ', which are
14513         guaranteed to fail with 8bit characters and signed chars.
14514         Change return code to string::npos when there have been no error
14515         (0 was a bad idea when error is at first character)
14516
14517 2001-11-14  José Matos  <jamatos@fep.up.pt>
14518
14519         * buffer.h:
14520         * buffer.C (simpleDocBookOnePar): removed unused argument.
14521
14522 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14523
14524         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14525         insets which are part of a word. Paragraph::isLetter takes care of
14526         that now. Use Paragraph::isInset to identify insets.
14527         (selectSelectedWord): do not test for hyphenation break.
14528
14529         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14530         that protected spaces are considered as spaces.
14531
14532         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14533         Inset::isLetter.
14534
14535 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14536
14537         * lyxserver.h:
14538         * lyxserver.C: fix it. and small cleanup.
14539
14540 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14541
14542         * BufferView_pimpl.C: use inline helpers
14543
14544         * LaTeXFeatures.h:
14545         * LaTeXFeatures.C: fix typos
14546
14547         * Spacing.h:
14548         * Spacing.C: move spacing_string into class
14549
14550         * ToolbarDefaults.C: move stuff into namespace anon
14551
14552         * layout.h: update enum
14553
14554         * lyxfunc.C: use better debug
14555
14556         * minibuffer.h: fix typo
14557
14558         * debug.h:
14559         * debug.C:
14560         * WorkArea.C: add and use Debug::WORKAREA
14561
14562         * lyxtext.h:
14563         * text.C:
14564         * text2.C: code re-organisation, inline helpers
14565
14566 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14567
14568         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14569         std::vector.empty().
14570
14571 2001-11-09  Allan Rae  <rae@lyx.org>
14572
14573         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14574         '\n's after tables.  Tabular and ERT inset work now makes this no
14575         longer necessary.
14576
14577 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14578
14579         * minibuffer.h:
14580         * minibuffer.C: fix crash, improve drop-down completion
14581
14582 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14583
14584         * lyxserver.h:
14585         * lyxserver.C: invalidate fd's when doing endPipe()
14586
14587 2001-11-08  José Matos  <jamatos@fep.up.pt>
14588
14589         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14590         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14591
14592         * paragraph.h:
14593         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14594
14595 2001-11-07  José Matos  <jamatos@fep.up.pt>
14596
14597         * buffer.h:
14598         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14599         const qualifier.
14600
14601         * buffer.C (sgmlOpenTag):
14602         * buffer.C (sgmlCloseTag): removed debug info.
14603
14604         * buffer.h (sgmlOpenTag):
14605         * buffer.h (sgmlCloseTag): made public.
14606
14607 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14608
14609         * buffer.C (saveParamsAsDefaults):
14610         * lyx_cb.C (MenuLayoutSave): remove
14611
14612         * LyXAction.C (init):
14613         * commandtags.h:
14614         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14615
14616 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * buffer.C (setPaperStuff): removed from here...
14619
14620         * bufferparams.C (setPaperStuff): ... and moved there.
14621
14622 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14623
14624         * minibuffer.h:
14625         * minibuffer.C:
14626         * XFormsView.C: add support for drop-down completion
14627
14628 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14629
14630         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14631         commands.
14632
14633 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14636         disabled.
14637
14638 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14639
14640         * lyx_main.C: change ref to known bugs
14641
14642 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14643
14644         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14645         to work around older babel problems.
14646
14647 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14648
14649         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14650
14651 2001-10-24  Juergen Vigna  <jug@sad.it>
14652
14653         * tabular-old.C (ReadOld): below variable changes reflected.
14654
14655         * tabular.[Ch]: added ltType struct for longtable header/footer
14656         defines and changed all instances where they are used. Added
14657         future support for double top/bottom rows.
14658
14659 2001-10-24  José Matos  <jamatos@fep.up.pt>
14660
14661         * buffer.h (docbookHandleCaption):
14662         * buffer.C (docbookHandleCaption): removed unused function.
14663         (makeDocBookFile): moved docbook supported version to v4.1.
14664
14665 2001-10-24  José Matos  <jamatos@fep.up.pt>
14666
14667         * tabular.h:
14668         * tabular.C (docbookRow): new function to export docbook code of a row.
14669         (DocBook): now honors the longtable flags.
14670
14671 2001-10-23  José Matos  <jamatos@fep.up.pt>
14672
14673         * LaTeXFeatures.h:
14674         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14675         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14676
14677         * buffer.C (makeLinuxDocFile):
14678         (makeDocBookFile): reworked the preamble, more clean, and with
14679         support for lyx defined entities. Changed the document declaration
14680         to be more XML friendly.
14681
14682         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14683         if we need to output XML that should be done with a filter.
14684
14685 2001-10-22  Juergen Vigna  <jug@sad.it>
14686
14687         * sp_pspell.h (class PSpell): add alive function needed in the
14688         controller to see if the spellchecker could be started.
14689
14690 2001-10-22  Juergen Vigna  <jug@sad.it>
14691
14692         * buffer.C (insertStringAsLines): modify the font for inserting
14693         chars in certain conditions by calling checkInsertChar(font).
14694
14695 2001-10-19  Juergen Vigna  <jug@sad.it>
14696
14697         * text.C (workWidth): use getRow instead of wrong algorithm.
14698         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14699
14700 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14701
14702         * lyxserver.h:
14703         * lyxserver.C:
14704         * lyx_main.h:
14705         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14706
14707 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14708
14709         * text.C (workWidth): do not search for the exact row when
14710         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14711         optimization for big documents.
14712
14713 2001-10-18  Juergen Vigna  <jug@sad.it>
14714
14715         * text.C (workWidth): new function with added Inset * parameter.
14716
14717 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14718
14719         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14720
14721         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14722         change return type of getColumnNearX.
14723
14724
14725         * text.C (changeRegionCase): use uppercase/lowercase instead of
14726         toupper/tolower.
14727         (leftMargin):
14728         (rightMargin): simplify code by factoring out the uses of
14729         textclasslist.
14730         (labelFill):
14731         (numberOfHfills):
14732         (setHeightOfRow):
14733         (appendParagraph): use Paragraph::size_type
14734
14735 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14736
14737         * vspace.C (asLatexString): add a missing break
14738
14739 2001-10-15  Herbert Voss  <voss@perce.de>
14740
14741         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14742
14743 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14744
14745         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14746         is not available.
14747
14748 2001-10-10  André Pönitz <poenitz@gmx.net>
14749
14750         * lyxfunc.C: removed greek_kb_flag.
14751
14752 2001-10-10  Herbert Voss  <voss@perce.de>
14753
14754         * lyx_main.C: delete global string help_lyxdir.
14755
14756 2001-10-09  Herbert Voss  <voss@perce.de>
14757
14758         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14759
14760         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14761
14762         * lyx_main.C: added global string help_lyxdir.
14763
14764         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14765
14766 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14767
14768         * lyxrc.C (set_font_norm_type): support iso8859-4
14769
14770 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14771
14772         * LaTeX.C (deplog): add another regex for MikTeX
14773
14774 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14775
14776         * lyxrc.C (set_font_norm_type): support iso8859-3
14777
14778 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14779
14780         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14781
14782         * LaTeXFeatures.C: remove special case of french and index
14783
14784         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14785         before \begin{document}). This solves several incompatibilities.
14786
14787 2001-10-03  Garst Reese  <reese@isn.net>
14788
14789         * lyx_cb.C: change CheckTex error msg.
14790
14791 2001-10-03  José Matos  <jamatos@fep.up.pt>
14792
14793         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14794
14795 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14796
14797         * .cvsignore: update
14798
14799         * lyx_main.C (commandLineVersionInfo): use new style version info.
14800
14801         * buffer.C (writeFile):
14802         (makeLaTeXFile):
14803         (makeLinuxDocFile):
14804         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14805
14806         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14807
14808         * version.h: update to use stuff in version.C
14809
14810         * version.C.in: new file. Contains version information determined
14811         at compile time. This is a merging of version.h and
14812         version_info.h.in.
14813
14814 2001-10-03  Juergen Vigna  <jug@sad.it>
14815
14816         * BufferView_pimpl.C (update): don't change "dirty" status in
14817         updateInset call.
14818
14819 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14820
14821         * WorkArea.C (c-tor): re-position version string slightly.
14822
14823 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14824
14825         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14826         revert to previous code.
14827
14828         WorkArea.[Ch]: (show, destroySplash): methods removed.
14829
14830         WorkArea.C: rework code so that it's an amalgam of the codes before and
14831         after the splash screen was moved to WorkArea.
14832
14833 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14834
14835         * lyxrc.C (read):
14836         * vspace.C (inPixels):
14837         (lyx_advance):
14838         * kbmap.C (bind):
14839         * buffer.C (insertStringAsLines):
14840         (asciiParagraph): fix types to be large enough
14841
14842         * lyxlex_pimpl.h: change member status from short to int
14843
14844         * layout.h: fix type of endlabeltype
14845
14846         * kbmap.C (bind):
14847         * kbsequence.C (parse): change return type to string::size_type
14848
14849         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14850         variable
14851
14852         * Bullet.C (bulletSize):
14853         (bulletEntry): do not use short ints as parameters
14854
14855         * BufferView2.C (insertLyXFile): change a char to an int.
14856
14857         * WorkArea.C (WorkArea): remove unneeded floats in computation
14858
14859 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14860
14861         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14862
14863         * paragraph.C (asString): Do not ignore newline/hfill chars when
14864         copying to the clipboard.
14865
14866 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14867
14868         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14869         after a multi-line inset.
14870
14871 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14872
14873         * paragraph.C (validate): Set NeedLyXFootnoteCode
14874
14875 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14876
14877         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14878         and decrease-error to decrease.
14879
14880 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14881
14882         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14883         it more readable (should be equivalent)
14884
14885 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14886
14887         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14888
14889 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14892         of a cursor (row, etc.) after a character has been deleted
14893         (deleteEmptyParagraphMechanism): call the method above on _all_
14894         cursors held by the LyXText when a double space has been
14895         detected/deleted.
14896
14897 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14898
14899         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14900         pixmap.
14901         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14902
14903         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14904         background. Use greyOut() and the new show() methods to toggle between
14905         the foreground and background. Add code to remove the splash after
14906         its initial showing.
14907
14908         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14909         (create_forms): no longer call Dialogs::showSplash.
14910
14911 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14912
14913         * .cvsignore: add version_info.h
14914
14915 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14916
14917         * version_info.h.in: new file
14918
14919         * Makefile.am: add version_info.h.in
14920
14921         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14922         version_info.h instead of VERSION_INFO
14923
14924 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14925
14926         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14927         The ERT inset now returns string().
14928
14929 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14930
14931         * lyxtext.h, text.C (selectNextWord): renamed as
14932         selectNextWordToSpellcheck.
14933
14934         * text.C (selectNextWordToSpellcheck): Modified to not select
14935         words inside an ERT inset.
14936
14937 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14938
14939         * lyx_cb.C (MenuLayoutSave): change a bit the question
14940
14941         * sp_base.h: include <sys/types.h>
14942
14943 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14944
14945         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14946
14947 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14948
14949         * several files: fix typos in user-visible strings
14950
14951 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14952
14953         * text2.C (pasteSelection): do not set the selection, since it
14954         will be cleared later. Actually, the intent was to fix the way the
14955         selection was set, but I figured rmoving the code was just as good.
14956
14957 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14958
14959         * FontLoader.C (available): Check if font is available without
14960         loading the font.
14961
14962 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14963
14964         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14965
14966 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14967
14968         * lyxrc.[Ch]: added display_graphics variable and associated code.
14969
14970 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14971
14972         * bufferparams.C (hasClassDefaults): new method. Returns true if
14973         the buffer parameters correspond to known class defaults
14974
14975 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14976
14977         * XFormsView.C (show): set minimum size to the main window.
14978
14979 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14980
14981         * text2.C (copySelection):
14982         (cutSelection):
14983         * lyxfind.C (LyXReplace):
14984         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14985         LyXText::selectionAsString.
14986
14987         * paragraph.C (asString): add "label" argument to the second form
14988
14989         * text2.C (selectionAsString): add "label" argument and pass it to
14990         Paragraph::asString.
14991
14992 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * lyx_main.C (commandLineHelp): remove version information
14995
14996 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14997
14998         * lyx_main.C: add -version commandline option
14999
15000 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15001
15002         * paragraph.h: make the optional constructor arg required instead.
15003         some modifications to other files because of this.
15004
15005         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15006
15007         * lyxserver.C (C_LyXComm_callback): make it static
15008
15009         * lyx_main.C (error_handler): make it static
15010
15011         * lyx_gui.C (LyX_XErrHandler): make it static
15012
15013         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15014
15015         * WorkArea.C: make the extern "C" methods static.
15016
15017         * Makefile.am (lyx_LDADD): simplify
15018
15019 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15020
15021         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15022         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15023
15024         * LyXAction.C (init):
15025         * lyxfunc.C (dispatch): associated code removal.
15026
15027 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15028
15029         * lyxfont.h (isSymbolFont): shut off warning
15030
15031         * text.C (setHeightOfRow):
15032         (getVisibleRow): fix crash with empty paragraphs which have a
15033         bottom line
15034
15035 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15036
15037         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15038         code.
15039
15040 2001-09-04  José Matos  <jamatos@fep.up.pt>
15041         * buffer.C
15042         * buffer.h
15043         * tabular.C (docbook): rename docBook method to docbook.
15044
15045 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15046
15047         * Makefile.am: add dependencies to main.o.
15048
15049 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15050
15051         * FontLoader.C (available): Return false if !lyxrc.use_gui
15052
15053 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15054
15055         * FontInfo.C (query):
15056         * converter.C (view):
15057         * importer.C (Import):
15058         * exporter.C (Export): Can not -> cannot.
15059
15060 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15061
15062         * BufferView_pimpl.C: allow to create index inset even if
15063           string is empty
15064
15065 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15066
15067         * buffer.C (getLists): replace boost::tie code with an explicit pair
15068         as boost::tie can break some compilers.
15069
15070         * iterators.h: Added a std:: declaration to the return type of
15071         ParIterator::size.
15072
15073 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15074
15075         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15076           case.
15077
15078 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15079
15080         * iterators.[Ch]: New files. Provide paragraph iterators.
15081
15082         * buffer.C (changeLanguage): Use paragraph iterators.
15083         (isMultiLingual): ditto
15084
15085         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15086
15087 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15088
15089         * FontLoader.C: Support for cmr font.
15090
15091 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15092
15093         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15094         (available): New method.
15095
15096         * FontInfo.C (getFontname): Use scalable fonts even when
15097         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15098         found.
15099
15100 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15101
15102         * converter.C (Formats::view): reverted! Incorrect fix.
15103
15104 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15105
15106         * converter.C (Formats::view): only output the -paper option
15107         if the dvi viewer is xdvi, thereby fixing bug #233429.
15108
15109 2001-08-23  Herbert Voss  <voss@perce>
15110
15111         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15112
15113 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15114
15115         * Spacing.h (Spacing): Set space to Default on in the default
15116         constructor.
15117
15118 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15119
15120         * vc-backend.h (RCS::versionString): add RCS to version
15121         (CVS::versionString): add CVS to version
15122
15123         * vc-backend.C (scanMaster): do not add CVS to version.
15124         (scanMaster): do not add RCS to version
15125
15126         * lyxvc.C (versionString): new method
15127
15128         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15129
15130 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15131
15132         * Spacing.C (set): initialize fval
15133
15134 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15135
15136         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15137         " or \.
15138
15139 2001-08-16  Juergen Vigna  <jug@sad.it>
15140
15141         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15142
15143 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15144
15145         * BufferView_pimpl.C:
15146         * figureForm.C:
15147         * lyxtext.h:
15148         * text2.C: setParagraph takes linespacing now
15149
15150 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15151
15152         * LyxAction.C: add internal LFUN_CITATION_INSERT
15153
15154         * LyXView.C: actually apply fix
15155
15156         * bufferlist.C: fix open non-existent file
15157
15158         * lyxfind.C: fix indentation
15159
15160         * lyxfunc.C: remove unneeded assert, fix typo
15161
15162 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15163
15164         * MenuBackend.C: use "Floatname List"
15165
15166 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15167
15168         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15169         when converting LaTeX layout to insetERT.
15170         Generate a non-collapsed float when reading old float
15171
15172 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15173
15174         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15175         ERT insets.
15176
15177 2001-08-13  Juergen Vigna  <jug@sad.it>
15178
15179         * text.C (fill): return 0 instead of 20 as this seems to be the more
15180         correct value.
15181
15182 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15183
15184         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15185         lyxrc.font_norm.
15186
15187 2001-08-13  Juergen Vigna  <jug@sad.it>
15188
15189         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15190         casesensitive off.
15191         (SearchBackward): comment out the unlocking of the inset_owner this
15192         should not be needed!
15193
15194 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15195
15196         * Many files: Remove inherit_language, and add latex_language
15197
15198         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15199         collapsible insets.
15200
15201 2001-08-10  Juergen Vigna  <jug@sad.it>
15202
15203         * text.C (prepareToPrint): fixed hfill-width in draw!
15204
15205         * BufferView2.C (selectLastWord): save the selection cursor as this
15206         now is cleared in the function LyXText::clearSelection!
15207
15208 2001-08-08  Juergen Vigna  <jug@sad.it>
15209
15210         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15211         BACKSPACE type functions.
15212
15213         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15214         is only cutted from the document but not put in the cut-buffer, where
15215         still the old stuff should be.
15216
15217         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15218
15219         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15220
15221         * tabular.C (SetWidthOfCell): fixed special case where the width
15222         was not updated!
15223         (LeftLine): handle '|' in align_special.
15224         (RightLine): ditto
15225         (LeftAlreadyDrawed): ditto
15226         (SetWidthOfCell): ditto
15227
15228 2001-08-07  Juergen Vigna  <jug@sad.it>
15229
15230         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15231
15232 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15233
15234         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15235         * lyxlex.[hC]: ditto
15236
15237 2001-08-06  Juergen Vigna  <jug@sad.it>
15238
15239         * text.C (getVisibleRow): fix up row clearing a bit.
15240
15241 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15242
15243         * minibuffer.C: make sure the X server sees the changes in the input.
15244
15245 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * paragraph.C (getFont): split into...
15248         (getLabelFont): this
15249         (getLayoutFont): and this
15250         * paragraph_pimpl.C (realizeFont): calling this
15251
15252         * text2.C (getFont): split into...
15253         (getLayoutFont): this
15254         (getLabelFont): and this
15255         (realizeFont): all three calling this
15256
15257         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15258         files where used.
15259
15260 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15261
15262         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15263
15264 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15265
15266         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15267         layouts from the Quote inset insertion.
15268
15269 2001-08-03  Juergen Vigna  <jug@sad.it>
15270
15271         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15272
15273         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15274         only if status not is already CHANGED_IN_DRAW (second level).
15275
15276         * text.C (draw): don't set the need_break_row when inside an
15277         InsetText LyXText.
15278
15279 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15280
15281         * buffer.C (parseSingleLyXformat2Token): handle more latex
15282         conversion cases.
15283
15284         * bufferview_funcs.[hC]: change function names to
15285         begin with small char, adjust other files.
15286
15287 2001-08-02  André Pönitz <poenitz@gmx.net>
15288
15289         * lyxfunc.C:
15290         BufferView_pimpl.C: remove broken special code for math-greek
15291
15292 2001-08-02  Juergen Vigna  <jug@sad.it>
15293
15294         * BufferView_pimpl.C (update): redone this function so that we
15295         update the text again if there was a CHANGE_IN_DRAW.
15296
15297         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15298         (drawFromTo): added a new internal bool which is used by draw() and
15299         redraw() function.
15300         (general): some cursor drawing problems fixed.
15301
15302 2001-08-01  Juergen Vigna  <jug@sad.it>
15303
15304         * lyxfind.C (LyXFind): fixed
15305         (SearchForward): ditto
15306         (SearchBackward): ditto
15307
15308         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15309         spurius drawing of the cursor in the main area.
15310
15311         * text2.C (status): small fix which could lead to a segfault!
15312         (clearSelection): remove unneeded BufferView param.
15313
15314 2001-08-01  André Pönitz <poenitz@gmx.net>
15315
15316         * lyxfunc.C: small change due to changed mathed interface
15317
15318 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15319
15320         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15321
15322 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15323
15324         * lyxfunc.c: fail gracefully if file doesn't exist
15325
15326         * LyXSendto.C:
15327         * buffer.C:
15328         * lyxfunc.C:
15329         * BufferView_pimpl.C: IsDirWriteable() proto changed
15330
15331         * LyXView.C: fix updateWindowTitle() to store the last title
15332
15333 2001-07-31  Juergen Vigna  <jug@sad.it>
15334
15335         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15336         the font (wrong since using of Paragraph::highestFontInRange).
15337
15338         * paragraph.C (highestFontInRange): added a default_size parameter.
15339
15340         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15341         (setHeightOfRow): reformat
15342
15343 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15344
15345         * converter.[hC] + affected files: move to (inital-char)lowercase
15346         function names.
15347
15348         * ParagraphParameters.C (ParagraphParameters): remove commented code
15349
15350         * PainterBase.[Ch]: remove commented code
15351
15352         * LaTeXFeatures.h: add "bool floats" for float.sty
15353
15354         * LaTeXFeatures.C (LaTeXFeatures): init floats
15355         (require): handle float
15356         (getPackages): do it with floats
15357
15358 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15359
15360         * BufferView_pimpl.C (Dispatch): improve handling of
15361         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15362
15363         * commandtags.h: #include lyxfont.h here temporarily to avoid
15364         keybinding bug.
15365
15366         * bufferlist.h: include LString.h here.
15367
15368 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15369
15370         * text2.C (getStringToIndex): new method.
15371
15372 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15373
15374         * *: Reduced header file dependencies all over.
15375
15376 2001-07-30  Baruch Even  <baruch@lyx.org>
15377
15378         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15379
15380 2001-07-29  Baruch Even  <baruch@lyx.org>
15381
15382         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15383
15384 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15385
15386         * ParameterStruct.h (endif): add a default constructor to make
15387         sure that all variables is initialized.
15388
15389         * ParagraphParameters.C (ParagraphParameters): adjust
15390
15391 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15392
15393         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15394         index; also, check that there is something to index, and that it
15395         does not span over several paragraphs.
15396         (doubleClick): use WHOLE_WORD_STRICT for double click.
15397
15398         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15399
15400         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15401         scheme.
15402
15403 2001-07-26  Baruch Even  <baruch@lyx.org>
15404
15405         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15406         an InsetFig figure, backwards compatible reading of old figure code.
15407
15408 2001-07-27  Juergen Vigna  <jug@sad.it>
15409
15410         * text2.C: font.realize function adaption.
15411
15412         * text.C (draw): add a warnings lyxerr text if needed.
15413
15414         * layout.C: font.realize function adaption.
15415
15416         * language.C: add inherit_language and implement it's handlings
15417
15418         * bufferview_funcs.C (StyleReset): remove language parameter from
15419         font creation (should be language_inherit now).
15420
15421         * bufferparams.C (writeFile): handle ignore_language.
15422
15423         * paragraph.C (getFontSettings): the language has to be resolved
15424         otherwise we have problems in LyXFont!
15425
15426         * lyxfont.C (lyxWriteChanges): added document_language parameter
15427         (update): removed unneeded language parameter
15428
15429         * paragraph.C (validate): fixed wrong output of color-package when
15430         using interface colors for certain fonts in certain environments,
15431         which should not seen as that on the final output.
15432
15433 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15434
15435         * BufferView_pimpl.C:
15436         * Thesaurus.h:
15437         * Thesaurus.C:
15438         * Makefile.am:
15439         * commandtags.h:
15440         * LyXAction.C: add thesaurus support
15441
15442         * lyxfind.h:
15443         * lyxfind.C: add "once" parameter, for thesaurus, to not
15444           move to the next match
15445
15446 2001-07-26  Juergen Vigna  <jug@sad.it>
15447
15448         * lyxfont.C (realize): honor ignore_language too!
15449         (resolved): ditto.
15450
15451         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15452
15453         * text.C (draw): one place more for ignore_language to not draw
15454         itself!
15455
15456 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15457
15458         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15459
15460 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15461
15462         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15463         the minipage conversion problem.
15464
15465 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15466
15467         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15468         insert an inset.
15469
15470 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15471
15472         * BufferView.h: don't forward declare WorkArea
15473
15474         * BufferView.C: don't include WorkArea.h
15475
15476 2001-07-25  André Pönitz <poenitz@gmx.net>
15477
15478         * commandtags.h:
15479         * LyXAction.C:
15480         * lyxfunc.C:  new LFUN 'math-space'
15481
15482         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15483
15484 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15485
15486         * text2.C (toggleInset): call open/close
15487
15488 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15489
15490         * lyxfunc.C (dispatch): add debug for the disabled case
15491
15492         * font.C (buttonText): make similar to rectText
15493
15494         * buffer.C (readInset): comment out parsing of insetlist and
15495         insttheorem
15496
15497         * PainterBase.C (rectText): small correction
15498
15499         * BufferView_pimpl.C: comment out insettheorem and insetlist
15500         * LyXAction.C: ditto
15501         * commandtags.h: ditto
15502
15503 2001-07-24  Juergen Vigna  <jug@sad.it>
15504
15505         * text.C (draw): honor the ignore_language.
15506
15507         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15508
15509 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15510
15511         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15512         char inset.
15513
15514 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15515
15516         * lyxtext.h: remove unused (and unimplemented) methods
15517
15518 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15519
15520         * text.C (getVisibleRow): honor background color
15521
15522         * PainterBase.h:
15523         * Painter.h: remove default color argument for fillRectangle
15524
15525         * text.C (backgroundColor): new method
15526
15527 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15528
15529         * text.C (getVisibleRow): adjust
15530
15531         * font.[Ch] (rectText): new method, metrics
15532         (buttonText): new method, metrics
15533
15534         * PainterBase.[hC]: make rectText and buttonText always draw and take
15535         fewer paramteres.
15536
15537 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15538
15539         * ToolbarDefaults.C (read):
15540         * MenuBackend.C (read): allow escaping in all strings
15541
15542         * BufferView_pimpl.C (insertAndEditInset): new method.
15543         (Dispatch): use insertAndEditInset whenever appropriate.
15544
15545         * BufferView_pimpl.C (insertNote): removed
15546
15547         * BufferView_pimpl.C (smartQuote): new method, moved from
15548         BufferView; if an insetquote cannot be inserted, insert a '"'
15549         character instead.
15550
15551         * BufferView2.C: remove insertCorrectQuote();
15552
15553         * lyxfunc.C (getStatus): Add support for all remaingin
15554         inset-insert lfuns.
15555
15556         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15557
15558         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15559         command (necessary to pass " as parameter of self-insert.
15560
15561         * text.C (selectWordWhenUnderCursor):
15562         (selectWord): add word_location parameter
15563         (selectWordWhenUnderCursor): same + remove special code for word
15564         boundary.
15565         (selectNextWord): use kind() to guess type of insetspecialchar,
15566         not latex().
15567
15568         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15569         (insertErtContents): create ert insets as collapsed.
15570         (readInset): better compatibility code for Info inset.
15571
15572 2001-07-20  Juergen Vigna  <jug@sad.it>
15573
15574         * lyxfunc.C (dispatch): use always LyXFind now!
15575
15576         * text2.C (init): add a reinit flag so that the LyXText can be
15577         reinited instead of deleted and reallocated (used in InsetText).
15578
15579         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15580
15581         * text.C: ditto
15582
15583         * text2.C: ditto
15584
15585 2001-07-18  Juergen Vigna  <jug@sad.it>
15586
15587         * text.C (selectNextWord): handle insets inside inset by calling
15588         always the bv->text functions so that we can go up the_locking_inset!
15589
15590         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15591         in strange locations when inside an inset!
15592
15593         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15594         handling to include insets.
15595
15596         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15597
15598 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15599
15600         * LyXAction.C (init):
15601         * commandtags.h:
15602         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15603         LIGATURE_BREAK, since the name is so stupid.
15604
15605 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15606
15607         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15608         InsetInfos.
15609
15610         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15611
15612         * sp_form.[Ch]: remove.
15613
15614         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15615
15616         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15617         InsetInfo.
15618
15619         * src/buffer.C (readInset): ditto.
15620
15621 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15622
15623         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15624         menuSeparator(), endOfSentenceDot(), ldots() and
15625         hyphenationPoint(), which are therefore removed.
15626         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15627
15628         * LyXAction.C (init):
15629         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15630
15631         * paragraph.C (getWord): removed.
15632
15633         * BufferView_pimpl.C (Dispatch): use last word or selection for
15634         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15635
15636         * lyx_main.C (queryUserLyXDir): do not ask before creating
15637         user_dir, except if it has been named explicitely.
15638
15639 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15640
15641         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15642         a document of zero size.
15643
15644 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15645
15646         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15647         approriately in the c-tor and in require().
15648         (getPackages): output the appropriate LaTeX for natbib support.
15649
15650         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15651         variables "use_natbib" and "use_numerical_citations" when reading the
15652         LyX file.
15653         (readInset): read the various natbib cite commands.
15654         (validate): white-space change.
15655
15656         * bufferparams.[Ch]: new variables "bool use_natbib" and
15657         "bool use_numerical_citations".
15658         (writeFile): output them in the LyX file.
15659
15660 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15661
15662         * lyxfunc.C (getStatus): add support for all the inset insertion
15663         commands.
15664
15665         * text2.C (insertInset):
15666         * paragraph.C (insetAllowed):
15667         * BufferView_pimpl.C (insertInset): update to take in account the
15668         renaming of insertInsetAllowed
15669
15670         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15671
15672         * text2.C (getInset): new method. returns inset at cursor position.
15673
15674         * BufferView_pimpl.C (Dispatch): changes because of this.
15675
15676         * LyXAction.C (init): rename open-stuff to inset-toggle.
15677
15678         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15679
15680         * text2.C (toggleInset): renamed from openStuff; use
15681         Inset::open().
15682
15683 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15684
15685         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15686
15687         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15688
15689 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15690
15691         * buffer.C (readLyXformat2): Add filename to the error dialog
15692
15693 2001-07-18  Juergen Vigna  <jug@sad.it>
15694
15695         * tabular.C (GetCellNumber): put an assert here instead of the check!
15696
15697 2001-07-17  Juergen Vigna  <jug@sad.it>
15698
15699         * BufferView_pimpl.C (toggleSelection): adapted too.
15700
15701         * text.C (selectNextWord): adapted for use with insets.
15702         (selectSelectedWord): ditto
15703
15704 2001-07-17  Juergen Vigna  <jug@sad.it>
15705
15706         * sp_spell.C (PSpell): fix initialitation order.
15707
15708 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15709
15710         * paragraph.C: spacing
15711
15712 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15713
15714         * sp_spell.C: repair language selection for pspell
15715
15716 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15717
15718         * lyxfunc.h: change more methods to begin with lower char.
15719
15720 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15721
15722         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15723         for unknown layouts.
15724
15725 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15726
15727         * buffer.C (readLyXformat2): Generate an error dialog if there are
15728         unknown layouts.
15729
15730 2001-07-16  Juergen Vigna  <jug@sad.it>
15731
15732         * sp_spell.C: always compile ISpell part.
15733
15734         * lyxrc.C: added use_pspell entry and it's handling.
15735
15736 2001-07-13  Juergen Vigna  <jug@sad.it>
15737
15738         * sp_spell.C: removed double includes.
15739
15740 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15741
15742         Consistent use of Lsstream.h:
15743         * Lsstream.h: added using std::stringstream for consistencies sake.
15744
15745         * buffer.C: removed using std::stringstream
15746
15747         * lyxfont.C (stateText):
15748         * paragraph.C (asString):
15749         * text.C (selectNextWord, selectSelectedWord):
15750         * text2.C (setCounter):
15751         * vspace.C (asString, asLatexString):
15752         std::ostringstream -> ostringstream.
15753
15754 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15755
15756         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15757         * commandtags.h: add LFUN_HELP_ABOUTLYX
15758         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15759
15760 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15761
15762         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15763         cursorToggle()
15764         * lyx_gui_misc.C: remove spellchecker
15765         * lyxfunc.C: showSpellchecker
15766         * sp_base.h: added
15767         * sp_ispell.h: added
15768         * sp_pspell.h: added
15769         * sp_spell.C: added
15770         * sp_form.[Ch]: removed
15771         * spellchecker.[Ch]: removed
15772
15773 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15774
15775         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15776         is set.
15777         (simpleTeXSpecialChars): Simply print the input character without
15778         any special translation if pass_thru is set.
15779
15780         * layout.h: Added bool pass_thru to layout class for being able to
15781         implement pass through of a paragraph for Literate Programming.
15782
15783         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15784         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15785         * layout.C (Read): add "passthru" to list of layout tags and add
15786         code to set the pass_thru boolean when it is read.
15787
15788 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15789
15790         * trans_decl.h: remove allowed from KmodInfo
15791
15792         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15793         remove allowed code
15794         (Load): adjust
15795
15796         * paragraph_pimpl.C (erase): use boost::prior
15797
15798         * Painter.C (text): use data() instead of c_str() when length is
15799         also provided.
15800         * WorkArea.C (putClipboard): ditto
15801         * font.h (width): ditto
15802
15803         * BufferView2.C: use it-> instead of (*it). for iterators
15804         * texrow.C: ditto
15805         * paragraph_pimpl.C: ditto
15806         * paragraph.C: ditto
15807         * minibuffer.C: ditto
15808         * language.C: ditto
15809         * kbmap.C: ditto
15810         * encoding.C: ditto
15811         * counters.C: ditto
15812         * converter.C: ditto
15813         * chset.C: ditto
15814         * Variables.C: ditto
15815         * TextCache.C: ditto
15816         * MenuBackend.C: ditto
15817         * LyXAction.C: ditto
15818         * LColor.C: ditto
15819         * FloatList.C: ditto
15820         * DepTable.C: ditto
15821         * ColorHandler.C (LyXColorHandler): ditto
15822
15823 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15824
15825         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15826
15827         * text2.C (openStuff): reintroduce this method (which had been
15828         nuked in NEW_INSETS frenzy).
15829
15830         * lyxfunc.C (Dispatch): when an action has not been handled, use
15831         its name in the error message, not its number.
15832
15833         * paragraph.C (inInset): change method name to begin with lowercase.
15834
15835         * undo_funcs.C:
15836         * text2.C: updates because of this.
15837
15838 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15839
15840         * ToolbarDefaults.C (add): add spaces in error message
15841
15842 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15843
15844         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15845         (readLyXformat2): rename return_par to first_par, use lyxlex's
15846         pushToken and remove the manual push handling.
15847         (parseSingleLyXformat2Token): add another ert comp. variable:
15848         in_tabular, rename return_par to first_par. handle newlines better
15849
15850 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15851
15852         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15853
15854 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15855
15856         * text2.C (getParFromID): removed
15857
15858         * buffer.C (getParFromID): new method moved form lyxtext.
15859         * BufferView2.C (insertErrors): adjust
15860         (setCursorFromRow): adjust
15861         * BufferView_pimpl.C (restorePosition): adjust
15862         * lyxfunc.C (Dispatch): adjust
15863         * undo_funcs.C (textUndo): adjust
15864         (textRedo): adjust
15865         (textHandleUndo): adjust
15866         (textHandleUndo): adjust
15867
15868 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15869
15870         * buffer.C: up' the LYX_FORMAT
15871
15872         * lyxfont.h: turn NO_LATEX on as default
15873
15874         * buffer.C (insertErtContents): new methods of tex style compability.
15875         (parseSingleLyXformat2Token): use it several places.
15876         * tabular.C (OldFormatRead): and here
15877
15878 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15879
15880         * text2.C: remove some commented code.
15881         reindent file.
15882
15883         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15884         * trans.C: changes because of the above.
15885
15886 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15887
15888         * text2.C (setCounter): Fix counters bug with bibliography layout.
15889
15890 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15891
15892         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15893         own member functions
15894         (simpleTeXSpecialChars): ditto
15895
15896 2001-07-06  Juergen Vigna  <jug@sad.it>
15897
15898         * a lot of files: changed the access to LyXText::status and the
15899         call of undo-functions.
15900
15901         * undo.[Ch]: added a inset_id to the undo informations.
15902
15903         * undo_funcs.[Ch]: added and moved here all undo functions.
15904
15905         * lyxtext.h: give the status enum a weight, made status_ a private
15906         variable and made accessor functions for it, removed the whole bunch
15907         of undo-functions as they are now in their own file, make some
15908         functions publically available. Added function ownerParagraph with
15909         int parameter.
15910
15911         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15912         made InInset() a const function, added getParFromID() function.
15913
15914         * buffer.[Ch]: added const version for inset_iterator functions,
15915         added getInsetFromID() function.
15916
15917         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15918         changed undo functions for new version.
15919
15920 2001-07-05  Juergen Vigna  <jug@sad.it>
15921
15922         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15923         unknow mechanism does not call the proper constructor but only this
15924         one also if I request the other!?
15925
15926 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15927
15928         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15929
15930         * text2.C (LyXText): use initialization lists.
15931
15932         * lyxtext.h (Selection): initialize set_ and mark_
15933         (init): remove method
15934
15935 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15936
15937         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15938
15939 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15940
15941         * screen.[Ch]: change method names to begin with lowercase
15942
15943         * BufferView_pimpl.C (updateScrollbar): simplify further and
15944         hopefully make it a bit faster.
15945
15946 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15947
15948         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15949         calling directly xforms functions.
15950
15951         * Painter.C (Painter):
15952         * lyx_cb.C (MenuWrite):
15953         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15954         fl_display.
15955
15956         * lyx_gui.C: remove bogus guiruntime extern declaration.
15957
15958 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15959
15960         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15961         in NEW_INSETS
15962         (redoDrawingOfParagraph): ditto
15963         (redoParagraphs): ditto
15964         (cutSelection): don't create a object for CutAndPaste use the
15965         static method directly
15966         (pasteSelection): ditto
15967
15968         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15969         LyXview (+ rename)
15970
15971 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * modifications to some other files because of this.
15974
15975         * Makefile.am (lyx_SOURCES): add XFormsView
15976
15977         * XFormsView.[Ch]: new files
15978
15979         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15980         the main window. Move the gui dependent stuff to XFormsView
15981
15982 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15983
15984         * tabular.C (GetCellInset): update cur_cell also in the row/col
15985         version of this function.
15986
15987         * lyxfunc.C: no need to include figure_form.h here.
15988
15989         * FontLoader.h:
15990         * lyxfunc.h:
15991         * lyxscreen.h:
15992         * text2.C:
15993         * lyxvc.C: no need to include forms.h here.
15994
15995 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15996
15997         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15998
15999         * lyxfunc.C (Dispatch):
16000         * Spacing.C (set):
16001         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16002         constructor argument.
16003
16004 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16005
16006         * paragraph.C (Paragraph): dont't clear, and just set layout.
16007         (makeSameLayout): use params's copy contructor.
16008
16009         * ParagraphParameters.[Ch] (makeSame): delete method
16010
16011 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16012
16013         * Variables.[Ch]: fix indentation, rename set to isSet
16014
16015 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16016
16017         * lyxfunc.C (Dispatch): fix typo
16018
16019 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16020
16021         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16022         upper_bound.
16023
16024         * bufferlist.C: include assert.h for emergencyWrite().
16025
16026 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16027
16028         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16029           give up at last (bug #425202) !
16030
16031 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16032
16033         * lyx_gui_misc.C:
16034         * sp_form.h:
16035         * sp_form.C:
16036         * spellchecker.h:
16037         * spellchecker.C: strip spellchecker options and bring up
16038           preferences tab instead
16039
16040 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16041
16042         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16043         the istringstream constructor
16044
16045 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16046
16047         * paragraph.C (getLayout): fix return value
16048
16049         * paragraph.h: do not declare getLayout as inline.
16050
16051         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16052
16053 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16054
16055         * lyxcursor.h (operator<): new func
16056         (operator>): new func
16057         (operator>=): new func
16058         (operator<=): new func
16059
16060         * text.C (changeCase): use selection.start and selection.end
16061         (changeRegionCase): require from to be <= to. Require par to be a
16062         valid paragraph.
16063
16064         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16065
16066 2001-06-27  Juergen Vigna  <jug@sad.it>
16067
16068         * text.C (cursorLeftOneWord): changed to return the cursor and added
16069         overlay with BufferView * parameter which calls this one.
16070         (getWord): added
16071         (selectWord): use new getWord function.
16072         (changeCase): renamed from changeWordCase as and extended to work
16073         also on selections.
16074
16075         * lyxtext.h: added enum word_location
16076
16077         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16078         changeCase as this operates now also on selections.
16079
16080 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16081
16082         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16083
16084         * many files: send debug output to Debug::INFO instead of
16085         Debug::ANY.
16086
16087         * converter.C (View):
16088         (Convert):
16089         (Move): send debug output to Debug::FILES instead of console.
16090
16091 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16092
16093         * lyxfunc.C (getStatus): use func_status
16094
16095         * func_status.h: new header, describing the results of
16096         LyXFunc::getStatus;
16097
16098         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16099         LFUN_MATH_HALIGN.
16100
16101 2001-06-25  The LyX Project  <jug@sad.it>
16102
16103         * buffer.C (sgmlOpenTag):
16104         (sgmlCloseTag):
16105         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16106
16107 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16108
16109         * text2.C: remove some dead code
16110
16111         * tabular.C (GetCellInset): store the last cell checked (gotten)
16112
16113         * tabular.h: add the helper for the speedup
16114
16115         * lyxtext.h: remove some dead code
16116
16117 2001-06-26  The LyX Project  <Asger>
16118
16119         * paragraph.C: Change export to LaTeX of alignment to
16120         \begin{center} and family for better roundtrip work with reLyX.
16121
16122         * Tune the math drawing a bit.
16123
16124 2001-06-25  The LyX Project  <Asger>
16125
16126         * LColor.C (LColor): New color for math background. New color
16127         for buttons.
16128
16129 2001-06-25  The LyX Project  <jug@sad.it>
16130
16131         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16132
16133         * lyxfunc.C (Open):
16134         * bufferlist.C (newFile): do not restrict to files ending with
16135         .lyx
16136
16137         * BufferView_pimpl.C (MenuInsertLyXFile):
16138
16139 2001-06-24  The LyX Project  <jug@sad.it>
16140
16141         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16142         of compare_no_case
16143
16144 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16145
16146         * lyxtext.h: rename most methods to begin with a small char.
16147         Lots of changes because of this.
16148
16149         * paragraph.C (Paragraph): do not call fitToSize
16150         (erase): call Pimpl::erase
16151         (insertChar): call Pimpl::insertChar
16152         (insertInset): call Pipl::insertInset
16153         (breakParagraph): do not call fitToSize
16154         (breakParagraphConservative): do not call fitToSize
16155         (fitToSize): remove method
16156
16157         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16158
16159 2001-06-24  The LyX Project  <Asger>
16160
16161         * Fix Qt compilation^2
16162
16163 2001-06-24  The LyX Project  <jug@sad.it>
16164
16165         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16166         depthHook(getDepth()-1).
16167
16168         * paragraph.h:
16169         * ParagraphParameters.h:
16170         * ParameterStruct.h: change type of depth to unsigned int ==
16171         depth_type. Many adaptations to other files before of that.
16172
16173 2001-06-24  The LyX Project  <Asger>
16174
16175         * Fix Qt compilation.
16176
16177 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16178
16179         * paragraph.h: renamed several methods to begin with small letter.
16180         several changes to many parts of the code because of this.
16181
16182 2001-06-23  The LyX Project  <jug@sad.it>
16183
16184         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16185         rewritten to discard all double spaces when KeepEmpty is off
16186         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16187         to only handle newlines but not fiddle with spaces and friends.
16188
16189         * lyxfunc.C (MenuNew): when doing 'new from template', use
16190         template_path as default directory
16191
16192 2001-06-23  The LyX Project  <Asger>
16193
16194         * Clean-up of header file includes all over
16195         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16196
16197 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16198
16199         * paragraph.h: renamed from lyxparagraph.h
16200
16201 2001-06-23  Asger  <lyx@violet.home.sad.it>
16202
16203         * Buffer.h: Removed Buffer::resize
16204         * BufferList.h: Removed BufferList::resize
16205         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16206         the document lazily when we change the width, or the font settings.
16207
16208 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16209
16210         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16211
16212 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16213
16214         * buffer.h: remove out of date comment
16215
16216 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16217
16218         * lyxscreen.h:
16219         * screen.C: fix "theoretical" GC leak
16220
16221 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16222
16223         * LaTeX.C (scanAuxFile):
16224         (deplog): remove trailing \r when reading stream (useful under
16225         win32)
16226
16227 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16228
16229         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16230         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16231         and BufferView::theLockingInset(Inset*), so should use them and not
16232         access bv_->text->the_locking_inset directly.
16233
16234         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16235
16236 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16237
16238         * Makefile.am:
16239         * tex-defs.h: remove old unused file
16240
16241 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16242
16243         * BufferView_pimpl.C: fix typo, remove minibuffer message
16244           when buffer has loaded
16245
16246 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * lyxfunc.C (Dispatch): use stringstream
16249         (MenuNew): use stringstream
16250         (Open): use stringstream
16251
16252         * importer.C (Import): use stringstream
16253
16254         * bufferview_funcs.C (CurrentState): use stringstream
16255
16256         * LaTeX.C (run): use stringstream
16257
16258         * BufferView_pimpl.C (savePosition): use stringstream
16259         (restorePosition): use stringstream
16260         (MenuInsertLyXFile): use stringstream
16261
16262 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16263
16264         * BufferView.C:
16265         * Bullet.C:
16266         * ColorHandler.C:
16267         * FontInfo.C:
16268         * FontLoader.C:
16269         * LColor.C:
16270         * LaTeXFeatures.C:
16271         * Painter.C:
16272         * gettext.C:
16273         * lyx_gui_misc.C:
16274         * lyxserver.C:
16275         * vspace.C: removed // -*- C++ -*- as first line.
16276
16277         * lyxfind.h:
16278         * version.h: added // -*- C++ -*- as first line.
16279
16280 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16281
16282         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16283
16284         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16285         of string
16286
16287 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16288
16289         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16290         of floats.
16291
16292 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16293
16294         * gettext.C: include LString.h even when --disable-nls is on.
16295
16296 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16297
16298         * converter.h (Get): changed argument type from int to
16299         FormatList::size_type to avoid unnecessary conversion.
16300
16301         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16302         before using it.
16303
16304 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16305
16306         * gettext.h: include LString.h even when --disable-nls is on.
16307
16308 2001-06-07  Juergen Vigna  <jug@sad.it>
16309
16310         * text.C (BreakAgain): subst spaces with tabs.
16311
16312         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16313         (resizeInsetsLyXText): set force on resizeLyXText.
16314
16315 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16316
16317         * gettext.h (gettext_init):
16318         (locale_init): use a real definition instead of a macro
16319
16320 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16321
16322         * Bufferview_pimpl.C:
16323         * LColor.h:
16324         * LColor.C: further lcolor tidies
16325
16326 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16327
16328         * BufferView_pimpl.C (updateScrollbar): simplify.
16329
16330         * BufferView2.C: don't include insets/insetinfo.h, change
16331         prototype for insertInset and call the Pimpl version. let
16332         updateInset call Pimpl version.
16333
16334         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16335         gotoInset to BufferView::Pimpl
16336
16337 2001-06-01  Juergen Vigna  <jug@sad.it>
16338
16339         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16340         inside a LockingInset (is the update needed at all?).
16341
16342 2001-05-31  Juergen Vigna  <jug@sad.it>
16343
16344         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16345         here not the old one otherwise how should we compare it afterwards
16346         if it's the same!
16347
16348 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16349
16350         * lyxfont.C:
16351         * tabular.C:
16352         * tabular-old.C:
16353         * FontInfo.C: bring C functions into global namespace when
16354         necessary
16355
16356 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16357
16358         * LString.h: make sure config.h has been loaded before LString.h.
16359
16360         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16361         (one for each char read by EatLine!).
16362
16363         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16364         variables.
16365
16366 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16367
16368         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16369         to the same as the par we break from
16370
16371 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16372
16373         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16374
16375         * MenuBackend.C (expand): also create menu entries for wide
16376         versions of the floats.
16377
16378         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16379
16380         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16381
16382         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16383         frontends/Makefile.am
16384
16385         * text2.C: adjust
16386         * text.C: adjust
16387
16388
16389         * tabular.C (getTokenValue): add std::
16390
16391         * tabular-old.C (getTokenValue): add std::
16392         (getTokenValue): ditto
16393         (getTokenValue): ditto
16394
16395         * screen.C (ToggleSelection): adjust
16396
16397         * lyxtext.h: put selection cursors inside a Selection struct.
16398
16399         * lyxfunc.C (moveCursorUpdate): adjust
16400
16401         * lyxfont.C (latexWriteStartChanges): add std::
16402
16403         * lyxfind.C: adjust
16404
16405         * font.h: delete with(char const *, LyXFont const &)
16406
16407         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16408
16409         * FontInfo.C (getFontname): add std::
16410
16411         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16412         (workAreaButtonPress): adjust
16413         (tripleClick): adjust
16414         (update): adjust
16415         (moveCursorUpdate): adjust
16416         (Dispatch): adjust
16417
16418         * BufferView2.C (gotoInset): adjust
16419
16420 2001-05-30  Juergen Vigna  <jug@sad.it>
16421
16422         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16423         to check pspell I add this as default as I now have new pspell
16424         libraries and they seem to use this.
16425
16426 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16427
16428         * text2.C (CutSelection): make the cursor valid before the call to
16429         ClearSelection.
16430
16431 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16432
16433         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16434         relied on 0 terminated strings and other horrors. Bug found due to
16435         the new assert in lyxstring!
16436
16437         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16438         KP_ keys.
16439
16440 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16441
16442         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16443         to latinkeys.bind.
16444
16445         * lyxfunc.C (processKeySym): change method of getting to the
16446         self-insert char.
16447
16448         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16449         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16450         * BufferView_pimpl.[Ch]: here as private methods.
16451
16452 2001-05-28  Juergen Vigna  <jug@sad.it>
16453
16454         * text.C (SetHeightOfRow): added the update() call again as it is
16455         needed to initialize inset dimensions!
16456
16457 2001-05-16  Juergen Vigna  <jug@sad.it>
16458
16459         * text2.C (SetCharFont): Add new function with BufferView * and
16460         bool toggleall parameters for setting insets internal fonts.
16461         (SetFont): Freeze the undo as we may change fonts in Insets and
16462         all this change should be inside only one Undo!
16463
16464         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16465         setting font's in insets as for them we have the SetFont function!
16466
16467 2001-05-15  Juergen Vigna  <jug@sad.it>
16468
16469         * text2.C (ClearSelection): to be sure we REALLY don't have any
16470         selection anymore!
16471
16472         * tabular.C (TeXCellPreamble): fixed the left border problem for
16473         multicolumn cells.
16474
16475 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16476
16477         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16478         dependancy file
16479
16480 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16481
16482         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16483         LFUN_BREAKPARAGRAPH.
16484
16485         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16486         help test to "internal only", similar for LFUN_INSERT_URL
16487
16488         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16489         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16490         auto_region_delete and deadkeys.
16491
16492 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16493
16494         * LColor.h:
16495         * LColor.C: remove some dead entries, tidy a little
16496
16497 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16498
16499         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16500         commented code.
16501         (Dispatch): implement LFUN_ESCAPE
16502
16503         * commandtags.h: add LFUN_ESCAPE
16504
16505         * LyXAction.C (init): add entry for LFUN_ESCAPE
16506
16507         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16508         Remove commented code.
16509         (insertNote): moved here
16510         (open_new_inset): moved here
16511
16512         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16513         BufferView_pimpl
16514
16515 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16516
16517         * kbmap.C (findbinding): clean it up and make it work correctly.
16518
16519         * lyx_main.C (init): do not pass argc and argv as parameters
16520
16521 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16522
16523         * buffer.C: fix path for OS/2 & Win32
16524
16525         * lyx_gui.C:
16526         * lyx_main:
16527         * lyx_main.C: Added os:: class.
16528
16529         * os2_defines.h: update
16530
16531 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16532
16533         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16534         better by trying again with reduced state.
16535
16536 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16537
16538         * lyxrc.C (read): print error about invalid key sequence only when
16539         debugging (because not all latinX keysyms are known to some X
16540         servers)
16541
16542         * kbsequence.C (getiso): add a few std:: qualifiers
16543         (getiso): comment out extra return statement.
16544
16545 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16546
16547         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16548         handling.
16549         (Dispatch): enhance the accent inset a bit. (not perfect)
16550
16551 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16552
16553         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16554
16555 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16556
16557         * bufferlist.C (emergencyWrite): fix assert() call
16558
16559 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16560
16561         * text.C (InsertChar): Added trivial patch to only send the "you
16562         can not do multiple spaces this way" message once during a
16563         session.
16564
16565 2001-05-08  Baruch Even  <baruch@lyx.org>
16566
16567         * Makefile.am: Changed order of libraries to get LyX to link properly
16568         with the gnome frontend.
16569
16570 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16571
16572         * LaTeXFeatures.h: add a std:: qualifier
16573
16574 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16575
16576         * paragraph.C (String): use stringstream
16577
16578 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16579
16580         * paragraph.C (writeFile): remove footflag arg
16581
16582         * buffer.C (makeLaTeXFile): use stringstream
16583         (latexParagraphs): remove footnot gurba
16584
16585         * LaTeXFeatures.C (getPackages): use stringstream
16586         (getMacros): likewise
16587         (getTClassPreamble): likewise
16588         (getFloatDefinitions): new method
16589
16590         * paragraph.C (writeFile): reindent
16591         (Erase): reindent
16592
16593         * WorkArea.h: revert the xpos + etc changes.
16594
16595         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16596
16597         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16598
16599         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16600         (pasteSelection): likewise
16601         * text2.C (CreateUndo): likewise
16602
16603 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16604
16605         * minibuffer.C (peek_event): temporarily reduce the functionality
16606         of the minibuffer (to allow args on lfuns)
16607
16608         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16609         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16610
16611         * buffer.C (readInset): add compability reading of old float
16612         lists, add reading of new style float list.
16613         (readInset): avoid reevaluation of inscmd.getCmdName()
16614         (getLists): reindent
16615
16616         * MenuBackend.C (MenuItem): implement parsing of
16617         md_floatlistinsert and md_floatinsert.
16618         (expand::LastFiles): move initalizaton of iterators out of loop,
16619         avoid reevaluation.
16620         (expand::Documents): introduce typdedef vector<string> Strings,
16621         and use it.
16622         (expand::ExportFormats): introduce typedef vector<Format const *>
16623         Formats, and use it.
16624         (expand): implement FloatListInsert and FloatInsert.
16625
16626         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16627         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16628         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16629
16630         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16631         handling.
16632         (Dispatch::LFUN_FLOAT_LIST): implement
16633
16634 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16635
16636         * LaTeX.C (run): Fix problem with --export code.
16637
16638 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16639
16640         * BufferView.[Ch] (workarea): removed.
16641         (getClipboard) new method; wrapper for workarea()->getClipboard()
16642
16643         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16644         bug.
16645
16646         * WorkArea.h (width, height, xpos, ypos): These methods all
16647         returned the dimensions of the work_area sub-area of WorkArea,
16648         resulting in a position error if the WorkArea were resized. Now
16649         return the dimensions of the entire WorkArea.
16650
16651         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16652
16653 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16654
16655         * LaTeX.C (deplog): correct the syntax of regex reg1
16656
16657 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16658
16659         * undo.C: remove !NEW_INSETS cruft
16660
16661 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16662
16663         * text2.C: remove !NEW_INSETS cruft
16664
16665         * text.C: remove !NEW_INSETS cruft
16666
16667         * tabular.C: remove !NEW_INSETS cruft
16668
16669         * spellchecker.C: remove !NEW_INSETS cruft
16670
16671         * lyxtext.h: remove !NEW_INSETS cruft
16672
16673         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16674
16675         * lyxfunc.C: remove !NEW_INSETS cruft
16676
16677         * lyxfind.C: remove !NEW_INSETS cruft
16678
16679         * lyx_cb.C: remove !NEW_INSETS cruft
16680
16681         * figureForm.C: remove  !NEW_INSETS cruft
16682
16683         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16684
16685         * buffer.[Ch]: remove !NEW_INSETS cruft
16686
16687         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16688
16689         * CutAndPaste.C: remove !NEW_INSETS cruft
16690
16691         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16692
16693         * BufferView2.C: remove !NEW_INSETS cruft
16694
16695         * BufferView.h: remove !NEW_INSETS cruft
16696
16697 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16698
16699         * Lsstream.h: include LString.h before the sstream headers to
16700         fix problem with gcc 2.95.3 and lyxstring
16701
16702 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16703
16704         * lyx_main.C: add using directives when needed for C functions
16705         declared in std:: namespace.
16706
16707 2001-04-27  Juergen Vigna  <jug@sad.it>
16708
16709         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16710         (SetHeightOfRow): comment out the update call should not be needed!
16711
16712 2001-04-13  Juergen Vigna  <jug@sad.it>
16713
16714         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16715         (LyXTabular): tried to minimize operator= operations (and realized
16716         hopfully Lars wish).
16717
16718 2001-04-27  Juergen Vigna  <jug@sad.it>
16719
16720         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16721
16722 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16723
16724         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16725
16726         * buffer.C (readInset): hack to make listof algorithm work
16727
16728         * BufferView_pimpl.C: hack to make listof algorithm work
16729
16730 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16731
16732         * LyXAction.C: removed all !NEW_INSETS cruft
16733         (init): moved lfun_item in method
16734
16735         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16736
16737 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16738
16739         * BufferView2.C (theLockingInset): white space.
16740
16741 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16742
16743         * minibuffer.C: include <iostream>
16744
16745         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16746
16747         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16748
16749         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16750
16751         * text.[Ch] (TransposeChars): new method
16752
16753 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16754
16755         * call message directly through LyXView instead of through LyXFunc
16756         * BufferView2.C: adjust
16757         * BufferView_pimpl.C: adjust
16758         * FontLoader.C: adjust
16759         * buffer.C: adjust
16760         * bufferview_funcs.C: adjust
16761         * converter.C: adjust
16762         * figureForm.C: adjust
16763         * importer.C: adjust
16764         * lyx_cb.C: adjust
16765         * lyx_gui_misc.C: adjust
16766         * lyxfunc.C: adjust
16767         * lyxvc.C: adjust
16768         * text2.C: adjust
16769         + more files in subdirs
16770
16771         * lyxparagraph.h (size): move up int file
16772         (GetLayout): ditto
16773
16774         * adjust all uses of Assert to lyx::Assert.
16775
16776         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16777         lyxfunctional in namespace lyx
16778         * layout.C (hasLayout): ditto
16779         (GetLayout): ditto
16780         (GetLayout): ditto
16781         (delete_layout): ditto
16782         (NumberOfClass): ditto
16783         * converter.C (GetFormat): ditto
16784         (GetNumber): ditto
16785         (Add): ditto
16786         (Delete): ditto
16787         (SetViewer): ditto
16788         * bufferlist.C (getFileNames): ditto
16789         (emergencyWriteAll): ditto
16790         (exists): ditto
16791         (getBuffer): ditto
16792         * MenuBackend.C (hasSubmenu): ditto
16793         (hasMenu): ditto
16794         (getMenu): ditto
16795         * BufferView_pimpl.C (getInsetByCode): ditto
16796
16797 2001-04-18  Juergen Vigna  <jug@sad.it>
16798
16799         * vspace.C (asLatexString): fixed the 100% problem.
16800
16801 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16802
16803         * lyxfunc.C (Dispatch):
16804         * minibuffer.C:
16805         * minibuffer.h: add a few std:: qualifiers
16806
16807 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16808
16809         * minibuffer.[Ch]: reimplement so that commands is initiated and
16810         run from lyxfunc, simplified som handling, and made the completion
16811         and history code for complete. wip.
16812
16813         * lyxfunc.C (processKeySym): call message
16814         (miniDispatch): new temporary method
16815         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16816         (LFUN_MESSAGE): implement
16817         (LFUN_MESSAGE_PUSH): implement
16818         (LFUN_MESSAGE_POP): implement
16819         (initMiniBuffer): the initial/defualt minibuffer message.
16820
16821         * lyxfont.[Ch]: inline some more getters
16822
16823         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16824
16825         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16826
16827         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16828         (AutoSave): use LFUN_MESSAGE
16829         (Reconfigure): ditto
16830
16831         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16832
16833         * figureForm.C: use LFUN_MESSAGE
16834
16835         * converter.C (runLaTeX): use LFUN_MESSAGE
16836
16837         * bufferview_funcs.C: use LFUN_MESSAGE
16838         (Melt): ditto
16839         (changeDepth): ditto
16840
16841         * bufferparams.h: use boost::
16842
16843         * bufferlist.h: inherit privately from noncopyable
16844
16845         * bufferlist.C (loadLyXFile): remove some commented code.
16846
16847         * buffer.C (runChktex): use LFUN_MESSAGE
16848
16849         * ShareContainer.h: inherit privately from noncopyable
16850
16851         * ParagraphParameters.[hC] (depth): inline it.
16852
16853         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16854         methods.
16855         (message): new method
16856         (messagePush): ditto
16857         (messagePop): ditto
16858         (show): init minibuffer
16859         (showState): direct call
16860
16861         * LaTeX.[Ch]: inherit privately from noncopyable
16862         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16863         instead of WriteStatus.
16864
16865         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16866
16867         * BufferView_pimpl.C (buffer): don't init minibuffer
16868         (workAreaButtonPress): use LFUN_MESSAGE
16869         (workAreaButtonRelease): ditto
16870         (savePosition): ditto
16871         (restorePosition): ditto
16872         (MenuInsertLyXFile): ditto
16873         (workAreaExpose): don't init minibuffer
16874         (update): remove commented code, simplify
16875
16876         * BufferView2.C (openStuff): use LFUN_MESSAGE
16877         (toggleFloat): ditto
16878         (menuUndo): ditto
16879         (menuRedo): ditto
16880         (copyEnvironment): ditto
16881         (pasteEnvironment): ditto
16882         (copy): ditto
16883         (cut): ditto
16884         (paste): ditto
16885         (gotoInset): ditto
16886         (updateInset): remove some commented code
16887
16888         * lastfiles.h: inherit privately from noncopyable
16889         * layout.h: ditto
16890         * lyx_gui.h: ditto
16891         * lyx_main.h: ditto
16892         * lyxlex.h: ditto
16893         * lyxlex_pimpl.h: ditto
16894
16895         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16896         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16897         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16898
16899         * LyXAction.h: inherit privately from noncopyable, add methods
16900         func_begin, func_end, returning iterators to the func map.
16901
16902         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16903         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16904         (func_begin): new method
16905         (func_end): new method
16906
16907         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16908         and not)
16909         (copySelection): ditto
16910         (pasteSelection): ditto
16911
16912         * BufferView.C: whitespace change
16913         * BufferView.h: inherit privately from noncopyable
16914
16915 2001-04-16  Allan Rae  <rae@lyx.org>
16916
16917         * tabular-old.C (l_getline):
16918         * spellchecker.C (sc_check_word):
16919         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16920         an unrecognised preprocessor directive.  So ensure they're wrapped.
16921
16922 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16923
16924         * src/exporter.C (Export): Give an error message when path to file
16925         contains spaces.
16926
16927 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16928
16929         * LaTeX.C (deplog): Always check that foundfile exists.
16930
16931 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16932
16933         * lyx_main.h:
16934         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16935
16936 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16937
16938         * tabular.[Ch] (getLabelList): implement new method
16939
16940         * minibuffer.h: comment ouf setTiimer
16941
16942         * minibuffer.C (ExecutingCB): constify res
16943         (peek_event): constify s
16944         (Set): constify ntext
16945         (Init): constify nicename
16946
16947         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16948
16949         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16950         (savePosition): use two params to Minibuffer::Set
16951         (restorePosition): ditto
16952
16953 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16954
16955         * lyx_main.C: include language.h
16956
16957         * Makefile.am (lyx_main.o): add language.h
16958
16959 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16960
16961         * exporter.C:
16962         * paragraph.C:
16963         * screen.C:
16964         * tabular.C:
16965         * CutAndPaste.C: include gettext.h
16966
16967         * lyxfont.h: remove old hack with ON and OFF.
16968
16969         * lyxparagraph.h:
16970         * lyxfont.h: do not include language.h...
16971
16972         * BufferView2.C:
16973         * LaTeXFeatures.C:
16974         * Painter.C:
16975         * bufferview_funcs.C:
16976         * font.C:
16977         * lyxfont.C:
16978         * text.C:
16979         * text2.C:
16980         * trans_mgr.C:
16981         * paragraph.C: ... but do it here instead
16982
16983 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16984
16985         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16986
16987         * tabular.C: small reformat
16988
16989         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16990         NEW_INSETS version
16991         (GetChar): ditto
16992         (BreakParagraph): ditto
16993         (SetOnlyLayout): ditto
16994         (SetLayout): ditto
16995
16996         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16997         with one arg less.
16998
16999         * lastfiles.C: removed most using decl, add std:: where needed
17000
17001         * buffer.C: ws changes
17002
17003         * MenuBackend.C (class compare_format): put into anon namespace
17004         (expand): constify label, names, action, action2
17005         (expand):
17006
17007         * text.C (SingleWidth): constify font
17008         (IsBoundary): constify rtl2
17009         (GetVisibleRow): constify ww
17010
17011         * LaTeX.C (deplog): constify logfile
17012
17013         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17014         start_x, end_x
17015         (workAreaExpose): constify widthChange, heightChange
17016
17017         * lyxrow.C (par): moved
17018         (height): moved
17019         (next): moved
17020         * lyxrow.h: as inlines here
17021
17022         * lyxfont.h (shape): moved from lyxfont.C
17023         (emph): moved from lyxfont.C
17024
17025         * lyxfont.C (LyXFont): use initialization list for all
17026         constructors
17027         (shape): move to lyxfont.h as inline
17028         (emph): move to lyxfont.h as inline
17029
17030
17031 2001-04-04  Juergen Vigna  <jug@sad.it>
17032
17033         * vspace.C: had to include stdio.h for use of sscanf
17034
17035 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17036
17037         * BufferView.h:
17038         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17039         independent of xforms.
17040
17041 2001-04-02  Juergen Vigna  <jug@sad.it>
17042
17043         * spellchecker.C: fixed namespace placing!
17044
17045 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17046
17047         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17048         the LyXParagraph * is 0.
17049
17050 2001-03-29  Juergen Vigna  <jug@sad.it>
17051
17052         * vspace.C: added support for %, c%, p%, l%.
17053         (stringFromUnit): added helper function.
17054         (asLatexString): changed to give right results for the %-values.
17055
17056         * buffer.C: convert the widthp in a width%.
17057
17058 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17059
17060         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17061         figureForm.[Ch].
17062
17063         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17064         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17065
17066         * lyx_cb.[Ch]: see above.
17067
17068         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17069         form1.[Ch].
17070
17071         * form1.[Ch]:
17072         * lyx.[Ch]: replaced by figure_form.[Ch].
17073
17074         * lyx_gui.C:
17075         * lyx_gui_misc.C:
17076         * lyxfunc.C: changed headers associated with above changes.
17077
17078 2001-03-27  Juergen Vigna  <jug@sad.it>
17079
17080         * BufferView_pimpl.C: set the temporary cursor right!
17081
17082 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17083
17084         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17085
17086 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17087
17088         * LString.h: removed "using std::getline"!
17089
17090         * BufferView_pimpl.C (Dispatch): changes due to changes in
17091         InsetInclude::Params.
17092
17093         * buffer.C (tag_name): removed redundant break statements as they were
17094         producing lots of warnings with my compiler.
17095
17096 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17097
17098         * LString.h: add "using std::getline" when using the real <string>.
17099
17100 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17101
17102         * buffer.C: removed bitset usage.
17103         PAR_TAG moved to an anonymous name space.
17104         (tag_name): new funtion, also in the anonymous namespace.
17105         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17106         (makeDocBookFile): clean code. Completed transition from string arrays
17107         to string vectors.
17108         (SimpleDocBookOnePar): code clean.
17109
17110 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17111
17112         * tabular.C: add some comments.
17113
17114 2001-03-22  Juergen Vigna  <jug@sad.it>
17115
17116         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17117         compatibility read a bit and fixed bug with minipage in different
17118         depth.
17119
17120 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17121
17122         * buffer.C (pop_tag): removed.
17123         (push_tag): removed.
17124         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17125         array replaced with vector. Added support for CDATA sections.
17126         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17127         at any nest level.
17128         (makeDocBookFile): XML conformant declaration of CDATA section,
17129         fixed bug related to <emphasis> in the first paragraph char.
17130         (sgmlOpenTag): exclude empty tags.
17131         (sgmlCloseTag): ditto.
17132
17133         * buffer.h (pop_tag): removed.
17134         (push_tag): removed.
17135
17136 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17137
17138         * language.h (Languages): added size_type and size().
17139
17140 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17141
17142         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17143         response on compability reading of minipages. One probliem is that
17144         the old usage of minipages was «flertydig»
17145
17146         * several files here and in subdirs: don't use static at file
17147         scope use anon namespaces instead.
17148
17149 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17150
17151         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17152         LaTeX output. This is necessary for Literate document
17153         processing.
17154
17155 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17156
17157         * buffer.C: insert hfill when needed.
17158
17159         * tabular.C (l_getline): use string::erase, small whitespace change.
17160
17161         * BufferView_pimpl.C: try the anon namespace.
17162         * WorkArea.C: ditto
17163
17164 2001-03-16  Juergen Vigna  <jug@sad.it>
17165
17166         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17167         otherwise it won't open options-dialogs.
17168
17169         * buffer.C: honor pextraWidth(p) on converting minipages.
17170
17171         * tabular.C (l_getline): changed the functions to strip trailing \r.
17172
17173 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17174
17175         * BufferView_pimpl.C:
17176         * minibuffer..C: added "using SigC::slot" declaration.
17177
17178 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17179
17180         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17181
17182         * text2.C: ditto
17183
17184         * text.C: ditto
17185
17186         * paragraph.C: ditto
17187
17188         * lyxtext.h: NO_PEXTRA
17189
17190         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17191
17192         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17193         * ParameterStruct.h: ditto
17194         * ParagraphParameters.h: ditto
17195         * lyxparagraph.h: ditto
17196
17197 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17198
17199         * buffer.C: add compability for minipage alignment.
17200         (latexParagraphs): remove unwanted pextra check.
17201
17202         * several files: remove CXX_WORKING_NAMESPACES
17203
17204         * buffer.C (pop_tag): tie is in namespace boost
17205
17206         * BufferView.h: noncopyable is in namespace boost
17207         * lyxlex.h: ditto
17208         * lyx_main.h: ditto
17209         * lyx_gui.h: ditto
17210         * layout.h: ditto
17211         * lastfiles.h: ditto
17212         * bufferlist.h: ditto
17213         * ShareContainer.h: ditto
17214         * LyXView.h: ditto
17215         * LyXAction.h: ditto
17216         * LaTeX.h: ditto
17217
17218 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17219
17220         * Merging changes from BRANCH_MVC back into HEAD.
17221
17222         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17223
17224 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17225
17226         * BufferView_pimpl.C: change from intl.C
17227
17228         * combox.h:
17229         * combox.C:
17230         * Makefile.am: move combox.*
17231
17232         * form1.h:
17233         * form1.C:
17234         * lyx_gui.C:
17235         * intl.h:
17236         * intl.C: remove dialog (covered by prefs)
17237
17238 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17239
17240         * lyxfunc.C (Dispatch): removed redundant break statement.
17241
17242 2001-03-14  Juergen Vigna  <jug@sad.it>
17243
17244         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17245
17246 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17247
17248         * buffer.C: add hack to fix compability reading of minipages.
17249
17250 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17251
17252         * buffer.C (getLists): Cleanup.
17253
17254 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17255
17256         * lyxfont.C (update): don't honor toggleall on font size.
17257
17258 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17259
17260         * bmtable.c:
17261         * bmtable.h:
17262         * Makefile.am: moved to frontends/xforms/
17263
17264         * lyx_gui_misc.C:
17265         * lyxfunc.C:
17266         * BufferView_pimpl.C: changes for moved mathpanel
17267
17268 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17269
17270         * gettext.h: fix gettext_init() in --disable-nls
17271
17272 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17273
17274         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17275
17276 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17277
17278         * lyx.C:
17279         * lyx.h: strip external form
17280
17281 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17282
17283         * BufferView_pimpl.C: add comment, destroySplash()
17284
17285 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17286
17287         * BufferView_pimpl.C:
17288         * LyXAction.C:
17289         * buffer.C:
17290         * commandtags.h:
17291         * lyxfunc.C: use re-worked insetinclude
17292
17293 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17294
17295         * buffer.C: add using std::stringstream.
17296
17297         * lyx_cb.C: readd using std::ios.
17298
17299         * buffer.C: add using std::map.
17300
17301         * BufferView_pimpl.C: add using std::vector.
17302
17303         * ShareContainer.h: add std:: to swap.
17304
17305         * buffer.h: add some typedefs
17306         * buffer.C (getLists): use them
17307         (getLists): renamed from getTocList.
17308         add a counter for the different float types and use it in the
17309         generated string.
17310         (getLists): use the same counter for the NEW_INSETS and the "non"
17311         NEW_INSETS
17312
17313         * lyx_cb.h: remove unused items, includes, using etc.
17314
17315         * ShareContainer.h: remove some commented code, add more comments
17316         and "documentation".
17317
17318 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17319
17320         * buffer.C (getTocList): make the list also when NEW_INSETS is
17321         defined.
17322
17323         * buffer.h: remove TocType
17324
17325         * buffer.C (getTocList): change to return a map<string,
17326         vector<TocItem> >, implement for dynamic number of list.
17327
17328         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17329         * text2.C (PasteSelection): adjust
17330         * CutAndPaste.C (pasteSelection): adjust
17331
17332         * FloatList.C (FloatList): update from the new_insets branch.
17333         * Floating.[Ch]: ditto
17334         * LaTeXFeatures.C: ditto
17335         * buffer.C: ditto
17336         * lyxlex_pimpl.C: ditto
17337
17338         * paragraph.C (Last): remove when NEW_INSETS is defined.
17339
17340         * other file: changes because of the above.
17341
17342 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17343
17344         * lyxparagraph.h: rename next to next_, previous to previous_,
17345         make them private for NEW_INSETS. Rename Next() to next(),
17346         Previous() to previous().
17347
17348         * other files: changes because of the above.
17349
17350 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17351
17352         * BufferView.h:
17353         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17354         problem.
17355
17356 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17357
17358         * main.C (main): pass lyx_localedir to gettext_init().
17359
17360         * gettext.h: remove locale_init and gettext_init macros
17361
17362         * gettext.C (locale_init): new function
17363         (gettext_init): new function
17364
17365         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17366         setlocale().
17367
17368 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17369
17370         * Moved credits to frontends:
17371         * credits.[Ch]: removed
17372         * credits_form.[Ch]: removed
17373         * lyx_gui_misc.C: remove credits stuff
17374         * Makefile.am:
17375
17376 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17377
17378         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17379
17380         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17381         unneeded destructor.
17382
17383         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17384         a standalone pointer again.
17385
17386         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17387
17388 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17389
17390         * Makefile.am:
17391         * filedlg.h:
17392         * filedlg.C:
17393         * LyXAction.C:
17394         * ToolbarDefaults.C:
17395         * bufferlist.C:
17396         * commandtags.h:
17397         * form1.C:
17398         * form1.h:
17399         * lyx_cb.C:
17400         * lyx_cb.h:
17401         * lyxfunc.h:
17402         * lyxfunc.C:
17403         * BufferView_pimpl.C: use new file dialog in GUII
17404
17405         * lyx_cb.h:
17406         * lyx_cb.C: remove LayoutsCB to Toolbar
17407
17408 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17409
17410         * ShareContainer.h (get): add std:: qualifier
17411
17412 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17413
17414         * ShareContainer.h: define a proper ShareContainer::value_type
17415         type (and use typename to please compaq cxx)
17416
17417 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17418
17419         * lyxparagraph.h: move serveral local vars to
17420         ParameterStruct/ParagraphParameters., use ShareContainer in
17421         FontTable., make vars in FontTable private and add getter and
17422         setter.
17423
17424         * paragraph.C: changes because of the above.
17425
17426         * lyxfont.h: remove copy constructor and copy assignment. (the
17427         default ones is ok), move number inside FontBits. move inlines to
17428         lyxfont.C
17429
17430         * lyxfont.C: add number to initializaton of statics, move several
17431         inlines here. constify several local vars. some whitespace
17432         cleanup. Dont hide outerscope variables.
17433
17434         * Spacing.h: add two new constructors to match the set methods.
17435
17436         * ShareContainer.h: new file, will perhaps be moved to support
17437
17438         * ParameterStruct.h: new file
17439
17440         * ParagraphParameters.h: new file
17441
17442         * ParagraphParameters.C: new file
17443
17444         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17445         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17446
17447         * BufferView_pimpl.C: ParagraphParameter changes.
17448         * buffer.C: Likewise.
17449         * bufferview_funcs.C: Likewise.
17450         * text.C: Likewise.
17451         * text2.C: Likewise.
17452
17453 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17454
17455         * lyxfind.C (LyXReplace): do not redefine default argument in
17456         implementation.
17457         (IsStringInText): ditto
17458         (SearchForward): ditto
17459         (SearchBackward): ditto
17460
17461 2001-03-06  Juergen Vigna  <jug@sad.it>
17462
17463         * lyxfind.C (IsStringInText): put parentes around expressions.
17464
17465 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17466
17467         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17468
17469 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17470
17471         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17472
17473         * stl_string_fwd.h: add comment
17474
17475         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17476
17477         * tabular.h:
17478         * tabular.C: remove unused DocBook methods
17479
17480         * intl.C:
17481         * language.C:
17482         * paragraph.C:
17483         * buffer.C:
17484         killed DO_USE_DEFAULT_LANGUAGE
17485
17486 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17487
17488         * lyx_gui.C: do not include language.h.
17489
17490         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17491         arguments in function implementation.
17492
17493 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17494
17495         * BufferView_pimpl.C: add <ctime>
17496
17497 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17498
17499         * BufferView_pimpl.C: add using std::find_if
17500
17501 2001-02-27  José Matos  <jamatos@fep.up.pt>
17502
17503         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17504         by OnlyPath.
17505
17506 2001-02-11  José Matos  <jamatos@fep.up.pt>
17507
17508         * buffer.C (makeDocBookFile): command styles now have a parameter as
17509         "title" by default.
17510
17511 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17512
17513         * layout_forms.[Ch]: removed
17514         * lyx_cb.[Ch]: out character
17515         * lyx_gui.C: out character
17516         * lyx_gui_misc.C: out character
17517         * bufferview_funcs.C: : out character,
17518         added toggleall as parameter in ToggleAndShow
17519
17520 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17521
17522         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17523
17524         * text2.C (SetCurrentFont): Disable number property at boundary.
17525
17526 2001-02-26  Juergen Vigna  <jug@sad.it>
17527
17528         * lyxfunc.C (getStatus): added a string argument override function so
17529         that this is correctly called from LyXFunc::Dispatch if it contains a
17530         do_not_use_argument which is used!
17531         (Dispatch): added check for "custom" export and call appropriate func.
17532
17533 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17534
17535         * lyxrc.C: Add language_command_local, language_use_babel and
17536         language_global_options.
17537
17538         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17539
17540         * buffer.C (makeLaTeXFile): Use language_use_babel and
17541         language_global_options.
17542
17543 2001-02-23  Juergen Vigna  <jug@sad.it>
17544
17545         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17546         which works with LyXText and putted it inside BufferView. Here now we
17547         only call for that part the BufferView::Dispatch() function.
17548
17549         * BufferView.C (Dispatch): added.
17550
17551         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17552         functions which needs to use a LyXText over from LyXFunc.
17553         (MenuInsertLyXFile): added
17554         (getInsetByCode): added
17555         (moveCursorUpdate): added
17556         (static TEXT): added
17557
17558 2001-02-22  Juergen Vigna  <jug@sad.it>
17559
17560         * BufferView_pimpl.C (update): call a status update to see if LyXText
17561         needs it.
17562
17563 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17564
17565         * vc-backend.C (revert): implement for CVS
17566         (getLog): implement for CVS
17567
17568 2001-02-20  Juergen Vigna  <jug@sad.it>
17569
17570         * text2.C (ClearSelection): added BufferView param for inset_owner call
17571
17572         * lyxfunc.C (TEXT): added this function and use it instead of
17573         directly owner->view()-text of getLyXText().
17574
17575 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17576
17577         * src/layout_forms.C: out preamble
17578         * src/layout_forms.h: out preamble
17579         * src/lyx_cb.C: out preamble
17580         * src/lyx_cb.h: out preamble
17581         * src/lyx_gui.C: out preamble
17582         * src/lyx_gui_misc.C: out preamble
17583         * src/lyxfunc.C: connect with guii preamble
17584
17585 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17586
17587         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17588
17589 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17590
17591         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17592         whether to run bibtex.
17593
17594 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17595
17596         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17597
17598 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17599
17600         * Makefile.am (lyx_SOURCES): removed bibforms.h
17601
17602         * vspace.h: doxygen
17603
17604         * text.C (GetVisibleRow): make several local vars const
17605
17606         * tabular.C: small cleanup.
17607
17608         * lyxserver.C (callback): use compare instead of strncmp
17609
17610         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17611         inlines to after class or to paragraph.C
17612
17613         * lyxfont.h: remove friend operator!=
17614
17615         * converter.h: move friend bool operator< to non friend and after
17616         class def.
17617
17618         * combox.h: small cleanup
17619
17620         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17621         to inlines after class def.
17622
17623         * buffer.C (pop_tag): use string operations instead of strcmp
17624
17625         * bmtable.c: doxygen, small cleanup
17626
17627         * LaTeX.h: remove friend operator==
17628
17629 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17630
17631         * screen.C:
17632         * lyxrc.[Ch]:
17633         * lyxfunc.C:
17634         * lyxfont.[Ch]:
17635         * lyx_cb.C:
17636         * intl.[Ch]:
17637         * commandtags.h:
17638         * buffer.C:
17639         * WorkArea.[Ch]:
17640         * LyXAction.C:
17641         * BufferView_pimpl.C:
17642         * BufferView.[Ch]: remove cruft
17643
17644 2001-02-14  Juergen Vigna  <jug@sad.it>
17645
17646         * lyxfunc.C: removed #if 0 unused code
17647
17648         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17649
17650         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17651
17652         * text2.C (SetSelection): added a BufferView * parameter
17653
17654 2001-02-13  Juergen Vigna  <jug@sad.it>
17655
17656         * lyxfunc.C (Dispatch): fixed protected blank problem.
17657         * BufferView2.C (protectedBlank): added LyxText * parameter.
17658
17659         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17660         (AppendColumn): same as above for column_info.
17661
17662         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17663         (moveCursorUpdate): use a LyXText param for support of InsetText.
17664
17665         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17666         (tripleClick): ditto
17667
17668         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17669
17670         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17671
17672         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17673
17674         * text2.C (SetSelection): set correct update status if inset_owner
17675         (ToggleFree): ditto
17676
17677 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17678
17679         * tabular.C: remove some commented code.
17680
17681 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17682
17683         * BufferView_pimpl.C: call hideSplash()
17684
17685         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17686
17687         * include_form.h:
17688         * bibforms.h: remove
17689
17690         * lyxfunc.C:
17691         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17692           add LFUN_CHILD_CREATE
17693
17694         * counters.h: fix tiny typo
17695
17696         * lyx_cb.C:
17697         * lyx.h:
17698         * lyx_gui.C:
17699         * lyx.C: move splash to frontends/xforms/
17700
17701         * lyx_gui_misc.C: move Include and Bibform to frontends
17702
17703         * lyxvc.h: clarify comment
17704
17705         * vspace.C: tiny housekeeping
17706
17707 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17708
17709         * text.C (PrepareToPrint): RTL Fix.
17710
17711         * paragraph.C (GetUChar): New method.
17712         (String):  Use GetUChar.
17713
17714         * buffer.C (asciiParagraph): Use GetUChar.
17715
17716 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17717
17718         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17719
17720 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17721
17722         * buffer.h:
17723         * buffer.C: rename to getLogName(), handle
17724           build log / latex log nicely
17725
17726 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17727
17728         * MenuBackend.C:
17729         * MenuBackend.h: remove support for reference menuitem type.
17730
17731 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17732
17733         * BufferView_pimpl.C: housekeeping
17734         * BufferView_pimpl.h:
17735         * LyXView.h:
17736         * Makefile.am:
17737         * Timeout.C:
17738         * Timeout.h:
17739         * minibuffer.h: move Timeout GUI-I
17740
17741 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17742
17743         * lyxrc.C (read): Update converters data-structures.
17744
17745 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17746
17747         * LaTeX.h (operator!=): add operator != for Aux_Info
17748
17749 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17750
17751         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17752
17753         * LaTeXLog.C: deleted, useful code moved to Buffer
17754
17755         * buffer.h:
17756         * buffer.C: new function getLatexLogName()
17757
17758         * lyx_gui_misc.C:
17759         * lyx_gui.C:
17760         * lyxvc.C:
17761         * lyxvc.h:
17762         * lyxfunc.C: use frontends for LaTeX and VC logs
17763
17764 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17765
17766         * LaTeX.h: yet another std:: that Allan forgot.
17767
17768         * Variables.C (set): renamed from isset(), because this clashes
17769         with some HP-UX macros (grr).
17770
17771 2001-02-06  Allan Rae  <rae@lyx.org>
17772
17773         * LaTeX.h: Another bug fix.  Missing std:: this time.
17774
17775 2001-02-04  Allan Rae  <rae@lyx.org>
17776
17777         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17778         floats problem. I've left it commented out because it's not quite
17779         correct.  It should also test that the current object is a table or
17780         figure inset.  But I haven't gotten around to figuring out how to do
17781         that.  I *think* it'll be something like: "table" == inset.type()
17782
17783         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17784         bool.
17785
17786 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17787
17788         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17789         all the citation/databases/styles in the auxilary file.
17790         (run): Rerun latex if there was a babel language error.
17791
17792 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17793
17794         * text.C (Backspace): Preserve the font when changing newline char
17795         with a space.
17796         (BreakParagraph): If the cursor is before a space, delete the space.
17797
17798         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17799
17800 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17801
17802         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17803         new argument (code).
17804         (ChangeCitationsIfUnique): New method.
17805
17806         * paragraph.C (GetPositionOfInset): Handle bibkey.
17807
17808 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17809
17810         * BufferView_pimpl.h: change type of Position::par_pos to
17811         LyXParagraph::size_type.
17812
17813 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17814
17815         * BufferView_pimpl.C (savePosition, restorePosition): Write
17816         messages to minibuffer.
17817
17818 2001-01-28  José Matos  <jamatos@fep.up.pt>
17819
17820         * buffer.C (makeDocBookFile): adds support for document language.
17821         A silly restriction on the name of LatexCommand types where removed.
17822         Added support for CDATA sections, allows to chars unescaped, used
17823         among others in code, to avoid escape < and >.
17824
17825 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17826
17827         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17828         saved positions instrad of a stack. Furthermore, a position is
17829         stored using paragraph id/paragraph position.
17830
17831         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17832         Remove LFUN_REF_BACK.
17833
17834 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17835
17836         * converter.C (dvipdfm_options): New method.
17837
17838 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17839
17840         * vspace.C (isValidLength): Fix for empty input string.
17841
17842 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17843
17844         * LyXAction.C (init): change description of LFUN_FIGURE to
17845         "Insert Graphics"
17846
17847 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17848
17849         * LaTeX.C: add using directive
17850
17851 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17852
17853         * MenuBackend.C (expand): Fix the sorting of the formats.
17854
17855 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17856
17857         * lyx_main.C: tiny error message fix
17858
17859 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17860
17861         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17862         calling fl_initialize(). This fixes the problem with ',' as
17863         decimal separator in text files.
17864
17865 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17866
17867         * trans.C (process): Fix the keymap bug.
17868
17869 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17870
17871         * LaTeX.C (scanAuxFiles): New method. Provides support for
17872         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17873         (scanLogFile) Scan for "run BibTeX" messages.
17874
17875         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17876         OT1 font encoding. Also, load the aecompl package if the ae
17877         package is loaded.
17878
17879         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17880
17881 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17882
17883         * texrow.C (increasePos): turn two error messages into debug
17884         messages.
17885
17886 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17887
17888         * LaTeX.C (scanAux): Handle the \@input macro.
17889         (runBibTeX): Use scanAux().
17890
17891         * language.C (latex_options_): New field.
17892
17893         * LaTeXFeatures.C (getMacros): Add language macros.
17894
17895         * buffer.C (makeLaTeXFile): Small fix.
17896
17897 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17898
17899         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17900
17901         * text2.C: add a using directive.
17902
17903 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17904
17905         * BufferView2.C:
17906         * lyx_gui_misc.h:
17907         * lyxfr1.C:
17908         * lyxfunc.C: kill LyXBell.
17909
17910 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17911
17912         * text.C (IsBoundary): Remove the error message
17913
17914         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17915
17916         * lyxrc.C (setDefaults): Correct initialization value for
17917         font_norm_type.
17918
17919 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17920
17921         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17922         gotoError().
17923
17924         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17925         and GotoNextNote().
17926
17927         * src/LyXAction.C: Added reference-next.
17928
17929         * text.C (InsertChar): Use contains instead of strchr.
17930
17931         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17932
17933 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17934
17935         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17936         alignment commands (when needed).
17937
17938         * text.C (InsertChar): Add ':' to number separator chars.