]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
93495cd67f1cd33fc975966b4c0e469c5c7628cc
[lyx.git] / src / ChangeLog
1 2005-07-17  Juergen Vigna  <jug@lyx.org>
2
3         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
4                    cursorEnd):
5         more fixes for boundary handling
6
7         * text3.C (dispatch): don't reset cursor if boundary has changed
8         on cursor movement.
9
10 2005-07-16  Juergen Vigna  <jug@lyx.org>
11
12         * text2.C (getColumnNearX): hopefully got it right now,
13         check if we are on column 0 for special case.
14
15 2005-07-16  Juergen Vigna  <jug@lyx.org>
16
17         * text2.C (getColumnNearX): handle special case Newline Inset
18
19         * text.C (singleWidth): Just remove bogus check
20
21 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
22
23         * funcrequest.C (split): avoid reading uninitialized char c
24
25 2005-07-16  José Matos  <jamatos@fc.up.pt>
26
27         * buffer.C:
28         * converter.C:
29         * lyxrc.C:
30         * paper.h:
31         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
32         single papersize variable.
33
34 2005-07-16  Juergen Vigna  <jug@lyx.org>
35
36         * text3.C (dispatch): honor boundary when checking if a cursor
37         movement has been done
38
39         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
40         (setCursor, setCursorIntern): fix cursor movement with boundary
41
42 2005-07-16  Juergen Vigna  <jug@lyx.org>
43
44         * text.C (currentState): output the actual Boundary
45
46 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
47
48         * factory.C (createInset): fix bad logic for tabular creation
49
50 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
51
52         * lyx_main.C (init): change some reLyX reference to tex2lyx
53
54 2005-07-16  Juergen Vigna  <jug@lyx.org>
55
56         * dociterator.C (DocIterator): initialize boundary
57
58 2005-07-16  Juergen Vigna  <jug@lyx.org>
59
60         * text2.C (getColumnNearX): Consider rows without trailing blank.  
61
62 2005-07-16  André Pönitz  <poenitz@gmx.net>
63
64         * lyxfont.h: Change order of declarations to give the compiler
65         a better chance to inline things
66
67         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
68         questions on unsaved docs for better scritability
69
70 2005-07-16  André Pönitz  <poenitz@gmx.net>
71
72         * paragraph.h (getChar): remove asserts as the same kind of security
73         can be achieved by using a suitable standard library implementation
74         and the function was in the critical path (25.9% in profiler)
75
76 2005-07-16  Juergen Vigna  <jug@lyx.org>
77
78         * cursor.C (bruteFind2):
79         * bufferview_funcs.C (coordOffset): 
80         * text.C (cursorX,cursorY): Handle cursor position after last char
81         in row before a inset which uses a whole row.
82
83 2005-07-15  José Matos <jamatos@lyx.org>
84
85         * output_plaintext.[Ch] (writeFileAscii): control reference title
86         printing.
87         (asciiParagraph): noparbreak was already deal and was incorrectly
88         used.
89
90 2005-07-15  Juergen Vigna <jug@lyx.org>
91
92         * lyxfunc.C (dispatch): save and restore the cursor after a
93         textclass switch.
94
95 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
96
97         * text.C (backspace): bug 806 for empty keepempty paragraphs we
98         change the layout to default before letting DEPM do its thing.
99
100         * paragraph_funcs.C (breakParagraph): dont reset the layout on
101         keepEmpty paragraphs
102
103         * text.C (setCursorFromCoordinates): add a debug statement
104
105         * text2.C (getColumnNearX): bug 1825 make sure that we don't
106         return a pos that is not on the row
107
108         * output_latex.C (TeXDeeper): get rid of potential dereferencing
109         of past the end iterator
110
111 2005-07-14  André Pönitz  <poenitz@gmx.net>
112
113         * undo.C (recordUndoFullBuffer): implement undo for
114         textclass switches
115
116 2005-07-14  André Pönitz  <poenitz@gmx.net>
117
118         * cursor.C (setSelection): open insets when selection is set there
119         to avoid crashs with cold coord cache
120
121 2005-07-14  André Pönitz  <poenitz@gmx.net>
122
123         * trans_mgr.C (insert): move cursor to the right after inserting
124         a char.
125
126 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
127
128         * BufferView_pimpl.C (update): dampen some of the debug blabbering
129         * factory.C (readInset): ditto
130         * text.C, text2.C: ditto
131
132 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * buffer.C: format incremented to 242. There is no file format per
135         se, but the "frenchb" language has been removed from lib/language
136         and has to be translated to "french" by lyx2lyx.
137
138 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
139
140         * cursor_slice.h, dociterator.h: add some documentation
141         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
142
143 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
144
145         * text.C (leftMargin): do not add identation to display() style
146         insets, because they are always centered (bug 1293).
147
148 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
149
150         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
151         formatted_time methods in support/lyxtime.
152
153 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
154
155         * toc.[Ch]: new method getGuiName, which is used by the frontends 
156         to set the toc combo (fixes bug 1870). Make TOC string translatable.
157
158 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
159
160         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
161         StableDocIterator const &)
162         * undo.C (recordUndo): use the above instead of cell.size() comparison
163         (fixes bug 1808; instructed by André).
164
165 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
166
167         * cursor_slice.h: 
168         * dociterator.h: Fix the assert when copying rows/cols in math
169
170 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
171
172         * BufferView_pimpl.C:
173         * LyXAction.C:
174         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
175
176         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
177         (findInset): new functions, refactored from goto Inset that return 
178         the position of a certain inset without setting the buffer's cursor
179         (by Jean-Marc); 
180         (gotoInset): rewrite to call findInset and then set the cursor
181         (by Jean-Marc).
182
183 2005-06-16  Angus Leeming  <leeming@lyx.org>
184
185         * lyxrc.C (output, read): wrap all input and output of paths with
186         calls to os::internal_path and os::external_path, respectively.
187         (output): wrap bind_file inside quotes.
188
189         * format.C (view): enable the viewer to use the '$$s' placeholder.
190
191 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
192
193         * LColor.[Ch] (getFromLaTeXName): new
194
195 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
196
197         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
198
199 2005-06-14  Angus Leeming  <leeming@lyx.org>
200
201         * lyx_main.C (init): ensure that the LyX binary dir is the first
202         element in the PATH on non-POSIX builds.
203
204 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
205
206         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
207
208 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * rowpainter.C (paintInset, paintHebrewComposeChar)
211         (paintArabicComposeChar, paintChars): add a LyXFont argument.
212         (paintChars): use getFontSpan to reduce calls to getFont to a
213         minimum; use Paragraph::lookupChange instead of isXXXText.
214         (paintForeignMark): rename LyXFont argument.
215         (paintFromPos): pass a LyXFont object to the various paintXXX
216         methods.
217
218         * FontIterator.C (FontIterator, operator++): use
219         Paragraph::getFontSpan
220
221         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
222         version that returns the font span as a pair.
223
224 2005-06-09  Angus Leeming  <leeming@lyx.org>
225
226         * converter.C (convert): Don't forget "outfile = real_outfile" as
227         the final step in a conversion where the input and output file names
228         are the same. Otherwise, future conversion steps won't work...
229
230 2005-06-09  Angus Leeming  <leeming@lyx.org>
231
232         * lyxsocket.C: remove stub code as it isn't needed by
233         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
234
235 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
236
237         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
238         effectively disabled -x
239
240 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
241
242         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
243         when it actually makes sense.
244
245 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
246
247         * BufferView_pimpl.C: revert to showCursor in connection with
248         Lars's front-end stack
249
250 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
251
252         * text.C (redoParagraph): move cursor right after a bibitem
253         has been inserted.
254
255         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
256
257 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         * buffer_funcs.C (bufferErrors): fix computation of the end of an
260         error range.
261
262 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
263
264         * BufferView.[Ch] (update):
265         * BufferView_pimpl.[Ch] (update, metrics):
266         * dimension.h (operator==):
267         * lyxfunc.C (dispatch):
268         * metricsinfo.h (ViewMetricsInfo):
269         * rowpainter.C (paintText):
270         * lyxtext.h:
271         * text.C (redoParagraph):
272         * text3.C (dispatch): Make LyX only repaint current paragraph in
273         case of character insert --> speedup. Also fix cursor draw
274         artifacts
275
276 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
277
278         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
279         avoid a crash (bug 1891)
280
281 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
282
283         Fix bug 1892:
284
285         * text2.C (getStringToIndex): constify cur argument.
286
287         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
288         argument has been given
289         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
290         try to invoke LFUN_INSET_APPLY).
291
292         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
293         if no inset was created by doInsertInset
294         (doInsertInset): return true if an inset has been inserted.
295
296 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
297
298         * vspace.C (asGUIName): new method. A version of the space
299         suitable for showing on screen.
300
301 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
302
303         * MenuBackend.C:
304         * lyxrc.C: rename "ASCII" to "Plain Text"
305
306 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * buffer_funcs.C (expandLabel): take a Buffer as argument;
309         translate the labelstring.
310         (setCounter): translate labelstring as needed.
311
312         * output_docbook.C (makeCommand): fix expandLabel invokation
313
314 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
315
316         * BufferView.C: fix dialog title
317
318 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
319
320         * lyx_main.C (priv_exec): fix logic error with help from Angus
321         * lyx_main.C (parse_execute): set is_gui = false and remove now
322         obsolete comment about a segfault
323
324 2005-05-18  Angus Leeming  <leeming@lyx.org>
325
326         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
327
328 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
329
330         * tabular.[hC]: added setCellInset to fix tabular paste.
331
332 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
333
334         * buffer.C (save): check if destination is writable before trying
335         to copy a file
336
337 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
338
339         * BufferView_pimpl.C (update): fix processEvents -caused update
340         recursion bug
341
342 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * buffer_funcs.C (setCounter): fix test for numbering of
345         environments.
346
347         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
348         depth correctly; use optional argument when it exists
349
350         * lyxtextclass.C: remove unused MaxCounterTags enum
351         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
352         (max_toclevel, min_toclevel): new methods.
353
354         * MenuBackend.C (expandToc2): fix case where depth is smaller than
355         the smallest depth in toc.
356
357         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
358         layouts that should not appear in a table of contents.
359
360 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
361
362         * cursor.h (undispatched, noUpdate): add comments from André
363
364 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
365
366         * lfuns.h:
367         * LyXAction.C:
368         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
369
370 2005-05-07  André Pönitz  <poenitz@gmx.net>
371
372         * cursor.[Ch] (leaveInset): new function
373
374 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
375
376         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
377
378 2005-05-04  Angus Leeming  <leeming@lyx.org>
379
380         * lyxfunc.C (getStatus): disable the spell checker dialog if
381         none of USE_[AIP]SPELL are defined.
382
383 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
384
385         * tabular.C (setWidthOfCell): remove obsolete comment
386
387 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
388
389         * paragraph.C (bibitem):
390         * buffer_funcs.C (setCounter):
391         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
392
393 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
394
395         * text3.C (getStatus): immediately return after setOnOff
396
397         * rowpainter.C: fix drawing of appendix start
398
399 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
400
401         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
402         SwitchBetweenClasses and remove the unused return value.
403         Handle character styles, too
404
405 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
406
407         * factory.C (createInset): handle undefined character styles
408
409 2005-05-02  Angus Leeming  <leeming@lyx.org>
410
411         * buffer.C: protect the #include of utime.h with a preprocessor
412         guard.
413
414 2005-05-02  Angus Leeming  <leeming@lyx.org>
415
416         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
417         function so that auto-saving works, albeit in a blocking manner.
418
419         * Makefile.am: make compilation of the client sub directory, of
420         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
421         on conditionals set at configure time.
422
423         * SpellBase.[Ch]: no longer an abstract base class. Instead,
424         it can be compiled in its own right but has no-op functionality.
425
426         * aspell.C, pspell.C: remove preprocessor guards. The files should
427         be compiled only if the necessary functionality exists.
428
429         * lyxserver.C, lyxsocket.C: disable on Windows.
430
431 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
432
433         * text.C (leftMargin): Fix the parindent use bug (1764)
434         by dirty trick
435
436 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
437
438         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
439         argument.
440
441 2005-04-25  Angus Leeming  <leeming@lyx.org>
442
443         * Bidi.[Ch]:
444         * coordcache.[Ch]:
445         * ispell.C:
446         * lyxserver.C:
447         * mover.C:
448         * pch.h:
449         include <config.h> in .C files, not .h ones.
450         add licence blurb.
451         protect headers inside preprocessor guards.
452
453 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
454
455         * FuncStatus.h (StatusCodes): document
456
457 2005-04-21  André Pönitz  <poenitz@gmx.net>
458
459         * FuncStatus.h (enabled, onoff): document
460
461 2005-04-19  Angus Leeming  <leeming@lyx.org>
462
463         * BufferView_pimpl.C (cursorToggle): no longer test whether
464         any child processes have been reaped before calling
465         handleCompletedProcesses().
466
467 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
468
469         * text3.C (dispatch): fix, finally fix, the language problem in
470         new lyxtexts, without disabling on-the-fly font changes (Helge's
471         bug report)
472
473 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
474
475         * text3.C (dispatch): set cursor on double/triple click events
476         (bug 1811)
477
478 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
481         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
482
483         * rowpainter.C (paintFirst): simplify the code a little bit. In
484         particular, remove the test for secnumdepth.
485         * text.C (setHeightOfRow): only allocate space for chapter number
486         when updateCounters provided an actual label, instead of looking
487         at secnumdepth directly.
488
489         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
490
491         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
492         paragraphs when secnumdepth is large enough or, for environments,
493         when they are not the first in a sequence.
494
495 2005-04-17  Angus Leeming  <leeming@lyx.org>
496
497         * buffer.C (makeLaTeXFile): replace code to manipulate a path
498         containing space and '~' characters with a call to latex_path().
499
500 2005-04-17  Angus Leeming  <leeming@lyx.org>
501
502         * converter.C (convert): protect all args of convertDefault.sh
503         script with quotes.
504
505 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * text3.C (dispatch): change the layout to "Caption" after inserting
508         a float.
509
510 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
511
512         * text3.C (dispatch): fix language problem in newly created
513         textinsets (and main text) in non-english docs
514
515 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
516
517         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
518         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
519         * text3.C (getStatus): disable LFUN_INSET_MODIFY
520
521 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
522
523         * lyxtext.h:
524         * text.C (metrics):
525         * text2.C (getFont):
526         * rowpainter.C (getFont): Fix metrics bug introduced by inset
527         fonts fix
528
529 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
530
531         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
532         output of \item arguments without trailing text.
533
534 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
535
536         * FontIterator.C (operator*): avoid a copy of the font.
537
538 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
539
540         * rowpainter.C (getFont): fix language bug from previous fix
541
542 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
543
544         * rowpainter.C (RowPainter, getFont): fix font inside inset
545         (bugs 1766, 1809)
546
547 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
548
549         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
550         preventing inserted font, deco, delim insets jumping to start of
551         surrounding inset.
552
553 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
554
555         * lyxfunc.C (dispatch): translate message before sending it to the
556         minibuffer.
557
558 2005-03-29  Angus Leeming  <leeming@lyx.org>
559
560         * lyx_main.C (priv_exec): call os::internal_path on each file passed
561         to LyX on the command line.
562
563 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
564
565         * vc-backend.C: use QuoteName to protect file names wherever
566         necessary.
567
568 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
569
570         * buffer.[Ch]:
571         * BranchList.h: fix bugs 1844,1845: document settings don't
572         stick
573
574 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
575
576         * lyxrc.C (setDefaults, read, output, getDescription): add support
577         for tex_allows_spaces.
578
579         * exporter.C (Export): allows files in directory containing spaces
580         if tex_allows_spaces is true.
581
582         * buffer.C (makeLaTeXFile): if the document path contains spaces,
583         output it in double quotes.
584
585 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
586
587         * rowpainter.C: use default text height for drawing change tracker
588         strikeout lines.
589
590 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
591
592         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
593
594 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
595
596         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
597         directory is missing.
598
599 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
600
601         * text2.C: fixed the fix, extended to other case.
602
603 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
604
605         * text2.C: fix for cursor up/down stuck in math [bug 1792]
606
607 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
608
609         * text2.C (cursorUp): get rid of a crash
610         * text.C (x2pos): add an assert
611
612 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         * lyxfunc.C (getStatus): fix warning when assertions are disabled
615
616         * text3.C:
617         * lyxfunc.C:
618         * dociterator.C: include <boost/current_function.hpp>, which is
619         needed when assertions are disabled.
620
621 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
622
623         * text2.C: fix for stuck cursor when traversing two
624         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
625
626 2005-02-25  Andreas Vox  <avox@arcor.de>
627
628         * output_docbook.C (makeParagraph): suppress trailing newline
629         after a run of paragraphs
630
631 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
632
633         * paragraph.C: fix for confused change tracker when pasting
634         text that begins with a lineseparator. [bug 1827]
635         (setChange(0, Change::INSERTED);)
636
637         * paragraph_funcs.C: fix for lost changes on triple-paste
638         in change tracking mode [bug 1827] (par.setChange()).
639
640 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         * text2.C (updateCounters, setCounter, expandLabel): move to
643         buffer_funcs.
644
645         * buffer_funcs.C (updateCounters): turn into a free standing
646         function and add a buffer parameter. Remove dead code for tracking
647         labelstring change.
648         (setCounter): change into a free-standing function which gets a
649         dociterator as argument. Use this iterator to fix captions in a
650         simple way. When no float is found above the caption, use the
651         labelstring of the caption layout as default.
652
653         * text.C (breakParagraph, backspace):
654         * text2.C (init, setLayout, changeDepth):
655         * text3.C (dispatch):
656         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
657         updateCounters.
658
659         * dociterator.C (forwardPar): make it much faster by calling
660         forwardPos() only when really necessary.
661
662         * output_docbook.C (makeCommand): adapt to expandLabel move.
663
664         * cursor.C: remove unused variable
665
666 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
667
668         * paragraph_funcs.C: fix crash when pasting insets in change
669         tracking mode [bug 1277] (honour change type in moveItem).
670
671 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
672
673         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
674
675 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
676
677         * BufferView.C (setCursor): change to use a DocIterator.
678         (gotoLabel): use BufferView::setCursor (other part of bug 781).
679         (putSelectionAt): adapt to BufferView::setCursor change.
680
681         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
682         moved here from LyXText and rewritten to use proper cursor
683         methods. Fixes bug 1787, 616 and 835.
684
685         * BufferView_pimpl.C (restorePosition): set the cursor correctly
686         when inside an inset (part of bug 781).
687         (dispatch): adapt to change of BufferView::setCursor.
688         (getStatus, dispatch): handle LFUN_GOTOERROR,
689         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
690
691         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
692         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
693         * text3.C (gotoNextInset, gotoInset): removed.
694
695 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
696
697         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
698
699 2005-02-15  Angus Leeming  <leeming@lyx.org>
700
701         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
702         can be used meaningfully in a comparison.
703
704 2005-02-13  André Pönitz  <poenitz@gmx.net>
705
706         * bufferview_funcs.C (coordOffset): improve cursor drawing
707
708 2005-02-13  André Pönitz  <poenitz@gmx.net>
709
710         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
711         * Cursor.C (dispatch): use fixIfBroken
712         * lyxfunc.C (getStatus): use fixIfBroken
713
714 2005-02-15  Angus Leeming  <leeming@lyx.org>
715
716         * lyx_main.C (error_handler):
717         * lyxfunc.C:
718         * lyxrc.C (setDefaults):
719         s/GetEnv/getEnv/.
720         #include "environment.h".
721
722         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
723
724 2005-02-15  Angus Leeming  <leeming@lyx.org>
725
726         * lyxserver.C (startPipe): squash MSVC warning "local variable
727         'fd' used without having been initialized".
728
729 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
730
731         * BufferView_pimpl.C: revert accidental commit.
732
733 2005-02-14  André Pönitz  <poenitz@gmx.net>
734
735         * dociterator.[Ch]: new member forwardPosNoDescent(),
736         which doesn't enter nested insets.
737         * text2.C (setFont): use forwardPosNoDescent() instead
738         of ForwardPos() (fixes crash on font change).
739
740 2005-02-13  Angus Leeming  <leeming@lyx.org>
741
742         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
743         only if lyxrc.path_prefix is not empty.
744
745 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
746
747         * bufferparams.C (readGraphicsDriver): prevent crash
748
749 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
750
751         * text2.C (setCounter): check for inInset() == 0
752
753 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
754
755         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
756         but use update() to get correct screen display; use convert
757         instead of istringstream.
758         (getStatus): handle LFUN_GOTO_PARAGRAPH
759
760         * lyxfunc.C (dispatch, getStatus): do not handle
761         LFUN_GOTO_PARAGRAPH here.
762
763 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
764
765         * text3.C (dispatch): size() -> depth()
766
767         * text2.C: remove some debug output
768
769         * paragraph.C: ws changes only
770
771         * lyxfunc.C (getStatus): size() -> depth()
772
773         * dociterator.h (clear, push_back, pop_back, internalData,
774         operator[], resize, empty): new functions
775         Make StableDocIterator and operator== be friends. Don't inherit
776         from std::vector use a privat class variable slices_ instead.
777         Modify to fit.
778
779         * dociterator.C: update because of not inheriting from std::vector
780         anymore. Call explictly to slices_ instead. Use depth() instead of
781         size() and top() instead of back()
782
783         * cursor.C: chagne size() -> depth and back() -> top(). Also
784         remove some direct operator[](i) calls in favour of foo[i]
785         (getFont): remove some dead code
786
787         * bufferview_funcs.C (coordOffset): size() -> depth()
788
789         * buffer.C: ws changes only
790
791         * CutAndPaste.C (eraseSelection): back() -> top()
792
793         * BufferView_pimpl.C (selectionRequested): back() -> top()
794
795         * BufferView.C (setCursor): size() -> depth()
796
797 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
798
799         * text3.C (cursorPrevious): return true if depm changed something
800         (cursorNext): ditto
801         (dispatch): rename sl to oldTopSlice, remove moving use the new
802         NoUpdate func attrib instead. Make sure that needsUpdate is set
803         for function that have NoUpdate, but where depm might have changed
804         the buffer anyway.
805
806         * text2.C (cursorLeft): make us return true if depm changed
807         something
808         (cursorRight): ditto
809         (cursorUpParagraph): ditto
810         (curosrDownParagraph): ditto
811         (cursorUp, cursorDown): ditto, make sure to read comments in code
812         (deleteEmptyParagraphMechanism): remove an assert, also return
813         true if just a single char was deleted.
814
815         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
816         cursor that we modify, to avoid modifying an active cursor before
817         we call setCursor. This allows depm to run. Also return true if
818         depm deleted something.
819
820         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
821         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
822         cursorDownParagraph, cursorPrevious and cursorNext, return true if
823         something was changed in the buffer because of them (ie. depm run)
824
825         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
826         debug messages. Make update by default be false. Make sure that
827         the result of update is retained throught several calls down to
828         dispatch.
829
830         * LyXAction.h: add a new func_attrib: NoUpdate
831
832         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
833         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
834         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
835         and LFUN_WORDLEFT
836         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
837
838 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
839
840         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
841         bv_->owner(), bv_->buffer() by direct references to the private
842         members.
843         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
844         (getStatus): isSavedPosition() is in BufferView::Pimpl.
845         (fitCursor): center() is in BufferView::Pimpl.
846         (getStatus, trackChanges, dispatch): no need for a temporary buf
847         variable
848         (fitCursor, workAreaDispatch): use workarea().workheight()
849
850 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
851
852         * CutAndPaste.C (pasteSelectionHelper): fix a crash
853
854 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
855
856         * buffer.C: format up to 241.
857         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
858         break if pasting into ERT
859         * lyxfunc.C (getStatus): suppress mathpanel and
860         LFUN_DIALOG_SHOW_NEW_INSET in ERT
861
862 2005-02-01  Angus Leeming  <leeming@lyx.org>
863
864         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
865
866 2005-02-01  Angus Leeming  <leeming@lyx.org>
867
868         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
869         calling fs::is_directory().
870
871 2005-01-31  Angus Leeming  <leeming@lyx.org>
872
873         * lyx_main.C (priv_exec): specify explicitly the relative location
874         of the top level build directory when run in-place.
875
876 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
879         LyXText containing the cursor, not the top-level one.
880
881         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
882         true.
883         (insertStringAsLines): rename par to pit; use temporary variable
884         par to hold a Paragraph; do not store par.layout() in a variable,
885         since the pointer may die when breaking paragraphs; pass pars to
886         breakParagraph() instead of Buffer::paragraphs().
887
888 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
889
890         * lyxlex_pimpl.h: #include <fstream>.
891
892         * BufferView.[Ch] (getLyXText): add a const version.
893
894         * BufferView_pimpl.C: add debug aids.
895
896         * RowList_fwd.h:
897         * buffer.h:
898         * lyxrow.h:
899         * paragraph_funcs.h: add commentary explaining what the class does.
900
901
902         * coordcache.[Ch]: add lots of commentary.
903         (startUpdating, doneUpdating): debug aids.
904         (arrays, insets, parPos, getParPos): accessors to private data.
905
906         * cursor_slice.[Ch] (text): add a const version.
907         * dociterator.[Ch] (text, innerText): add const versions.
908
909         * lyxtext.h (breakParagraph): change the keep_layout arg to a
910         bool.
911
912         * paragraph.C (getRow, pos2ros): add asserts.
913
914         * paragraph.h: add commentary. Lots of.
915
916         * paragraph.[Ch] (metrucs, draw): removed.
917
918         * cursor.C:
919         * rowpainter.[Ch]: const-correct changes.
920
921         * text.C: various obvious clean-ups. Removal of ancient cruft.
922         Bug fixes, even.
923
924 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
925
926         * vc-backend.C (find_file): rewrite to use boost.filesystem
927         (scanMaster): ditto
928
929         * main.C (main): set default name check for boost.filesystem to
930         no check
931
932         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
933         (open): ditto
934         (doImport): ditto
935         (actOnUpdatedPrefs): ditto
936
937         * lyx_main.C (init): rewrite to use boost.filesystem
938         (queryUserLyXDir): ditto
939
940         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
941         (getContentsOfAsciiFile): ditto
942
943         * lastfiles.C (readFile): rewrite to use boost.filesystem
944
945         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
946
947         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
948         (loadLyXFile): ditto
949
950         * buffer.C (Buffer): adjust for destroydir
951         (getLogName): rewrite to use boost.filesystem
952         (setFileName): ditto
953         (save): use fs::copy_file (from fs_extras)
954
955         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
956
957         * LaTeX.C (run): rewrite to use boost.filesystem
958         (scanAuxFiles): ditto
959         (handleFoundFile): ditto
960
961 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
962
963         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
964
965         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
966
967 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
968
969         * lyxlayout.[Ch]: change some vars from float to double
970
971         * buffer.C (readFile): make a local var const
972
973         * Several files: use convert<> instead of atoi,strToXXX and friends
974
975 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
976
977         * LaTeXFeatures.[Ch]: Add a static list packages_ that
978         holds the contents of packages.lst. New functions getAvailable
979         and isAvailable to parse and check that list, resp.
980
981         * LyXAction.C:
982         * lfuns.h:
983         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
984
985         * bufferparams.[Ch]: new param output_changes.
986
987         * Buffer.C: increase file format to 240.
988         Use output_changes and isVailable.
989
990         * changes.[Ch]:
991         * paragraph.C:
992         * paragraph_pimpl.C: Use output_changes and isVailable.
993
994 2005-01-23  Angus Leeming  <leeming@lyx.org>
995
996         * output_latex.C: #include "insetbibitem.h", rather than
997         forward declare function bibitemWidest.
998
999 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1000
1001         * lyx_main.C (init): make it compile on the Mac.
1002
1003 2005-01-20  Angus Leeming  <leeming@lyx.org>
1004
1005         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1006         (setLyXMisc): (char string literal) != (char string literal) is
1007         performing a comparison on the addresses. Convert one operand
1008         explicitly to string to guarantee expected behaviour.
1009         From MSVC warning.
1010
1011 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1012
1013         * buffer.C:
1014         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1015
1016         * output_plaintext.C: remove unneeded #include gzstream.h.
1017
1018 2005-01-20  Angus Leeming  <leeming@lyx.org>
1019
1020         * SpellBase.h: rename some of the elements of the Result enum.
1021
1022         * aspell_local.h:
1023         * ispell.h:
1024         * pspell.h:
1025         * aspell.C (check):
1026         * ispell.C (check):
1027         * pspell.C (check): ditto
1028
1029 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1030
1031         * buffer.C: add #include <fstream>.
1032
1033         * lyx_main.C (init): Compile fix.
1034
1035         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1036
1037 2005-01-20  Angus Leeming  <leeming@lyx.org>
1038
1039         * mover.h: change commentary to reflect the changed meaning of
1040         the $$s placeholder.
1041
1042 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1043
1044         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1045
1046         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1047
1048 2005-01-20  Angus Leeming  <leeming@lyx.org>
1049
1050         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1051         printing diagnostic data by not dereferecing an iterator past the
1052         end.
1053
1054 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1055
1056         * buffer.C (readHeader): use "&&" rather than "and".
1057
1058         * lyxserver.h (inPipeName, outPipeName): make these const.
1059
1060 2005-01-19  Angus Leeming  <leeming@lyx.org>
1061
1062         * lyx_main.C (error_handler, init): protect SIGHUP with
1063         #ifdef SIGHUP guards.
1064
1065 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1066
1067         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1068
1069 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1070
1071         * text.C (setHeightOfRow): add a margin at the top and bottom of
1072         the document (bug 1761)
1073
1074 2005-01-17  Angus Leeming  <leeming@lyx.org>
1075
1076         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1077         with "python ". Workaround for a brain-dead Windows.
1078
1079 2005-01-16  Angus Leeming  <leeming@lyx.org>
1080
1081         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1082         for MacOSX and Windows to use prependEnvPath.
1083         Strip out the hard-coded block to add elements to the PATH for
1084         MacOSX and replace it with a call to prependEnvPath using the
1085         contents of LyXRC::path_prefix.
1086         (queryUserLyXDir): strip out the code to run reconfigure, instead
1087         returning a boolean indicating the necessity to do so.
1088         (reconfigureUserLyXDir): contains the code to reconfigure the
1089         user support directory. Is now called after the various LyXRC data
1090         files have been read.
1091
1092         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1093
1094 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1095
1096         * converter.[Ch] (convert): take a new parameter try_default. Use
1097         a default converter (imagemagick) if try_default is true.
1098
1099 2005-01-13  Angus Leeming  <leeming@lyx.org>
1100
1101         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1102         os::cygwin_path_fix.
1103         (write): output LyXRC::cygwin_path_fix as necessary.
1104
1105 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1106
1107         * lyxrc.h:
1108         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1109
1110 2005-01-12  Angus Leeming  <leeming@lyx.org>
1111
1112         * lyx_main.C (init): set the PATH variable to include the
1113         directory containing the LyX binary when running on Mac or Windows.
1114
1115 2005-01-12  Angus Leeming  <leeming@lyx.org>
1116
1117         * lyx_main.C (init): remove cruft that purports to set the locale
1118         dir. It doesn't and is not needed anyway.
1119
1120 2005-01-10  Angus Leeming  <leeming@lyx.org>
1121
1122         * Makefile.am: remove the lyx_main.C special casing.
1123
1124         * BufferView_pimpl.C:
1125         * bufferlist.C:
1126         * exporter.C:
1127         * lyx_cb.C:
1128         * lyx_main.C:
1129         * lyxfunc.C:
1130         * messages.C: use support/package.h to provide the paths to the
1131         various directories used by LyX.
1132
1133 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1134
1135         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1136         layout if pasting into an empty paragraph)
1137
1138 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1139
1140         * tex-accent.C: add <string>
1141
1142 2005-01-06  José Matos  <jamatos@lyx.org>
1143
1144         * ParagraphParameters.C (write): put every parameter in its own line.
1145         * paragraph.C (write): reduce number of consecutive empty lines exported.
1146         * buffer.C (LYX_FORMAT): increase file format to 239.
1147
1148 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1149
1150         * everywhere: change support/tostr.h -> support/convert.h
1151
1152         * tabular.C: make all write_attributes templates, tostr -> convert
1153
1154         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1155         (emptyTag): and -> &&, and fix type for ret from getChar
1156         (getFirstWord): fix type for ret from getChar
1157         (onlyText): and -> &&
1158         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1159         getChar
1160
1161         * toc.C (goTo, action):
1162         * text3.C (dispatch):
1163         * text.C (currentState):
1164         * tex-accent.C (DoAccent):
1165         * sgml.C:
1166         * lyxrc.C:
1167         * lyxfunc.C (menuNew):
1168         * lyxfinc.C (replace):
1169         * counters.C (laberItem):
1170         * bufferview_funcs.C (font2string):
1171         * bufferparams.C (writeFile):
1172         * buffer.C (readFile):
1173         * Spacing.C (set):
1174         * MenuBackend.C: tostr -> convert
1175
1176         * LaTeX.C (runMessage): fix format
1177         (scanAuxFiles): tostr -> convert
1178
1179         * BufferView_pimpl.C (savePosition): fix format
1180         (restorePosition): ditto
1181         (dispatch): ditto
1182
1183 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1184
1185         * Spacing.[Ch]: New method getValueAsString().
1186
1187         * Spacing.[Ch]:
1188         * bufferparams.C:
1189         * ParagraphParameters.C:
1190         * lyxlayout.C:
1191         * text.C:
1192         * text3.C: store/read spacing value as string.
1193
1194         * rowpainter.C: change float value (spacing_val) to double.
1195
1196         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1197         broken custom document spacing).
1198
1199 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1200
1201         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1202         namespace, also more use of temp references and const
1203
1204         * cursor.[Ch] (getStatus): move to lyxfunc.C
1205
1206         * bufferparams.C: reformat slightly
1207
1208         * bufferview_funcs.C (font2string): constify arg
1209
1210         * changes.C:
1211         * converter.C:
1212         * counters.C:
1213         * bufferlist.C:
1214         * buffer_funcs.C: (many funcs): constify arg on function
1215         definitions, also make more local vars const, also add ASSERTS on
1216         pointer args.
1217
1218         * buffer.C (LYX_FORMAT): put const in correct place
1219         (many funcs): constify arg on function definitions, also make
1220         more local vars const
1221
1222         * aspell_local.h: remove "struct" from typdef setup
1223
1224         * aspell.C (check): make word_ok const
1225         (nextMiss): simplify slightly
1226         (error): ditto
1227
1228 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1229
1230         * lyxrc.[Ch]: store all float values as strings.
1231         use int (not float) for lyxrc.dpi.
1232
1233 2005-01-04  Angus Leeming  <leeming@lyx.org>
1234
1235         * lyx_cb.C (Reconfigure):
1236         * lyx_main.C (queryUserLyXDir):
1237         to run the <system_lyxdir>/configure correctly on Windows, prefix
1238         the path to the script with "sh " when generating the string that
1239         is passed to system().
1240
1241 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1242
1243         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1244
1245 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1246
1247         * lyxlength.C (asLatexString): get rid of setprecision
1248
1249 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1250
1251         * text2.C (setLayout): remove unused variable endpit.
1252         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1253
1254         * paragraph.C (onlyText): remove unused variable style.
1255
1256         * cursor.C (bruteFind): remove unused variables beg and end.
1257
1258         * Makefile.am (dist_noinset_DATA): not needed anymore
1259
1260         * cheaders/*: remove.
1261
1262 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1263
1264         * text3.C: fix LFUN_MATH_MODE.
1265
1266 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1267
1268         * buffer_funcs.C (countWords): new function. Counts words between
1269         two iterators.
1270
1271         * BufferView_pimpl.C (getStatus, dispatch): handle
1272         LFUN_WORDS_COUNT.
1273
1274         * LyXAction.C (init):
1275         * lfuns.h: add LFUN_WORDS_COUNT.
1276
1277 2004-12-19  Angus Leeming  <leeming@lyx.org>
1278
1279         * buffer.C (save): s/slashify_path/internal_path/.
1280
1281 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1282
1283         * lyxfind.C (findChange): do not search for end of pars, because
1284         the change tracker cannot handle this (fixes bug 1719).
1285
1286 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1287
1288         * paragraph.[Ch] (autoBreakRows): remove
1289
1290         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1291
1292         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1293         avoid using the paragraph one
1294
1295         * text2.C (LyXText, insertStringAsLines): adjust
1296
1297 2004-12-16  Angus Leeming  <leeming@lyx.org>
1298
1299         * bufferlist.C:
1300         * lyx_main.C:
1301         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1302
1303 2004-12-14  Angus Leeming  <leeming@lyx.org>
1304
1305         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1306
1307         * bufferlist.C (emergencyWrite):
1308         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1309         GetEnvPath("HOME").
1310
1311 2004-12-14  Angus Leeming  <leeming@lyx.org>
1312
1313         * main.C: (main): no longer pass pointers to os::init.
1314
1315 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1316
1317         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1318         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1319
1320 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1321
1322         * lyxfunc.C:
1323         * text3.C: remove selection_possible global flag
1324
1325 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * text2.C (getSelectionSpan): remove
1328         (changeDepth, changeDepthAllowed): adjust
1329
1330 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1331
1332         * Makefile.am (BOOST_LIBS): use boost variables
1333
1334 2004-12-03  José Matos  <jamatos@lyx.org>
1335
1336         * buffer.C: format up to 238.
1337
1338 2004-12-03  José Matos  <jamatos@lyx.org>
1339
1340         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1341
1342 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1343
1344         * cursor.C (goUpDown): remove call to idxUpDown2
1345
1346 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1347
1348         * tabular.[Ch]: use size_t-like types for cell, row and column
1349         indices
1350
1351 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1352
1353         * lyxfunc.C (getStatus): do not lose previous information when
1354         calling BufferView::getStatus; do not set a default "Command
1355         disabled" message at the beginning, but just before returning.
1356
1357 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1358
1359         * cursor.h (getStatus): add better comment from src/cursor.C
1360
1361 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * text3.C (getStatus): return false when the lfun is not handled
1364
1365 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1366
1367         * broken_headers.h: remove
1368
1369         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1370
1371 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1372
1373         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1374         offset_ref accessors
1375
1376         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1377         top_y_, merge fitcursor with update
1378         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1379         coord scheme
1380         (metrics): introduce
1381         (workAreaDispatch): adapt to new coord scheme
1382         (redoCurrentBuffer): remove
1383
1384         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1385
1386         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1387         CurStatus enum.
1388
1389         * coordcache.[Ch]: add paragraph cache and helpers
1390
1391         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1392         adjust everywhere
1393
1394         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1395         (targetX, setTargetX): introduce
1396
1397         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1398         baseline -> ascent, as the rest of lyx
1399
1400         * lyxtext.h: remove redoParagraphs, updateParPositions,
1401         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1402         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1403         have ascent/descent (ascent is ascent of first par)
1404
1405         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1406         step of BufferView
1407
1408         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1409
1410         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1411
1412         * pariterator.C: fix infinite loop introduced in par->pit renaming
1413
1414         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1415         in insets and LyXText, draw two off-screen paragraphs using
1416         NullPainter, and adapt to new coord scheme
1417
1418         * text.C:
1419         * text2.C:
1420         * text3.C: adapt lfun handlers to the new coord scheme, which
1421         means: there's only guaranteed coord information for onscreen pars
1422         plus one above and one below. This implies that one can do search
1423         from y coordinates in the range [-1,workHeight]
1424
1425 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1426
1427         * rename a lot of InsetOld to InsetBase
1428
1429 2004-11-25  Angus Leeming  <leeming@lyx.org>
1430
1431         * BufferView_pimpl.C:
1432         * lyx_cb.C:
1433         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1434
1435 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1436
1437         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1438         call BufferView::getStatus if LCursor::getStatus did nothing
1439         (setStatusMessage, getStatusMessage): removed.
1440
1441         * FuncStatus.C (message): new methods. Used to provide an error
1442         message indicating why a command is disabled.
1443         (clear, |=, FuncStatus): update for message.
1444
1445 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1446
1447         * lyxfunc.C (dispatch): always call sendDispatchMessage
1448
1449 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1450
1451         * BufferView.C:
1452         * BufferView_pimpl.C:
1453         * CutAndPaste.C:
1454         * FontIterator.C:
1455         * buffer.C:
1456         * cursor.C:
1457         * cursor_slice.[Ch]:
1458         * dociterator.[Ch]:
1459         * lyxfind.C:
1460         * paragraph_funcs.C:
1461         * pariterator.C:
1462         * rowpainter.C:
1463         * text.C:
1464         * text2.C:
1465         * text3.C:
1466         * undo.C: par->pit renaming
1467
1468 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1469
1470         * tabular.C (cellstruct): use initialization, store a shared_ptr
1471         to insettext instead of the insettext directly, adjust to fit.
1472         (operator=):  new function
1473         (swap): new function
1474         (rowstruct): use initialization
1475         (columnstruct): use initialization
1476         (ltType): use initialization
1477
1478
1479         * lyxlength.h (swap): new function
1480
1481         * LColor.[Ch] (operator=): use the common semantics
1482
1483 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1484
1485         * lyxfind.C (findNextChange): update the bufferview after setting
1486         the selection.
1487
1488 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1491         number of InsetOptArgs has already been inserted.
1492
1493         * output_latex.C (latexOptArgInsets): new method. This outputs all
1494         the optarg insets, up to the limit defined in the layout file.
1495         (optArgInset): removed
1496         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1497
1498 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * paragraph.C (isLetter): remove special spellchecker-related
1501         code; return true also for digits
1502         (isWord, isKomma): remove
1503
1504         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1505         * lyxfind.C (MatchString()): use isLetter instead of isWord
1506
1507 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1508
1509         * pariterator.h (operatir=): comment out un-implemented member
1510         function.
1511
1512         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1513         static cast.
1514
1515 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1516
1517         * lyxfont.h: include LColor.h to satisfy concept checks.
1518
1519 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1520
1521         * pariterator.h: add typdefs for value_type, difference_type,
1522         pointer and reference to satisfy concept checks. Also add default
1523         constructor for same reason.
1524
1525         * pariterator.C (operator++): add post-increment operator to
1526         satisfy concept checks.
1527
1528         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1529         checks.
1530
1531         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1532
1533         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1534         checks. Also rename base_type to BaseType to follow naming
1535         standard better.
1536
1537         * FloatList.h: include Floating.h to satisfy concept checks.
1538
1539 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1540
1541         * lyxfunc.C (getStatus): when the origin of the request is menu or
1542         toolbar, and the LyXView does not have focus, do as if there was
1543         no buffer (bug 1720)
1544
1545         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1546         FuncRequest to individual entries of LFUN_SEQUENCE
1547
1548 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1549
1550         * output_latex.C (TeXOnePar): override runparams.moving_arg
1551         according to the needprotect value of the current paragraph (bug
1552         1739)
1553
1554         * paragraph.C (simpleTeXOnePar): no need to override
1555         runparams.moving_args here
1556
1557 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1558
1559         * vspace.C: fix off-by-one-error, related to fix #1682
1560
1561 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1562
1563         * lengthcommon.C: a more general fix for bug 1682
1564
1565 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1566
1567         * text.C (backspace): fix crash
1568
1569 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1570
1571         * format.[Ch] (getFormatFromFile): new method
1572         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1573
1574 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1575
1576         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1577
1578 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1579
1580         * lyxfunc.C (dispatch): remove the verbose argument
1581         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1582         instead
1583
1584         * kbmap.C (defkey): set the origin of func to KEYBOARD
1585
1586         * MenuBackend.C (MenuItem):
1587         * ToolbarBackend.C (add): set the origin of func to UI
1588
1589         * funcrequest.[Ch]: add origin member, which indicates which part
1590         of LyX requests an action
1591
1592 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1593
1594         * converter.C (move): don't lie in the error message
1595         * converter.h (isReachable, move): document
1596
1597 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1598
1599         * buffer.C: remove unused using lyx::support::atoi
1600         * paragraph_funcs.C: ditto
1601
1602 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1603
1604         * bufferlist.C (exists): use bind and equal_to instead of
1605         compare_memfun
1606         (getBuffer): ditto
1607         * lyxtextclasslist.C (NumberOfClass): ditto
1608
1609         * cursor.C (insert): use for_each instead of explicit for loop
1610
1611         * bufferlist.C (getFileNames): use std::transform and
1612         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1613
1614         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1615         for loop
1616
1617         * buffer.C (changeLanguage): use for_each instead of explicit for
1618         loop
1619         (hasParWithID): implement using getParFromID
1620
1621         * LaTeXFeatures.C: ws change only
1622
1623         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1624         to cleanup a bit.
1625
1626         * BufferView_pimpl.C (trackChanges): use for_each instead of
1627         expilicit for loop
1628
1629 2004-11-04  André Pönitz  <poenitz@gmx.net>
1630
1631         * undo.h:
1632         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1633
1634         * dociterator.C (asDocIterator): use hard assert again.
1635
1636 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1637
1638         * lyxlength.C (asLatexString): rewrite so that it does not use
1639         snprintf anymore
1640
1641 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1642
1643         * text3.C (specialChar, dispatch): make sure cursor moves to the
1644         right after inserting an inset
1645
1646 2004-11-02  José Matos  <jamatos@lyx.org>
1647
1648         * output_docbook.C (docbook):
1649         * paragraph.C (getID):
1650         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1651         garantee that the output is always legal.
1652
1653         * tabular.C (docbook):
1654         * outputprams.[Ch]: remove mixed contents.
1655
1656 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1657
1658         * text2.C (setCounter): prevent endless loop
1659
1660 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1661
1662         * exporter.C (copyFile): use the mover instead of support::copy()
1663         * exporter.C (Export): pass format and latex name to copyFile()
1664         * exporter.h (addExternalFile): document
1665         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1666
1667 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1668
1669         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1670
1671 2004-10-30  José Matos  <jamatos@lyx.org>
1672
1673         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1674         text and no inset or font change. This allows to use CDATA
1675         sections just for the whole paragraph.
1676
1677 2004-10-30  José Matos  <jamatos@lyx.org>
1678
1679         * paragraph.C (getFirstWord): remove unused variable.
1680
1681 2004-10-30  José Matos  <jamatos@lyx.org>
1682
1683         * paragraph.C (getFirstWord): the content should always be escaped
1684         there.
1685         (simpleDocBookOnePar):
1686         * output_docbook.C (makeEnvironment): replace reference to CDATA
1687         to style pass_thru.
1688
1689 2004-10-30  José Matos  <jamatos@lyx.org>
1690
1691         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1692
1693 2004-10-30  José Matos  <jamatos@lyx.org>
1694
1695         * output_docbook.C (makeParagraphs):
1696         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1697         standard paragraph has only a given type of content drop the wrapper.
1698
1699 2004-10-29  José Matos  <jamatos@lyx.org>
1700
1701         * output_docbook.C (makeEnvironment):
1702         * sgml.C (openTag):
1703         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1704
1705 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1706
1707         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1708         (cleanID): sanitize any id.
1709
1710 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1711
1712         * buffer.C, lyxlex_pimpl.C:
1713         * lyxlex_pimpl.C (setFile):
1714         s/getExtFromContents/getFormatFromContents/
1715
1716 2004-10-28  José Matos  <jamatos@lyx.org>
1717
1718         * output_docbook.C (makeEnvironment): move id to broadest possible
1719         scope.
1720
1721         * sgml.C (openTag): apply substitution of <> for all attributes.
1722
1723 2004-10-28  José Matos  <jamatos@lyx.org>
1724
1725         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1726         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1727         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1728
1729         * sgml.[Ch]: new version for open and closeTag for paragraph and
1730         for strings. Now they handle the ids of paragraphs.
1731
1732 2004-10-26  Angus Leeming  <leeming@lyx.org>
1733
1734         * Makefile.am: add mover.[Ch].
1735
1736         * converter.C (convert, move): use the new Movers to move external
1737         files to the temp directory.
1738
1739         * lyx_main.C (init): ensure that the global system_movers data
1740         is initialised.
1741
1742         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1743         preferences file.
1744
1745         * mover.[Ch]: new files, defining a Mover as a utility to move an
1746         external file between directories and, if necessary, manipulate this
1747         file using a helper script.
1748
1749 2004-10-25  José Matos  <jamatos@lyx.org>
1750
1751         * output_docbook.C (makeCommand): merge two if's that tested the
1752         same condition.
1753
1754 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1755
1756         * sgml.C (escapeString): fix warning in a better way
1757
1758 2004-10-25  José Matos  <jamatos@lyx.org>
1759
1760         * sgml.C (escapeString): import the require boosts header file for
1761         tie, and avoid a signed unsigned comparison.
1762
1763 2004-10-25  José Matos  <jamatos@lyx.org>
1764
1765         * sgml.h: add #include <string>
1766
1767 2004-10-25  José Matos  <jamatos@lyx.org>
1768
1769         * sgml.[Ch] (escapeString): new function to escape all the string.
1770
1771 2004-10-24  José Matos  <jamatos@lyx.org>
1772
1773         * paragraph.[Ch] (getFirstWord): new function to get the first
1774         word. Useful for description.
1775         (simpleDocBookOnePar): remove depth argument, add another that
1776         says where to start the paragraph.
1777
1778         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1779         use the new functions to fix cleanly the support for descriptions.
1780
1781 2004-10-24  José Matos  <jamatos@lyx.org>
1782
1783         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1784         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1785         * output_linuxdoc.C (linuxdocParagraphs):
1786         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1787         add buffer as argument.
1788
1789 2004-10-24  José Matos  <jamatos@lyx.org>
1790
1791         * output_docbook.C (makeEnvironment, searchEnvironment): place
1792         CDATA inside paragraphs and fix scope for listitems.
1793
1794 2004-10-24  José Matos  <jamatos@lyx.org>
1795
1796         * output_docbook.C: remove using statement for stack.
1797
1798 2004-10-23  José Matos  <jamatos@lyx.org>
1799
1800         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1801         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1802         docbook. The new scheme is recursive and makes use of iterators, the
1803         same as latex export works.
1804         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1805         directly with the paragraph contents. This code was moved up to
1806         output_docbook.C (docbookParagraphs).
1807         * sgml.C (openTag, closeTag): removed unneeded newlines.
1808         (closeEnvTags) removed.
1809
1810 2004-10-23  André Pönitz  <poenitz@gmx.net>
1811
1812         * undo.C (textUndoOrRedo):
1813         * dociterator.C (asDocIterator): work around crash
1814
1815         * cursor.C (getStatus): replace ASSERT by more verbose error message
1816           and manual correction of the problem. Should increase stability
1817           while providing more sensible information.
1818
1819 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1820
1821         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1822
1823         * bufferlist.C (previous, next): new methods
1824
1825         * lfuns.h:
1826         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1827
1828 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1829
1830         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1831         entities to preamble.
1832
1833 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1834
1835         * messages.C (Pimpl): strip off translation context information
1836
1837 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1840         the cursor is correct (bug 1694)
1841
1842 2004-10-13  José Matos  <jamatos@lyx.org>
1843
1844         * output_docbook.C (docbookParagraphs): fix closing tags in the
1845         end of the document.
1846
1847 2004-10-09  José Matos  <jamatos@lyx.org>
1848
1849         * buffer.C: format up to 237.
1850         * bufferparams.C (write): use tostr to convert booleans to strings.
1851
1852 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1853
1854         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1855
1856 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1857
1858         * LaTeX.C: implement use of babel language in xindy.
1859
1860 2004-10-05  José Matos  <jamatos@lyx.org>
1861
1862         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1863         Add new translators to help reading and writing the lyx file.
1864
1865 2004-10-05  José Matos  <jamatos@lyx.org>
1866
1867         * ParagraphParameters.C (read):
1868         * text.C (readParToken): replace nexToken by more appropriate lex
1869         methods.
1870
1871 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1872
1873         * LaTeX.C (runMakeIndex):
1874         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1875         (usually 'makeindex') configurable.
1876
1877         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1878         with a variable rather than with a number.
1879
1880 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1881
1882         * output_latex.C (TeXOnePar): make sure font setting is the first
1883         thing that gets output (and the last at the end). Should fix bug
1884         1404.
1885
1886 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1887
1888         * pch.h: use proper signal include
1889
1890         * LaTeX.h: Use preferred calling of Boost.Signal
1891         * buffer.h: ditto
1892
1893 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1894
1895         * pch.h: dont include <boost/function/function0.hpp>
1896
1897         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1898
1899         * paragraph_pimpl.h: remove usage of ShareContainer
1900
1901         * paragraph_pimpl.C: remove initialization of ShareContainer.
1902
1903 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1904
1905         Fix bug #1666
1906
1907         * BufferView.C (putSelectionAt): change the semantics when
1908         backwards == true: now, this just swaps cursor and anchor wrt the
1909         forward case
1910
1911         * BufferView.h (putSelectionAt): add some documentation
1912
1913         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1914         make sure backwardChar is done at least once (to avoid getting
1915         stuck)
1916         (findNextChange): use putSelectionAt in the forward direction
1917         (operator()): use Paragraph::isWord
1918
1919 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1920
1921         * Spacing.C (set): c_str fix
1922
1923 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1924
1925         * lyx_cb.C (Reconfigure): quote the name of configure script in
1926         case it contains spaces
1927
1928 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1929
1930         * client: new dir
1931
1932         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1933         (BOOST_LIBS): use top_buildir when looking for the file
1934
1935 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1936
1937         * pch.h: do not use include boost/format.hpp, multiple symbols
1938                 will result (gcc bug)
1939
1940
1941 2004-08-23  José Matos  <jamatos@lyx.org>
1942
1943         * bufferparams.C (readToken): fix reading of the author field.
1944
1945 2004-08-20  José Matos  <jamatos@lyx.org>
1946
1947         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1948
1949 2004-08-20  José Matos  <jamatos@lyx.org>
1950
1951         * lyxlex.[Ch] (findToken): remove function.
1952
1953         * ParagraphParameters.C (findToken):
1954         * bufferparams.C (findToken): replace call for previous function
1955         with local copy. This local function has one more argument, the
1956         read string argument.
1957
1958 2004-08-16  José Matos  <jamatos@lyx.org>
1959
1960         * ParagraphParameters.C (write):
1961         * Spacing.C (writeFile):
1962         * bufferparams.C (writeLaTeX):
1963         * lyx_cb.C (Reconfigure):
1964         * paragraph.C (write):
1965         * tabular.C (write): remove unnecessary space at end of line.
1966
1967
1968 2004-08-16  José Matos  <jamatos@lyx.org>
1969
1970         * text.C (readParagraph): remove debug message.
1971
1972 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1973
1974         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1975         crash
1976
1977         * output_plaintext.C (asciiParagraph): set depth correctly
1978
1979         * outputparams.h: add member depth
1980
1981         * paragraph_funcs.C (ownerPar): remove.
1982
1983         * text2.C (setCounter): remove first_pit; comment out some
1984         non-working code that uses ownerPar
1985
1986         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1987         uses ownerPar
1988
1989 2004-08-16  José Matos  <jamatos@lyx.org>
1990
1991         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1992         For the same level of importance use the same chanel to report problems.
1993         (read): add code to deal with \begin_body and \end_body.
1994
1995
1996 2004-08-15  José Matos  <jamatos@lyx.org>
1997
1998         * lyxlex.C (getString): fix comment, buffer::readBody is now
1999         buffer:readDocument.
2000
2001         * tex-strings.C (string_papersize): Default -> default,
2002         Custom -> custom, for consistency with other options.
2003
2004 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
2005
2006         * pch.h: new file
2007
2008         * Makefile.am: support pch
2009
2010 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2011
2012         * text.C (readParToken): remove the static LyXFont variable and
2013         pass it as a parameter instead. This fixes a nasty bug where an
2014         inset will be inserted with a bad font in some situations
2015         (readParagraph): adapt
2016
2017         * text2.C (setCounter): reduce number of calls to pars_[pit]
2018
2019         * text.C (singleWidth): add an assert, fix a test
2020
2021         * rowpainter.C (paintText): reduce number of calls to singleWidth
2022
2023         * paragraph.C (isHfill):
2024         (isNewline): ws only
2025
2026 2004-08-14  André Pönitz  <poenitz@gmx.net>
2027
2028         * text.C:
2029         * text2.C:
2030         * rowpainter.C:
2031         * lyxtext.h (several functions): use a Paragraph & argument
2032         instead of par_type
2033
2034 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2035
2036         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2037
2038         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2039
2040         * text.C (singleWidth): remove useless test
2041
2042 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2043
2044         * tabular.h: remove bogus comments
2045
2046         * tabular.C (getDescentOfRow):
2047         (isPartOfMultiColumn): add assertions
2048
2049         * lyxlength.C (inPixels): remove #warning
2050
2051 2004-08-14  André Pönitz  <poenitz@gmx.net>
2052
2053         * paragraph.h: inline getChar()
2054
2055         * BufferView.h: remove unused declarations
2056
2057 2004-08-14  José Matos  <jamatos@lyx.org>
2058
2059         * Buffer.[Ch] (readDocument): new name for old readBody.
2060         * Buffer.C: new file format, new keywords: \begin_document,
2061         \begin_header, \begin_body, \end_body.
2062
2063         * bufferparams.C (readToken): replace all calls to lex.nextToken
2064         by lex.next(). Do the same to eatLine except where really needed.
2065
2066         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2067         line when writing to the lyx file.
2068
2069         * output_plaintext.C (asciiParagraph): fix Bibliography style
2070         handling.
2071
2072         * text.C (read): fix end of file handling.
2073
2074 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2075
2076         * MenuBackend.C (Menu::operator[]): new method to access
2077         individual menu items
2078         (Menu::hasFunc): new method. search for an item that corresponds
2079         to a given func
2080         (MenuBackend::specialMenu): new method
2081         (MenuBackend::expand): if a special menu has been set, skip
2082         entries whose func() appears in this menu
2083
2084 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2085
2086         * text3.C: use Debug::DEBUG a bit more
2087
2088         * text.C (leftMargin): try to simplify a tiny bit change var x to
2089         l_margin. Dont output the wide margins always.
2090         (rightMargin): no margin in inner texts
2091
2092         * rowpainter.h (nestMargin): new func
2093         (changebarMargin): new func
2094         (rightMargin): new func
2095
2096         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2097         now functions.
2098         (paintLast): ditto
2099
2100         * factory.C (createInset): modify setDrawFrame
2101
2102         * cursor.C: use Debug::DEBUG a bit more
2103
2104 2004-08-14  André Pönitz  <poenitz@gmx.net>
2105
2106         * coordcache.[Ch]:
2107         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2108         cache for all insets in (at least partially) visible (top-level)
2109         paragraphs.
2110
2111         * BufferView_pimpl.C: reset external coord cache before every update.
2112         This means the coord cache only contains valid entries.
2113
2114 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2115
2116         bug 1096
2117         * BufferView_pimpl.C (getInsetByCode): move function out of class
2118         and change in to a template in anon namespace. Also fix to do what
2119         suits us better.
2120
2121 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2122
2123         bug 1305
2124         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2125         of char
2126         (breakParagraph): rename par to par_offset and use a local
2127         reference. Add code to keep the language over a rebreak.
2128         (breakParagraphConservative): rename par to par_offset, use a
2129         local reference
2130         (mergeParagraph): ditto
2131         (outerHook): ditto
2132         (isFirstInSequence): ditto
2133         (outerFont): rename pit to par_offset
2134
2135         * paragraph.C: ws change
2136         * paragraph.h: ditto
2137         * text3.C: ditto
2138         * text.C: ditto
2139
2140 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2141
2142         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2143         treatment for ']'
2144
2145         * paragraph.C (simpleTeXOnePar): when we have a \item with
2146         optional argument, enclose the argument with curly brackets (in
2147         case it contains a closing square bracket)
2148
2149         * text2.C (editXY):
2150         * text2.C (editXY):
2151         * text3.C (checkInsetHit): constify
2152
2153 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2154
2155         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2156         documents (bug 1629)
2157
2158 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2159
2160         Fix toggling of collapsable insets with the mouse (bug 1558)
2161
2162         * lyxfunc.C (dispatch): adapt to LCursor changes
2163
2164         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2165         make sure that dispatch is not invoked twice
2166
2167         * cursor.C (needsUpdate): new method
2168         (dispatch): return void
2169         (result): new method, to access the DispatchResult of the cursor.
2170
2171 2004-08-13  José Matos  <jamatos@lyx.org>
2172
2173         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2174
2175 2004-08-13  André Pönitz  <poenitz@gmx.net>
2176
2177         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2178
2179         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2180           multiple cells
2181
2182 2004-08-12  André Pönitz  <poenitz@gmx.net>
2183
2184         * text3.C: take out the 'cursor right' form insertInset and only
2185         do it in those places when it is really needed. Fixes crash on
2186         C-m...
2187
2188 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2189
2190         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2191
2192         * BufferView_pimpl.C (setBuffer): initialize the current font of
2193         the underlying LyXText
2194
2195 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2196
2197         * kbsequence.C (print): use UI native formatting for menu
2198         shortcuts
2199
2200         * text.C (insertChar): call Paragraph::insertChar with a font
2201         argument (cosmetic)
2202
2203         * paragraph.C (insertInset, insertChar): the version that takes a
2204         LyXFont argument is now a wrapper around the other one (the
2205         opposite used to be true).
2206
2207         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2208         argument. Font setting is done in Paragraph now.
2209
2210 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2211
2212         * outputparams.h: add new members intitle and lang.
2213
2214         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2215         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2216
2217 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2218
2219         * text3.C (dispatch): remove special handling of button 4 and 5,
2220         it is now taken care of in the frontend code.
2221
2222 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2223
2224         * Spacing.h: add <string> (STLPort compile fix)
2225
2226 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2227
2228         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2229
2230 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2231
2232         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2233         to bool.
2234
2235         * converter.C (showMessage): inherit from unary_function, make
2236         operator() const.
2237
2238         * buffer.C (writeFile): initialize retval
2239
2240         * InsetList.h: rename private variable list to list_
2241         * InsetList.[Ch]: adjust accordingly.
2242
2243 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2244
2245         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2246         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2247         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2248         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2249         * ParagraphParameters.C, LaTeXFeatures.C: replace
2250         "support/std_sstream.h" with <sstream>
2251
2252 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2253
2254         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2255         * lyxsocket.C (LyXServerSocket): ditto
2256         (serverCallback): ditto
2257
2258 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2259
2260         * LaTeXFeatures.C: check release date when loading jurabib.
2261
2262 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2263
2264         * lyxserver.C (startPipe): call register_socket_callback
2265         (endPipe): call unregister_socket_callback
2266
2267 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2268
2269         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2270         (LyXServerSocket): register the callback
2271         (LyXServerSocket): unregister the callback
2272         (fd): delete function
2273         (serverCallback): improve error checking and setup the callbacks.
2274         (dataCallback): change arg to fd.
2275         (writeln): new func (copied fro the client socket) used for server
2276         write to client.
2277         (LyXDataSocket): simplify
2278         (~LyXDataSocket): close ann unregiser callback
2279         (server): delete function
2280         (fd): delete function
2281         (readln): small changes, improve some std::string usage
2282         (writeln): constify a bit
2283
2284 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2285
2286         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2287         Qt frontend
2288
2289 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2290
2291         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2292         after it has been populated
2293
2294 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2295
2296         * text2.C (insertInset): move cursor when inserting inset.
2297
2298 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2299
2300         * kbmap.C (findbindings): a couple of new methods. returns a
2301         container of kb_sequence objects. The real work is done by the
2302         private recursive version
2303         (printbindings): uses findbindings to print out a bracketed list
2304         of bindings (renamed from findbinding).
2305
2306         * MenuBackend.C (binding): use kb_keymap::findbindings
2307
2308         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2309
2310 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2311
2312         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2313
2314 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2315
2316         * paragraph.C (isWord): return true on insets that report
2317         isLetter().
2318
2319         * text.C (getWord): use Paragraph::isWord to decide what is in a
2320         word and what is not; fix bug 1609.
2321
2322 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2323
2324         * tex-strings.C: add "none" to string_paperpackages[], fixes
2325         off-by-one-error in the paperpackage selection.
2326
2327         * lyxlex.[Ch]:
2328         * tex-strings.[Ch]: char const * string[n]
2329         -> char const * const string[]
2330
2331 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2332
2333         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2334         command, return early.
2335
2336 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2337
2338         * debug.h: add DEBUG to enum and fix size of ANY.
2339
2340         * debug.C: add support for Debug::DEBUG
2341         (showTags): cast errorTags.level to unsigned int
2342
2343         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2344         (redoCurrentBuffer): ditto
2345         (updateScrollbar): ditto
2346         * cursor.C (dispatch): ditto
2347         * text2.C (setLayout): ditto
2348         (setFont): ditto
2349         (updateCounters): ditto
2350         (editXY): ditto
2351         (deleteEmptyParagraphMechanism): ditto
2352
2353 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2354
2355         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2356         annotations to cleanup the Makefile slightly.
2357
2358 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2359
2360         * lyxrc.C: do not set user_email to a default value but use empty
2361         instead. The entry used to be translated, which does not work
2362         since at the point where lyxrc is constructed there is no
2363         translation service available
2364
2365         * messages.C (getLocaleDir): remove and use directly
2366         lyx_localedir() instead
2367
2368 2004-06-02  Angus Leeming  <leeming@lyx.org>
2369
2370         Fix crash caused by dereferencing null pointer 'exportdata' in
2371         OutputParams by creating a new ExportData variable on the heap,
2372         storing it in a boost::shared_ptr.
2373         The crash was triggered when generating an Instant Preview
2374         of an external inset.
2375
2376         * Makefile.am: add outputparams.C
2377
2378         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2379         (c-tor): allocate memory to it.
2380
2381         * exporter.C (c-tor): associated changes.
2382
2383 2004-06-01  Angus Leeming  <leeming@lyx.org>
2384
2385         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2386         contains data before calling isInset(0). (Bug 1513.)
2387
2388 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2389
2390         * exporter.C (checkOverwrite): new method
2391         * exporter.C (copyFile): new method
2392         * exporter.C (Export): copy referenced files to the document dir
2393         * exporter.[Ch]: new class ExportedFile
2394         * exporter.[Ch]: new class ExportData. Contains currently the
2395         names of referenced external files
2396         * outputparams.h: add exportdata member.
2397
2398 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2399
2400         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2401         version.C-tmp
2402
2403 2004-05-19  Angus Leeming  <leeming@lyx.org>
2404
2405         * LaTeXFeatures.C:
2406         * ToolbarBackend.C:
2407         * bufferparams.C:
2408         * lyxfunc.C: small changes due to the introduction of namespace
2409         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2410
2411 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2412
2413         * text3.C (dispatch): supress update when only moving the cursor
2414         * cursor.C (selHandle): remove commented code
2415
2416 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2417
2418         * paragraph.C (startTeXParParams): correct column count
2419         * CutAndPaste.C (pasteSelection): remove const_cast
2420         * output_docbook.C (docbookParagraphs): remove const_cast
2421         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2422         const_cast and return ParagraphList::const_iterator
2423         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2424         * output_plaintext.C (writeFileAscii): remove const_cast
2425         * paragraph.[Ch] (simpleTeXOnePar): make const
2426         * paragraph_funcs.C (outerPar): use const iterators
2427         * paragraph_pimpl.C (validate): use const iterators
2428         * text.C (setHeightOfRow): use const iterators
2429
2430 2004-05-17  Angus Leeming  <leeming@lyx.org>
2431
2432         * lfuns.h:
2433         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2434
2435         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2436         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2437         if the citation engine has changed.
2438
2439 2004-05-14  José Matos  <jamatos@lyx.org>
2440
2441         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2442         if the textclass does not provide it. Have it different for sgml and
2443         xml.
2444         support the language of document.
2445         * output_docbook.C (docbookParagraphs):
2446         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2447         first anchor as the id of the paragraph, remove special case code.
2448         * sgml.C (escapeChar): escape only < & >.
2449
2450 2004-05-14  Angus Leeming  <leeming@lyx.org>
2451
2452         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2453         dependencies on src/frontends/controllers/biblio.h. Define a
2454         CiteEngine_enum wrapper class to enable the enum to be forward
2455         declared.
2456
2457 2004-05-12  Angus Leeming  <leeming@lyx.org>
2458
2459         * buffer.C: up LYX_FORMAT to 234.
2460         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2461         use_numerical_citations with a single biblio::CiteEngine cite_engine
2462         variable.
2463         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2464
2465 2004-05-13  José Matos  <jamatos@lyx.org>
2466
2467         * converter.h:
2468         * converter.C (Converter, readFlags): add xml member.
2469         * outputparams.h: add XML flavor.
2470         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2471
2472 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2473
2474         * lyxfunc.C (dispatch):
2475         (getStatus): fix handling of LFUN_SEQUENCE
2476
2477 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2478
2479         * debug.C (showLevel): do not forget the end-of-line marker
2480
2481 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2482
2483         * kbmap.C (read): do not stop parsing a bind file when an error
2484         occurs (bug 1575)
2485
2486 2004-04-29  Angus Leeming  <leeming@lyx.org>
2487
2488         * cursor.C:
2489         * factory.C:
2490         * pariterator.C:
2491         * text2.C: wrap a bunch of #warning statements
2492         inside #ifdef WITH_WARNINGS blocks.
2493
2494 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2495
2496         * buffer.C: increment format to 233.
2497
2498 2004-04-28  Angus Leeming  <leeming@lyx.org>
2499
2500         * BufferView_pimpl.C:
2501         * lyxfunc.C:
2502         * text3.C:
2503         s/updateToolbar()/updateToolbars()/
2504         s/Toolbar.h/Toolbars.h/
2505
2506 2004-04-28  Angus Leeming  <leeming@lyx.org>
2507
2508         * BufferView.[Ch] (c-tor):
2509         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2510         No longer passes these data to the WorkArea generator.
2511
2512 2004-04-28  Angus Leeming  <leeming@lyx.org>
2513
2514         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2515
2516 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2517
2518         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2519
2520 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2521
2522         * output_latex.C (TeXEnvironment): make sure that there is a line
2523         break before \end{foo} for the last paragraph of a document
2524         (TeXOnePar): if the paragraph is at the end of the document (or
2525         inset) and the language has to be reset, then make sure that the
2526         line break is _before_ the language command, not after (fixes bug
2527         1225); also make sure that the language reset command is the first
2528         thing after the paragraph (to ensure proper nesting of
2529         environments and thus fix bug 1404)
2530
2531 2004-04-21  John Levon  <levon@movementarian.org>
2532
2533         * ToolbarBackend.h:
2534         * ToolbarBackend.C: make "name" be a programmatic name
2535         and a gui_name field.
2536
2537         * lyxfunc.C: display the minibuffer on M-x
2538
2539 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2540
2541         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2542         (bug 1526)
2543
2544 2004-04-19  Angus Leeming  <leeming@lyx.org>
2545
2546         * BufferView_pimpl.C (setBuffer): changed preview interface.
2547
2548         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2549         possible values.
2550
2551 2004-04-19  John Levon  <levon@movementarian.org>
2552
2553         * BufferView_pimpl.C:
2554         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2555
2556 2004-04-05  Angus Leeming  <leeming@lyx.org>
2557
2558         * text.C (redoParagraphs): add call to updateCounters(), thereby
2559         fixing the missing "Figure #:" label from the caption of a
2560         figure float.
2561
2562 2004-04-13  Angus Leeming  <leeming@lyx.org>
2563
2564         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2565         cursor is clicked out of an inset.
2566
2567 2004-04-13  Angus Leeming  <leeming@lyx.org>
2568
2569         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2570         than an InsetOld one.
2571
2572 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2573
2574         * format.[Ch]: add editor to Format
2575         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2576         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2577
2578 2004-04-08  André Pönitz  <poenitz@gmx.net>
2579
2580         * metricsinfo.h: remove PainterInfo::width member
2581
2582 2004-04-08  Angus Leeming  <leeming@lyx.org>
2583
2584         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2585         "\providecommand" rather than "\newcommand", thereby preventing
2586         clashes with packages that define "\boldsymbol" themselves.
2587         Eg, beamer.
2588
2589 2004-04-08  Angus Leeming  <leeming@lyx.org>
2590
2591         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2592         thereby squashing an unnecessary warning.
2593
2594 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2595
2596         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2597         setBuffer()
2598
2599 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2600
2601         * BufferView.C (setCursor): call redoParagraph (some insets could
2602         have been opened)
2603         (putSelectionAt): remove the 'double update' trick
2604
2605         * BufferView_pimpl.C (fitCursor): call refreshPar
2606         (workAreaDispatch): remove an uneeded update call
2607         (dispatch): remove some manual update calls
2608
2609         * cursor.[Ch]: remove cached_y_, updatePos
2610         (selHandle): set noUpdate when appropriate
2611
2612         * lyxfunc.C (dispatch): track if we need an update
2613
2614         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2615
2616         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2617         (paintSelection): cheap optimization, do not call cursorX when not
2618         needed
2619         (paintPars): change signature
2620         (refreshPar): add
2621         (paintText): adjust
2622         (paintTextInset): adjust
2623
2624         * text.C: adjust
2625
2626 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2627
2628         * lengthcommon.C: compilation fix: remove explicit array size from
2629         unit_name[] and friends
2630
2631 2004-04-05  Angus Leeming  <leeming@lyx.org>
2632
2633         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2634
2635         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2636         present only for the preferences dialog.
2637         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2638
2639 2004-04-05  Angus Leeming  <leeming@lyx.org>
2640
2641         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2642         to enable the frontends to export changes to lyxrc correctly.
2643
2644         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2645
2646 2004-04-07  André Pönitz  <poenitz@gmx.net>
2647
2648         * cursor.[Ch] (selClear, adjust): remove math
2649
2650         * cursor_slice.C: more agressive assert
2651
2652         * lyxfunc.C:
2653         * BufferView_pimpl.C: rework mouse event dispatch
2654
2655         * dociterator.C:
2656         * paragraph.C:
2657         * text2.C:
2658         * text3.C: adjust
2659
2660 2004-04-05  André Pönitz  <poenitz@gmx.net>
2661
2662         * cursor.[Ch] (valign, halign...): remove unneeded functions
2663
2664 2004-04-05  Angus Leeming  <leeming@lyx.org>
2665
2666         * lyxlength.[Ch] (unit_name et al.): const-correct.
2667
2668 2004-04-05  Angus Leeming  <leeming@lyx.org>
2669
2670         * BufferView_pimpl.C:
2671         * buffer.C:
2672         * counters.C:
2673         * cursor.C:
2674         * lyxfunc.C
2675         * paragraph.C:
2676         * pariterator.C:
2677         * text.C:
2678         * text2.C:
2679         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2680
2681 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2682
2683         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2684
2685 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2686
2687         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2688         * BufferView_pimpl.[Ch] (getStatus)
2689         * BufferView.[Ch] (getStatus): add
2690         * lyxfunc.C (getStatus): move lfuns handled in
2691         BufferView::dispatch to te function above
2692         * Cursor.C (setSelection): set selection() = true
2693
2694 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2695
2696         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2697
2698 2004-03-31  Angus Leeming  <leeming@lyx.org>
2699
2700         * lyxfunc.C (dispatch): Fall through to the generic
2701         Dialogs::show("preamble").
2702
2703 2004-03-31  Angus Leeming  <leeming@lyx.org>
2704
2705         * lyxfunc.C (dispatch): Fall through to the generic
2706         Dialogs::show("spellchecker").
2707
2708 2004-03-31  Angus Leeming  <leeming@lyx.org>
2709
2710         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2711         preferences dialog.
2712
2713 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2714
2715         * BufferView.C
2716         * cursor.[Ch]
2717         * dociterator.[Ch]:
2718         * insetiterator.[Ch]:
2719         * lyxfind.C:
2720         * lyxfunc.C:
2721         * pariterator.[Ch]:
2722         * text2.C:
2723         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2724
2725 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2728         insets where we are putting the cursor.
2729
2730 2004-03-31  Angus Leeming  <leeming@lyx.org>
2731
2732         * lfuns.h:
2733         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2734
2735         * lyxrc.[Ch] (read, write): overloaded member functions taking
2736         a std::[io]stream arguments.
2737
2738         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2739
2740 2004-03-31  Angus Leeming  <leeming@lyx.org>
2741
2742         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2743         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2744
2745         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2746         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2747
2748 2004-03-31  Angus Leeming  <leeming@lyx.org>
2749
2750         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2751         the LFUN_ALL_INSETS_TOGGLE code.
2752
2753 2004-03-30  Angus Leeming  <leeming@lyx.org>
2754
2755         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2756         has died. Fall through to the generic Dialogs::show("document").
2757
2758 2004-03-30  Angus Leeming  <leeming@lyx.org>
2759
2760         * lfuns.h:
2761         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2762         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2763
2764         * lyxfunc.C (getStatus, dispatch): define the actions for these
2765         lfuns. Little more than a cut and pste job from ControlDocument.C
2766
2767         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2768
2769 2004-03-30  Angus Leeming  <leeming@lyx.org>
2770
2771         * lfuns.h:
2772         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2773         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2774
2775         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2776         open/closed state of ollapsable insets. Usage:
2777
2778         all-inset-toggle <state> <name>, where
2779         <state> == "open" || "closed" || "toggle" and
2780         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2781
2782         * lyxtext.h, text2.C (toggleInset): removed.
2783
2784         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2785         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2786         now passes LFUN_INSET_TOGGLE to the found inset.
2787
2788         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2789         is now invoked as "all-insets-toggle toggle branch".
2790
2791 2004-03-30  Angus Leeming  <leeming@lyx.org>
2792
2793         * dociterator.C:
2794         * insetiterator.C:
2795         * pariterator.[Ch]: added/corrected header blurb.
2796
2797 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2798
2799         * dociterator.[Ch]: add an inset_ member
2800         (backwardPos): implemented
2801         (backwardPos, forwardPos): use inset_ when the stack is empty.
2802         (doc_iterator_begin, doc_iterator_end): implemented
2803         * pariterator.[Ch]: adjust, add begin, end
2804         * insetiterator.[Ch]: adjust, add begin, end
2805         * cursor.C:
2806         * document.C:
2807         * BufferView.C:
2808         * BufferView_pimpl.C:
2809         * CutAndPaste.C: adjust
2810
2811 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2812
2813         * buffer.C: increment file format to 232.
2814         * LaTeXFeatures.C: add bibtopic package.
2815         * bufferparams.[Ch]: param \use_bibtopic.
2816
2817         * lyxrc.[Ch]: add lyxrc bibtex_command
2818         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2819
2820         * buffer.C: increment file format to 231.
2821
2822 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2823
2824         * dociterator.C: implement forwardPar
2825         * iterators.[Ch]: remove, replaced by
2826         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2827         * BufferView.C:
2828         * BufferView_pimpl.C:
2829         * CutAndPaste.C:
2830         * buffer.C:
2831         * bufferview_funcs.C:
2832         * cursor.C:
2833         * lyxfind.C
2834         * lyxfunc.C
2835         * paragraph_funcs.C
2836         * toc.C:
2837         * Makefile.am: adjust
2838
2839 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2840
2841         * CutAndPaste.C (pasteSelection): fix 2 crashes
2842         (eraseSelection): fix a crash
2843         * paragraph_funcs.C: remove a warning
2844
2845 2004-03-28  Angus Leeming  <leeming@lyx.org>
2846
2847         * lfuns.h:
2848         * LyXAction.C (init): new LFUN_PRINT.
2849
2850         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2851
2852 2004-03-27  Angus Leeming  <leeming@lyx.org>
2853
2854         * lfuns.h:
2855         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2856
2857         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2858
2859 2004-03-27  Angus Leeming  <leeming@lyx.org>
2860
2861         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2862         insetlist always contains non-null pointers to insets.
2863
2864 2004-03-26  Angus Leeming  <leeming@lyx.org>
2865
2866         * src/BufferView_pimpl.C:
2867         * src/CutAndPaste.C:
2868         * src/buffer.C:
2869         * src/iterators.C:
2870         * src/output_plaintext.C:
2871         * src/outputparams.h:
2872         * src/paragraph_funcs.C:
2873         * src/rowpainter.C:
2874         * src/text.C:
2875         * src/text2.C:
2876         * src/frontends/controllers/ControlErrorList.C:
2877         * src/frontends/gtk/FileDialogPrivate.C:
2878         * src/frontends/gtk/GPainter.C:
2879         * src/frontends/gtk/GToolbar.C:
2880         * src/frontends/qt2/QRef.C:
2881         * src/mathed/math_scriptinset.C: squash compiler warnings.
2882
2883 2004-03-26  Angus Leeming  <leeming@lyx.org>
2884
2885         * ispell.C (LaunchIspell::start):
2886         * lyx_cb.C (AutoSaveBuffer::start):
2887         invoke run(DontWait) rather than runNonBlocking().
2888
2889 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2890
2891         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2892
2893 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2894
2895         * kbsequence.C (print): adjust
2896
2897         * kbmap.C (printKeySym): rename and change signature
2898         (printKey): use LyXKeySym::print()
2899
2900 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2901
2902         * undo.C: add using std::advance to compile for stlport
2903
2904 2004-03-24  Angus Leeming  <leeming@lyx.org>
2905
2906         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2907         it leads to a crash when no buffer is present.
2908
2909 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2910             Martin Vermeer  <martin.vermeer@hut.fi>
2911
2912         * lyxfunc.C (dispatch):
2913         * bufferparams.C (readToken): use the new LColor::setColor
2914
2915         * LColor.[Ch] (setColor): new version that takes two strings as
2916         argument and creates a new color entry if necessary
2917
2918 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2919
2920         * buffer.C (makeLaTeXFile): if the main latex file that is
2921         processed is usually a subdocument of some master, then pretend
2922         for a while that it is actually the master
2923
2924 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2925
2926         * buffer.C (getLabelList):
2927         (getBibkeyList): use getMasterBuffer()
2928         (getMasterBuffer): new method. Returns the main document in the
2929         case where one is using included documents.
2930
2931 2004-03-25  André Pönitz  <poenitz@gmx.net>
2932
2933         * Makefile.am:
2934         * iterators.[Ch]:
2935         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2936
2937         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2938
2939         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2940         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2941
2942         * ParameterStruct.h: merge with ParagraphParameters
2943
2944         * lyxtext.h: remove LyXText::parOffset() and getPar()
2945
2946         * text3.C: Remove all 'manual' update calls. We do now one per user
2947         interaction which is completely sufficient.
2948
2949         * Bidi.C:
2950         * BufferView.[Ch]:
2951         * BufferView_pimpl.C:
2952         * FontIterator.[Ch]:
2953         * MenuBackend.C:
2954         * ParagraphParameters.[Ch]:
2955         * buffer.C:
2956         * buffer.h:
2957         * bufferlist.C:
2958         * cursor.[Ch]:
2959         * cursor_slice.[Ch]:
2960         * dociterator.[Ch]:
2961         * errorlist.[Ch]:
2962         * factory.C:
2963         * lfuns.h:
2964         * lyxfind.C:
2965         * lyxfunc.C:
2966         * output_docbook.[Ch]:
2967         * output_latex.[Ch]:
2968         * output_linuxdoc.[Ch]:
2969         * output_plaintext.[Ch]:
2970         * paragraph.[Ch]:
2971         * paragraph_funcs.[Ch]:
2972         * paragraph_pimpl.[Ch]:
2973         * rowpainter.C:
2974         * tabular.[Ch]:
2975         * text.C:
2976         * text2.C:
2977         * toc.C:
2978         * undo.[Ch]: adjust
2979
2980         * frontends/controllers/ControlDocument.C:
2981         * frontends/controllers/ControlErrorList.C:
2982         * frontends/controllers/ControlSpellchecker.C:
2983         * insets/inset.C:
2984         * insets/inset.h:
2985         * insets/insetbase.h:
2986         * insets/insetbibitem.C:
2987         * insets/insetbox.C:
2988         * insets/insetbranch.C:
2989         * insets/insetcaption.C:
2990         * insets/insetcharstyle.C:
2991         * insets/insetcharstyle.h:
2992         * insets/insetcollapsable.C:
2993         * insets/insetcollapsable.h:
2994         * insets/insetert.C:
2995         * insets/insetfloat.C:
2996         * insets/insetfoot.C:
2997         * insets/insetmarginal.C:
2998         * insets/insetnote.C:
2999         * insets/insetoptarg.C:
3000         * insets/insettabular.C:
3001         * insets/insettext.C:
3002         * insets/insettext.h:
3003         * insets/insetwrap.C:
3004         * mathed/math_mboxinset.C:
3005         * mathed/math_nestinset.C:
3006         * mathed/math_scriptinset.C:
3007         * mathed/math_scriptinset.h:
3008         * support/types.h:
3009
3010 2004-03-24  Angus Leeming  <leeming@lyx.org>
3011
3012         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3013         deal with any child processes that have finished but are waiting to
3014         communicate this fact to the rest of LyX.
3015
3016 2004-03-24  Angus Leeming  <leeming@lyx.org>
3017
3018         64-bit compile fixes.
3019
3020         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3021         (c-tor): pass lyx::pos_types rather than ints.
3022
3023         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3024         lyx::pos_type.
3025
3026         * text.C (Delete): compile fix.
3027         (getPar): ensure that function declaration is the same as that in
3028         the header file.
3029
3030 2004-03-23  Angus Leeming  <leeming@lyx.org>
3031
3032         * ispell.C (LaunchIspell):
3033         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3034         a boost::shred_ptr rather than a std::auto_ptr.
3035
3036 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3037
3038         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3039         handle LFUN_FILE_INSERT_*
3040
3041         * lyxrc.C (setDefaults, getDescription, output, read):
3042         * lyxrc.h: remove ps_command
3043
3044 2004-03-22  Angus Leeming  <leeming@lyx.org>
3045
3046         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3047         Ensure that error_handler is processed once only and that all data
3048         is saved before attempting to output any warning messages.
3049
3050         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3051
3052 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3053
3054         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3055
3056 2004-03-19  André Pönitz  <poenitz@gmx.net>
3057
3058         * cursor.[Ch] (reset): take main text inset as argument
3059
3060         * BufferView: adjust
3061         * BufferView_pimpl.C: adjust
3062
3063         * paragraph.[Ch]: fix completely broken operator=()
3064
3065 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3066
3067         * LColor.C (getFromLyXName): make sure that the color name is used
3068         as lowercase.
3069
3070 2004-03-17  Angus Leeming  <leeming@lyx.org>
3071
3072         * lfuns.h:
3073         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3074
3075         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3076         dialog and to kill a forked process.
3077
3078 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3079
3080         * text2.C (setCursorFromCoordinates): fix font problem
3081
3082 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3083
3084         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3085         bogus "rebuild cursor" code
3086
3087 2004-03-11  André Pönitz  <poenitz@gmx.net>
3088
3089         * buffer.[Ch]: use InsetText instead of LyXText as container for
3090         the main lyx text.
3091
3092         * dociterator.[Ch]: drop the BufferView * member which is not needed
3093         anymore after the change to buffer.C
3094
3095         * paragraph_funcs.C:
3096         * text.C:
3097         * text2.C:
3098         * BufferView.[Ch]:
3099         * BufferView_pimpl.[Ch]:
3100         * cursor.[Ch]:
3101         * cursor_slice.[Ch]: adjust
3102
3103         * text3.C: fix bug in mathDispatch
3104
3105 2004-03-08  André Pönitz  <poenitz@gmx.net>
3106
3107         * undo.[Ch]: use 'StableDocumentIterator' as base for
3108         the Undo struct.
3109
3110 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3111
3112         * LaTeXFeatures.C:
3113         * bufferparams.[Ch]: add jurabib support and param.
3114
3115         * LaTeX.C: add FIXME/comment.
3116
3117 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3118
3119         * buffer.C: increment file format to 230.
3120
3121 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3122
3123         * cursor.C (dispatch): avoid infinite loops
3124
3125 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * rowpainter.C (paintSelection): fix x coordinates
3128
3129 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3130
3131         * text.C (rowBreakPoint): fix breaking before displayed insets
3132
3133 2004-03-01  André Pönitz  <poenitz@gmx.net>
3134
3135         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3136
3137         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3138
3139         * Makefile.am:
3140         * BufferView.C:
3141         * BufferView_pimpl.C:
3142         * buffer.C:
3143         * lyxfind.C:
3144         * lyxfunc.C:
3145         * text.C:
3146         * text2.C:
3147         * text3.C: adjust
3148
3149 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3150
3151         * lyxtext.h:
3152         * text.C:
3153         * text2.C:
3154         * rowpainter.C:
3155         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3156         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3157
3158 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3159
3160         * Bidi.[Ch] (computeTables): const correctness
3161         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3162         fill_hfill, fill_label_hfill and x from Row
3163         * lyxtext.h: prepareToPrint returns a RowMetrics
3164         * rowPainter.C: adjust
3165         * text.C (prepareToPrint): use width, not textWidth. adjust
3166         (redoParagraphInternal, cursorX): adjust
3167         * text2.C (getColumnNearX): adjust
3168         (init): put a default value to the top LyXText::width
3169
3170 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3171
3172         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3173
3174 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3175
3176         * lyxtext.h: add FontIterator class
3177
3178         * text.C (FontIterator, operator*, operator->, operator++): add
3179         (rowBreakPoint, setRowWidth): adjust (fixing a
3180         rebreaking bug)
3181
3182 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3183
3184         * BufferView_pimpl.C (workAreaDispatch): allow also
3185         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3186
3187 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3188
3189         * text.C (rowBreakPoint): fix a bug showing with very large insets
3190
3191 2004-02-25  André Pönitz  <poenitz@gmx.net>
3192
3193         * text3.C:
3194         * cursor.[Ch]: move some mathed specific code to mathed
3195
3196 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3197
3198         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3199         use_tempdir in preferences
3200         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3201         tempfile creation
3202         * lyx_main.C: ensure that tempdir is valid
3203         * lyxlex.h: correct typo
3204         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3205         * paragraph.[Ch] (isMultiLingual): make const
3206         * cursor.[Ch] (openable): make const
3207
3208 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3209
3210         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3211
3212 2004-02-20  André Pönitz  <poenitz@gmx.net>
3213
3214         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3215
3216         * cursor.[Ch]: prepare for localized getStatus()
3217
3218         * lyxtext.h:
3219         * tabular.C:
3220         * text.C:
3221         * text2.C:
3222         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3223
3224 2004-02-20  André Pönitz  <poenitz@gmx.net>
3225
3226         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3227
3228 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3229
3230         * text2.C (setCursorFromCoordinates): switch to absolute coords
3231         (cursorUp): adjust
3232         (cursorDown): adjust
3233         * text3.C (dispatch): adjust
3234
3235 2004-02-16  André Pönitz  <poenitz@gmx.net>
3236
3237         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3238           insets/ChangeLog)
3239
3240         * cursor_slice.[Ch]: remove unneeded acessor function
3241
3242         * lyxtext.h: rename rtl() to isRTL()
3243
3244         * rowpainter.C:
3245         * tabular.C:
3246         * text.C:
3247         * text2.C:
3248         * text3.C: adjust
3249
3250 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3251
3252         * rowpainter.C (paintSelection): coord fix
3253
3254 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3255
3256         * Spacing.C: compile fix
3257
3258 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3259
3260         * cursor.C (dispatch): restore current_ before returning
3261
3262 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3263
3264         * text2.C (cursorUp, cursorDown): fix coords
3265         (moveUp): fix crash
3266
3267 2004-02-12  André Pönitz  <poenitz@gmx.net>
3268
3269         * lyxtext.h:
3270         * text.C:
3271         * text2.C:
3272         * text3.C: add LCursor & parameter to most cursor movement functions
3273           remove usage of LyXText::cursorRow() and cursorPar()
3274
3275         * cursor.[Ch]: add textRow() needed members
3276
3277         * BufferView.C:
3278         * BufferView_pimpl.C:
3279         * paragraph.[Ch]:
3280         * BufferView.C:
3281         * BufferView_pimpl.C: adjust
3282
3283 2004-02-11  André Pönitz  <poenitz@gmx.net>
3284
3285         * lyxfunc.C:
3286         * BufferView.[Ch]:
3287         * BufferView_pimpl.C: shift undo/redo handling
3288
3289         * cursor.[Ch]: fix mathed crash
3290
3291         * lyxfind.C:
3292         * lyxtext.h: move selectionAsText to LCursor
3293
3294         * output_latex.C:
3295         * paragraph.C:
3296         * text.C:
3297         * text2.C:
3298         * text3.C: adjust
3299
3300         * rowpainter.C: fix excessive drawing
3301
3302 2004-02-06  André Pönitz  <poenitz@gmx.net>
3303
3304         * BufferView.[Ch]:
3305         * BufferView_pimpl.[Ch]:
3306         * text3.C: move some text specific LFUN handling
3307
3308 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3309
3310         * text3.C (checkInsetHit): adjust coords
3311         * text2.C (getColumnNearX): adjust coords
3312         (edit): adjust coords
3313         * text.C (getRowNearY): add two asserts
3314
3315 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3316
3317         * converter.C:
3318         * format.C: add using std::distance to compile on gcc 2.95/stlport
3319
3320 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3321
3322         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3323
3324 2004-02-04  André Pönitz  <poenitz@gmx.net>
3325
3326         * BufferView.[Ch] (insertInset):
3327         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3328
3329         * text2.C:
3330         * text3.C: adjust
3331
3332 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3333
3334         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3335         on the default clause of the switch
3336         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3337         wasn't catched by LCursor::dispatch
3338
3339 2004-02-03  André Pönitz  <poenitz@gmx.net>
3340
3341         * BufferView.C:
3342         * cursor.[Ch]: some additional asserts
3343
3344         * undo.[Ch]: remove LyXText dependency in interface
3345
3346         * lyxfunc.C: adjust
3347
3348         * lyxtext.h (firstPar, lastPar): remove dead functions
3349
3350         * text.C:
3351         * text2.C:
3352         * text3.C:
3353         * paragraph.[Ch]: adjust
3354
3355 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3356
3357         * lyxfind.C (find): fix argument order in call to ::find
3358
3359 2004-02-02  André Pönitz  <poenitz@gmx.net>
3360
3361         * cursor.[Ch]: remove direct access to anchor
3362
3363         * text.C: remove findText() hack
3364
3365 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3366
3367         * iterators.[Ch] (lockPath): remove in favour of...
3368         * BufferView.[Ch] (setCursor): this addition
3369         * BufferView.C (putSelectionAt): adjust
3370         * undo.C (performUndoOrRedo): adjust
3371         * lyxfunc.C (dispatch): adjust
3372
3373 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3374
3375         * iterators.C (lockPath): add a missing slice
3376         * undo.C (performUndoOrRedo): remove redundant positioning code
3377
3378 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3379
3380         * vc-backend.C (scanMaster): ";" -> ';'
3381
3382 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3383
3384         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3385         std::binary_function
3386
3387         * lyxtextclass.C (compare_name): rename to...
3388         (LayoutNamesEqual): ...this
3389
3390         * lyxlex_pimpl.C (compare_tags): inherit from
3391         std::binary_function, put back into anon namespace
3392
3393         * lyxfind.C (MatchString): inherig from std::binary_function
3394         (findChange): use empty() istead of !size()
3395
3396         * format.C (FormatNamesEqual): new functor
3397         (getFormat): use it
3398         (getNumber): use it
3399         (add): use it
3400         (erase): use it
3401         (setViewer): use it
3402
3403         * converter.C (compare_Converter): rename to...
3404         (ConverterEqual): ...this, and fixup a bit.
3405         (getConverter): use it, and make function const
3406         (getNumber): use it, and make function const
3407         (add): use it
3408         (erase): use it:
3409
3410         * bufferlist.C: add using boost::bind
3411
3412         * MenuBackend.C (MenuNamesEqual): new functor
3413         (hasMenu): use it, and make function const
3414         (hasSubmenu): use nested bind to get rid of compare_memfun.
3415
3416 2004-01-30  André Pönitz  <poenitz@gmx.net>
3417
3418         * BufferView_pimpl.C:
3419         * cursor.C:
3420         * cursor.h:
3421         * cursor_slice.[Ch]:
3422         * lyxfunc.C:
3423         * lyxtext.h:
3424         * paragraph_funcs.C:
3425         * paragraph_funcs.h:
3426         * rowpainter.C:
3427         * text.C:
3428         * text2.C:
3429         * text3.C: move some of the edit(x,y) handling to the insets
3430         some coordinate changes.
3431
3432 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3433
3434         * text.C: add using statements for std::advance and std::distance
3435
3436         * paragraph.C: add using statement for std::distance
3437
3438         * lyxfind.C: add using statement for std::advance
3439
3440         * cursor.C (region): remove std:: from swap
3441         (openable): use nucleus in stead of operator->
3442
3443         * BufferView.C: add using statements for std::distance and std::swap
3444
3445 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3446
3447         * iterators.C: Remove the pimple, move the needed structures to
3448         the header file. Create accessor for the positions stack.
3449         (asPosIterator): remove function
3450
3451         * PosIterator.C (PosIterator): move constructors to top of file
3452         (PosIterator): reimplement the constructor taking a ParIterator in
3453         terms of setFrom.
3454         (setFrom): new function
3455         (operator!=): inline it
3456
3457 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3458
3459         * lyxfind.C (replaceAll): use std::advance
3460
3461         * iterators.h: inherit from std::iterator.
3462
3463         * PosIterator.C (advance, distance): remove
3464         * PosIterator.h: interit from std::iterator.
3465
3466 2004-01-26  André Pönitz  <poenitz@gmx.net>
3467
3468         * BufferView.[Ch]:
3469         * BufferView_pimpl.[Ch]:
3470         * InsetList.[Ch]:
3471         * PosIterator.[Ch]:
3472         * buffer.h:
3473         * bufferview_funcs.C:
3474         * cursor.[Ch]:
3475         * cursor_slice.h:
3476         * factory.[Ch]:
3477         * iterators.[Ch]:
3478         * lyxfind.C:
3479         * lyxfunc.C:
3480         * lyxtext.h:
3481         * output_docbook.C:
3482         * output_latex.C:
3483         * output_linuxdoc.C:
3484         * output_plaintext.C:
3485         * paragraph.[Ch]:
3486         * paragraph_funcs.[Ch]:
3487         * paragraph_pimpl.[Ch]:
3488         * rowpainter.C:
3489         * tabular.C:
3490         * tabular.h:
3491         * text.C:
3492         * text2.C:
3493         * text3.C: more IU:  dumps most of the rest of the mathcursor
3494     implementation into cursor.[Ch]; "globalize" a bit of it.
3495
3496 2004-01-25  Angus Leeming  <leeming@lyx.org>
3497
3498         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3499
3500 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3501
3502         * LaTeXFeatures.h: add nice_ and nice() const
3503         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3504
3505 2004-01-20  André Pönitz  <poenitz@gmx.net>
3506
3507         * BufferView.[Ch]:
3508         * BufferView_pimpl.C:
3509         * PosIterator.C:
3510         * bufferview_funcs.C:
3511         * cursor.[Ch]:
3512         * cursor_slice.[Ch]:
3513         * factory.C:
3514         * iterators.C:
3515         * lyx_cb.C:
3516         * lyxfind.C:
3517         * lyxfunc.C:
3518         * lyxtext.h:
3519         * rowpainter.C:
3520         * text.C:
3521         * text2.C:
3522         * text3.C:
3523         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3524           LCursor and mathcursor parts to LCursor and InsetBase.
3525
3526 2004-01-15  André Pönitz  <poenitz@gmx.net>
3527
3528         * cursor_slice.[Ch]: add a few covienience functions
3529
3530         * funcrequest.[Ch]: remove BufferView * member
3531
3532         * BufferView_pimpl.C:
3533         * cursor.C:
3534         * factory.[Ch]:
3535         * lyxfind.[Ch]:
3536         * lyxfunc.C:
3537         * lyxtext.h:
3538         * text3.C:
3539         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3540
3541 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3542
3543         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3544         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3545
3546 2004-01-13  André Pönitz  <poenitz@gmx.net>
3547
3548         * textcursor.[Ch]:
3549         * lyxtext.h: hide cursor and selection anchor behind accessor function
3550
3551         * BufferView.C:
3552         * BufferView_pimpl.[Ch]:
3553         * PosIterator.C:
3554         * bufferview_funcs.C:
3555         * cursor.h:
3556         * lyxfind.C:
3557         * lyxfunc.C:
3558         * text.C:
3559         * text2.C:
3560         * text3.C:
3561         * undo.C: adjust
3562
3563         * cursor.h:
3564         * cursor_slice.[Ch]: some integer type changes for inset unification
3565
3566         * lyxcursor.[hC]: remove, it's CursorSlice now.
3567
3568         * Makefile.am:
3569         * BufferView_pimpl.[Ch]:
3570         * bufferview_funcs.C:
3571         * cursor_slice.C:
3572         * lyxtext.h:
3573         * text.C:
3574         * text2.C:
3575         * text3.C:
3576         * textcursor.[Ch]: adjust
3577
3578 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3579
3580         * text2.C (undoSpan): add and use
3581         * text.C (breakParagraph): use undoSpan (fix bug 578)
3582         * lyxtext.h: adjust
3583
3584 2004-01-08  Angus Leeming  <leeming@lyx.org>
3585
3586         * BufferView_pimpl.C (MenuInsertLyXFile):
3587         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3588         * lyxfunc.C (menuNew, open, doImport):
3589         FileFilterList change to the FileDialog open and save functions.
3590
3591 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3592
3593         * ShareContainer.h: make isEqual and isUnique adaptable
3594
3595         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3596
3597 2004-01-07  Angus Leeming  <leeming@lyx.org>
3598
3599         * LyXAction.C:
3600         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3601
3602         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3603
3604         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3605         functions replacing find, replace and replaceAll.
3606
3607         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3608         LFUN_WORDFIND(FORWARD|BACKWARD).
3609
3610 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3611
3612         * text.C (breakParagraph): remove an outdated #warning
3613
3614 2004-01-07  André Pönitz  <poenitz@gmx.net>
3615
3616         * lyxfind.C: somewhat clearer logic
3617
3618         * text.C: prevent crash in cursorX on unitialized row cache
3619
3620 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3621
3622         * lyxcursor.[Ch] (operator>): add
3623         * textcursor.C (selStart, selEnd): use std::min and std::max
3624
3625 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3626
3627         * Chktex.C: include boost/format.hpp
3628
3629 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3630
3631         * InsetList.C: replace functor MathcIt with adaptable functor
3632         InsetTablePosLess
3633         (insetIterator): modify accordingly
3634
3635         * BranchList.h: move the BranchNamesEqual functor here from...
3636         * BranchList.C: ... to here
3637
3638         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3639         SameName and match.
3640         (add): replace a finding loop with std::find_if.
3641
3642 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3643
3644         * output_docbook.C: moving LatexParam functionality into
3645         .layout files
3646
3647 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3648
3649         * buffer.C: increment format to 229.
3650
3651 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3652
3653         * LaTeXFeatures.C:
3654         * lyx_sty.[Ch]: remove minipageindent_def
3655
3656         * LyXAction.C:
3657         * factory.C:
3658         * lfuns.h:
3659         * lyxfunc.C:
3660         * text3.C: remove LFUN_INSET_MINIPAGE
3661
3662 2003-12-28  Angus Leeming  <leeming@lyx.org>
3663
3664         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3665
3666 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3667
3668         * text2.C (setParagraph): fix off-by-one crash
3669
3670 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3671
3672         * output_docbook.C: header stuff for AGU
3673
3674 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3675
3676         * text2.C (redoCursor): remove
3677         * text.C:
3678         * text3.C:
3679         * BufferView_pimpl.C: remove calls to redoCursor and
3680         setCursor(cursor.par(), cursor.pos()) all around
3681
3682 2003-12-15  Angus Leeming  <leeming@lyx.org>
3683
3684         * buffer.C: up the format to 228.
3685
3686 2003-12-15  André Pönitz  <poenitz@gmx.net>
3687
3688         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3689         slices
3690
3691         * Makefile.am:
3692
3693         * BufferView_pimpl.C:
3694         * cursor.[Ch]:
3695         * lyxcursor.[Ch]:
3696         * rowpainter.[Ch]:
3697         * lyxtext.h:
3698         * text.C:
3699         * text2.C:
3700         * text3.C: adjust
3701
3702 2003-12-15  Angus Leeming  <leeming@lyx.org>
3703
3704         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3705         than getFromGUIName to manipulate the color.
3706
3707 2003-12-14  Angus Leeming  <leeming@lyx.org>
3708
3709         * BranchList.[Ch]: minimize the API.
3710         (Branch::getBranch, getColor): now return a 'const &'.
3711         (Branch::setSelected) now returns a bool set to true if the
3712         selection status changes.
3713         (BranchList::clear, size, getColor, setColor, setSelected,
3714         allBranches, allSelected, separator): removed.
3715         (BranchList::find): new functions, returning the Branch with
3716         the given name.
3717         (BranchList::add, remove): return a bool indicating that
3718         the operation was successful.
3719
3720         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3721         new InsetBranch::isBranchSlected member function.
3722
3723         * LColor.[Ch]: mimimize the API.
3724         (fill): renamed as addColor and made private.
3725         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3726         versions of these functions taking a string arg have been removed.
3727
3728         * bufferparams.C (readToken):
3729         * lyxfunc.C (dispatch):
3730         * lyxrc.C (read): changes due to the altered BranchList and
3731         LColor APIs.
3732
3733         * factory.C (createInset, readInset): changes due to altered
3734         InsetBranch c-tor.
3735
3736 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3737
3738         * factory.C:
3739         * lyxfunc.C: remove insetminipage. "minipage-insert"
3740         now produces a frameless minipage box inset.
3741
3742 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3743
3744         * textcursor.[Ch] (selStart,selEnd): add new methods
3745         remove selection::start, end, use LyXCursor::operator<
3746         * lyxcursor.[Ch] (operator<): add
3747         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3748         * BufferView.[Ch] (unsetXSel): add
3749         * text2.C (clearSelection): use unsetXSel,adjust
3750         * text.C: adjust
3751         * text3.C: adjust
3752         * rowpainter.C: adjust
3753         * bufferview_funcs.C (put_selection_at): adjust
3754
3755 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3756
3757         * BufferView_pimpl.C: small coord. correction
3758
3759 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3760
3761         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3762         dragging over the splash screen.
3763
3764 2003-12-11  Angus Leeming  <leeming@lyx.org>
3765
3766         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3767         as it is now handled in LyXText::dispatch.
3768
3769         * text3.C (doInsertInset): remove a level of nesting.
3770
3771 2003-12-11  Angus Leeming  <leeming@lyx.org>
3772
3773         * factory.C (createInset): changes due to the changed interface to
3774         InsetCommandMailer::string2params.
3775
3776 2003-12-10  Angus Leeming  <leeming@lyx.org>
3777
3778         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3779         'dialog-show-new-inset <inset name>'
3780
3781 2003-12-10  Angus Leeming  <leeming@lyx.org>
3782
3783         * buffer.C: up the format to 227.
3784
3785         * factory.C: the box inset is now identified simply by 'Box'.
3786
3787 2003-12-10  Angus Leeming  <leeming@lyx.org>
3788
3789         * buffer.C: up the format to 226.
3790
3791         * factory.C: the note inset is now identified simply by 'Note'.
3792
3793 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3794
3795         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3796         when a pit is enough. Standarize a couple of loops.
3797
3798 2003-12-05  Angus Leeming  <leeming@lyx.org>
3799
3800         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3801         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3802         data to the re-worked "log" dialog.
3803
3804 2003-12-03  André Pönitz  <poenitz@gmx.net>
3805
3806         * PosIterator.C:
3807         * iterators.C:
3808         * lyxtext.h:
3809         * output_latex.C:
3810         * paragraph_funcs.C:
3811         * text.C:
3812         * text2.C: use Inset::getText instead of Inset::getParagraph
3813
3814 2003-12-03  André Pönitz  <poenitz@gmx.net>
3815
3816         * buffer.[Ch]:
3817         * lyxtext.h:
3818         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3819         InsetText::read() as LyXText::read()
3820
3821 2003-12-02  Angus Leeming  <leeming@lyx.org>
3822
3823         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3824         type. Add a comment in the implementation that the function uses
3825         the stream's bad() function rather than fail() as the std::streams
3826         would do.
3827
3828 2003-12-02  André Pönitz  <poenitz@gmx.net>
3829
3830         * lyxlex.[Ch]: make interface more similar to std::stream
3831
3832         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3833
3834 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3835
3836         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3837
3838 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3839
3840         * vspace.[Ch]: remove VSpace::NONE
3841
3842 2003-12-01  André Pönitz  <poenitz@gmx.net>
3843
3844         * buffer.[Ch]:
3845         * lyxtext.h: move ParagraphList member to LyXText
3846         rename LyXText::ownerParagraphs to LyXText::paragraph
3847
3848         * CutAndPaste.C:
3849         * bufferview_funcs.C:
3850         * iterators.[Ch]:
3851         * lyx_cb.C:
3852         * paragraph.C:
3853         * rowpainter.C:
3854         * tabular.C:
3855         * text.C:
3856         * text2.C:
3857         * text3.C: adjust
3858
3859         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3860
3861         * undo.C: fix cursor positioning
3862
3863 2003-12-01  John Levon  <levon@movementarian.org>
3864
3865         * BufferView_pimpl.C: fix a crash on exit with
3866         a buffer open
3867
3868 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3869
3870         * BranchList.C: fix setSelected() method.
3871
3872 2003-11-28  André Pönitz  <poenitz@gmx.net>
3873
3874         * ParagraphParameters.[Ch]:
3875         * ParameterStruct.h: remove space above/below from Paragraph to
3876          InsetVSpace
3877
3878         * BufferView_pimpl.C:
3879         * factory.C:
3880         * lyxfunc.C:
3881         * lyxtext.h:
3882         * output_latex.C:
3883         * paragraph.C:
3884         * paragraph_funcs.C:
3885         * rowpainter.[Ch]:
3886         * text.C:
3887         * text2.C:
3888         * text3.C: adjust
3889
3890 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3891
3892         * factory.C: Syntax change for CharStyles
3893
3894 2003-11-28  André Pönitz  <poenitz@gmx.net>
3895
3896         * BufferView.[Ch]:
3897         * BufferView.[Ch]:
3898         * buffer.[Ch]:
3899         * buffer.[Ch]: move LyXText member
3900
3901 2003-11-28  André Pönitz  <poenitz@gmx.net>
3902
3903         * BufferView.[Ch]: make LyXText * text a private member
3904
3905         * BufferView_pimpl.C:
3906         * cursor.C:
3907         * iterators.C:
3908         * lyx_cb.C:
3909         * lyxfind.C:
3910         * lyxtext.h:
3911         * rowpainter.[Ch]:
3912         * text.C:
3913         * text2.C:
3914         * undo.C: adjust
3915
3916         * output_plaintext.C: cleanup
3917
3918 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3919
3920         * buffer.C:
3921         * lyxtextclass.[Ch]: parametrize SGML document header
3922
3923 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3924
3925         * converter.[Ch]:
3926         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3927         getFlavor().
3928
3929 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3930
3931         * text2.C (setFont): rework using PosIterator (no more recursive)
3932         (setCharFont): no more needed
3933         (setLayout): no more selection cursors fiddling (done by redoCursor)
3934         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3935         destroy remaining ones)
3936
3937 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3938
3939         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3940         * lyxtext.h: ditto
3941         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3942         selection cursors
3943         * lyxfunc.C: adjust
3944         * text3.C: adjust + re-allow multi par depth changes
3945         * textcursor.C: simplify a bit
3946
3947 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3948
3949         * src/buffer.C:
3950         * src/lyxlayout.C:
3951         * src/lyxlayout.h:
3952         * src/lyxtext.h:
3953         * src/output_docbook.C:
3954         * src/output_latex.C:
3955         * src/paragraph.C:
3956         * src/paragraph.h:
3957         * src/sgml.C:
3958         * src/sgml.h:
3959         * src/text2.C: Introducing a number of tags parametrizing various
3960         XML formats that we may want to support
3961
3962 2003-11-25  André Pönitz  <poenitz@gmx.net>
3963
3964         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3965
3966         * lyxtext.h (leftMargin/rightMargin): simplify interface
3967
3968         * rowpainter.C:
3969         * text.C:
3970         * text2.C:
3971         * text3.C: adjust
3972
3973 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3974
3975         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3976         master file to any child files. Fixes bug 546.
3977
3978 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3979
3980         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3981
3982 2003-11-24  André Pönitz  <poenitz@gmx.net>
3983
3984         * rowpainter.C: simplification
3985
3986         * text2.C (updateCounters): remove call to redoParagraph on
3987         changed labels as this is far too expensive.
3988
3989 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3990
3991         * converter.C (convert): fix a crash: this function gets
3992         called with buffer == 0 from importer code.
3993
3994 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3995
3996         * text3.C (cursorPrevious): make sure that we do not compare
3997         iterators form different containers.
3998         (cursorNext): ditto
3999
4000         * rowpainter.C (paintSelection): make sure that we do not compare
4001         iterators from different containers.
4002
4003         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4004         iterators from different ParagraphList containers.
4005         [NEXT] ditto
4006
4007         * text2.C (LyXText): change order of initialization slightly
4008         (operator=): new function. copy all variables except cache_par_
4009         (moveUp): make sure that we do not compare iterators from
4010         different ParagraphList constainers.
4011         (moveDown): ditto
4012
4013         * text.C (firstPar): new function
4014         (lastPar): new function
4015         (endPar): new function
4016
4017         * lyxtext.h: move things around and group public functions, public
4018         variables, private functions, private variables
4019
4020 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4021
4022         * factory.C: change call to InsetERT constructor to avoid
4023         additional invocation of method status
4024         * text2.C (toggleInset): remove redundant update() call
4025         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4026         instead of a Bufferview pointer
4027
4028 2003-11-21  André Pönitz  <poenitz@gmx.net>
4029
4030         * rowpainter.C: simplification
4031
4032 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4033
4034         * text3.C (dispatch): make possible to extend a word/row selection
4035         with the mouse
4036
4037 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4038
4039         * lyxtext.h: x0_,y0_ -> xo_,yo_
4040         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4041         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4042         * rowpainter.C (paintRows): paint full paragraphs
4043
4044 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4045
4046         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4047         screen coordinates)
4048
4049 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4050
4051         * lyxtext.h: add x0_, y0_
4052         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4053         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4054
4055 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4056
4057         * text2.C (setCursorIntern): move the x_target update here *
4058         * text3.C: change some bv() to true/false in calls to
4059         cursorUp/Down/Right/Left
4060         * cursor.C: use helper function.
4061
4062 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4063
4064         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4065         * paragraph_funcs.[Ch]: correct comment
4066         * rowpainter.C: do not paint selections away from bv->cursor()
4067         Fix a long standing selection painting bug.
4068         * text3.C: generalize mouse-selection code to LyXTexts other that
4069         top one
4070         * textcursor.C: do not use y coords if we can use par offsets
4071
4072 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4073
4074         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4075         cursor position after e.g. inset insert)
4076
4077 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4078
4079         * lyxfind.C (replace): adjust to locking removal + some
4080         code simplification
4081
4082 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4083
4084         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4085         of the path
4086
4087 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4088
4089         * lyxlayout.[Ch]:
4090         * output_docbook.C: XML sanitation: new layout
4091         parameters InnerTag and CommandDepth
4092
4093 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4094
4095         * BufferView_pimpl.C:
4096         * factory.C:
4097         * text3.C: Fix the insertion and modification of button-style
4098         insets
4099
4100 2003-11-13  André Pönitz  <poenitz@gmx.net>
4101
4102         * InsetList.[Ch]: remove deleteLyXText
4103
4104         * paragraph.[Ch]: cache beginOfBody position
4105
4106         * Bidi.C:
4107         * text.C:
4108         * text2.C:
4109         * text3.C: remove superfluous update() calls
4110
4111         * vspace.C: cleanup
4112
4113 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4114
4115         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4116         * BufferView.C (fitLockedInsetCursor): remove
4117         * cursor.[Ch] (getDim): add
4118         * text.C (getRowNearY): add faster version
4119         * text3.C: remove some update calls
4120
4121 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4122
4123         * LaTeXFeatures.C:
4124         * LyXAction.C:
4125         * MenuBackend.C:
4126         * MenuBackend.h:
4127         * dispatchresult.h:
4128         * factory.C:
4129         * lfuns.h:
4130         * lyxfunc.C:
4131         * lyxtextclass.C:
4132         * lyxtextclass.h:
4133         * text3.C: The Character Style /XML short element patch.
4134
4135 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4136
4137         * text3.C:
4138         * factory.C: Small step to solving 'unable to insert some insets'
4139         problem
4140
4141 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4142
4143         * cursor.[Ch] (updatePos): new function for updating the y
4144         position of the tip inset
4145         * bufferview_funcs.C (put_selection_at):
4146         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4147
4148 2003-11-11  André Pönitz  <poenitz@gmx.net>
4149
4150         * text.C: remove big comment on invalid Paragraph pointers as it is
4151         not valid anymore
4152
4153 2003-11-11  André Pönitz  <poenitz@gmx.net>
4154
4155         * text_funcs.[Ch]: merge with ...
4156
4157         * text.C: ... this
4158
4159         * lyxtext.h:
4160         * text2.C:
4161         * text3.C: adjust
4162
4163         * Makefile.am: remove text_funcs.[Ch]
4164
4165 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4166
4167         * cursor.C (getPos): return absolute cached y coord
4168
4169         * BufferView_pimpl.C (fitCursor): new simplistic code
4170         (workAreaDispatch): add a fitCursor call
4171
4172 2003-11-10  André Pönitz  <poenitz@gmx.net>
4173
4174         * BufferView.[Ch]:
4175         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4176
4177 2003-11-10  André Pönitz  <poenitz@gmx.net>
4178
4179         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4180         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4181         indicate that the cursor needs to leave an inset
4182
4183         * lyxtext.h: remove inset locking
4184
4185         * cursor.[Ch]: re-implement functionality provided by inset locking
4186
4187         * BufferView.[Ch]:
4188         * BufferView_pimpl.[Ch]:
4189         * LyXAction.C:
4190         * bufferview_funcs.[Ch]:
4191         * factory.C:
4192         * funcrequest.[Ch]:
4193         * iterators.C:
4194         * lyx_cb.C:
4195         * lyxfind.C:
4196         * lyxfunc.C:
4197         * text.C:
4198         * text2.C:
4199         * text3.C:
4200         * undo.C: adjust
4201
4202 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * PosIterator.[Ch]: replace the stack with a vector, add inset
4205         accesor
4206         * iterators.[C]: adjust
4207
4208 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4209
4210         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4211         replaced
4212         * paragraph_funcs.C (readParToken): put the correct id in the
4213         error item, not the id of the top paragraph
4214
4215 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4216
4217         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4218         * bufferview_funcs.C (put_selection_at): use the above
4219
4220 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4221
4222         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4223
4224 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4225
4226         * output_linuxdoc.h:
4227         * output_plaintext.h:
4228         * output.h:
4229         * output_docbook.h: add #include statements
4230
4231 2003-11-05  José Matos  <jamatos@lyx.org>
4232
4233         * output_docbook.[Ch]:
4234         * output_latex.[Ch]:
4235         * output_linuxdoc.[Ch]:
4236         * output_plaintext.[Ch]: New files for output formats.
4237         * output.[Ch]: New file for helper functions.
4238
4239         * buffer.[Ch]:
4240         * paragraph_funcs.[Ch]: output functions moved to new files.
4241
4242         * outputparams.h: rename of latexrunparams.h
4243
4244         * LaTeX.[Ch]:
4245         * buffer.[Ch]:
4246         * bufferlist.[Ch]:
4247         * converter.[Ch]:
4248         * exporter.C:
4249         * paragraph.[Ch]:
4250         * paragraph_funcs.[Ch]:
4251         * paragraph_pimpl.[Ch]:
4252         * tabular.[Ch]: rename ascii to plaintext
4253         and LatexRunParams to OutputParams.
4254
4255 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4256
4257         * iterators.[Ch] (text): require bv argument
4258         * undo.C (recordUndo):
4259         * lyxfunc.C (dispatch):
4260         * bufferview_funcs.C (put_selection_at): adjust
4261
4262 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4263
4264         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4265
4266 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4267
4268         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4269         nestings
4270
4271 2003-11-04  André Pönitz  <poenitz@gmx.net>
4272
4273         * cursor.[Ch]: restructure
4274
4275         * BufferView.[Ch]:
4276         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4277
4278         * iterators.[Ch] (asCursor): remove
4279
4280         * lfuns.h: remove LFUN_INSET_EDIT
4281
4282         * lyxfunc.C:
4283         * tabular.C:
4284         * text.C:
4285         * text2.C:
4286         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4287
4288 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4289
4290         * lyxfind.[Ch]: complete overhaul
4291         * BufferView_pimpl.C:
4292         * lyxfunc.C: adjust
4293         * paragraph.[Ch] (insert): add
4294
4295 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4296
4297         * BufferView.[Ch]:
4298         * lyxtext.h:
4299         * text.C: remove dead spellcheck code
4300
4301 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * dispatchresult.h: add a val setter
4304
4305         * cursor.C (dispatch): use a tempvar for data_[i]
4306
4307 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4308
4309         * PosIterator.[Ch]: compile fix
4310
4311 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4312
4313         * text.C (cursorPar): deactivate the cursor cache
4314
4315 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4316
4317         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4318
4319 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4320
4321         * text3.C (dispatch): adjust for new DisptchResult semantics.
4322
4323         * lyxfunc.C (dispatch): handle update when return from
4324         Cursor::dispatch, adjust for new DispatchResult semantics.
4325
4326         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4327         DispatchResult(true) mean to not update. Add class functions for
4328         setting dispatched and update, as well as reading.
4329
4330         * cursor.C (dispatch): don't handle update here
4331
4332 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4333
4334         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4335         * trans_mgr.C: adjust
4336
4337         * paragraph_funcs.C (readParToken): exception safety
4338
4339         * lyxvc.h: store the vcs pointer in a scoped_ptr
4340         * lyxvc.C: adjust
4341
4342         * lyxsocket.C (serverCallback): exception safety
4343
4344         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4345
4346         * ispell.C (clone): make it return a auto_ptr
4347
4348         * factory.C (createInset): exception safety
4349         (readInset): exception safety
4350
4351         * bufferlist.C (newBuffer): exception safety
4352
4353         * Thesaurus.C (Thesaurus): use initialization for aik_
4354
4355         * MenuBackend.C (expandToc): exception safety.
4356
4357 2003-11-03  André Pönitz  <poenitz@gmx.net>
4358
4359         * buffer.C:
4360         * buffer.h:
4361         * bufferview_funcs.C: remove getInsetFromId()
4362
4363         * lyxcursor.[Ch]:
4364         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4365
4366         * lyxfunc.C:
4367         * text2.C:
4368         * text3.C: adjust
4369
4370 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4371
4372         * PosIterator.C (distance, advance): new
4373         * bufferview_funcs.[Ch] (put_selection_at): new
4374         * iterators.[Ch] (lockPath): new
4375
4376 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4377
4378         * iterators.[Ch] (asPosIterator): added
4379         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4380         * PosIterator.[Ch]: added
4381
4382 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4383
4384         * text3.C:
4385         * lyxfunc.C:
4386         * cursor.C (dispatch):
4387         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4388
4389         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4390         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4391         contructor, add a class function dispatched. Remove operator>=
4392
4393 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * debug.C: only use the default constructor for debugstream
4396         (lyxerr) here.
4397
4398         * main.C (main): include debug.h and setup the lyxerr streambuf
4399         here.
4400
4401 2003-10-31  José Matos  <jamatos@lyx.org>
4402
4403         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4404
4405         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4406         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4407         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4408         * paragraph_pimpl.C (simpleTeXSpecialC):
4409         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4410         add LatexRunParams argument.
4411
4412         * exporter.C (Export): change call accordingly.
4413
4414         * latexrunparams.h: add new member to take care of the other backends.
4415 2003-10-30  José Matos  <jamatos@lyx.org>
4416
4417         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4418         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4419         factorise code for paragraph output.
4420         * buffer.[Ch]:
4421         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4422         move functions.
4423
4424 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * text3.C (dispatch):
4427         * lyxfunc.C (dispatch):
4428         * cursor.C (dispatch):
4429         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4430
4431         * dispatchresult.h: make the dispatch_result_t ctor explicit
4432
4433 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4434
4435         * sgml.[Ch]:
4436         * buffer.C: small refactoring of docbook stuff
4437
4438 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4441         meaning.
4442
4443 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4444
4445         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4446         operator dispatch_result_t, and operators for == != and >=
4447
4448         * cursor.C (dispatch): adjust for operator dispatch_result_t
4449         removal. comment out call to update
4450
4451         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4452
4453 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4454
4455         * text3.C:
4456         * text2.C:
4457         * text.C:
4458         * lyxtext.h:
4459         * lyxfunc.C:
4460         * cursor.C:
4461         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4462         (dispatch):
4463
4464         * dispatchresult.h: new file, DispatchResult broken out of
4465         insets/insetbase.h
4466
4467         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4468
4469 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4470
4471         * text.C (rowBreakPoint): put a hack inside #if 0
4472
4473 2003-10-28  André Pönitz  <poenitz@gmx.net>
4474
4475         * lyxtext.h:
4476         * metricsinfo.C:
4477         * paragraph_funcs.C:
4478         * rowpainter.C:
4479         * text.C:
4480         * text2.C: general cleanup (lots of small stuff)
4481
4482 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * text2.C (cursorEnd): simple fix to the "end key goes to one
4485         before the end on last row" bug
4486
4487 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4488
4489         * text.C (backspace): fix the "zombie characters"
4490
4491 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4492
4493         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4494
4495 2003-10-27  André Pönitz  <poenitz@gmx.net>
4496
4497         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4498
4499         * factory.C: handle new InsetPagebreak, InsetLine
4500
4501         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4502         and move handling into new InsetPagebreak, InsetLine
4503
4504         * BufferView_pimpl.C:
4505         * LyXAction.C:
4506         * ParagraphParameters.C:
4507         * ParameterStruct.h:
4508         * lyxfunc.C:
4509         * lyxtext.h:
4510         * paragraph.C:
4511         * paragraph.h:
4512         * paragraph_funcs.C:
4513         * paragraph_pimpl.C:
4514         * rowpainter.C:
4515         * text.C:
4516         * text2.C:
4517         * text3.C: adjust
4518
4519 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4520
4521         * text.C:
4522         * lyxrow_funcs.[Ch]:
4523         * Bidi.C:
4524         * paragraph.C:
4525         * lyxtext.h:
4526         * rowpainter.C:
4527         * text2.C:
4528         * text3.C: remove lastPos uses in favour of Row::endpos
4529
4530 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4531
4532         * undo.C (performUndoOrRedo): fix two crashes by setting a
4533         cursor by hand and reordering some calls. Use bv->lockInset instead
4534         of inset->edit because the latter loses cursor information
4535
4536 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4537
4538         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4539         by Martin
4540         (rowBreakPoint): fix width. change point to point + 1.
4541         Add a missing check.
4542
4543 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4544
4545         * MenuBackend.C:
4546         * lyxfunc.C: fix (at least partly) the problems
4547         with the Nav menu and headers inside branch insets
4548         reported by Kayvan
4549
4550 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * paragraph.C (getChar): add strong asserts
4553
4554         * lyxrow_funcs.C (lastPos): remove hideous hack
4555
4556         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4557         (fill): adjust to that (avoid an infinite loop)
4558
4559 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4560
4561         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4562
4563 2003-10-23  André Pönitz  <poenitz@gmx.net>
4564
4565         * RowList_fwd.h: change list<> to vector<> to gain speed
4566         after suggestion from Alfredo
4567
4568 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4569
4570         * lyxtext.h: move the bidi stuff from here...
4571         * text.C: and here
4572         * text2.C: and here
4573         * Bidi.[Ch]: ... to here
4574
4575 2003-10-23  André Pönitz  <poenitz@gmx.net>
4576
4577         * lyxtext.h:
4578         * text.C (isLastRow, isFirstRow): new functions
4579
4580         * paragraph.h: new width cache member
4581
4582         * rowpainter.C: replace RowList::iterator with Row & where possible
4583
4584         * lyxfunc.C: replace several view()->text with a single call
4585
4586         * toc.C: fix 'unused' warning
4587
4588 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4589
4590         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4591         when woring with stream::pos_type
4592         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4593
4594 2003-10-22  André Pönitz  <poenitz@gmx.net>
4595
4596         * lyxtext.h:
4597         * text.C: use Row & instead of RowList::iterator
4598
4599         * lyxrow.h: rename end() to endpos()
4600
4601         * rowpainter.C:
4602         * text.C:
4603         * text2.C: adjust
4604
4605 2003-10-22  Angus Leeming  <leeming@lyx.org>
4606
4607         * buffer.[Ch] (fully_loaded): new member function, returning true
4608         only when the file has been loaded fully.
4609         Used to prevent the premature generation of previews and by the
4610         citation inset to prevent computation of the natbib-style label.
4611
4612         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4613         templates are all set up.
4614
4615         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4616
4617 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4618
4619         * text.C: fixed an "oops" in the "is a bit silly"
4620         bug fix
4621
4622 2003-10-21  André Pönitz  <poenitz@gmx.net>
4623
4624         * FuncStatus.[Ch]: small stuff, whitespace
4625
4626         * lyxfont.[Ch]: operator<<() for debug reasons
4627
4628         * lyxfunc.C:
4629         * lyxrow_funcs.C:
4630         * lyxtext.h: whitespace, spelling
4631
4632         * paragraph.C: naming of variables
4633
4634         * text.C:
4635         * text2.C: small stuff
4636
4637
4638 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4639
4640         * text.C: (1) finish off the inset display() work;
4641         (2) fix the "is a bit silly" bug (accessing char
4642         past end of par).
4643
4644 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4645
4646         * text.C: re-introduce display() for insets, fixing the
4647         various bugs (stretch of line above, math inset
4648         positioning, ...)
4649
4650 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4651
4652         * text.C (rightMargin): remove spurious semicolon
4653
4654         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4655         1415)
4656
4657 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4658
4659         * text3.C: fix one crash due to wrong cursor def
4660
4661 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4662
4663         * vc-backend.C (scanMaster): make the regex static
4664
4665         * LaTeX.C (scanAuxFile): make the regexs static
4666
4667         * text3.C (doInsertInset, dispatch, dispatch):
4668         * text2.C (cursorUp, cursorDown):
4669         * text.C (selectNextWordToSpellcheck):
4670         * BufferView_pimpl.C (dispatch):
4671         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4672
4673 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4674
4675         * lyxsocket.C: include <cerrno>
4676
4677 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4678
4679         * lyxfunc.C (dispatch): remove textcache stuff
4680
4681         * bufferlist.C (release): remove textcache stuff
4682         (closeAll): ditto
4683
4684         * TextCache.C: delete file
4685         * TextCache.h: delete file
4686
4687         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4688
4689         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4690         delete of the bv_->text.
4691         (resizeCurrentBuffer): remove texcache stuff
4692         (workAreaResize): ditto
4693
4694 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4697         action.
4698
4699 2003-10-16  André Pönitz  <poenitz@gmx.net>
4700
4701         * lyxrow.[Ch]:
4702         * paragraph.h:
4703         * rowpainter.C:
4704         * text.C:
4705         * text2.C:
4706         * text3.C: speed up by storing y positions per paragraph plus per-row
4707         offset instead of having a 'full' y position in the row.
4708
4709 2003-10-15  André Pönitz  <poenitz@gmx.net>
4710
4711         * iterators.[Ch]:
4712         * iterators.[Ch]:
4713         * undo.[Ch]: make undo aware of inner insets
4714
4715 2003-10-14  Angus Leeming  <leeming@lyx.org>
4716
4717         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4718         static member functions LyX::ref() and LyX::cref.
4719         (lastfiles): new accessor functions for the new lastfiles_ member var.
4720         (addLyXView, views_): add a new LyXView to the list of views_.
4721         (updateInset): loop over all LyXViews to call their own updateInset
4722         member function, returning a pointer to the Buffer owning the inset.
4723
4724         * BufferView_pimpl.C (loadLyXFile):
4725         * MenuBackend.C (expandLastfiles):
4726         * bufferlist.C (MenuWrite, QuitLyX):
4727         lastfiles is no longer a global variable.
4728         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4729
4730         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4731         static function. Access through LyX::cref().emergencyCleanup().
4732
4733 2003-10-14  André Pönitz  <poenitz@gmx.net>
4734
4735         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4736
4737         * undo.[Ch]: restoring part of 'undo in insets'
4738
4739         * Makefile.am:
4740         * undo_funcs.[Ch]: merge with undo.[Ch]
4741
4742         * tabular.C: small cleansing stuff
4743
4744 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4745
4746         * paragraph_funcs.C (readParToken): report unknown insets as error
4747         boxes. Use the outer paragraph as location (also for unknown
4748         tokens).
4749
4750         * factory.C (readInset): do not abort on reading an unknown inset.
4751         Eat it and return 0.
4752
4753 2003-10-13  Angus Leeming  <leeming@lyx.org>
4754
4755         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4756
4757         * lyxrc.C: displayTranslator is now a function,
4758         declared in GraphicsTypes.h.
4759
4760 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4761
4762         * format.C: new placeholder $$a to pass the socket address.
4763
4764         * bufferlist.[Ch]: new function getBufferFromTmp.
4765
4766         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4767           files in the temporary dir.
4768
4769 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4770
4771         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4772
4773         * Makefile.am: add lyxsocket.[Ch].
4774
4775         * lyx_main.C (error_handler): handle SIGPIPE.
4776
4777 2003-10-13  André Pönitz  <poenitz@gmx.net>
4778
4779         * BufferView_pimpl.C:
4780         * lyxtext.h:
4781         * text.C:
4782         * text2.C:
4783         * text3.C:
4784         * undo_funcs.[Ch]: use paroffset_type instead of
4785           ParagraphList::iterators to prevent multiple conversion
4786           (and get a more robust interface)
4787
4788 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4791         * lyxtext.h: ditto
4792         * text3.C (dispatch): ditto
4793
4794 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4797         move the onlyfile, use onlyfile instead of foundfile in a couple
4798         of places.
4799
4800         * DepTable.C (update): flush the error stream a bit more
4801
4802 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * lyxserver.C (callback): adjust
4805
4806         * lyxfunc.C (getStatus): add a missing brace in commented code
4807         (ensureBufferClean): reindent
4808         (dispatch): delete version taking a string
4809
4810 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * LaTeX.C (deplog): move found file handlig from here...
4813         (handleFoundFile): .. to new function here.
4814         (deplog): make sure to discover several files mentioned on the
4815         same log line.
4816
4817 2003-10-10  André Pönitz  <poenitz@gmx.net>
4818
4819         * lyxfunc.C:
4820         * lyxtext.h:
4821         * tabular.C:
4822         * text.C:
4823         * text2.C:
4824         * text3.C: fix some of the tabular crashes
4825
4826 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4827
4828         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4829
4830         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4831
4832 2003-10-09  André Pönitz  <poenitz@gmx.net>
4833
4834         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4835
4836         * BufferView.C:
4837         * BufferView_pimpl.C:
4838         * bufferview_funcs.C:
4839         * lyx_cb.C:
4840         * lyxcursor.C:
4841         * lyxfind.C:
4842         * lyxfunc.C:
4843         * lyxtext.h:
4844         * text.C:
4845         * text2.C:
4846         * text3.C:
4847         * text_funcs.[Ch]:
4848         * textcursor.[Ch]:
4849         * undo_funcs.C: adjust
4850
4851 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4852
4853         * text2.C (incrementItemDepth): new function, use a backtracking
4854         algorithm to discover the correct item depth.
4855         (resetEnumCounterIfNeeded): new function, use a backtracking
4856         algorithm to discover if counter reset is needed.
4857         (setCounter): use them. Simplify a bit. Add different labels for
4858         different item depths for itemize.
4859
4860         * paragraph.C (Paragraph): remove initialization of enumdepth
4861         (operator=): ditto
4862
4863         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4864         enumerate and itemize. Change the type of itemdepth to signed char.
4865
4866 2003-10-08  André Pönitz  <poenitz@gmx.net>
4867
4868         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4869           thing assignable.
4870         * text.C:
4871         * text2.C: adjust
4872
4873         * tabular.[Ch]: fix crash after 'row-insert'
4874
4875 2003-10-08  Angus Leeming  <leeming@lyx.org>
4876
4877         Fix doxygen warnings.
4878
4879         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4880         Remove CutAndPaste:: prefix from header file declaration.
4881
4882         * LColor.h (fill): remove LColor:: prefix from declaration.
4883
4884         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4885         use lyx::depth_type rather than Paragraph::depth_type so that
4886         header file and .C file match.
4887
4888         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4889
4890         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4891         * aspell.C: \file aspell_local.C -> \file aspell.C
4892         * gettext.C: \file gettext.C -> \file src/gettext.C
4893         * gettext.h: \file gettext.h -> \file src/gettext.h
4894         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4895         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4896         * text.C: \file text.C -> \file src/text.C
4897
4898         * toc.C: move comment so that doxygen is not confused.
4899
4900 2003-10-07  Angus Leeming  <leeming@lyx.org>
4901
4902         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4903
4904 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4905
4906         * aspell.C:
4907         * aspell_local.h: add forgotten std::string's.
4908
4909 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4910
4911         * LaTeXFeatures.C:
4912         * LyXAction.C:
4913         * factory.C:
4914         * lfuns.h:
4915         * lyxfunc.C:
4916         * text3.C: The Box patch. Fancybox support, minipage, parbox
4917
4918 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4919
4920         * CutAndPaste.h:
4921         * DepTable.h:
4922         * FloatList.h:
4923         * LaTeXFeatures.h:
4924         * ParagraphParameters.h:
4925         * TextCache.h:
4926         * Thesaurus.h:
4927         * bufferlist.h:
4928         * exporter.h:
4929         * importer.h:
4930         * lastfiles.h:
4931         * lyxfind.h:
4932         * lyxfont.h:
4933         * lyxlex.h:
4934         * lyxtextclasslist.h:
4935         * messages.h:
4936         * paragraph.h:
4937         * paragraph_pimpl.C:
4938         * textcursor.h: add <string> and other small fixes to make Lars'
4939         std::string patch compile with STLport.
4940
4941 2003-10-06  Angus Leeming  <leeming@lyx.org>
4942
4943         * LColor.h: Add missing #include <string>.
4944
4945 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4946
4947         * All most all file in all subdirs: Make <string> be the prefered
4948         way of getting to std::string, add using declarations.
4949
4950 2003-10-06  André Pönitz  <poenitz@gmx.net>
4951
4952         * metricsinfo.C: initialize LyXFont before changing attribute.
4953         (fixes the 'math in \emph is upright' bug)
4954
4955 2003-10-06  André Pönitz  <poenitz@gmx.net>
4956
4957         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4958
4959 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4960
4961         * graph.C:
4962         * paragraph_pimpl.C: Small fixes to build using STLport
4963
4964 2003-10-02  André Pönitz  <poenitz@gmx.net>
4965
4966         * lyxfunc.C:
4967         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4968
4969 2003-10-01  André Pönitz  <poenitz@gmx.net>
4970
4971         * factory.C: assert early
4972
4973 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4974
4975         * lyx_main.C: remove the global debug object
4976
4977         * debug.h: adjust for new debugstream
4978
4979         * debug.C: adjust for new debugstream and keep the global debug
4980         object here.
4981
4982 2003-09-22  Angus Leeming  <leeming@lyx.org>
4983
4984         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4985         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4986         an incomplete class LyXFont.
4987
4988 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4989
4990         * factory.C: bug fix in branches
4991
4992 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * lyxfunc.C (processKeySym): adjust
4995         (dispatch): adjust
4996         (dispatch): change arg name from ev to func, adjust
4997         (sendDispatchMessage): ditto
4998
4999         * lyx_main.C (defaultKeyBindings): adjust keybindings
5000         (deadKeyBindings): ditto
5001
5002         * kbsequence.C (addkey): return a FuncRequest
5003
5004         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5005
5006         * kbmap.C (bind): take a FuncRequest as arg, adjust
5007         (read): adjust
5008         (lookup): adjust
5009         (defkey): change to take a FuncRequest as arg, adjust
5010         (findbinding): take a FuncRequest as arg, adjust.
5011
5012         * funcrequest.h (operator=): added
5013
5014         * funcrequest.C (FuncRequest): default kb_action changed from
5015         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5016
5017         * buffer.C (dispatch): simplify
5018         (dispatch): adjust to take a FuncRequest as arg, adjust
5019
5020         * boost.C (assertion_failed): change assertion message slightly
5021
5022         * ToolbarBackend.C (read): simplify
5023
5024         * MenuBackend.C (binding): adjust call to findbinding, add a
5025         message if no binding is found.
5026         (read): simplify
5027         (expandToc): correct by adding a empty FuncRequest
5028
5029         * LyXAction.C: include <boost/assert.hpp>
5030         (isPseudoAction): delete function
5031         (LookupFunc): change name to...
5032         (lookupFunc): this. change return type to FuncRequest.
5033         (getActionName): take kb_action as arg, simplify
5034         (funcHasFlag): add an assert, simplify.
5035
5036 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * toc.C (action): return a FuncRequest, simplify
5039
5040         * lyxfunc.C (processKeySym): adjust
5041         (getStatus): delete version that takes an int.
5042         (getStatus): adjust
5043         (dispatch): delete version that takes action as int
5044         (dispatch): adjust
5045         (sendDispatchMessage): simplify and adjust
5046
5047         * funcrequest.C (getArg): take unsigned int as arg
5048
5049         * ToolbarBackend.C (read): adjust
5050         (add): delete version that takes func as a string.
5051         (getIton): take a FuncRequest as arg
5052
5053         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5054         action.
5055
5056         * MenuBackend.C (MenuItem): add a new construct that only takes a
5057         Kind, simplify the constructor use for submenus.
5058         (add): adjust
5059         (expandLastfiles): adjust
5060         (expandDocuments): adjust
5061         (expandFormats): adjust
5062         (expandFloatListInsert): adjust
5063         (expandFloatInsert): adjust
5064         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5065
5066         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5067         Remove class variables lyx_pseudo_map and lyx_arg_map
5068
5069         * LyXAction.C (searchActionArg): delete function
5070         (getPseudoAction): delete function
5071         (retrieveActionArg): delete function
5072         (LookupFunc): make it return kb_action, simplify.
5073         (getActionName): simplify
5074
5075         * factory.C (createInset): fix new bug
5076
5077 2003-09-19  Angus Leeming  <leeming@lyx.org>
5078
5079         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5080         masterFilename_ parameter in the include inset.
5081
5082         * factory.C (createInset): changes due to the changes to InsetInclude.
5083
5084 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5085
5086         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5087
5088 2003-09-18  Angus Leeming  <leeming@lyx.org>
5089
5090         * buffer.C:
5091         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5092         Inset::fillWithBibKeys.
5093         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5094
5095 2003-09-18  Angus Leeming  <leeming@lyx.org>
5096
5097         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5098         variables.
5099         (ctor): pass and store a 'Buffer const &'
5100         (buffer): new member function.
5101
5102         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5103         '*this' to the LaTeXFeatures ctor.
5104
5105 2003-09-18  Angus Leeming  <leeming@lyx.org>
5106
5107         * LColor.h:
5108         * lyxfont.C:
5109         * lyxfont.h:
5110         * lyxtext.h:
5111         * text.C: rename EnumLColor as LColor_color.
5112
5113 2003-09-18  Angus Leeming  <leeming@lyx.org>
5114
5115         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5116         remove #include "insets/insetbase.h" from cursor.h.
5117
5118 2003-09-18  Angus Leeming  <leeming@lyx.org>
5119
5120         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5121         InsetOld_code to remove #include "inset.h".
5122
5123         * iterators.C: add #include "insets/inset.h"
5124
5125 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5126
5127         * BufferView.C: remove more locking stuff that apparently doesn't
5128         do anything sensible.
5129
5130 2003-09-16  André Pönitz  <poenitz@gmx.net>
5131
5132         * paragraph.[Ch]:
5133         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5134           performance boost.
5135
5136 2003-09-16  Angus Leeming  <leeming@lyx.org>
5137
5138         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5139
5140         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5141         arg/return type.
5142
5143         * paragraph.h: remove #include "lyxfont.h". Forward declare
5144         LyXFont_size.
5145
5146 2003-09-16  Angus Leeming  <leeming@lyx.org>
5147
5148         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5149         of support/textutils.h.
5150         (isWord): move the contents of support/textutils.h's IsWordChar here.
5151
5152         * buffer.C:
5153         * lyxfind.C:
5154         * rowpainter.C:
5155         * text.C:
5156         * text2.C: add #include "paragraph.h".
5157
5158         * rowpainter.C:
5159         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5160
5161 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5162
5163         * main.C:
5164         * lyx_main.C:
5165         * lyx_cb.C:
5166         * buffer.C:
5167         * LaTeX.C: use namespace alias for lyx::support::os
5168
5169 2003-09-16  Angus Leeming  <leeming@lyx.org>
5170
5171         * bufferparams.C:
5172         * bufferview_funcs.C:
5173         * factory.C:
5174         * lyxfunc.C:
5175         * paragraph_pimpl.C:
5176         * rowpainter.C:
5177         * text.C: add #include "LColor.h".
5178
5179 2003-09-16  Angus Leeming  <leeming@lyx.org>
5180
5181         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5182         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5183         return LyXFont &.
5184         Store the FontBits::color variable as an int rather than as an
5185         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5186         file.
5187
5188         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5189         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5190         string calls together.
5191
5192         * lyxrc.C: add #include "LColor.h".
5193
5194 2003-09-15  Angus Leeming  <leeming@lyx.org>
5195
5196         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5197         a cow_ptr.
5198
5199 2003-09-15  Angus Leeming  <leeming@lyx.org>
5200
5201         * LColor.h: add an EnumLColor wrapper for LColor::color.
5202
5203         * lyxfont.[Ch] (color, setColor, realColor):
5204         * lyxtext.h, text.C (backgroundColor):
5205         pass EnumLColor args to/from the functions, rather than LColor::color
5206         ones.
5207
5208         * lyxfont.h:
5209         * lyxtext.h: forward declare EnumLColor.
5210
5211         * lyx_main.C: add #include "LColor.h".
5212
5213 2003-09-15  Angus Leeming  <leeming@lyx.org>
5214
5215         * .cvsignore: add lyx-gtk.
5216
5217 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * Chktex.C
5220         * LaTeX.C
5221         * LaTeXFeatures.C
5222         * ParagraphParameters.C
5223         * Spacing.C
5224         * buffer.C
5225         * bufferparams.C
5226         * bufferview_funcs.C
5227         * chset.C
5228         * counters.C
5229         * funcrequest.C
5230         * lyxfont.C
5231         * lyxgluelength.C
5232         * lyxlength.C
5233         * paragraph.C
5234         * paragraph_funcs.C
5235         * text3.C
5236         * vc-backend.C: remove usage of STRCONV
5237
5238 2003-09-15  Angus Leeming  <leeming@lyx.org>
5239
5240         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5241         explicitly define the color passed to the painter.
5242
5243 2003-09-15  Angus Leeming  <leeming@lyx.org>
5244
5245         * bufferparams.C (BufferParams): reorder member initializers to avoid
5246         compiler warning.
5247
5248 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5249
5250         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5251         * text.C (updateRowPositions): remove an unusual nop
5252
5253 2003-09-12  André Pönitz  <poenitz@gmx.net>
5254
5255         * BufferView_pimpl.C:
5256         * Bullet.C:
5257         * layout.h:
5258         * lyxfunc.C:
5259         * lyxlayout.[Ch]:
5260         * lyxtextclass.C:
5261         * rowpainter.C:
5262         * text.C:
5263         * text2.C:
5264         * Counters.[Ch]: finish the 'automatic counters' job
5265
5266 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5267
5268         * aspell.C: include <boost/assert.cpp> (compile fix)
5269
5270 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5271
5272         * boost.C (assertion_failed): use lyx::support::abort instead of
5273         assert.
5274
5275 2003-09-10  Angus Leeming  <leeming@lyx.org>
5276
5277         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5278         with their _fwd progeny.
5279
5280 2003-09-09  Angus Leeming  <leeming@lyx.org>
5281
5282         134 files throughtout the source tree: replace 'using namespace abc;'
5283         directives with the appropriate 'using abc::xyz;' declarations.
5284
5285 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5286
5287         * boost.C (emergencyCleanup): moved here from LAssert.c
5288         (assertion_failed): new function, called by BOOST_ASSERT
5289
5290         * several files: change Assert to BOOST_ASSERT
5291
5292 2003-09-09  Angus Leeming  <leeming@lyx.org>
5293
5294         * buffer.[Ch]: Add an Impl class and move Buffer's member
5295         variables into it. As a result move several header files out of
5296         buffer.h.
5297
5298         Add header files to lots of .C files all over the tree as a result.
5299
5300 2003-09-09  Angus Leeming  <leeming@lyx.org>
5301
5302         * buffer.[Ch]: make Buffer's member variables private. Add
5303         accessor functions.
5304
5305         Lots of changes all over the tree as a result.
5306
5307 2003-09-08  Angus Leeming  <leeming@lyx.org>
5308
5309         * graph.C: #include <config.h>.
5310
5311 2003-09-08  Angus Leeming  <leeming@lyx.org>
5312
5313         * BranchList.C:
5314         * BufferView.C:
5315         * BufferView_pimpl.C:
5316         * CutAndPaste.C:
5317         * DepTable.C:
5318         * LaTeX.C:
5319         * LaTeXFeatures.C:
5320         * LyXAction.C:
5321         * MenuBackend.C:
5322         * TextCache.C:
5323         * aspell.C:
5324         * buffer.C:
5325         * bufferlist.C:
5326         * changes.C:
5327         * chset.C:
5328         * converter.C:
5329         * counters.C:
5330         * debug.C:
5331         * graph.C:
5332         * ispell.C:
5333         * lyx_cb.C:
5334         * lyxfind.C:
5335         * lyxfunc.C:
5336         * lyxlex_pimpl.C:
5337         * lyxrc.C:
5338         * lyxrow.C:
5339         * paragraph.C:
5340         * rowpainter.C:
5341         * texrow.C:
5342         * text.C:
5343         * text2.C:
5344         * toc.C: remove redundant using directives.
5345
5346 2003-09-07  Angus Leeming  <leeming@lyx.org>
5347
5348         * LaTeXFeatures.h: remove #include "support/types.h".
5349         * ToolbarBackend.h: remove #include <algorithm>.
5350         * changes.h: remove #include <ctime>.
5351         * debug.h: remove #include <iosfwd>.
5352         * graph.h: remove #include "support/std_string.h".
5353         * lyx_main.h: remove #include <csignal>.
5354         * lyxlex_pimpl.h: remove #include <fstream>.
5355         * sgml.h: remove #include <algorithm>, <utility>.
5356         * toc.h: remove #include "support/std_ostream.h".
5357         Add #include <iosfwd>.
5358
5359 2003-09-07  Angus Leeming  <leeming@lyx.org>
5360
5361         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5362
5363         * converter.h: forward declare LatexRunParams.
5364         * encoding.h: remove #include "lyxrc.h".
5365         * lyxtext.h: remove #include "LColor.h".
5366         * lyxtextclass.h: remove #include "support/types.h".
5367         * trans.h: remove #include "tex-accent.h".
5368         * trans_mgr.h: remove #include "tex-accent.h".
5369         * insets/inset.h: remove #include "support/types.h", <vector>.
5370         * insets/insetcollapsable.h: remove #include "LColor.h".
5371         * insets/insetinclude.h: remove #include "dimension.h".
5372         * insets/insetlatexaccent.h: remove #include "dimension.h".
5373         * insets/insetoptarg.h:: remove #include "insettext.h".
5374         * insets/insettext.h: remove #include "dimension.h",
5375         <boost/shared_ptr.hpp>
5376
5377         * insets/renderers.h: add #include "dimension.h".
5378         * insets/updatableinset.h: add #include "support/types.h".
5379
5380         * many .C files: Associated changes.
5381
5382 2003-09-06  Angus Leeming  <leeming@lyx.org>
5383
5384         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5385         one, inside testInvariant.
5386
5387         * PrinterParams.C: new file.
5388         * PrinterParams.[Ch]: move the function bodies out of line.
5389
5390 2003-09-06  Angus Leeming  <leeming@lyx.org>
5391
5392         * ParagraphParameters.h: forward declare ParameterStruct rather than
5393         including its header file.
5394         (depth): moved out-of-line.
5395
5396 2003-09-06  Angus Leeming  <leeming@lyx.org>
5397
5398         * BufferView_pimpl.h:
5399         * kbmap.h:
5400         * kbsequence.h:
5401         * lyxfunc.h: forward declare LyXKeySym rather than
5402         #include "frontends/LyXKeySym.h".
5403
5404         * BufferView_pimpl.C:
5405         * kbmap.C:
5406         * kbsequence.C:
5407         * lyxfunc.C: associated changes.
5408
5409 2003-09-06  Angus Leeming  <leeming@lyx.org>
5410
5411         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5412         As a result, can remove the #include "insets/inset.h" from BufferView.h
5413
5414 2003-09-06  Angus Leeming  <leeming@lyx.org>
5415
5416         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5417         As a result, can remove the #include "insets/inset.h" from BufferView.h
5418
5419 2003-09-06  Angus Leeming  <leeming@lyx.org>
5420
5421         * buffer_funcs.C:
5422         * buffer.h:
5423         * bufferlist.C:
5424         * BufferView.C:
5425         * bufferview_funcs.C:
5426         * BufferView_pimpl.C:
5427         * CutAndPaste.C:
5428         * lyx_cb.C:
5429         * lyxfunc.C:
5430         * paragraph.h:
5431         * ParagraphParameters.C:
5432         * tabular.C:
5433         * text3.C:
5434         * toc.C:
5435         * undo_funcs.C:
5436         * frontends/controllers/ControlDocument.C:
5437         * insets/insetcaption.C: rearrange the #includes into some sort of
5438         coherent order.
5439
5440         * buffer.h: remove #includes ErrorList.h, undo.h
5441
5442 2003-09-06  Angus Leeming  <leeming@lyx.org>
5443
5444         * support/types.h: add a 'depth_type' typedef, used to store the
5445         nesting depth of a paragraph.
5446
5447         * paragraph.h:
5448         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5449         defining explicitly.
5450
5451         * buffer.h:
5452         * paragraph_funcs.h:
5453         * ParagraphParameters.h:
5454         * sgml.h: use lyx::depth_type rather than Paragraph or
5455         ParameterStruct's depth_type.
5456
5457         * buffer.h
5458         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5459
5460         * BufferView.C:
5461         * BufferView_pimpl.C:
5462         * CutAndPaste.C:
5463         * ParagraphParameters.C:
5464         * buffer_funcs.C:
5465         * bufferlist.C:
5466         * bufferview_funcs.C:
5467         * lyx_cb.C:
5468         * lyxfunc.C:
5469         * tabular.C:
5470         * text3.C:
5471         * toc.C:
5472         * undo_funcs.C:
5473         * frontends/LyXView.C:
5474         * frontends/controllers/ControlDocument.C:
5475         * frontends/controllers/ControlErrorList.C:
5476         * insets/insetbibitem.C:
5477         * insets/insetbranch.C:
5478         * insets/insetcaption.C:
5479         * insets/insetcollapsable.C:
5480         * insets/insetenv.C:
5481         * insets/insetert.C:
5482         * insets/insetfloat.C:
5483         * insets/insetfoot.C:
5484         * insets/insetfootlike.C:
5485         * insets/insetnewline.C:
5486         * insets/insetquotes.C:
5487         * insets/insettabular.C:
5488         * insets/insettext.C:
5489         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5490
5491         * frontends/controllers/ControlChanges.C: #include "changes.h".
5492
5493 2003-09-06  Angus Leeming  <leeming@lyx.org>
5494
5495         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5496         than #including paragraph.h.
5497
5498         * ParagraphList.h:
5499         * RowList.h: deleted. Superfluous.
5500
5501         * CutAndPaste.h:
5502         * iterators.h:
5503         * lyxcursor.h:
5504         * lyxtext.h:
5505         * text_funcs.h:
5506         * undo.h:
5507         * undo_funcs.h:
5508         * insets/inset.h:
5509         * insets/insettext.h: use ParagraphList_fwd.h rather than
5510         ParagraphList.h.
5511
5512         * paragraph.h: don't forward declare ParagraphList.
5513
5514         * buffer.h:
5515         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5516         rather than ParagraphList.h. paragraph.h is still needed for the
5517         Paragraph::depth_type parameters.
5518
5519         * textcursor.h: enable it to compile stand-alone in light of the
5520         above changes.
5521
5522         * bufferview_funcs.C:
5523         * iterators.C:
5524         * lyxfunc.C:
5525         * lyxrow_funcs.C:
5526         * paragraph.C:
5527         * rowpainter.C:
5528         * text.C:
5529         * text2.C:
5530         * text3.C:
5531         * text_funcs.C:
5532         * textcursor.C:
5533         * undo.C:
5534         * frontends/controllers/ControlParagraph.C:
5535         * frontends/controllers/ControlTabular.C:
5536         * insets/insetmarginal.C:
5537         * insets/insetminipage.C:
5538         * insets/insetnote.C:
5539         * insets/insetoptarg.C: add header files needed to compile again.
5540
5541 2003-09-06  Angus Leeming  <leeming@lyx.org>
5542
5543         * RowList_fwd.h: new file, forward-declaring Row rather than
5544         #including lyxrow.h.
5545
5546         * lyxrow_funcs.h:
5547         * lyxtext.h:
5548         * paragraph.h:
5549         * insets/insettext.h: use it instead of RowList.h
5550
5551         * bufferview_funcs.C:
5552         * lyxfunc.C:
5553         * lyxrow_funcs.C:
5554         * paragraph.C:
5555         * rowpainter.C:
5556         * text.C:
5557         * text2.C:
5558         * text3.C: #include "RowList.h".
5559
5560 2003-09-05  Angus Leeming  <leeming@lyx.org>
5561
5562         * factory.C (createInset):
5563         * vspace.C (c-tor): replace sscanf call with an istringstream.
5564         * ispell.C: re-add missing HP/UX headers.
5565         * lyxserver.C: re-add missing  os2 headers.
5566
5567 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5568
5569         * BranchList.C:
5570         * graph.C:
5571         * ispell.C:
5572         * lastfiles.C:
5573         * lyx_cb.C:
5574         * lyxserver.C:
5575         * texrow.C:
5576         * text3.C: re-add missing system headers, needed for 2.95.2.
5577
5578 2003-09-05  Angus Leeming  <leeming@lyx.org>
5579
5580         Changes most place everywhere due to the removal of using directives
5581         from support/std_sstream.h.
5582
5583 2003-09-05  Angus Leeming  <leeming@lyx.org>
5584
5585         Replace LString.h with support/std_string.h,
5586         Lsstream.h with support/std_sstream.h,
5587         support/LIstream.h with support/std_istream.h,
5588         support/LOstream.h with support/std_ostream.h.
5589
5590         Changes resulting throughout the tree.
5591
5592 2003-09-05  Angus Leeming  <leeming@lyx.org>
5593
5594         * sgml.h: ensure that the header file can be compiled stand-alone.
5595         * *.C: strip out redundant #includes. (320 in total.)
5596
5597 2003-09-04  Angus Leeming  <leeming@lyx.org>
5598
5599         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5600         here (from getPackages).
5601
5602         * debug.[Ch]: add a new EXTERNAL tag.
5603
5604 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5605
5606         * text2.C (cursorEnd): simplify
5607         (setCursor): adjust
5608         (getColumnNearX): adjust
5609
5610         * text.C (computeBidiTables): adjust
5611         (fill): adjust
5612
5613         * rowpainter.C (paintChars): adjust
5614         (paintSelection): adjust
5615         (paintChangeBar): adjust
5616         (paintText): adjust
5617
5618         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5619         lastPos instead.
5620         (numberOfSeparators): adjust
5621
5622 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5623
5624         * LyXAction.C:
5625         * box.[Ch]:
5626         * lfuns.h:
5627         * lyxfunc.C:
5628         * text3.C: Restricts the mouse click functionality
5629         of insets like bibtex, include, toc and floatlist to the visible
5630         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5631         up the dialogs. Cursor has to be in front of the inset (i.e.
5632         start of row) for this to function.
5633
5634 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5635
5636         * bufferview_funcs.C (currentState): output row information
5637
5638 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5639
5640         * bufferview_funcs.C (currentState): output paragraph position
5641
5642 2003-09-04  Angus Leeming  <leeming@lyx.org>
5643
5644         * FloatList.h: move out #include "Floating.h".
5645         * LaTeX.h: move out #include "DepTable.h".
5646         * LyXAction.h: move out #include "funcrequest.h".
5647         * buffer.h: move out #include "author.h", "iterators.h".
5648         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5649         * lyx_main.h: move out #include "errorlist.h".
5650         * lyxfunc.h: move out #include "FuncStatus.h".
5651         * lyxtext: move out #include "lyxcursor.h".
5652         * paragraph_pimpl.h: move out #include "counters.h".
5653
5654 2003-09-03  Angus Leeming  <leeming@lyx.org>
5655
5656         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5657         preamble_snippets list, enabling us to add snippets to the preamble
5658         only if the snippet was not there already.
5659
5660 2003-09-04  Angus Leeming  <leeming@lyx.org>
5661
5662         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5663
5664 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5667         update
5668
5669 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5670
5671         * BranchList.C: point fix, earlier forgotten
5672
5673 2003-09-02  Angus Leeming  <leeming@lyx.org>
5674
5675         * box.C (contains): renamed from 'contained' after a fantastic
5676         amount of hot air.
5677
5678 2003-09-02  John Levon  <levon@movementarian.org>
5679
5680         * BufferView.C:
5681         * lyxcursor.h:
5682         * lyxcursor.C:
5683         * lyxfunc.C:
5684         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5685
5686 2003-09-02  John Levon  <levon@movementarian.org>
5687
5688         * text2.C: simplification of cursorEnd(), including partial
5689         fix for bug 1376
5690
5691 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5692
5693         * buffer.C (readFile): add a space
5694
5695 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5696
5697         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5698
5699 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * buffer.C (readFile): new function, take a filename and a
5702         ParagraphList::iterator
5703         (readFile): adjust
5704         (readFile): adjust, make it private. don't use setStream, make
5705         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5706         always contain the filename.
5707
5708         * BufferView.C (insertLyXFile): simplify and make it work for
5709         gzipped files.
5710
5711 2003-08-30  John Levon  <levon@movementarian.org>
5712
5713         * Makefile.am: fix dist (from Kayvan)
5714
5715 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5716
5717         * most files: change to use const Buffer refs
5718
5719 2003-08-27  André Pönitz  <poenitz@gmx.net>
5720
5721         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5722         on top of ownerPar().
5723
5724 2003-08-27  John Levon  <levon@movementarian.org>
5725
5726         * funcrequest.C: properly initialise POD members
5727
5728 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5729
5730         * lyxtext.h (top_y): move top_y from here
5731         * text.C:
5732         * text2.C:
5733         * text3.C:
5734         * BufferView.[Ch]:
5735         * BufferView_pimpl.[Ch]: to here
5736         * frontends/screen.C:
5737         * insets/insettabular.C:
5738         * insets/insettext.C: adjust
5739         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5740
5741 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5742
5743         * BufferView.[Ch]:
5744         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5745
5746 2003-08-26  André Pönitz  <poenitz@gmx.net>
5747
5748         * paragraph_func.[Ch] (outerPar): new function
5749
5750         * paragraph.C:
5751         * paragraph_funcs.C:
5752         * paragraph_funcs.h:
5753         * paragraph_pimpl.C:
5754         * text2.C: remove Inset::par_owner
5755
5756 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5757
5758         * lyxrow_funcs.C:
5759         * lyxtext.h:
5760         * text.C:
5761         * text2.C: eliminates the needFullRow/display() stuff
5762         altogether, putting the logic in metrics/draw in the insets.
5763
5764 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5765
5766         * text2.C (redoParagraphInternal, redoParagraphs):
5767         * text.C (redoParagraph): add a call to updateRowPositions at the
5768         end of each 'metrics-like' call. Remove all others.
5769         (getRow): remove the 'y-computing' version.
5770         (getRowNearY): do not compute nor return the real y. Solve the
5771         'y < 0' problem and simplify.
5772
5773 2003-08-22  Angus Leeming  <leeming@lyx.org>
5774
5775         * *.[Ch]: clean-up of licence and author blurbs.
5776         Also move config.h out of a few .h files and into a few .C files.
5777
5778 2003-08-22  André Pönitz  <poenitz@gmx.net>
5779
5780         * lyxrow.[Ch]: add x_ and *fill_ members
5781
5782         * lyxtext.h:
5783         * text.C:
5784         * rowpainter.C:
5785         * text2.C: adjust/remove prepareToPrint() calls
5786
5787 2003-08-22  André Pönitz  <poenitz@gmx.net>
5788
5789         * lyxrow.[Ch]: add  end_ member
5790
5791         * lyxrow_funcs.C: use LyXRow::end_
5792
5793         * lyxtext.h (singleWidth): add LyXFont parameter
5794
5795         * rowpainter.C:
5796         * text2.C: adjust LyXText::singleWidth() calls
5797
5798         * text.C (redoParagraph): simplify row breaking logic
5799
5800
5801 2003-08-19  André Pönitz  <poenitz@gmx.net>
5802
5803         * funcrequest.C: initialize button_ member
5804
5805         * text3.C:
5806         * rowpainter.[Ch]: interface consolidation
5807
5808 2003-08-18  André Pönitz  <poenitz@gmx.net>
5809
5810         * BufferView.C:
5811         * BufferView_pimpl.C:
5812         * lyxfind.C:
5813         * paragraph_funcs.C:
5814         * rowpainter.C:
5815         * text3.C: remove LyXScreen::draw() and fitCursor calls
5816
5817         * BranchList.h: remove spurious semicolons
5818
5819         * MenuBackend.C: fix branchlist related crash
5820
5821 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5822
5823         * BranchList.[Ch]:
5824         * InsetList.[Ch]:
5825         * LColor.[Ch]:
5826         * LyXAction.C:
5827         * Makefile.am:
5828         * MenuBackend.[Ch]:
5829         * bufferparams.[Ch]:
5830         * factory.C:
5831         * lfuns.h:
5832         * lyxfunc.C:
5833         * text3.C: implements the 'branch inset'
5834         idea. This allows the output of various versions of a document
5835         from a single source version, selectively outputing or suppressing
5836         output of parts of the text.
5837         This implementation contains a 'branch list editor' in a separate
5838         tab of the document settings dialog. Branches are user definable
5839         and have a "display colour" to distinguish them on-screen.
5840
5841         ColorHandler was somewhat cleaned up.
5842         (1) make possible a dynamically growing LColor list by allowing
5843         the graphic context cache to grow along (vector);
5844         (2) eliminate an IMHO unnecessary step in colour allocation.
5845
5846 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5847
5848         * BufferView_pimpl.C: compile fix
5849
5850 2003-08-15  André Pönitz  <poenitz@gmx.net>
5851
5852         * rowpainter.C: remove extra metrics calls
5853
5854         * lyxtext.h: merge the two constructors into a single one,
5855           pass reference to owner's par list
5856
5857         * BufferView_pimpl.C:
5858         * text.C:
5859         * text2.C: adjust
5860
5861 2003-08-15  André Pönitz  <poenitz@gmx.net>
5862
5863         * lyxrow_funcs.[Ch]:
5864         * lyxtext.h:
5865         * paragraph.h:
5866         * paragraph_funcs.C:
5867         * rowpainter.C:
5868         * text.C:
5869         * text2.C:
5870         * text3.C:
5871         * text_funcs.C: split LyXText::rowlist_ into individual
5872         Paragraph::rows_ chunks
5873
5874         * BufferView.[Ch]:
5875         * BufferView_pimpl.[Ch]:
5876         * lyxfind.C:
5877         * lyxtext.h:
5878         * text3.C: remove toggleSelection()
5879
5880 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5881
5882         * bufferlist.C: beautify two alerts (shorter text of buttons)
5883         * buffer.C: Remove redundant ' ' from message
5884         * tabular.h:
5885         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5886         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5887         rename VALIGN_CENTER to VALIGN_MIDDLE
5888
5889 2003-08-11  André Pönitz  <poenitz@gmx.net>
5890
5891         * lyxtext.h (getPar):
5892         * text.C: new function
5893
5894 2003-08-11  André Pönitz  <poenitz@gmx.net>
5895
5896         * Makefile.am:
5897         * tracer.[Ch]: remove unneeded files
5898
5899         * InsetList.[Ch]: remove resizeInsetsLyXText()
5900
5901         * lyxtext.h:
5902         * text.C:
5903         * text2.C:
5904         * text3.C: merge insertParagraphs() and appendParagraph()
5905         remove breakAgain(), update()
5906
5907         * BufferView_pimpl.[Ch]:
5908         * bufferview_funcs.[Ch]:
5909         * lyxfunc.C:
5910         * paragraph.[Ch]:
5911         * rowpainter.C:
5912         * tabular.C: adjust after text & InsetList changes.
5913
5914 2003-08-08  André Pönitz  <poenitz@gmx.net>
5915
5916         * text.C (insertChar, backspace): replace rowlist fiddling
5917         with rebreak of full par
5918
5919         * lyxtext.h:
5920         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5921         checkParagraph, updateInset): removed
5922
5923 2003-08-07  André Pönitz  <poenitz@gmx.net>
5924
5925         * paragraph.C:
5926         * text3.C: merge some LFUN handlers, remove dead code
5927
5928 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5929
5930         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5931
5932 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5933
5934         * text2.C (DEPM): fix part of bug 1255 and 1256
5935
5936 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5937
5938         * BufferView_pimpl.C (workAreaDispatch): change to use
5939         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5940         that are no mouse related.
5941
5942 2003-08-05  André Pönitz  <poenitz@gmx.net>
5943
5944         * BufferView.[Ch]:
5945         * BufferView_pimpl.[Ch]:
5946         * bufferview_funcs.C:
5947         * text2.C:
5948         * text3.C: rip out "deep update"
5949
5950         * textcursor.[Ch] (last_sel_cursor): remove unused member
5951
5952 2003-08-04  André Pönitz  <poenitz@gmx.net>
5953
5954         * BufferView.[Ch]:
5955         * BufferView_pimpl.[Ch]:
5956         * ParagraphParameters.C:
5957         * bufferview_funcs.C:
5958         * lyx_cb.C:
5959         * lyxfind.C:
5960         * lyxfunc.C:
5961         * text.C:
5962         * text2.C:
5963         * text3.C: replace "complicated" BufferView::update(...) calls with
5964         simpler ones.
5965
5966         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5967
5968 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5969
5970         * Makefile.am (lyx_SOURCES): add paper.h
5971
5972 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5973
5974         * Makefile.am: move things around so that both lyx-qt and
5975         lyx-xforms can be built (according to --with-frontend). Then lyx
5976         is a symbolic link to lyx-[firstfrontend]
5977
5978 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5979
5980         * Always use std::endl with lyxerr
5981
5982 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5983
5984         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5985
5986 2003-08-01  André Pönitz  <poenitz@gmx.net>
5987
5988         * BufferView.[Ch]:
5989         * BufferView_pimpl.[Ch]:
5990         * lyxfunc.C:
5991         * text3.C: merge BufferView::repaint() and BufferView::update()
5992
5993 2003-08-01  José Matos  <jamatos@lyx.org>
5994
5995         * buffer.[Ch]: file_format is no longer a buffer data element.
5996
5997 2003-08-01  André Pönitz  <poenitz@gmx.net>
5998
5999         * BufferView.C:
6000         * lyxtext.h:
6001         * text.C:
6002         * text2.C: make redoParagraph more independent of current cursor
6003
6004         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6005         * text.C:
6006         * text2.C: remove unneeded members
6007
6008 2003-07-30  André Pönitz  <poenitz@gmx.net>
6009
6010         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6011
6012         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6013           create a single function...
6014
6015         * paragraph_funcs.C (moveItem): ... here.
6016
6017         * text.C:
6018           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6019
6020 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6021
6022         * LColor.[Ch]: Add comment and greyedout logical colors.
6023
6024 2003-07-30  André Pönitz  <poenitz@gmx.net>
6025
6026         * tabular.C: don't use Assert too heavily. This crashes where it
6027           shouldn't
6028
6029 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6030
6031         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6032         is disabled (bug 1232)
6033
6034 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6035
6036         * factory.C: limited 'arg' scope
6037
6038 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6039
6040         * factory.C: fixed Note submenu issues
6041
6042 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6043
6044         * factory.C: submenu for Note/Comment/Greyedout
6045
6046 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6047
6048         * lyx_main.C (LyX):
6049         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6050
6051 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6052
6053         * LaTeXFeatures.C:
6054         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6055         greyedout. Patch provided by Jürgen Spitzmüller.
6056
6057 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6058
6059         * kbmap.C (read): fix error message when reading bind files
6060
6061 2003-07-29  Angus Leeming  <leeming@lyx.org>
6062
6063         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6064         certainly does not do what it purports to do. I am doing it, and
6065         us, a favour by killing it.
6066
6067 2003-07-28  José Matos  <jamatos@lyx.org>
6068
6069         * buffer.C (readBody, do_writeFile):
6070         * paragraph.C(readParagraph): \end_document replaces \the_end.
6071
6072 2003-07-29  André Pönitz  <poenitz@gmx.net>
6073
6074         * BufferView.[Ch]:
6075         * BufferView_pimpl.[Ch]:
6076         * lyxfunc.C:
6077         * text2.C:
6078         * text3.C:
6079         * textcursor.[Ch]: remove toggleToggle & Co
6080
6081 2003-07-28  José Matos  <jamatos@fep.up.pt>
6082
6083         * buffer.C (readParagraph):
6084         * params_func (readParToken, readParagraph):
6085         * paragraph.C (write): \layout -> \begin_layout.
6086
6087 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6088
6089         * lyxlex_pimpl.C (setFile): clean up slightly.
6090
6091         * bufferparams.h: add compressed var
6092
6093         * buffer_funcs.C (readFile): adjust for LyXLex change
6094         (newFile): ditto + simplify
6095
6096         * buffer.C (writeFile): handle writing of compressed files
6097
6098         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6099         Check if the file is compressed and set a bufferparm if so.
6100
6101         * Makefile.am (lyx_LDADD): remove explicit -lz
6102
6103 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6104
6105         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6106         makeDocBookFile): put the real LyX version in the first line of
6107         the file
6108
6109         * version.h:
6110         * version.C.in: remove lyx_docversion
6111
6112         * tabular.C (write_attribute): add a template-based version to
6113         write enums properly
6114
6115 2003-07-28  André Pönitz  <poenitz@gmx.net>
6116
6117         * lyxtext.h:
6118         * text.C:
6119         * text2.C:
6120         * text3.C: use doubles again for x-coordinates. They are needed.
6121
6122 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * messages.C (getLocaleDir): use lyx_localedir()
6125
6126         * lyxlex_pimpl.C (setFile): compress stuff
6127
6128         * buffer.C (writeFile): add some compression stuff
6129         (do_writeFile): new func, dont call expliti close... will this
6130         breake anything?
6131
6132         * Makefile.am (lyx_LDADD): add -lz
6133
6134 2003-07-28  José Matos  <jamatos@fep.up.pt>
6135
6136         * buffer.C: increment file format.
6137         * paragraph_funcs (readParagraph, readParToken):
6138         * paragraph.C (readParagraph): add \end_layout.
6139
6140 2003-07-27  Angus Leeming  <leeming@lyx.org>
6141
6142         * Makefile.am: remove special casing for configure-time setting of
6143         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6144
6145         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6146         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6147
6148 2003-07-26  André Pönitz  <poenitz@gmx.net>
6149
6150         * paragraph_func.[Ch]:
6151         * paragraph.C (realizeFont): inline it whereever it is used
6152
6153         * rowpainter.C:
6154         * text.C:
6155         * text2.C:
6156         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6157
6158
6159 2003-07-26  André Pönitz  <poenitz@gmx.net>
6160
6161         *       lyxtext.h:
6162         * text.C:
6163         * text2.C: get rid of LyXText::need_break_row
6164
6165 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6166
6167         * toc.[Ch]: put namespace toc inside namespace lyx
6168
6169         * MenuBackend.C (expandToc2): adjust for lyx::toc
6170         (expandToc): ditto
6171
6172         * lyxfunc.C (dispatch): adjust for lyx::find
6173
6174         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6175         lyx::find instead. Reorganize a bit.
6176         (LyXReplace): rename to replace
6177         (LyXFind): rename to find
6178
6179         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6180         (dispatch): ditto
6181
6182 2003-07-26  André Pönitz  <poenitz@gmx.net>
6183
6184         * text.C (setHeightOfRow): restrict scope of temporary variable
6185
6186         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6187           code (never has been used?)
6188
6189 2003-07-27  Asger Alstrup  <alstrup@local>
6190
6191         * text.C (fill): Optimise algorithm to exploit that we can reuse
6192         the LyXFont for many characters.
6193         (setHeightOfRow): Same thing.
6194         (rowBreakPoint): Same thing.
6195
6196 2003-07-26  Asger Alstrup  <alstrup@local>
6197
6198         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6199
6200         * text.C (singleWidth): Spurious font copying in hot-spot
6201         singleWidth avoided. Reorder tests for arabic for efficiency.
6202
6203         * text.C (fill): handle empty paragraphs better.
6204
6205 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6206
6207         * ispell.C:
6208         * encoding.h: add includes
6209
6210         * lyxrc.C: remove reading of bind files
6211
6212         * lyx_main.C (init): setup bindings and menus only if we have a
6213         gui.
6214
6215         * kbmap.C (read): new method. Do the actual reading of bind
6216         files.
6217
6218         * converter.C (dvipdfm_options):
6219         * bufferparams.C:
6220         * lyxrc.C (read):
6221         (output): adapt PAPER_* enums.
6222
6223         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6224
6225         * bufferparams.h: remove paper-related enums from there
6226
6227         * paper.h: New file. A trivial header file to hold paper-related
6228         enums. It should later expand to contain many paper-related
6229         horrors access.
6230
6231         * lyxrc.C: declare extern displayTranslator
6232
6233 2003-07-27  José Matos  <jamatos@fep.up.pt>
6234
6235         * tabular.[Ch] (linuxdoc): add support for tables and figures
6236         (linuxdoc).
6237
6238 2003-07-27  José Matos  <jamatos@fep.up.pt>
6239
6240         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6241         consistency in both functions.
6242         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6243
6244 2003-07-26  Asger Alstrup  <alstrup@local>
6245
6246         * rowpainter.C (paintRows): Change algorithm to work directly on
6247         the insets rather than asking every character in the document
6248         whether its an inset.
6249
6250 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6251
6252         * buffer.C (openFileWrite): factorize some code
6253
6254 2003-07-26  Angus Leeming  <leeming@lyx.org>
6255
6256         * lyx_cb.C:
6257         * lyx_main.[Ch]: replace occurances of system_tempdir with
6258         os::getTmpDir().
6259
6260 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * rename Inset to InsetOld
6263
6264 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6265
6266         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6267         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6268         which I think is a bit clearer. EDIT is gone, since it was
6269         premature optimisation, and broken for mathed anyway.
6270         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6271         with cursor positioning in insets as well (math insets still do not
6272         work, but that's a different story anyway.) It mysteriously
6273         crashes sometimes with undo in the first paragraph, but I'm fairly
6274         confident that this is a compiler bug.
6275
6276 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6277
6278         * paragraph.C (Paragraph): adjust for new clone return type
6279         (operator==): ditto
6280         (copyIntoMinibuffer): ditto
6281
6282 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6283
6284         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6285         by not having a special case, and always doing a full rebreak of
6286         the document after undo.
6287
6288 2003-07-23  Angus Leeming  <leeming@lyx.org>
6289
6290         * factory.C (createInset): InsetExternal::setParams now takes a
6291         Buffer const * arg.
6292
6293 2003-07-23  Angus Leeming  <leeming@lyx.org>
6294
6295         * factory.C (createInset): changed interface to the external and
6296         graphics mailers' string2params functions.
6297
6298 2003-07-23  Angus Leeming  <leeming@lyx.org>
6299
6300         * factory.C (createInset): pass a
6301         Buffer const * parameter to InsetExternalMailer's string2params.
6302
6303 2003-07-22  John Levon  <levon@movementarian.org>
6304
6305         * Thesaurus.h: include the right aiksaurus header
6306
6307 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6308
6309         * MenuBackend.C (expand): check menu shortcuts unconditionally
6310
6311 2003-07-21  Angus Leeming  <leeming@lyx.org>
6312
6313         * factory.C (createInset): pass a
6314         buffer_path parameter to InsetGraphicsMailer's string2params.
6315
6316 2003-07-21  Angus Leeming  <leeming@lyx.org>
6317
6318         * BufferView_pimpl.C (buffer):
6319         * buffer.C (d-tor):
6320         * lyx_main.C (LyX):
6321         * lyxfunc.C (dispatch):
6322         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6323         rather than the grfx shortcut.
6324
6325 2003-07-21  André Pönitz  <poenitz@gmx.net>
6326
6327         * rowpainter.C: remove unused variables
6328
6329         * tabular_funcs.C:
6330         * tabular_funcs.h: move to tabular.C
6331         * Makefile.am: adjust
6332
6333         * tabular.[Ch]: basic optical cleaning
6334
6335         * author.h: pass references, not values
6336
6337 2003-07-18  André Pönitz  <poenitz@gmx.net>
6338
6339         * lyxtext.h:
6340         * metricsinfo.C:
6341         * metricsinfo.h:
6342         * rowpainter.C:
6343         * text.C:
6344         * text2.C:
6345         * text3.C: two-phase drawing for InsetText and InsetTabular
6346         some float -> int changes.
6347
6348 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6349
6350         * lyx_main.C: fix the fix
6351
6352 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6353
6354         * lyx_main.C: fix a crash in batch mode if no files specified
6355         * converter.C: ws
6356
6357 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6358
6359         * format.[Ch] (papersize): moved to BufferParams
6360         * converter.[Ch] (dvips_options): moved to BufferParams
6361         (dvipdfm_options): moved to anon namespace
6362         * bufferparams.[Ch]: added above functions.
6363
6364 2003-07-17  André Pönitz  <poenitz@gmx.net>
6365
6366         * lyxtext.h:
6367         * rowpainter.C:
6368         * text2.C: don't call inset->update() anymore
6369
6370         * metricsinfo.[Ch]: add convenience constructor
6371
6372 2003-07-16  André Pönitz  <poenitz@gmx.net>
6373
6374         * lyxcursor.[Ch]:
6375         * lyxfunc.[Ch]:
6376         * text.C:
6377         * text2.C: replace the LyXCursor::irow_ member with
6378          on-demand computation of the value
6379
6380 2003-07-16  John Levon  <levon@movementarian.org>
6381
6382         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6383
6384 2003-07-15  André Pönitz  <poenitz@gmx.net>
6385
6386         * text.C:
6387         * text2.C: remove no more needed refresh_row
6388
6389 2003-07-15  André Pönitz  <poenitz@gmx.net>
6390
6391         * lyxtext.h:
6392         * rowpainter.C:
6393         * text2.C:
6394         * text3.C: refresh_status tristate -> need_update bool
6395
6396 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6397
6398         * lyxtext.h (init): remove reinit argument (act as if always true)
6399         * text2.C: adjust to that
6400
6401 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6402
6403         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6404         * text3.C: use it to delete selections in some cases
6405         (bugs 441, 673, 702, 954).
6406
6407 2003-07-14  André Pönitz  <poenitz@gmx.net>
6408
6409         * rowpainter.[Ch]: reduce interface
6410
6411 2003-07-14  André Pönitz  <poenitz@gmx.net>
6412
6413         * BufferView_pimpl.C:
6414         * text2.C: adjust after removing unused BufferView * argument
6415
6416 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6417
6418         * text2.C (init): fix a crash fired on resize
6419
6420 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6421
6422         * buffer.[Ch]: added new closing signal
6423         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6424         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6425         BufferView::Pimpl via the closing the signal
6426
6427 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6428
6429         * buffer.[Ch]: take out all bv-related from buffer
6430         * BufferView.C:
6431         * BufferView_pimpl.[Ch]: connect to new signals
6432         * CutAndPaste.C: removed useless asserts
6433         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6434         * lyxvc.[Ch]:
6435         * vc-backend.[Ch]:
6436         * lyxfunc.C: moved view-related funciontality from vc here
6437         * paragraph.C: removed outdated comments
6438         * text.C: ws
6439
6440 2003-07-10  André Pönitz  <poenitz@gmx.net>
6441
6442         * BufferView_pimpl.C:
6443         * tabular.h:
6444         * tabular_funcs.C:
6445         * text.C:
6446         * text2.C: remove InsetText::InnerCache, clean up consequences
6447
6448 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6449
6450         * ispell.C: fix two typos in error messages
6451
6452 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6453
6454         * Extend Note inset to other forms of annotation like Comment
6455         and Greyedout. Right button click gives dialog.
6456
6457         Files modified or added (+):
6458
6459         * insetnote.[Ch]
6460         * FormNote.[Ch]      +
6461         * ControlNote.[Ch]   +
6462         * form_note.fd       +
6463         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6464         frontends/controllers
6465         * xforms/Dialogs.C
6466         * factory.C
6467
6468 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6469
6470         * aspell.C: add missing namespace lyx::support
6471
6472 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6473
6474         * BufferView.[Ch] (newFile): Add
6475         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6476         * LaTeX.[Ch] (message): added this signal and use it
6477         * buffer.[Ch] (busy, message): added these signals and use them
6478         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6479         * converter.C:
6480         * exporter.C:
6481         * format.C:
6482         * importer.C: use buffer signals instead of direct bv calling
6483         * lyx_cb.[Ch] (ShowMessage): removed
6484         * lyx_main.C:
6485         * lyxfunc.C:
6486         * paragraph_funcs.C:
6487         * text2.C: use buffer signals
6488
6489 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * introduce namespace lyx::graphics
6492
6493 2003-07-02  André Pönitz  <poenitz@gmx.net>
6494
6495         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6496
6497 2003-07-01  André Pönitz  <poenitz@gmx.net>
6498
6499         * text.C:
6500         * text2.C:
6501         * text3.C:
6502         * text_funcs.[Ch]:
6503         * textcursor.h:
6504         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6505           text*.C to text_func.C
6506
6507 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6508
6509         * introduce namespace lyx::support
6510
6511 2003-06-30  André Pönitz  <poenitz@gmx.net>
6512
6513         * Chktex.C:
6514         * funcrequest.C:
6515         * lyxtext.h:
6516         * text.C: re-enable --with-included-string
6517
6518 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6519
6520         * textcursor.C: add <config.h>
6521
6522         * text.C (getWord): remove const from word_location arg
6523
6524         * lyxvc.C (getLogFile): fix const type order
6525
6526         * lyxtext.h: remove const from word_location arg, add arg name
6527
6528         * lyxlayout.h: currect type on labeltype.
6529
6530         * importer.C: correct \file
6531
6532         * converter.C (intToFormat): use std:: on ret val, ws changes
6533
6534         * bufferlist.h: correct \file
6535
6536         * buffer.C (makeLinuxDocFile): fix const type order
6537         (makeDocBookFile): ditto
6538         (fillWithBibKeys): use std:: on stdlib args.
6539
6540         * CutAndPaste.C: fix authors.
6541         (availableSelections): use std:: on return vector
6542
6543 2003-06-27  André Pönitz  <poenitz@gmx.net>
6544
6545         * BufferView_pimpl.C:
6546         * bufferview_funcs.C:
6547         * lyxcursor.C:
6548         * lyxcursor.h:
6549         * lyxfunc.C:
6550         * lyxtext.h:
6551         * rowpainter.C:
6552         * text.C:
6553         * text2.C:
6554         * text3.C: remove LyXCursor::row_ member
6555
6556         * lyxtext.h:
6557         * text.C: rename fullRebreak() to partialRebreak() and implement
6558           a fullRebreak() that really bereks fully
6559
6560         * textcursor.h: new struct for cursor-related data
6561
6562 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6563
6564         * lyx_main.C (LyX): get full path of document loaded on the
6565         command line
6566
6567 2003-06-26  André Pönitz  <poenitz@gmx.net>
6568
6569         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6570           remove unused/broken operator>,<,>=.
6571
6572         *       text.C: remove only use of broken operator<= in an Assert().
6573
6574 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6575
6576         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6577         moved errorlist_.clear to showErrorList
6578
6579 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6580
6581         * converter.C (scanLog, runLaTeX):
6582         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6583         move the bv->showErrorList call to the callers
6584         * lyxfunc.C: i.e. here...
6585         * text2.C: and here
6586         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6587         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6588         namespace, the second to...
6589         * buffer_funcs (BufferFormat, parseErrors): added
6590         * errorlist.C (ErrorList(TeXErrors const &)): removed
6591
6592 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6593
6594         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6595
6596 2003-06-24  "Garst R. Reese" <reese@isn.net>
6597
6598         * debug.C: fix typo
6599
6600 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6601
6602         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6603
6604         * version.C.in: change docversion to 1.4
6605
6606 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6607
6608         * buffer.C: fix a bug just introduced
6609
6610 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6611
6612         * buffer.[Ch]: added the parseError signal and use it, removed
6613         sgmlError
6614         * BufferView.[Ch] (addError): moved to ...
6615         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6616         to the Buffer::parseError signal to catch (guess what) parse errors
6617         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6618
6619 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6620
6621         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6622         ability to create a buffer and to return an existing one from
6623         the list. Moved these functions to...
6624         * buffer_funcs.[Ch]: added
6625         * BufferView.[Ch] (loadLyXFile): added
6626         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6627         job removed from bufferlist::loadLyXFile.
6628         * buffer.C (setReadOnly): make it work without view
6629         (i.e added an if (users))
6630
6631 2003-06-19  Angus Leeming  <leeming@lyx.org>
6632
6633         * lfuns.h:
6634         * LyXAction.C (init):
6635         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6636         with LFUN_DIALOG_SHOW <name> <data>.
6637
6638 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6639
6640         * CutAndPaste.C (availableSelections): small compilation fix for
6641         ancient (gcc 2.9x) compilers
6642
6643 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6644
6645         * text3.C (cursorNext): add tmp var
6646
6647         * text2.C (updateCounters): for function calling out of for clause
6648         (replaceSelectionWithString): ditto
6649         (insertStringAsParagraphs): ditto
6650         (getColumnNearX): add tmp var
6651         (setCursorFromCoordinates): add tmp var
6652         (cursorDownParagraph): add tmp var
6653         (deleteEmptyParagraphMechanism): add tmp var
6654
6655         * text.C (insertChar): add tmp var
6656
6657         * rowpainter.C (paintDepthBar): add tmp var
6658
6659         * CutAndPaste.C (availableSelections): potentially check all
6660         paragraphs in a cut to fill the shown strings.
6661
6662 2003-06-18  André Pönitz  <poenitz@gmx.net>
6663
6664         * kbmap.[Ch]: use vector<> instead of list<>
6665
6666 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6667
6668         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6669         pasteSelection with index
6670
6671         * text2.C (pasteSelection): modify, call pasteSelection with index
6672
6673         * paragraph.C (asString): reimplement version with no interval to
6674         call the one with interval.
6675
6676         * lyxtext.h: add index arg to pasteSelection
6677
6678         * MenuBackend.C (MenuItem): handle PasteRecent
6679         (Menu::read::Menutags): add md_pasterecent
6680         (read): handle it
6681         (expandPasteRecent): new function
6682         (expand): use it
6683
6684         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6685
6686         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6687         the limited stack
6688         (availableSelections): new function
6689
6690 2003-06-17  Angus Leeming  <leeming@lyx.org>
6691
6692         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6693
6694 2003-06-17  Angus Leeming  <leeming@lyx.org>
6695
6696         * lfuns.h:
6697         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6698
6699         * lyxfunc.C (dispatch): invoke it.
6700
6701 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6702
6703         * iterators.C (operator++, ParPosition): reintroduce some
6704         const_cast for the benefit of older compilers.
6705
6706 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6707
6708         * text3.C (dispatch): do not modify clipboard when doing
6709         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6710         LFUN_DELETE_SKIP on a selection selection
6711
6712 2003-06-16  André Pönitz  <poenitz@gmx.net>
6713
6714         * BufferView.C:
6715         * buffer.C:
6716         * buffer.h:
6717         * paragraph.C:
6718         * tabular.[Ch]: IU of clone() and getLabelList();
6719
6720 2003-06-13  André Pönitz  <poenitz@gmx.net>
6721
6722         * tabular.h: compactification
6723
6724 2003-06-12  André Pönitz  <poenitz@gmx.net>
6725
6726         * tabular.C:
6727         * tabular.h:
6728         * tabular_funcs.h: some renaming plus whitespace
6729
6730 2003-06-12  André Pönitz  <poenitz@gmx.net>
6731
6732         * BufferView.C:
6733         * BufferView_pimpl.C:
6734         * CutAndPaste.C:
6735         * buffer.C:
6736         * iterators.[Ch]:
6737         * lyxfunc.C:
6738         * text.C:
6739         * toc.C: Return a Paragraph & for ParIterator::operator*()
6740
6741 2003-06-11  John Levon  <levon@movementarian.org>
6742
6743         * lyx_main.C:
6744         * ToolbarBackend.h:
6745         * ToolbarBackend.C: add "Toolbars" section and
6746         put the flags there
6747
6748 2003-06-10  Angus Leeming  <leeming@lyx.org>
6749
6750         * lfuns.h:
6751         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6752
6753         * lyxfunc.C (dispatch): invoke it.
6754
6755 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6756
6757         * main.C: protect <ios> with HAVE_IOS
6758         (main): protect sync_with_stdio with HAVE_IOS
6759
6760 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6761
6762         * text2.C (cutSelection): adjust
6763         (pasteSelection): adjust
6764
6765         * messages.C: handle get of empty string
6766
6767         * main.C (main): use sync_with_stdio(false)
6768
6769         * lyxfunc.C (dispatch): adjust
6770
6771         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6772         (WriteAs): remove unneeded BufferView arg.
6773
6774         * bufferparams.h: use correct types on papersize, papersize2 and
6775         paperpackage.
6776
6777         * bufferparams.C (readToken): adjust for type
6778         (writeLaTeX): add missing cases to switch.
6779
6780         * bufferlist.C (quitWriteBuffer): adjust
6781         (close): adjust
6782
6783         * buffer.C (asciiParagraph): remove some commented code.
6784
6785         * CutAndPaste.C: remove current_view extern variable.
6786         (cutSelection): add BufferParams arg.
6787         (eraseSelection): add BufferParams arg.
6788         (pasteSelection): add Buffer const & arg
6789
6790 2003-06-07  John Levon  <levon@movementarian.org>
6791
6792         * buffer.C:
6793         * paragraph_funcs.C:
6794         * paragraph_pimpl.C:
6795         * text.C:
6796         * text2.C:
6797         * paragraph.h:
6798         * paragraph.C: allow InsetERT to freely space lines,
6799         and some consolidation of code
6800
6801 2003-06-06  José Matos  <jamatos@fep.up.pt>
6802
6803         * buffer.C (makeDocBookFile): fix bug #821
6804
6805 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6806
6807         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6808
6809 2003-06-04  Angus Leeming  <leeming@lyx.org>
6810
6811         * buffer.C: bump format to 224.
6812
6813 2003-06-05  André Pönitz  <poenitz@gmx.net>
6814
6815         * text2.C (redoParagraphs): remove two const_cast<>
6816
6817 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6818
6819         * ParagraphList.h: remove last remnants of NO_STD_LIST
6820
6821 2003-06-03  Angus Leeming  <leeming@lyx.org>
6822
6823         * factory.C (createInset): small change to the way InsetExternal's params
6824         are set.
6825
6826 2003-06-04  André Pönitz  <poenitz@gmx.net>
6827
6828         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6829
6830         * paragraph_pimpl.h:
6831         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6832
6833         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6834
6835         * undo_funcs.C: make some simple cases of undo work again
6836
6837 2003-06-03  John Levon  <levon@movementarian.org>
6838
6839         * ispell.C: HPUX doesn't have sys/select.h
6840         (from Albert Chin)
6841
6842 2003-06-03  John Levon  <levon@movementarian.org>
6843
6844         * CutAndPaste.C: update tabular and include inset
6845         buffer references
6846
6847         * buffer.h:
6848         * paragraph.h:
6849         * paragraph.C: remove owningBuffer(), don't pass Buffer
6850         to clone()
6851
6852         * factory.C: insetGraphicsParams changed
6853
6854 2003-06-02  John Levon  <levon@movementarian.org>
6855
6856         * LyXAction.C:
6857         * factory.C:
6858         * lfuns.h:
6859         * lyxfunc.C:
6860         * text3.C: remove insetparent
6861
6862 2003-06-02  John Levon  <levon@movementarian.org>
6863
6864         * buffer.h:
6865         * buffer.C: fix inset_iterator.end(), move out of line
6866         (bug 1149)
6867
6868 2003-06-01  John Levon  <levon@movementarian.org>
6869
6870         * text3.C: use a proper cut/paste when doing inset
6871         insert (from Jürgen Spitzmüller)
6872
6873 2003-06-01  John Levon  <levon@movementarian.org>
6874
6875         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6876
6877 2003-05-30  André Pönitz  <poenitz@gmx.net>
6878
6879         * rowpainter.C: unify second drawing phase
6880
6881 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6882
6883         * trans_mgr.C: remove one case of current_view
6884
6885         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6886
6887         * paragraph_funcs.h: remove paragraph.h include
6888
6889         * paragraph.h: delete NO_STD_LIST stuff
6890
6891         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6892
6893         * buffer.h: remove paragraph.h include
6894
6895         * ParagraphList.C: delete file
6896
6897         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6898
6899         * toc.C (getTocList): adjust
6900
6901         * paragraph_pimpl.C (validate): adjust
6902
6903         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6904
6905         * paragraph.C (Paragraph): adjust
6906         (getPositionOfInset): use const_iterator, adjust
6907         (bibitem): use const_iterator, adjust
6908         (setInsetOwner): adjust
6909
6910         * iterators.C (operator++): adjust
6911
6912         * InsetList.[Ch]: Replace selfmade iterator with standard
6913         vector::iterator also introduce const_iterator. Remove getPos,
6914         getInset and setInset from InsetTable. Adjust accordingly.
6915
6916         * BufferView.C (lockInset): adjust
6917         (ChangeInsets): adjust
6918
6919         * tabular.[Ch]: delete commented same_id functions
6920
6921 2003-05-28  John Levon  <levon@movementarian.org>
6922
6923         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6924
6925 2003-05-28  André Pönitz  <poenitz@gmx.net>
6926
6927         * metricsinfo.[Ch]: remove 'fullredraw' member
6928
6929 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6930
6931         * lyxtextclass.C (operator): remove caching.
6932
6933 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6934
6935         * text3.C: adjust
6936
6937         * text2.C (cursorBottom): adjust
6938         (setCounter): use ParagraphList::find, adjust
6939
6940         * text.C (workWidth): use ParagraphList::find, adjust
6941
6942         * lyxcursor.C (LyXCursor): adjust
6943
6944         * buffer.C (inset_iterator): adjust
6945
6946         * ParagraphList.h: make iterator(value_type) private, make
6947         ParagraphList a friend of iterator.
6948
6949         * ParagraphList.C (find): new function
6950
6951         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6952
6953 2003-05-27  André Pönitz  <poenitz@gmx.net>
6954
6955         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6956
6957 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6958
6959         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6960
6961 2003-05-26  John Levon  <levon@movementarian.org>
6962
6963         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6964
6965 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6966
6967         * remove same_id from function signatures, adjust.
6968
6969 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6970
6971         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6972
6973         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6974
6975         * paragraph.C (Paragraph): get rid of same_ids parameter
6976
6977         * ParagraphList.C (insert): adjust
6978         (push_back): adjust
6979
6980 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6981
6982         * paragraph_funcs.C (breakParagraph): adjust
6983         (breakParagraphConservative): adjust
6984
6985         * buffer.C (readParagraph): adjust
6986
6987         * ParagraphList.C (insert): take a reference instead of a pointer
6988         (insert): adjust
6989
6990         * paragraph.[Ch] (id): new function
6991
6992         * bufferlist.C (newFile): adjust
6993
6994         * ParagraphList.C (ParagraphList): adjust
6995         (assign): adjust
6996         (push_back): take a reference instead of a pointer.
6997
6998         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6999
7000         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7001         instead.
7002
7003         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7004         set else use old code.
7005
7006         * ParagraphList.C: remove all NO_NEXT code and only compile this
7007         code of NO_STD_LIST is set.
7008
7009 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7010
7011         * BufferView_pimpl.C:
7012         * TextCache.C:
7013         * TextCache.h:
7014         * bufferlist.C:
7015         * errorlist.h:
7016         * format.C:
7017         * format.h:
7018         * graph.C:
7019         * lyxfunc.C:
7020         * lyxrc.C:
7021         * graphics/GraphicsConverter.C:
7022         * graphics/PreviewLoader.C: header adjustment
7023
7024 2003-05-23  Angus Leeming  <leeming@lyx.org>
7025
7026         * LaTeXFeatures.[Ch] (useBabel): new method.
7027         * bufferparams.C (writeLaTeX): use it.
7028
7029 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7030
7031         * ParagraphList.h (set): remove unused function.
7032
7033 2003-05-23  André Pönitz  <poenitz@gmx.net>
7034
7035         * BufferView.C:
7036         * BufferView_pimpl.C:
7037         * buffer.C:
7038         * buffer.h:
7039         * lyxfunc.C:
7040         * undo_funcs.C: setUndo reworked
7041
7042         * iterators.[Ch]: add access to topmost ParagraphList
7043
7044         * lyxtext.[Ch] (workWidth): add a const
7045
7046 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7047
7048         * texrow.[Ch] (increasePos): remove function
7049         * exporter.C (export): removed unused var and outdated comment
7050
7051 2003-05-23  Angus Leeming  <leeming@lyx.org>
7052
7053         * latexrunparams.h: rename fragile as moving_arg.
7054         * paragraph.C (simpleTeXOnePar): ditto.
7055         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7056
7057 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7060         (createUndo): ditto
7061         (textUndoOrRedo): comment out a currently unused var.
7062
7063         * paragraph.h (NO_NEXT): enable NO_NEXT
7064
7065         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7066
7067         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7068
7069         * exporter.C (Export): adjust for removeAutoInsets removal.
7070
7071         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7072
7073         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7074
7075         * BufferView.[Ch] (removeAutoInsets): delete function
7076
7077 2003-05-22  Angus Leeming  <leeming@lyx.org>
7078
7079         * latexrunparams.h: add a free_spacing variable.
7080
7081         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7082         to pass moving_arg, as the data is stored in runparams.fragile.
7083
7084         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7085         to Inset::latexOptional or to simpleTeXOnePar.
7086
7087         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7088         free_spacing arg to Inset::latexOptional.
7089
7090         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7091         free_spacing arg.
7092
7093 2003-05-22  Angus Leeming  <leeming@lyx.org>
7094
7095         * latexrunparams.h: add fragile and use_babel variables.
7096
7097         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7098         * buffer.C (makeLaTeXFile): store this returned value in
7099         runparams.use_babel, thus passing it to the inset::latex methods.
7100
7101         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7102         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7103
7104         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7105         longer has a fragile arg, as it is stored in runparams.fragile.
7106
7107         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7108         moving_arg parameter as the data is stored in runparams.fragile.
7109
7110         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7111         a fragile parameter as the data is stored in runparams.fragile.
7112
7113 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7114
7115         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7116
7117 2003-05-22  Angus Leeming  <leeming@lyx.org>
7118
7119         * latexrunparams.h: add a 'bool nice' which defaults to false.
7120
7121         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7122         now encapsulated within runparams.
7123
7124         * bufferlist.C (updateIncludedTeXfiles):
7125         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7126
7127 2003-05-22  Angus Leeming  <leeming@lyx.org>
7128
7129         * latexrunparams.h: new file containing struct LatexRunParams.
7130         * Makefile.am: add new file.
7131
7132         * LaTeX.[Ch] (c-tor, run):
7133         * buffer.[Ch] (makeLaTeXFile):
7134         * bufferlist.[Ch] (updateIncludedTeXfiles):
7135         * converter.C (convert, scanLog):
7136         * converter.[Ch] (runLaTeX):
7137         * exporter.C (Export):
7138         * paragraph.[Ch] (simpleTeXOnePar):
7139         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7140         * paragraph_funcs.[Ch] (latexParagraphs):
7141         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7142         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7143         pass around a LatexRunParams parameter.
7144
7145 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * paragraph.[Ch]: remove unused constructor
7148
7149         * ParagraphList.C (erase): new function, taking two iterators
7150
7151 2003-05-22  André Pönitz  <poenitz@gmx.net>
7152
7153         * undo_funcs.C: remove duplicated code
7154
7155         * iterator.[Ch]: operator=
7156
7157 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * tabular.C (SetMultiColumn): ws changes
7160
7161         * rowpainter.C (paintFirst): get rid of a ->previous
7162
7163         * lyx_cb.C (getPossibleLabel): parlist simplification
7164
7165         * BufferView.C (ChangeInsets): simplify slightly.
7166
7167 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7168
7169         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7170         * lfuns.h: new LFUN_SPACE
7171         * lyxfunc.C: protected space has a new lfun
7172         * paragraph_funcs.C: read new space insets
7173         * text3.C:
7174         * factory.C: handle new space insets
7175
7176 2003-05-22  André Pönitz  <poenitz@gmx.net>
7177
7178         * BufferView.C:
7179         * BufferView_pimpl.C:
7180         * buffer.[Ch]:
7181         * lyxfunc.C:
7182         * undo_funcs.C: return a ParIterator from getParFromID.
7183
7184         * iterators.[Ch]: add two const's
7185
7186 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * toc.C (getTocList): adjust
7189
7190         * iterators.[Ch]: rework for parlist
7191
7192         * buffer.C (par_iterator_begin): adjust
7193         (par_iterator_end): adjust
7194
7195         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7196
7197         * BufferView.C (removeAutoInsets): adjust
7198         (ChangeInsets): adjust
7199
7200 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7201
7202         * text.C (top_y): fix bug 1110
7203
7204 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7205
7206         * errorlist.[Ch]: added
7207         * buffer.C:
7208         * BufferView.[Ch]:
7209         * BufferView_pimpl.C:
7210         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7211         instead
7212
7213 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214
7215         * Makefile.am: ensure that lyx is relinked upon changes to the
7216         various "convenience" libs.
7217
7218 2003-05-20  Angus Leeming  <leeming@lyx.org>
7219
7220         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7221         files are compiled in alphabetical order again.
7222
7223         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7224
7225 2003-05-19  Angus Leeming  <leeming@lyx.org>
7226
7227         * gettext.[Ch]: remove "char const * _(char const *)".
7228
7229 2003-05-19  André Pönitz  <poenitz@gmx.net>
7230
7231         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7232
7233         * Makefile.am:
7234         * BufferView.C:
7235         * DepTable.h:
7236         * LaTeXFeatures.C:
7237         * buffer.C:
7238         * lyxfont.C:
7239         * lyxlex.h:
7240         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7241
7242 2003-05-19  André Pönitz  <poenitz@gmx.net>
7243
7244         * buffer.C:
7245         * lyxlayout.[Ch]:
7246         * lyxtextclass.[Ch]:
7247         * paragraph.C:
7248         * paragraph_funcs.[Ch]:
7249         * text2.C:
7250         * text3.C: more insetenv work
7251
7252 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7253
7254         * ParagraphParameters.C (params2string): small bug fixed
7255
7256 2003-05-16  André Pönitz  <poenitz@gmx.net>
7257
7258         * debug.C:
7259         * bufferview_funcs.C: patch from Kornel Benko to prevent
7260           crash when _(...) is called twice in a statement
7261
7262 2003-05-16  André Pönitz  <poenitz@gmx.net>
7263
7264         * BufferView.C:
7265         * lyxfunc.C:
7266         * text.C:
7267         * text2.C:
7268         * text3.C:
7269         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7270
7271 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7272
7273         * lyx_main.C (init): remove spurious static_cast
7274
7275 2003-05-14  André Pönitz  <poenitz@gmx.net>
7276
7277         * BufferView.C: fix format string
7278
7279 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7280
7281         * BufferView.[Ch] (insertErrors): removed
7282         * BufferView.[Ch] (showErrorList): added
7283         * buffer.C (runChkTeX):
7284         * converter.C (scanLog): call showErrorList instead of inserterrors
7285
7286 2003-05-13  André Pönitz  <poenitz@gmx.net>
7287
7288         * BufferView_pimpl.C:
7289         * buffer.C:
7290         * bufferview_func.C:
7291         * MenuBackend.C:
7292         * lyxfunc.C:
7293         * lyxrc.C:
7294         * tex-accent.C:
7295         * text3.C:
7296         * toc.C:
7297         * tabular_funcs.h: tostr() from its own header
7298
7299         * ParagraphParameters.C:
7300         * ToolbarBackend.C:
7301         * bufferparams.C:
7302         * format.C:
7303         * lyxlex_pimpl.C:
7304         * text3.C: STRCONV()
7305
7306 2003-05-12  André Pönitz  <poenitz@gmx.net>
7307
7308         * BufferView.C:
7309         * BufferView_pimpl.C:
7310         * CutAndPaste.C:
7311         * LaTeX.C:
7312         * LaTeXFeatures.C:
7313         * ParagraphParameters.C:
7314         * buffer.C:
7315         * bufferlist.C:
7316         * bufferparams.C:
7317         * bufferview_funcs.C:
7318         * converter.C:
7319         * counters.C:
7320         * debug.C:
7321         * exporter.C:
7322         * format.C:
7323         * importer.C:
7324         * lyx_cb.C:
7325         * lyx_main.C:
7326         * lyxfont.C:
7327         * lyxfunc.C:
7328         * lyxvc.C:
7329         * paragraph.C:
7330         * paragraph_funcs.C:
7331         * tabular.C:
7332         * tabular_funcs.C:
7333         * text2.C:
7334         * text3.C:  boost::format -> bformat  all over the place
7335
7336
7337 2003-05-09  André Pönitz  <poenitz@gmx.net>
7338
7339         * LColor.[Ch]: Pimpl the #include <map> away
7340
7341 2003-05-09  John Levon  <levon@movementarian.org>
7342
7343         * bufferlist.C: never remove emergency saves
7344
7345 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * Makefile.am: better lib building
7348
7349 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7350
7351         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7352         instead.
7353         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7354         (simpleTeXSpecialChars): adjust
7355         (simpleTeXSpecialChars): adjust
7356         * paragraph.C (simpleTeXOnePar): adjust
7357         * buffer.C (makeLaTeXFile): adjust
7358
7359         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7360
7361         * text2.C (changeDepth): parlist cleanup
7362         (getColumnNearX): ditto
7363
7364         * rowpainter.C (getLabelFont): parlist cleanup
7365
7366         * bufferlist.C (newFile): parlist cleanup
7367
7368         * CutAndPaste.C (eraseSelection): parlist cleanup
7369
7370         * BufferView_pimpl.C (trackChanges): parlist cleanup
7371         (dispatch): ditto
7372
7373         * BufferView.C (lockInset): parlist cleanup.
7374         (ChangeInsets): ditto
7375
7376 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * CutAndPaste.h: Update file header.
7379
7380         * CutAndPaste.C: Update file header.
7381         Store the parts cut out of the Document in a limited_stack.
7382         (copySelection): adjust
7383         (pasteSelection): new function, takes the index in the limited stack.
7384         (nrOfParagraphs): adjust
7385         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7386         simplify error inset insertion.
7387         (checkPastePossible): adjust
7388
7389 2003-05-06  John Levon  <levon@movementarian.org>
7390
7391         * text2.C: don't cast wrap inset to float
7392
7393 2003-05-05  André Pönitz  <poenitz@gmx.net>
7394
7395         * iterator.C:
7396         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7397
7398         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7399           few naked Paragraph *.
7400
7401 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7402
7403         * bufferparams.C: Output warning if a document with missing
7404         TeX document class is loaded
7405         * exporter.C: Disable TeX exports if the document class is missing
7406         * lyxtextclass.C:
7407         * lyxtextclass.h:
7408         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7409         isTeXClassAvailable()
7410
7411 2003-05-03  John Levon  <levon@movementarian.org>
7412
7413         * BufferView.h:
7414         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7415         explicit cursor show/hide
7416
7417         * BufferView_pimpl.h:
7418         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7419         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7420
7421         * lyxfunc.C: hide cursor before dispatching.
7422
7423         * lyx_cb.C:
7424         * lyxfind.C:
7425         * text.C:
7426         * text3.C: remove explicit cursor hides
7427
7428 2003-05-02  André Pönitz  <poenitz@gmx.net>
7429
7430         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7431
7432         * undo_funcs.C:
7433         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7434           linked lists
7435
7436         * text2.C: tiny whitespace
7437
7438 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7439
7440         * undo_funcs.C: almost only ws changes.
7441
7442         * ParagraphList.C (splice): just return if pl is empty.
7443
7444 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7445
7446         * ParagraphList.C (splice): new function.
7447
7448         * CutAndPaste.C (pasteSelection): use it
7449
7450 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7451
7452         * CutAndPaste.C (pasteSelection): remove the last next and
7453         previous from this file.
7454
7455 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7456
7457         * CutAndPaste.C (pasteSelection): more clean up, user proper
7458         ParagraphList functions for pasteing.
7459
7460         * ParagraphList.C (insert): new function, three arg insert
7461
7462 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7463
7464         * ParagraphList.C (insert): new function, three arg insert
7465
7466         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7467         not on paragraphs.
7468
7469 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7472
7473 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7476
7477 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7478
7479         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7480         (copySelection): clean up a bit.
7481         (pasteSelection): use make_pair
7482
7483         * ParagraphList.C (ParagraphList): implement copy constructor
7484         (operator=): implement, base on copy constructor.
7485         (assign): new func
7486
7487         * paragraph.C (erase): return a bool
7488
7489         * paragraph_pimpl.C (erasePos): remove function, move contents...
7490         (erase): ... here. Return a bool.
7491         (erase): call erase instead of erasePos.
7492
7493 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7494
7495         * ParagraphList.h: define PitPosPair
7496         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7497         ParagraphList, fix a bug on pasting multiple pars
7498         * text2.C: change interface to C&P
7499
7500 2003-04-30  André Pönitz  <poenitz@gmx.net>
7501
7502         * undo_func.C: revert part of yesterday's patch 2
7503
7504 2003-04-30  John Levon  <levon@movementarian.org>
7505
7506         * LColor.C: s/tabular/table/
7507
7508 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7509
7510         * text3.C (dispatch): do not convert iterator -> pointer
7511         * undo_funcs.C (setCursorParUndo): ditto
7512         * text_funcs.C (transposeChars): ditto
7513
7514         * text2.C (setLayout): ws changes only
7515
7516         * text.C (breakParagraph): do not convert iterator -> pointer
7517         (insertChar): ditto
7518         (acceptChange): ditto
7519         (rejectChange): ditto
7520         (changeCase): ditto
7521         (Delete): ditto
7522         (backspace): ditto
7523
7524         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7525         pointer
7526
7527 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7528
7529         * text3.C (gotoInset): YABG (yet another bad getChar)
7530
7531 2003-04-29  André Pönitz  <poenitz@gmx.net>
7532
7533         * paragraph.h: make operator= private unimplemented as long as
7534           it is unusable
7535
7536         * ParagraphList.C: whitespace
7537
7538         * paragraph.[Ch]:
7539         * paragraph_pimpl.[Ch]:
7540         * paragraph_funcs.C:
7541         * CutAndPaste.C:
7542         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7543
7544         * text2.C:
7545           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7546
7547 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7548
7549         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7550         * paragraph.[Ch] (erase):
7551         * paragraph_pimpl.[Ch] (erase): change return type and value
7552         * text2.C (cutSelection): some rework
7553
7554 2003-04-28  John Levon  <levon@movementarian.org>
7555
7556         * bufferlist.C: changes for unsaved changes dialog
7557
7558 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7559
7560         * bufferlist.C (newFile): set language (messages_) for new
7561         documents also.
7562
7563         * buffer.C (readFile): ws changes only.
7564
7565 2003-04-28  André Pönitz  <poenitz@gmx.net>
7566
7567         * undo_funcs.C:
7568         * lyxfunc.C:
7569         * buffer.[Ch]:
7570         * BufferView_pimpl.C:
7571         * BufferView.C: getParFromID related ParagraphList::iterator changes
7572
7573 2003-04-28  André Pönitz  <poenitz@gmx.net>
7574
7575         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7576           Changes
7577
7578 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7579
7580         * messages.C: remove one more localedir class variable.
7581
7582 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7583
7584         * messages.C (getLocaleDir): singleton generation function
7585         (Pimpl): use it.
7586         (Messages): add a default constructor.
7587
7588         * main.C (main): do not setup localedir here, do not call
7589         gettext_init.
7590
7591         * gettext.C (_): use it.
7592         (gettext_init): delete funciton
7593
7594 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * gettext.C (getLyXMessages): new singleton generating function.
7597
7598         * buffer.C (updateDocLang): adjust
7599
7600         * Makefile.am (messages.o): add target
7601         (main.o): remove target
7602
7603 2003-04-27  John Levon  <levon@movementarian.org>
7604
7605         * bufferlist.C:
7606         * lyx_cb.C:
7607         * lyxfunc.C:
7608         * lyxvc.C: specify cancel button in Alert::prompt
7609
7610 2003-04-26  John Levon  <levon@movementarian.org>
7611
7612         * text3.C:
7613         * lyxfunc.C:
7614         * lfuns.h:
7615         * LyXAction.C: add LFUN_INSET_SETTINGS
7616
7617         * lyxfunc.C: don't enable tabular-feature when there's
7618         just any locking inset
7619
7620 2003-04-26  John Levon  <levon@movementarian.org>
7621
7622         * bufferlist.C: re-add Cancel to buffer close question
7623
7624         * lyxfunc.C: fix import UI a bit
7625
7626 2003-04-25  John Levon  <levon@movementarian.org>
7627
7628         * gettext.C: remove the broken asserts for now
7629
7630 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * messages.C: make case where setlocale cannot comply work better.
7633
7634         * buffer.C (updateDocLang): new function
7635         (changeLanguage): use it
7636         (readFile): use it
7637
7638         * text2.C (setCounter): use B_ a bit.
7639
7640         * lyxlayout.C (Read): be sure to trim the label strings.
7641
7642         * messages.C (Messages): fix typo in comment
7643
7644         * buffer.C (readFile): set message_ after file is loaded.
7645         (makeDocBookFile): remove double return
7646         (changeLanguage): reset message_ upon language change.
7647         (B_): new func, use this to get translated buffer strings.
7648
7649         * main.C: add myself and Jean Marc as authors.
7650
7651 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7652
7653         * messages.[hC]: pimplify Messages, and three different pimpls to be
7654         used in different circumstances.
7655
7656         * gettext.[Ch]: change for use with new message code.
7657
7658 2003-04-24 André Pönitz <poenitz@gmx.net>
7659
7660         * factory.C: support for eqref
7661
7662 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7663
7664         * messages.[Ch]: add missing char
7665
7666         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7667
7668         * messages.[Ch]: New files
7669
7670 2003-04-18  John Levon  <levon@movementarian.org>
7671
7672         * BufferView.h:
7673         * BufferView.C:
7674         * BufferView_pimpl.C:
7675         * lfuns.h:
7676         * LyXAction.C:
7677         * lyxtext.h:
7678         * text2.C: remove layout-copy/paste (bug 778)
7679
7680 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7681
7682         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7683
7684 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7685
7686         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7687         if they succeed. Act accordingly.
7688
7689 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7690
7691         * text2.C (setCharFont): adjust
7692         (setCounter): adjust
7693         (insertStringAsLines): adjust
7694
7695         * text.C (leftMargin): adjust
7696         (setHeightOfRow): adjust
7697
7698         * rowpainter.C (paintFirst): adjust
7699         (paintLast): adjust
7700
7701         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7702         (outerHook): ditto
7703         (isFirstInSequence): ditto
7704         (getEndLabel): ditto
7705         (outerFont): adjust
7706
7707         * paragraph.C (getParLanguage): comment out some hard stuff.
7708
7709         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7710         (sgmlError): ditto
7711         (simpleDocBookOnePar): ditto
7712         (makeDocBookFile): use ParagraphList::iterator
7713
7714         * CutAndPaste.C (pasteSelection): adjust
7715
7716 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7717
7718         * text2.C (getFont): adjust
7719         (getLayoutFont): adjust
7720         (getLabelFont): adjust
7721
7722         * paragraph_funcs.C (TeXOnePar): adjust
7723
7724         * buffer.C (simpleLinuxDocOnePar): adjust
7725         (simpleDocBookOnePar): adjust
7726
7727         * CutAndPaste.C (pasteSelection): adjust
7728
7729         * BufferView.C (getEncoding): adjust
7730
7731         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7732
7733 2003-04-16  John Levon  <levon@movementarian.org>
7734
7735         * lyxfind.C: use parlist stuff for search/changes
7736
7737 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7740
7741         * text2.C (deleteEmptyParagraphMechanism): adjust
7742
7743         * text2.[Ch] (ownerParagraph): delete func (both of them
7744
7745 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7746
7747         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7748
7749 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * ParagraphList.C: prepare for NO_NEXT
7752
7753 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7754
7755         * text2.C (getFont): adjust
7756         (getLayoutFont): adjust
7757         (getLabelFont): adjust
7758
7759         * paragraph.C (getFont): adjust
7760         (getLabelFont): adjust
7761         (getLayoutFont): adjust
7762
7763         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7764
7765 2003-04-15  John Levon  <levon@movementarian.org>
7766
7767         From Angus Leeming
7768
7769         * lyx_main.C: handle Include in .ui files
7770
7771 2003-04-15  John Levon  <levon@movementarian.org>
7772
7773         * MenuBackend.C: make the doc files length shorter
7774
7775         * ToolbarBackend.h:
7776         * ToolbarBackend.C: handle toolbar placement flags,
7777         Minibuffer
7778
7779 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7780
7781         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7782         adjust
7783
7784         * paragraph_funcs.C (TeXOnePar): adjust
7785
7786         * paragraph.C (getLabelFont): add outerfont arg, adjust
7787         (getLayoutFont): ditto
7788         (simpleTeXOnePar): adjust
7789
7790         * paragraph_pimpl.C (realizeFont): delete func
7791
7792 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7793
7794         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7795         row argument, constify cur argument.
7796
7797 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7798
7799         * text2.C (getFont): adjust
7800         (getLayoutFont): adjust
7801         (getLabelFont): adjust
7802
7803         * paragraph_funcs.C (TeXOnePar): adjust
7804         (outerFont): new func...
7805         (realizeFont): ...moved out from here, changed this to facilitate
7806         transition
7807
7808         * paragraph.C (getFont): take outerfont as arg, adjust
7809         (simpleTeXOnePar): add outerfont arg, adjust
7810
7811         * buffer.C (simpleLinuxDocOnePar): adjust
7812         (simpleDocBookOnePar): adjust
7813
7814         * CutAndPaste.C (pasteSelection): adjust
7815
7816         * BufferView.C (getEncoding): adjust
7817
7818 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * text2.C (setCharFont): adjust
7821         (setCounter): adjust
7822
7823         * text.C (leftMargin): adjust
7824         (setHeightOfRow): adjust
7825
7826         * rowpainter.C (paintFirst): adjust
7827         (paintLast): adjust
7828
7829         * paragraph_pimpl.C (realizeFont): adjust
7830
7831         * paragraph.C (isFirstInSequence): move from here...
7832         * paragraph_funcs.C (isFirstInSequence): ...to here
7833
7834         * paragraph.C (outerHook): move from here...
7835         * paragraph_funcs.C (outerHook): ...to here
7836
7837         * paragraph.C (depthHook): move from here...
7838         * paragraph_funcs.C (depthHook): ...to here
7839
7840         * paragraph.C (getEndLabel): move from here...
7841         * paragraph_funcs.C (getEndLabel): ...to here
7842
7843         * text2.C (realizeFont): move from here...
7844         * paragraph_funcs.C (realizeFont): ...to here
7845
7846 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7847
7848         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7849
7850 2003-04-14  Angus Leeming  <leeming@lyx.org>
7851
7852         * LColor.[Ch]: scrap LColor mathcursor.
7853
7854 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * lyxlex.[Ch] (text): delete function
7857         * trans.C (Load): adjust
7858         * paragraph_funcs.C (readParToken): adjust
7859
7860 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7861
7862         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7863         vector<char> instead of a char[].
7864
7865         * lyxlex_pimpl.C (getString): adjust
7866         (next): adjust
7867         (lex): use getString
7868         (eatLine): adjust
7869         (nextToken): adjust
7870
7871         * lyxlex.C (text): use pimpl_->getString()
7872         (getBool): ditto
7873         (findToken): ditto
7874
7875 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7876
7877         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7878         (makeFontEntriesLayoutSpecific): temp var for par.size()
7879         (setLayout): temp var for ownerParagraphs().end()
7880         (fullRebreak): temp var for rows().end()
7881         (selectionAsString): temp var for boost::next(startpit), realize
7882         that the while really is a regular for loop.
7883         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7884         setCursor in one place.
7885         (setParagraph): temp vr for ownerParagraphs().end()
7886         (updateCounters): make the while loop a for loop
7887         (cutSelection): temp var for ownerParagraphs().end()
7888         (updateInset): make the do {} while() a regular for loop
7889         (getCursorX): use temp vars
7890         (setCurrentFont): use temp vars
7891         (getColumnNearX): use temp vars
7892
7893 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7894
7895         * text.C (transformChar): use temp var for getChar
7896         (computeBidiTables): use temp var for row->par()
7897         (fill): move temp vars for row->par() and pit->layout() earlier in
7898         the function.
7899         (labelFill): use temp var for row->par()
7900         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7901         asc and desc, realize that pit never changes and that firstpit is
7902         just a duplicate and not needed. Exchange rit->par() with pit in a
7903         lot of places.
7904         (breakAgain): use a temp var for boost::next(rit)
7905         (breakAgainOneRow): ditto
7906         (breakParagraph): use a temp var for rows().begin()
7907         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7908         (cursorRightOneWord): use temp var for cursor.par() and
7909         cursor.pos(), remove usage of tmpcursor.
7910         (cursorLeftOneWord): use temp var for cursor.par() and
7911         cursor.pos() only set cur at end of function.
7912
7913 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7914
7915         * text.C, text2.C: exchange all usage of Paragraph::next with
7916         boost::next(ParagraphList::iterator)
7917
7918         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7919
7920         * text2.C (cursorTop): simplify implementation
7921         (cursorBottom): ditto
7922         (setParagraph): use ParagraphList::iterator
7923         (setCurrentFont): adjust
7924         (getColumnNearX): adjust
7925         (cursorRight): adjust
7926         (cursorLeft): remove usage of Paragraph::previous
7927         (cursorUpParagraph): ditto
7928         (deleteEmptyParagraphMechanism): slight cleanup
7929
7930         * text.C (isBoundary): take a Paragraph const & instead of a
7931         pointer as arg.
7932         (addressBreakPoint): ditto
7933         (leftMargin): remove usage of Paragraph::previous.
7934         (setHeightOfRow): ditto
7935         (cursorLeftOneWord): ditto
7936         (selectNextWordToSpellcheck): ditto
7937         (Delete): ditto
7938         (backspace): ditto
7939         (breakParagraph): remove one usage of Paragraph::next
7940         (redoParagraph): ditto
7941         (acceptChange): ditto
7942         (insertChar): adjust
7943         (rowBreakPoint): adjust
7944
7945         * bufferview_funcs.C (toggleAndShow): adjust
7946
7947 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7948
7949         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7950         methods to access it.
7951         * lyxtext.h:
7952         * text.C: Added updateRowPositions to compute all row positions.
7953         Make top_y and getRowNearY() to use the cached y position
7954
7955 2003-04-11  John Levon  <levon@movementarian.org>
7956
7957         * text.C (rowBreakPoint): reintroduce the labelEnd
7958         checks, code copied from the row fill stuff. Deep voodoo.
7959
7960         * text.C (fill): add a comment and debugging for the
7961         next poor soul.
7962
7963 2003-04-11  John Levon  <levon@movementarian.org>
7964
7965         * text.C: make sure fullrow insets get wrapped to the next line,
7966         even when they're in a manual label
7967
7968 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * text2.C (insertParagraph): make it take ParagraphList::iterator
7971         as arg.
7972         (setLayout): make it return ParagraphList::iterator
7973         (redoParagraphs): ditto
7974         (setCounter): ditto
7975         (checkParagraph): ditto
7976
7977         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7978
7979         * text2.C: adjust several funcs.
7980         (realizeFont): take a ParagraphList::iterator as arg.
7981         (getLayoutFont): ditto
7982         (getLabelFont): ditto
7983         (setCharFont): ditto
7984
7985         * text.C: adjust several funcs.
7986
7987 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7988
7989         * text.C (selectNextWordToSpellcheck): don't accidentally
7990         skip insets
7991
7992 2003-04-10  John Levon  <levon@movementarian.org>
7993
7994         * ToolbarBackend.C (getIcon): special handling for
7995         LFUN_MATH_DELIM
7996
7997 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7998
7999         * text2.C (cursorRight): a getChar assert fixed
8000
8001 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8002
8003         * text2.C (getFont): change to take a ParagraphList::iterator
8004         instead of Paragraph*
8005         Adjust several functions.
8006
8007         * text.C (transformChar): change to take a ParagraphList::iterator
8008         instead of Paragraph*
8009         (singleWidth): ditto
8010         Adjust several functions.
8011
8012         * rowpainter.C: adjust several functions
8013         * rowpainter.h:store a ParagraphList::iterator and not a
8014         Paragraph&.
8015
8016
8017 2003-04-09  John Levon  <levon@movementarian.org>
8018
8019         * lyxfunc.C:
8020         * lfuns.h:
8021         * LyXAction.h:
8022         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8023         and the "help" bits as well
8024
8025 2003-04-09  John Levon  <levon@movementarian.org>
8026
8027         * ToolbarBackend.h:
8028         * ToolbarBackend.C: allow multiple toolbars
8029
8030 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * undo_funcs.C (setCursorParUndo): adjust
8033
8034         * text_funcs.C (transposeChars): adjust
8035
8036         * text3.C (gotoNextInset): adjust
8037         (dispatch): adjust
8038
8039         * text2.C (setLayout): adjust
8040         (changeDepth): adjust
8041         (setFont): adjust
8042         (redoParagraphs): adjust
8043         (selectionAsString): adjust
8044         (setParagraph): adjust
8045         (insertInset): adjust
8046         (cutSelection): adjust
8047         (copySelection): adjust
8048         (pasteSelection): adjust
8049         (insertStringAsLines): adjust
8050         (updateInset): adjust
8051         (setCursor): change to take a ParagraphList::iterator parameter
8052         (setCursorIntern): change to take a ParagraphList::iterator parameter
8053         (setCurrentFont): adjust
8054         (cursorLeft): adjust
8055         (cursorRight): adjust
8056         (deleteEmptyParagraphMechanism): adjust
8057
8058         * text.C (breakParagraph): adjust
8059         (insertChar): adjust
8060         (acceptChange): adjust
8061         (rejectChange): adjust
8062         (selectNextWordToSpellcheck): adjust
8063         (changeCase): adjust
8064         (Delete): adjust
8065         (backspace): adjust
8066
8067         * lyxfind.C (SearchForward): adjust
8068         (SearchBackward): adjust
8069         (nextChange): adjust
8070
8071         * lyxcursor.C (par): adjust
8072
8073         * lyxcursor.h: store a ParagraphList::iterator instead of a
8074         Paragraph*
8075
8076         * lyx_cb.C (getPossibleLabel): adjust
8077
8078         * bufferview_funcs.C (toggleAndShow): adjust
8079
8080         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8081         (dispatch): adjust
8082
8083         * BufferView.C (removeAutoInsets): adjust
8084         (lockedInsetStoreUndo): adjust
8085
8086 2003-04-09  John Levon  <levon@movementarian.org>
8087
8088         * ToolbarBackend.C: try icon without argument
8089         if with argument fails
8090
8091 2003-04-08  John Levon  <levon@movementarian.org>
8092
8093         * ToolbarBackend.h:
8094         * ToolbarBackend.C: add getIcon(), handle tooltip,
8095         and change from "Icon" to "Item".
8096
8097 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8098
8099         * BufferView.C (lockInset): another bad getchar crunched
8100
8101 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8102
8103         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8104         again)
8105
8106 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8107
8108         * lyxfind.C (searchForward, searchBackwards): bug 782
8109
8110 2003-04-07  John Levon  <levon@movementarian.org>
8111
8112         * paragraph.C: remove dead comment
8113
8114         * text.C: remove troublesome depth-fiddling code
8115         in leftMargin() and rightMargin() (bug 1017)
8116
8117         * text.C: fix breaking of rows in nested lists
8118         (bug 1004)
8119
8120         * text2.C (updateCounters): fix up depth values
8121         (bug 1013)
8122
8123 2003-04-07  John Levon  <levon@movementarian.org>
8124
8125         * BufferView_pimpl.C: clear message when doc finishes resizing,
8126         and after a mouse event
8127
8128         * lyxfunc.C: clear message after exiting inset
8129
8130 2003-04-07  John Levon  <levon@movementarian.org>
8131
8132         * bufferview_funcs.C: show math status not outside
8133         status in the statusbar
8134
8135 2003-04-07  John Levon  <levon@movementarian.org>
8136
8137         * lyxfunc.C: note status changed after a depth change
8138
8139 2003-04-04  Angus Leeming  <leeming@lyx.org>
8140
8141         * LaTeX.h: move AuxInfo operator==, != out of line.
8142         Remove LaTeX virtual destructor; nothing derives from it.
8143         Move operator()() out of public area and rename it startscript().
8144         Change protected for private.
8145
8146 2003-04-04  Angus Leeming  <leeming@lyx.org>
8147
8148         * lyxfunc.C:
8149         * text2.C: remove unneeded #includes.
8150
8151 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8152
8153         * text2.C (dEPM): fix the heigth of the next row
8154
8155 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8156
8157         * text.C: squashed an invalid getChar requester + some ws changes
8158
8159 2003-04-03  John Levon  <levon@movementarian.org>
8160
8161         * bufferview_funcs.h:
8162         * bufferview_funcs.C:
8163         * lyxfunc.C:
8164         * lyxtext.h:
8165         * text2.C: make getStatus work for the env depth lfuns
8166
8167 2003-04-03  John Levon  <levon@movementarian.org>
8168
8169         * bufferview_funcs.h:
8170         * bufferview_funcs.C:
8171         * lyxfunc.C:
8172         * lyxtext.h:
8173         * text2.C: parlistize decDepth(), by merging it with incDepth()
8174
8175 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8176
8177         * lyxrow.h: store a ParagraphList::iterator instead of a
8178         Paragraph* and adjust other class functions to suit.
8179
8180         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8181         above.
8182
8183 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8184
8185         * text2.C (setCursor): do not anchor to cursor row for the time being
8186
8187 2003-04-02  John Levon  <levon@movementarian.org>
8188
8189         * LyXAction.C:
8190         * lfuns.h:
8191         * lyx_main.C:
8192         * lyxtext.h:
8193         * text.C:
8194         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8195
8196 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8197
8198         * paragraph.h: make ParagraphList and ParagraphList::iterator
8199         friends of Paragraph.
8200
8201         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8202
8203         * ParagraphList.C: Use the private next_ and previous_ from
8204         Paragraph.
8205
8206 2003-04-01  John Levon  <levon@movementarian.org>
8207
8208         * ToolbarBackend.h:
8209         * ToolbarBackend.C:
8210         * Makefile.am: rename, remove defaults gunk
8211
8212         * MenuBackend.h:
8213         * MenuBackend.C: remove defaults gunk
8214
8215         * Languages.h:
8216         * Languages.C: remove defaults gunk
8217
8218         * lyx_main.h:
8219         * lyx_main.C: error out if files couldn't be found.
8220
8221 2003-04-02  John Levon  <levon@movementarian.org>
8222
8223         * text2.C: make incDepth() use parlist
8224
8225 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8226
8227         * undo_funcs.C (firstUndoParagraph): adjust
8228
8229         * text3.C (gotoInset): adjust
8230         (dispatch): adjust, and rewrite loop.
8231
8232         * text2.C (init): adjust, and rewrite loop.
8233         (redoParagraphs): adjust
8234         (updateInset): adjust, and rewrite loop.
8235         (deleteEmptyParagraphMechanism): adjust
8236
8237         * tabular.C (LyXTabular): adjust
8238         (SetMultiColumn): adjust
8239         (TeXRow): adjust
8240
8241         * lyxtext.[Ch] (ownerParagraph): delete function
8242         (ownerParagraphs): new function returns a ParagraphList.
8243
8244         * BufferView.C (removeAutoInsets): adjust
8245         (insertErrors): adjust
8246         (setCursorFromRow): adjust
8247
8248 2003-04-01  Angus Leeming  <leeming@lyx.org>
8249
8250         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8251         in the frontends.
8252
8253 2003-04-02  John Levon  <levon@movementarian.org>
8254
8255         * lyxtext.h:
8256         * text.C:
8257         * Makefile.am:
8258         * text_funcs.h:
8259         * text_funcs.C: make transposeChars a free function
8260
8261         * lyxrow_funcs.C: remove wrong comment
8262
8263 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8264
8265         * lyxtext.h: adjust
8266         * rowpainter.C: adjust
8267         * text.C: adjust
8268         * text2.C: adjust
8269         * text3.C: adjust
8270
8271         * lyxrow_funcs. [Ch]: new files
8272
8273         * lyxrow.[Ch]: remove next and previous pointers
8274         (next,previous): remove accessor functions
8275         (isParEnd): move to lyxrow_funcs
8276         (lastPos): move to lyxrow_funcs
8277         (nextRowIsAllInset): move to lyxrow_funcs
8278         (lastPrintablePos): move to lyxrow_funcs
8279         (numberOfSeparators): move to lyxrow_funcs
8280         (numberOfHfills): move to lyxrow_funcs
8281         (numberOfLabelHfills): move to lyxrow_funcs
8282         (hfillExpansion): move to lyxrow_funcs
8283
8284         * lyxfunc.C: adjust
8285
8286         * bufferview_funcs.C (toggleAndShow): adjust
8287
8288         * RowList.h: Remove class RowList from file leave just a
8289         std::list<Row>.
8290
8291         * RowList.C: delete file
8292
8293         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8294         and lyxrow_funcs.h
8295
8296 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8297
8298         * text3.C (cursorPrevious): adjust
8299         (cursorNext): adjust
8300         (dispatch): adjust
8301
8302         * text2.C (redoHeightOfParagraph): adjust
8303         (redoDrawingOfParagraph): adjust
8304         (setCursor): adjust
8305
8306         * text.C (breakParagraph): adjust
8307         (insertChar): adjust
8308         (backspace): adjust
8309
8310         * rowpainter.C (RowPainter): adjust
8311         (leftMargin): simplify and adjust
8312         (most rowpainter functions): adjust.
8313
8314         * rowpainter.h: store the row as RowList::iterator not as Row*
8315
8316         * lyxcursor.C (row): taka RowList::iterator as arg
8317         (irow): ditto
8318
8319         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8320         of Row*.
8321
8322 2003-04-01  Angus Leeming  <leeming@lyx.org>
8323
8324         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8325         stuff like bool Bool.
8326
8327 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8328
8329         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8330         rewrite a loop
8331
8332 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8333
8334         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8335         RowList::iterator.
8336
8337         * lyxtext.h (rows): drop one version and leve a const variant that
8338         returns a RowList::iterator.
8339
8340 2003-03-31  Angus Leeming  <leeming@lyx.org>
8341
8342         * text.C (fill): ensure that the signature is the same as that in the
8343         header file.
8344
8345 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8346
8347         * text2.C (redoParagraphs): adjust
8348         (updateCounters): adjust
8349         (checkParagraph): adjust
8350         (getColumnNearX): adjust and reformat a bit.
8351
8352         * text.C (top_y): adjust
8353         (workWidth): adjust
8354         (leftMargin): adjust
8355         (prepareToPrint): adjust
8356         (getRow): adjust
8357         (getRowNearY): adjust
8358
8359         * lyxtext.h: make rowlist_ mutable.
8360
8361         * RowList.h: add const_iterator
8362         * RowList.C: adjust for RowList::const_iterator.
8363
8364         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8365         adjust.
8366
8367 2003-03-31  John Levon  <levon@movementarian.org>
8368
8369         * lyxrc.h:
8370         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8371
8372         * lyx_main.C: set default fonts from using lyx_gui funcs
8373
8374         * exporter.C: pdf_mode moved from lyxrc
8375
8376         * lyx_cb.C:
8377         * lyxfunc.C: changes from above
8378
8379 2003-03-31  John Levon  <levon@movementarian.org>
8380
8381         * lyx_main.C: fix to the last fix
8382
8383 2003-03-31  John Levon  <levon@movementarian.org>
8384
8385         * bufferlist.C: "Load original" -> "Load Original"
8386
8387         * converter.C:
8388         * exporter.C:
8389         * importer.C:
8390         * lyx_main.C:
8391         * format.C: more Alert cleanups
8392
8393 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * text2.C (removeParagraph): make it take a RowList::iterator as
8396         arg, adjust.
8397         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8398         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8399
8400         * text.C (anchor_row): make it take a RowList::iterator as arg,
8401         adjust.
8402         (computeBidiTables): make it take a const reference to Row instead
8403         of Row pointer, adjust.
8404         (leftMargin): make it take a RowList::iterator as arg, adjust.
8405         (rowBreakPoint): adjust
8406         (breakAgainOneRow): make it take a RowList::iterator as arg,
8407         adjust.
8408         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8409
8410         * bufferview_funcs.C (toggleAndShow): adjust
8411
8412 2003-03-30  John Levon  <levon@movementarian.org>
8413
8414         * Makefile.am:
8415         * BoostFormat.h:
8416         * boost-inst.C: moved to support
8417
8418         * several files: changes as a result
8419
8420 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8421
8422         * text2.C (LyXText): adjust.
8423         (init): adjust
8424         (removeRow): make it take a RowList::iterator as arg, adjust.
8425         (fullRebreak): adjust
8426         (deleteEmptyParagraphMechanism): adjust
8427         (clearPaint): adjust
8428         (postPaint): adjust
8429
8430         * text.C (top_y): adjust
8431         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8432         (breakAgain): make it take a RowList::iterator as arg, adjust.
8433         (breakParagraph): adjust
8434         (insertChar): adjust
8435         (backspace): adjust
8436
8437         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8438         need_break_row, and refresh_row.
8439
8440         * text3.C (dispatch): adjust
8441
8442         * text2.C (checkParagraph): adjust
8443         (setCursor): adjust
8444         (setCursorFromCoordinates): adjust
8445
8446         * text.C (top_y): adjust
8447         (workWidth): adjust
8448         (getRow): make it return a RowList::iterator, adjust
8449         (getRowNearY): make it return a RowList::iterator, adjust
8450
8451         * text2.C (init): adjust
8452         (insertRow): remove function
8453         (insertParagraph): adjust
8454         (redoParagraphs): adjust
8455         (fullRebreak): adjust
8456         (updateCounters): adjust
8457
8458         * text.C (top_y): rewrite to use RowList iterators.
8459         (top_y): adjust
8460         (setHeightOfRow): rewrite to sue RowList iterators.
8461         (appendParagraph): adjust
8462         (breakAgain): adjust
8463         (breakAgainOneRow): adjust
8464         (breakParagraph): adjust
8465         (getRow): adjust
8466         (getRowNearY): adjust, and remove commented code.
8467
8468         * lyxtext.h (firstRow): delete function
8469         (lastRow): delete function
8470         (rows): new function (const and non-const versions.)
8471         (insertRow): delete function
8472
8473         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8474
8475 2003-03-29  John Levon  <levon@movementarian.org>
8476
8477         * BufferView_pimpl.C: always update scrollbar top
8478         because pasting text when we're anchored could mean we
8479         miss an update altogether
8480
8481 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8482
8483         * text2.C (init): use rowlist_.end() and not 0.
8484         (insertRow): change to take a RowList::iterator as arg, adjust
8485         for this.
8486         (insertParagraph): change to take a RowList::iterator as arg,
8487         adjust for this.
8488         (redoParagraphs): remove some debug msgs.
8489
8490         * text.C (appendParagraph): change to take a RowList::iterator
8491         arg, adjust for this.
8492         (breakAgain): add an assert
8493         (breakAgainOneRow): ditto
8494
8495 2003-03-29  John Levon  <levon@movementarian.org>
8496
8497         * text2.C: do not clear selection after inc/decDepth
8498         (bug 550)
8499
8500 2003-03-29  John Levon  <levon@movementarian.org>
8501
8502         * BufferView.C:
8503         * buffer.C: fix broken strerrors according to Lars
8504
8505 2003-03-29  John Levon  <levon@movementarian.org>
8506
8507         * converters.C: more Alert cleanups
8508
8509 2003-03-29  John Levon  <levon@movementarian.org>
8510
8511         * bufferview_funcs.C: remove pointless Alert
8512
8513         * buffer.C: fix confusing error message when
8514         a template is chmoded 000
8515
8516 2003-03-29  John Levon  <levon@movementarian.org>
8517
8518         * BufferView.C:
8519         * BufferView.h:
8520         * BufferView_pimpl.C: Alert fixes
8521
8522         * Makefile.am:
8523         * tabular.C:
8524         * tabular-old.C: remove unused table compat reading
8525
8526 2003-03-29  John Levon  <levon@movementarian.org>
8527
8528         * BufferView.C:
8529         * buffer.C:
8530         * lyx_cb.h:
8531         * lyx_cb.C: more Alert cleanups
8532
8533         * lyxfunc.C: don't allow chktex if not latex document
8534
8535 2003-03-29  John Levon  <levon@movementarian.org>
8536
8537         * lyx_cb.C:
8538         * BufferView.C:
8539         * buffer.C: warnings pushed down from support/,
8540         kill err_alert
8541
8542 2003-03-29  John Levon  <levon@movementarian.org>
8543
8544         * lyxfunc.C: safety check for C-r (revert)
8545
8546 2003-03-29  John Levon  <levon@movementarian.org>
8547
8548         * bufferlist.h:
8549         * bufferlist.C: several UI fixes using Alert::prompt.
8550         Fix the pointless looping quit code. Fix stupid revert
8551         behaviour (bug 938)
8552
8553         * lyxvc.h:
8554         * lyxvc.C:
8555         * lyx_cb.C: use Alert::prompt
8556
8557         * lyx_main.C: remove a silly question
8558
8559         * lyxfunc.C: remove a couple of silly questions,
8560         use Alert::prompt
8561
8562 2003-03-28  John Levon  <levon@movementarian.org>
8563
8564         * text2.C: fix bug 974 (End on empty par)
8565
8566 2003-03-28  John Levon  <levon@movementarian.org>
8567
8568         * BufferView_pimpl.C:
8569         * LyXAction.C:
8570         * lfuns.h: remove do-nothing math greek lfuns
8571
8572 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8573
8574         * lyxgluelength.h (isValidGlueLength): add default arg on
8575         parameter 2. Remove default arg from friend in class.
8576
8577         * lyxlength.h (isValidLength): add default arg on parameter 2.
8578         Remove default arg from friend in class.
8579
8580         * text2.C (LyXText): adjust, initialize refresh_row.
8581         (init): adjust
8582         (removeRow): adjust
8583         (insertRow): adjust
8584         (insertParagraph): adjst
8585         (redoParagraphs): adjust
8586         (fullRebreak): adjust
8587         (updateCounters): adjust
8588         (deleteEmptyParagraphMechanism): first attempt at fixing a
8589         crashing bug.
8590
8591         * text.C (top_y): adjust
8592         (setHeightOfRow): adjust
8593         (getRow): adjust
8594         (getRowNearY): adjust
8595
8596         * lyxtext.h: include RowList.h
8597         (~LyXText): not needed anymore, deleted.
8598         (firstRow): modify for RowList
8599         (lastRow): new function
8600         Delete firstrow and lastrow class variables, add a Rowlist
8601         rowlist_ class variable.
8602
8603         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8604         paragraph is empty.
8605
8606         * RowList.C (insert): fix case where it == begin().
8607
8608 2003-03-26  Angus Leeming  <leeming@lyx.org>
8609
8610         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8611         the thesaurus dialog.
8612
8613 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8614
8615         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8616
8617         * RowList.[Ch]: new files
8618
8619         * ParagraphList.C (erase): handle the case where it == begin
8620         correctly.
8621
8622 2003-03-25  John Levon  <levon@movementarian.org>
8623
8624         * Makefile.am:
8625         * aspell_local.h:
8626         * aspell.C: add new aspell support
8627
8628         * lyxrc.h:
8629         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8630         have it accessible.
8631
8632 2003-03-25  Angus Leeming  <leeming@lyx.org>
8633
8634         * lfuns.h:
8635         * LyXAction.C (init): new LFUN_INSET_INSERT.
8636
8637         * BufferView_pimpl.C (dispatch): split out part of the
8638         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8639
8640         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8641         LFUN_INSET_APPLY.
8642
8643 2003-03-25  Angus Leeming  <leeming@lyx.org>
8644
8645         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8646
8647 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8648
8649         * text2.C:
8650         * text3.C: remove useless row->height(0)
8651
8652 2003-03-25  John Levon  <levon@movementarian.org>
8653
8654         * lyxtext.h:
8655         * text2.C:
8656         * text3.C: rename the refreshing stuff to better names
8657
8658 2003-03-24  John Levon  <levon@movementarian.org>
8659
8660         * BufferView_pimpl.h:
8661         * BufferView_pimpl.C: update layout choice on a mouse
8662         press/release
8663
8664 2003-03-23  John Levon  <levon@movementarian.org>
8665
8666         * Makefile.am: fix commandtags.h reference
8667
8668 2003-03-22  John Levon  <levon@movementarian.org>
8669
8670         * BufferView_pimpl.C:
8671         * lyxtext.h:
8672         * rowpainter.C:
8673         * rowpainter.h:
8674         * text.C:
8675         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8676
8677 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8678
8679         * lyxtext.h:
8680         * text.C: take the rtl methods out of line
8681
8682 2003-03-21 André Pönitz <poenitz@gmx.net>
8683
8684         * metricsinfo.[Ch]: new files containing structures to be passed around
8685         during the two-phase-drawing...
8686
8687 2003-03-21 André Pönitz <poenitz@gmx.net>
8688
8689         * lyxtextclass.C: read 'environment' tag.
8690
8691 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8692
8693         * text2.C (removeRow): fix bug 964
8694
8695 2003-03-20  John Levon  <levon@movementarian.org>
8696
8697         * rowpainter.C:
8698         * text.C:
8699         * text2.C: paint cleanups. Inset::update() dropped font
8700         parameter
8701
8702 2003-03-19  John Levon  <levon@movementarian.org>
8703
8704         * lyxfunc.C: only fitcursor/markDirty if available()
8705
8706 2003-03-19  John Levon  <levon@movementarian.org>
8707
8708         * commandtags.h: rename to ...
8709
8710         * lfuns.h: ... this, and renumber / cleanup
8711
8712 2003-03-19  John Levon  <levon@movementarian.org>
8713
8714         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8715         fit the cursor after an lfun
8716
8717         * BufferView.h:
8718         * BufferView.C:
8719         * BufferView_pimpl.h:
8720         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8721
8722         * LyXAction.C: layout-character should have ReadOnly
8723
8724         * ParagraphParameters.C:
8725         * buffer.C:
8726         * bufferview_funcs.C:
8727         * lyx_cb.C:
8728         * lyxfind.C:
8729         * lyxtext.h:
8730         * text.C:
8731         * text2.C:
8732         * text3.C:
8733         * undo_funcs.C: changes from above
8734
8735 2003-03-18  John Levon  <levon@movementarian.org>
8736
8737         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8738         remove it from update()
8739
8740         * lyxfunc.C: update layout choice after an lfun
8741
8742         * text3.C: remove extra updateLayoutChoice()s
8743
8744 2003-03-18  John Levon  <levon@movementarian.org>
8745
8746         * text.C: top_y change means full repaint, fix
8747         a drawing bug with cursor movement
8748
8749 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8750
8751         * lyxtext.h:
8752         * text.C:
8753         * text2.C: anchor row on setCursor
8754
8755 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8756
8757         * lyxtext.h: remove almost all mutable keywords
8758         * text.C:
8759         * text2.C:
8760         * text3.C: remove const keywords accordingly
8761
8762 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8765         anon namespace
8766         (TeXEnvironment): ditto
8767         (TeXOnePar): ditto
8768
8769 2003-03-17  John Levon  <levon@movementarian.org>
8770
8771         * text.C (rowBreakPoint): remove attempt to fix displayed
8772         math insets inside a manual label
8773
8774 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775
8776         * lyxtext.h: remove BufferView* as first arg from almost all class
8777         functions.
8778         * other files: adjust.
8779
8780 2003-03-17  John Levon  <levon@movementarian.org>
8781
8782         * lyxtext.h:
8783         * undo_funcs.C:
8784         * text2.C: more paint cleanups
8785
8786         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8787
8788         * rowpainter.h:
8789         * rowpainter.C: remove "smart" background painting code
8790
8791 2003-03-16  John Levon  <levon@movementarian.org>
8792
8793         * lyxtext.h:
8794         * text.C:
8795         * text2.C:
8796         * text3.C: add helper functions for setting refresh_row/y
8797
8798 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8799
8800         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8801         newline inset which *can* get inserted in the pass_thru layouts.
8802         This is primarily for literate documents.
8803
8804 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8805
8806         * buffer.C: increment LYX_FORMAT to 223
8807
8808 2003-03-14 André Pönitz <poenitz@gmx.net>
8809
8810         * textclass.h: prepare for environment handling, ws changes
8811         * lyxlayout.C: read latexheader and latexfooter tags
8812
8813 2003-03-14  John Levon  <levon@movementarian.org>
8814
8815         * text2.C: rewrite ::status() a bit
8816
8817 2003-03-13  John Levon  <levon@movementarian.org>
8818
8819         * lyxtext.h: add some docs
8820
8821 2003-03-13  John Levon  <levon@movementarian.org>
8822
8823         * lyxtext.h:
8824         * text.C:
8825         * text2.C:
8826         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8827
8828 2003-03-13  John Levon  <levon@movementarian.org>
8829
8830         * text3.C: fix appendix redrawing
8831
8832 2003-03-13  John Levon  <levon@movementarian.org>
8833
8834         * text.C (setHeightOfRow):
8835         * rowpainter.h:
8836         * rowpainter.C: make appendix mark have the text
8837           "Appendix" so the user knows what it is
8838
8839         * LColor.h:
8840         * LColor.C: s/appendixline/appendix/ from above
8841
8842 2003-03-13  John Levon  <levon@movementarian.org>
8843
8844         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8845
8846         * text.C: fix a getChar(pos) bug properly
8847
8848 2003-03-13  Angus Leeming  <leeming@lyx.org>
8849
8850         * commandtags.h:
8851         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8852         Probably only temporary. Let's see how things pan out.
8853
8854         * BufferView.C (unlockInset):
8855         * BufferView_pimpl.C (fitCursor):
8856         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8857
8858         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8859         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8860
8861         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8862         new functions that convert ParagraphParameters to and from a string.
8863
8864         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8865         BufferView::Pimpl's dispatch.
8866         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8867
8868 2003-03-13 André Pönitz <poenitz@gmx.net>
8869
8870         * lyxfunc.C:
8871         * text3.C:
8872         * factory.C: make it aware of InsetEnv
8873
8874 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8875
8876         * text2.C (setCursor): never ask for one past last
8877         (setCursor): add some debugging messages.
8878
8879         * text.C (singleWidth): never ask for one past last
8880         (singleWidth): ditto
8881         (leftMargin): ditto
8882         (rightMargin): ditto
8883         (rowBreakPoint): ditto
8884         (setHeightOfRow): ditto
8885         (prepareToPrint): ditto
8886
8887         * rowpainter.C (paintBackground): never ask for one past last
8888         (paintText): never ask for one past last
8889
8890         * paragraph_pimpl.C (getChar): make the assert stricter, never
8891         allow the one past last pos to be taken
8892
8893         * paragraph.C (getChar): ws changes only
8894
8895         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8896         (numberOfSeparators): ditto
8897         (numberOfHfills): ditto
8898
8899 2003-03-12  John Levon  <levon@movementarian.org>
8900
8901         * author.h:
8902         * author.C:
8903         * bufferparams.h:
8904         * bufferparams.C:
8905         * paragraph_funcs.C: fix per-buffer authorlists
8906
8907 2003-03-12  John Levon  <levon@movementarian.org>
8908
8909         * text.C: fix newline in right address
8910
8911 2003-03-12  Angus Leeming  <leeming@lyx.org>
8912
8913         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8914         duplicate those in LyXFunc::dispatch.
8915
8916         * commandtags.h:
8917         * LyXAction.C:
8918         * ToolbarDefaults.C:
8919         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8920         Add LFUN_FONTFREE_UPDATE.
8921
8922         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8923         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8924
8925         * bufferview_func.[Ch]: several new functions to facilliate
8926         transfer of data to and from the character dialog.
8927
8928 2003-03-12  John Levon  <levon@movementarian.org>
8929
8930         * buffer.C:
8931         * paragraph.h:
8932         * paragraph.C:
8933         * paragraph_funcs.C:
8934         * paragraph_pimpl.C:
8935         * sgml.C:
8936         * tabular.C:
8937         * text.C:
8938         * text3.C: remove META_NEWLINE in favour of an inset
8939
8940         * rowpainter.h:
8941         * rowpainter.C: remove paintNewline (done by inset)
8942
8943 2003-03-12  John Levon  <levon@movementarian.org>
8944
8945         * paragraph_pimpl.C: complain about bad getChar()s
8946         for a while at least
8947
8948 2003-03-12  John Levon  <levon@movementarian.org>
8949
8950         * buffer.h:
8951         * buffer.C: move paragraph read into a separate function,
8952         a little renaming to reflect that.
8953
8954         * bufferparams.h:
8955         * bufferparams.C: remove the author_ids map, not necessary now
8956
8957         * factory.h:
8958         * factory.C: moved Buffer::readInset to here
8959
8960         * paragraph_funcs.h:
8961         * paragraph_funcs.C: readParagraph free function moved from
8962         buffer.C
8963
8964         * tabular.C: name change
8965
8966 2003-03-12  John Levon  <levon@movementarian.org>
8967
8968         * buffer.C:
8969         * ParagraphParameters.C: move par params input to
8970         a read() method
8971
8972         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8973         behave like a normal read from the stream wrt reading
8974         a line vs. a \\token
8975
8976 2003-03-12  John Levon  <levon@movementarian.org>
8977
8978         * paragraph.C:
8979         * ParagraphParameters.h:
8980         * ParagraphParameters.C: move output code to a
8981         ::write() method
8982
8983 2003-03-12  John Levon  <levon@movementarian.org>
8984
8985         * BufferView.C (insertLyXFile):
8986         * buffer.h:
8987         * buffer.C:
8988         * tabular.C: use a parlist iterator for creating the
8989           document.
8990
8991 2003-03-12  John Levon  <levon@movementarian.org>
8992
8993         * buffer.C: make current_change static local not
8994           static file-scope
8995
8996 2003-03-12  John Levon  <levon@movementarian.org>
8997
8998         * buffer.C: fix insertStringAsLines for change tracking
8999
9000 2003-03-12  John Levon  <levon@movementarian.org>
9001
9002         * BufferView.C:
9003         * tabular.C:
9004         * buffer.h:
9005         * buffer.C:
9006         * bufferparams.h:
9007         * bufferparams.C: move author list into params. Rename some
9008           functions. Move the header reading into a separate token
9009           loop. Move the header token reading into BufferParams.
9010
9011 2003-03-12  John Levon  <levon@movementarian.org>
9012
9013         * changes.C: put debug inside lyxerr.debugging() checks
9014
9015 2003-03-11 André Pönitz <poenitz@gmx.net>
9016
9017         * factory.C: make it aware of InsetHFill
9018
9019 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9020
9021         * buffer.C (latexParagraphs): move function from here...
9022         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9023         args.
9024
9025 2003-03-10  Angus Leeming  <leeming@lyx.org>
9026
9027         * LyXAction.C (init): fix bug in poplating array with multiple entries
9028         with the same LFUN (spotted by JMarc).
9029
9030 2003-03-10  John Levon  <levon@movementarian.org>
9031
9032         * text.C:
9033         * text2.C: move getColumnNearX() near its
9034         only call site
9035
9036 2003-03-10  John Levon  <levon@movementarian.org>
9037
9038         * text.C: fix break before a minipage
9039
9040 2003-03-10  John Levon  <levon@movementarian.org>
9041
9042         * text.C: fix the last commit
9043
9044 2003-03-09  John Levon  <levon@movementarian.org>
9045
9046         * lyxtext.h:
9047         * text.C:
9048         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9049         bug 365 (don't break before insets unless needed). Don't
9050         return a value > last under any circumstances.
9051
9052 2003-03-09  Angus Leeming  <leeming@lyx.org>
9053
9054         * BufferView_pimpl.C (trackChanges, dispatch): call
9055         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9056
9057 2003-03-09  Angus Leeming  <leeming@lyx.org>
9058
9059         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9060         than Dialogs::showAboutlyx().
9061
9062 2003-03-09  Angus Leeming  <leeming@lyx.org>
9063
9064         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9065         than Dialogs::showTabularCreate().
9066
9067 2003-03-09  John Levon  <levon@movementarian.org>
9068
9069         * lyxtext.h:
9070         * text.C:
9071         * text2.C: 3rd arg to nextBreakPoint was always the same.
9072           Use references.
9073
9074 2003-03-08  John Levon  <levon@movementarian.org>
9075
9076         * lyxrow.C:
9077         * paragraph.C:
9078         * paragraph.h:
9079         * rowpainter.C:
9080         * text.C:
9081         * text2.C: Remove the "main" bit from the "main body"
9082           notion.
9083
9084 2003-03-08  John Levon  <levon@movementarian.org>
9085
9086         * text.C (leftMargin): The left margin of an empty
9087         manual label paragraph should not include the label width
9088         string length.
9089
9090         * text.C (prepareToPrint): don't attempt to measure hfills
9091         for empty manual label paragraphs - the answer should be 0
9092
9093 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9094
9095         * CutAndPaste.C: remove commented code and reindent.
9096
9097 2003-03-08  John Levon  <levon@movementarian.org>
9098
9099         * lyxfunc.h:
9100         * lyxfunc.C: move reloadBuffer()
9101
9102         * BufferView.h:
9103         * BufferView.C: to here
9104
9105         * lyxvc.C: add comment
9106
9107         * vc-backend.h:
9108         * vc-backend.C: call bv->reload() to avoid
9109           getStatus() check on MENURELOAD
9110
9111 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9112
9113         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9114         to an old format .dep file.
9115
9116 2003-03-07  Angus Leeming  <leeming@lyx.org>
9117
9118         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9119         when the LFUN_MOUSE_RELEASE should have been handled by
9120         inset->localDispatch.
9121
9122 2003-03-07  Angus Leeming  <leeming@lyx.org>
9123
9124         * BufferView_pimpl.C (dispatch):
9125         * LyXAction.C (init):
9126         * ToolbarDefaults.C (init):
9127         * commandtags.h:
9128         * lyxfunc.C (getStatus):
9129         remove LFUN_INSET_GRAPHICS.
9130
9131         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9132
9133 2003-03-07  Angus Leeming  <leeming@lyx.org>
9134
9135         * commandtags.h:
9136         * LyXAction.C (init):
9137         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9138
9139         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9140
9141         * commandtags.h:
9142         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9143
9144         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9145         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9146
9147 2003-03-07  Angus Leeming  <leeming@lyx.org>
9148
9149         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9150         remove "ert".
9151
9152 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9153
9154         * ParagraphList.C (front): new function
9155         (back): implement
9156
9157 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9158
9159         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9160         and top_row_offset_. removed var first_y.
9161         * text.C (top_y):
9162         * text2.C (LyXText, removeRow):
9163         * text3.C:
9164         * BufferView_pimpl.C:
9165         use these methods instead of using first_y
9166
9167 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9168
9169         * text2.C (pasteSelection): adjust for checkPastePossible
9170
9171         * CutAndPaste.C: remove Paragraph * buf and replace with
9172         ParagraphList paragraphs.
9173         (DeleteBuffer): delete
9174         (cutSelection): change the tc type to textclass_type
9175         (copySelection): change the tc type to textclass_type
9176         (copySelection): adjust for ParagraphList
9177         (pasteSelection): change the tc type to textclass_type
9178         (pasteSelection): adjust for Paragraphlist
9179         (nrOfParagraphs): simplify for ParagraphList
9180         (checkPastePossible): simplify for ParagraphList
9181         (checkPastePossible): remove unused arg
9182
9183         * ParagraphList.C (insert): handle the case where there are no
9184         paragraphs yet.
9185
9186         * CutAndPaste.h: make CutAndPaste a namespace.
9187
9188         * text3.C (dispatch): adjust
9189
9190         * text.C (breakParagraph): add a ParagraphList as arg
9191
9192         * paragraph_funcs.C (breakParagraph): change to take a
9193         BufferParams and a ParagraphList as args.
9194         (breakParagraphConservative): ditto
9195         (mergeParagraph): ditto
9196         (TeXDeeper): add a ParagraphList arg
9197         (TeXEnvironment): ditto
9198         (TeXOnePar): ditto
9199
9200         * buffer.C (readLyXformat2): adjust
9201         (insertStringAsLines): adjust
9202         (latexParagraphs): adjust
9203
9204         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9205         (cutSelection): adjust
9206         (pasteSelection): adjust
9207
9208         * BufferView_pimpl.C (insertInset): adjust
9209
9210 2003-03-05  Angus Leeming  <leeming@lyx.org>
9211
9212         * commandtags.h:
9213         * LyXAction.C (init):
9214         * BufferView_pimpl.C (dispatch):
9215         * lyxfunc.C (getStatus):
9216         remove LFUN_CHILD_INSERT.
9217
9218         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9219
9220 2003-03-05  Angus Leeming  <leeming@lyx.org>
9221
9222         * commandtags.h:
9223         * LyXAction.C (init):
9224         * src/factory.C (createInset):
9225         * lyxfunc.C (getStatus):
9226         * text3.C (dispatch):
9227         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9228
9229         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9230
9231 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9232
9233         * ParagraphList.C (insert): handle insert right before end()
9234         (erase): fix cases where it can be first or last paragraph.
9235
9236 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9237
9238         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9239         Paragraph::next and Paragraph::previous
9240         (TeXOnePar): ditto
9241
9242         * text.C (breakParagraph): adjust
9243
9244         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9245         BufferParams& as arg.
9246         (breakParagraph): use ParagraphList::insert
9247         (breakParagraphConservative): take a Buffer* instead of a
9248         BufferParams& as arg.
9249         (breakParagraphConservative): use ParagraphList::insert.
9250
9251         * buffer.C (insertStringAsLines): un-const it
9252         (insertStringAsLines): adjust
9253
9254         * ParagraphList.C (insert): new function
9255
9256         * CutAndPaste.C (pasteSelection): adjust
9257
9258         * text.C (backspace): adjust
9259
9260         * tabular.C (SetMultiColumn): adjust
9261
9262         * CutAndPaste.C (cutSelection): adjust
9263         (pasteSelection): adjust
9264
9265         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9266         Buffer const * as arg
9267
9268         * ParagraphList.C (erase): new function
9269         * paragraph_funcs.C (mergeParagraph): use it
9270         (mergeParagraph): make it take a Buffer* instead of a
9271         BufferParams* as arg
9272
9273         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9274         as arg
9275         (breakParagraphConservative): ditto
9276
9277         * paragraph.h: remove the breakParagraph friend
9278
9279         * paragraph.C (eraseIntern): new function
9280         (setChange): new function
9281
9282         * paragraph_funcs.C (mergeParagraph): make it take a
9283         ParagraphList::iterator instead of a Paragraph *, adjust
9284         accordingly.
9285
9286         * paragraph.h: move an #endif so that the change tracking stuff
9287         also works in the NO_NEXT case.
9288
9289 2003-03-04  Angus Leeming  <leeming@lyx.org>
9290
9291         * commandtags.h:
9292         * LyXAction.C: new LFUN_INSET_MODIFY.
9293
9294         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9295         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9296
9297 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9298
9299         * several files: ws changes only
9300
9301         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9302         (TeXEnvironment): ditto
9303         (TeXDeeper): ditto
9304
9305         * buffer.C (makeLaTeXFile): adjust
9306         (latexParagraphs): make it take ParagraphList::iterator as args
9307
9308 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9309
9310         * buffer.C (latexParagraphs): adjust
9311
9312         * paragraph.C (TeXOnePar): move function...
9313         (optArgInset): move function...
9314         (TeXEnvironment): move function...
9315         * paragraph_pimpl.C (TeXDeeper): move function...
9316         * paragraph_funcs.C: ...here
9317
9318         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9319
9320 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9321
9322         * buffer.C (readInset): remove compability code for old Figure and
9323         InsetInfo insets
9324
9325 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9326
9327         * buffer.C: ws changes
9328         (readInset):
9329
9330         * BufferView_pimpl.C: ditto
9331         * author.C: ditto
9332         * buffer.h: ditto
9333         * bufferlist.h: ditto
9334         * changes.h: ditto
9335         * lyxfunc.C: ditto
9336
9337 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9338
9339         * converter.[Ch]: split into itself +
9340         * graph.[Ch]
9341         * format.[Ch]
9342         * Makefile.am: += graph.[Ch] + format.[Ch]
9343         * MenuBackend.C
9344         * buffer.C
9345         * exporter.C
9346         * importer.C
9347         * lyx_main.C
9348         * lyxfunc.C
9349         * lyxrc.C: added #include "format.h"
9350
9351 2003-02-27  Angus Leeming  <leeming@lyx.org>
9352
9353         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9354           a label.
9355
9356         * factory.C (createInset): add "label" to the factory.
9357
9358         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9359           string and do no more.
9360
9361 2003-02-27  Angus Leeming  <leeming@lyx.org>
9362
9363         * commandtags.h:
9364         * LyXAction.C (init):
9365         * factory.C (createInset):
9366         * BufferView_pimpl.C (dispatch):
9367           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9368
9369         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9370
9371         * lyxfunc.C (dispatch):
9372         * text3.C (dispatch): pass name to params2string.
9373
9374 2003-02-26  Angus Leeming  <leeming@lyx.org>
9375
9376         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9377           blocks together.
9378           Rearrange the ~includes. Strip out the unnecessary ones.
9379
9380         * factory.C (createInset): reformat.
9381           create new insets for the various LFUN_XYZ_APPLY lfuns.
9382
9383 2003-02-26  John Levon  <levon@movementarian.org>
9384
9385         * lyxrow.h:
9386         * lyxrow.C: add isParStart,isParEnd helpers
9387
9388         * paragraph.h: make isInserted/DeletedText take refs
9389
9390         * paragraph_funcs.h:
9391         * paragraph_funcs.C: remove #if 0'd code
9392
9393         * lyxtext.h:
9394         * text3.C:
9395         * text2.C:
9396         * text.C: use lyxrow helpers above.
9397           Move draw and paint routines to RowPainter.
9398           Make several methods use refs not pointers.
9399           Make backgroundColor() const.
9400           Add markChangeInDraw(), isInInset().
9401           Merge changeRegionCase into changeCase.
9402           Make workWidth() shouldn't-happen code into an Assert.
9403
9404         * rowpainter.h:
9405         * rowpainter.C: new class for painting a row.
9406
9407         * vspace.h:
9408         * vspace.C: make inPixels take a ref
9409
9410 2003-02-26  Angus Leeming  <leeming@lyx.org>
9411
9412         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9413         LFUN_REF_APPLY.
9414
9415 2003-02-25  John Levon  <levon@movementarian.org>
9416
9417         * ispell.C: give the forked command a more accurate name
9418
9419 2003-02-22  John Levon  <levon@movementarian.org>
9420
9421         * toc.h:
9422         * toc.C: make TocItem store an id not a Paragraph *
9423           (bug #913)
9424
9425 2003-02-21  Angus Leeming  <leeming@lyx.org>
9426
9427         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9428           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9429           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9430           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9431           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9432           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9433
9434         * BufferView_pimpl.C (dispatch):
9435         * LyXAction.C (init):
9436         * factory.C (createInset):
9437         * lyxfunc.C (getStatus, dispatch):
9438         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9439
9440 2003-02-21  Angus Leeming  <leeming@lyx.org>
9441
9442         * BufferView_pimpl.C (MenuInsertLyXFile):
9443         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9444         * lyxfunc.C (menuNew, open, doImport):
9445           no longer pass a LyXView & to fileDlg.
9446
9447 2003-02-21  Angus Leeming  <leeming@lyx.org>
9448
9449         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9450         * LyXAction.C: change, BIBKEY to BIBITEM.
9451         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9452         Change InsetBibKey to InsetBibitem.
9453         Change BIBKEY_CODE to BIBITEM_CODE.
9454         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9455         * factory.C: replace insetbib.h with insetbibitem.h.
9456         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9457         * paragraph.C: replace insetbib.h with insetbibitem.h.
9458         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9459         Change bibkey() to bibitem().
9460         * text.C: remove insetbib.h.
9461         * text2.C: replace insetbib.h with insetbibitem.h.
9462         change bibkey() to bibitem().
9463         * text3.C: remove insetbib.h.
9464         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9465
9466 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9467
9468         * lyxrc.C (output): enclose user email in quotes (in case there are
9469         several words)
9470
9471 2003-02-18  John Levon  <levon@movementarian.org>
9472
9473         * buffer.h: add std::
9474
9475 2003-02-17  John Levon  <levon@movementarian.org>
9476
9477         * SpellBase.h:
9478         * ispell.h:
9479         * ispell.C:
9480         * pspell.h:
9481         * pspell.C: reworking. Especially in ispell, a large
9482           number of clean ups and bug fixes.
9483
9484         * lyxfunc.C: fix revert to behave sensibly
9485
9486 2003-02-17 André Pönitz <poenitz@gmx.net>
9487
9488         * LyXAction.C:
9489         * commandtags.h: new LFUN_INSERT_BIBKEY
9490
9491         * layout.h:
9492         * lyxlayout.C:
9493         * buffer.C:
9494         * factory.C:
9495         * text.C:
9496         * text2.C:
9497         * text3.C:
9498         * paragraph.[Ch]:
9499         * paragraph_func.C: remove special bibkey handling
9500
9501 2003-02-17  John Levon  <levon@movementarian.org>
9502
9503         * text.C (Delete): fix case where delete at the end of
9504           the very first paragraph would not merge the pars
9505
9506 2003-02-17  John Levon  <levon@movementarian.org>
9507
9508         * lyxrow.C: fix lastPrintablePos()
9509
9510 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9511
9512         * bufferparams.C (writeLaTeX): add a std:here
9513
9514         * buffer.C: and remove a using directive there
9515
9516 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9517
9518         * buffer.C (makeLaTeXFile): move the code that generates the
9519           preamble...
9520
9521         * bufferparams.C (writeLaTeX): ... in this new method
9522
9523         * LaTeXFeatures.C (getEncodingSet): make const
9524           (getLanguages): make const
9525
9526         * MenuBackend.C (binding): returns the binding associated to this
9527           action
9528           (add): sets the status of each item by calling getStatus. Adds
9529           some intelligence.
9530           (read): add support for OptSubMenu
9531           (expand): remove extra separator at the end of expanded menu
9532
9533 2003-02-15  John Levon  <levon@movementarian.org>
9534
9535         * BufferView.C:
9536         * BufferView_pimpl.C:
9537         * bufferlist.h:
9538         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9539           inset code that had no actual effect. Remove unneeded status
9540           code.
9541
9542 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9543
9544         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9545           in preamble
9546
9547 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9548
9549         * text.C (drawLengthMarker): also draw an arrow marker for
9550           symbolic lengths (medskip...)
9551
9552 2003-02-14  John Levon  <levon@movementarian.org>
9553
9554         * tabular.h:
9555         * tabular.C: better method names
9556
9557 2003-02-14  John Levon  <levon@movementarian.org>
9558
9559         * BufferView_pimpl.C:
9560         * bufferlist.C:
9561         * buffer.C:
9562         * converter.C:
9563         * lyx_cb.C:
9564         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9565           it's a more accurate name. Remove some pointless uses.
9566
9567 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9568
9569         * text2.C (LyXText): change order of initilizers to shut off
9570           warnings
9571
9572 2003-02-14  John Levon  <levon@movementarian.org>
9573
9574         * buffer.C: use ParIterator for getParFromID()
9575
9576         * paragraph.h:
9577         * paragraph.C:
9578         * paragraph_pimpl.h:
9579         * paragraph_pimpl.C: remove unused getParFromID()
9580
9581 2003-02-14  John Levon  <levon@movementarian.org>
9582
9583         * buffer.C: remove some very old #if 0'd parse code
9584
9585 2003-02-13  John Levon  <levon@movementarian.org>
9586
9587         * text.h:
9588         * text.C:
9589         * text2.C: move hfillExpansion(), numberOfSeparators(),
9590           rowLast(), rowLastPrintable(), numberofHfills(),
9591           numberOfLabelHfills() ...
9592
9593         * lyxrow.h:
9594         * lyxrow.C: ... to member functions here.
9595
9596         * paragraph.h:
9597         * paragraph.C:
9598         * lyxtext.h:
9599         * text.C: remove LyXText::beginningOfMainBody(), and call
9600           p->beginningOfMainBody() directly. Move the check for
9601           LABEL_MANUAL into the latter.
9602
9603         * text.h:
9604         * text.C:
9605         * text2.C:
9606         * vspace.C:
9607         * BufferView.h:
9608         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9609
9610         * text.h:
9611         * text.C:
9612         * text2.C:
9613         * text3.C:
9614         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9615           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9616
9617 2003-02-13  John Levon  <levon@movementarian.org>
9618
9619         * CutAndPaste.C: remove debug
9620
9621 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9622
9623         * paragraph.C (asString): remove two unused variables
9624
9625         * lyxtextclass.C (readTitleType):
9626           (Read):
9627           (LyXTextClass): handle new members titletype_ and titlename_
9628
9629         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9630
9631 2003-02-09  John Levon  <levon@movementarian.org>
9632
9633         * buffer.h:
9634         * buffer.C: replace hand-coded list with a map for the dep clean
9635
9636 2003-02-08  John Levon  <levon@movementarian.org>
9637
9638         * LaTeX.C: consolidate code into showRunMessage() helper
9639
9640 2003-02-08  John Levon  <levon@movementarian.org>
9641
9642         * lyxfind.C:
9643         * lyxtext.h:
9644         * text2.C:
9645         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9646           and pass the size in explicitly
9647
9648         * BufferView_pimpl.h:
9649         * BufferView_pimpl.C:
9650         * BufferView.h:
9651         * BufferView.C: add getCurrentChange()
9652
9653         * BufferView_pimpl.h:
9654         * BufferView_pimpl.C: handle change lfuns
9655
9656         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9657           for changes. Mark pasted paragraphs as new.
9658
9659         * support/lyxtime.h:
9660         * support/lyxtime.C:
9661         * DepTable.C: abstract time_t as lyx::time_type
9662
9663         * LColor.h:
9664         * LColor.C: add colours for new text, deleted text, changebars
9665
9666         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9667           package use "usenames" option.
9668
9669         * commandtags.h:
9670         * lyxfunc.C:
9671         * LyXAction.C: add change lfuns
9672
9673         * Makefile.am:
9674         * author.h:
9675         * author.C: author handling
9676
9677         * buffer.h:
9678         * buffer.C: add a per-buffer author list, with first entry as
9679           current author. Handle new .lyx tokens for change tracking. Output
9680           author list to .lyx file. Output dvipost stuff to .tex preamble.
9681           Bump lyx format to 222.
9682
9683         * bufferlist.h:
9684         * bufferlist.C: add setCurrentAuthor() to reset current author details
9685           in all buffers.
9686
9687         * bufferparams.h:
9688         * bufferparams.C: add param for tracking
9689
9690         * bufferview_funcs.C: output change info in minibuffer
9691
9692         * Makefile.am:
9693         * changes.h:
9694         * changes.C: add change-tracking structure
9695
9696         * debug.h:
9697         * debug.C: add CHANGES debug flag
9698
9699         * lyxfind.h:
9700         * lyxfind.C: add code for finding the next change piece
9701
9702         * lyxrc.h:
9703         * lyxrc.C: add user_name and user_email
9704
9705         * lyxrow.h:
9706         * lyxrow.C: add a metric for the top of the text line
9707
9708         * lyxtext.h:
9709         * text.C: implement accept/rejectChange()
9710
9711         * lyxtext.h:
9712         * text.C: paint changebars. Paint new/deleted text in the chosen
9713         colours. Strike through deleted text.
9714
9715         * paragraph.h:
9716         * paragraph.C:
9717         * paragraph_pimpl.h:
9718         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9719           in the current change to the insert functions. Rework erase to
9720           mark text as deleted, adding an eraseIntern() and a range-based
9721           erase(). Implement per-paragraph change lookup and
9722           accept/reject.
9723
9724         * paragraph_funcs.C: Fixup paste for change tracking.
9725
9726         * tabular.C: mark added row/columns as new.
9727
9728         * text.C: fix rowLast() to never return -1. Don't allow
9729           spellchecking of deleted text. Track transpose changes. Don't
9730           allow paragraph break or merge where appropriate.
9731
9732         * text2.C: leave cursor at end of selection after a cut.
9733
9734 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9735
9736         * text.C (getLengthMarkerHeight):
9737         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9738         visible on screen too.
9739
9740 2003-02-07  John Levon  <levon@movementarian.org>
9741
9742         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9743
9744 2003-02-05  Angus Leeming  <leeming@lyx.org>
9745
9746         * lyxserver.C (read_ready): revert my patch of 11 September last year
9747         as it sends PC cpu through the roof. Presumably this means that
9748         the lyxserver will no longer run on an Alpha...
9749
9750 2003-01-30  Angus Leeming  <leeming@lyx.org>
9751
9752         * factory.C (createInset): create an InsetCommandParam of type "index"
9753         and use it to 'do the right thing'.
9754
9755         * text2.C (getStringToIndex): ensure that cursor position is always
9756         reset to the reset_cursor position.
9757
9758 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9759
9760         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9761         disabled.
9762
9763 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9764
9765         * bufferview.C:
9766         * lyxcb.C:
9767         * lyxfunc.C: Output messages with identical spelling, punctuation,
9768         and spaces
9769
9770 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9771
9772         * MenuBackend.C (expandFormats): List only viewable export formats
9773         in "View" menu
9774
9775         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9776         message
9777
9778         * lyxfunc.C (getStatus): Make sure that formats other than
9779         "fax" can also be disabled
9780
9781 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9782
9783         * text3.C (dispatch): put the lfuns that insert insets in 3
9784         groups, and call doInsertInset with appropriate arguments.
9785         (doInsertInset): new function, that creates an inset and inserts
9786         it according to some boolean parameters.
9787
9788 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9789
9790         * buffer.C (readFile): remember to pass on 'par' when calling
9791         readFile recursively.
9792
9793 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9794
9795         * MenuBackend.C (expandFormats): add "..." to import formats.
9796
9797 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9798
9799         * paragraph.C (asString): Remove XForms RTL hacks.
9800
9801 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9802         * buffer.C: fix typo
9803
9804 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9805
9806         * Makefile.am (LIBS): delete var
9807         (lyx_LDADD): add @LIBS@ here instead.
9808
9809 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9810
9811         * Clarify the meaning of "wheel mouse jump"
9812
9813 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9814
9815         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9816         tabular in a float
9817
9818 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9819
9820         * importer.C (Loaders): do not preallocate 3 elements in the
9821         vector, since one ends up with 6 elements otherwise
9822
9823 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9824
9825         * DepTable.C (write): write the file name as last element of the
9826         .dep file (because it may contain spaces)
9827         (read): read info in the right order
9828
9829 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9830
9831         * paragraph_pimpl.C (simpleTeXBlanks):
9832         (simpleTeXSpecialChars):
9833         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9834
9835         * tabular.C (latex): add some missing case statements. Reindent.
9836
9837         * MenuBackend.C (expandToc): remove unused variable.
9838
9839 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9840
9841         * LColor.C:
9842         * LaTeX.C:
9843         * LyXAction.C:
9844         * MenuBackend.C:
9845         * buffer.C:
9846         * exporter.C:
9847         * lyxfunc.C:
9848         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9849         and the like.
9850
9851 2003-01-05  John Levon  <levon@movementarian.org>
9852
9853         * BufferView.h:
9854         * BufferView.C: add getEncoding()
9855
9856         * kbsequence.h:
9857         * kbsequence.C: do not store last keypress
9858
9859         * lyxfunc.h:
9860         * lyxfunc.C: store last keypress here instead. Pass encoding
9861           to getISOEncoded()
9862
9863 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9864
9865         * lyx_main.C (init): remove annoying error message when following
9866         symbolic links (bug #780)
9867
9868 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9869
9870         * text.C (insertChar):
9871         * lyxrc.C (getDescription): remove extra spaces
9872
9873 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9874
9875         * lyxrc.C (getDescription): remove extra spaces
9876
9877 2002-12-20  John Levon  <levon@movementarian.org>
9878
9879         * text3.C: hack fix for page up/down across tall rows
9880
9881 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9882
9883         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9884         not been invoked
9885
9886 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9887
9888         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9889         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9890         thesaurus is not compiled in
9891
9892 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9893
9894         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9895
9896 2002-12-16  Angus Leeming  <leeming@lyx.org>
9897
9898         * lyxrc.[Ch]:
9899         * lyx_main.C (init): remove override_x_deadkeys stuff.
9900
9901 2002-12-12  John Levon  <levon@movementarian.org>
9902
9903         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9904           insert. Only remove shift modifier under strict
9905           circumstances.
9906
9907 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9908
9909         * MenuBackend.C (expandToc): fix crash.
9910
9911 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9912
9913         * MenuBackend.C (expandToc): gettext on float names.
9914
9915 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9916
9917         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9918         implement bool empty() [bug 490]
9919
9920 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9921
9922         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9923
9924 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9925
9926         * several files: ws changes
9927
9928 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9929
9930         * text2.C (setCounter): clean up a bit, use boost.format.
9931         (updateCounters): initialize par upon declaration.
9932
9933         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9934         if the layout exists. We do not just store the layout any more.
9935         (SwitchLayoutsBetweenClasses): use boost.format
9936
9937 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9938
9939         * converter.C (convert): if from and to files are the same, use a
9940         temporary files as intermediary
9941
9942 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9943
9944         * commandtags.h:
9945         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9946
9947 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9948
9949         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9950
9951 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9952
9953         * tabular.C (asciiPrintCell): use string(size, char) instead of
9954         explicit loop.
9955
9956         * sgml.C (openTag): fix order of arguments to string constructor
9957         (closeTag): ditto
9958
9959         * lyxfunc.C (dispatch): use boost.format
9960
9961         * lots of files: change "c" -> 'c'
9962
9963 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9964
9965         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9966
9967 2002-11-25  Angus Leeming  <leeming@lyx.org>
9968
9969         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9970
9971         * lyx_main.C (init): compile fix.
9972
9973 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9974
9975         * lyx_cb.C (start): boost.formatify
9976         do not include <iostream>
9977
9978         * lengthcommon.C: ws only
9979
9980         * boost-inst.C,BoostFormat.h: add more explict instantations
9981
9982 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9983
9984         * lots of files: handle USE_BOOST_FORMAT
9985
9986 2002-11-21  John Levon  <levon@movementarian.org>
9987
9988         * pspell.C: fix compile
9989
9990 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9991
9992         * lyxfunc.C (dispatch): use boost::format
9993         (open): ditto
9994         (doImport): ditto
9995
9996         * lyxfont.C (stateText): use boost::format
9997
9998         * lyx_main.C (LyX): use boost::format
9999         (init): ditto
10000         (queryUserLyXDir): ditto
10001         (readRcFile): ditto
10002         (parse_dbg): ditto
10003         (typedef boost::function): use the recommened syntax.
10004
10005         * importer.C (Import): use boost::format
10006
10007         * debug.C (showLevel): use boost::format
10008
10009         * converter.C (view): use boost::format
10010         (convert): ditto
10011         (move): ditto
10012         (scanLog): ditto
10013
10014         * bufferview_funcs.C (currentState): use boost::format
10015
10016         * bufferlist.C (emergencyWrite): use boost::format
10017
10018         * buffer.C (readLyXformat2): use boost::format
10019         (parseSingleLyXformat2Token): ditto
10020
10021         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10022
10023         * LaTeX.C (run): use boost::format
10024
10025         * Chktex.C (scanLogFile): use boost::format
10026
10027         * BufferView_pimpl.C (savePosition): use boost::format
10028         (restorePosition): ditto
10029         (MenuInsertLyXFile): ditto
10030
10031         * BoostFormat.h: help file for explicit instation.
10032
10033 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10034
10035         * tabular.C (latex): Support for block alignment in fixed width
10036         columns.
10037
10038 2002-11-17  John Levon  <levon@movementarian.org>
10039
10040         * BufferView_pimpl.C:
10041         * lyx_cb.C:
10042         * lyxfunc.C: split filedialog into open/save
10043
10044 2002-11-08  Juergen Vigna  <jug@sad.it>
10045
10046         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10047         by my last patch (hopefully).
10048
10049 2002-11-08  John Levon  <levon@movementarian.org>
10050
10051         * iterators.h:
10052         * iterators.C:
10053         * buffer.h:
10054         * buffer.C:
10055         * paragraph.h:
10056         * paragraph.C:
10057         * toc.h:
10058         * toc.C: ParConstIterator, and use it (from Lars)
10059
10060 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10061
10062         * lyxtextclass.[Ch]: revise and add doxygen comments
10063
10064 2002-11-07  John Levon  <levon@movementarian.org>
10065
10066         * text.C: fix progress value for spellchecker
10067
10068         * toc.C: fix navigate menu for insetwrap inside minipage
10069
10070         * paragraph_funcs.C: added FIXME for suspect code
10071
10072 2002-11-07  John Levon  <levon@movementarian.org>
10073
10074         * BufferView_pimpl.C: fix redrawing of insets
10075           on buffer switch
10076
10077 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10078
10079         * text2.C (updateCounters): fix bug 668
10080
10081 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10082
10083         * text3.C (dispatch): Do not make the buffer dirty when moving the
10084         cursor.
10085
10086 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10087
10088         * vc-backend.C: STRCONV
10089         (scanMaster): ditto
10090
10091         * text2.C (setCounter): STRCONV
10092
10093         * paragraph.C (asString): STRCONV
10094
10095         * lyxlength.C (asString): STRCONV
10096         (asLatexString): ditto
10097
10098         * lyxgluelength.C (asString): STRCONV
10099         (asLatexString): ditto
10100
10101         * lyxfunc.C (dispatch): STRCONV
10102         (open): ditto
10103
10104         * lyxfont.C (stateText): STRCONV
10105
10106         * importer.C (Import): STRCONV
10107
10108         * counters.C (labelItem): STRCONV
10109         (numberLabel): ditto
10110         (numberLabel): remove unused ostringstream o
10111
10112         * chset.C: STRCONV
10113         (loadFile): ditto
10114
10115         * bufferview_funcs.C (currentState): STRCONV
10116
10117         * buffer.C (readFile): STRCONV
10118         (asciiParagraph): ditto
10119         (makeLaTeXFile): ditto
10120
10121         * Spacing.C (writeEnvirBegin): STRCONV
10122
10123         * LaTeXFeatures.C (getLanguages): STRCONV
10124         (getPackages): ditto
10125         (getMacros): ditto
10126         (getBabelOptions): ditto
10127         (getTClassPreamble): ditto
10128         (getLyXSGMLEntities): ditto
10129         (getIncludedFiles): ditto
10130
10131         * LaTeX.C: STRCONV
10132         (run): ditto
10133         (scanAuxFile): ditto
10134         (deplog): ditto
10135
10136         * LString.h: add the STRCONV macros
10137
10138         * BufferView_pimpl.C (savePosition): STRCONV
10139         (restorePosition): ditto
10140         (MenuInsertLyXFile): ditto
10141
10142         * vc-backend.C (scanMaster): change from submatch[...] to
10143         submatch.str(...)
10144
10145         * funcrequest.C: include config.h
10146
10147         * factory.C: include config.h
10148
10149         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10150
10151         * box.C: include config.h
10152
10153         * LaTeX.C (scanAuxFile): change from submatch[...] to
10154         submatch.str(...)
10155         (deplog): ditto
10156
10157 2002-10-25  Angus Leeming  <leeming@lyx.org>
10158
10159         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10160
10161         * ispell.[Ch] (setError): new method.
10162         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10163         Use setError() insetead of goto END.
10164
10165         * lyx_cb.C (AutoSave): move out child process into new class
10166         AutoSaveBuffer.
10167
10168 2002-10-30  John Levon  <levon@movementarian.org>
10169
10170         * text3.C: make start appendix undoable
10171
10172 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10173
10174         * lyxlength.C (inPixels): Fix returned value.
10175
10176         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10177         environment.
10178
10179 2002-10-24  Angus Leeming  <leeming@lyx.org>
10180
10181         * lyxgluelength.h: no need to forward declare BufferParams
10182         or BufferView, so don't.
10183
10184 2002-10-21  John Levon  <levon@movementarian.org>
10185
10186         * BufferView.C: menuUndo ->undo, redo
10187
10188         * BufferView.h: document, remove dead, make some methods private
10189
10190         * paragraph_funcs.h:
10191         * paragraph_funcs.C:
10192         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10193
10194         * buffer.h:
10195         * buffer.C:
10196         * sgml.h:
10197         * sgml.C: move sgml open/close tag into sgml.C
10198
10199         * bufferview_funcs.h: unused prototype
10200
10201         * lyxfunc.h:
10202         * lyxfunc.C: remove unused
10203
10204         * lyxtext.h:
10205         * text.C: remove unused
10206
10207 2002-10-21  John Levon  <levon@movementarian.org>
10208
10209         * BufferView.h:
10210         * BufferView.C:
10211         * BufferView_pimpl.h:
10212         * BufferView_pimpl.C: fix mouse wheel handling based on
10213           patch from Darren Freeman
10214
10215 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10216
10217         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10218
10219 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10220
10221         * lyxlength.C (inPixels): Fix hanfling of negative length.
10222         Fix LyXLength::MU case.
10223
10224 2002-10-16  John Levon  <levon@movementarian.org>
10225
10226         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10227
10228 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10229
10230         * converter.C (view): add support for $$i (file name) and $$p
10231         (file path) for the viewer command. If $$i is not specified, then
10232         it is appended to the command (for compatibility with old syntax)
10233
10234 2002-10-14  Juergen Vigna  <jug@sad.it>
10235
10236         * undo_funcs.C (textHandleUndo): alter the order in which the
10237         new undopar is added to the LyXText, as we have to set first
10238         the right prev/next and then add it as otherwise the rebuild of
10239         LyXText is not correct. Also reset the cursor to the right paragraph,
10240         with this IMO we could remove the hack in "redoParagraphs()".
10241
10242 2002-10-09  Angus Leeming  <leeming@lyx.org>
10243
10244         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10245         to turn off an optimisation if a new inset is to be inserted.
10246
10247 2002-10-11 André Pönitz <poenitz@gmx.net>
10248
10249         * lyxtext.h: make some functions public to allow access
10250         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10251
10252 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10253
10254         * text3.C (dispatch): when changing layout, avoid an infinite loop
10255         [bug #652]
10256
10257 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10258
10259         * lyxrc.C (read): treat a viewer or converter command of "none" as
10260         if it were empty.
10261
10262         * MenuBackend.C (expandFormats): for an update, also allow the
10263         formats that are not viewable
10264
10265         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10266         script if it is newer than the lyxrc.defaults in user directory
10267
10268 2002-10-07 André Pönitz <poenitz@gmx.net>
10269
10270         * text.C: Vitaly Lipatov's small i18n fix
10271
10272 2002-09-25  Angus Leeming  <leeming@lyx.org>
10273
10274         * ispell.h: doxygen fix.
10275
10276 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10277
10278         * buffer.h (readFile): Add a new argument to the method, to allow
10279         reading of old-format templates.
10280
10281 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10282
10283         * toc.C (getTocList): Get TOC from InsetWrap.
10284
10285 2002-09-16  John Levon  <levon@movementarian.org>
10286
10287         * lyxfunc.C: check tabular for cut/copy too
10288
10289 2002-09-12  John Levon  <levon@movementarian.org>
10290
10291         * LyXAction.C: tidy
10292
10293         * factory.h:
10294         * factory.C: add header
10295
10296         * paragraph_funcs.h:
10297         * paragraph_funcs.C: cleanup
10298
10299 2002-09-11  John Levon  <levon@movementarian.org>
10300
10301         * PrinterParams.h: odd/even default to true
10302
10303 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10304
10305         * PrinterParams.h: update printer parameters for new xforms dialog
10306
10307 2002-09-11  Angus Leeming  <leeming@lyx.org>
10308
10309         * lyxserver.C (read_ready): re-write to make it more transparent
10310         and to make it work in coherent fashion under Tru64 Unix.
10311
10312 2002-09-11  André Pönitz <poenitz@gmx.net>
10313
10314         * commandtags.h:
10315         * LyXAction.C:
10316         * text3.C: implement LFUN_WORDSEL
10317
10318 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10319
10320         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10321         make floatlist_ a boost::shared_ptr<FloatList>
10322
10323         * lyxtextclass.C: include FloatList.h
10324         (LyXTextClass): initialize floatlist_
10325         (TextClassTags): add TC_NOFLOAT
10326         (Read): match "nofloat" to TC_NOFLOAT and use it.
10327         (readFloat): modify call to floatlist_
10328         (floats): ditto
10329         (floats): ditto
10330
10331         * FloatList.[Ch] (FloatList): remove commented out float
10332         initialization.
10333         (erase): new function
10334
10335 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10336
10337         * MenuBackend.C (expandToc): fix crash when there is no document
10338         open
10339
10340 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10341
10342         * many files: Add insetwrap.
10343
10344 2002-09-09  John Levon  <levon@movementarian.org>
10345
10346         * text2.C: remove confusing and awkward depth wraparound
10347
10348 2002-09-09  John Levon  <levon@movementarian.org>
10349
10350         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10351
10352         * buffer.h:
10353         * buffer.C: remove getIncludeonlyList()
10354
10355         * paragraph.C:
10356         * lyxfunc.C: remove headers
10357
10358 2002-09-09  Juergen Vigna  <jug@sad.it>
10359
10360         * text.C (getColumnNearX): fix form Michael this is most
10361         probably a cut&paste bug.
10362
10363 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10364
10365         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10366
10367         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10368         references, ws changes.
10369
10370         * text2.C (init): update counters after init
10371         (insertParagraph): no need to set counter on idividual paragraphs.
10372         (setCounter): access the counters object in the textclass object
10373         on in the buffer object.
10374         (updateCounters): ditto
10375
10376         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10377         shared_ptr<Counters> to avoid loading counters.h in all
10378         compilation units.
10379         (LyXTextClass): initialize ctrs_
10380         (TextClassTags): add TC_COUNTER, and ...
10381         (Read): use it here.
10382         (CounterTags): new tags
10383         (readCounter): new function
10384         (counters): new funtion
10385         (defaultLayoutName): return a const reference
10386
10387         * counters.C (Counters): remove contructor
10388         (newCounter): remove a couple of unneeded statements.
10389         (newCounter): simplify a bit.
10390         (numberLabel): some small formatting changes.
10391
10392         * buffer.[Ch]: remove all traces of counters, move the Counters
10393         object to the LyXTextClass.
10394
10395 2002-09-06  Alain Castera  <castera@in2p3.fr>
10396
10397         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10398         package to set the horizontal alignment on fixed width columns.
10399
10400         * lyx_sty.C:
10401         * lyx_sty.h: added tabularnewline macro def.
10402
10403         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10404
10405 2002-09-06  John Levon  <levon@movementarian.org>
10406
10407         * LyXAction.C: tooltips for sub/superscript
10408
10409         * MenuBackend.C: a bit more verbose
10410
10411         * lyxfunc.C: tiny clean
10412
10413         * undo_funcs.C: document undo_frozen
10414
10415 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10416
10417         * counters.C (Counters): add missing algorithm counter.
10418
10419         * text2.C (setCounter): lookup the counter with layouts latexname
10420         instead of by section number.
10421         (setCounter): use a hackish way to lookup the correct enum
10422         counter.
10423         a float name->type change
10424         reset enum couners with counter name directly instead of depth value.
10425
10426         * counters.C (Counters): remove the push_backs, change to use the
10427         float type not the float name.
10428         (labelItem): remove unused string, float name->type change
10429
10430         * counters.h: don't include vector, loose the enums and sects vectors
10431
10432 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10433
10434         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10435         (Read): add float->TC_FLOAT to textclassTags
10436         (Read): and handle it in the switch
10437         (readFloat): new function
10438
10439         * FloatList.C (FloatList): comment out the hardcoded float
10440         definitions.
10441
10442         * lyxlayout.h: ws change.
10443
10444 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10445
10446         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10447
10448 2002-09-03  Angus Leeming  <leeming@lyx.org>
10449
10450         * BufferView_pimpl.h: qualified name is not allowed in member
10451         declaration: WorkArea & Pimpl::workarea() const;
10452
10453         * factory.C: added using std::endl directive.
10454
10455         * text3.C: added using std::find and std::vector directives.
10456
10457 2002-08-29  André Pönitz <poenitz@gmx.net>
10458
10459         * lyxtext.h:
10460         * text2.C: remove unused member number_of_rows
10461
10462         * Makefile.am:
10463         * BufferView2.C: remove file, move contents to...
10464         * BufferView.C: ... here
10465
10466         * BufferView_pimpl.C:
10467         * factory.C: move more inset creation to factory
10468
10469         * vspace.C: avoid direct usage of LyXText, ws changes
10470
10471         * BufferView.[Ch]:
10472                 don't provide direct access to WorkArea, use two simple
10473                 acessors haveSelction() and workHeight() instead
10474
10475
10476 2002-08-29  John Levon  <levon@movementarian.org>
10477
10478         * BufferView_pimpl.C (dispatch): do not continue when
10479           no buffer
10480
10481 2002-08-28  André Pönitz <poenitz@gmx.net>
10482
10483         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10484
10485         * BufferView.h:
10486         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10487
10488 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10489
10490         * buffer.C: increment LYX_FORMAT to 221
10491
10492         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10493         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10494
10495         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10496
10497         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10498
10499 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10500
10501         * factory.C (createInset): use LyXTextClass::floats
10502
10503         * MenuBackend.C (expandFloatListInsert):
10504         (expandFloatInsert):
10505         (expandToc):
10506
10507         * text2.C (setCounter):
10508
10509         * LaTeXFeatures.C (useFloat):
10510         (getFloatDefinitions):
10511
10512         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10513
10514         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10515         floatlist_, with accessor floats().
10516
10517         * FloatList.h: remove global FloatList
10518
10519 2002-08-26  André Pönitz <poenitz@gmx.net>
10520
10521         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10522
10523         * BufferView.h:
10524         * BufferView2.C:
10525         * BufferView_pimpl.C:
10526         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10527
10528 2002-08-25  John Levon  <levon@movementarian.org>
10529
10530         * LyXAction.C: fix margin note description
10531
10532 2002-08-24  John Levon  <levon@movementarian.org>
10533
10534         * buffer.C:
10535         * bufferlist.C:
10536         * bufferview_funcs.C:
10537         * lyxfont.C:
10538         * undo_funcs.C: cleanups
10539
10540         * lyxfunc.C: disable CUT/COPY when no selection
10541
10542 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10543
10544         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10545         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10546
10547         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10548         Add backward compatibility to "mono", "gray" and "no".
10549
10550 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10551
10552         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10553         (and file_format >= 200).
10554
10555 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10556
10557         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10558
10559 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10560
10561         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10562
10563 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10564
10565         * BufferView_pimpl.C:
10566         * LyXAction.C:
10567         * buffer.C:
10568         * commandtags.h:
10569         * lyxfunc.C:
10570         * paragraph.[Ch]:
10571         * text2.C:
10572         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10573         inset and code to make it  work with the paragraph code. The inset
10574         can be anywhere in the paragraph, but will only do the expected
10575         thing in LaTeX if the layout file contains the parameter line
10576                         OptionalArgs    1
10577         (or more generally, a nonzero value) for that layout.
10578
10579 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10580
10581         * paragraph.h: remove the declaration of undefined counters class
10582         function.
10583
10584 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10585
10586         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10587         Dr. Richard Hawkins.
10588
10589 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10590
10591         * paragraph_funcs.h: remove some unneeded includes
10592
10593         * text.C (backspace): pasteParagraph now in global scipe
10594
10595         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10596         (pasteSelection): ditto
10597
10598         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10599         * paragraph_funcs.C (pasteParagraph): ... here
10600
10601 2002-08-20  André Pönitz <poenitz@gmx.net>
10602
10603         * commandtags.h: new LFUNs for swapping/copying table row/colums
10604
10605         * LyXAction.C:
10606         * lyxfunc.C: support for new lfuns
10607
10608 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10609
10610         * tabular.C:
10611         * buffer.[Ch]: remove NO_COMPABILITY stuff
10612
10613 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10614
10615         * boost.C (throw_exception): new file, with helper function for
10616         boost compiled without exceptions.
10617
10618         * paragraph.h:
10619         * lyxlength.C:
10620         * buffer.C:
10621         * ParameterStruct.h:
10622         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10623
10624         * bufferlist.C (emergencyWriteAll): use boost bind
10625
10626         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10627
10628         * text.C: include paragraph_funcs.h
10629         (breakParagraph): breakParagraph is now in global scope
10630
10631         * paragraph_funcs.[Ch]: new files
10632
10633         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10634         global scope
10635
10636         * buffer.C: include paragraph_funcs.h
10637         (insertStringAsLines): breakParagraph is now in global scope
10638
10639         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10640         paragraph_funcs.C
10641
10642         * CutAndPaste.C: include paragraph_funcs.h
10643         (cutSelection): breakParagraphConservative is now in global scope
10644         (pasteSelection): ditto
10645
10646         * buffer.h: declare oprator== and operator!= for
10647         Buffer::inset_iterator
10648
10649         * bufferlist.C (emergencyWrite): don't use fmt(...)
10650
10651         * text3.C: add using std::endl
10652
10653         * BufferView.C (moveCursorUpdate): remove default arg
10654
10655 2002-08-20  André Pönitz <poenitz@gmx.net>
10656
10657         * buffer.[Ch]: move inline functions to .C
10658
10659         * BufferView2.C:
10660         * BufferView_pimpl.C:
10661         * text.C:
10662         * buffer.[Ch]: use improved inset_iterator
10663
10664         * buffer.C:
10665         * paragraph.[Ch]: write one paragraph at a time
10666
10667 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10668
10669         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10670         style if style is not specified.
10671
10672 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10673
10674         * text2.C (setCounter): when searching for right label for a
10675         caption, make sure to recurse to parent insets (so that a caption
10676         in a minipage in a figure float works) (bug #568)
10677
10678 2002-08-20  André Pönitz <poenitz@gmx.net>
10679
10680         * text3.C: new file for LyXText::dispatch() and helpers
10681
10682         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10683
10684         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10685
10686 2002-08-19  André Pönitz <poenitz@gmx.net>
10687
10688         * lyxtext.h:
10689         * text.C: new LyXText::dispatch()
10690
10691         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10692
10693 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10694
10695         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10696
10697         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10698         Hebrew text.
10699
10700 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10701
10702         * Makefile.am: use $(variables) instead of @substitutions@
10703
10704 2002-08-15  André Pönitz <poenitz@gmx.net>
10705
10706         * lyxfunc.C:
10707         * BufferView_pimpl.C: streamlining mathed <-> outer world
10708         interaction
10709
10710         * commandtags.h:
10711         * LyXAction.C: remove unused LFUN_MATH
10712
10713 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10714
10715         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10716
10717 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10718
10719         * paragraph.C (Paragraph): reformat a bit
10720         (cutIntoMinibuffer): use builtin InsetList function instad of
10721         doing it manually.
10722         (getInset): ditto
10723
10724         * buffer.C: include boost/bind.hpp, add using std::for_each
10725         (writeFileAscii): use ParagraphList iterators
10726         (validate): use for_each for validate traversal of paragraphs
10727         (getBibkeyList): use ParagraphList iterators
10728         (resizeInsets): use for_each to resizeInsetsLyXText for all
10729         paragraphs.
10730         (getParFromID): use ParagraphList iterators
10731
10732         * BufferView2.C (lockInset): use paragraph list and iterators
10733
10734 2002-08-14  John Levon  <levon@movementarian.org>
10735
10736         * lyxserver.C: remove spurious xforms include
10737
10738 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10739
10740         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10741
10742 2002-08-13  André Pönitz <poenitz@gmx.net>
10743
10744         * LyXAction.[Ch]:
10745         * lyxfunc.C: further cleaning
10746
10747 2002-08-13  André Pönitz <poenitz@gmx.net>
10748
10749         * funcrequest.h: new constructor
10750
10751         * funcrequest.C: move stuff here from .h
10752
10753         * Makefile.am:
10754         * BufferView_pimpl.C:
10755         * LyXAction.C:
10756         * toc.C:
10757         * lyxfunc.C: subsequent changes
10758
10759         * lyxfunc.h: new view() member function
10760
10761         * lyxfunc.C: subsequent changes
10762
10763 2002-08-13  Angus Leeming  <leeming@lyx.org>
10764
10765         * BufferView2.C:
10766         * BufferView_pimpl.C:
10767         * buffer.C:
10768         * converter.C:
10769         * importer.C:
10770         * lyxfunc.C:
10771         * lyxvc.C:
10772         * toc.C:
10773         * vc-backend.C:
10774         changes due to the changed LyXView interface that now returns references
10775         to member variables not pointers.
10776
10777 2002-08-13  Angus Leeming  <leeming@lyx.org>
10778
10779         * WordLangTuple (word, lang_code): return references to strings,
10780         not strings.
10781
10782         * BufferView.h:
10783         * SpellBase.h:
10784         * lyxtext.h: forward-declare WordLangTuple.
10785
10786         * BufferView2.C:
10787         * ispell.C:
10788         * pspell.C:
10789         * text.C: #include "WordLangTuple.h".
10790
10791         * lyxtext.h:
10792         * text.C: (selectNextWordToSpellcheck): constify return type.
10793
10794 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10795
10796         * buffer.C:
10797         * buffer.h:
10798         * lyxtext.h:
10799         * paragraph.C:
10800         * paragraph_pimpl.h:
10801         * text.C:
10802         * text2.C:
10803         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10804         suggested by Angus.
10805         Made updateCounter always count from start of buffer, and removed
10806         second argument (par).
10807         Reverted floats number display to '#'. Perhaps I'll try again when the
10808         code base is sanitized a bit.
10809
10810 2002-08-12  Angus Leeming  <leeming@lyx.org>
10811
10812         * buffer.[Ch] (getLabelList): constify.
10813
10814 2002-08-07  André Pönitz <poenitz@gmx.net>
10815
10816         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10817
10818         * funcrequest.h: extension to keep mouse (x,y) position
10819
10820 2002-08-12  Juergen Vigna  <jug@sad.it>
10821
10822         * BufferView2.C (insertErrors): forbid undo when inserting error
10823         insets.
10824
10825         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10826
10827 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10828
10829         * ParagraphList.[Ch]: new files
10830
10831         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10832
10833         * BufferView2.C (lockInset): ParagraphList changes
10834         * toc.C: ditto
10835         * text2.C: ditto
10836         * bufferlist.C: ditto
10837         * buffer.h: ditto
10838         * buffer.C: ditto
10839
10840 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10841
10842         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10843         unused class variable counter_,
10844
10845         * paragraph.[Ch] (getFirstCounter): delete unused function
10846
10847         * counters.C: include LAssert.h
10848         (reset): add a new function with no arg, change other version to
10849         not have def. arg and to not allow empty arg.
10850
10851         * text2.C (setCounter): remove empty arg from call to Counters::reset
10852
10853 2002-08-11  John Levon  <levon@movementarian.org>
10854
10855         * Makefile.am: add WordLangTuple.h
10856
10857 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10858
10859         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10860         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10861
10862         * insets/insettext.C: InsetList changes
10863
10864         * graphics/GraphicsSupport.C (operator()): InsetList changes
10865
10866         * toc.C (getTocList): InsetList changes
10867
10868         * paragraph_pimpl.[Ch]: InsetList changes
10869
10870         * paragraph.[Ch]: InsetList changes
10871
10872         * buffer.C (inset_iterator): InsetList changes
10873         (setParagraph): ditto
10874         * buffer.h (inset_iterator): ditto
10875         * iterators.C (operator++): ditto
10876         * iterators.h: ditto
10877
10878         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10879
10880         * InsetList.[Ch]: new files, most InsetList handling moved out of
10881         paragraph.C.
10882
10883         * BufferView2.C (removeAutoInsets): InsetList changes
10884         (lockInset): ditto
10885         (ChangeInsets): ditto
10886
10887 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10888
10889         * paragraph_pimpl.h (empty): new function
10890
10891         * paragraph.[Ch] (empty): new function
10892
10893         * other files: use the new Paragraph::empty function
10894
10895 2002-08-09  John Levon  <levon@movementarian.org>
10896
10897         * lyxtext.h: remove unused refresh_height
10898
10899 2002-08-09  John Levon  <levon@movementarian.org>
10900
10901         * Makefile.am:
10902         * sgml.h:
10903         * sgml.C:
10904         * buffer.C:
10905         * paragraph.h:
10906         * paragraph.C: move sgml char escaping out of paragraph
10907
10908         * paragraph.h:
10909         * paragraph.C: remove id setter
10910
10911         * buffer.C:
10912         * paragraph.C:
10913         * paragraph_pimpl.C: remove dead tex_code_break_column
10914
10915         * bufferview_funcs.C: small cleanup
10916
10917         * lyxfunc.C: remove dead proto
10918
10919         * lyxtext.h: make some stuff private. Remove some dead stuff.
10920
10921         * lyxgluelength.C: make as[LyX]String() readable
10922
10923 2002-08-08  John Levon  <levon@movementarian.org>
10924
10925         * LyXAction.h:
10926         * LyXAction.C:
10927         * MenuBackend.C:
10928         * ToolbarDefaults.C:
10929         * lyxfunc.C:
10930         * lyxrc.C:
10931         * toc.C: lyxaction cleanup
10932
10933 2002-08-08  John Levon  <levon@movementarian.org>
10934
10935         * BufferView2.C: small cleanup
10936
10937         * lyxfind.h:
10938         * lyxfind.C: move unnecessary header into the .C
10939
10940 2002-08-08  John Levon  <levon@movementarian.org>
10941
10942         * funcrequest.h: just tedious nonsense
10943
10944         * lyx_main.h:
10945         * lyx_main.C: cleanups
10946
10947         * buffer.C:
10948         * vspace.C: remove dead header lyx_main.h
10949
10950 2002-08-07  Angus Leeming  <leeming@lyx.org>
10951
10952         * Paragraph.[Ch]:
10953         * paragraph_pimpl.h:
10954         Forward declare class Counters in paragraph.h by moving the ctrs member
10955         variable into Paragraph::Pimpl.
10956         (counters): new method, returning a reference to pimpl_->ctrs.
10957
10958         * text2.C: ensuing changes.
10959
10960 2002-08-07  John Levon  <levon@movementarian.org>
10961
10962         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10963
10964         * BufferView_pimpl.C: announce X selection on double/triple
10965           click
10966
10967         * lyx_main.C: use correct bool in batch dispatch
10968
10969         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10970
10971 2002-08-07  André Pönitz <poenitz@gmx.net>
10972
10973         * funcrequest.h: new class to wrap a kb_action and its argument
10974
10975         * BufferView.[Ch]:
10976         * BufferView_pimpl[Ch]:
10977         * LaTeX.C:
10978         * LyXAction.[Ch]:
10979         * lyxfunc.[Ch]:
10980         * lyxrc.C: subsequent changes
10981
10982
10983 2002-08-07  John Levon  <levon@movementarian.org>
10984
10985         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10986           document options change.
10987
10988 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10989
10990         * counters.[Ch]
10991         * text2.C
10992         * paragraph.[Ch]
10993         * makefile.am: move counters functionality over from
10994         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10995
10996 2002-08-06  John Levon  <levon@movementarian.org>
10997
10998         * WordLangTuple.h: new file for word + language code tuple
10999
11000         * SpellBase.h:
11001         * pspell.h:
11002         * pspell.C:
11003         * ispell.h:
11004         * ispell.C:
11005         * lyxtext.h:
11006         * text.C:
11007         * text2.C:
11008         * BufferView.h:
11009         * BufferView2.C: use WordLangTuple
11010
11011         * layout.h:
11012         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11013
11014 2002-08-06  John Levon  <levon@movementarian.org>
11015
11016         * lyx_main.C: fix cmdline batch handling
11017
11018 2002-08-06  André Pönitz <poenitz@gmx.net>
11019
11020         * lyxrc.C: set default for show_banner to true
11021
11022 2002-08-06  John Levon  <levon@movementarian.org>
11023
11024         * pspell.C: fix a crash, and allow new aspell to work
11025
11026 2002-08-06  John Levon  <levon@movementarian.org>
11027
11028         * lyxfunc.C:
11029         * kbmap.C: small cleanup
11030
11031         * vspace.h:
11032         * vspace.C: add const
11033
11034 2002-08-05  John Levon  <levon@movementarian.org>
11035
11036         * LyXAction.C: back to tabular-insert
11037
11038 2002-08-04  John Levon  <levon@movementarian.org>
11039
11040         * BufferView.h:
11041         * BufferView.C: cosmetic change
11042
11043         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11044
11045         * bufferlist.C:
11046         * buffer.h:
11047         * buffer.C:
11048         * lyxcb.h:
11049         * lyxcb.C:
11050         * lyxserver.C:
11051         * lyxvc.C:
11052         * vc-backend.C:
11053         * BufferView2.C: purge all "Lyx" not "LyX" strings
11054
11055         * lyxcursor.h:
11056         * lyxcursor.C: attempt to add some documentation
11057
11058         * lyxfunc.C:
11059         * commandtags.h:
11060         * LyXAction.C:
11061         * ToolbarDefaults.C:
11062         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11063           merge with LFUN_TABULAR_INSERT
11064
11065         * Makefile.am:
11066         * SpellBase.h:
11067         * ispell.h:
11068         * ispell.C:
11069         * pspell.h:
11070         * pspell.C: split up i/pspell implementations into separate
11071           files, many cleanups
11072
11073         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11074
11075         * text2.C: some cleanup
11076
11077         * lyxfunc.C: don't check for isp_command == "none" any more, it
11078           didn't make any sense
11079
11080 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11081
11082         * counters.[Ch]
11083         * text2.C
11084         * paragraph.[Ch]
11085         * makefile.am: move counters functionality over
11086         from text2.C/paragraph.[Ch] to counters.[Ch], and
11087         make proper C++.
11088 2002-08-02  John Levon  <levon@movementarian.org>
11089
11090         * buffer.C: s/lyxconvert/lyx2lyx/
11091
11092 2002-08-02  Angus Leeming  <leeming@lyx.org>
11093
11094         * lyxlex.C: revert John's change as it breaks reading of the user
11095         preamble.
11096
11097 2002-08-02  Angus Leeming  <leeming@lyx.org>
11098
11099         * importer.C (Import):
11100         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11101         changes due to LyXView::view() now returning a boost::shared_ptr.
11102
11103 2002-08-02  John Levon  <levon@movementarian.org>
11104
11105         * lyxlex.C: small cleanup
11106
11107 2002-08-02  John Levon  <levon@movementarian.org>
11108
11109         * text2.C (status): small cleanup, no logic change
11110
11111 2002-08-01  John Levon  <levon@movementarian.org>
11112
11113         * buffer.h:
11114         * buffer.C (writeFile): don't output alerts, caller
11115           handles this
11116
11117         * bufferlist.C:
11118         * lyx_cb.C: from above
11119
11120         * lyxfunc.C: allow to open non-existent files
11121
11122 2002-07-31  John Levon  <levon@movementarian.org>
11123
11124         * lyxserver.C: don't let incidental errors get
11125           in the way (errno)
11126
11127 2002-07-30  John Levon  <levon@movementarian.org>
11128
11129         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11130
11131 2002-07-30  John Levon  <levon@movementarian.org>
11132
11133         * lyxserver.h:
11134         * lyxserver.C: remove I/O callback too
11135
11136 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11137
11138         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11139         log.
11140
11141 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11142
11143         * many files: strip,frontStrip -> trim,ltrim,rtrim
11144
11145 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11146
11147         * PrinterParams.h: remove extern containsOnly, and include
11148         support/lstrings.h instead.
11149
11150         * LaTeX.C (scanAuxFile): modify because of strip changes
11151         (deplog): ditto
11152         * buffer.C (makeLaTeXFile): ditto
11153         * bufferparams.C (writeFile): ditt
11154         * lyxfont.C (stateText): ditto
11155         * lyxserver.C (read_ready): ditto
11156         * vc-backend.C (scanMaster): ditto
11157
11158         * BufferView_pimpl.h: ws changes
11159
11160         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11161
11162 2002-07-26  André Pönitz <poenitz@gmx.net>
11163
11164         * kb_sequence.C: remove unnedred usings
11165
11166 2002-07-26  Juergen Vigna  <jug@sad.it>
11167
11168         * lyxfind.C (LyXReplace): we have to check better if the returned
11169         text is not of theLockingInset()->getLockingInset().
11170
11171 2002-07-25  Juergen Vigna  <jug@sad.it>
11172
11173         * lyxfind.C (LyXReplace): don't replace if we don't get the
11174         right LyXText.
11175
11176         * undo_funcs.C (createUndo): remove debugging code.
11177
11178 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11179
11180         * buffer.C (parseSingleLyXformat2Token): Use default placement
11181         when reading old floats.
11182
11183         * FloatList.C (FloatList): Change the default placement of figure
11184         and tables to "tbp".
11185
11186 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11187
11188         * MenuBackend.C: using std::max
11189
11190 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11191
11192         * MenuBackend.C (expandToc):
11193         (expandToc2): code moved from xforms menu frontend. It is now
11194         generic and TOCs are transparent to menu frontends.
11195
11196 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11197
11198         * toc.C (getTocList): protect against buf=0
11199
11200         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11201         Menu as first parameter. Now, this calls itself recursively to
11202         expand a whole tree (this will be useful for TOC handling)
11203         (expandFloatInsert): remove 'wide' version of floats
11204
11205         * MenuBackend.h (submenuname): returns the name of the submenu.
11206         (submenu): returns the submenu itself, provided it has been
11207         created by MenuBackend::expand
11208
11209 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11210
11211         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11212         insets which have noFontChange == true. (bug #172)
11213
11214 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11215
11216         * BufferView_pimpl.C: add connection objects and use them...
11217         (Pimpl): here.
11218
11219 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11220
11221         * MenuBackend.C (expandLastfiles):
11222         (expandDocuments):
11223         (expandFormats):
11224         (expandFloatListInsert):
11225         (expandFloatInsert):
11226         (expand): split expand in parts
11227
11228 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11229
11230         * lyx_gui.C: use lyx_gui::exit()
11231
11232 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11233
11234         * LyXAction.C: show the failing pseudo action
11235
11236 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11237
11238         * buffer.C (readFile): Run the lyxconvert script in order to read
11239         old files.
11240
11241 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11242
11243         * LyXAction.C:
11244         * commandtags.h:
11245         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11246
11247 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11248
11249         * LyXAction.C:
11250         * commandtags.h:
11251         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11252
11253 2002-07-22  Herbert Voss  <voss@lyx.org>
11254
11255         * lengthcommon.C:
11256         * lyxlength.[Ch]: add support for the vertical lengths
11257
11258 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * toc.[Ch]: std:: fixes
11261
11262 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11263
11264         * lyxrc.C: do not include lyx_main.h
11265
11266         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11267         for layouts
11268
11269         * lyxrc.C:
11270         * encoding.C:
11271         * bufferlist.C:
11272         * BufferView2.C: include "lyxlex.h"
11273
11274         * tabular.h:
11275         * bufferparams.h: do not #include "lyxlex.h"
11276
11277         * lyxtextclasslist.C (Add): remove method
11278         (classlist): renamed to classlist_
11279
11280         * paragraph_pimpl.C:
11281         * paragraph.C:
11282         * text2.C:
11283         * CutAndPaste.C:
11284         * bufferview_funcs.C:
11285         * bufferlist.C:
11286         * text.C:
11287         * LaTeXFeatures.C:
11288         * buffer.C:
11289         * toc.C (getTocList): use BufferParams::getLyXTextClass
11290
11291         * toc.C (getTocList): use InsetFloat::addToToc
11292
11293         * toc.[Ch]: new files, containing helper functions to handle table
11294         of contents
11295
11296         * lyxfunc.C (dispatch): no need to remove spaces around command
11297         given as a string
11298         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11299         first command of the sequence; it is not very clever, but I do not
11300         have a better idea, actually
11301
11302         * LyXAction.C (LookupFunc): make sure to remove space at the
11303         beginning and end of the command
11304
11305 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11306
11307         * MenuBackend.C (getMenubar): new method: return the menubar of
11308         this menu set
11309         (read): treat differently reading of menu and menubar (in
11310         particular, the menubar has no name now)
11311         (Menu::menubar): remove
11312
11313         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11314         saving is finished
11315
11316 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11317
11318         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11319         a bibitem inset in a RTL paragraph.
11320
11321 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * paragraph_pimpl.C: constify
11324
11325         * BufferView_pimpl.C:
11326         * LaTeX.C:
11327         * lyxfunc.C: fix dispatch in a nicer way
11328
11329 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11330
11331         * lyxfunc.C (dispatch):
11332         * BufferView_pimpl.C:
11333         * BufferView_pimpl.h:
11334         * BufferView.C:
11335         * BufferView.h: rename Dispatch() to dispatch()
11336
11337         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11338
11339         * lyxlayout.C (Read): honor DependsOn tag
11340
11341         * lyxlayout.[Ch] (depends_on): new method
11342
11343         * version.C.in: update lyx_docversion
11344
11345         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11346
11347         * paragraph.C (validate): remove from here...
11348         * paragraph_pimpl.C (validate): ... and move here
11349         (isTextAt): make it const
11350
11351         * buffer.C (getLists): ws cleanup
11352
11353 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11354
11355         * language.C (read): Use iso8859-1 encoding in latex_lang
11356         (this prevents LyX from crashing when using iso10646-1 encoding).
11357
11358 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11359
11360         * text2.C (toggleInset): if cursor is inside an inset, close the
11361         inset and leave cursor _after_ it
11362
11363 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * lyxfunc.C: move minibuffer completion handling out of here
11366
11367 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11368
11369         * BufferView_pimpl.C:
11370         * LaTeX.C: fix dispatch calls
11371
11372 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11373
11374         * text.C (drawChars): Fix Arabic text rendering.
11375
11376 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * LyXAction.C:
11379         * commandtags.h:
11380         * lyxfunc.C: remove message-push/pop
11381
11382         * lyxserver.C:
11383         * lyxfunc.h:
11384         * lyxfunc.C: rationalise some code by removing verboseDispatch
11385           in favour of a bool argument to dispatch()
11386
11387 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11388
11389         * lyx_main.C (init): make sure to read symlinks as absolute paths
11390
11391 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * lyxfunc.h:
11394         * lyxfunc.C: no need for commandshortcut to be a member
11395
11396 2002-07-15  André Pönitz <poenitz@gmx.net>
11397
11398         * converter.C: add support for $$s (scripts from lib/scripts dir)
11399         * lyx_main.C: white space
11400
11401 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * bufferlist.C:
11404         * lyxrc.h:
11405         * lyxrc.C: remove second exit confirmation
11406
11407 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * BufferView.h:
11410         * BufferView.C:
11411         * BufferView2.C:
11412         * BufferView_pimpl.h:
11413         * BufferView_pimpl.C:
11414         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11415
11416 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11417
11418         * MenuBackend.C (expand): add numeric shortcuts to document menu
11419
11420         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11421
11422 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11423
11424         * lyxfont.C (setLyXFamily):
11425         (setLyXSeries):
11426         (setLyXShape):
11427         (setLyXSize):
11428         (setLyXMisc):
11429         (lyxRead):
11430         * debug.C (value):
11431         * buffer.C (asciiParagraph): use ascii_lowercase
11432
11433 2002-07-15  Mike Fabian  <mfabian@suse.de>
11434
11435         * lyxlex_pimpl.C (search_kw):
11436         * lyxlex.C (getLongString):
11437         * converter.h (operator<):
11438         * converter.C (operator<):
11439         * buffer.C (parseSingleLyXformat2Token):
11440         (asciiParagraph):
11441         * ToolbarDefaults.C (read):
11442         * MenuBackend.C (checkShortcuts):
11443         (read):
11444         * LColor.C (getFromGUIName):
11445         (getFromLyXName): use the compare_ascii_no_case instead of
11446         compare_no_case, because in turkish, 'i' is not the lowercase
11447         version of 'I', and thus turkish locale breaks parsing of tags.
11448
11449 2002-07-16  Angus Leeming  <leeming@lyx.org>
11450
11451         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11452         now takes a Buffer const & argument.
11453
11454 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * BufferView.C (resize): check there's a buffer to resize
11457
11458 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11459
11460         * lyxfunc.C: remove dead code
11461
11462         * lyxserver.h:
11463         * lyxserver.C: use lyx_guii::set_read_callback
11464
11465 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11466
11467         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11468         an inset in a RTL paragraph.
11469
11470 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11471
11472         * lyxfunc.C: repaint after a font size update
11473
11474 2002-07-15  André Pönitz <poenitz@gmx.net>
11475
11476         * lyxlength.C: inBP should be able to return negative values
11477
11478 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11479
11480         * lyxfunc.C: use lyx_gui::update_fonts()
11481
11482 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * lyxfunc.C: use lyx_gui::update_color()
11485
11486 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * bufferlist.C:
11489         * lyxfunc.h:
11490         * lyxfunc.C:
11491         * lyxrc.h:
11492         * lyxrc.C: remove file->new asks for name option, and let
11493           buffer-new take an argument
11494
11495 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11496
11497         * BufferView_pimpl.C: remove unneeded extra repaint()
11498
11499 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * LyXAction.C: allow command-sequence with NoBuffer
11502
11503         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11504
11505 2002-07-10  Angus Leeming  <leeming@lyx.org>
11506
11507         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11508
11509 2002-07-09  Angus Leeming  <leeming@lyx.org>
11510
11511         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11512
11513 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * lengthcommon.h: whitespace
11516
11517         * lyxfunc.C: update scrollbar after goto paragraph
11518
11519         * lyxtext.h: factor out page break drawing, and fix it so
11520           page break/added space paints as selected nicely
11521
11522 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * BufferView_pimpl.C: add FIXMEs, clean up a little
11525
11526 2002-07-09  André Pönitz <poenitz@gmx.net>
11527
11528         * lyxfont.[Ch]: support for wasy symbols
11529
11530 2002-07-08  André Pönitz <poenitz@gmx.net>
11531
11532         * BufferView_pimpl.C: apply John's patch for #93.
11533
11534 2002-07-05  Angus Leeming  <leeming@lyx.org>
11535
11536         * BufferView_pimpl.C (buffer): generate previews if desired.
11537
11538         * LColor.h: add "preview" to the color enum.
11539
11540         * LColor.C (LColor): add a corresponding entry to the items array.
11541
11542         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11543         with this buffer.
11544
11545 2002-07-05  Angus Leeming  <leeming@lyx.org>
11546
11547         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11548         The body of the code is now in the method that is passed an ostream &
11549         rather than a file name.
11550         Pass an additional only_preamble parameter, useful for the forthcoming
11551         preview stuff.
11552
11553 2002-07-03  André Pönitz <poenitz@gmx.net>
11554
11555         * lyxfunc.C: simplify getStatus() a bit for math stuff
11556
11557 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11558
11559         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11560
11561 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11562
11563         * text.C (changeRegionCase): do not change case of all the
11564         document when region ends at paragraph end (bug #461)
11565
11566 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11567
11568         * paragraph.C (startTeXParParams):
11569         (endTeXParParams): add \protect when necessary
11570
11571 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11572
11573         * BufferView_pimpl.C (workAreaExpose): remove warning
11574
11575 2002-06-27  Angus Leeming  <leeming@lyx.org>
11576
11577         * Makefile.am: add lyxlayout_ptr_fwd.h.
11578
11579 2002-06-26  André Pönitz <poenitz@gmx.net>
11580
11581         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11582
11583 2002-06-25  Angus Leeming  <leeming@lyx.org>
11584
11585         * lyxfunc.C (dispatch): Comment out the call to
11586         grfx::GCache::changeDisplay. The method no longer exists now that the
11587         pixmap generation part of the graphics loader has been moved into
11588         InsetGraphics.
11589
11590 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11591
11592         * text2.C: layout as layout
11593
11594         * text.C: layout as layout
11595
11596         * tabular.C (OldFormatRead): layout as layout
11597
11598         * paragraph_pimpl.C (TeXDeeper): layout as layout
11599         (realizeFont): layout as layout
11600
11601         * paragraph.C (writeFile): layout as layout
11602         (validate): layout as layout
11603         (getFont): layout as layout
11604         (getLabelFont): layout as layout
11605         (getLayoutFont): layout as layout
11606         (breakParagraph): layout as layout
11607         (stripLeadingSpaces): layout as layout
11608         (getEndLabel): layout as layout
11609         (getMaxDepthAfter): layout as layout
11610         (applyLayout): layout as layout
11611         (TeXOnePar): layout as layout
11612         (simpleTeXOnePar): layout as layout
11613         (TeXEnvironment): layout as layout
11614         (layout): layout as layout
11615         (layout): layout as layout
11616
11617         * lyxtextclass.C (compare_name): new functor to work with
11618         shared_ptr, layout as layout
11619         (Read): layout as layout
11620         (hasLayout): layout as layout
11621         (operator): layout as layout
11622         (delete_layout): layout as layout
11623         (defaultLayout): layout as layout
11624
11625         * lyxlayout_ptr_fwd.h: new file
11626
11627         * lyxlayout.C (Read): layout as layout
11628
11629         * lyx_cb.C (MenuInsertLabel): layout as layout
11630
11631         * bufferlist.C (newFile): layout as layout
11632
11633         * buffer.C (readLyXformat2): layout as layout
11634         (parseSingleLyXformat2Token): layout as layout
11635         (insertStringAsLines): layout as layout
11636         (asciiParagraph): layout as layout
11637         (latexParagraphs): layout as layout
11638         (makeLinuxDocFile): layout as layout
11639         (simpleLinuxDocOnePar): layout as layout
11640         (makeDocBookFile): layout as layout
11641         (simpleDocBookOnePar): layout as layout
11642         (getLists): layout as layout
11643
11644         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11645
11646         * CutAndPaste.C (cutSelection): layout as layout
11647         (pasteSelection): layout as layout
11648         (SwitchLayoutsBetweenClasses): layout as layout
11649
11650         * BufferView_pimpl.C (Dispatch): layout as layout
11651         (smartQuote): layout as layout
11652
11653         * BufferView2.C (unlockInset): layout as layout
11654
11655 2002-06-24  André Pönitz <poenitz@gmx.net>
11656
11657         * lyxfunc.C: fix #487
11658
11659 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * lyxrc.h:
11662         * lyxrc.C:
11663         * lyxfunc.C: remove display_shortcuts, show_banner
11664
11665 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11666
11667         * Buffer_pimpl.C: oops, update on resize
11668
11669 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11670
11671         * buffer.C:
11672         * converter.C:
11673         * exporter.C:
11674         * lyxfunc.C:
11675         * BufferView.h:
11676         * BufferView.C: use repaint()
11677
11678         * BufferView_pimpl.h:
11679         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11680           as it's a clearer description. Remove superfluous
11681           redraws.
11682
11683 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11684
11685         * text.C: fix bug 488. Not ideal, but getting
11686           getWord() to work properly for the insets that
11687           matter is more difficult ...
11688
11689 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11690
11691         * BufferView_pimpl.C:
11692         * LyXAction.C:
11693         * commandtags.h:
11694         * lyxfunc.C: remove the six million index lyxfuncs to just
11695           one, and DTRT (bug 458)
11696
11697 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * BufferView.h:
11700         * BufferView.C:
11701         * BufferView_pimpl.h:
11702         * BufferView_pimpl.C: clean up resize() stuff,
11703           and unnecessary updateScreen()s
11704
11705 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11706
11707         * BufferView.h:
11708         * BufferView.C:
11709         * BufferView_pimpl.h:
11710         * BufferView_pimpl.C:
11711         * lyxfind.h:
11712         * lyxfind.C:
11713         * minibuffer.C: remove focus management of workarea,
11714           not needed. Use screen's greyOut()
11715
11716 2002-06-17  Herbert Voss  <voss@lyx.org>
11717
11718         * converter.C: (convert) do not post a message, when converting
11719         fails, let the calling function decide what to do in this case
11720
11721 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * lyxfunc.C: tidy up a little
11724
11725 2002-06-16    <alstrup@diku.dk>
11726
11727         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11728         Got rid of FORMS_H_LOCATION include. Now we are
11729         GUII.
11730
11731 2002-06-15  LyX Development team  <lyx@rilke>
11732
11733         * buffer.[Ch] (sgmlOpenTag):
11734         (sgmlCloseTag): Added support for avoiding pernicious mixed
11735         content. Return number of lines written.
11736
11737         (makeLinuxDocFile):
11738         (makeDocBookFile): Fixed calls to sgml*Tag.
11739         Simple white space clean.
11740
11741         (simpleDocBookOnePar): Simple white space clean.
11742
11743         * tabular.[Ch] (docBook): Renamed to docbook and got another
11744         argument to related with the pernicious mixed content.
11745
11746         (docbookRow): Fixed calls for docbook inset method.
11747
11748 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11749
11750         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11751         so it's X11 independent.
11752
11753         * kb*.[Ch]: ditto.
11754
11755         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11756
11757 2002-06-15  Lyx Development team  <lyx@electronia>
11758
11759         * intl.h: Renamed getTrans to getTransManager.
11760
11761 2002-06-14  Angus Leeming  <leeming@lyx.org>
11762
11763         * Makefile.am: nuke forgotten stl_string_fwd.h.
11764
11765 2002-06-12  Angus Leeming  <leeming@lyx.org>
11766
11767         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11768
11769 2002-06-13  Angus Leeming  <leeming@lyx.org>
11770
11771         * LaTeX.C:
11772         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11773
11774 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11775
11776         * kbmap.C (getiso): add support for cyrillic and greek
11777
11778 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11779
11780         * BufferView.h:
11781         * BufferView.C:
11782         * BufferView_pimpl.h:
11783         * BufferView_pimpl.C: move bogus scrolling logic
11784           to xforms
11785
11786 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * lyxfunc.C:
11789         * BufferView_pimpl.C: view->resize() change
11790
11791 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11792
11793         * BufferView_pimpl.C: topCursorVisible
11794           prototype change
11795
11796 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * Makefile.am:
11799         * lyx_gui.h:
11800         * lyx_gui.C: move to frontends/
11801
11802         * main.C:
11803         * lyx_main.h:
11804         * lyx_main.C: changes from above
11805
11806 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * intl.C:
11809         * intl.h:
11810         * kbmap.C:
11811         * kbsequence.C:
11812         * lyx_cb.C:
11813         * lyx_main.C: minor tidy
11814
11815 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11816
11817         * BufferView_pimpl.h:
11818         * BufferView_pimpl.C:
11819         * BufferView.h:
11820         * BufferView.C: make painter() const,
11821           remove dead code
11822
11823         * BufferView2.C: use screen() accessor
11824
11825         * lyx_main.h:
11826         * lyx_main.C: some minor cleanup
11827
11828 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * BufferView_pimpl.h:
11831         * BufferView_pimpl.C: remove enter/leaveView,
11832           use workHeight()
11833
11834 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * BufferView.h:
11837         * BufferView.C:
11838         * BufferView2.C:
11839         * BufferView_pimpl.h:
11840         * BufferView_pimpl.C: only construct screen once,
11841           rename
11842
11843         * lyxrc.C: remove pointless comment
11844
11845 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * BufferView.h:
11848         * BufferView.C: remove active() and belowMouse()
11849
11850         * BufferView_pimpl.h:
11851         * BufferView_pimpl.C: use workarea() not workarea_,
11852           and make it use a scoped_ptr instead
11853
11854 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * lyx_gui.C: add debug message on BadWindow
11857
11858 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11859
11860         * sp_spell.C: fdopen is not part of the C++ standard.
11861
11862         * paragraph.C (InsetIterator): use >= instead of ==
11863
11864 2002-06-07  Angus Leeming  <leeming@lyx.org>
11865
11866         Fixes needed to compile with Compaq cxx 6.5.
11867         * BufferView_pimpl.C:
11868         * DepTable.C:
11869         * buffer.C:
11870         * converter.C:
11871         * encoding.C:
11872         * lyx_gui.C:
11873         * lyx_main.C:
11874         * lyxtextclasslist.C:
11875         * minibuffer.C:
11876         * sp_spell.C:
11877         * tabular_funcs.C:
11878         * vc-backend.C:
11879         all c-library variables have been moved into namespace std. Wrap
11880         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11881
11882         * lyxlength.C:
11883         * tabular-old.C:
11884         * tabular.C:
11885         Add a using std::abs declaration.
11886
11887         * kbmap.h (modifier_pair):
11888         * paragraph.h (InsetTable, InsetList):
11889         * lyxfont.h (FontBits):
11890         type definition made public.
11891
11892         * bufferlist.C (emergencyWriteAll): the compiler complains that
11893         there is more than one possible lyx::class_fun template to choose from.
11894         I re-named the void specialisation as lyx::void_class_fun.
11895
11896         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11897
11898         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11899         the compiler is is unable to find tostr in write_attribute.
11900
11901 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11902
11903         * buffer.C (sgmlError): hide #warning
11904
11905 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11906
11907         * xtl/*: get rid of xtl, which is not in use anyway
11908
11909         * LyXAction.C (init):
11910         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11911         were unimplemented xtl experimentation
11912
11913 2002-06-04  André Pönitz <poenitz@gmx.net>
11914
11915         * lyxfunc.C: disable array operation on simple formulae
11916
11917 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11918
11919         * converter.C: constify a bit
11920
11921 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11922
11923         * lyx_gui.C: check xforms version correctly
11924
11925 2002-04-30  Herbert Voss  <voss@lyx.org>
11926
11927         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11928         "keep" option
11929
11930 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11931
11932         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11933           attempt to register it with a VCS)
11934
11935 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11936
11937         * lyx_main.C (init): honor variables LYX_DIR_13x and
11938         LYX_USERDIR_13x
11939
11940 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * buffer.h:
11943         * buffer.C:
11944         * lyx_main.C: fix a crash on bad command line,
11945           and give a useful exit status on error
11946
11947         * lyxfunc.C (doImport): allow -i lyx to work
11948
11949 2002-03-30  André Pönitz <poenitz@gmx.net>
11950
11951         * lyxfunc.C: mathed font changes
11952
11953 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * LaTeX.C:
11956         * importer.h:
11957         * importer.C:
11958         * lyx_sty.h:
11959         * lyx_sty.C:
11960         * lyxlex.C:
11961         * lyxrow.h:
11962         * lyxtext.h:
11963         * paragraph.h:
11964         * paragraph.C:
11965         * texrow.h:
11966         * texrow.C:
11967         * text.C:
11968         * trans_mgr.h: srcdocs, and some minor cleanups
11969
11970 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11971
11972         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11973         call getFont all the time)
11974
11975 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11976
11977         * switch from SigC signals to boost::signals
11978
11979 2002-05-29  André Pönitz <poenitz@gmx.net>
11980
11981         * paragraph_pimpl.C (getChar): don't call size() too often...
11982
11983 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11984
11985         * paragraph_pimpl.C (insertChar): do not try to update tables when
11986         appending (pos == size())
11987
11988         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11989         in order to reduce drastically the number of comparisons needed to
11990         parse a large document
11991
11992 2002-05-29  André Pönitz <poenitz@gmx.net>
11993
11994         * text.C:
11995         * text2.C:
11996         * lyxtextclass.C:
11997         * sp_pspell.h:
11998         * textclasslist.[Ch]:
11999         * sp_ispell.h: whitespace change
12000
12001 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12002
12003         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12004         lyxaction directly now.
12005
12006 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * trans.C:
12009         * lyxfont.C:
12010         * lyxvc.C: remove unused headers
12011
12012 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * Makefile.am:
12015         * buffer.h:
12016         * undostack.h:
12017         * undostack.C:
12018         * undo_funcs.h:
12019         * undo_funcs.C: some cleanups. Use shared_ptr
12020           and a template for the undo stacks.
12021
12022 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * BufferView_pimpl.h:
12025         * BufferView_pimpl.C:
12026         * kbmap.h:
12027         * kbmap.C:
12028         * kbsequence.h:
12029         * kbsequence.C:
12030         * lyxfunc.h:
12031         * lyxfunc.C:
12032         * text2.C: use key_state/mouse_state
12033
12034 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12035
12036         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12037         and LSubstring
12038
12039         * chset.C: change include order
12040         (loadFile): use boost regex and get rid of LRegex and LSubstring
12041
12042         * Makefile.am (BOOST_LIBS): new variable
12043         (lyx_LDADD): use it
12044
12045         * LaTeX.C: change include order.
12046         (scanAuxFile): use boost regex and get rid of LRegex and
12047         LSubstring
12048         (deplog): ditto
12049
12050 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12051
12052         * ColorHandler.h:
12053         * ColorHandler.C:
12054         * FontInfo.h:
12055         * FontInfo.C: moved to frontends/xforms/
12056
12057         * FontLoader.h:
12058         * FontLoader.C: moved into frontends for GUIIzation
12059
12060         * Makefile.am:
12061         * lyx_gui.C:
12062         * lyxfont.C:
12063         * lyxfunc.C: changes from above
12064
12065 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12066
12067         * LColor.C: remove spurious X include
12068
12069         * BufferView_pimpl.C:
12070         * Makefile.am:
12071         * font.h:
12072         * font.C:
12073         * text.C:
12074         * text2.C: move font metrics to frontends/
12075
12076 2002-05-24  Juergen Vigna  <jug@sad.it>
12077
12078         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12079         setting the undo_cursor.
12080
12081         * ParagraphParameters.h: include local includes first.
12082
12083 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * BufferView_pimpl.C:
12086         * BufferView_pimpl.h:
12087         * Makefile.am:
12088         * WorkArea.h:
12089         * WorkArea.C:
12090         * screen.C: move WorkArea into frontends/
12091
12092         * lyxscreen.h:
12093         * screen.C:
12094         * text.C:
12095         * BufferView.C:
12096         * BufferView2.C: move LyXScreen into frontends/
12097
12098         * lyxlookup.h:
12099         * lyxlookup.C:
12100         * lyx_gui.C: move lyxlookup into frontends/xforms/
12101
12102 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * BufferView2.C:
12105         * BufferView_pimpl.C:
12106         * FontLoader.C:
12107         * LyXView.h:
12108         * LyXView.C:
12109         * Makefile.am:
12110         * WorkArea.C:
12111         * XFormsView.h:
12112         * XFormsView.C:
12113         * buffer.C:
12114         * bufferlist.C:
12115         * bufferview_funcs.C:
12116         * converter.C:
12117         * importer.C:
12118         * lyx_cb.C:
12119         * lyx_gui.C:
12120         * lyx_main.C:
12121         * lyx_find.C:
12122         * lyxfunc.C:
12123         * lyxvc.C:
12124         * minibuffer.C:
12125         * text.C:
12126         * text2.C:
12127         * trans.C:
12128         * vc-backend.C: move LyX/XFormsView into frontends/
12129
12130 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12131
12132         * Makefile.am:
12133         * PainterBase.C:
12134         * PainterBase.h:
12135         * Painter.C:
12136         * Painter.h:
12137         * WorkArea.C:
12138         * WorkArea.h:
12139         * screen.C:
12140         * tabular.C:
12141         * text.C:
12142         * text2.C: move Painter to frontends/
12143
12144 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * buffer.C: comment out some some code that depend upon lyx_format
12147         < 220
12148
12149         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12150         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12151
12152         * buffer.h (NO_COMPABILITY): turn off compability
12153
12154         * ColorHandler.C: include scoped_array.hpp
12155
12156         * font.C: Use more specific smart_ptr header.
12157         * Painter.C: ditto
12158         * gettext.C: ditto
12159         * ShareContainer.h: ditto
12160         * lyx_main.h: ditto
12161         * kbmap.h: ditto
12162         * FontInfo.h: ditto
12163         * BufferView_pimpl.h: ditto
12164         * ColorHandler.h: ditto
12165
12166         * kbmap.C (defkey): change call to shared_ptr::reset
12167
12168 2002-05-21  Juergen Vigna  <jug@sad.it>
12169
12170         * buffer.C (insertErtContents): fix to insert ert asis if it is
12171         non empty. Skip it completely if it contains only whitespaces.
12172
12173 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * BufferView_pimpl.C:
12176         * BufferView2.C: clear selection on paste (bug 393)
12177
12178 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * DepTable.C: include ctime
12181
12182 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12183
12184         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12185
12186 2002-05-14  Juergen Vigna  <jug@sad.it>
12187
12188         * text.C (breakParagraph): fixed function to honor the keepempty
12189         layout in the right maner and also to permit the right breaking
12190         algorithm on empty or non empyt keepempty paragraphs.
12191
12192         * paragraph.C (breakParagraph): we have to check also if the par
12193         is really empty (!size()) for isempty otherwise we do the wrong
12194         paragraph break.
12195
12196 2002-05-10  Juergen Vigna  <jug@sad.it>
12197
12198         * buffer.[Ch] : The following are only changes to the ert
12199         compatibility read reading old LaTeX layout and font stuff and
12200         convert it to ERTInsets.
12201
12202         * buffer.h: added isErtInset().
12203
12204         * buffer.C (struct ErtComp): add a fromlayout bool to check
12205         if we're inside a LaTeX layout.
12206         (isErtInset): new helper function.
12207         (insertErtContents): look for other ert insets before this one
12208         and insert the contents there, so that we don't have subsequent
12209         ERT insets with nothing between them. This way we create only one
12210         inset with multiple paragraphs. Also check if we don't insert only
12211         spaces ' ' as they are ignored anyway afterwards in the .tex file
12212         so if we have only spaces we will ignore this latex part in the
12213         new file.
12214         (parseSingleLyXformat2Token \\layout): better compatibility when
12215         reading layout-latex stuff.
12216         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12217         language tag.
12218         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12219         stuff after reading the inset only get the information back from
12220         the stack.
12221
12222 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12223
12224         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12225
12226         * LaTeXFeatures.C (getBabelOptions): New method.
12227
12228 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12229
12230         * BufferView_pimpl.C (Dispatch): work around missing argument for
12231         'layout'
12232
12233 2002-05-08  Juergen Vigna  <jug@sad.it>
12234
12235         * text.C (leftMargin): handle paragraph leftindent.
12236
12237         * paragraph.C (writeFile): write the new \\leftindent tag.
12238         (validate): handle leftindent code.
12239         (TeXEnvironment): handle paragraphleftindent code again.
12240
12241         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12242
12243         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12244         for paragrap_extra indent code and new token \\leftindent.
12245         (latexParagraphs): handle the leftindent as environment.
12246
12247         * ParameterStruct.h: added leftindent support.
12248
12249         * ParagraphParameters.C (leftIndent): added support functions for
12250         the paragraph left indent.
12251
12252         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12253         more appropriate.
12254
12255 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12256
12257         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12258         inside insetERT.
12259
12260         * text.C (computeBidiTables): No bidi in insetERT.
12261
12262         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12263         in RTL documents.
12264
12265 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12266
12267         * version.C.in: pre 5
12268
12269 2002-05-02  José Matos  <jamatos@fep.up.pt>
12270         * buffer.C (makeDocBookFile): white space changes, add newline to
12271         command styles.
12272         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12273
12274         * tabular.C (docBook): fix typo.
12275
12276 2002-05-03  Juergen Vigna  <jug@sad.it>
12277
12278         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12279         change in LyXText as we can not be sure it was not freed.
12280         (drawOneRow): remove unused code.
12281
12282         * text.C (drawInset): redo the calculation of the need_break_row as
12283         it could have a row which was already freed.
12284         (draw): look at the return value of drawInset and return false if
12285         it also returned false.
12286         (paintRowText): look at the return value of draw and return false if
12287         it also returned false.
12288
12289         * lyxtext.h: added bool return type to drawInset() and draw() so that
12290         if we have a change in the row so that the rowbreak has to be redone
12291         we abort drawing as it will be called again.
12292
12293 2002-05-02  Juergen Vigna  <jug@sad.it>
12294
12295         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12296         a change in the maintext also if we're inside an inset.
12297         (Dispatch): set the cursor again after a break line and after the
12298         screen has been updated as it could be we're in a different row.
12299
12300         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12301         to set the cursor behind the pargraph with > size().
12302         (setCursor): check also for the same paragraph when checking where
12303         to put the cursor if we have a NFR inset.
12304
12305         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12306         parts of layout read further up as it still was in the wrong
12307         position.
12308
12309 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12310
12311         * screen.C (drawFromTo): change sine fullRebreak always return
12312         true.
12313
12314         * buffer.C (parseSingleLyXformat2Token): reindent some
12315
12316         * BufferView_pimpl.C (update): change since fullRebreak always
12317         return true.
12318         (Dispatch): git rid of the last hardcoded "Standard"s.
12319
12320 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12321
12322         * text2.[Ch] (fullRebreak): make it return void now that we always
12323         returned true.
12324
12325 2002-04-30  Juergen Vigna  <jug@sad.it>
12326
12327         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12328         ert compatibility check for "latex" layout.
12329
12330 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12331
12332         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12333         minipages: use col% instead of p%, and also use the current font.
12334         (makeLaTeXFile): Fix use babel condition.
12335         (parseSingleLyXformat2Token): Correct font when reading old floats.
12336
12337 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12338
12339         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12340         inserting list of floats.
12341
12342 2002-04-25  Herbert Voss  <voss@lyx.org>
12343
12344         * MenuBackend.C (expand): don't add the graphics extensions to the
12345         export menu
12346
12347 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12348
12349         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12350         non-existing layout, do not complain if it was the default layout
12351         of the original class (bug #342)
12352
12353 2002-04-24  Juergen Vigna  <jug@sad.it>
12354
12355         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12356         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12357
12358 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12359
12360         * buffer.C (getBibkeyList): If using \bibliography, return the
12361         option field with the reference itself. Enables us to provide natbib
12362         support when using \bibliography.
12363
12364 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12365
12366         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12367
12368         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12369         natbib is provided by the LaTeX class.
12370
12371 2002-04-23  Juergen Vigna  <jug@sad.it>
12372
12373         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12374         Wakeup functions.
12375
12376         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12377
12378 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12379
12380         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12381
12382         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12383         ensuremath around textordmasculine, textordfeminine and
12384         textdegree.
12385
12386 2002-04-19  Juergen Vigna  <jug@sad.it>
12387
12388         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12389         reinitializing the buffer otherwise row-dimensions may be wrong.
12390         (update): reset also the selection cursors if they do exits otherwise
12391         their x/y positions may be wrong.
12392
12393         * text2.C (cursorDown): don't enter the inset if we came from a row
12394         above and are one row over the inset.
12395
12396         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12397         really leaving an inset.
12398
12399 2002-04-18  Juergen Vigna  <jug@sad.it>
12400
12401         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12402         of the selected paragraph does not have the selected layout also if
12403         the last one had!
12404
12405         * text2.C (setLayout): fixed bug which did not change last selected
12406         paragraph.
12407
12408         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12409         changed the read and substituted \\end_float with \\end_inset!
12410
12411         * BufferView_pimpl.C (cursorPrevious):
12412         (cursorNext): fixed to make it work with rows heigher than the work
12413         area without moving the cursor only the draw of the row.
12414         (workAreaMotionNotify): fix jumping over high rows.
12415
12416 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12419         Ressler.
12420
12421 2002-04-16  Juergen Vigna  <jug@sad.it>
12422
12423         * text2.C (setCursor): set also the irow().
12424         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12425         (cursorUp):
12426         (cursorDown): support for locking an inset if the x_fix value goes
12427         inside it. That way I can transverse insets too with cursor up/down.
12428
12429         * lyxrow.h: added irow helper function same as other (i) functions.
12430
12431         * BufferView_pimpl.C (cursorPrevious):
12432         (cursorNext): fixed for insets!
12433
12434 2002-04-15  Juergen Vigna  <jug@sad.it>
12435
12436         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12437         position otherwise it is wrong in some cases.
12438
12439         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12440         inside the inset before the call.
12441
12442 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12443
12444         * buffer.[Ch] (getBibkeyList): make it const.
12445
12446 2002-04-12  Juergen Vigna  <jug@sad.it>
12447
12448         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12449
12450         * text2.C (getCursorX): new helper function
12451         (setCursor): compute also ix_
12452         (setCursorFromCoordinates): set also ix.
12453
12454         * lyxcursor.h: added ix_ and helper functions.
12455
12456         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12457
12458         * buffer.C (insertStringAsLines): dont break paragraph if the this
12459         paragraph is inside an inset which does not permit it!
12460
12461         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12462         also with no chars on this paragraph.
12463         (paintRowText): only paint stuff if it's inside the workarea!
12464
12465         * paragraph.C (breakParagraph): honor keepempty flag and break the
12466         paragraph always below not above.
12467
12468         * BufferView2.C (unlockInset): update the paragraph layout on inset
12469         unlock as we changed paragraph in such a case.
12470
12471         * lyxfind.C (LyXFind): clear the former selection if not found!
12472
12473         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12474         again called in insertChar().
12475
12476         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12477         an inset which uses the whole row!
12478         (rightMargin): ditto.
12479         (insertChar): force a rebreak if we inserted an inset!
12480
12481 2002-03-28  Herbert Voss  <voss@lyx.org>
12482
12483         * lyxlength.[Ch]: add inBP() to get the right PS-point
12484         units (BigPoint). With inPixels we have rounding errors
12485
12486 2002-04-11  Juergen Vigna  <jug@sad.it>
12487
12488         * text2.C (setCursorFromCoordinates): set iy to the right value.
12489         (setCursor): add check if row->previous exists!
12490
12491         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12492         an old float_type as this was the case in the old code!
12493
12494         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12495
12496         * BufferView2.C (showLockedInsetCursor): use iy
12497         (fitLockedInsetCursor): ditto
12498
12499         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12500         locked insets as there we have the right value now.
12501
12502         * lyxcursor.C: added iy_ variable and iy functions to set to the
12503         baseline of cursor-y of the locked inset.
12504
12505         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12506         (setCursor): fixed for insets which need a full row.
12507
12508         * text.C (rowLastPrintable): don't ignore the last space when before
12509         an inset which needs a full row.
12510         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12511         as last character of a row when before a inset which needs a full row.
12512
12513 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12514
12515         * version.C.in: update date
12516
12517         * text2.C (fullRebreak): try to always return true and see what
12518         happens...
12519
12520 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12521
12522         * MenuBackend.C (expand): use Floating::listName
12523
12524         * FloatList.C (FloatList): add listName argument to the built-in
12525         floats
12526
12527         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12528         text associated with the float.
12529
12530 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12531
12532         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12533
12534 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12535
12536         * ShareContainer.h: add a couple of missing typenames.
12537
12538 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12539
12540         * lyxrc.C (getDescription): use _() correctly rather than N_().
12541
12542 2002-03-28  Herbert Voss  <voss@lyx.org>
12543
12544         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12545         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12546
12547 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12548
12549         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12550         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12551
12552 2002-03-29  Juergen Vigna  <jug@sad.it>
12553
12554         * lyxfunc.C (dispatch): add a missing fitCursor call.
12555
12556         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12557         it was scrolled by a cursor move, so return the bool status.
12558
12559         * BufferView.C (fitCursor): return the bool flag also to the outside
12560         world as this is needed.
12561
12562         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12563
12564         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12565         call the edit() as it is not needed (and wrong) IMO.
12566         (workAreaButtonPress): set the screen_first variable before evt.
12567         unlock the inset as this may change screen_first and then we have
12568         a wrong y position for the click!
12569
12570 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12571
12572         * MenuBackend.C (expand): another translation that I missed
12573
12574 2002-03-28  Juergen Vigna  <jug@sad.it>
12575
12576         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12577
12578         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12579
12580 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12581
12582         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12583
12584         * MenuBackend.C (expand): fix export/view/update when there is no
12585         document open.
12586
12587 2002-03-27  Herbert Voss  <voss@lyx.org>
12588
12589         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12590         and text%
12591
12592 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12593
12594         * bufferview_funcs.C (currentState): only show paragraph number
12595         for is DEVEL_VERSION is set.
12596
12597         * lyxfunc.C (dispatch): put warning in INFO channel
12598
12599         * MenuBackend.C (expand): translate the name of floats
12600
12601         * FloatList.C (FloatList): mark the float names for translation
12602
12603         * converter.C (convert): use LibScriptSearch
12604
12605 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12606
12607         * MenuBackend.C (defaults): fix default menu (we might as well get
12608         rid of it...)
12609
12610 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12611
12612         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12613         directory.
12614
12615 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12616
12617         * lyxvc.C: reorder includes.
12618
12619 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12622           properly
12623
12624 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12625
12626         * CutAndPaste.C: change layouts earlier on paste
12627           to avoid crashing when calling getFont()
12628
12629 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12630
12631         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12632         irritating #error.
12633
12634 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12635
12636         * WorkArea.C: remove 'Pending' debug message.
12637
12638         * most files: ws cleanup
12639
12640         * buffer.[Ch]: ws changes
12641
12642         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12643
12644 2002-03-21  Juergen Vigna  <jug@sad.it>
12645
12646         * tabular.C (SetMultiColumn): collapse also the contents of the
12647         cells and set the last border right. Added a Buffer const * param.
12648
12649 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12650
12651         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12652         linking or not.
12653
12654 2002-03-19  Juergen Vigna  <jug@sad.it>
12655
12656         * text2.C (clearSelection): reset also xsel_cache.
12657
12658         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12659         where it needs to be called (John tells us to do so too :)
12660         (selectionLost): reset sel_cache.
12661
12662         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12663
12664 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12665
12666         * text2.C (setCursorIntern): put debuging code in INSETS channel
12667
12668 2002-03-19  André Pönitz <poenitz@gmx.net>
12669
12670         * lyxfunc.C: tiny whitespace change
12671
12672 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12673
12674         * ToolbarDefaults.C (init):
12675         * LyXAction.C (init):
12676         * commandtags.h:
12677         * BufferView_pimpl.C (Dispatch):
12678         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12679
12680 2002-03-19  Allan Rae  <rae@lyx.org>
12681
12682         * exporter.C (Export): removeAutoInsets before doing anything else.
12683         While I've just introduced a dependency on BufferView this really is
12684         the best place to clean the buffer otherwise you need to cleanup in
12685         a dozen places before calling export or cleanup in a dozen functions
12686         that export calls.
12687
12688         * converter.C (runLaTeX):
12689         (scanLog): Better handling of removeAutoInsets and screen updates.
12690
12691         * lyxfunc.C (dispatch): small whitespace changes
12692
12693 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12694
12695         * WorkArea.C (C_WorkAreaEvent): return a value.
12696         (event_cb): return 1 if we handled the event, 0 otherwise.
12697
12698         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12699
12700 2002-03-18  Juergen Vigna  <jug@sad.it>
12701
12702         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12703         (GetAdditionalWidth): ditto.
12704         (RightLine): ditto.
12705         (LeftLine): ditto.
12706
12707         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12708         inset if we're there actually (probably not used right now but this
12709         is the direction to go for unifying code).
12710         (paste): disable code to clear the selection.
12711
12712         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12713         inside an InsetText and move the check further up as it is in the
12714         wrong place.
12715
12716         * text2.C (pasteSelection): set a selection over the pasted text.
12717
12718 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12719
12720         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12721         and libgraphics to build on Cygwin.
12722
12723 2002-03-15  Juergen Vigna  <jug@sad.it>
12724
12725         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12726         inserting an Inset into the paragraph. I know this is not the best
12727         fix but we already use current_view in CutAndPaste so we will remove
12728         all of it's using at the same time.
12729
12730         * buffer.C (sgmlError): deactivated function till it is rewritten in
12731         the right mode, now it can create problems.
12732
12733         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12734         before accessing it.
12735
12736 2002-03-14  Juergen Vigna  <jug@sad.it>
12737
12738         * undo_funcs.C (textHandleUndo): do the right thing when updating
12739         the inset after the undo/redo.
12740
12741         * text2.C (setCursor): just some testcode for #44 not ready yet.
12742
12743         * undo_funcs.C (textHandleUndo): set the next() and previous()
12744         pointers of the paragraph to 0 before deleting otherwise we have
12745         problems with the Paragraph::[destructor].
12746
12747         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12748         on a paragraph insertion.
12749
12750 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12751
12752         * buffer.C (asciiParagraph): use += operator for char append to
12753         string.
12754
12755         * paragraph.C (getFontSettings): compare >= not just >
12756         (highestFontInRange): ditto
12757         (setFont): ditto
12758
12759 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * paragraph.C: change several algorithm to be more appripriate for
12762         the problem domain. This is lookip in FontList and in the InsetList.
12763
12764 2002-03-13  André Pönitz <poenitz@gmx.net>
12765
12766         * commandtags.h:
12767         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12768
12769 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12770
12771         * commandtags.h:
12772         * LyXAction.C:
12773         * lyxfunc.C:
12774         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12775
12776 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12777
12778         * Painter.C (display): anon helper function, adjust code for this
12779         change.
12780         (pixmap): remove function.
12781
12782         * Painter.h: remove private display variable.
12783
12784         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12785
12786 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12787
12788         * WorkArea.[Ch]: remove figinset_canvas cruft.
12789
12790 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12791
12792         * lyxtextclass.C (operator): add one item cache optimization.
12793
12794         * bufferlist.h: doxy changes
12795
12796         * bufferlist.C: ws changes
12797
12798         * DepTable.[Ch] (ext_exist): place const in the right spot.
12799
12800         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12801         call resizeInsets.
12802         (workAreaExpose): call resizeInsets when the with BufferView changes.
12803         (Dispatch): adjust for protectedBlank removal
12804         (specialChar): call updateInset if the insert went ok.
12805
12806         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12807         specialChar instead.
12808
12809         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12810
12811         * BufferView.h: doxy change
12812
12813         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12814
12815         * lyxtextclass.C (operator[]): remove non-const version
12816         (defaultLayout): remove non-const version
12817
12818 2002-03-12  Juergen Vigna  <jug@sad.it>
12819
12820         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12821         did resize the LyXText too.
12822
12823         * buffer.C (readLyXformat2): set layout information on newly allocated
12824         paragraphs.
12825
12826         * tabular.C (OldFormatRead): set layout information on the paragraph.
12827
12828 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12829
12830         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12831
12832 2002-03-11  Juergen Vigna  <jug@sad.it>
12833
12834         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12835         plainly wrong.
12836         (resizeCurrentBuffer): force also the insets to resize themselfes.
12837         (moveCursorUpdate): fixed up for InsetText.
12838
12839 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12840
12841         * commandtags.h:
12842         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12843         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12844         value of Dialogs::tooltipsEnabled().
12845         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12846
12847 2002-03-08  Juergen Vigna  <jug@sad.it>
12848
12849         * BufferView_pimpl.C (updateInset): update inset inside inset also
12850         if it isn't inside theLockingInset().
12851
12852 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * buffer.C (asciiParagraph): redo some of the word and line length
12855         handling.
12856         (getLists): look for Caption instead of caption.
12857
12858 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12859
12860         * buffer.C (Buffer): initialize niceFile to true
12861         (makeLaTeXFile):
12862         (makeLinuxDocFile):
12863         (makeDocBookFile): make sure niceFile is true on exit
12864
12865 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12866
12867         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12868
12869 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12870
12871         * LyXSendto.C: remove.
12872         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12873         * lyx_gui.C: remove now-redundant comment.
12874         * ColorHandler.h: remove forward declaration of class WorkArea.
12875         * lyxfunc.C: remove #include "WorkArea.h".
12876
12877 2002-03-07  Juergen Vigna  <jug@sad.it>
12878
12879         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12880         got moved away with the DEPM and also set the inset_owner always
12881         right which before could have been omitted.
12882
12883 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12886         wanted layout is not found.
12887
12888 2002-03-07  Juergen Vigna  <jug@sad.it>
12889
12890         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12891
12892 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12893
12894         * paragraph.C (breakParagraph): use default layout not layout of
12895         prev paragraph.
12896         (Paragraph): clear ParagraphParameters.
12897
12898 2002-03-06  Juergen Vigna  <jug@sad.it>
12899
12900         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12901         otherwise it would not be a valid lenght. Fixed a special case in
12902         the minipage compatibility read where we end the document with a
12903         minipage.
12904
12905         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12906         was set as it could be 0 for InsetTexts first entry.
12907
12908 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * paragraph.C (writeFile): if layout is empty write out
12911         defaultLayoutName().
12912
12913         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12914         file without named layout we set layout to defaultLayoutName().
12915
12916 2002-03-06  Juergen Vigna  <jug@sad.it>
12917
12918         * CutAndPaste.C (copySelection): set layout for new paragraph.
12919
12920         * text.C (prepareToPrint): leave ERT inset left aligned
12921         (leftMargin): don't indent paragraphs inside ERT insets
12922
12923 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * paragraph.C (breakParagraph): dont call clear do the work manually
12926
12927         * paragraph.[Ch] (clear): remove function
12928
12929 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * paragraph.C (Paragraph): dont call clear, the work has already
12932         been done.
12933
12934         * lyxtextclass.C (operator): assert if n is empty
12935
12936         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12937         work manually instead.
12938
12939 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12940
12941         * BufferView_pimpl.C: protect selectionLost against text == 0
12942
12943 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * text.C (breakParagraph): fix a setting layout to '0' problem.
12946
12947 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12948
12949         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12950         final location of file, for the included files, and graphics.
12951
12952 2002-03-05  Juergen Vigna  <jug@sad.it>
12953
12954         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12955
12956 2002-03-04  Juergen Vigna  <jug@sad.it>
12957
12958         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12959
12960         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12961         last column of multicolumn cells.
12962         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12963
12964 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12965
12966         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12967         file if it doesn't go to a temporary file.
12968
12969         * buffer.C (sgmlOpenTag):
12970         (sgmlCloseTag):  remove extra newline insertion.
12971
12972 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12973
12974         * text.C (getRowNearY): comment out debug msg
12975
12976 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12977
12978         * text2.C: first -> first_y
12979
12980         * text.C (getRowNearY): add some attemts at a possible
12981         optimization, not working.
12982
12983         * tabular.[Ch]: add BufferParams to several function so that newly
12984         created paragraph can be initialized to he default layotu for the
12985         buffers textclass.
12986
12987         * tabular-old.C (ReadOld): add buf->params to call of Init
12988
12989         * screen.C: rename text->first to text->first_y
12990
12991         * paragraph.C (breakParagraph): always set layout in the broken
12992         paragraph
12993
12994         * lyxtextclass.C (Read): remove lowercase
12995         (hasLayout): ditto
12996         (operator): ditto
12997         (delete_layout): ditto
12998
12999         * lyxtext.h: rename first -> first_y
13000
13001         * lyxlayout.C (Read): remove lowercase
13002         (name): ditto
13003         (setName): ditto
13004         (obsoleted_by): ditto
13005
13006         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13007
13008         * buffer.C (insertErtContents): add params are to InsetERT
13009         (parseSingleLyXformat2Token): add code to check if a paragraphs
13010         layout really exist.
13011         (parseSingleLyXformat2Token): add params to several inset
13012         constructors
13013         (asciiParagraph): remove lowercase, do the layout comparisons with
13014         no_case
13015
13016         * BufferView_pimpl.C (cursorNext): first -> first_y
13017         (resizeCurrentBuffer): first -> first_y
13018         (updateScrollbar): first -> first_y
13019         (scrollCB): first -> first_y
13020         (workAreaMotionNotify): first -> first_y
13021         (workAreaButtonPress): first -> first_y
13022         (checkInsetHit): first -> first_y
13023         (cursorPrevious): first -> first_y
13024         (cursorNext): first -> first_y
13025         (Dispatch): add buffer_->params to severl inset contructors
13026
13027 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13028
13029         * lyxlayout.C (Read): remove some debug info that I forgot.
13030
13031         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13032         clean up the code slightly.
13033         (makeLinuxDocFile): ditto
13034         (makeDocBookFile): ditto
13035
13036         * text2.C: layout as string
13037
13038         * text.C: layout as string
13039
13040         * paragraph_pimpl.C: layout as string
13041
13042         * paragraph.[Ch]: layout as string
13043
13044         * lyxtextclasslist.[Ch]: layout as string
13045
13046         * lyxtextclass.[Ch]: layout as string
13047
13048         * lyxtext.h: layout as string
13049
13050         * lyxlayout.[Ch]: layout as string
13051
13052         * lyx_cb.C: layout as string
13053
13054         * bufferview_funcs.C: layout as string
13055
13056         * bufferparams.C: layout as string
13057
13058         * buffer.C: layout as string
13059
13060         * LyXView.[Ch]: layout as string
13061
13062         * LaTeXFeatures.[Ch]: layout as string
13063
13064         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13065
13066         * BufferView_pimpl.C: change current_layout to string, remove
13067         lyx::layout_type.
13068         (Dispatch):
13069         (smartQuote):
13070         (insertInset):
13071         (workAreaButtonRelease): layout as string
13072
13073         * BufferView2.C (unlockInset): adjust
13074
13075         * vspace.C (asLatexCommand): use an explict temp variable.
13076
13077 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13078
13079         * Makefile.am: use FRONTEND_*
13080
13081 2002-03-01  Juergen Vigna  <jug@sad.it>
13082
13083         * tabular.C (SetWidthOfMulticolCell): changed to something better
13084         I hope but still work in progress.
13085         (recalculateMulticolumnsOfColumn): renamed function from
13086         recalculateMulticolCells as it is more appropriate now.
13087         (SetWidthOfCell): calculate multicols better.
13088
13089 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13090
13091         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13092
13093         * lyxfunc.C (processKeySym): print sequence also if it is
13094         `deleted' (complete)
13095
13096         * kbsequence.C (print): print sequence even if it is deleted
13097         (complete would be a better word, actually).
13098
13099         * lyxfunc.C (dispatch): print complete options after a prefix key
13100
13101         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13102
13103 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13104
13105         * text2.C (setCharFont): eliminate setCharFont code duplication.
13106
13107 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13108
13109         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13110         LFUN_TABULAR_FEATURE (bug #177)
13111
13112 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13113
13114         * Makefile.am: remove figure.h
13115
13116 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13117
13118         * Bufferview_pimpl.C:
13119         * CutAndPasteC:
13120         * LaTeX.C:
13121         * LyXSendto.C:
13122         * buffer.C:
13123         * bufferlist.C:
13124         * converter.C:
13125         * language.C:
13126         * lyxfunc.C:
13127         * lyxvc.C:
13128         * paragraph.C:
13129         * text.C:
13130         * text2.C: remove #include "lyx_gui_misc.h".
13131
13132         * LaTeX.C: added #include <cstdio>
13133
13134 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13135
13136         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13137         that the paragraph following this one can have.
13138
13139         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13140
13141         * vspace.C (asLatexCommand): fix bogus gcc warning
13142
13143         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13144
13145 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13146
13147         * text2.C (setLayout): get rid of redundant code
13148
13149 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13150
13151         * text2.C (incDepth): make sure depth cannot be increased beyond
13152         reasonable values.
13153
13154 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13155
13156         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13157         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13158
13159         * PainterBase.h (image):
13160         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13161         a LyXImage const *.
13162
13163 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13164
13165         * BufferView.C:
13166         * BufferView.h:
13167         * BufferView_pimpl.C:
13168         * BufferView_pimpl.h:
13169         * LaTeXFeatures.C:
13170         * LyXAction.C:
13171         * LyXView.C:
13172         * Makefile.am:
13173         * UpdateList.h:
13174         * UpdateList.C:
13175         * buffer.C:
13176         * figure.h:
13177         * figureForm.C:
13178         * figureForm.h:
13179         * figure_form.C:
13180         * figure_form.h:
13181         * lyx_cb.C:
13182         * lyx_gui.C:
13183         * lyx_gui_misc.C:
13184         * lyxfunc.C:
13185         * sp_base.h:
13186         * sp_ispell.h:
13187         * sp_pspell.h:
13188         * sp_spell.C: remove fig inset, and the crap house of
13189           cards that follows it
13190
13191 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13192
13193         * Makefile.am:
13194         * lyxserver.C:
13195         * os2_defines.h:
13196         * os2_errortable.h:
13197         * nt_defines.h: move .h into support/
13198
13199         * vms_defines.h: remove
13200
13201         * WorkArea.C: add space in debug output
13202
13203         * text2.C:
13204         * paragraph.C:
13205         * buffer.C: add WITH_WARNINGS
13206
13207         * vc-backend.h:
13208         * vc-backend.C:
13209         * bufferlist.C: s/retrive/retrieve/, add docs
13210
13211         * vspace.h:
13212         * vspace.C:
13213         * kbmap.h:
13214         * lyxlength.h:
13215         * lyxgluelength.h:
13216         * length_common.h:
13217         * chset.h:
13218         * chset.C: add docs
13219
13220         * lyxgui.C: add ID to X error handler
13221
13222         * lyxtestclass.c: fix typo
13223
13224 2002-02-26  Juergen Vigna  <jug@sad.it>
13225
13226         * tabular_funcs.C (write_attribute): changed so that some default
13227         attributes are not written at all.
13228         (getTokenValue): set default values before trying to read the
13229         value so we have the return value always set as default if we don't
13230         find the token we search for.
13231
13232         * tabular.C (Write): write bools as bools not as strings!
13233
13234 2002-02-22  Juergen Vigna  <jug@sad.it>
13235
13236         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13237         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13238
13239         * text.C (leftMargin): don't add an indent for paragraphs inside
13240         tabular cells (fix #208).
13241
13242 2002-02-21  José Matos  <jamatos@fep.up.pt>
13243
13244         * tabular.C (docBook): fixed support for long tables.
13245
13246 2002-02-20  Juergen Vigna  <jug@sad.it>
13247
13248         * text2.C (getFont): get the drawing font of the Inset if this
13249         paragraph is inside an inset (only important for InsetERT for now).
13250
13251         * buffer.C (insertErtContents): use new lanugage params in ERT
13252         constructor.
13253
13254         * CutAndPaste.C: commenting out seemingly uneeded code.
13255
13256 2002-02-19  Allan Rae  <rae@lyx.org>
13257
13258         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13259         Iterators might be simple to use but they also get invalidated.
13260         (removeAutoInsets): renamed saved cursor tracking variables and added
13261         some comments to clarify what everything does.
13262
13263 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13264
13265         * Chktex.C:
13266         * LaTeX.C:
13267         * LyXSendto.C:
13268         * converter.C:
13269         * lyx_cb.C:
13270         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13271         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13272
13273         * lyxfunc.C:
13274         * vc-backend.h: remove #include "support/syscall.h"
13275
13276         * LaTeX.C:
13277         * LyXSendto.C:
13278         * converter.C: rearrange #includes in Lars' approved fashion.
13279
13280         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13281         forward declare class Timeout in the header file.
13282
13283         * XFormsView.C: changes due to the above.
13284
13285         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13286         similar to LyXView.
13287
13288         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13289         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13290
13291 2002-02-18  José Matos  <jamatos@fep.up.pt>
13292
13293         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13294         insets contents.
13295
13296 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13297
13298         * a lot of small ws changes
13299         * add a lot of using std::XXX
13300         * use std construcs some places where approp.
13301         * use some exisint stuff from lyxfunctional where approp.
13302         * Make file changes to use partial linking (lets test this now...)
13303
13304 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13305
13306         * Chktex.C:
13307         * buffer.C:
13308         remove #include "support/syscontr.h" as it's redundant. Always has been.
13309
13310         * Chktex.C:
13311         * LaTeX.C:
13312         * LyXSendto.C:
13313         * converter.C:
13314         * lyx_cb.C:
13315         * vc-backend.C:
13316         change Systemcalls::System to Systemcalls::Wait and
13317         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13318         No change of functionality, just reflects the stripped down Systemcalls
13319         class.
13320
13321 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13322
13323         * debug.[Ch]: add a GRAPHICS type to the enum.
13324
13325 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13326
13327         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13328
13329         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13330         there is an inset.
13331
13332 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13333
13334         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13335         match the changes below.
13336
13337         * text2.C (toggleInset): if there is not editable inset at cursor
13338         position, try to see if cursor is _inside_ a collapsable inset
13339         and close it.
13340
13341 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13342
13343         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13344         document menu has a nice checkbox
13345
13346 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13347
13348         * lyxlength.C (asLatexString): change PW to output as percent of
13349         \textwidth.
13350
13351         * lengthcommon.C: change '%' to 't%'
13352
13353         * lyxfunc.C (dispatch): a few comments from Martin
13354
13355 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13356
13357         * WorkArea.h:
13358         * WorkArea.C:
13359         * BufferView_pimpl.h:
13360         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13361           the X selection.
13362
13363 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13364
13365         * vspace.C (inPixels): fix compiler warning
13366
13367 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13368
13369         * lyxfunc.C (getStatus): fix status message for disabled commands.
13370
13371 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13372
13373         * BufferView_pimpl.C: fix crash on close buffer
13374         during selection (#227)
13375
13376 2002-01-27  Herbert Voss  <voss@lyx.org>
13377
13378         * buffer.C: link old Figure to new graphic inset
13379
13380 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13381
13382         * FontLoader.C (getFontinfo): Change the latex font names in order
13383         to match the names of type1inst.
13384
13385 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13386
13387         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13388
13389         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13390         (extchanged): ditto
13391         (ext_exist): ditto
13392         (remove_files_with_extension): ditto
13393         (remove_file): ditto
13394         (write): ditto
13395
13396         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13397         document is smaller than the work area height. Do not initialize
13398         static variables to 0.
13399
13400 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13401
13402         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13403
13404         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13405         LFUN_LAYOUT_PARAGRAPHS.
13406
13407         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13408         tabular. It is possible to provide a possible cell, which will
13409         typically be the actcell from the corresponding insettabular
13410
13411         * lyxfunc.C (getStatus): small cleanup; disable
13412         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13413         true
13414
13415 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13416
13417         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13418
13419         * paragraph.C (startTeXParParams):
13420         (endTeXParParams): new methods. The LaTeX code to
13421         start/end paragraph formatting
13422         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13423         empty (fixes bug #200)
13424
13425         * vspace.C (inPixels): adapt to the change below
13426         (inPixels): [later] more cleanups (remove unused variables)
13427
13428         * lyxlength.C (inPixels): change to use a width and a height as
13429         parameter.
13430
13431 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13432
13433         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13434         Replaced with \paperwidth
13435
13436         * DepTable.C (insert): add std:: qualifier
13437
13438 2002-01-18  Allan Rae  <rae@lyx.org>
13439
13440         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13441         updated also?
13442
13443         * text.C (drawInset): Turned out I didn't know enough about how
13444         rebreaking worked.  This fixes most of the redraw problems.  I see
13445         an occasional cursor trail when a line is broken now and the cursor
13446         placement can seem out by a few pixels also after a rebreak.
13447
13448 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13449
13450         * buffer.C (parseSingleLyXformat2Token): update because minipage
13451         width is now a LyXLength
13452
13453         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13454
13455         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13456         math insets
13457
13458 2002-01-17  Juergen Vigna  <jug@sad.it>
13459
13460         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13461
13462         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13463         is set correctly and the inset is updated correctly.
13464
13465 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13466
13467         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13468         the beginning of the loop.
13469
13470 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13471
13472         * lyxrc.C: improve help for use_scalable_fonts
13473
13474 2002-01-17  Allan Rae  <rae@lyx.org>
13475
13476         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13477
13478 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13479
13480         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13481         make sure to set their inset_owner to the right value (bug #171)
13482
13483 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13484
13485         * DepTable.h
13486         * DepTable.C: Implement mtime checking to reduce time spent doing
13487         CRCs.
13488
13489 2002-01-16  Juergen Vigna  <jug@sad.it>
13490
13491         * tabular.C (GetAdditionalHeight): one of error fixed.
13492
13493         * lyxrc.C (output): small fix in writing use_pspell.
13494
13495 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13496
13497         * sp_base.h: #include LString.h
13498
13499 2002-01-16  Allan Rae  <rae@lyx.org>
13500
13501         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13502         Can someone check this please?
13503
13504         * text.C (drawInset): It was possible that p.row would be removed by
13505         breakAgainOneRow upsetting a few other settings.  There may be another
13506         small tweak possible by setting need_break_row = 0 when p.row has been
13507         removed but I don't know enough about the logic here.
13508
13509 2002-01-15  Allan Rae  <rae@lyx.org>
13510
13511         * text.C (insertChar): removed conditional truism.
13512
13513         * BufferView2.C (removeAutoInsets): More tweaks.
13514         cur_par_prev could be a stray pointer.  Check for trailing empty line
13515         in case last line was cur_par and only had an error inset on it.
13516
13517 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13518
13519         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13520         absolute
13521
13522         * vc-backend.C (most methods):
13523         * exporter.C (Export):
13524         * converter.C (convert):
13525         (runLaTeX):
13526         * LyXSendto.C (SendtoApplyCB):
13527         * lyxfunc.C (dispatch):
13528         (menuNew):
13529         (open):
13530         (doImport):
13531         * lyx_cb.C (AutoSave):
13532         (InsertAsciiFile):
13533         * BufferView_pimpl.C (MenuInsertLyXFile):
13534         * buffer.C (runChktex): use Buffer::filePath().
13535
13536         * buffer.h: rename filename to filename_; rename filepath to
13537         filepath_ and make it private
13538         (filePath): new method
13539
13540         * buffer.C (writeFile): use fileName()
13541         (getLatexName):
13542
13543         * lyx_main.C (init): fix starting  of LyX when the binary is a
13544         link from so,ewhere else.
13545
13546         * minibuffer.C: include <cctype> for isprint
13547
13548 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13549
13550         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13551         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13552         name clash with InsetCollapsable's width function.
13553
13554 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * lastfiles.C: include <iterator>
13557
13558 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13559
13560         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13561         std::count.
13562
13563         * buffer.C (makeLaTeXFile): ditto.
13564         Also make loop operation more transparent.
13565
13566 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13567
13568         * ToolbarDefaults.C: remove trailing comma closing namespace.
13569
13570         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13571
13572         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13573         as in WorkArea.
13574
13575         * trans.C (Load): comment out unused variable, allowed.
13576
13577 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13578
13579         * minibuffer.[Ch] (append_char): new method to recieve input from the
13580         drop-down completion browser. If a key was pressed, then recieve this
13581         char and append it to the existing string.
13582         (peek_event): modify the positioning data passed to the completion
13583         browser so that it can be placed above the minibuffer rather than below.
13584 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13585
13586         * LyXAction.C (init): alloe error-next for readonly documents.
13587
13588         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13589         count.
13590
13591 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13592
13593         * bufferlist.C (readFile): create the buffer _after_ checking that
13594         the file exists.
13595
13596         * lyxfunc.C (verboseDispatch): fix handling of arguments
13597
13598         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13599
13600         * lyxrc.C: use string::erase() instead of initializing to "".
13601
13602
13603 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13604
13605         * BufferView_pimpl.h:
13606         * BufferView_pimpl.C:
13607         * WorkArea.h:
13608         * WorkArea.C:
13609         * text2.C: tell X when we have made a selection for copying
13610
13611 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13612
13613         * BufferView_pimpl.C (MenuInsertLyXFile):
13614         * lyxfunc.C (menuNew):
13615         (open):
13616         (doImport): add shortcuts to directory buttons
13617
13618         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13619         open a float)
13620
13621         * lyxfunc.C (setStatusMessage):
13622         (getStatusMessage): new methods
13623         (getStatus):use setStatusMessage instead of setErrorMessage
13624         (dispatch): when function is disabled, set error message here
13625         [instead of in getStatus previously]
13626
13627         * BufferView_pimpl.C (workAreaButtonRelease): update
13628         toolbar/menubar here too.
13629
13630 2002-01-13  Allan Rae  <rae@lyx.org>
13631
13632         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13633         Now seems indestructible.  Remaining task is to audit all other
13634         code affected by deleteEmptyParagraphMechanism.  One small quirk
13635         left is that an empty document with an error in the preamble can
13636         be made to report an error but no error box appears.  I don't know
13637         where it goes.
13638         (removeAutoInsets): Improved comments.
13639
13640 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13641
13642         * Thesaurus.h:
13643         * Thesaurus.C: update for Aiksaurus 0.14
13644
13645 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13646
13647         * text2.C (firstParagraph): removed member function, all uses
13648         replaces with ownerParagraph
13649         (redoParagraphs): here
13650         (updateInset): here
13651         (toggleAppendix): here
13652         * BufferView2.C (insertErrors): here
13653         (setCursorFromRow): here
13654
13655 2002-01-13  Allan Rae  <rae@lyx.org>
13656
13657         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13658         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13659         There is still a way to segfault this although you may have to do this
13660         multiple times: Have an InsetERT with an unknown command in it.
13661         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13662         <down-arrow>, <Enter> again, View->DVI, BANG!
13663
13664         * text2.C (setCursor):
13665         (deleteEmptyParagraphMechanism):
13666         * lyxtext.h (setCursor):
13667         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13668         Making use of the return value may help fix other bugs.
13669
13670 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13671
13672         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13673
13674         * LyXView.C (updateMenubar): call MenuBar::update here
13675         (updateToolbar): but not here
13676         (showState): do not update toolbar/menubar
13677
13678         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13679         should need to care about that.
13680
13681         * lyxfunc.C (verboseDispatch): simplify a bit
13682         (getStatus): have a version which takes a pseudoaction, and
13683         another which requires a (kb_action,string).
13684
13685         * LyXAction.C (retrieveActionArg): make it work also when action
13686         is not a pseudo-action.
13687         (getActionName): simplify a bit
13688         (helpText):
13689
13690 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13691
13692         * lyxfunc.C (verboseDispatch): new families of methods with
13693         several ways to specify a command and a bool to indicate whether
13694         the command name and shortcut should be displayed in minibuffer
13695         (eventually, we could extend that to a finer bitmask like
13696         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13697         (dispatch): the pristine dispatch command which just, well,
13698         dispatchs! Note it still sets its result to minibuffer; I'm not
13699         sure we want that.
13700
13701         * lyxfunc.h: remove setHintMessage
13702
13703         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13704
13705 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13706
13707         * BufferView_pimpl.C (specialChar): delete new inset if we have
13708         not been able to insert it.
13709
13710         * kbmap.C: revert to using int instead of kb_action, since all we
13711         are dealing with is pseudo-actions.
13712
13713         * LyXAction.C (searchActionArg): change to return int instead of
13714         kb_action, since the result is a pseudoaction.
13715
13716 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13717
13718         * buffer.C (insertErtContents): Fix (partially) the font bug.
13719
13720 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13721
13722         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13723         as the other one is broken on my machine!
13724
13725 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13726
13727         * commandtags.h:
13728         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13729
13730 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13731
13732         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13733         reflect their actual use. Provide compatibility code for older lyxrc
13734         files.
13735
13736         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13737         FL_NORMAL_STYLE.
13738         change names of popup font variables in line with the changes to lyxrc.C
13739
13740 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13741
13742         * buffer.C (asciiParagraph): avoid outputing a word twice after
13743         an inset.
13744
13745         * lyxrc.C (getDescription): document that document_path and
13746         template_path can be empty.
13747
13748 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13749
13750         * LaTeXFeatures.C (getMacros):
13751         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13752
13753         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13754
13755         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13756         getPackages.
13757         (getPackages): rename feature "floats" to "float". Use an array to
13758         iterate over 'simple' features (i.e. just a \usepackage). Add
13759         handling of "amsmath" (renamed from "amsstyle").
13760
13761 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13762
13763         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13764         features list.
13765
13766 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13767
13768         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13769         FuncStaus::FuncStatus & FuncStaus::some_method().
13770
13771 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13772
13773         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13774         of the func_satus stuff. Edited and massaged in various ways by
13775         JMarc.
13776
13777         * lyxfunc.C (getStatus): use FuncStatus
13778
13779 2002-01-08  Juergen Vigna  <jug@sad.it>
13780
13781         * text.C (nextBreakPoint): use function Inset::isChar().
13782
13783         * paragraph.C (TeXOnePar): use function
13784         Inset::forceDefaultParagraphs.
13785
13786         * buffer.C (latexParagraphs): use function
13787         Inset::forceDefaultParagraphs.
13788
13789 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13790
13791         * lyx_gui.C (init): set the style of the menu popups to
13792         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13793
13794 2002-01-07  Juergen Vigna  <jug@sad.it>
13795
13796         * text.C (setHeightOfRow): small fix
13797         (prepareToPrint): don't look at alignment if we don't have the place
13798         for doing it.
13799
13800 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13801
13802         * box.C: New file. Move the Box methods and functions out of box.h,
13803         following Lars' suggestion.
13804
13805 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13806
13807         * box.h: #include "support/LOstream.h", needed for inlined function.
13808
13809         * lyxtextclass.C:
13810         * lyxtextclasslist.C: added some using std declarations.
13811
13812 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13813
13814         * box.h: make signed dimensions to allow insets wider than
13815           the screen (bug #162)
13816
13817         * BufferView_pimpl.C: add some insetHit debug
13818
13819 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13820
13821         * vc-backend.C: add FIXME
13822
13823 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13824
13825         * lyxfunc.C (getStatus): enable code for showing math font status
13826         in toolbar/menu.
13827
13828 2002-01-07  Juergen Vigna  <jug@sad.it>
13829
13830         * text.C (nextBreakPoint): removed debug output not needed anymore.
13831
13832 2002-01-06  Juergen Vigna  <jug@sad.it>
13833
13834         * text.C (nextBreakPoint): fixed up this function we had this bug
13835         since ever but now hopefully we break row better.
13836         (insertChar): we have to check if an inset is the next char as it
13837         could now happen that a large inset is causing a break.
13838
13839 2002-01-05  Juergen Vigna  <jug@sad.it>
13840
13841         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13842         if it doesn't like to be drawed.
13843
13844 2002-01-04  Juergen Vigna  <jug@sad.it>
13845
13846         * BufferView2.C (lockInset): forgot to set a cursor.
13847
13848         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13849
13850 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13851
13852         * FormMathsPanel.C:
13853         * FormMathsPanel.h
13854         * MathsSymbols.C:
13855         * form_maths_panel.C:
13856         * form_maths_panel.h:
13857         * form_maths_panel.fd: implemented sub- and super- buttons in math
13858         panel.
13859
13860         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13861         (or ^ space) to be used as in TeX (req'd by André).
13862
13863         * lyxfunc.C: Allow ^ and _ again to be used both as
13864         super/subscript (mathed) and as themselves (in text).
13865
13866 2002-01-03  Allan Rae  <rae@lyx.org>
13867
13868         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13869         "LyX" or the filename of the current buffer if it has one.  This is a
13870         modified form of John Levon's patch.
13871
13872         * XFormsView.C (setWindowTitle): also set icon title.
13873
13874         * LyXView.h (setWindowTitle): signature changed.
13875         * XFormsView.h (setWindowTitle): ditto.
13876
13877 2002-01-02  Juergen Vigna  <jug@sad.it>
13878
13879         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13880
13881 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13882
13883         * screen.C (topCursorVisible): introduce a temp var for
13884         text->cursor.row(), handle the case where this row is null. (kindo
13885         hachish)
13886
13887         * text2.C (setCursor): add a couple of asserts.
13888
13889         * paragraph.h (inset_iterator): add -> operator
13890
13891         * paragraph.[Ch] (autoDeleteInsets): remove member function
13892
13893         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13894         cursor pos correctly and handle inset deletion by itself.
13895         (insertErrors): move iterator declaration out of for expression
13896
13897         * lyxtextclass.C: add <algorithm>
13898
13899         * Makefile.am: added the new files to sources, removed layout.C
13900
13901         * layout.C: removed file
13902
13903         * layout.h: remove LYX_DUMMY_LAYOUT
13904
13905         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13906         layout.
13907
13908         * lyxlayout.[Ch]:
13909         * lyxtextclass.[Ch]:
13910         * lyxtextclasslist.[Ch]: new files
13911
13912         * include order changes to a lot of files, also changes because of
13913         the six new files.
13914
13915 2001-12-27  Juergen Vigna  <jug@sad.it>
13916
13917         * buffer.C (asciiParagraph): more fixes.
13918
13919         * tabular.C (ascii): make ascii export support export of only the
13920         data separated by a column-delimiter.
13921         (ascii): better support for ascii export.
13922
13923         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13924
13925 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13926
13927         * tabular_funcs.C: use a "using std::getline" instead of the
13928         previous fix from Angus (necessary for cxx + lyxstring)
13929
13930 2001-12-24  Juergen Vigna  <jug@sad.it>
13931
13932         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13933
13934         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13935         problems. First check a minipage also if we have some ert-contents
13936         (not only on par->size(), second set the right depth of the paragraph
13937         on the relink to the root-paragraph-list!
13938
13939         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13940         which then did not anymore update the main paragraphs on undo/redo!
13941
13942 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13943
13944         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13945         code. Support all font-changing funcs (even those which are not in
13946         menu currently). Support for reporting font settings in
13947         mathed (disabled until Andre provides a function on mathed's side).
13948
13949         * func_status.h (toggle): small helper function to set toggle
13950         state on a flag.
13951
13952 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13953
13954         * tabular_funcs.C: getline -> std::getline
13955
13956 2001-12-21  Juergen Vigna  <jug@sad.it>
13957
13958         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13959         accessed and could be 0 (I couldn't generate this but it seems
13960         Michael could!).
13961
13962 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13965         * tabular_funcs.h: here and include iosfwd
13966
13967 2001-12-20  Juergen Vigna  <jug@sad.it>
13968
13969         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13970         inside inset but undo_par was.
13971
13972 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13973
13974         * Thesaurus.C: always include <config.h> in sources.
13975
13976         * Painter.h:
13977         * lyxlookup.h:
13978         * box.h: do not include <config.h> in header files
13979
13980         * text.C (paintLastRow): remove unused variable
13981
13982         * text.C (transformChar):
13983         (insertChar):
13984         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13985
13986         * Painter.C (text):
13987         * font.C (width): rewrite to use uppercase() instead of
13988         islower/toupper.
13989
13990         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13991
13992 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * lyxfind.C: clean up of find failure position change
13995
13996 2001-12-20  Juergen Vigna  <jug@sad.it>
13997
13998         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13999
14000         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14001         (TeXRow): added to LaTeX a single tabular row.
14002         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14003         (Latex): simplified and finally good LT-h/f support.
14004         (various_functions): just small adaptions for LT-h/f support.
14005
14006         * tabular_funcs.[hC]: added and moved here all not classfunctions
14007         of LyXTabular.
14008
14009 2001-12-19  Juergen Vigna  <jug@sad.it>
14010
14011         * tabular.[Ch]: better support for longtabular options (not finished
14012         yet!)
14013
14014 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14015
14016         * text.C (paintLastRow): use the label font instead of the font of
14017         the last character to compute the size of *_BOX. This makes more
14018         sense and avoids a crash with empty paragraphs.
14019         Use Painter::rectangle to draw EMPTY_BOX.
14020
14021 2001-12-19  Juergen Vigna  <jug@sad.it>
14022
14023         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14024         the paragraphs if the replaced paragraph is not the first one!
14025         Tried to delete not used paragraphs but does not work yet so for
14026         now it's inside #ifdef's and by default off!
14027
14028 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14029
14030         * MenuBackend.C: include "lyx_main.h" instead of declaring
14031         lastfiles (actually was declared as LastFiles* instead of a
14032         scoped_ptr).
14033
14034 2001-12-17  Juergen Vigna  <jug@sad.it>
14035
14036         * tabular.C (AppendColumn): applied John's fix
14037
14038 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14039
14040         * BufferView.h:
14041         * BufferView.C:
14042         * BufferView_pimpl.h:
14043         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14044
14045         * Makefile.am:
14046         * box.h: new start of class for above
14047
14048         * lyxfunc.C: ignore space-only minibuffer dispatches.
14049           Show the command name when it doesn't exist
14050
14051         * minibuffer.C: don't add empty lines to the history
14052
14053         * minibuffer.C: add a space on dropdown completion
14054
14055 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14056
14057         * text.C: fix line above/below drawing in insets
14058
14059 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14060
14061         * lyxlength.C (LyXLength): Initialize private variables.
14062
14063 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14064
14065         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14066         when inserting error insets.
14067
14068 2001-12-13  Juergen Vigna  <jug@sad.it>
14069
14070         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14071         actually sometimes the before-paragraph.
14072         (setUndo): don't clear the redostack if we're not actually undoing!
14073
14074 2001-12-06  Juergen Vigna  <jug@sad.it>
14075
14076         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14077         and fixed redoing of main paragraph, so we can use it now ;)
14078
14079         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14080
14081 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14082
14083         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14084         Juergen's request
14085
14086 2001-12-13  André Pönitz <poenitz@gmx.net>
14087
14088         * undostack.[Ch]:
14089         * undo_func.C: minor cleanup
14090
14091 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14092
14093         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14094         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14095         font in urw-fonts package which is marked as -urw-fontspecific and
14096         does not work (incidentally, changing the encoding in the
14097         fonts.dir of this package to -adobe-fontspecific fixes the
14098         problem).
14099
14100         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14101         is a crash when undoing first paragraph (Juergen, please take a
14102         look). THis does not mean the undo fix is wrong, just that it
14103         uncovers problems.
14104
14105         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14106         the (Paragraph*) version when needed instead of duplicating the
14107         code.
14108
14109         * text.C (workWidth): use Inset::parOwner to find out where the
14110         inset has been inserted. This is a huge performance gain for large
14111         documents with lots of insets. If Inset::parOwner is not set, fall
14112         back on the brute force method
14113
14114         * paragraph_pimpl.C (insertInset):
14115         * paragraph.C (Paragraph):
14116         (cutIntoMinibuffer): set parOwner of insets when
14117         inserting/removing them
14118
14119         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14120
14121 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14122
14123         * commandtags.h:
14124         * LyXAction.C:
14125         * lyx_main.C:
14126         * lyxfunc.C:
14127         * mathed/formulabase.C:
14128         * mathed/math_cursor.[Ch]:
14129         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14130
14131
14132 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14133
14134         * lyxlength.[Ch] (operator!=): new function
14135
14136 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14137
14138         * text.C (workWidth): use Inset::parOwner to find out where the
14139         inset has been inserted. This is a huge performance gain for large
14140         documents with lots of insets. If Inset::parOwner is not set, fall
14141         back on the brute force method
14142
14143         * paragraph_pimpl.C (insertInset):
14144         * paragraph.C (Paragraph):
14145         (cutIntoMinibuffer): set parOwner of insets when
14146         inserting/removing them
14147
14148         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14149
14150 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14151
14152         * tabular-old.C (getTokenValue):
14153         * tabular.C (getTokenValue):
14154         (write_attribute): new versions for LyXLength
14155         (everywhere): adjust the use of widths
14156
14157         * tabular.h: change the type of widths from string to LyXLength
14158
14159 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14160
14161         * paragraph.C: fixed missing line number count when exporting
14162         Environments to LaTeX file
14163
14164         * buffer.C: added informational message for checking line numbers.
14165
14166 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14167
14168         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14169         paragraph, do the 'double space' part, but not the 'empty
14170         paragraph' one.
14171
14172         * text.C (workWidth): small optimization
14173         (getLengthMarkerHeight): use minimal size for negative lengths.
14174
14175 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14176
14177         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14178
14179         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14180
14181 2001-12-11  André Pönitz <poenitz@gmx.net>
14182
14183         * FontLoader.C:
14184         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14185
14186 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14187
14188         * text2.C: keep selection on a setFont()
14189
14190 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * lyx_cb.C: another bv->text misuse, from insert label
14193
14194 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * kbsequence.h:
14197         * kbsequence.C: re-instate nmodifier mask
14198
14199 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * lyx_main.h: make lyxGUI private.
14202
14203 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14204
14205         * lyxfind.C: place the cursor correctly on failed search
14206
14207 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14208
14209         * text.C (getLengthMarkerHeight): for small heights, the arrows
14210         are not always on top/bottom of the text
14211         (drawLengthMarker): smaller arrows; take the left margin in
14212         account; draw also vfills.
14213         (paintFirstRow):
14214         (paintLastRow): remove special code for vfill and standard spaces,
14215         since everything is handled in drawLengthMarker now.
14216
14217 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14218
14219         * buffer.C (insertErtContents): try to handle font and language
14220         interaction a bit better.g
14221
14222         * ColorHandler.C (updateColor): change the hash to cover the whole
14223         LColor enum, ws cleanup
14224         (getGCLinepars): ditto
14225         (getGCLinepars): only lookup in the linecache once.
14226
14227 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14228
14229         * iterators.C (operator++): Make the iterator more robust
14230
14231         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14232         (John's patch)
14233         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14234
14235 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14236
14237         * lyxtext.h:
14238         * text.C: better added space drawing
14239
14240 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14241
14242         * LyXView.C:
14243         * BufferView2.C: fix layout combo update on inset unlock
14244
14245 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14246
14247         * Makefile.am: don't compile unused files
14248
14249 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14250
14251         * lyxfunc.C:
14252         * commandtags.h:
14253         * LyXAction.C: remove old LFUN_LAYOUTNO
14254
14255 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14256
14257         * paragraph_pimpl.h:
14258         * paragraph_pimpl.C: isTextAt() doesn't need font param
14259
14260 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14261
14262         * lyxlex.h:
14263         * lyxlex.C: little cleanup
14264
14265 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14266
14267         * BufferView_pimpl.C: fix insertAscii for insets
14268
14269 2001-12-05  Juergen Vigna  <jug@sad.it>
14270
14271         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14272         set the right font on the "multi" paragraph paste!
14273
14274 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14275
14276         * trans_decl.h:
14277         * trans_mgr.[Ch]:
14278         * trans.[Ch]:
14279         * lyxgluelength.C:
14280         * lyxlength.C: remove out-commented code.
14281
14282         * BufferView_pimpl:
14283         * CutAndPaste.C:
14284         * DepTable.C:
14285         * buffer.C:
14286         * chset.C:
14287         * lastfiles.C:
14288         * lyxlex.C:
14289         * lyxlex_pimpl.C:
14290         * lyxserver.C:
14291         * screen.C:
14292         * tabular-old.C:
14293         * tabular.C:
14294         * text.C:
14295         * trans_mgr.C:
14296         * vc-backend.C: change "while(" to "while ("
14297
14298         * lyxlength.[Ch]: add zero function to check if length is zero or
14299         not
14300         * lyxgluelength.C: use it
14301
14302 2001-12-05  Allan Rae  <rae@lyx.org>
14303
14304         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14305         Works for 2.95.3, from what I understand of Garst's reports this should
14306         work for other g++ versions.  We're screwed if the abs(int) definition
14307         changed between bugfix releases of gcc.
14308
14309 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14310
14311         * text.C: fix chapter label offset !
14312
14313 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * lyxtext.h:
14316         * text.C: fix hfill at end of line, clean up
14317
14318 2001-12-04  Juergen Vigna  <jug@sad.it>
14319
14320         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14321         that we force an update of the inset and it's owners if neccessary.
14322
14323 2001-12-03  Juergen Vigna  <jug@sad.it>
14324
14325         * text.C (rowLast): simplified code
14326
14327 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * lyxfunc.C: fix show options on timeout
14330
14331 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14332
14333         * screen.C (topCursorVisible): scroll half a page when the cursor
14334         reached top of bottom of screen
14335
14336 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14337
14338         * minibuffer.C: deactivate on loss of focus
14339
14340 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14341
14342         * vspace.[Ch] (operator!=): add operator.
14343
14344 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14345
14346         * BufferView_pimpl.C: refuse to open an inset when
14347         there's a selection.
14348
14349 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14350
14351         * BufferView_pimpl.C: allow to click on RHS of full row insets
14352
14353 2001-11-30  Juergen Vigna  <jug@sad.it>
14354
14355         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14356         insets for undo reasons.
14357
14358 2001-11-28  André Pönitz <poenitz@gmx.net>
14359
14360         * vspace.[Ch]: cosmetical changes
14361
14362 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14363
14364         * LyXAction.h:
14365         * LyXAction.C:
14366         * lyxfunc.h:
14367         * lyxfunc.C:
14368         * kbmap.h:
14369         * kbmap.C:
14370         * lyxrc.C:
14371         * kbsequence.h:
14372         * kbsequence.C: part re-write of old kb code
14373
14374         * Painter.C:
14375         * WorkArea.C: remove Lgb_bug_find_hack
14376
14377 2001-11-30  José Matos <jamatos@fep.up.pt>
14378
14379         * buffer.C (makeDocBookFile): add a comment to point a hack.
14380         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14381         Fixed a double write of labels.
14382
14383 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14384
14385         * LaTeX.C:
14386         * LaTeX.h Fixed bug in LaTeX class where it would not
14387         re-run latex if no depfiles were changed, but the .dvi was removed.
14388
14389 2001-11-28  André Pönitz <poenitz@gmx.net>
14390
14391         * all the files from the change on 2001/11/26:
14392         use lyx::layout_type instead of LyXTextClass::size_type
14393         use lyx::textclass_type instead of LyXTextClassList::size_type
14394
14395 2001-11-29  Juergen Vigna  <jug@sad.it>
14396
14397         * text.C: added support for paragraph::isFreeSpacing()
14398
14399         * buffer.C: same as above
14400
14401         * paragraph.h: inserted isFreeSpacing() function to enable
14402         FreeSpacing inside InsetERT.
14403
14404         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14405         of the paragraph's in the cut/copy buffer to 0!
14406
14407         * text2.C (removeRow): remove the assert as it can!
14408
14409         * lyxtext.h: added helper function firstRow returning firstrow and
14410         made firstrow private again.
14411
14412         * BufferView2.C (lockInset): don't relock if we're already locked!
14413
14414         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14415         the only paragraph.
14416         (removeRow): added Assert::(firstrow)
14417
14418         * debug.C: forgot to add INSETTEXT here.
14419
14420 2001-11-28  Juergen Vigna  <jug@sad.it>
14421
14422         * sp_spell.C (initialize): changed error text to more general
14423         spellchecker command use (not only ispell!)
14424
14425         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14426
14427         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14428
14429 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14430
14431         * vspace.C: initialise lyxgluelength on failure
14432
14433 2001-11-28  Allan Rae  <rae@lyx.org>
14434
14435         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14436         declaration & definition that looks like a function declaration.
14437
14438 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14439
14440         * BufferView2.C (copy):
14441         (copyEnvironment): do not clear the selection when doing a copy.
14442
14443         * text.C (paintFirstRow): compilation fix
14444
14445 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14446
14447         * tabular.C (Latex): correct line count when writing latex.
14448
14449 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14450
14451         * paragraph_pimpl.h:
14452         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14453           bug a bit
14454
14455 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14456
14457         * text.C:
14458         * LColor.h:
14459         * LColor.C: change vfillline->added_space
14460
14461         * text.C: add markers and text for added space
14462
14463         * vspace.C: fix comment
14464
14465 2001-11-28  André Pönitz <poenitz@gmx.net>
14466
14467         * paragraph.C: whitespace changes
14468         * all the other files from the change on 2001/11/26:
14469         change *::pos_type into lyx::pos_type
14470
14471 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14472
14473         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14474         language of the document when inserting error insets.
14475
14476 2001-11-26  André Pönitz <poenitz@gmx.net>
14477
14478         * BufferView_pimpl.[Ch]:
14479         *       CutAndPaste.C:
14480         * buffer.[Ch]:
14481         * lyxcursor.[Ch]:
14482         * lyxfind.C:
14483         * lyxfunc.C:
14484         * lyxrow.[Ch]:
14485         * paragraph.[Ch]:
14486         * paragraph_pimpl.[Ch]:
14487         * sp_spell.C:
14488         * text.C:
14489         * text2.C: reduce header dependencies, introduce type for positions
14490
14491 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14492
14493         * <various>: change to use Alert.h
14494
14495 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14496
14497         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14498         when encountering an unknown token.
14499         (readLyXformat2): Show an error message if there were unknown tokens.
14500
14501 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14502
14503         * BufferView2.C:
14504         * BufferView_pimpl.C:
14505         * buffer.C:
14506         * paragraph.h:
14507         * text.C:
14508         * text2.C: use par->isInset()
14509
14510 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14511
14512         * paragraph_pimpl.h:
14513         * paragraph_pimpl.C: cleanup
14514
14515 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14516
14517         * text2.C (removeRow):
14518         * text.C (setHeightOfRow): remove useless (and costly) call to
14519         getRow.
14520
14521 2001-11-20  Allan Rae  <rae@lyx.org>
14522
14523         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14524         Now need Inset*::checkInsertChar() to return true for appropriate
14525         cases so that the characters in the minibuffer will actually be
14526         inserted.
14527
14528 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14529
14530         * text.C: change the order of the includes.
14531         (workWidth): initialize it at once.
14532         (workWidth): make maxw unsigned
14533         (setHeightOfRow): remove unused variable (inset)
14534         (selectSelectedWord): remove unused variable (inset)
14535         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14536
14537 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14538
14539         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14540         server is not running.
14541         (openConnection):
14542         (closeConnection): add debug info when server is disabled.
14543
14544         * ColorHandler.C (getGCForeground): send debug message to GUI
14545         channel.
14546
14547         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14548
14549         * kbmap.C (bind): modify because return conventions of
14550         kb_sequence::parse have changed.
14551
14552         * kbsequence.C (parse): only ignore spaces and not any stupid
14553         control character. This avoids tests like s[i] <= ' ', which are
14554         guaranteed to fail with 8bit characters and signed chars.
14555         Change return code to string::npos when there have been no error
14556         (0 was a bad idea when error is at first character)
14557
14558 2001-11-14  José Matos  <jamatos@fep.up.pt>
14559
14560         * buffer.h:
14561         * buffer.C (simpleDocBookOnePar): removed unused argument.
14562
14563 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14564
14565         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14566         insets which are part of a word. Paragraph::isLetter takes care of
14567         that now. Use Paragraph::isInset to identify insets.
14568         (selectSelectedWord): do not test for hyphenation break.
14569
14570         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14571         that protected spaces are considered as spaces.
14572
14573         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14574         Inset::isLetter.
14575
14576 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14577
14578         * lyxserver.h:
14579         * lyxserver.C: fix it. and small cleanup.
14580
14581 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14582
14583         * BufferView_pimpl.C: use inline helpers
14584
14585         * LaTeXFeatures.h:
14586         * LaTeXFeatures.C: fix typos
14587
14588         * Spacing.h:
14589         * Spacing.C: move spacing_string into class
14590
14591         * ToolbarDefaults.C: move stuff into namespace anon
14592
14593         * layout.h: update enum
14594
14595         * lyxfunc.C: use better debug
14596
14597         * minibuffer.h: fix typo
14598
14599         * debug.h:
14600         * debug.C:
14601         * WorkArea.C: add and use Debug::WORKAREA
14602
14603         * lyxtext.h:
14604         * text.C:
14605         * text2.C: code re-organisation, inline helpers
14606
14607 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14608
14609         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14610         std::vector.empty().
14611
14612 2001-11-09  Allan Rae  <rae@lyx.org>
14613
14614         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14615         '\n's after tables.  Tabular and ERT inset work now makes this no
14616         longer necessary.
14617
14618 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14619
14620         * minibuffer.h:
14621         * minibuffer.C: fix crash, improve drop-down completion
14622
14623 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14624
14625         * lyxserver.h:
14626         * lyxserver.C: invalidate fd's when doing endPipe()
14627
14628 2001-11-08  José Matos  <jamatos@fep.up.pt>
14629
14630         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14631         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14632
14633         * paragraph.h:
14634         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14635
14636 2001-11-07  José Matos  <jamatos@fep.up.pt>
14637
14638         * buffer.h:
14639         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14640         const qualifier.
14641
14642         * buffer.C (sgmlOpenTag):
14643         * buffer.C (sgmlCloseTag): removed debug info.
14644
14645         * buffer.h (sgmlOpenTag):
14646         * buffer.h (sgmlCloseTag): made public.
14647
14648 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14649
14650         * buffer.C (saveParamsAsDefaults):
14651         * lyx_cb.C (MenuLayoutSave): remove
14652
14653         * LyXAction.C (init):
14654         * commandtags.h:
14655         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14656
14657 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14658
14659         * buffer.C (setPaperStuff): removed from here...
14660
14661         * bufferparams.C (setPaperStuff): ... and moved there.
14662
14663 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * minibuffer.h:
14666         * minibuffer.C:
14667         * XFormsView.C: add support for drop-down completion
14668
14669 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14670
14671         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14672         commands.
14673
14674 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14675
14676         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14677         disabled.
14678
14679 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14680
14681         * lyx_main.C: change ref to known bugs
14682
14683 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14684
14685         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14686         to work around older babel problems.
14687
14688 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14689
14690         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14691
14692 2001-10-24  Juergen Vigna  <jug@sad.it>
14693
14694         * tabular-old.C (ReadOld): below variable changes reflected.
14695
14696         * tabular.[Ch]: added ltType struct for longtable header/footer
14697         defines and changed all instances where they are used. Added
14698         future support for double top/bottom rows.
14699
14700 2001-10-24  José Matos  <jamatos@fep.up.pt>
14701
14702         * buffer.h (docbookHandleCaption):
14703         * buffer.C (docbookHandleCaption): removed unused function.
14704         (makeDocBookFile): moved docbook supported version to v4.1.
14705
14706 2001-10-24  José Matos  <jamatos@fep.up.pt>
14707
14708         * tabular.h:
14709         * tabular.C (docbookRow): new function to export docbook code of a row.
14710         (DocBook): now honors the longtable flags.
14711
14712 2001-10-23  José Matos  <jamatos@fep.up.pt>
14713
14714         * LaTeXFeatures.h:
14715         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14716         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14717
14718         * buffer.C (makeLinuxDocFile):
14719         (makeDocBookFile): reworked the preamble, more clean, and with
14720         support for lyx defined entities. Changed the document declaration
14721         to be more XML friendly.
14722
14723         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14724         if we need to output XML that should be done with a filter.
14725
14726 2001-10-22  Juergen Vigna  <jug@sad.it>
14727
14728         * sp_pspell.h (class PSpell): add alive function needed in the
14729         controller to see if the spellchecker could be started.
14730
14731 2001-10-22  Juergen Vigna  <jug@sad.it>
14732
14733         * buffer.C (insertStringAsLines): modify the font for inserting
14734         chars in certain conditions by calling checkInsertChar(font).
14735
14736 2001-10-19  Juergen Vigna  <jug@sad.it>
14737
14738         * text.C (workWidth): use getRow instead of wrong algorithm.
14739         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14740
14741 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14742
14743         * lyxserver.h:
14744         * lyxserver.C:
14745         * lyx_main.h:
14746         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14747
14748 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * text.C (workWidth): do not search for the exact row when
14751         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14752         optimization for big documents.
14753
14754 2001-10-18  Juergen Vigna  <jug@sad.it>
14755
14756         * text.C (workWidth): new function with added Inset * parameter.
14757
14758 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14761
14762         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14763         change return type of getColumnNearX.
14764
14765
14766         * text.C (changeRegionCase): use uppercase/lowercase instead of
14767         toupper/tolower.
14768         (leftMargin):
14769         (rightMargin): simplify code by factoring out the uses of
14770         textclasslist.
14771         (labelFill):
14772         (numberOfHfills):
14773         (setHeightOfRow):
14774         (appendParagraph): use Paragraph::size_type
14775
14776 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14777
14778         * vspace.C (asLatexString): add a missing break
14779
14780 2001-10-15  Herbert Voss  <voss@perce.de>
14781
14782         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14783
14784 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14787         is not available.
14788
14789 2001-10-10  André Pönitz <poenitz@gmx.net>
14790
14791         * lyxfunc.C: removed greek_kb_flag.
14792
14793 2001-10-10  Herbert Voss  <voss@perce.de>
14794
14795         * lyx_main.C: delete global string help_lyxdir.
14796
14797 2001-10-09  Herbert Voss  <voss@perce.de>
14798
14799         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14800
14801         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14802
14803         * lyx_main.C: added global string help_lyxdir.
14804
14805         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14806
14807 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14808
14809         * lyxrc.C (set_font_norm_type): support iso8859-4
14810
14811 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14812
14813         * LaTeX.C (deplog): add another regex for MikTeX
14814
14815 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14816
14817         * lyxrc.C (set_font_norm_type): support iso8859-3
14818
14819 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14820
14821         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14822
14823         * LaTeXFeatures.C: remove special case of french and index
14824
14825         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14826         before \begin{document}). This solves several incompatibilities.
14827
14828 2001-10-03  Garst Reese  <reese@isn.net>
14829
14830         * lyx_cb.C: change CheckTex error msg.
14831
14832 2001-10-03  José Matos  <jamatos@fep.up.pt>
14833
14834         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14835
14836 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14837
14838         * .cvsignore: update
14839
14840         * lyx_main.C (commandLineVersionInfo): use new style version info.
14841
14842         * buffer.C (writeFile):
14843         (makeLaTeXFile):
14844         (makeLinuxDocFile):
14845         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14846
14847         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14848
14849         * version.h: update to use stuff in version.C
14850
14851         * version.C.in: new file. Contains version information determined
14852         at compile time. This is a merging of version.h and
14853         version_info.h.in.
14854
14855 2001-10-03  Juergen Vigna  <jug@sad.it>
14856
14857         * BufferView_pimpl.C (update): don't change "dirty" status in
14858         updateInset call.
14859
14860 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14861
14862         * WorkArea.C (c-tor): re-position version string slightly.
14863
14864 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14865
14866         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14867         revert to previous code.
14868
14869         WorkArea.[Ch]: (show, destroySplash): methods removed.
14870
14871         WorkArea.C: rework code so that it's an amalgam of the codes before and
14872         after the splash screen was moved to WorkArea.
14873
14874 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14875
14876         * lyxrc.C (read):
14877         * vspace.C (inPixels):
14878         (lyx_advance):
14879         * kbmap.C (bind):
14880         * buffer.C (insertStringAsLines):
14881         (asciiParagraph): fix types to be large enough
14882
14883         * lyxlex_pimpl.h: change member status from short to int
14884
14885         * layout.h: fix type of endlabeltype
14886
14887         * kbmap.C (bind):
14888         * kbsequence.C (parse): change return type to string::size_type
14889
14890         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14891         variable
14892
14893         * Bullet.C (bulletSize):
14894         (bulletEntry): do not use short ints as parameters
14895
14896         * BufferView2.C (insertLyXFile): change a char to an int.
14897
14898         * WorkArea.C (WorkArea): remove unneeded floats in computation
14899
14900 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14901
14902         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14903
14904         * paragraph.C (asString): Do not ignore newline/hfill chars when
14905         copying to the clipboard.
14906
14907 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14908
14909         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14910         after a multi-line inset.
14911
14912 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14913
14914         * paragraph.C (validate): Set NeedLyXFootnoteCode
14915
14916 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14917
14918         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14919         and decrease-error to decrease.
14920
14921 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14922
14923         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14924         it more readable (should be equivalent)
14925
14926 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14927
14928         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14929
14930 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14931
14932         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14933         of a cursor (row, etc.) after a character has been deleted
14934         (deleteEmptyParagraphMechanism): call the method above on _all_
14935         cursors held by the LyXText when a double space has been
14936         detected/deleted.
14937
14938 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14939
14940         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14941         pixmap.
14942         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14943
14944         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14945         background. Use greyOut() and the new show() methods to toggle between
14946         the foreground and background. Add code to remove the splash after
14947         its initial showing.
14948
14949         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14950         (create_forms): no longer call Dialogs::showSplash.
14951
14952 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14953
14954         * .cvsignore: add version_info.h
14955
14956 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * version_info.h.in: new file
14959
14960         * Makefile.am: add version_info.h.in
14961
14962         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14963         version_info.h instead of VERSION_INFO
14964
14965 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14966
14967         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14968         The ERT inset now returns string().
14969
14970 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14971
14972         * lyxtext.h, text.C (selectNextWord): renamed as
14973         selectNextWordToSpellcheck.
14974
14975         * text.C (selectNextWordToSpellcheck): Modified to not select
14976         words inside an ERT inset.
14977
14978 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14979
14980         * lyx_cb.C (MenuLayoutSave): change a bit the question
14981
14982         * sp_base.h: include <sys/types.h>
14983
14984 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14985
14986         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14987
14988 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14989
14990         * several files: fix typos in user-visible strings
14991
14992 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * text2.C (pasteSelection): do not set the selection, since it
14995         will be cleared later. Actually, the intent was to fix the way the
14996         selection was set, but I figured rmoving the code was just as good.
14997
14998 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14999
15000         * FontLoader.C (available): Check if font is available without
15001         loading the font.
15002
15003 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15004
15005         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15006
15007 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15008
15009         * lyxrc.[Ch]: added display_graphics variable and associated code.
15010
15011 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15012
15013         * bufferparams.C (hasClassDefaults): new method. Returns true if
15014         the buffer parameters correspond to known class defaults
15015
15016 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15017
15018         * XFormsView.C (show): set minimum size to the main window.
15019
15020 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15021
15022         * text2.C (copySelection):
15023         (cutSelection):
15024         * lyxfind.C (LyXReplace):
15025         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15026         LyXText::selectionAsString.
15027
15028         * paragraph.C (asString): add "label" argument to the second form
15029
15030         * text2.C (selectionAsString): add "label" argument and pass it to
15031         Paragraph::asString.
15032
15033 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15034
15035         * lyx_main.C (commandLineHelp): remove version information
15036
15037 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15038
15039         * lyx_main.C: add -version commandline option
15040
15041 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15042
15043         * paragraph.h: make the optional constructor arg required instead.
15044         some modifications to other files because of this.
15045
15046         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15047
15048         * lyxserver.C (C_LyXComm_callback): make it static
15049
15050         * lyx_main.C (error_handler): make it static
15051
15052         * lyx_gui.C (LyX_XErrHandler): make it static
15053
15054         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15055
15056         * WorkArea.C: make the extern "C" methods static.
15057
15058         * Makefile.am (lyx_LDADD): simplify
15059
15060 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15061
15062         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15063         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15064
15065         * LyXAction.C (init):
15066         * lyxfunc.C (dispatch): associated code removal.
15067
15068 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15069
15070         * lyxfont.h (isSymbolFont): shut off warning
15071
15072         * text.C (setHeightOfRow):
15073         (getVisibleRow): fix crash with empty paragraphs which have a
15074         bottom line
15075
15076 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15077
15078         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15079         code.
15080
15081 2001-09-04  José Matos  <jamatos@fep.up.pt>
15082         * buffer.C
15083         * buffer.h
15084         * tabular.C (docbook): rename docBook method to docbook.
15085
15086 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15087
15088         * Makefile.am: add dependencies to main.o.
15089
15090 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15091
15092         * FontLoader.C (available): Return false if !lyxrc.use_gui
15093
15094 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15095
15096         * FontInfo.C (query):
15097         * converter.C (view):
15098         * importer.C (Import):
15099         * exporter.C (Export): Can not -> cannot.
15100
15101 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15102
15103         * BufferView_pimpl.C: allow to create index inset even if
15104           string is empty
15105
15106 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15107
15108         * buffer.C (getLists): replace boost::tie code with an explicit pair
15109         as boost::tie can break some compilers.
15110
15111         * iterators.h: Added a std:: declaration to the return type of
15112         ParIterator::size.
15113
15114 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15117           case.
15118
15119 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15120
15121         * iterators.[Ch]: New files. Provide paragraph iterators.
15122
15123         * buffer.C (changeLanguage): Use paragraph iterators.
15124         (isMultiLingual): ditto
15125
15126         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15127
15128 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15129
15130         * FontLoader.C: Support for cmr font.
15131
15132 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15133
15134         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15135         (available): New method.
15136
15137         * FontInfo.C (getFontname): Use scalable fonts even when
15138         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15139         found.
15140
15141 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15142
15143         * converter.C (Formats::view): reverted! Incorrect fix.
15144
15145 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15146
15147         * converter.C (Formats::view): only output the -paper option
15148         if the dvi viewer is xdvi, thereby fixing bug #233429.
15149
15150 2001-08-23  Herbert Voss  <voss@perce>
15151
15152         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15153
15154 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15155
15156         * Spacing.h (Spacing): Set space to Default on in the default
15157         constructor.
15158
15159 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15160
15161         * vc-backend.h (RCS::versionString): add RCS to version
15162         (CVS::versionString): add CVS to version
15163
15164         * vc-backend.C (scanMaster): do not add CVS to version.
15165         (scanMaster): do not add RCS to version
15166
15167         * lyxvc.C (versionString): new method
15168
15169         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15170
15171 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15172
15173         * Spacing.C (set): initialize fval
15174
15175 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15178         " or \.
15179
15180 2001-08-16  Juergen Vigna  <jug@sad.it>
15181
15182         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15183
15184 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15185
15186         * BufferView_pimpl.C:
15187         * figureForm.C:
15188         * lyxtext.h:
15189         * text2.C: setParagraph takes linespacing now
15190
15191 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15192
15193         * LyxAction.C: add internal LFUN_CITATION_INSERT
15194
15195         * LyXView.C: actually apply fix
15196
15197         * bufferlist.C: fix open non-existent file
15198
15199         * lyxfind.C: fix indentation
15200
15201         * lyxfunc.C: remove unneeded assert, fix typo
15202
15203 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15204
15205         * MenuBackend.C: use "Floatname List"
15206
15207 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15208
15209         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15210         when converting LaTeX layout to insetERT.
15211         Generate a non-collapsed float when reading old float
15212
15213 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15214
15215         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15216         ERT insets.
15217
15218 2001-08-13  Juergen Vigna  <jug@sad.it>
15219
15220         * text.C (fill): return 0 instead of 20 as this seems to be the more
15221         correct value.
15222
15223 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15224
15225         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15226         lyxrc.font_norm.
15227
15228 2001-08-13  Juergen Vigna  <jug@sad.it>
15229
15230         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15231         casesensitive off.
15232         (SearchBackward): comment out the unlocking of the inset_owner this
15233         should not be needed!
15234
15235 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15236
15237         * Many files: Remove inherit_language, and add latex_language
15238
15239         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15240         collapsible insets.
15241
15242 2001-08-10  Juergen Vigna  <jug@sad.it>
15243
15244         * text.C (prepareToPrint): fixed hfill-width in draw!
15245
15246         * BufferView2.C (selectLastWord): save the selection cursor as this
15247         now is cleared in the function LyXText::clearSelection!
15248
15249 2001-08-08  Juergen Vigna  <jug@sad.it>
15250
15251         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15252         BACKSPACE type functions.
15253
15254         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15255         is only cutted from the document but not put in the cut-buffer, where
15256         still the old stuff should be.
15257
15258         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15259
15260         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15261
15262         * tabular.C (SetWidthOfCell): fixed special case where the width
15263         was not updated!
15264         (LeftLine): handle '|' in align_special.
15265         (RightLine): ditto
15266         (LeftAlreadyDrawed): ditto
15267         (SetWidthOfCell): ditto
15268
15269 2001-08-07  Juergen Vigna  <jug@sad.it>
15270
15271         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15272
15273 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15274
15275         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15276         * lyxlex.[hC]: ditto
15277
15278 2001-08-06  Juergen Vigna  <jug@sad.it>
15279
15280         * text.C (getVisibleRow): fix up row clearing a bit.
15281
15282 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15283
15284         * minibuffer.C: make sure the X server sees the changes in the input.
15285
15286 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15287
15288         * paragraph.C (getFont): split into...
15289         (getLabelFont): this
15290         (getLayoutFont): and this
15291         * paragraph_pimpl.C (realizeFont): calling this
15292
15293         * text2.C (getFont): split into...
15294         (getLayoutFont): this
15295         (getLabelFont): and this
15296         (realizeFont): all three calling this
15297
15298         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15299         files where used.
15300
15301 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15302
15303         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15304
15305 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15306
15307         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15308         layouts from the Quote inset insertion.
15309
15310 2001-08-03  Juergen Vigna  <jug@sad.it>
15311
15312         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15313
15314         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15315         only if status not is already CHANGED_IN_DRAW (second level).
15316
15317         * text.C (draw): don't set the need_break_row when inside an
15318         InsetText LyXText.
15319
15320 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15321
15322         * buffer.C (parseSingleLyXformat2Token): handle more latex
15323         conversion cases.
15324
15325         * bufferview_funcs.[hC]: change function names to
15326         begin with small char, adjust other files.
15327
15328 2001-08-02  André Pönitz <poenitz@gmx.net>
15329
15330         * lyxfunc.C:
15331         BufferView_pimpl.C: remove broken special code for math-greek
15332
15333 2001-08-02  Juergen Vigna  <jug@sad.it>
15334
15335         * BufferView_pimpl.C (update): redone this function so that we
15336         update the text again if there was a CHANGE_IN_DRAW.
15337
15338         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15339         (drawFromTo): added a new internal bool which is used by draw() and
15340         redraw() function.
15341         (general): some cursor drawing problems fixed.
15342
15343 2001-08-01  Juergen Vigna  <jug@sad.it>
15344
15345         * lyxfind.C (LyXFind): fixed
15346         (SearchForward): ditto
15347         (SearchBackward): ditto
15348
15349         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15350         spurius drawing of the cursor in the main area.
15351
15352         * text2.C (status): small fix which could lead to a segfault!
15353         (clearSelection): remove unneeded BufferView param.
15354
15355 2001-08-01  André Pönitz <poenitz@gmx.net>
15356
15357         * lyxfunc.C: small change due to changed mathed interface
15358
15359 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15360
15361         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15362
15363 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15364
15365         * lyxfunc.c: fail gracefully if file doesn't exist
15366
15367         * LyXSendto.C:
15368         * buffer.C:
15369         * lyxfunc.C:
15370         * BufferView_pimpl.C: IsDirWriteable() proto changed
15371
15372         * LyXView.C: fix updateWindowTitle() to store the last title
15373
15374 2001-07-31  Juergen Vigna  <jug@sad.it>
15375
15376         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15377         the font (wrong since using of Paragraph::highestFontInRange).
15378
15379         * paragraph.C (highestFontInRange): added a default_size parameter.
15380
15381         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15382         (setHeightOfRow): reformat
15383
15384 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15385
15386         * converter.[hC] + affected files: move to (inital-char)lowercase
15387         function names.
15388
15389         * ParagraphParameters.C (ParagraphParameters): remove commented code
15390
15391         * PainterBase.[Ch]: remove commented code
15392
15393         * LaTeXFeatures.h: add "bool floats" for float.sty
15394
15395         * LaTeXFeatures.C (LaTeXFeatures): init floats
15396         (require): handle float
15397         (getPackages): do it with floats
15398
15399 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15400
15401         * BufferView_pimpl.C (Dispatch): improve handling of
15402         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15403
15404         * commandtags.h: #include lyxfont.h here temporarily to avoid
15405         keybinding bug.
15406
15407         * bufferlist.h: include LString.h here.
15408
15409 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * text2.C (getStringToIndex): new method.
15412
15413 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15414
15415         * *: Reduced header file dependencies all over.
15416
15417 2001-07-30  Baruch Even  <baruch@lyx.org>
15418
15419         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15420
15421 2001-07-29  Baruch Even  <baruch@lyx.org>
15422
15423         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15424
15425 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15426
15427         * ParameterStruct.h (endif): add a default constructor to make
15428         sure that all variables is initialized.
15429
15430         * ParagraphParameters.C (ParagraphParameters): adjust
15431
15432 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15433
15434         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15435         index; also, check that there is something to index, and that it
15436         does not span over several paragraphs.
15437         (doubleClick): use WHOLE_WORD_STRICT for double click.
15438
15439         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15440
15441         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15442         scheme.
15443
15444 2001-07-26  Baruch Even  <baruch@lyx.org>
15445
15446         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15447         an InsetFig figure, backwards compatible reading of old figure code.
15448
15449 2001-07-27  Juergen Vigna  <jug@sad.it>
15450
15451         * text2.C: font.realize function adaption.
15452
15453         * text.C (draw): add a warnings lyxerr text if needed.
15454
15455         * layout.C: font.realize function adaption.
15456
15457         * language.C: add inherit_language and implement it's handlings
15458
15459         * bufferview_funcs.C (StyleReset): remove language parameter from
15460         font creation (should be language_inherit now).
15461
15462         * bufferparams.C (writeFile): handle ignore_language.
15463
15464         * paragraph.C (getFontSettings): the language has to be resolved
15465         otherwise we have problems in LyXFont!
15466
15467         * lyxfont.C (lyxWriteChanges): added document_language parameter
15468         (update): removed unneeded language parameter
15469
15470         * paragraph.C (validate): fixed wrong output of color-package when
15471         using interface colors for certain fonts in certain environments,
15472         which should not seen as that on the final output.
15473
15474 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15475
15476         * BufferView_pimpl.C:
15477         * Thesaurus.h:
15478         * Thesaurus.C:
15479         * Makefile.am:
15480         * commandtags.h:
15481         * LyXAction.C: add thesaurus support
15482
15483         * lyxfind.h:
15484         * lyxfind.C: add "once" parameter, for thesaurus, to not
15485           move to the next match
15486
15487 2001-07-26  Juergen Vigna  <jug@sad.it>
15488
15489         * lyxfont.C (realize): honor ignore_language too!
15490         (resolved): ditto.
15491
15492         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15493
15494         * text.C (draw): one place more for ignore_language to not draw
15495         itself!
15496
15497 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15498
15499         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15500
15501 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15502
15503         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15504         the minipage conversion problem.
15505
15506 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15507
15508         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15509         insert an inset.
15510
15511 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15512
15513         * BufferView.h: don't forward declare WorkArea
15514
15515         * BufferView.C: don't include WorkArea.h
15516
15517 2001-07-25  André Pönitz <poenitz@gmx.net>
15518
15519         * commandtags.h:
15520         * LyXAction.C:
15521         * lyxfunc.C:  new LFUN 'math-space'
15522
15523         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15524
15525 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * text2.C (toggleInset): call open/close
15528
15529 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15530
15531         * lyxfunc.C (dispatch): add debug for the disabled case
15532
15533         * font.C (buttonText): make similar to rectText
15534
15535         * buffer.C (readInset): comment out parsing of insetlist and
15536         insttheorem
15537
15538         * PainterBase.C (rectText): small correction
15539
15540         * BufferView_pimpl.C: comment out insettheorem and insetlist
15541         * LyXAction.C: ditto
15542         * commandtags.h: ditto
15543
15544 2001-07-24  Juergen Vigna  <jug@sad.it>
15545
15546         * text.C (draw): honor the ignore_language.
15547
15548         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15549
15550 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15551
15552         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15553         char inset.
15554
15555 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15556
15557         * lyxtext.h: remove unused (and unimplemented) methods
15558
15559 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15560
15561         * text.C (getVisibleRow): honor background color
15562
15563         * PainterBase.h:
15564         * Painter.h: remove default color argument for fillRectangle
15565
15566         * text.C (backgroundColor): new method
15567
15568 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15569
15570         * text.C (getVisibleRow): adjust
15571
15572         * font.[Ch] (rectText): new method, metrics
15573         (buttonText): new method, metrics
15574
15575         * PainterBase.[hC]: make rectText and buttonText always draw and take
15576         fewer paramteres.
15577
15578 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15579
15580         * ToolbarDefaults.C (read):
15581         * MenuBackend.C (read): allow escaping in all strings
15582
15583         * BufferView_pimpl.C (insertAndEditInset): new method.
15584         (Dispatch): use insertAndEditInset whenever appropriate.
15585
15586         * BufferView_pimpl.C (insertNote): removed
15587
15588         * BufferView_pimpl.C (smartQuote): new method, moved from
15589         BufferView; if an insetquote cannot be inserted, insert a '"'
15590         character instead.
15591
15592         * BufferView2.C: remove insertCorrectQuote();
15593
15594         * lyxfunc.C (getStatus): Add support for all remaingin
15595         inset-insert lfuns.
15596
15597         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15598
15599         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15600         command (necessary to pass " as parameter of self-insert.
15601
15602         * text.C (selectWordWhenUnderCursor):
15603         (selectWord): add word_location parameter
15604         (selectWordWhenUnderCursor): same + remove special code for word
15605         boundary.
15606         (selectNextWord): use kind() to guess type of insetspecialchar,
15607         not latex().
15608
15609         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15610         (insertErtContents): create ert insets as collapsed.
15611         (readInset): better compatibility code for Info inset.
15612
15613 2001-07-20  Juergen Vigna  <jug@sad.it>
15614
15615         * lyxfunc.C (dispatch): use always LyXFind now!
15616
15617         * text2.C (init): add a reinit flag so that the LyXText can be
15618         reinited instead of deleted and reallocated (used in InsetText).
15619
15620         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15621
15622         * text.C: ditto
15623
15624         * text2.C: ditto
15625
15626 2001-07-18  Juergen Vigna  <jug@sad.it>
15627
15628         * text.C (selectNextWord): handle insets inside inset by calling
15629         always the bv->text functions so that we can go up the_locking_inset!
15630
15631         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15632         in strange locations when inside an inset!
15633
15634         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15635         handling to include insets.
15636
15637         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15638
15639 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15640
15641         * LyXAction.C (init):
15642         * commandtags.h:
15643         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15644         LIGATURE_BREAK, since the name is so stupid.
15645
15646 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15647
15648         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15649         InsetInfos.
15650
15651         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15652
15653         * sp_form.[Ch]: remove.
15654
15655         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15656
15657         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15658         InsetInfo.
15659
15660         * src/buffer.C (readInset): ditto.
15661
15662 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15663
15664         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15665         menuSeparator(), endOfSentenceDot(), ldots() and
15666         hyphenationPoint(), which are therefore removed.
15667         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15668
15669         * LyXAction.C (init):
15670         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15671
15672         * paragraph.C (getWord): removed.
15673
15674         * BufferView_pimpl.C (Dispatch): use last word or selection for
15675         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15676
15677         * lyx_main.C (queryUserLyXDir): do not ask before creating
15678         user_dir, except if it has been named explicitely.
15679
15680 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15681
15682         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15683         a document of zero size.
15684
15685 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15686
15687         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15688         approriately in the c-tor and in require().
15689         (getPackages): output the appropriate LaTeX for natbib support.
15690
15691         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15692         variables "use_natbib" and "use_numerical_citations" when reading the
15693         LyX file.
15694         (readInset): read the various natbib cite commands.
15695         (validate): white-space change.
15696
15697         * bufferparams.[Ch]: new variables "bool use_natbib" and
15698         "bool use_numerical_citations".
15699         (writeFile): output them in the LyX file.
15700
15701 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15702
15703         * lyxfunc.C (getStatus): add support for all the inset insertion
15704         commands.
15705
15706         * text2.C (insertInset):
15707         * paragraph.C (insetAllowed):
15708         * BufferView_pimpl.C (insertInset): update to take in account the
15709         renaming of insertInsetAllowed
15710
15711         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15712
15713         * text2.C (getInset): new method. returns inset at cursor position.
15714
15715         * BufferView_pimpl.C (Dispatch): changes because of this.
15716
15717         * LyXAction.C (init): rename open-stuff to inset-toggle.
15718
15719         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15720
15721         * text2.C (toggleInset): renamed from openStuff; use
15722         Inset::open().
15723
15724 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15725
15726         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15727
15728         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15729
15730 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15731
15732         * buffer.C (readLyXformat2): Add filename to the error dialog
15733
15734 2001-07-18  Juergen Vigna  <jug@sad.it>
15735
15736         * tabular.C (GetCellNumber): put an assert here instead of the check!
15737
15738 2001-07-17  Juergen Vigna  <jug@sad.it>
15739
15740         * BufferView_pimpl.C (toggleSelection): adapted too.
15741
15742         * text.C (selectNextWord): adapted for use with insets.
15743         (selectSelectedWord): ditto
15744
15745 2001-07-17  Juergen Vigna  <jug@sad.it>
15746
15747         * sp_spell.C (PSpell): fix initialitation order.
15748
15749 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15750
15751         * paragraph.C: spacing
15752
15753 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15754
15755         * sp_spell.C: repair language selection for pspell
15756
15757 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15758
15759         * lyxfunc.h: change more methods to begin with lower char.
15760
15761 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15762
15763         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15764         for unknown layouts.
15765
15766 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15767
15768         * buffer.C (readLyXformat2): Generate an error dialog if there are
15769         unknown layouts.
15770
15771 2001-07-16  Juergen Vigna  <jug@sad.it>
15772
15773         * sp_spell.C: always compile ISpell part.
15774
15775         * lyxrc.C: added use_pspell entry and it's handling.
15776
15777 2001-07-13  Juergen Vigna  <jug@sad.it>
15778
15779         * sp_spell.C: removed double includes.
15780
15781 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15782
15783         Consistent use of Lsstream.h:
15784         * Lsstream.h: added using std::stringstream for consistencies sake.
15785
15786         * buffer.C: removed using std::stringstream
15787
15788         * lyxfont.C (stateText):
15789         * paragraph.C (asString):
15790         * text.C (selectNextWord, selectSelectedWord):
15791         * text2.C (setCounter):
15792         * vspace.C (asString, asLatexString):
15793         std::ostringstream -> ostringstream.
15794
15795 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15796
15797         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15798         * commandtags.h: add LFUN_HELP_ABOUTLYX
15799         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15800
15801 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15802
15803         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15804         cursorToggle()
15805         * lyx_gui_misc.C: remove spellchecker
15806         * lyxfunc.C: showSpellchecker
15807         * sp_base.h: added
15808         * sp_ispell.h: added
15809         * sp_pspell.h: added
15810         * sp_spell.C: added
15811         * sp_form.[Ch]: removed
15812         * spellchecker.[Ch]: removed
15813
15814 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15815
15816         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15817         is set.
15818         (simpleTeXSpecialChars): Simply print the input character without
15819         any special translation if pass_thru is set.
15820
15821         * layout.h: Added bool pass_thru to layout class for being able to
15822         implement pass through of a paragraph for Literate Programming.
15823
15824         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15825         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15826         * layout.C (Read): add "passthru" to list of layout tags and add
15827         code to set the pass_thru boolean when it is read.
15828
15829 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15830
15831         * trans_decl.h: remove allowed from KmodInfo
15832
15833         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15834         remove allowed code
15835         (Load): adjust
15836
15837         * paragraph_pimpl.C (erase): use boost::prior
15838
15839         * Painter.C (text): use data() instead of c_str() when length is
15840         also provided.
15841         * WorkArea.C (putClipboard): ditto
15842         * font.h (width): ditto
15843
15844         * BufferView2.C: use it-> instead of (*it). for iterators
15845         * texrow.C: ditto
15846         * paragraph_pimpl.C: ditto
15847         * paragraph.C: ditto
15848         * minibuffer.C: ditto
15849         * language.C: ditto
15850         * kbmap.C: ditto
15851         * encoding.C: ditto
15852         * counters.C: ditto
15853         * converter.C: ditto
15854         * chset.C: ditto
15855         * Variables.C: ditto
15856         * TextCache.C: ditto
15857         * MenuBackend.C: ditto
15858         * LyXAction.C: ditto
15859         * LColor.C: ditto
15860         * FloatList.C: ditto
15861         * DepTable.C: ditto
15862         * ColorHandler.C (LyXColorHandler): ditto
15863
15864 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15865
15866         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15867
15868         * text2.C (openStuff): reintroduce this method (which had been
15869         nuked in NEW_INSETS frenzy).
15870
15871         * lyxfunc.C (Dispatch): when an action has not been handled, use
15872         its name in the error message, not its number.
15873
15874         * paragraph.C (inInset): change method name to begin with lowercase.
15875
15876         * undo_funcs.C:
15877         * text2.C: updates because of this.
15878
15879 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15880
15881         * ToolbarDefaults.C (add): add spaces in error message
15882
15883 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15884
15885         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15886         (readLyXformat2): rename return_par to first_par, use lyxlex's
15887         pushToken and remove the manual push handling.
15888         (parseSingleLyXformat2Token): add another ert comp. variable:
15889         in_tabular, rename return_par to first_par. handle newlines better
15890
15891 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15892
15893         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15894
15895 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15896
15897         * text2.C (getParFromID): removed
15898
15899         * buffer.C (getParFromID): new method moved form lyxtext.
15900         * BufferView2.C (insertErrors): adjust
15901         (setCursorFromRow): adjust
15902         * BufferView_pimpl.C (restorePosition): adjust
15903         * lyxfunc.C (Dispatch): adjust
15904         * undo_funcs.C (textUndo): adjust
15905         (textRedo): adjust
15906         (textHandleUndo): adjust
15907         (textHandleUndo): adjust
15908
15909 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15910
15911         * buffer.C: up' the LYX_FORMAT
15912
15913         * lyxfont.h: turn NO_LATEX on as default
15914
15915         * buffer.C (insertErtContents): new methods of tex style compability.
15916         (parseSingleLyXformat2Token): use it several places.
15917         * tabular.C (OldFormatRead): and here
15918
15919 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15920
15921         * text2.C: remove some commented code.
15922         reindent file.
15923
15924         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15925         * trans.C: changes because of the above.
15926
15927 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15928
15929         * text2.C (setCounter): Fix counters bug with bibliography layout.
15930
15931 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15934         own member functions
15935         (simpleTeXSpecialChars): ditto
15936
15937 2001-07-06  Juergen Vigna  <jug@sad.it>
15938
15939         * a lot of files: changed the access to LyXText::status and the
15940         call of undo-functions.
15941
15942         * undo.[Ch]: added a inset_id to the undo informations.
15943
15944         * undo_funcs.[Ch]: added and moved here all undo functions.
15945
15946         * lyxtext.h: give the status enum a weight, made status_ a private
15947         variable and made accessor functions for it, removed the whole bunch
15948         of undo-functions as they are now in their own file, make some
15949         functions publically available. Added function ownerParagraph with
15950         int parameter.
15951
15952         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15953         made InInset() a const function, added getParFromID() function.
15954
15955         * buffer.[Ch]: added const version for inset_iterator functions,
15956         added getInsetFromID() function.
15957
15958         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15959         changed undo functions for new version.
15960
15961 2001-07-05  Juergen Vigna  <jug@sad.it>
15962
15963         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15964         unknow mechanism does not call the proper constructor but only this
15965         one also if I request the other!?
15966
15967 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15968
15969         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15970
15971         * text2.C (LyXText): use initialization lists.
15972
15973         * lyxtext.h (Selection): initialize set_ and mark_
15974         (init): remove method
15975
15976 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15977
15978         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15979
15980 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15981
15982         * screen.[Ch]: change method names to begin with lowercase
15983
15984         * BufferView_pimpl.C (updateScrollbar): simplify further and
15985         hopefully make it a bit faster.
15986
15987 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15988
15989         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15990         calling directly xforms functions.
15991
15992         * Painter.C (Painter):
15993         * lyx_cb.C (MenuWrite):
15994         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15995         fl_display.
15996
15997         * lyx_gui.C: remove bogus guiruntime extern declaration.
15998
15999 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16000
16001         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16002         in NEW_INSETS
16003         (redoDrawingOfParagraph): ditto
16004         (redoParagraphs): ditto
16005         (cutSelection): don't create a object for CutAndPaste use the
16006         static method directly
16007         (pasteSelection): ditto
16008
16009         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16010         LyXview (+ rename)
16011
16012 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16013
16014         * modifications to some other files because of this.
16015
16016         * Makefile.am (lyx_SOURCES): add XFormsView
16017
16018         * XFormsView.[Ch]: new files
16019
16020         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16021         the main window. Move the gui dependent stuff to XFormsView
16022
16023 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16024
16025         * tabular.C (GetCellInset): update cur_cell also in the row/col
16026         version of this function.
16027
16028         * lyxfunc.C: no need to include figure_form.h here.
16029
16030         * FontLoader.h:
16031         * lyxfunc.h:
16032         * lyxscreen.h:
16033         * text2.C:
16034         * lyxvc.C: no need to include forms.h here.
16035
16036 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16037
16038         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16039
16040         * lyxfunc.C (Dispatch):
16041         * Spacing.C (set):
16042         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16043         constructor argument.
16044
16045 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16046
16047         * paragraph.C (Paragraph): dont't clear, and just set layout.
16048         (makeSameLayout): use params's copy contructor.
16049
16050         * ParagraphParameters.[Ch] (makeSame): delete method
16051
16052 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16053
16054         * Variables.[Ch]: fix indentation, rename set to isSet
16055
16056 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16057
16058         * lyxfunc.C (Dispatch): fix typo
16059
16060 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16061
16062         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16063         upper_bound.
16064
16065         * bufferlist.C: include assert.h for emergencyWrite().
16066
16067 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16068
16069         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16070           give up at last (bug #425202) !
16071
16072 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16073
16074         * lyx_gui_misc.C:
16075         * sp_form.h:
16076         * sp_form.C:
16077         * spellchecker.h:
16078         * spellchecker.C: strip spellchecker options and bring up
16079           preferences tab instead
16080
16081 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16082
16083         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16084         the istringstream constructor
16085
16086 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16087
16088         * paragraph.C (getLayout): fix return value
16089
16090         * paragraph.h: do not declare getLayout as inline.
16091
16092         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16093
16094 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16095
16096         * lyxcursor.h (operator<): new func
16097         (operator>): new func
16098         (operator>=): new func
16099         (operator<=): new func
16100
16101         * text.C (changeCase): use selection.start and selection.end
16102         (changeRegionCase): require from to be <= to. Require par to be a
16103         valid paragraph.
16104
16105         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16106
16107 2001-06-27  Juergen Vigna  <jug@sad.it>
16108
16109         * text.C (cursorLeftOneWord): changed to return the cursor and added
16110         overlay with BufferView * parameter which calls this one.
16111         (getWord): added
16112         (selectWord): use new getWord function.
16113         (changeCase): renamed from changeWordCase as and extended to work
16114         also on selections.
16115
16116         * lyxtext.h: added enum word_location
16117
16118         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16119         changeCase as this operates now also on selections.
16120
16121 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16122
16123         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16124
16125         * many files: send debug output to Debug::INFO instead of
16126         Debug::ANY.
16127
16128         * converter.C (View):
16129         (Convert):
16130         (Move): send debug output to Debug::FILES instead of console.
16131
16132 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16133
16134         * lyxfunc.C (getStatus): use func_status
16135
16136         * func_status.h: new header, describing the results of
16137         LyXFunc::getStatus;
16138
16139         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16140         LFUN_MATH_HALIGN.
16141
16142 2001-06-25  The LyX Project  <jug@sad.it>
16143
16144         * buffer.C (sgmlOpenTag):
16145         (sgmlCloseTag):
16146         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16147
16148 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16149
16150         * text2.C: remove some dead code
16151
16152         * tabular.C (GetCellInset): store the last cell checked (gotten)
16153
16154         * tabular.h: add the helper for the speedup
16155
16156         * lyxtext.h: remove some dead code
16157
16158 2001-06-26  The LyX Project  <Asger>
16159
16160         * paragraph.C: Change export to LaTeX of alignment to
16161         \begin{center} and family for better roundtrip work with reLyX.
16162
16163         * Tune the math drawing a bit.
16164
16165 2001-06-25  The LyX Project  <Asger>
16166
16167         * LColor.C (LColor): New color for math background. New color
16168         for buttons.
16169
16170 2001-06-25  The LyX Project  <jug@sad.it>
16171
16172         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16173
16174         * lyxfunc.C (Open):
16175         * bufferlist.C (newFile): do not restrict to files ending with
16176         .lyx
16177
16178         * BufferView_pimpl.C (MenuInsertLyXFile):
16179
16180 2001-06-24  The LyX Project  <jug@sad.it>
16181
16182         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16183         of compare_no_case
16184
16185 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16186
16187         * lyxtext.h: rename most methods to begin with a small char.
16188         Lots of changes because of this.
16189
16190         * paragraph.C (Paragraph): do not call fitToSize
16191         (erase): call Pimpl::erase
16192         (insertChar): call Pimpl::insertChar
16193         (insertInset): call Pipl::insertInset
16194         (breakParagraph): do not call fitToSize
16195         (breakParagraphConservative): do not call fitToSize
16196         (fitToSize): remove method
16197
16198         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16199
16200 2001-06-24  The LyX Project  <Asger>
16201
16202         * Fix Qt compilation^2
16203
16204 2001-06-24  The LyX Project  <jug@sad.it>
16205
16206         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16207         depthHook(getDepth()-1).
16208
16209         * paragraph.h:
16210         * ParagraphParameters.h:
16211         * ParameterStruct.h: change type of depth to unsigned int ==
16212         depth_type. Many adaptations to other files before of that.
16213
16214 2001-06-24  The LyX Project  <Asger>
16215
16216         * Fix Qt compilation.
16217
16218 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16219
16220         * paragraph.h: renamed several methods to begin with small letter.
16221         several changes to many parts of the code because of this.
16222
16223 2001-06-23  The LyX Project  <jug@sad.it>
16224
16225         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16226         rewritten to discard all double spaces when KeepEmpty is off
16227         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16228         to only handle newlines but not fiddle with spaces and friends.
16229
16230         * lyxfunc.C (MenuNew): when doing 'new from template', use
16231         template_path as default directory
16232
16233 2001-06-23  The LyX Project  <Asger>
16234
16235         * Clean-up of header file includes all over
16236         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16237
16238 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16239
16240         * paragraph.h: renamed from lyxparagraph.h
16241
16242 2001-06-23  Asger  <lyx@violet.home.sad.it>
16243
16244         * Buffer.h: Removed Buffer::resize
16245         * BufferList.h: Removed BufferList::resize
16246         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16247         the document lazily when we change the width, or the font settings.
16248
16249 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16250
16251         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16252
16253 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16254
16255         * buffer.h: remove out of date comment
16256
16257 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16258
16259         * lyxscreen.h:
16260         * screen.C: fix "theoretical" GC leak
16261
16262 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16263
16264         * LaTeX.C (scanAuxFile):
16265         (deplog): remove trailing \r when reading stream (useful under
16266         win32)
16267
16268 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16269
16270         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16271         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16272         and BufferView::theLockingInset(Inset*), so should use them and not
16273         access bv_->text->the_locking_inset directly.
16274
16275         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16276
16277 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16278
16279         * Makefile.am:
16280         * tex-defs.h: remove old unused file
16281
16282 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16283
16284         * BufferView_pimpl.C: fix typo, remove minibuffer message
16285           when buffer has loaded
16286
16287 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16288
16289         * lyxfunc.C (Dispatch): use stringstream
16290         (MenuNew): use stringstream
16291         (Open): use stringstream
16292
16293         * importer.C (Import): use stringstream
16294
16295         * bufferview_funcs.C (CurrentState): use stringstream
16296
16297         * LaTeX.C (run): use stringstream
16298
16299         * BufferView_pimpl.C (savePosition): use stringstream
16300         (restorePosition): use stringstream
16301         (MenuInsertLyXFile): use stringstream
16302
16303 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16304
16305         * BufferView.C:
16306         * Bullet.C:
16307         * ColorHandler.C:
16308         * FontInfo.C:
16309         * FontLoader.C:
16310         * LColor.C:
16311         * LaTeXFeatures.C:
16312         * Painter.C:
16313         * gettext.C:
16314         * lyx_gui_misc.C:
16315         * lyxserver.C:
16316         * vspace.C: removed // -*- C++ -*- as first line.
16317
16318         * lyxfind.h:
16319         * version.h: added // -*- C++ -*- as first line.
16320
16321 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16322
16323         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16324
16325         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16326         of string
16327
16328 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16329
16330         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16331         of floats.
16332
16333 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16334
16335         * gettext.C: include LString.h even when --disable-nls is on.
16336
16337 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16338
16339         * converter.h (Get): changed argument type from int to
16340         FormatList::size_type to avoid unnecessary conversion.
16341
16342         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16343         before using it.
16344
16345 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16346
16347         * gettext.h: include LString.h even when --disable-nls is on.
16348
16349 2001-06-07  Juergen Vigna  <jug@sad.it>
16350
16351         * text.C (BreakAgain): subst spaces with tabs.
16352
16353         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16354         (resizeInsetsLyXText): set force on resizeLyXText.
16355
16356 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16357
16358         * gettext.h (gettext_init):
16359         (locale_init): use a real definition instead of a macro
16360
16361 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16362
16363         * Bufferview_pimpl.C:
16364         * LColor.h:
16365         * LColor.C: further lcolor tidies
16366
16367 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16368
16369         * BufferView_pimpl.C (updateScrollbar): simplify.
16370
16371         * BufferView2.C: don't include insets/insetinfo.h, change
16372         prototype for insertInset and call the Pimpl version. let
16373         updateInset call Pimpl version.
16374
16375         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16376         gotoInset to BufferView::Pimpl
16377
16378 2001-06-01  Juergen Vigna  <jug@sad.it>
16379
16380         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16381         inside a LockingInset (is the update needed at all?).
16382
16383 2001-05-31  Juergen Vigna  <jug@sad.it>
16384
16385         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16386         here not the old one otherwise how should we compare it afterwards
16387         if it's the same!
16388
16389 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16390
16391         * lyxfont.C:
16392         * tabular.C:
16393         * tabular-old.C:
16394         * FontInfo.C: bring C functions into global namespace when
16395         necessary
16396
16397 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16398
16399         * LString.h: make sure config.h has been loaded before LString.h.
16400
16401         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16402         (one for each char read by EatLine!).
16403
16404         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16405         variables.
16406
16407 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16408
16409         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16410         to the same as the par we break from
16411
16412 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16413
16414         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16415
16416         * MenuBackend.C (expand): also create menu entries for wide
16417         versions of the floats.
16418
16419         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16420
16421         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16422
16423         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16424         frontends/Makefile.am
16425
16426         * text2.C: adjust
16427         * text.C: adjust
16428
16429
16430         * tabular.C (getTokenValue): add std::
16431
16432         * tabular-old.C (getTokenValue): add std::
16433         (getTokenValue): ditto
16434         (getTokenValue): ditto
16435
16436         * screen.C (ToggleSelection): adjust
16437
16438         * lyxtext.h: put selection cursors inside a Selection struct.
16439
16440         * lyxfunc.C (moveCursorUpdate): adjust
16441
16442         * lyxfont.C (latexWriteStartChanges): add std::
16443
16444         * lyxfind.C: adjust
16445
16446         * font.h: delete with(char const *, LyXFont const &)
16447
16448         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16449
16450         * FontInfo.C (getFontname): add std::
16451
16452         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16453         (workAreaButtonPress): adjust
16454         (tripleClick): adjust
16455         (update): adjust
16456         (moveCursorUpdate): adjust
16457         (Dispatch): adjust
16458
16459         * BufferView2.C (gotoInset): adjust
16460
16461 2001-05-30  Juergen Vigna  <jug@sad.it>
16462
16463         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16464         to check pspell I add this as default as I now have new pspell
16465         libraries and they seem to use this.
16466
16467 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16468
16469         * text2.C (CutSelection): make the cursor valid before the call to
16470         ClearSelection.
16471
16472 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16473
16474         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16475         relied on 0 terminated strings and other horrors. Bug found due to
16476         the new assert in lyxstring!
16477
16478         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16479         KP_ keys.
16480
16481 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16482
16483         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16484         to latinkeys.bind.
16485
16486         * lyxfunc.C (processKeySym): change method of getting to the
16487         self-insert char.
16488
16489         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16490         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16491         * BufferView_pimpl.[Ch]: here as private methods.
16492
16493 2001-05-28  Juergen Vigna  <jug@sad.it>
16494
16495         * text.C (SetHeightOfRow): added the update() call again as it is
16496         needed to initialize inset dimensions!
16497
16498 2001-05-16  Juergen Vigna  <jug@sad.it>
16499
16500         * text2.C (SetCharFont): Add new function with BufferView * and
16501         bool toggleall parameters for setting insets internal fonts.
16502         (SetFont): Freeze the undo as we may change fonts in Insets and
16503         all this change should be inside only one Undo!
16504
16505         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16506         setting font's in insets as for them we have the SetFont function!
16507
16508 2001-05-15  Juergen Vigna  <jug@sad.it>
16509
16510         * text2.C (ClearSelection): to be sure we REALLY don't have any
16511         selection anymore!
16512
16513         * tabular.C (TeXCellPreamble): fixed the left border problem for
16514         multicolumn cells.
16515
16516 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16517
16518         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16519         dependancy file
16520
16521 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16522
16523         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16524         LFUN_BREAKPARAGRAPH.
16525
16526         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16527         help test to "internal only", similar for LFUN_INSERT_URL
16528
16529         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16530         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16531         auto_region_delete and deadkeys.
16532
16533 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16534
16535         * LColor.h:
16536         * LColor.C: remove some dead entries, tidy a little
16537
16538 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16539
16540         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16541         commented code.
16542         (Dispatch): implement LFUN_ESCAPE
16543
16544         * commandtags.h: add LFUN_ESCAPE
16545
16546         * LyXAction.C (init): add entry for LFUN_ESCAPE
16547
16548         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16549         Remove commented code.
16550         (insertNote): moved here
16551         (open_new_inset): moved here
16552
16553         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16554         BufferView_pimpl
16555
16556 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16557
16558         * kbmap.C (findbinding): clean it up and make it work correctly.
16559
16560         * lyx_main.C (init): do not pass argc and argv as parameters
16561
16562 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16563
16564         * buffer.C: fix path for OS/2 & Win32
16565
16566         * lyx_gui.C:
16567         * lyx_main:
16568         * lyx_main.C: Added os:: class.
16569
16570         * os2_defines.h: update
16571
16572 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16573
16574         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16575         better by trying again with reduced state.
16576
16577 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16578
16579         * lyxrc.C (read): print error about invalid key sequence only when
16580         debugging (because not all latinX keysyms are known to some X
16581         servers)
16582
16583         * kbsequence.C (getiso): add a few std:: qualifiers
16584         (getiso): comment out extra return statement.
16585
16586 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16587
16588         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16589         handling.
16590         (Dispatch): enhance the accent inset a bit. (not perfect)
16591
16592 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16593
16594         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16595
16596 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16597
16598         * bufferlist.C (emergencyWrite): fix assert() call
16599
16600 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16601
16602         * text.C (InsertChar): Added trivial patch to only send the "you
16603         can not do multiple spaces this way" message once during a
16604         session.
16605
16606 2001-05-08  Baruch Even  <baruch@lyx.org>
16607
16608         * Makefile.am: Changed order of libraries to get LyX to link properly
16609         with the gnome frontend.
16610
16611 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16612
16613         * LaTeXFeatures.h: add a std:: qualifier
16614
16615 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16616
16617         * paragraph.C (String): use stringstream
16618
16619 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16620
16621         * paragraph.C (writeFile): remove footflag arg
16622
16623         * buffer.C (makeLaTeXFile): use stringstream
16624         (latexParagraphs): remove footnot gurba
16625
16626         * LaTeXFeatures.C (getPackages): use stringstream
16627         (getMacros): likewise
16628         (getTClassPreamble): likewise
16629         (getFloatDefinitions): new method
16630
16631         * paragraph.C (writeFile): reindent
16632         (Erase): reindent
16633
16634         * WorkArea.h: revert the xpos + etc changes.
16635
16636         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16637
16638         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16639
16640         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16641         (pasteSelection): likewise
16642         * text2.C (CreateUndo): likewise
16643
16644 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16645
16646         * minibuffer.C (peek_event): temporarily reduce the functionality
16647         of the minibuffer (to allow args on lfuns)
16648
16649         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16650         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16651
16652         * buffer.C (readInset): add compability reading of old float
16653         lists, add reading of new style float list.
16654         (readInset): avoid reevaluation of inscmd.getCmdName()
16655         (getLists): reindent
16656
16657         * MenuBackend.C (MenuItem): implement parsing of
16658         md_floatlistinsert and md_floatinsert.
16659         (expand::LastFiles): move initalizaton of iterators out of loop,
16660         avoid reevaluation.
16661         (expand::Documents): introduce typdedef vector<string> Strings,
16662         and use it.
16663         (expand::ExportFormats): introduce typedef vector<Format const *>
16664         Formats, and use it.
16665         (expand): implement FloatListInsert and FloatInsert.
16666
16667         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16668         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16669         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16670
16671         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16672         handling.
16673         (Dispatch::LFUN_FLOAT_LIST): implement
16674
16675 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16676
16677         * LaTeX.C (run): Fix problem with --export code.
16678
16679 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16680
16681         * BufferView.[Ch] (workarea): removed.
16682         (getClipboard) new method; wrapper for workarea()->getClipboard()
16683
16684         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16685         bug.
16686
16687         * WorkArea.h (width, height, xpos, ypos): These methods all
16688         returned the dimensions of the work_area sub-area of WorkArea,
16689         resulting in a position error if the WorkArea were resized. Now
16690         return the dimensions of the entire WorkArea.
16691
16692         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16693
16694 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16695
16696         * LaTeX.C (deplog): correct the syntax of regex reg1
16697
16698 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16699
16700         * undo.C: remove !NEW_INSETS cruft
16701
16702 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16703
16704         * text2.C: remove !NEW_INSETS cruft
16705
16706         * text.C: remove !NEW_INSETS cruft
16707
16708         * tabular.C: remove !NEW_INSETS cruft
16709
16710         * spellchecker.C: remove !NEW_INSETS cruft
16711
16712         * lyxtext.h: remove !NEW_INSETS cruft
16713
16714         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16715
16716         * lyxfunc.C: remove !NEW_INSETS cruft
16717
16718         * lyxfind.C: remove !NEW_INSETS cruft
16719
16720         * lyx_cb.C: remove !NEW_INSETS cruft
16721
16722         * figureForm.C: remove  !NEW_INSETS cruft
16723
16724         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16725
16726         * buffer.[Ch]: remove !NEW_INSETS cruft
16727
16728         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16729
16730         * CutAndPaste.C: remove !NEW_INSETS cruft
16731
16732         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16733
16734         * BufferView2.C: remove !NEW_INSETS cruft
16735
16736         * BufferView.h: remove !NEW_INSETS cruft
16737
16738 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16739
16740         * Lsstream.h: include LString.h before the sstream headers to
16741         fix problem with gcc 2.95.3 and lyxstring
16742
16743 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16744
16745         * lyx_main.C: add using directives when needed for C functions
16746         declared in std:: namespace.
16747
16748 2001-04-27  Juergen Vigna  <jug@sad.it>
16749
16750         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16751         (SetHeightOfRow): comment out the update call should not be needed!
16752
16753 2001-04-13  Juergen Vigna  <jug@sad.it>
16754
16755         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16756         (LyXTabular): tried to minimize operator= operations (and realized
16757         hopfully Lars wish).
16758
16759 2001-04-27  Juergen Vigna  <jug@sad.it>
16760
16761         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16762
16763 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16764
16765         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16766
16767         * buffer.C (readInset): hack to make listof algorithm work
16768
16769         * BufferView_pimpl.C: hack to make listof algorithm work
16770
16771 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16772
16773         * LyXAction.C: removed all !NEW_INSETS cruft
16774         (init): moved lfun_item in method
16775
16776         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16777
16778 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16779
16780         * BufferView2.C (theLockingInset): white space.
16781
16782 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16783
16784         * minibuffer.C: include <iostream>
16785
16786         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16787
16788         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16789
16790         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16791
16792         * text.[Ch] (TransposeChars): new method
16793
16794 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16795
16796         * call message directly through LyXView instead of through LyXFunc
16797         * BufferView2.C: adjust
16798         * BufferView_pimpl.C: adjust
16799         * FontLoader.C: adjust
16800         * buffer.C: adjust
16801         * bufferview_funcs.C: adjust
16802         * converter.C: adjust
16803         * figureForm.C: adjust
16804         * importer.C: adjust
16805         * lyx_cb.C: adjust
16806         * lyx_gui_misc.C: adjust
16807         * lyxfunc.C: adjust
16808         * lyxvc.C: adjust
16809         * text2.C: adjust
16810         + more files in subdirs
16811
16812         * lyxparagraph.h (size): move up int file
16813         (GetLayout): ditto
16814
16815         * adjust all uses of Assert to lyx::Assert.
16816
16817         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16818         lyxfunctional in namespace lyx
16819         * layout.C (hasLayout): ditto
16820         (GetLayout): ditto
16821         (GetLayout): ditto
16822         (delete_layout): ditto
16823         (NumberOfClass): ditto
16824         * converter.C (GetFormat): ditto
16825         (GetNumber): ditto
16826         (Add): ditto
16827         (Delete): ditto
16828         (SetViewer): ditto
16829         * bufferlist.C (getFileNames): ditto
16830         (emergencyWriteAll): ditto
16831         (exists): ditto
16832         (getBuffer): ditto
16833         * MenuBackend.C (hasSubmenu): ditto
16834         (hasMenu): ditto
16835         (getMenu): ditto
16836         * BufferView_pimpl.C (getInsetByCode): ditto
16837
16838 2001-04-18  Juergen Vigna  <jug@sad.it>
16839
16840         * vspace.C (asLatexString): fixed the 100% problem.
16841
16842 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16843
16844         * lyxfunc.C (Dispatch):
16845         * minibuffer.C:
16846         * minibuffer.h: add a few std:: qualifiers
16847
16848 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16849
16850         * minibuffer.[Ch]: reimplement so that commands is initiated and
16851         run from lyxfunc, simplified som handling, and made the completion
16852         and history code for complete. wip.
16853
16854         * lyxfunc.C (processKeySym): call message
16855         (miniDispatch): new temporary method
16856         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16857         (LFUN_MESSAGE): implement
16858         (LFUN_MESSAGE_PUSH): implement
16859         (LFUN_MESSAGE_POP): implement
16860         (initMiniBuffer): the initial/defualt minibuffer message.
16861
16862         * lyxfont.[Ch]: inline some more getters
16863
16864         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16865
16866         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16867
16868         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16869         (AutoSave): use LFUN_MESSAGE
16870         (Reconfigure): ditto
16871
16872         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16873
16874         * figureForm.C: use LFUN_MESSAGE
16875
16876         * converter.C (runLaTeX): use LFUN_MESSAGE
16877
16878         * bufferview_funcs.C: use LFUN_MESSAGE
16879         (Melt): ditto
16880         (changeDepth): ditto
16881
16882         * bufferparams.h: use boost::
16883
16884         * bufferlist.h: inherit privately from noncopyable
16885
16886         * bufferlist.C (loadLyXFile): remove some commented code.
16887
16888         * buffer.C (runChktex): use LFUN_MESSAGE
16889
16890         * ShareContainer.h: inherit privately from noncopyable
16891
16892         * ParagraphParameters.[hC] (depth): inline it.
16893
16894         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16895         methods.
16896         (message): new method
16897         (messagePush): ditto
16898         (messagePop): ditto
16899         (show): init minibuffer
16900         (showState): direct call
16901
16902         * LaTeX.[Ch]: inherit privately from noncopyable
16903         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16904         instead of WriteStatus.
16905
16906         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16907
16908         * BufferView_pimpl.C (buffer): don't init minibuffer
16909         (workAreaButtonPress): use LFUN_MESSAGE
16910         (workAreaButtonRelease): ditto
16911         (savePosition): ditto
16912         (restorePosition): ditto
16913         (MenuInsertLyXFile): ditto
16914         (workAreaExpose): don't init minibuffer
16915         (update): remove commented code, simplify
16916
16917         * BufferView2.C (openStuff): use LFUN_MESSAGE
16918         (toggleFloat): ditto
16919         (menuUndo): ditto
16920         (menuRedo): ditto
16921         (copyEnvironment): ditto
16922         (pasteEnvironment): ditto
16923         (copy): ditto
16924         (cut): ditto
16925         (paste): ditto
16926         (gotoInset): ditto
16927         (updateInset): remove some commented code
16928
16929         * lastfiles.h: inherit privately from noncopyable
16930         * layout.h: ditto
16931         * lyx_gui.h: ditto
16932         * lyx_main.h: ditto
16933         * lyxlex.h: ditto
16934         * lyxlex_pimpl.h: ditto
16935
16936         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16937         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16938         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16939
16940         * LyXAction.h: inherit privately from noncopyable, add methods
16941         func_begin, func_end, returning iterators to the func map.
16942
16943         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16944         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16945         (func_begin): new method
16946         (func_end): new method
16947
16948         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16949         and not)
16950         (copySelection): ditto
16951         (pasteSelection): ditto
16952
16953         * BufferView.C: whitespace change
16954         * BufferView.h: inherit privately from noncopyable
16955
16956 2001-04-16  Allan Rae  <rae@lyx.org>
16957
16958         * tabular-old.C (l_getline):
16959         * spellchecker.C (sc_check_word):
16960         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16961         an unrecognised preprocessor directive.  So ensure they're wrapped.
16962
16963 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16964
16965         * src/exporter.C (Export): Give an error message when path to file
16966         contains spaces.
16967
16968 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16969
16970         * LaTeX.C (deplog): Always check that foundfile exists.
16971
16972 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16973
16974         * lyx_main.h:
16975         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16976
16977 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16978
16979         * tabular.[Ch] (getLabelList): implement new method
16980
16981         * minibuffer.h: comment ouf setTiimer
16982
16983         * minibuffer.C (ExecutingCB): constify res
16984         (peek_event): constify s
16985         (Set): constify ntext
16986         (Init): constify nicename
16987
16988         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16989
16990         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16991         (savePosition): use two params to Minibuffer::Set
16992         (restorePosition): ditto
16993
16994 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16995
16996         * lyx_main.C: include language.h
16997
16998         * Makefile.am (lyx_main.o): add language.h
16999
17000 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17001
17002         * exporter.C:
17003         * paragraph.C:
17004         * screen.C:
17005         * tabular.C:
17006         * CutAndPaste.C: include gettext.h
17007
17008         * lyxfont.h: remove old hack with ON and OFF.
17009
17010         * lyxparagraph.h:
17011         * lyxfont.h: do not include language.h...
17012
17013         * BufferView2.C:
17014         * LaTeXFeatures.C:
17015         * Painter.C:
17016         * bufferview_funcs.C:
17017         * font.C:
17018         * lyxfont.C:
17019         * text.C:
17020         * text2.C:
17021         * trans_mgr.C:
17022         * paragraph.C: ... but do it here instead
17023
17024 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17025
17026         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17027
17028         * tabular.C: small reformat
17029
17030         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17031         NEW_INSETS version
17032         (GetChar): ditto
17033         (BreakParagraph): ditto
17034         (SetOnlyLayout): ditto
17035         (SetLayout): ditto
17036
17037         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17038         with one arg less.
17039
17040         * lastfiles.C: removed most using decl, add std:: where needed
17041
17042         * buffer.C: ws changes
17043
17044         * MenuBackend.C (class compare_format): put into anon namespace
17045         (expand): constify label, names, action, action2
17046         (expand):
17047
17048         * text.C (SingleWidth): constify font
17049         (IsBoundary): constify rtl2
17050         (GetVisibleRow): constify ww
17051
17052         * LaTeX.C (deplog): constify logfile
17053
17054         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17055         start_x, end_x
17056         (workAreaExpose): constify widthChange, heightChange
17057
17058         * lyxrow.C (par): moved
17059         (height): moved
17060         (next): moved
17061         * lyxrow.h: as inlines here
17062
17063         * lyxfont.h (shape): moved from lyxfont.C
17064         (emph): moved from lyxfont.C
17065
17066         * lyxfont.C (LyXFont): use initialization list for all
17067         constructors
17068         (shape): move to lyxfont.h as inline
17069         (emph): move to lyxfont.h as inline
17070
17071
17072 2001-04-04  Juergen Vigna  <jug@sad.it>
17073
17074         * vspace.C: had to include stdio.h for use of sscanf
17075
17076 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17077
17078         * BufferView.h:
17079         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17080         independent of xforms.
17081
17082 2001-04-02  Juergen Vigna  <jug@sad.it>
17083
17084         * spellchecker.C: fixed namespace placing!
17085
17086 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17087
17088         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17089         the LyXParagraph * is 0.
17090
17091 2001-03-29  Juergen Vigna  <jug@sad.it>
17092
17093         * vspace.C: added support for %, c%, p%, l%.
17094         (stringFromUnit): added helper function.
17095         (asLatexString): changed to give right results for the %-values.
17096
17097         * buffer.C: convert the widthp in a width%.
17098
17099 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17100
17101         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17102         figureForm.[Ch].
17103
17104         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17105         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17106
17107         * lyx_cb.[Ch]: see above.
17108
17109         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17110         form1.[Ch].
17111
17112         * form1.[Ch]:
17113         * lyx.[Ch]: replaced by figure_form.[Ch].
17114
17115         * lyx_gui.C:
17116         * lyx_gui_misc.C:
17117         * lyxfunc.C: changed headers associated with above changes.
17118
17119 2001-03-27  Juergen Vigna  <jug@sad.it>
17120
17121         * BufferView_pimpl.C: set the temporary cursor right!
17122
17123 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17124
17125         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17126
17127 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17128
17129         * LString.h: removed "using std::getline"!
17130
17131         * BufferView_pimpl.C (Dispatch): changes due to changes in
17132         InsetInclude::Params.
17133
17134         * buffer.C (tag_name): removed redundant break statements as they were
17135         producing lots of warnings with my compiler.
17136
17137 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17138
17139         * LString.h: add "using std::getline" when using the real <string>.
17140
17141 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17142
17143         * buffer.C: removed bitset usage.
17144         PAR_TAG moved to an anonymous name space.
17145         (tag_name): new funtion, also in the anonymous namespace.
17146         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17147         (makeDocBookFile): clean code. Completed transition from string arrays
17148         to string vectors.
17149         (SimpleDocBookOnePar): code clean.
17150
17151 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17152
17153         * tabular.C: add some comments.
17154
17155 2001-03-22  Juergen Vigna  <jug@sad.it>
17156
17157         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17158         compatibility read a bit and fixed bug with minipage in different
17159         depth.
17160
17161 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17162
17163         * buffer.C (pop_tag): removed.
17164         (push_tag): removed.
17165         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17166         array replaced with vector. Added support for CDATA sections.
17167         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17168         at any nest level.
17169         (makeDocBookFile): XML conformant declaration of CDATA section,
17170         fixed bug related to <emphasis> in the first paragraph char.
17171         (sgmlOpenTag): exclude empty tags.
17172         (sgmlCloseTag): ditto.
17173
17174         * buffer.h (pop_tag): removed.
17175         (push_tag): removed.
17176
17177 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17178
17179         * language.h (Languages): added size_type and size().
17180
17181 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17182
17183         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17184         response on compability reading of minipages. One probliem is that
17185         the old usage of minipages was «flertydig»
17186
17187         * several files here and in subdirs: don't use static at file
17188         scope use anon namespaces instead.
17189
17190 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17191
17192         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17193         LaTeX output. This is necessary for Literate document
17194         processing.
17195
17196 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17197
17198         * buffer.C: insert hfill when needed.
17199
17200         * tabular.C (l_getline): use string::erase, small whitespace change.
17201
17202         * BufferView_pimpl.C: try the anon namespace.
17203         * WorkArea.C: ditto
17204
17205 2001-03-16  Juergen Vigna  <jug@sad.it>
17206
17207         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17208         otherwise it won't open options-dialogs.
17209
17210         * buffer.C: honor pextraWidth(p) on converting minipages.
17211
17212         * tabular.C (l_getline): changed the functions to strip trailing \r.
17213
17214 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17215
17216         * BufferView_pimpl.C:
17217         * minibuffer..C: added "using SigC::slot" declaration.
17218
17219 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17220
17221         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17222
17223         * text2.C: ditto
17224
17225         * text.C: ditto
17226
17227         * paragraph.C: ditto
17228
17229         * lyxtext.h: NO_PEXTRA
17230
17231         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17232
17233         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17234         * ParameterStruct.h: ditto
17235         * ParagraphParameters.h: ditto
17236         * lyxparagraph.h: ditto
17237
17238 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17239
17240         * buffer.C: add compability for minipage alignment.
17241         (latexParagraphs): remove unwanted pextra check.
17242
17243         * several files: remove CXX_WORKING_NAMESPACES
17244
17245         * buffer.C (pop_tag): tie is in namespace boost
17246
17247         * BufferView.h: noncopyable is in namespace boost
17248         * lyxlex.h: ditto
17249         * lyx_main.h: ditto
17250         * lyx_gui.h: ditto
17251         * layout.h: ditto
17252         * lastfiles.h: ditto
17253         * bufferlist.h: ditto
17254         * ShareContainer.h: ditto
17255         * LyXView.h: ditto
17256         * LyXAction.h: ditto
17257         * LaTeX.h: ditto
17258
17259 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17260
17261         * Merging changes from BRANCH_MVC back into HEAD.
17262
17263         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17264
17265 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17266
17267         * BufferView_pimpl.C: change from intl.C
17268
17269         * combox.h:
17270         * combox.C:
17271         * Makefile.am: move combox.*
17272
17273         * form1.h:
17274         * form1.C:
17275         * lyx_gui.C:
17276         * intl.h:
17277         * intl.C: remove dialog (covered by prefs)
17278
17279 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17280
17281         * lyxfunc.C (Dispatch): removed redundant break statement.
17282
17283 2001-03-14  Juergen Vigna  <jug@sad.it>
17284
17285         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17286
17287 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17288
17289         * buffer.C: add hack to fix compability reading of minipages.
17290
17291 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17292
17293         * buffer.C (getLists): Cleanup.
17294
17295 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17296
17297         * lyxfont.C (update): don't honor toggleall on font size.
17298
17299 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17300
17301         * bmtable.c:
17302         * bmtable.h:
17303         * Makefile.am: moved to frontends/xforms/
17304
17305         * lyx_gui_misc.C:
17306         * lyxfunc.C:
17307         * BufferView_pimpl.C: changes for moved mathpanel
17308
17309 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17310
17311         * gettext.h: fix gettext_init() in --disable-nls
17312
17313 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17314
17315         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17316
17317 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17318
17319         * lyx.C:
17320         * lyx.h: strip external form
17321
17322 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17323
17324         * BufferView_pimpl.C: add comment, destroySplash()
17325
17326 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17327
17328         * BufferView_pimpl.C:
17329         * LyXAction.C:
17330         * buffer.C:
17331         * commandtags.h:
17332         * lyxfunc.C: use re-worked insetinclude
17333
17334 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17335
17336         * buffer.C: add using std::stringstream.
17337
17338         * lyx_cb.C: readd using std::ios.
17339
17340         * buffer.C: add using std::map.
17341
17342         * BufferView_pimpl.C: add using std::vector.
17343
17344         * ShareContainer.h: add std:: to swap.
17345
17346         * buffer.h: add some typedefs
17347         * buffer.C (getLists): use them
17348         (getLists): renamed from getTocList.
17349         add a counter for the different float types and use it in the
17350         generated string.
17351         (getLists): use the same counter for the NEW_INSETS and the "non"
17352         NEW_INSETS
17353
17354         * lyx_cb.h: remove unused items, includes, using etc.
17355
17356         * ShareContainer.h: remove some commented code, add more comments
17357         and "documentation".
17358
17359 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17360
17361         * buffer.C (getTocList): make the list also when NEW_INSETS is
17362         defined.
17363
17364         * buffer.h: remove TocType
17365
17366         * buffer.C (getTocList): change to return a map<string,
17367         vector<TocItem> >, implement for dynamic number of list.
17368
17369         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17370         * text2.C (PasteSelection): adjust
17371         * CutAndPaste.C (pasteSelection): adjust
17372
17373         * FloatList.C (FloatList): update from the new_insets branch.
17374         * Floating.[Ch]: ditto
17375         * LaTeXFeatures.C: ditto
17376         * buffer.C: ditto
17377         * lyxlex_pimpl.C: ditto
17378
17379         * paragraph.C (Last): remove when NEW_INSETS is defined.
17380
17381         * other file: changes because of the above.
17382
17383 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17384
17385         * lyxparagraph.h: rename next to next_, previous to previous_,
17386         make them private for NEW_INSETS. Rename Next() to next(),
17387         Previous() to previous().
17388
17389         * other files: changes because of the above.
17390
17391 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17392
17393         * BufferView.h:
17394         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17395         problem.
17396
17397 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17398
17399         * main.C (main): pass lyx_localedir to gettext_init().
17400
17401         * gettext.h: remove locale_init and gettext_init macros
17402
17403         * gettext.C (locale_init): new function
17404         (gettext_init): new function
17405
17406         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17407         setlocale().
17408
17409 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17410
17411         * Moved credits to frontends:
17412         * credits.[Ch]: removed
17413         * credits_form.[Ch]: removed
17414         * lyx_gui_misc.C: remove credits stuff
17415         * Makefile.am:
17416
17417 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17418
17419         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17420
17421         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17422         unneeded destructor.
17423
17424         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17425         a standalone pointer again.
17426
17427         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17428
17429 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17430
17431         * Makefile.am:
17432         * filedlg.h:
17433         * filedlg.C:
17434         * LyXAction.C:
17435         * ToolbarDefaults.C:
17436         * bufferlist.C:
17437         * commandtags.h:
17438         * form1.C:
17439         * form1.h:
17440         * lyx_cb.C:
17441         * lyx_cb.h:
17442         * lyxfunc.h:
17443         * lyxfunc.C:
17444         * BufferView_pimpl.C: use new file dialog in GUII
17445
17446         * lyx_cb.h:
17447         * lyx_cb.C: remove LayoutsCB to Toolbar
17448
17449 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17450
17451         * ShareContainer.h (get): add std:: qualifier
17452
17453 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17454
17455         * ShareContainer.h: define a proper ShareContainer::value_type
17456         type (and use typename to please compaq cxx)
17457
17458 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17459
17460         * lyxparagraph.h: move serveral local vars to
17461         ParameterStruct/ParagraphParameters., use ShareContainer in
17462         FontTable., make vars in FontTable private and add getter and
17463         setter.
17464
17465         * paragraph.C: changes because of the above.
17466
17467         * lyxfont.h: remove copy constructor and copy assignment. (the
17468         default ones is ok), move number inside FontBits. move inlines to
17469         lyxfont.C
17470
17471         * lyxfont.C: add number to initializaton of statics, move several
17472         inlines here. constify several local vars. some whitespace
17473         cleanup. Dont hide outerscope variables.
17474
17475         * Spacing.h: add two new constructors to match the set methods.
17476
17477         * ShareContainer.h: new file, will perhaps be moved to support
17478
17479         * ParameterStruct.h: new file
17480
17481         * ParagraphParameters.h: new file
17482
17483         * ParagraphParameters.C: new file
17484
17485         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17486         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17487
17488         * BufferView_pimpl.C: ParagraphParameter changes.
17489         * buffer.C: Likewise.
17490         * bufferview_funcs.C: Likewise.
17491         * text.C: Likewise.
17492         * text2.C: Likewise.
17493
17494 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17495
17496         * lyxfind.C (LyXReplace): do not redefine default argument in
17497         implementation.
17498         (IsStringInText): ditto
17499         (SearchForward): ditto
17500         (SearchBackward): ditto
17501
17502 2001-03-06  Juergen Vigna  <jug@sad.it>
17503
17504         * lyxfind.C (IsStringInText): put parentes around expressions.
17505
17506 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17507
17508         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17509
17510 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17511
17512         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17513
17514         * stl_string_fwd.h: add comment
17515
17516         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17517
17518         * tabular.h:
17519         * tabular.C: remove unused DocBook methods
17520
17521         * intl.C:
17522         * language.C:
17523         * paragraph.C:
17524         * buffer.C:
17525         killed DO_USE_DEFAULT_LANGUAGE
17526
17527 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17528
17529         * lyx_gui.C: do not include language.h.
17530
17531         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17532         arguments in function implementation.
17533
17534 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17535
17536         * BufferView_pimpl.C: add <ctime>
17537
17538 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17539
17540         * BufferView_pimpl.C: add using std::find_if
17541
17542 2001-02-27  José Matos  <jamatos@fep.up.pt>
17543
17544         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17545         by OnlyPath.
17546
17547 2001-02-11  José Matos  <jamatos@fep.up.pt>
17548
17549         * buffer.C (makeDocBookFile): command styles now have a parameter as
17550         "title" by default.
17551
17552 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17553
17554         * layout_forms.[Ch]: removed
17555         * lyx_cb.[Ch]: out character
17556         * lyx_gui.C: out character
17557         * lyx_gui_misc.C: out character
17558         * bufferview_funcs.C: : out character,
17559         added toggleall as parameter in ToggleAndShow
17560
17561 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17562
17563         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17564
17565         * text2.C (SetCurrentFont): Disable number property at boundary.
17566
17567 2001-02-26  Juergen Vigna  <jug@sad.it>
17568
17569         * lyxfunc.C (getStatus): added a string argument override function so
17570         that this is correctly called from LyXFunc::Dispatch if it contains a
17571         do_not_use_argument which is used!
17572         (Dispatch): added check for "custom" export and call appropriate func.
17573
17574 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17575
17576         * lyxrc.C: Add language_command_local, language_use_babel and
17577         language_global_options.
17578
17579         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17580
17581         * buffer.C (makeLaTeXFile): Use language_use_babel and
17582         language_global_options.
17583
17584 2001-02-23  Juergen Vigna  <jug@sad.it>
17585
17586         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17587         which works with LyXText and putted it inside BufferView. Here now we
17588         only call for that part the BufferView::Dispatch() function.
17589
17590         * BufferView.C (Dispatch): added.
17591
17592         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17593         functions which needs to use a LyXText over from LyXFunc.
17594         (MenuInsertLyXFile): added
17595         (getInsetByCode): added
17596         (moveCursorUpdate): added
17597         (static TEXT): added
17598
17599 2001-02-22  Juergen Vigna  <jug@sad.it>
17600
17601         * BufferView_pimpl.C (update): call a status update to see if LyXText
17602         needs it.
17603
17604 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17605
17606         * vc-backend.C (revert): implement for CVS
17607         (getLog): implement for CVS
17608
17609 2001-02-20  Juergen Vigna  <jug@sad.it>
17610
17611         * text2.C (ClearSelection): added BufferView param for inset_owner call
17612
17613         * lyxfunc.C (TEXT): added this function and use it instead of
17614         directly owner->view()-text of getLyXText().
17615
17616 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17617
17618         * src/layout_forms.C: out preamble
17619         * src/layout_forms.h: out preamble
17620         * src/lyx_cb.C: out preamble
17621         * src/lyx_cb.h: out preamble
17622         * src/lyx_gui.C: out preamble
17623         * src/lyx_gui_misc.C: out preamble
17624         * src/lyxfunc.C: connect with guii preamble
17625
17626 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17627
17628         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17629
17630 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17631
17632         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17633         whether to run bibtex.
17634
17635 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17636
17637         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17638
17639 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17640
17641         * Makefile.am (lyx_SOURCES): removed bibforms.h
17642
17643         * vspace.h: doxygen
17644
17645         * text.C (GetVisibleRow): make several local vars const
17646
17647         * tabular.C: small cleanup.
17648
17649         * lyxserver.C (callback): use compare instead of strncmp
17650
17651         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17652         inlines to after class or to paragraph.C
17653
17654         * lyxfont.h: remove friend operator!=
17655
17656         * converter.h: move friend bool operator< to non friend and after
17657         class def.
17658
17659         * combox.h: small cleanup
17660
17661         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17662         to inlines after class def.
17663
17664         * buffer.C (pop_tag): use string operations instead of strcmp
17665
17666         * bmtable.c: doxygen, small cleanup
17667
17668         * LaTeX.h: remove friend operator==
17669
17670 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17671
17672         * screen.C:
17673         * lyxrc.[Ch]:
17674         * lyxfunc.C:
17675         * lyxfont.[Ch]:
17676         * lyx_cb.C:
17677         * intl.[Ch]:
17678         * commandtags.h:
17679         * buffer.C:
17680         * WorkArea.[Ch]:
17681         * LyXAction.C:
17682         * BufferView_pimpl.C:
17683         * BufferView.[Ch]: remove cruft
17684
17685 2001-02-14  Juergen Vigna  <jug@sad.it>
17686
17687         * lyxfunc.C: removed #if 0 unused code
17688
17689         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17690
17691         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17692
17693         * text2.C (SetSelection): added a BufferView * parameter
17694
17695 2001-02-13  Juergen Vigna  <jug@sad.it>
17696
17697         * lyxfunc.C (Dispatch): fixed protected blank problem.
17698         * BufferView2.C (protectedBlank): added LyxText * parameter.
17699
17700         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17701         (AppendColumn): same as above for column_info.
17702
17703         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17704         (moveCursorUpdate): use a LyXText param for support of InsetText.
17705
17706         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17707         (tripleClick): ditto
17708
17709         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17710
17711         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17712
17713         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17714
17715         * text2.C (SetSelection): set correct update status if inset_owner
17716         (ToggleFree): ditto
17717
17718 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17719
17720         * tabular.C: remove some commented code.
17721
17722 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17723
17724         * BufferView_pimpl.C: call hideSplash()
17725
17726         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17727
17728         * include_form.h:
17729         * bibforms.h: remove
17730
17731         * lyxfunc.C:
17732         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17733           add LFUN_CHILD_CREATE
17734
17735         * counters.h: fix tiny typo
17736
17737         * lyx_cb.C:
17738         * lyx.h:
17739         * lyx_gui.C:
17740         * lyx.C: move splash to frontends/xforms/
17741
17742         * lyx_gui_misc.C: move Include and Bibform to frontends
17743
17744         * lyxvc.h: clarify comment
17745
17746         * vspace.C: tiny housekeeping
17747
17748 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17749
17750         * text.C (PrepareToPrint): RTL Fix.
17751
17752         * paragraph.C (GetUChar): New method.
17753         (String):  Use GetUChar.
17754
17755         * buffer.C (asciiParagraph): Use GetUChar.
17756
17757 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17758
17759         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17760
17761 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17762
17763         * buffer.h:
17764         * buffer.C: rename to getLogName(), handle
17765           build log / latex log nicely
17766
17767 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17768
17769         * MenuBackend.C:
17770         * MenuBackend.h: remove support for reference menuitem type.
17771
17772 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17773
17774         * BufferView_pimpl.C: housekeeping
17775         * BufferView_pimpl.h:
17776         * LyXView.h:
17777         * Makefile.am:
17778         * Timeout.C:
17779         * Timeout.h:
17780         * minibuffer.h: move Timeout GUI-I
17781
17782 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17783
17784         * lyxrc.C (read): Update converters data-structures.
17785
17786 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17787
17788         * LaTeX.h (operator!=): add operator != for Aux_Info
17789
17790 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17791
17792         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17793
17794         * LaTeXLog.C: deleted, useful code moved to Buffer
17795
17796         * buffer.h:
17797         * buffer.C: new function getLatexLogName()
17798
17799         * lyx_gui_misc.C:
17800         * lyx_gui.C:
17801         * lyxvc.C:
17802         * lyxvc.h:
17803         * lyxfunc.C: use frontends for LaTeX and VC logs
17804
17805 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17806
17807         * LaTeX.h: yet another std:: that Allan forgot.
17808
17809         * Variables.C (set): renamed from isset(), because this clashes
17810         with some HP-UX macros (grr).
17811
17812 2001-02-06  Allan Rae  <rae@lyx.org>
17813
17814         * LaTeX.h: Another bug fix.  Missing std:: this time.
17815
17816 2001-02-04  Allan Rae  <rae@lyx.org>
17817
17818         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17819         floats problem. I've left it commented out because it's not quite
17820         correct.  It should also test that the current object is a table or
17821         figure inset.  But I haven't gotten around to figuring out how to do
17822         that.  I *think* it'll be something like: "table" == inset.type()
17823
17824         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17825         bool.
17826
17827 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17828
17829         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17830         all the citation/databases/styles in the auxilary file.
17831         (run): Rerun latex if there was a babel language error.
17832
17833 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17834
17835         * text.C (Backspace): Preserve the font when changing newline char
17836         with a space.
17837         (BreakParagraph): If the cursor is before a space, delete the space.
17838
17839         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17840
17841 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17842
17843         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17844         new argument (code).
17845         (ChangeCitationsIfUnique): New method.
17846
17847         * paragraph.C (GetPositionOfInset): Handle bibkey.
17848
17849 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17850
17851         * BufferView_pimpl.h: change type of Position::par_pos to
17852         LyXParagraph::size_type.
17853
17854 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17855
17856         * BufferView_pimpl.C (savePosition, restorePosition): Write
17857         messages to minibuffer.
17858
17859 2001-01-28  José Matos  <jamatos@fep.up.pt>
17860
17861         * buffer.C (makeDocBookFile): adds support for document language.
17862         A silly restriction on the name of LatexCommand types where removed.
17863         Added support for CDATA sections, allows to chars unescaped, used
17864         among others in code, to avoid escape < and >.
17865
17866 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17867
17868         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17869         saved positions instrad of a stack. Furthermore, a position is
17870         stored using paragraph id/paragraph position.
17871
17872         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17873         Remove LFUN_REF_BACK.
17874
17875 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17876
17877         * converter.C (dvipdfm_options): New method.
17878
17879 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17880
17881         * vspace.C (isValidLength): Fix for empty input string.
17882
17883 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17884
17885         * LyXAction.C (init): change description of LFUN_FIGURE to
17886         "Insert Graphics"
17887
17888 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17889
17890         * LaTeX.C: add using directive
17891
17892 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17893
17894         * MenuBackend.C (expand): Fix the sorting of the formats.
17895
17896 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17897
17898         * lyx_main.C: tiny error message fix
17899
17900 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17901
17902         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17903         calling fl_initialize(). This fixes the problem with ',' as
17904         decimal separator in text files.
17905
17906 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17907
17908         * trans.C (process): Fix the keymap bug.
17909
17910 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17911
17912         * LaTeX.C (scanAuxFiles): New method. Provides support for
17913         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17914         (scanLogFile) Scan for "run BibTeX" messages.
17915
17916         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17917         OT1 font encoding. Also, load the aecompl package if the ae
17918         package is loaded.
17919
17920         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17921
17922 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17923
17924         * texrow.C (increasePos): turn two error messages into debug
17925         messages.
17926
17927 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17928
17929         * LaTeX.C (scanAux): Handle the \@input macro.
17930         (runBibTeX): Use scanAux().
17931
17932         * language.C (latex_options_): New field.
17933
17934         * LaTeXFeatures.C (getMacros): Add language macros.
17935
17936         * buffer.C (makeLaTeXFile): Small fix.
17937
17938 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17939
17940         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17941
17942         * text2.C: add a using directive.
17943
17944 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17945
17946         * BufferView2.C:
17947         * lyx_gui_misc.h:
17948         * lyxfr1.C:
17949         * lyxfunc.C: kill LyXBell.
17950
17951 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17952
17953         * text.C (IsBoundary): Remove the error message
17954
17955         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17956
17957         * lyxrc.C (setDefaults): Correct initialization value for
17958         font_norm_type.
17959
17960 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17961
17962         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17963         gotoError().
17964
17965         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17966         and GotoNextNote().
17967
17968         * src/LyXAction.C: Added reference-next.
17969
17970         * text.C (InsertChar): Use contains instead of strchr.
17971
17972         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17973
17974 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17975
17976         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17977         alignment commands (when needed).
17978
17979         * text.C (InsertChar): Add ':' to number separator chars.