]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Add parameter boundary for getRow() function
[lyx.git] / src / ChangeLog
1 2005-07-17  Juergen Vigna  <jug@lyx.org>
2
3         * text2.C (cursorHome): 
4         * text.C (drawSelection, cursorX): 
5         * dociterator.C (textRow): add boundary to getRow() call
6
7         * paragraph.C (getRow): implementation of below
8
9         * paragraph.h: add parameter boundary for getRow() function
10
11 2005-07-18  José Matos  <jamatos@fc.up.pt>
12
13         * buffer.C:
14         * bufferparams.[Ch]:
15         * tex-strings.[Ch]: new file format, remove support for a4.sty,
16         a4wide.sty and a4widemargins.
17
18 2005-07-17  Juergen Vigna  <jug@lyx.org>
19
20         * text2.C (cursorLeft): fix one of error
21
22 2005-07-17  Juergen Vigna  <jug@lyx.org>
23
24         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
25                    cursorEnd):
26         more fixes for boundary handling
27
28         * text3.C (dispatch): don't reset cursor if boundary has changed
29         on cursor movement.
30
31 2005-07-16  Juergen Vigna  <jug@lyx.org>
32
33         * text2.C (getColumnNearX): hopefully got it right now,
34         check if we are on column 0 for special case.
35
36 2005-07-16  Juergen Vigna  <jug@lyx.org>
37
38         * text2.C (getColumnNearX): handle special case Newline Inset
39
40         * text.C (singleWidth): Just remove bogus check
41
42 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
43
44         * funcrequest.C (split): avoid reading uninitialized char c
45
46 2005-07-16  José Matos  <jamatos@fc.up.pt>
47
48         * buffer.C:
49         * converter.C:
50         * lyxrc.C:
51         * paper.h:
52         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
53         single papersize variable.
54
55 2005-07-16  Juergen Vigna  <jug@lyx.org>
56
57         * text3.C (dispatch): honor boundary when checking if a cursor
58         movement has been done
59
60         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
61         (setCursor, setCursorIntern): fix cursor movement with boundary
62
63 2005-07-16  Juergen Vigna  <jug@lyx.org>
64
65         * text.C (currentState): output the actual Boundary
66
67 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * factory.C (createInset): fix bad logic for tabular creation
70
71 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
72
73         * lyx_main.C (init): change some reLyX reference to tex2lyx
74
75 2005-07-16  Juergen Vigna  <jug@lyx.org>
76
77         * dociterator.C (DocIterator): initialize boundary
78
79 2005-07-16  Juergen Vigna  <jug@lyx.org>
80
81         * text2.C (getColumnNearX): Consider rows without trailing blank.  
82
83 2005-07-16  André Pönitz  <poenitz@gmx.net>
84
85         * lyxfont.h: Change order of declarations to give the compiler
86         a better chance to inline things
87
88         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
89         questions on unsaved docs for better scritability
90
91 2005-07-16  André Pönitz  <poenitz@gmx.net>
92
93         * paragraph.h (getChar): remove asserts as the same kind of security
94         can be achieved by using a suitable standard library implementation
95         and the function was in the critical path (25.9% in profiler)
96
97 2005-07-16  Juergen Vigna  <jug@lyx.org>
98
99         * cursor.C (bruteFind2):
100         * bufferview_funcs.C (coordOffset): 
101         * text.C (cursorX,cursorY): Handle cursor position after last char
102         in row before a inset which uses a whole row.
103
104 2005-07-15  José Matos <jamatos@lyx.org>
105
106         * output_plaintext.[Ch] (writeFileAscii): control reference title
107         printing.
108         (asciiParagraph): noparbreak was already deal and was incorrectly
109         used.
110
111 2005-07-15  Juergen Vigna <jug@lyx.org>
112
113         * lyxfunc.C (dispatch): save and restore the cursor after a
114         textclass switch.
115
116 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
117
118         * text.C (backspace): bug 806 for empty keepempty paragraphs we
119         change the layout to default before letting DEPM do its thing.
120
121         * paragraph_funcs.C (breakParagraph): dont reset the layout on
122         keepEmpty paragraphs
123
124         * text.C (setCursorFromCoordinates): add a debug statement
125
126         * text2.C (getColumnNearX): bug 1825 make sure that we don't
127         return a pos that is not on the row
128
129         * output_latex.C (TeXDeeper): get rid of potential dereferencing
130         of past the end iterator
131
132 2005-07-14  André Pönitz  <poenitz@gmx.net>
133
134         * undo.C (recordUndoFullBuffer): implement undo for
135         textclass switches
136
137 2005-07-14  André Pönitz  <poenitz@gmx.net>
138
139         * cursor.C (setSelection): open insets when selection is set there
140         to avoid crashs with cold coord cache
141
142 2005-07-14  André Pönitz  <poenitz@gmx.net>
143
144         * trans_mgr.C (insert): move cursor to the right after inserting
145         a char.
146
147 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
148
149         * BufferView_pimpl.C (update): dampen some of the debug blabbering
150         * factory.C (readInset): ditto
151         * text.C, text2.C: ditto
152
153 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * buffer.C: format incremented to 242. There is no file format per
156         se, but the "frenchb" language has been removed from lib/language
157         and has to be translated to "french" by lyx2lyx.
158
159 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * cursor_slice.h, dociterator.h: add some documentation
162         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
163
164 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
165
166         * text.C (leftMargin): do not add identation to display() style
167         insets, because they are always centered (bug 1293).
168
169 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
170
171         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
172         formatted_time methods in support/lyxtime.
173
174 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
175
176         * toc.[Ch]: new method getGuiName, which is used by the frontends 
177         to set the toc combo (fixes bug 1870). Make TOC string translatable.
178
179 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
180
181         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
182         StableDocIterator const &)
183         * undo.C (recordUndo): use the above instead of cell.size() comparison
184         (fixes bug 1808; instructed by André).
185
186 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
187
188         * cursor_slice.h: 
189         * dociterator.h: Fix the assert when copying rows/cols in math
190
191 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
192
193         * BufferView_pimpl.C:
194         * LyXAction.C:
195         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
196
197         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
198         (findInset): new functions, refactored from goto Inset that return 
199         the position of a certain inset without setting the buffer's cursor
200         (by Jean-Marc); 
201         (gotoInset): rewrite to call findInset and then set the cursor
202         (by Jean-Marc).
203
204 2005-06-16  Angus Leeming  <leeming@lyx.org>
205
206         * lyxrc.C (output, read): wrap all input and output of paths with
207         calls to os::internal_path and os::external_path, respectively.
208         (output): wrap bind_file inside quotes.
209
210         * format.C (view): enable the viewer to use the '$$s' placeholder.
211
212 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
213
214         * LColor.[Ch] (getFromLaTeXName): new
215
216 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
217
218         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
219
220 2005-06-14  Angus Leeming  <leeming@lyx.org>
221
222         * lyx_main.C (init): ensure that the LyX binary dir is the first
223         element in the PATH on non-POSIX builds.
224
225 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
226
227         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
228
229 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
230
231         * rowpainter.C (paintInset, paintHebrewComposeChar)
232         (paintArabicComposeChar, paintChars): add a LyXFont argument.
233         (paintChars): use getFontSpan to reduce calls to getFont to a
234         minimum; use Paragraph::lookupChange instead of isXXXText.
235         (paintForeignMark): rename LyXFont argument.
236         (paintFromPos): pass a LyXFont object to the various paintXXX
237         methods.
238
239         * FontIterator.C (FontIterator, operator++): use
240         Paragraph::getFontSpan
241
242         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
243         version that returns the font span as a pair.
244
245 2005-06-09  Angus Leeming  <leeming@lyx.org>
246
247         * converter.C (convert): Don't forget "outfile = real_outfile" as
248         the final step in a conversion where the input and output file names
249         are the same. Otherwise, future conversion steps won't work...
250
251 2005-06-09  Angus Leeming  <leeming@lyx.org>
252
253         * lyxsocket.C: remove stub code as it isn't needed by
254         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
255
256 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
257
258         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
259         effectively disabled -x
260
261 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
262
263         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
264         when it actually makes sense.
265
266 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * BufferView_pimpl.C: revert to showCursor in connection with
269         Lars's front-end stack
270
271 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
272
273         * text.C (redoParagraph): move cursor right after a bibitem
274         has been inserted.
275
276         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
277
278 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * buffer_funcs.C (bufferErrors): fix computation of the end of an
281         error range.
282
283 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
284
285         * BufferView.[Ch] (update):
286         * BufferView_pimpl.[Ch] (update, metrics):
287         * dimension.h (operator==):
288         * lyxfunc.C (dispatch):
289         * metricsinfo.h (ViewMetricsInfo):
290         * rowpainter.C (paintText):
291         * lyxtext.h:
292         * text.C (redoParagraph):
293         * text3.C (dispatch): Make LyX only repaint current paragraph in
294         case of character insert --> speedup. Also fix cursor draw
295         artifacts
296
297 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
300         avoid a crash (bug 1891)
301
302 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         Fix bug 1892:
305
306         * text2.C (getStringToIndex): constify cur argument.
307
308         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
309         argument has been given
310         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
311         try to invoke LFUN_INSET_APPLY).
312
313         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
314         if no inset was created by doInsertInset
315         (doInsertInset): return true if an inset has been inserted.
316
317 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * vspace.C (asGUIName): new method. A version of the space
320         suitable for showing on screen.
321
322 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
323
324         * MenuBackend.C:
325         * lyxrc.C: rename "ASCII" to "Plain Text"
326
327 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * buffer_funcs.C (expandLabel): take a Buffer as argument;
330         translate the labelstring.
331         (setCounter): translate labelstring as needed.
332
333         * output_docbook.C (makeCommand): fix expandLabel invokation
334
335 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
336
337         * BufferView.C: fix dialog title
338
339 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
340
341         * lyx_main.C (priv_exec): fix logic error with help from Angus
342         * lyx_main.C (parse_execute): set is_gui = false and remove now
343         obsolete comment about a segfault
344
345 2005-05-18  Angus Leeming  <leeming@lyx.org>
346
347         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
348
349 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
350
351         * tabular.[hC]: added setCellInset to fix tabular paste.
352
353 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
354
355         * buffer.C (save): check if destination is writable before trying
356         to copy a file
357
358 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
359
360         * BufferView_pimpl.C (update): fix processEvents -caused update
361         recursion bug
362
363 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * buffer_funcs.C (setCounter): fix test for numbering of
366         environments.
367
368         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
369         depth correctly; use optional argument when it exists
370
371         * lyxtextclass.C: remove unused MaxCounterTags enum
372         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
373         (max_toclevel, min_toclevel): new methods.
374
375         * MenuBackend.C (expandToc2): fix case where depth is smaller than
376         the smallest depth in toc.
377
378         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
379         layouts that should not appear in a table of contents.
380
381 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
382
383         * cursor.h (undispatched, noUpdate): add comments from André
384
385 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
386
387         * lfuns.h:
388         * LyXAction.C:
389         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
390
391 2005-05-07  André Pönitz  <poenitz@gmx.net>
392
393         * cursor.[Ch] (leaveInset): new function
394
395 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
396
397         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
398
399 2005-05-04  Angus Leeming  <leeming@lyx.org>
400
401         * lyxfunc.C (getStatus): disable the spell checker dialog if
402         none of USE_[AIP]SPELL are defined.
403
404 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
405
406         * tabular.C (setWidthOfCell): remove obsolete comment
407
408 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
409
410         * paragraph.C (bibitem):
411         * buffer_funcs.C (setCounter):
412         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
413
414 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
415
416         * text3.C (getStatus): immediately return after setOnOff
417
418         * rowpainter.C: fix drawing of appendix start
419
420 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
421
422         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
423         SwitchBetweenClasses and remove the unused return value.
424         Handle character styles, too
425
426 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
427
428         * factory.C (createInset): handle undefined character styles
429
430 2005-05-02  Angus Leeming  <leeming@lyx.org>
431
432         * buffer.C: protect the #include of utime.h with a preprocessor
433         guard.
434
435 2005-05-02  Angus Leeming  <leeming@lyx.org>
436
437         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
438         function so that auto-saving works, albeit in a blocking manner.
439
440         * Makefile.am: make compilation of the client sub directory, of
441         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
442         on conditionals set at configure time.
443
444         * SpellBase.[Ch]: no longer an abstract base class. Instead,
445         it can be compiled in its own right but has no-op functionality.
446
447         * aspell.C, pspell.C: remove preprocessor guards. The files should
448         be compiled only if the necessary functionality exists.
449
450         * lyxserver.C, lyxsocket.C: disable on Windows.
451
452 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * text.C (leftMargin): Fix the parindent use bug (1764)
455         by dirty trick
456
457 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
458
459         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
460         argument.
461
462 2005-04-25  Angus Leeming  <leeming@lyx.org>
463
464         * Bidi.[Ch]:
465         * coordcache.[Ch]:
466         * ispell.C:
467         * lyxserver.C:
468         * mover.C:
469         * pch.h:
470         include <config.h> in .C files, not .h ones.
471         add licence blurb.
472         protect headers inside preprocessor guards.
473
474 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
475
476         * FuncStatus.h (StatusCodes): document
477
478 2005-04-21  André Pönitz  <poenitz@gmx.net>
479
480         * FuncStatus.h (enabled, onoff): document
481
482 2005-04-19  Angus Leeming  <leeming@lyx.org>
483
484         * BufferView_pimpl.C (cursorToggle): no longer test whether
485         any child processes have been reaped before calling
486         handleCompletedProcesses().
487
488 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
489
490         * text3.C (dispatch): fix, finally fix, the language problem in
491         new lyxtexts, without disabling on-the-fly font changes (Helge's
492         bug report)
493
494 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
495
496         * text3.C (dispatch): set cursor on double/triple click events
497         (bug 1811)
498
499 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
500
501         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
502         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
503
504         * rowpainter.C (paintFirst): simplify the code a little bit. In
505         particular, remove the test for secnumdepth.
506         * text.C (setHeightOfRow): only allocate space for chapter number
507         when updateCounters provided an actual label, instead of looking
508         at secnumdepth directly.
509
510         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
511
512         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
513         paragraphs when secnumdepth is large enough or, for environments,
514         when they are not the first in a sequence.
515
516 2005-04-17  Angus Leeming  <leeming@lyx.org>
517
518         * buffer.C (makeLaTeXFile): replace code to manipulate a path
519         containing space and '~' characters with a call to latex_path().
520
521 2005-04-17  Angus Leeming  <leeming@lyx.org>
522
523         * converter.C (convert): protect all args of convertDefault.sh
524         script with quotes.
525
526 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * text3.C (dispatch): change the layout to "Caption" after inserting
529         a float.
530
531 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
532
533         * text3.C (dispatch): fix language problem in newly created
534         textinsets (and main text) in non-english docs
535
536 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
537
538         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
539         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
540         * text3.C (getStatus): disable LFUN_INSET_MODIFY
541
542 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
543
544         * lyxtext.h:
545         * text.C (metrics):
546         * text2.C (getFont):
547         * rowpainter.C (getFont): Fix metrics bug introduced by inset
548         fonts fix
549
550 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
551
552         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
553         output of \item arguments without trailing text.
554
555 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * FontIterator.C (operator*): avoid a copy of the font.
558
559 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
560
561         * rowpainter.C (getFont): fix language bug from previous fix
562
563 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
564
565         * rowpainter.C (RowPainter, getFont): fix font inside inset
566         (bugs 1766, 1809)
567
568 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
569
570         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
571         preventing inserted font, deco, delim insets jumping to start of
572         surrounding inset.
573
574 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
575
576         * lyxfunc.C (dispatch): translate message before sending it to the
577         minibuffer.
578
579 2005-03-29  Angus Leeming  <leeming@lyx.org>
580
581         * lyx_main.C (priv_exec): call os::internal_path on each file passed
582         to LyX on the command line.
583
584 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
585
586         * vc-backend.C: use QuoteName to protect file names wherever
587         necessary.
588
589 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
590
591         * buffer.[Ch]:
592         * BranchList.h: fix bugs 1844,1845: document settings don't
593         stick
594
595 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         * lyxrc.C (setDefaults, read, output, getDescription): add support
598         for tex_allows_spaces.
599
600         * exporter.C (Export): allows files in directory containing spaces
601         if tex_allows_spaces is true.
602
603         * buffer.C (makeLaTeXFile): if the document path contains spaces,
604         output it in double quotes.
605
606 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
607
608         * rowpainter.C: use default text height for drawing change tracker
609         strikeout lines.
610
611 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
612
613         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
614
615 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
618         directory is missing.
619
620 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
621
622         * text2.C: fixed the fix, extended to other case.
623
624 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
625
626         * text2.C: fix for cursor up/down stuck in math [bug 1792]
627
628 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
629
630         * text2.C (cursorUp): get rid of a crash
631         * text.C (x2pos): add an assert
632
633 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
634
635         * lyxfunc.C (getStatus): fix warning when assertions are disabled
636
637         * text3.C:
638         * lyxfunc.C:
639         * dociterator.C: include <boost/current_function.hpp>, which is
640         needed when assertions are disabled.
641
642 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
643
644         * text2.C: fix for stuck cursor when traversing two
645         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
646
647 2005-02-25  Andreas Vox  <avox@arcor.de>
648
649         * output_docbook.C (makeParagraph): suppress trailing newline
650         after a run of paragraphs
651
652 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
653
654         * paragraph.C: fix for confused change tracker when pasting
655         text that begins with a lineseparator. [bug 1827]
656         (setChange(0, Change::INSERTED);)
657
658         * paragraph_funcs.C: fix for lost changes on triple-paste
659         in change tracking mode [bug 1827] (par.setChange()).
660
661 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * text2.C (updateCounters, setCounter, expandLabel): move to
664         buffer_funcs.
665
666         * buffer_funcs.C (updateCounters): turn into a free standing
667         function and add a buffer parameter. Remove dead code for tracking
668         labelstring change.
669         (setCounter): change into a free-standing function which gets a
670         dociterator as argument. Use this iterator to fix captions in a
671         simple way. When no float is found above the caption, use the
672         labelstring of the caption layout as default.
673
674         * text.C (breakParagraph, backspace):
675         * text2.C (init, setLayout, changeDepth):
676         * text3.C (dispatch):
677         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
678         updateCounters.
679
680         * dociterator.C (forwardPar): make it much faster by calling
681         forwardPos() only when really necessary.
682
683         * output_docbook.C (makeCommand): adapt to expandLabel move.
684
685         * cursor.C: remove unused variable
686
687 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
688
689         * paragraph_funcs.C: fix crash when pasting insets in change
690         tracking mode [bug 1277] (honour change type in moveItem).
691
692 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
693
694         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
695
696 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * BufferView.C (setCursor): change to use a DocIterator.
699         (gotoLabel): use BufferView::setCursor (other part of bug 781).
700         (putSelectionAt): adapt to BufferView::setCursor change.
701
702         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
703         moved here from LyXText and rewritten to use proper cursor
704         methods. Fixes bug 1787, 616 and 835.
705
706         * BufferView_pimpl.C (restorePosition): set the cursor correctly
707         when inside an inset (part of bug 781).
708         (dispatch): adapt to change of BufferView::setCursor.
709         (getStatus, dispatch): handle LFUN_GOTOERROR,
710         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
711
712         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
713         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
714         * text3.C (gotoNextInset, gotoInset): removed.
715
716 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
717
718         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
719
720 2005-02-15  Angus Leeming  <leeming@lyx.org>
721
722         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
723         can be used meaningfully in a comparison.
724
725 2005-02-13  André Pönitz  <poenitz@gmx.net>
726
727         * bufferview_funcs.C (coordOffset): improve cursor drawing
728
729 2005-02-13  André Pönitz  <poenitz@gmx.net>
730
731         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
732         * Cursor.C (dispatch): use fixIfBroken
733         * lyxfunc.C (getStatus): use fixIfBroken
734
735 2005-02-15  Angus Leeming  <leeming@lyx.org>
736
737         * lyx_main.C (error_handler):
738         * lyxfunc.C:
739         * lyxrc.C (setDefaults):
740         s/GetEnv/getEnv/.
741         #include "environment.h".
742
743         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
744
745 2005-02-15  Angus Leeming  <leeming@lyx.org>
746
747         * lyxserver.C (startPipe): squash MSVC warning "local variable
748         'fd' used without having been initialized".
749
750 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
751
752         * BufferView_pimpl.C: revert accidental commit.
753
754 2005-02-14  André Pönitz  <poenitz@gmx.net>
755
756         * dociterator.[Ch]: new member forwardPosNoDescent(),
757         which doesn't enter nested insets.
758         * text2.C (setFont): use forwardPosNoDescent() instead
759         of ForwardPos() (fixes crash on font change).
760
761 2005-02-13  Angus Leeming  <leeming@lyx.org>
762
763         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
764         only if lyxrc.path_prefix is not empty.
765
766 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
767
768         * bufferparams.C (readGraphicsDriver): prevent crash
769
770 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
771
772         * text2.C (setCounter): check for inInset() == 0
773
774 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
775
776         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
777         but use update() to get correct screen display; use convert
778         instead of istringstream.
779         (getStatus): handle LFUN_GOTO_PARAGRAPH
780
781         * lyxfunc.C (dispatch, getStatus): do not handle
782         LFUN_GOTO_PARAGRAPH here.
783
784 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
785
786         * text3.C (dispatch): size() -> depth()
787
788         * text2.C: remove some debug output
789
790         * paragraph.C: ws changes only
791
792         * lyxfunc.C (getStatus): size() -> depth()
793
794         * dociterator.h (clear, push_back, pop_back, internalData,
795         operator[], resize, empty): new functions
796         Make StableDocIterator and operator== be friends. Don't inherit
797         from std::vector use a privat class variable slices_ instead.
798         Modify to fit.
799
800         * dociterator.C: update because of not inheriting from std::vector
801         anymore. Call explictly to slices_ instead. Use depth() instead of
802         size() and top() instead of back()
803
804         * cursor.C: chagne size() -> depth and back() -> top(). Also
805         remove some direct operator[](i) calls in favour of foo[i]
806         (getFont): remove some dead code
807
808         * bufferview_funcs.C (coordOffset): size() -> depth()
809
810         * buffer.C: ws changes only
811
812         * CutAndPaste.C (eraseSelection): back() -> top()
813
814         * BufferView_pimpl.C (selectionRequested): back() -> top()
815
816         * BufferView.C (setCursor): size() -> depth()
817
818 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
819
820         * text3.C (cursorPrevious): return true if depm changed something
821         (cursorNext): ditto
822         (dispatch): rename sl to oldTopSlice, remove moving use the new
823         NoUpdate func attrib instead. Make sure that needsUpdate is set
824         for function that have NoUpdate, but where depm might have changed
825         the buffer anyway.
826
827         * text2.C (cursorLeft): make us return true if depm changed
828         something
829         (cursorRight): ditto
830         (cursorUpParagraph): ditto
831         (curosrDownParagraph): ditto
832         (cursorUp, cursorDown): ditto, make sure to read comments in code
833         (deleteEmptyParagraphMechanism): remove an assert, also return
834         true if just a single char was deleted.
835
836         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
837         cursor that we modify, to avoid modifying an active cursor before
838         we call setCursor. This allows depm to run. Also return true if
839         depm deleted something.
840
841         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
842         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
843         cursorDownParagraph, cursorPrevious and cursorNext, return true if
844         something was changed in the buffer because of them (ie. depm run)
845
846         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
847         debug messages. Make update by default be false. Make sure that
848         the result of update is retained throught several calls down to
849         dispatch.
850
851         * LyXAction.h: add a new func_attrib: NoUpdate
852
853         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
854         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
855         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
856         and LFUN_WORDLEFT
857         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
858
859 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
860
861         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
862         bv_->owner(), bv_->buffer() by direct references to the private
863         members.
864         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
865         (getStatus): isSavedPosition() is in BufferView::Pimpl.
866         (fitCursor): center() is in BufferView::Pimpl.
867         (getStatus, trackChanges, dispatch): no need for a temporary buf
868         variable
869         (fitCursor, workAreaDispatch): use workarea().workheight()
870
871 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
872
873         * CutAndPaste.C (pasteSelectionHelper): fix a crash
874
875 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
876
877         * buffer.C: format up to 241.
878         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
879         break if pasting into ERT
880         * lyxfunc.C (getStatus): suppress mathpanel and
881         LFUN_DIALOG_SHOW_NEW_INSET in ERT
882
883 2005-02-01  Angus Leeming  <leeming@lyx.org>
884
885         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
886
887 2005-02-01  Angus Leeming  <leeming@lyx.org>
888
889         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
890         calling fs::is_directory().
891
892 2005-01-31  Angus Leeming  <leeming@lyx.org>
893
894         * lyx_main.C (priv_exec): specify explicitly the relative location
895         of the top level build directory when run in-place.
896
897 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
898
899         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
900         LyXText containing the cursor, not the top-level one.
901
902         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
903         true.
904         (insertStringAsLines): rename par to pit; use temporary variable
905         par to hold a Paragraph; do not store par.layout() in a variable,
906         since the pointer may die when breaking paragraphs; pass pars to
907         breakParagraph() instead of Buffer::paragraphs().
908
909 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
910
911         * lyxlex_pimpl.h: #include <fstream>.
912
913         * BufferView.[Ch] (getLyXText): add a const version.
914
915         * BufferView_pimpl.C: add debug aids.
916
917         * RowList_fwd.h:
918         * buffer.h:
919         * lyxrow.h:
920         * paragraph_funcs.h: add commentary explaining what the class does.
921
922
923         * coordcache.[Ch]: add lots of commentary.
924         (startUpdating, doneUpdating): debug aids.
925         (arrays, insets, parPos, getParPos): accessors to private data.
926
927         * cursor_slice.[Ch] (text): add a const version.
928         * dociterator.[Ch] (text, innerText): add const versions.
929
930         * lyxtext.h (breakParagraph): change the keep_layout arg to a
931         bool.
932
933         * paragraph.C (getRow, pos2ros): add asserts.
934
935         * paragraph.h: add commentary. Lots of.
936
937         * paragraph.[Ch] (metrucs, draw): removed.
938
939         * cursor.C:
940         * rowpainter.[Ch]: const-correct changes.
941
942         * text.C: various obvious clean-ups. Removal of ancient cruft.
943         Bug fixes, even.
944
945 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
946
947         * vc-backend.C (find_file): rewrite to use boost.filesystem
948         (scanMaster): ditto
949
950         * main.C (main): set default name check for boost.filesystem to
951         no check
952
953         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
954         (open): ditto
955         (doImport): ditto
956         (actOnUpdatedPrefs): ditto
957
958         * lyx_main.C (init): rewrite to use boost.filesystem
959         (queryUserLyXDir): ditto
960
961         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
962         (getContentsOfAsciiFile): ditto
963
964         * lastfiles.C (readFile): rewrite to use boost.filesystem
965
966         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
967
968         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
969         (loadLyXFile): ditto
970
971         * buffer.C (Buffer): adjust for destroydir
972         (getLogName): rewrite to use boost.filesystem
973         (setFileName): ditto
974         (save): use fs::copy_file (from fs_extras)
975
976         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
977
978         * LaTeX.C (run): rewrite to use boost.filesystem
979         (scanAuxFiles): ditto
980         (handleFoundFile): ditto
981
982 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
983
984         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
985
986         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
987
988 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
989
990         * lyxlayout.[Ch]: change some vars from float to double
991
992         * buffer.C (readFile): make a local var const
993
994         * Several files: use convert<> instead of atoi,strToXXX and friends
995
996 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
997
998         * LaTeXFeatures.[Ch]: Add a static list packages_ that
999         holds the contents of packages.lst. New functions getAvailable
1000         and isAvailable to parse and check that list, resp.
1001
1002         * LyXAction.C:
1003         * lfuns.h:
1004         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1005
1006         * bufferparams.[Ch]: new param output_changes.
1007
1008         * Buffer.C: increase file format to 240.
1009         Use output_changes and isVailable.
1010
1011         * changes.[Ch]:
1012         * paragraph.C:
1013         * paragraph_pimpl.C: Use output_changes and isVailable.
1014
1015 2005-01-23  Angus Leeming  <leeming@lyx.org>
1016
1017         * output_latex.C: #include "insetbibitem.h", rather than
1018         forward declare function bibitemWidest.
1019
1020 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1021
1022         * lyx_main.C (init): make it compile on the Mac.
1023
1024 2005-01-20  Angus Leeming  <leeming@lyx.org>
1025
1026         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1027         (setLyXMisc): (char string literal) != (char string literal) is
1028         performing a comparison on the addresses. Convert one operand
1029         explicitly to string to guarantee expected behaviour.
1030         From MSVC warning.
1031
1032 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1033
1034         * buffer.C:
1035         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1036
1037         * output_plaintext.C: remove unneeded #include gzstream.h.
1038
1039 2005-01-20  Angus Leeming  <leeming@lyx.org>
1040
1041         * SpellBase.h: rename some of the elements of the Result enum.
1042
1043         * aspell_local.h:
1044         * ispell.h:
1045         * pspell.h:
1046         * aspell.C (check):
1047         * ispell.C (check):
1048         * pspell.C (check): ditto
1049
1050 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1051
1052         * buffer.C: add #include <fstream>.
1053
1054         * lyx_main.C (init): Compile fix.
1055
1056         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1057
1058 2005-01-20  Angus Leeming  <leeming@lyx.org>
1059
1060         * mover.h: change commentary to reflect the changed meaning of
1061         the $$s placeholder.
1062
1063 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1064
1065         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1066
1067         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1068
1069 2005-01-20  Angus Leeming  <leeming@lyx.org>
1070
1071         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1072         printing diagnostic data by not dereferecing an iterator past the
1073         end.
1074
1075 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1076
1077         * buffer.C (readHeader): use "&&" rather than "and".
1078
1079         * lyxserver.h (inPipeName, outPipeName): make these const.
1080
1081 2005-01-19  Angus Leeming  <leeming@lyx.org>
1082
1083         * lyx_main.C (error_handler, init): protect SIGHUP with
1084         #ifdef SIGHUP guards.
1085
1086 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1087
1088         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1089
1090 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1091
1092         * text.C (setHeightOfRow): add a margin at the top and bottom of
1093         the document (bug 1761)
1094
1095 2005-01-17  Angus Leeming  <leeming@lyx.org>
1096
1097         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1098         with "python ". Workaround for a brain-dead Windows.
1099
1100 2005-01-16  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1103         for MacOSX and Windows to use prependEnvPath.
1104         Strip out the hard-coded block to add elements to the PATH for
1105         MacOSX and replace it with a call to prependEnvPath using the
1106         contents of LyXRC::path_prefix.
1107         (queryUserLyXDir): strip out the code to run reconfigure, instead
1108         returning a boolean indicating the necessity to do so.
1109         (reconfigureUserLyXDir): contains the code to reconfigure the
1110         user support directory. Is now called after the various LyXRC data
1111         files have been read.
1112
1113         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1114
1115 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1116
1117         * converter.[Ch] (convert): take a new parameter try_default. Use
1118         a default converter (imagemagick) if try_default is true.
1119
1120 2005-01-13  Angus Leeming  <leeming@lyx.org>
1121
1122         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1123         os::cygwin_path_fix.
1124         (write): output LyXRC::cygwin_path_fix as necessary.
1125
1126 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1127
1128         * lyxrc.h:
1129         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1130
1131 2005-01-12  Angus Leeming  <leeming@lyx.org>
1132
1133         * lyx_main.C (init): set the PATH variable to include the
1134         directory containing the LyX binary when running on Mac or Windows.
1135
1136 2005-01-12  Angus Leeming  <leeming@lyx.org>
1137
1138         * lyx_main.C (init): remove cruft that purports to set the locale
1139         dir. It doesn't and is not needed anyway.
1140
1141 2005-01-10  Angus Leeming  <leeming@lyx.org>
1142
1143         * Makefile.am: remove the lyx_main.C special casing.
1144
1145         * BufferView_pimpl.C:
1146         * bufferlist.C:
1147         * exporter.C:
1148         * lyx_cb.C:
1149         * lyx_main.C:
1150         * lyxfunc.C:
1151         * messages.C: use support/package.h to provide the paths to the
1152         various directories used by LyX.
1153
1154 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1155
1156         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1157         layout if pasting into an empty paragraph)
1158
1159 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1160
1161         * tex-accent.C: add <string>
1162
1163 2005-01-06  José Matos  <jamatos@lyx.org>
1164
1165         * ParagraphParameters.C (write): put every parameter in its own line.
1166         * paragraph.C (write): reduce number of consecutive empty lines exported.
1167         * buffer.C (LYX_FORMAT): increase file format to 239.
1168
1169 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1170
1171         * everywhere: change support/tostr.h -> support/convert.h
1172
1173         * tabular.C: make all write_attributes templates, tostr -> convert
1174
1175         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1176         (emptyTag): and -> &&, and fix type for ret from getChar
1177         (getFirstWord): fix type for ret from getChar
1178         (onlyText): and -> &&
1179         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1180         getChar
1181
1182         * toc.C (goTo, action):
1183         * text3.C (dispatch):
1184         * text.C (currentState):
1185         * tex-accent.C (DoAccent):
1186         * sgml.C:
1187         * lyxrc.C:
1188         * lyxfunc.C (menuNew):
1189         * lyxfinc.C (replace):
1190         * counters.C (laberItem):
1191         * bufferview_funcs.C (font2string):
1192         * bufferparams.C (writeFile):
1193         * buffer.C (readFile):
1194         * Spacing.C (set):
1195         * MenuBackend.C: tostr -> convert
1196
1197         * LaTeX.C (runMessage): fix format
1198         (scanAuxFiles): tostr -> convert
1199
1200         * BufferView_pimpl.C (savePosition): fix format
1201         (restorePosition): ditto
1202         (dispatch): ditto
1203
1204 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1205
1206         * Spacing.[Ch]: New method getValueAsString().
1207
1208         * Spacing.[Ch]:
1209         * bufferparams.C:
1210         * ParagraphParameters.C:
1211         * lyxlayout.C:
1212         * text.C:
1213         * text3.C: store/read spacing value as string.
1214
1215         * rowpainter.C: change float value (spacing_val) to double.
1216
1217         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1218         broken custom document spacing).
1219
1220 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1221
1222         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1223         namespace, also more use of temp references and const
1224
1225         * cursor.[Ch] (getStatus): move to lyxfunc.C
1226
1227         * bufferparams.C: reformat slightly
1228
1229         * bufferview_funcs.C (font2string): constify arg
1230
1231         * changes.C:
1232         * converter.C:
1233         * counters.C:
1234         * bufferlist.C:
1235         * buffer_funcs.C: (many funcs): constify arg on function
1236         definitions, also make more local vars const, also add ASSERTS on
1237         pointer args.
1238
1239         * buffer.C (LYX_FORMAT): put const in correct place
1240         (many funcs): constify arg on function definitions, also make
1241         more local vars const
1242
1243         * aspell_local.h: remove "struct" from typdef setup
1244
1245         * aspell.C (check): make word_ok const
1246         (nextMiss): simplify slightly
1247         (error): ditto
1248
1249 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1250
1251         * lyxrc.[Ch]: store all float values as strings.
1252         use int (not float) for lyxrc.dpi.
1253
1254 2005-01-04  Angus Leeming  <leeming@lyx.org>
1255
1256         * lyx_cb.C (Reconfigure):
1257         * lyx_main.C (queryUserLyXDir):
1258         to run the <system_lyxdir>/configure correctly on Windows, prefix
1259         the path to the script with "sh " when generating the string that
1260         is passed to system().
1261
1262 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1263
1264         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1265
1266 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1267
1268         * lyxlength.C (asLatexString): get rid of setprecision
1269
1270 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1271
1272         * text2.C (setLayout): remove unused variable endpit.
1273         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1274
1275         * paragraph.C (onlyText): remove unused variable style.
1276
1277         * cursor.C (bruteFind): remove unused variables beg and end.
1278
1279         * Makefile.am (dist_noinset_DATA): not needed anymore
1280
1281         * cheaders/*: remove.
1282
1283 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1284
1285         * text3.C: fix LFUN_MATH_MODE.
1286
1287 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1288
1289         * buffer_funcs.C (countWords): new function. Counts words between
1290         two iterators.
1291
1292         * BufferView_pimpl.C (getStatus, dispatch): handle
1293         LFUN_WORDS_COUNT.
1294
1295         * LyXAction.C (init):
1296         * lfuns.h: add LFUN_WORDS_COUNT.
1297
1298 2004-12-19  Angus Leeming  <leeming@lyx.org>
1299
1300         * buffer.C (save): s/slashify_path/internal_path/.
1301
1302 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1303
1304         * lyxfind.C (findChange): do not search for end of pars, because
1305         the change tracker cannot handle this (fixes bug 1719).
1306
1307 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1308
1309         * paragraph.[Ch] (autoBreakRows): remove
1310
1311         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1312
1313         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1314         avoid using the paragraph one
1315
1316         * text2.C (LyXText, insertStringAsLines): adjust
1317
1318 2004-12-16  Angus Leeming  <leeming@lyx.org>
1319
1320         * bufferlist.C:
1321         * lyx_main.C:
1322         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1323
1324 2004-12-14  Angus Leeming  <leeming@lyx.org>
1325
1326         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1327
1328         * bufferlist.C (emergencyWrite):
1329         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1330         GetEnvPath("HOME").
1331
1332 2004-12-14  Angus Leeming  <leeming@lyx.org>
1333
1334         * main.C: (main): no longer pass pointers to os::init.
1335
1336 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1337
1338         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1339         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1340
1341 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1342
1343         * lyxfunc.C:
1344         * text3.C: remove selection_possible global flag
1345
1346 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1347
1348         * text2.C (getSelectionSpan): remove
1349         (changeDepth, changeDepthAllowed): adjust
1350
1351 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1352
1353         * Makefile.am (BOOST_LIBS): use boost variables
1354
1355 2004-12-03  José Matos  <jamatos@lyx.org>
1356
1357         * buffer.C: format up to 238.
1358
1359 2004-12-03  José Matos  <jamatos@lyx.org>
1360
1361         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1362
1363 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1364
1365         * cursor.C (goUpDown): remove call to idxUpDown2
1366
1367 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1368
1369         * tabular.[Ch]: use size_t-like types for cell, row and column
1370         indices
1371
1372 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1373
1374         * lyxfunc.C (getStatus): do not lose previous information when
1375         calling BufferView::getStatus; do not set a default "Command
1376         disabled" message at the beginning, but just before returning.
1377
1378 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1379
1380         * cursor.h (getStatus): add better comment from src/cursor.C
1381
1382 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1383
1384         * text3.C (getStatus): return false when the lfun is not handled
1385
1386 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * broken_headers.h: remove
1389
1390         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1391
1392 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1395         offset_ref accessors
1396
1397         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1398         top_y_, merge fitcursor with update
1399         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1400         coord scheme
1401         (metrics): introduce
1402         (workAreaDispatch): adapt to new coord scheme
1403         (redoCurrentBuffer): remove
1404
1405         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1406
1407         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1408         CurStatus enum.
1409
1410         * coordcache.[Ch]: add paragraph cache and helpers
1411
1412         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1413         adjust everywhere
1414
1415         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1416         (targetX, setTargetX): introduce
1417
1418         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1419         baseline -> ascent, as the rest of lyx
1420
1421         * lyxtext.h: remove redoParagraphs, updateParPositions,
1422         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1423         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1424         have ascent/descent (ascent is ascent of first par)
1425
1426         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1427         step of BufferView
1428
1429         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1430
1431         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1432
1433         * pariterator.C: fix infinite loop introduced in par->pit renaming
1434
1435         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1436         in insets and LyXText, draw two off-screen paragraphs using
1437         NullPainter, and adapt to new coord scheme
1438
1439         * text.C:
1440         * text2.C:
1441         * text3.C: adapt lfun handlers to the new coord scheme, which
1442         means: there's only guaranteed coord information for onscreen pars
1443         plus one above and one below. This implies that one can do search
1444         from y coordinates in the range [-1,workHeight]
1445
1446 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1447
1448         * rename a lot of InsetOld to InsetBase
1449
1450 2004-11-25  Angus Leeming  <leeming@lyx.org>
1451
1452         * BufferView_pimpl.C:
1453         * lyx_cb.C:
1454         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1455
1456 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1459         call BufferView::getStatus if LCursor::getStatus did nothing
1460         (setStatusMessage, getStatusMessage): removed.
1461
1462         * FuncStatus.C (message): new methods. Used to provide an error
1463         message indicating why a command is disabled.
1464         (clear, |=, FuncStatus): update for message.
1465
1466 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1467
1468         * lyxfunc.C (dispatch): always call sendDispatchMessage
1469
1470 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1471
1472         * BufferView.C:
1473         * BufferView_pimpl.C:
1474         * CutAndPaste.C:
1475         * FontIterator.C:
1476         * buffer.C:
1477         * cursor.C:
1478         * cursor_slice.[Ch]:
1479         * dociterator.[Ch]:
1480         * lyxfind.C:
1481         * paragraph_funcs.C:
1482         * pariterator.C:
1483         * rowpainter.C:
1484         * text.C:
1485         * text2.C:
1486         * text3.C:
1487         * undo.C: par->pit renaming
1488
1489 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1490
1491         * tabular.C (cellstruct): use initialization, store a shared_ptr
1492         to insettext instead of the insettext directly, adjust to fit.
1493         (operator=):  new function
1494         (swap): new function
1495         (rowstruct): use initialization
1496         (columnstruct): use initialization
1497         (ltType): use initialization
1498
1499
1500         * lyxlength.h (swap): new function
1501
1502         * LColor.[Ch] (operator=): use the common semantics
1503
1504 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1505
1506         * lyxfind.C (findNextChange): update the bufferview after setting
1507         the selection.
1508
1509 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1512         number of InsetOptArgs has already been inserted.
1513
1514         * output_latex.C (latexOptArgInsets): new method. This outputs all
1515         the optarg insets, up to the limit defined in the layout file.
1516         (optArgInset): removed
1517         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1518
1519 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1520
1521         * paragraph.C (isLetter): remove special spellchecker-related
1522         code; return true also for digits
1523         (isWord, isKomma): remove
1524
1525         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1526         * lyxfind.C (MatchString()): use isLetter instead of isWord
1527
1528 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1529
1530         * pariterator.h (operatir=): comment out un-implemented member
1531         function.
1532
1533         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1534         static cast.
1535
1536 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1537
1538         * lyxfont.h: include LColor.h to satisfy concept checks.
1539
1540 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1541
1542         * pariterator.h: add typdefs for value_type, difference_type,
1543         pointer and reference to satisfy concept checks. Also add default
1544         constructor for same reason.
1545
1546         * pariterator.C (operator++): add post-increment operator to
1547         satisfy concept checks.
1548
1549         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1550         checks.
1551
1552         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1553
1554         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1555         checks. Also rename base_type to BaseType to follow naming
1556         standard better.
1557
1558         * FloatList.h: include Floating.h to satisfy concept checks.
1559
1560 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * lyxfunc.C (getStatus): when the origin of the request is menu or
1563         toolbar, and the LyXView does not have focus, do as if there was
1564         no buffer (bug 1720)
1565
1566         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1567         FuncRequest to individual entries of LFUN_SEQUENCE
1568
1569 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1570
1571         * output_latex.C (TeXOnePar): override runparams.moving_arg
1572         according to the needprotect value of the current paragraph (bug
1573         1739)
1574
1575         * paragraph.C (simpleTeXOnePar): no need to override
1576         runparams.moving_args here
1577
1578 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1579
1580         * vspace.C: fix off-by-one-error, related to fix #1682
1581
1582 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1583
1584         * lengthcommon.C: a more general fix for bug 1682
1585
1586 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1587
1588         * text.C (backspace): fix crash
1589
1590 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1591
1592         * format.[Ch] (getFormatFromFile): new method
1593         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1594
1595 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1596
1597         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1598
1599 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1600
1601         * lyxfunc.C (dispatch): remove the verbose argument
1602         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1603         instead
1604
1605         * kbmap.C (defkey): set the origin of func to KEYBOARD
1606
1607         * MenuBackend.C (MenuItem):
1608         * ToolbarBackend.C (add): set the origin of func to UI
1609
1610         * funcrequest.[Ch]: add origin member, which indicates which part
1611         of LyX requests an action
1612
1613 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1614
1615         * converter.C (move): don't lie in the error message
1616         * converter.h (isReachable, move): document
1617
1618 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1619
1620         * buffer.C: remove unused using lyx::support::atoi
1621         * paragraph_funcs.C: ditto
1622
1623 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1624
1625         * bufferlist.C (exists): use bind and equal_to instead of
1626         compare_memfun
1627         (getBuffer): ditto
1628         * lyxtextclasslist.C (NumberOfClass): ditto
1629
1630         * cursor.C (insert): use for_each instead of explicit for loop
1631
1632         * bufferlist.C (getFileNames): use std::transform and
1633         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1634
1635         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1636         for loop
1637
1638         * buffer.C (changeLanguage): use for_each instead of explicit for
1639         loop
1640         (hasParWithID): implement using getParFromID
1641
1642         * LaTeXFeatures.C: ws change only
1643
1644         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1645         to cleanup a bit.
1646
1647         * BufferView_pimpl.C (trackChanges): use for_each instead of
1648         expilicit for loop
1649
1650 2004-11-04  André Pönitz  <poenitz@gmx.net>
1651
1652         * undo.h:
1653         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1654
1655         * dociterator.C (asDocIterator): use hard assert again.
1656
1657 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1658
1659         * lyxlength.C (asLatexString): rewrite so that it does not use
1660         snprintf anymore
1661
1662 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1663
1664         * text3.C (specialChar, dispatch): make sure cursor moves to the
1665         right after inserting an inset
1666
1667 2004-11-02  José Matos  <jamatos@lyx.org>
1668
1669         * output_docbook.C (docbook):
1670         * paragraph.C (getID):
1671         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1672         garantee that the output is always legal.
1673
1674         * tabular.C (docbook):
1675         * outputprams.[Ch]: remove mixed contents.
1676
1677 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1678
1679         * text2.C (setCounter): prevent endless loop
1680
1681 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1682
1683         * exporter.C (copyFile): use the mover instead of support::copy()
1684         * exporter.C (Export): pass format and latex name to copyFile()
1685         * exporter.h (addExternalFile): document
1686         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1687
1688 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1689
1690         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1691
1692 2004-10-30  José Matos  <jamatos@lyx.org>
1693
1694         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1695         text and no inset or font change. This allows to use CDATA
1696         sections just for the whole paragraph.
1697
1698 2004-10-30  José Matos  <jamatos@lyx.org>
1699
1700         * paragraph.C (getFirstWord): remove unused variable.
1701
1702 2004-10-30  José Matos  <jamatos@lyx.org>
1703
1704         * paragraph.C (getFirstWord): the content should always be escaped
1705         there.
1706         (simpleDocBookOnePar):
1707         * output_docbook.C (makeEnvironment): replace reference to CDATA
1708         to style pass_thru.
1709
1710 2004-10-30  José Matos  <jamatos@lyx.org>
1711
1712         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1713
1714 2004-10-30  José Matos  <jamatos@lyx.org>
1715
1716         * output_docbook.C (makeParagraphs):
1717         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1718         standard paragraph has only a given type of content drop the wrapper.
1719
1720 2004-10-29  José Matos  <jamatos@lyx.org>
1721
1722         * output_docbook.C (makeEnvironment):
1723         * sgml.C (openTag):
1724         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1725
1726 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1727
1728         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1729         (cleanID): sanitize any id.
1730
1731 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1732
1733         * buffer.C, lyxlex_pimpl.C:
1734         * lyxlex_pimpl.C (setFile):
1735         s/getExtFromContents/getFormatFromContents/
1736
1737 2004-10-28  José Matos  <jamatos@lyx.org>
1738
1739         * output_docbook.C (makeEnvironment): move id to broadest possible
1740         scope.
1741
1742         * sgml.C (openTag): apply substitution of <> for all attributes.
1743
1744 2004-10-28  José Matos  <jamatos@lyx.org>
1745
1746         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1747         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1748         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1749
1750         * sgml.[Ch]: new version for open and closeTag for paragraph and
1751         for strings. Now they handle the ids of paragraphs.
1752
1753 2004-10-26  Angus Leeming  <leeming@lyx.org>
1754
1755         * Makefile.am: add mover.[Ch].
1756
1757         * converter.C (convert, move): use the new Movers to move external
1758         files to the temp directory.
1759
1760         * lyx_main.C (init): ensure that the global system_movers data
1761         is initialised.
1762
1763         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1764         preferences file.
1765
1766         * mover.[Ch]: new files, defining a Mover as a utility to move an
1767         external file between directories and, if necessary, manipulate this
1768         file using a helper script.
1769
1770 2004-10-25  José Matos  <jamatos@lyx.org>
1771
1772         * output_docbook.C (makeCommand): merge two if's that tested the
1773         same condition.
1774
1775 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1776
1777         * sgml.C (escapeString): fix warning in a better way
1778
1779 2004-10-25  José Matos  <jamatos@lyx.org>
1780
1781         * sgml.C (escapeString): import the require boosts header file for
1782         tie, and avoid a signed unsigned comparison.
1783
1784 2004-10-25  José Matos  <jamatos@lyx.org>
1785
1786         * sgml.h: add #include <string>
1787
1788 2004-10-25  José Matos  <jamatos@lyx.org>
1789
1790         * sgml.[Ch] (escapeString): new function to escape all the string.
1791
1792 2004-10-24  José Matos  <jamatos@lyx.org>
1793
1794         * paragraph.[Ch] (getFirstWord): new function to get the first
1795         word. Useful for description.
1796         (simpleDocBookOnePar): remove depth argument, add another that
1797         says where to start the paragraph.
1798
1799         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1800         use the new functions to fix cleanly the support for descriptions.
1801
1802 2004-10-24  José Matos  <jamatos@lyx.org>
1803
1804         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1805         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1806         * output_linuxdoc.C (linuxdocParagraphs):
1807         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1808         add buffer as argument.
1809
1810 2004-10-24  José Matos  <jamatos@lyx.org>
1811
1812         * output_docbook.C (makeEnvironment, searchEnvironment): place
1813         CDATA inside paragraphs and fix scope for listitems.
1814
1815 2004-10-24  José Matos  <jamatos@lyx.org>
1816
1817         * output_docbook.C: remove using statement for stack.
1818
1819 2004-10-23  José Matos  <jamatos@lyx.org>
1820
1821         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1822         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1823         docbook. The new scheme is recursive and makes use of iterators, the
1824         same as latex export works.
1825         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1826         directly with the paragraph contents. This code was moved up to
1827         output_docbook.C (docbookParagraphs).
1828         * sgml.C (openTag, closeTag): removed unneeded newlines.
1829         (closeEnvTags) removed.
1830
1831 2004-10-23  André Pönitz  <poenitz@gmx.net>
1832
1833         * undo.C (textUndoOrRedo):
1834         * dociterator.C (asDocIterator): work around crash
1835
1836         * cursor.C (getStatus): replace ASSERT by more verbose error message
1837           and manual correction of the problem. Should increase stability
1838           while providing more sensible information.
1839
1840 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1841
1842         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1843
1844         * bufferlist.C (previous, next): new methods
1845
1846         * lfuns.h:
1847         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1848
1849 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1850
1851         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1852         entities to preamble.
1853
1854 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1855
1856         * messages.C (Pimpl): strip off translation context information
1857
1858 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1859
1860         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1861         the cursor is correct (bug 1694)
1862
1863 2004-10-13  José Matos  <jamatos@lyx.org>
1864
1865         * output_docbook.C (docbookParagraphs): fix closing tags in the
1866         end of the document.
1867
1868 2004-10-09  José Matos  <jamatos@lyx.org>
1869
1870         * buffer.C: format up to 237.
1871         * bufferparams.C (write): use tostr to convert booleans to strings.
1872
1873 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1874
1875         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1876
1877 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1878
1879         * LaTeX.C: implement use of babel language in xindy.
1880
1881 2004-10-05  José Matos  <jamatos@lyx.org>
1882
1883         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1884         Add new translators to help reading and writing the lyx file.
1885
1886 2004-10-05  José Matos  <jamatos@lyx.org>
1887
1888         * ParagraphParameters.C (read):
1889         * text.C (readParToken): replace nexToken by more appropriate lex
1890         methods.
1891
1892 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1893
1894         * LaTeX.C (runMakeIndex):
1895         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1896         (usually 'makeindex') configurable.
1897
1898         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1899         with a variable rather than with a number.
1900
1901 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1902
1903         * output_latex.C (TeXOnePar): make sure font setting is the first
1904         thing that gets output (and the last at the end). Should fix bug
1905         1404.
1906
1907 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1908
1909         * pch.h: use proper signal include
1910
1911         * LaTeX.h: Use preferred calling of Boost.Signal
1912         * buffer.h: ditto
1913
1914 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1915
1916         * pch.h: dont include <boost/function/function0.hpp>
1917
1918         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1919
1920         * paragraph_pimpl.h: remove usage of ShareContainer
1921
1922         * paragraph_pimpl.C: remove initialization of ShareContainer.
1923
1924 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1925
1926         Fix bug #1666
1927
1928         * BufferView.C (putSelectionAt): change the semantics when
1929         backwards == true: now, this just swaps cursor and anchor wrt the
1930         forward case
1931
1932         * BufferView.h (putSelectionAt): add some documentation
1933
1934         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1935         make sure backwardChar is done at least once (to avoid getting
1936         stuck)
1937         (findNextChange): use putSelectionAt in the forward direction
1938         (operator()): use Paragraph::isWord
1939
1940 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1941
1942         * Spacing.C (set): c_str fix
1943
1944 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1945
1946         * lyx_cb.C (Reconfigure): quote the name of configure script in
1947         case it contains spaces
1948
1949 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1950
1951         * client: new dir
1952
1953         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1954         (BOOST_LIBS): use top_buildir when looking for the file
1955
1956 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1957
1958         * pch.h: do not use include boost/format.hpp, multiple symbols
1959                 will result (gcc bug)
1960
1961
1962 2004-08-23  José Matos  <jamatos@lyx.org>
1963
1964         * bufferparams.C (readToken): fix reading of the author field.
1965
1966 2004-08-20  José Matos  <jamatos@lyx.org>
1967
1968         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1969
1970 2004-08-20  José Matos  <jamatos@lyx.org>
1971
1972         * lyxlex.[Ch] (findToken): remove function.
1973
1974         * ParagraphParameters.C (findToken):
1975         * bufferparams.C (findToken): replace call for previous function
1976         with local copy. This local function has one more argument, the
1977         read string argument.
1978
1979 2004-08-16  José Matos  <jamatos@lyx.org>
1980
1981         * ParagraphParameters.C (write):
1982         * Spacing.C (writeFile):
1983         * bufferparams.C (writeLaTeX):
1984         * lyx_cb.C (Reconfigure):
1985         * paragraph.C (write):
1986         * tabular.C (write): remove unnecessary space at end of line.
1987
1988
1989 2004-08-16  José Matos  <jamatos@lyx.org>
1990
1991         * text.C (readParagraph): remove debug message.
1992
1993 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1994
1995         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1996         crash
1997
1998         * output_plaintext.C (asciiParagraph): set depth correctly
1999
2000         * outputparams.h: add member depth
2001
2002         * paragraph_funcs.C (ownerPar): remove.
2003
2004         * text2.C (setCounter): remove first_pit; comment out some
2005         non-working code that uses ownerPar
2006
2007         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2008         uses ownerPar
2009
2010 2004-08-16  José Matos  <jamatos@lyx.org>
2011
2012         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2013         For the same level of importance use the same chanel to report problems.
2014         (read): add code to deal with \begin_body and \end_body.
2015
2016
2017 2004-08-15  José Matos  <jamatos@lyx.org>
2018
2019         * lyxlex.C (getString): fix comment, buffer::readBody is now
2020         buffer:readDocument.
2021
2022         * tex-strings.C (string_papersize): Default -> default,
2023         Custom -> custom, for consistency with other options.
2024
2025 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
2026
2027         * pch.h: new file
2028
2029         * Makefile.am: support pch
2030
2031 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2032
2033         * text.C (readParToken): remove the static LyXFont variable and
2034         pass it as a parameter instead. This fixes a nasty bug where an
2035         inset will be inserted with a bad font in some situations
2036         (readParagraph): adapt
2037
2038         * text2.C (setCounter): reduce number of calls to pars_[pit]
2039
2040         * text.C (singleWidth): add an assert, fix a test
2041
2042         * rowpainter.C (paintText): reduce number of calls to singleWidth
2043
2044         * paragraph.C (isHfill):
2045         (isNewline): ws only
2046
2047 2004-08-14  André Pönitz  <poenitz@gmx.net>
2048
2049         * text.C:
2050         * text2.C:
2051         * rowpainter.C:
2052         * lyxtext.h (several functions): use a Paragraph & argument
2053         instead of par_type
2054
2055 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2056
2057         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2058
2059         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2060
2061         * text.C (singleWidth): remove useless test
2062
2063 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2064
2065         * tabular.h: remove bogus comments
2066
2067         * tabular.C (getDescentOfRow):
2068         (isPartOfMultiColumn): add assertions
2069
2070         * lyxlength.C (inPixels): remove #warning
2071
2072 2004-08-14  André Pönitz  <poenitz@gmx.net>
2073
2074         * paragraph.h: inline getChar()
2075
2076         * BufferView.h: remove unused declarations
2077
2078 2004-08-14  José Matos  <jamatos@lyx.org>
2079
2080         * Buffer.[Ch] (readDocument): new name for old readBody.
2081         * Buffer.C: new file format, new keywords: \begin_document,
2082         \begin_header, \begin_body, \end_body.
2083
2084         * bufferparams.C (readToken): replace all calls to lex.nextToken
2085         by lex.next(). Do the same to eatLine except where really needed.
2086
2087         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2088         line when writing to the lyx file.
2089
2090         * output_plaintext.C (asciiParagraph): fix Bibliography style
2091         handling.
2092
2093         * text.C (read): fix end of file handling.
2094
2095 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2096
2097         * MenuBackend.C (Menu::operator[]): new method to access
2098         individual menu items
2099         (Menu::hasFunc): new method. search for an item that corresponds
2100         to a given func
2101         (MenuBackend::specialMenu): new method
2102         (MenuBackend::expand): if a special menu has been set, skip
2103         entries whose func() appears in this menu
2104
2105 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2106
2107         * text3.C: use Debug::DEBUG a bit more
2108
2109         * text.C (leftMargin): try to simplify a tiny bit change var x to
2110         l_margin. Dont output the wide margins always.
2111         (rightMargin): no margin in inner texts
2112
2113         * rowpainter.h (nestMargin): new func
2114         (changebarMargin): new func
2115         (rightMargin): new func
2116
2117         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2118         now functions.
2119         (paintLast): ditto
2120
2121         * factory.C (createInset): modify setDrawFrame
2122
2123         * cursor.C: use Debug::DEBUG a bit more
2124
2125 2004-08-14  André Pönitz  <poenitz@gmx.net>
2126
2127         * coordcache.[Ch]:
2128         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2129         cache for all insets in (at least partially) visible (top-level)
2130         paragraphs.
2131
2132         * BufferView_pimpl.C: reset external coord cache before every update.
2133         This means the coord cache only contains valid entries.
2134
2135 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2136
2137         bug 1096
2138         * BufferView_pimpl.C (getInsetByCode): move function out of class
2139         and change in to a template in anon namespace. Also fix to do what
2140         suits us better.
2141
2142 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2143
2144         bug 1305
2145         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2146         of char
2147         (breakParagraph): rename par to par_offset and use a local
2148         reference. Add code to keep the language over a rebreak.
2149         (breakParagraphConservative): rename par to par_offset, use a
2150         local reference
2151         (mergeParagraph): ditto
2152         (outerHook): ditto
2153         (isFirstInSequence): ditto
2154         (outerFont): rename pit to par_offset
2155
2156         * paragraph.C: ws change
2157         * paragraph.h: ditto
2158         * text3.C: ditto
2159         * text.C: ditto
2160
2161 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2164         treatment for ']'
2165
2166         * paragraph.C (simpleTeXOnePar): when we have a \item with
2167         optional argument, enclose the argument with curly brackets (in
2168         case it contains a closing square bracket)
2169
2170         * text2.C (editXY):
2171         * text2.C (editXY):
2172         * text3.C (checkInsetHit): constify
2173
2174 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2175
2176         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2177         documents (bug 1629)
2178
2179 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         Fix toggling of collapsable insets with the mouse (bug 1558)
2182
2183         * lyxfunc.C (dispatch): adapt to LCursor changes
2184
2185         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2186         make sure that dispatch is not invoked twice
2187
2188         * cursor.C (needsUpdate): new method
2189         (dispatch): return void
2190         (result): new method, to access the DispatchResult of the cursor.
2191
2192 2004-08-13  José Matos  <jamatos@lyx.org>
2193
2194         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2195
2196 2004-08-13  André Pönitz  <poenitz@gmx.net>
2197
2198         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2199
2200         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2201           multiple cells
2202
2203 2004-08-12  André Pönitz  <poenitz@gmx.net>
2204
2205         * text3.C: take out the 'cursor right' form insertInset and only
2206         do it in those places when it is really needed. Fixes crash on
2207         C-m...
2208
2209 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2210
2211         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2212
2213         * BufferView_pimpl.C (setBuffer): initialize the current font of
2214         the underlying LyXText
2215
2216 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2217
2218         * kbsequence.C (print): use UI native formatting for menu
2219         shortcuts
2220
2221         * text.C (insertChar): call Paragraph::insertChar with a font
2222         argument (cosmetic)
2223
2224         * paragraph.C (insertInset, insertChar): the version that takes a
2225         LyXFont argument is now a wrapper around the other one (the
2226         opposite used to be true).
2227
2228         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2229         argument. Font setting is done in Paragraph now.
2230
2231 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2232
2233         * outputparams.h: add new members intitle and lang.
2234
2235         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2236         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2237
2238 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2239
2240         * text3.C (dispatch): remove special handling of button 4 and 5,
2241         it is now taken care of in the frontend code.
2242
2243 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2244
2245         * Spacing.h: add <string> (STLPort compile fix)
2246
2247 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2248
2249         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2250
2251 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2252
2253         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2254         to bool.
2255
2256         * converter.C (showMessage): inherit from unary_function, make
2257         operator() const.
2258
2259         * buffer.C (writeFile): initialize retval
2260
2261         * InsetList.h: rename private variable list to list_
2262         * InsetList.[Ch]: adjust accordingly.
2263
2264 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2265
2266         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2267         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2268         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2269         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2270         * ParagraphParameters.C, LaTeXFeatures.C: replace
2271         "support/std_sstream.h" with <sstream>
2272
2273 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2274
2275         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2276         * lyxsocket.C (LyXServerSocket): ditto
2277         (serverCallback): ditto
2278
2279 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2280
2281         * LaTeXFeatures.C: check release date when loading jurabib.
2282
2283 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2284
2285         * lyxserver.C (startPipe): call register_socket_callback
2286         (endPipe): call unregister_socket_callback
2287
2288 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2289
2290         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2291         (LyXServerSocket): register the callback
2292         (LyXServerSocket): unregister the callback
2293         (fd): delete function
2294         (serverCallback): improve error checking and setup the callbacks.
2295         (dataCallback): change arg to fd.
2296         (writeln): new func (copied fro the client socket) used for server
2297         write to client.
2298         (LyXDataSocket): simplify
2299         (~LyXDataSocket): close ann unregiser callback
2300         (server): delete function
2301         (fd): delete function
2302         (readln): small changes, improve some std::string usage
2303         (writeln): constify a bit
2304
2305 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2306
2307         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2308         Qt frontend
2309
2310 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2311
2312         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2313         after it has been populated
2314
2315 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2316
2317         * text2.C (insertInset): move cursor when inserting inset.
2318
2319 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2320
2321         * kbmap.C (findbindings): a couple of new methods. returns a
2322         container of kb_sequence objects. The real work is done by the
2323         private recursive version
2324         (printbindings): uses findbindings to print out a bracketed list
2325         of bindings (renamed from findbinding).
2326
2327         * MenuBackend.C (binding): use kb_keymap::findbindings
2328
2329         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2330
2331 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2332
2333         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2334
2335 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2336
2337         * paragraph.C (isWord): return true on insets that report
2338         isLetter().
2339
2340         * text.C (getWord): use Paragraph::isWord to decide what is in a
2341         word and what is not; fix bug 1609.
2342
2343 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2344
2345         * tex-strings.C: add "none" to string_paperpackages[], fixes
2346         off-by-one-error in the paperpackage selection.
2347
2348         * lyxlex.[Ch]:
2349         * tex-strings.[Ch]: char const * string[n]
2350         -> char const * const string[]
2351
2352 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2353
2354         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2355         command, return early.
2356
2357 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2358
2359         * debug.h: add DEBUG to enum and fix size of ANY.
2360
2361         * debug.C: add support for Debug::DEBUG
2362         (showTags): cast errorTags.level to unsigned int
2363
2364         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2365         (redoCurrentBuffer): ditto
2366         (updateScrollbar): ditto
2367         * cursor.C (dispatch): ditto
2368         * text2.C (setLayout): ditto
2369         (setFont): ditto
2370         (updateCounters): ditto
2371         (editXY): ditto
2372         (deleteEmptyParagraphMechanism): ditto
2373
2374 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2375
2376         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2377         annotations to cleanup the Makefile slightly.
2378
2379 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2380
2381         * lyxrc.C: do not set user_email to a default value but use empty
2382         instead. The entry used to be translated, which does not work
2383         since at the point where lyxrc is constructed there is no
2384         translation service available
2385
2386         * messages.C (getLocaleDir): remove and use directly
2387         lyx_localedir() instead
2388
2389 2004-06-02  Angus Leeming  <leeming@lyx.org>
2390
2391         Fix crash caused by dereferencing null pointer 'exportdata' in
2392         OutputParams by creating a new ExportData variable on the heap,
2393         storing it in a boost::shared_ptr.
2394         The crash was triggered when generating an Instant Preview
2395         of an external inset.
2396
2397         * Makefile.am: add outputparams.C
2398
2399         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2400         (c-tor): allocate memory to it.
2401
2402         * exporter.C (c-tor): associated changes.
2403
2404 2004-06-01  Angus Leeming  <leeming@lyx.org>
2405
2406         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2407         contains data before calling isInset(0). (Bug 1513.)
2408
2409 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2410
2411         * exporter.C (checkOverwrite): new method
2412         * exporter.C (copyFile): new method
2413         * exporter.C (Export): copy referenced files to the document dir
2414         * exporter.[Ch]: new class ExportedFile
2415         * exporter.[Ch]: new class ExportData. Contains currently the
2416         names of referenced external files
2417         * outputparams.h: add exportdata member.
2418
2419 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2420
2421         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2422         version.C-tmp
2423
2424 2004-05-19  Angus Leeming  <leeming@lyx.org>
2425
2426         * LaTeXFeatures.C:
2427         * ToolbarBackend.C:
2428         * bufferparams.C:
2429         * lyxfunc.C: small changes due to the introduction of namespace
2430         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2431
2432 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2433
2434         * text3.C (dispatch): supress update when only moving the cursor
2435         * cursor.C (selHandle): remove commented code
2436
2437 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2438
2439         * paragraph.C (startTeXParParams): correct column count
2440         * CutAndPaste.C (pasteSelection): remove const_cast
2441         * output_docbook.C (docbookParagraphs): remove const_cast
2442         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2443         const_cast and return ParagraphList::const_iterator
2444         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2445         * output_plaintext.C (writeFileAscii): remove const_cast
2446         * paragraph.[Ch] (simpleTeXOnePar): make const
2447         * paragraph_funcs.C (outerPar): use const iterators
2448         * paragraph_pimpl.C (validate): use const iterators
2449         * text.C (setHeightOfRow): use const iterators
2450
2451 2004-05-17  Angus Leeming  <leeming@lyx.org>
2452
2453         * lfuns.h:
2454         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2455
2456         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2457         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2458         if the citation engine has changed.
2459
2460 2004-05-14  José Matos  <jamatos@lyx.org>
2461
2462         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2463         if the textclass does not provide it. Have it different for sgml and
2464         xml.
2465         support the language of document.
2466         * output_docbook.C (docbookParagraphs):
2467         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2468         first anchor as the id of the paragraph, remove special case code.
2469         * sgml.C (escapeChar): escape only < & >.
2470
2471 2004-05-14  Angus Leeming  <leeming@lyx.org>
2472
2473         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2474         dependencies on src/frontends/controllers/biblio.h. Define a
2475         CiteEngine_enum wrapper class to enable the enum to be forward
2476         declared.
2477
2478 2004-05-12  Angus Leeming  <leeming@lyx.org>
2479
2480         * buffer.C: up LYX_FORMAT to 234.
2481         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2482         use_numerical_citations with a single biblio::CiteEngine cite_engine
2483         variable.
2484         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2485
2486 2004-05-13  José Matos  <jamatos@lyx.org>
2487
2488         * converter.h:
2489         * converter.C (Converter, readFlags): add xml member.
2490         * outputparams.h: add XML flavor.
2491         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2492
2493 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2494
2495         * lyxfunc.C (dispatch):
2496         (getStatus): fix handling of LFUN_SEQUENCE
2497
2498 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2499
2500         * debug.C (showLevel): do not forget the end-of-line marker
2501
2502 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2503
2504         * kbmap.C (read): do not stop parsing a bind file when an error
2505         occurs (bug 1575)
2506
2507 2004-04-29  Angus Leeming  <leeming@lyx.org>
2508
2509         * cursor.C:
2510         * factory.C:
2511         * pariterator.C:
2512         * text2.C: wrap a bunch of #warning statements
2513         inside #ifdef WITH_WARNINGS blocks.
2514
2515 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2516
2517         * buffer.C: increment format to 233.
2518
2519 2004-04-28  Angus Leeming  <leeming@lyx.org>
2520
2521         * BufferView_pimpl.C:
2522         * lyxfunc.C:
2523         * text3.C:
2524         s/updateToolbar()/updateToolbars()/
2525         s/Toolbar.h/Toolbars.h/
2526
2527 2004-04-28  Angus Leeming  <leeming@lyx.org>
2528
2529         * BufferView.[Ch] (c-tor):
2530         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2531         No longer passes these data to the WorkArea generator.
2532
2533 2004-04-28  Angus Leeming  <leeming@lyx.org>
2534
2535         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2536
2537 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2538
2539         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2540
2541 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2542
2543         * output_latex.C (TeXEnvironment): make sure that there is a line
2544         break before \end{foo} for the last paragraph of a document
2545         (TeXOnePar): if the paragraph is at the end of the document (or
2546         inset) and the language has to be reset, then make sure that the
2547         line break is _before_ the language command, not after (fixes bug
2548         1225); also make sure that the language reset command is the first
2549         thing after the paragraph (to ensure proper nesting of
2550         environments and thus fix bug 1404)
2551
2552 2004-04-21  John Levon  <levon@movementarian.org>
2553
2554         * ToolbarBackend.h:
2555         * ToolbarBackend.C: make "name" be a programmatic name
2556         and a gui_name field.
2557
2558         * lyxfunc.C: display the minibuffer on M-x
2559
2560 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2561
2562         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2563         (bug 1526)
2564
2565 2004-04-19  Angus Leeming  <leeming@lyx.org>
2566
2567         * BufferView_pimpl.C (setBuffer): changed preview interface.
2568
2569         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2570         possible values.
2571
2572 2004-04-19  John Levon  <levon@movementarian.org>
2573
2574         * BufferView_pimpl.C:
2575         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2576
2577 2004-04-05  Angus Leeming  <leeming@lyx.org>
2578
2579         * text.C (redoParagraphs): add call to updateCounters(), thereby
2580         fixing the missing "Figure #:" label from the caption of a
2581         figure float.
2582
2583 2004-04-13  Angus Leeming  <leeming@lyx.org>
2584
2585         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2586         cursor is clicked out of an inset.
2587
2588 2004-04-13  Angus Leeming  <leeming@lyx.org>
2589
2590         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2591         than an InsetOld one.
2592
2593 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2594
2595         * format.[Ch]: add editor to Format
2596         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2597         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2598
2599 2004-04-08  André Pönitz  <poenitz@gmx.net>
2600
2601         * metricsinfo.h: remove PainterInfo::width member
2602
2603 2004-04-08  Angus Leeming  <leeming@lyx.org>
2604
2605         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2606         "\providecommand" rather than "\newcommand", thereby preventing
2607         clashes with packages that define "\boldsymbol" themselves.
2608         Eg, beamer.
2609
2610 2004-04-08  Angus Leeming  <leeming@lyx.org>
2611
2612         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2613         thereby squashing an unnecessary warning.
2614
2615 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2616
2617         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2618         setBuffer()
2619
2620 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2621
2622         * BufferView.C (setCursor): call redoParagraph (some insets could
2623         have been opened)
2624         (putSelectionAt): remove the 'double update' trick
2625
2626         * BufferView_pimpl.C (fitCursor): call refreshPar
2627         (workAreaDispatch): remove an uneeded update call
2628         (dispatch): remove some manual update calls
2629
2630         * cursor.[Ch]: remove cached_y_, updatePos
2631         (selHandle): set noUpdate when appropriate
2632
2633         * lyxfunc.C (dispatch): track if we need an update
2634
2635         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2636
2637         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2638         (paintSelection): cheap optimization, do not call cursorX when not
2639         needed
2640         (paintPars): change signature
2641         (refreshPar): add
2642         (paintText): adjust
2643         (paintTextInset): adjust
2644
2645         * text.C: adjust
2646
2647 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2648
2649         * lengthcommon.C: compilation fix: remove explicit array size from
2650         unit_name[] and friends
2651
2652 2004-04-05  Angus Leeming  <leeming@lyx.org>
2653
2654         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2655
2656         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2657         present only for the preferences dialog.
2658         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2659
2660 2004-04-05  Angus Leeming  <leeming@lyx.org>
2661
2662         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2663         to enable the frontends to export changes to lyxrc correctly.
2664
2665         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2666
2667 2004-04-07  André Pönitz  <poenitz@gmx.net>
2668
2669         * cursor.[Ch] (selClear, adjust): remove math
2670
2671         * cursor_slice.C: more agressive assert
2672
2673         * lyxfunc.C:
2674         * BufferView_pimpl.C: rework mouse event dispatch
2675
2676         * dociterator.C:
2677         * paragraph.C:
2678         * text2.C:
2679         * text3.C: adjust
2680
2681 2004-04-05  André Pönitz  <poenitz@gmx.net>
2682
2683         * cursor.[Ch] (valign, halign...): remove unneeded functions
2684
2685 2004-04-05  Angus Leeming  <leeming@lyx.org>
2686
2687         * lyxlength.[Ch] (unit_name et al.): const-correct.
2688
2689 2004-04-05  Angus Leeming  <leeming@lyx.org>
2690
2691         * BufferView_pimpl.C:
2692         * buffer.C:
2693         * counters.C:
2694         * cursor.C:
2695         * lyxfunc.C
2696         * paragraph.C:
2697         * pariterator.C:
2698         * text.C:
2699         * text2.C:
2700         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2701
2702 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2703
2704         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2705
2706 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2707
2708         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2709         * BufferView_pimpl.[Ch] (getStatus)
2710         * BufferView.[Ch] (getStatus): add
2711         * lyxfunc.C (getStatus): move lfuns handled in
2712         BufferView::dispatch to te function above
2713         * Cursor.C (setSelection): set selection() = true
2714
2715 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2716
2717         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2718
2719 2004-03-31  Angus Leeming  <leeming@lyx.org>
2720
2721         * lyxfunc.C (dispatch): Fall through to the generic
2722         Dialogs::show("preamble").
2723
2724 2004-03-31  Angus Leeming  <leeming@lyx.org>
2725
2726         * lyxfunc.C (dispatch): Fall through to the generic
2727         Dialogs::show("spellchecker").
2728
2729 2004-03-31  Angus Leeming  <leeming@lyx.org>
2730
2731         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2732         preferences dialog.
2733
2734 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2735
2736         * BufferView.C
2737         * cursor.[Ch]
2738         * dociterator.[Ch]:
2739         * insetiterator.[Ch]:
2740         * lyxfind.C:
2741         * lyxfunc.C:
2742         * pariterator.[Ch]:
2743         * text2.C:
2744         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2745
2746 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2747
2748         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2749         insets where we are putting the cursor.
2750
2751 2004-03-31  Angus Leeming  <leeming@lyx.org>
2752
2753         * lfuns.h:
2754         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2755
2756         * lyxrc.[Ch] (read, write): overloaded member functions taking
2757         a std::[io]stream arguments.
2758
2759         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2760
2761 2004-03-31  Angus Leeming  <leeming@lyx.org>
2762
2763         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2764         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2765
2766         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2767         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2768
2769 2004-03-31  Angus Leeming  <leeming@lyx.org>
2770
2771         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2772         the LFUN_ALL_INSETS_TOGGLE code.
2773
2774 2004-03-30  Angus Leeming  <leeming@lyx.org>
2775
2776         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2777         has died. Fall through to the generic Dialogs::show("document").
2778
2779 2004-03-30  Angus Leeming  <leeming@lyx.org>
2780
2781         * lfuns.h:
2782         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2783         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2784
2785         * lyxfunc.C (getStatus, dispatch): define the actions for these
2786         lfuns. Little more than a cut and pste job from ControlDocument.C
2787
2788         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2789
2790 2004-03-30  Angus Leeming  <leeming@lyx.org>
2791
2792         * lfuns.h:
2793         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2794         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2795
2796         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2797         open/closed state of ollapsable insets. Usage:
2798
2799         all-inset-toggle <state> <name>, where
2800         <state> == "open" || "closed" || "toggle" and
2801         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2802
2803         * lyxtext.h, text2.C (toggleInset): removed.
2804
2805         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2806         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2807         now passes LFUN_INSET_TOGGLE to the found inset.
2808
2809         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2810         is now invoked as "all-insets-toggle toggle branch".
2811
2812 2004-03-30  Angus Leeming  <leeming@lyx.org>
2813
2814         * dociterator.C:
2815         * insetiterator.C:
2816         * pariterator.[Ch]: added/corrected header blurb.
2817
2818 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2819
2820         * dociterator.[Ch]: add an inset_ member
2821         (backwardPos): implemented
2822         (backwardPos, forwardPos): use inset_ when the stack is empty.
2823         (doc_iterator_begin, doc_iterator_end): implemented
2824         * pariterator.[Ch]: adjust, add begin, end
2825         * insetiterator.[Ch]: adjust, add begin, end
2826         * cursor.C:
2827         * document.C:
2828         * BufferView.C:
2829         * BufferView_pimpl.C:
2830         * CutAndPaste.C: adjust
2831
2832 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2833
2834         * buffer.C: increment file format to 232.
2835         * LaTeXFeatures.C: add bibtopic package.
2836         * bufferparams.[Ch]: param \use_bibtopic.
2837
2838         * lyxrc.[Ch]: add lyxrc bibtex_command
2839         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2840
2841         * buffer.C: increment file format to 231.
2842
2843 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2844
2845         * dociterator.C: implement forwardPar
2846         * iterators.[Ch]: remove, replaced by
2847         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2848         * BufferView.C:
2849         * BufferView_pimpl.C:
2850         * CutAndPaste.C:
2851         * buffer.C:
2852         * bufferview_funcs.C:
2853         * cursor.C:
2854         * lyxfind.C
2855         * lyxfunc.C
2856         * paragraph_funcs.C
2857         * toc.C:
2858         * Makefile.am: adjust
2859
2860 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2861
2862         * CutAndPaste.C (pasteSelection): fix 2 crashes
2863         (eraseSelection): fix a crash
2864         * paragraph_funcs.C: remove a warning
2865
2866 2004-03-28  Angus Leeming  <leeming@lyx.org>
2867
2868         * lfuns.h:
2869         * LyXAction.C (init): new LFUN_PRINT.
2870
2871         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2872
2873 2004-03-27  Angus Leeming  <leeming@lyx.org>
2874
2875         * lfuns.h:
2876         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2877
2878         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2879
2880 2004-03-27  Angus Leeming  <leeming@lyx.org>
2881
2882         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2883         insetlist always contains non-null pointers to insets.
2884
2885 2004-03-26  Angus Leeming  <leeming@lyx.org>
2886
2887         * src/BufferView_pimpl.C:
2888         * src/CutAndPaste.C:
2889         * src/buffer.C:
2890         * src/iterators.C:
2891         * src/output_plaintext.C:
2892         * src/outputparams.h:
2893         * src/paragraph_funcs.C:
2894         * src/rowpainter.C:
2895         * src/text.C:
2896         * src/text2.C:
2897         * src/frontends/controllers/ControlErrorList.C:
2898         * src/frontends/gtk/FileDialogPrivate.C:
2899         * src/frontends/gtk/GPainter.C:
2900         * src/frontends/gtk/GToolbar.C:
2901         * src/frontends/qt2/QRef.C:
2902         * src/mathed/math_scriptinset.C: squash compiler warnings.
2903
2904 2004-03-26  Angus Leeming  <leeming@lyx.org>
2905
2906         * ispell.C (LaunchIspell::start):
2907         * lyx_cb.C (AutoSaveBuffer::start):
2908         invoke run(DontWait) rather than runNonBlocking().
2909
2910 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2911
2912         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2913
2914 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2915
2916         * kbsequence.C (print): adjust
2917
2918         * kbmap.C (printKeySym): rename and change signature
2919         (printKey): use LyXKeySym::print()
2920
2921 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2922
2923         * undo.C: add using std::advance to compile for stlport
2924
2925 2004-03-24  Angus Leeming  <leeming@lyx.org>
2926
2927         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2928         it leads to a crash when no buffer is present.
2929
2930 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2931             Martin Vermeer  <martin.vermeer@hut.fi>
2932
2933         * lyxfunc.C (dispatch):
2934         * bufferparams.C (readToken): use the new LColor::setColor
2935
2936         * LColor.[Ch] (setColor): new version that takes two strings as
2937         argument and creates a new color entry if necessary
2938
2939 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2940
2941         * buffer.C (makeLaTeXFile): if the main latex file that is
2942         processed is usually a subdocument of some master, then pretend
2943         for a while that it is actually the master
2944
2945 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2946
2947         * buffer.C (getLabelList):
2948         (getBibkeyList): use getMasterBuffer()
2949         (getMasterBuffer): new method. Returns the main document in the
2950         case where one is using included documents.
2951
2952 2004-03-25  André Pönitz  <poenitz@gmx.net>
2953
2954         * Makefile.am:
2955         * iterators.[Ch]:
2956         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2957
2958         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2959
2960         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2961         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2962
2963         * ParameterStruct.h: merge with ParagraphParameters
2964
2965         * lyxtext.h: remove LyXText::parOffset() and getPar()
2966
2967         * text3.C: Remove all 'manual' update calls. We do now one per user
2968         interaction which is completely sufficient.
2969
2970         * Bidi.C:
2971         * BufferView.[Ch]:
2972         * BufferView_pimpl.C:
2973         * FontIterator.[Ch]:
2974         * MenuBackend.C:
2975         * ParagraphParameters.[Ch]:
2976         * buffer.C:
2977         * buffer.h:
2978         * bufferlist.C:
2979         * cursor.[Ch]:
2980         * cursor_slice.[Ch]:
2981         * dociterator.[Ch]:
2982         * errorlist.[Ch]:
2983         * factory.C:
2984         * lfuns.h:
2985         * lyxfind.C:
2986         * lyxfunc.C:
2987         * output_docbook.[Ch]:
2988         * output_latex.[Ch]:
2989         * output_linuxdoc.[Ch]:
2990         * output_plaintext.[Ch]:
2991         * paragraph.[Ch]:
2992         * paragraph_funcs.[Ch]:
2993         * paragraph_pimpl.[Ch]:
2994         * rowpainter.C:
2995         * tabular.[Ch]:
2996         * text.C:
2997         * text2.C:
2998         * toc.C:
2999         * undo.[Ch]: adjust
3000
3001         * frontends/controllers/ControlDocument.C:
3002         * frontends/controllers/ControlErrorList.C:
3003         * frontends/controllers/ControlSpellchecker.C:
3004         * insets/inset.C:
3005         * insets/inset.h:
3006         * insets/insetbase.h:
3007         * insets/insetbibitem.C:
3008         * insets/insetbox.C:
3009         * insets/insetbranch.C:
3010         * insets/insetcaption.C:
3011         * insets/insetcharstyle.C:
3012         * insets/insetcharstyle.h:
3013         * insets/insetcollapsable.C:
3014         * insets/insetcollapsable.h:
3015         * insets/insetert.C:
3016         * insets/insetfloat.C:
3017         * insets/insetfoot.C:
3018         * insets/insetmarginal.C:
3019         * insets/insetnote.C:
3020         * insets/insetoptarg.C:
3021         * insets/insettabular.C:
3022         * insets/insettext.C:
3023         * insets/insettext.h:
3024         * insets/insetwrap.C:
3025         * mathed/math_mboxinset.C:
3026         * mathed/math_nestinset.C:
3027         * mathed/math_scriptinset.C:
3028         * mathed/math_scriptinset.h:
3029         * support/types.h:
3030
3031 2004-03-24  Angus Leeming  <leeming@lyx.org>
3032
3033         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3034         deal with any child processes that have finished but are waiting to
3035         communicate this fact to the rest of LyX.
3036
3037 2004-03-24  Angus Leeming  <leeming@lyx.org>
3038
3039         64-bit compile fixes.
3040
3041         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3042         (c-tor): pass lyx::pos_types rather than ints.
3043
3044         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3045         lyx::pos_type.
3046
3047         * text.C (Delete): compile fix.
3048         (getPar): ensure that function declaration is the same as that in
3049         the header file.
3050
3051 2004-03-23  Angus Leeming  <leeming@lyx.org>
3052
3053         * ispell.C (LaunchIspell):
3054         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3055         a boost::shred_ptr rather than a std::auto_ptr.
3056
3057 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3058
3059         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3060         handle LFUN_FILE_INSERT_*
3061
3062         * lyxrc.C (setDefaults, getDescription, output, read):
3063         * lyxrc.h: remove ps_command
3064
3065 2004-03-22  Angus Leeming  <leeming@lyx.org>
3066
3067         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3068         Ensure that error_handler is processed once only and that all data
3069         is saved before attempting to output any warning messages.
3070
3071         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3072
3073 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3074
3075         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3076
3077 2004-03-19  André Pönitz  <poenitz@gmx.net>
3078
3079         * cursor.[Ch] (reset): take main text inset as argument
3080
3081         * BufferView: adjust
3082         * BufferView_pimpl.C: adjust
3083
3084         * paragraph.[Ch]: fix completely broken operator=()
3085
3086 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3087
3088         * LColor.C (getFromLyXName): make sure that the color name is used
3089         as lowercase.
3090
3091 2004-03-17  Angus Leeming  <leeming@lyx.org>
3092
3093         * lfuns.h:
3094         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3095
3096         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3097         dialog and to kill a forked process.
3098
3099 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3100
3101         * text2.C (setCursorFromCoordinates): fix font problem
3102
3103 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3104
3105         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3106         bogus "rebuild cursor" code
3107
3108 2004-03-11  André Pönitz  <poenitz@gmx.net>
3109
3110         * buffer.[Ch]: use InsetText instead of LyXText as container for
3111         the main lyx text.
3112
3113         * dociterator.[Ch]: drop the BufferView * member which is not needed
3114         anymore after the change to buffer.C
3115
3116         * paragraph_funcs.C:
3117         * text.C:
3118         * text2.C:
3119         * BufferView.[Ch]:
3120         * BufferView_pimpl.[Ch]:
3121         * cursor.[Ch]:
3122         * cursor_slice.[Ch]: adjust
3123
3124         * text3.C: fix bug in mathDispatch
3125
3126 2004-03-08  André Pönitz  <poenitz@gmx.net>
3127
3128         * undo.[Ch]: use 'StableDocumentIterator' as base for
3129         the Undo struct.
3130
3131 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3132
3133         * LaTeXFeatures.C:
3134         * bufferparams.[Ch]: add jurabib support and param.
3135
3136         * LaTeX.C: add FIXME/comment.
3137
3138 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3139
3140         * buffer.C: increment file format to 230.
3141
3142 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3143
3144         * cursor.C (dispatch): avoid infinite loops
3145
3146 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3147
3148         * rowpainter.C (paintSelection): fix x coordinates
3149
3150 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3151
3152         * text.C (rowBreakPoint): fix breaking before displayed insets
3153
3154 2004-03-01  André Pönitz  <poenitz@gmx.net>
3155
3156         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3157
3158         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3159
3160         * Makefile.am:
3161         * BufferView.C:
3162         * BufferView_pimpl.C:
3163         * buffer.C:
3164         * lyxfind.C:
3165         * lyxfunc.C:
3166         * text.C:
3167         * text2.C:
3168         * text3.C: adjust
3169
3170 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3171
3172         * lyxtext.h:
3173         * text.C:
3174         * text2.C:
3175         * rowpainter.C:
3176         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3177         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3178
3179 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3180
3181         * Bidi.[Ch] (computeTables): const correctness
3182         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3183         fill_hfill, fill_label_hfill and x from Row
3184         * lyxtext.h: prepareToPrint returns a RowMetrics
3185         * rowPainter.C: adjust
3186         * text.C (prepareToPrint): use width, not textWidth. adjust
3187         (redoParagraphInternal, cursorX): adjust
3188         * text2.C (getColumnNearX): adjust
3189         (init): put a default value to the top LyXText::width
3190
3191 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3192
3193         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3194
3195 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3196
3197         * lyxtext.h: add FontIterator class
3198
3199         * text.C (FontIterator, operator*, operator->, operator++): add
3200         (rowBreakPoint, setRowWidth): adjust (fixing a
3201         rebreaking bug)
3202
3203 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3204
3205         * BufferView_pimpl.C (workAreaDispatch): allow also
3206         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3207
3208 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3209
3210         * text.C (rowBreakPoint): fix a bug showing with very large insets
3211
3212 2004-02-25  André Pönitz  <poenitz@gmx.net>
3213
3214         * text3.C:
3215         * cursor.[Ch]: move some mathed specific code to mathed
3216
3217 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3218
3219         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3220         use_tempdir in preferences
3221         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3222         tempfile creation
3223         * lyx_main.C: ensure that tempdir is valid
3224         * lyxlex.h: correct typo
3225         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3226         * paragraph.[Ch] (isMultiLingual): make const
3227         * cursor.[Ch] (openable): make const
3228
3229 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3230
3231         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3232
3233 2004-02-20  André Pönitz  <poenitz@gmx.net>
3234
3235         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3236
3237         * cursor.[Ch]: prepare for localized getStatus()
3238
3239         * lyxtext.h:
3240         * tabular.C:
3241         * text.C:
3242         * text2.C:
3243         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3244
3245 2004-02-20  André Pönitz  <poenitz@gmx.net>
3246
3247         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3248
3249 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3250
3251         * text2.C (setCursorFromCoordinates): switch to absolute coords
3252         (cursorUp): adjust
3253         (cursorDown): adjust
3254         * text3.C (dispatch): adjust
3255
3256 2004-02-16  André Pönitz  <poenitz@gmx.net>
3257
3258         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3259           insets/ChangeLog)
3260
3261         * cursor_slice.[Ch]: remove unneeded acessor function
3262
3263         * lyxtext.h: rename rtl() to isRTL()
3264
3265         * rowpainter.C:
3266         * tabular.C:
3267         * text.C:
3268         * text2.C:
3269         * text3.C: adjust
3270
3271 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3272
3273         * rowpainter.C (paintSelection): coord fix
3274
3275 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3276
3277         * Spacing.C: compile fix
3278
3279 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3280
3281         * cursor.C (dispatch): restore current_ before returning
3282
3283 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3284
3285         * text2.C (cursorUp, cursorDown): fix coords
3286         (moveUp): fix crash
3287
3288 2004-02-12  André Pönitz  <poenitz@gmx.net>
3289
3290         * lyxtext.h:
3291         * text.C:
3292         * text2.C:
3293         * text3.C: add LCursor & parameter to most cursor movement functions
3294           remove usage of LyXText::cursorRow() and cursorPar()
3295
3296         * cursor.[Ch]: add textRow() needed members
3297
3298         * BufferView.C:
3299         * BufferView_pimpl.C:
3300         * paragraph.[Ch]:
3301         * BufferView.C:
3302         * BufferView_pimpl.C: adjust
3303
3304 2004-02-11  André Pönitz  <poenitz@gmx.net>
3305
3306         * lyxfunc.C:
3307         * BufferView.[Ch]:
3308         * BufferView_pimpl.C: shift undo/redo handling
3309
3310         * cursor.[Ch]: fix mathed crash
3311
3312         * lyxfind.C:
3313         * lyxtext.h: move selectionAsText to LCursor
3314
3315         * output_latex.C:
3316         * paragraph.C:
3317         * text.C:
3318         * text2.C:
3319         * text3.C: adjust
3320
3321         * rowpainter.C: fix excessive drawing
3322
3323 2004-02-06  André Pönitz  <poenitz@gmx.net>
3324
3325         * BufferView.[Ch]:
3326         * BufferView_pimpl.[Ch]:
3327         * text3.C: move some text specific LFUN handling
3328
3329 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3330
3331         * text3.C (checkInsetHit): adjust coords
3332         * text2.C (getColumnNearX): adjust coords
3333         (edit): adjust coords
3334         * text.C (getRowNearY): add two asserts
3335
3336 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3337
3338         * converter.C:
3339         * format.C: add using std::distance to compile on gcc 2.95/stlport
3340
3341 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3342
3343         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3344
3345 2004-02-04  André Pönitz  <poenitz@gmx.net>
3346
3347         * BufferView.[Ch] (insertInset):
3348         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3349
3350         * text2.C:
3351         * text3.C: adjust
3352
3353 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3354
3355         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3356         on the default clause of the switch
3357         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3358         wasn't catched by LCursor::dispatch
3359
3360 2004-02-03  André Pönitz  <poenitz@gmx.net>
3361
3362         * BufferView.C:
3363         * cursor.[Ch]: some additional asserts
3364
3365         * undo.[Ch]: remove LyXText dependency in interface
3366
3367         * lyxfunc.C: adjust
3368
3369         * lyxtext.h (firstPar, lastPar): remove dead functions
3370
3371         * text.C:
3372         * text2.C:
3373         * text3.C:
3374         * paragraph.[Ch]: adjust
3375
3376 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3377
3378         * lyxfind.C (find): fix argument order in call to ::find
3379
3380 2004-02-02  André Pönitz  <poenitz@gmx.net>
3381
3382         * cursor.[Ch]: remove direct access to anchor
3383
3384         * text.C: remove findText() hack
3385
3386 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3387
3388         * iterators.[Ch] (lockPath): remove in favour of...
3389         * BufferView.[Ch] (setCursor): this addition
3390         * BufferView.C (putSelectionAt): adjust
3391         * undo.C (performUndoOrRedo): adjust
3392         * lyxfunc.C (dispatch): adjust
3393
3394 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3395
3396         * iterators.C (lockPath): add a missing slice
3397         * undo.C (performUndoOrRedo): remove redundant positioning code
3398
3399 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3400
3401         * vc-backend.C (scanMaster): ";" -> ';'
3402
3403 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3404
3405         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3406         std::binary_function
3407
3408         * lyxtextclass.C (compare_name): rename to...
3409         (LayoutNamesEqual): ...this
3410
3411         * lyxlex_pimpl.C (compare_tags): inherit from
3412         std::binary_function, put back into anon namespace
3413
3414         * lyxfind.C (MatchString): inherig from std::binary_function
3415         (findChange): use empty() istead of !size()
3416
3417         * format.C (FormatNamesEqual): new functor
3418         (getFormat): use it
3419         (getNumber): use it
3420         (add): use it
3421         (erase): use it
3422         (setViewer): use it
3423
3424         * converter.C (compare_Converter): rename to...
3425         (ConverterEqual): ...this, and fixup a bit.
3426         (getConverter): use it, and make function const
3427         (getNumber): use it, and make function const
3428         (add): use it
3429         (erase): use it:
3430
3431         * bufferlist.C: add using boost::bind
3432
3433         * MenuBackend.C (MenuNamesEqual): new functor
3434         (hasMenu): use it, and make function const
3435         (hasSubmenu): use nested bind to get rid of compare_memfun.
3436
3437 2004-01-30  André Pönitz  <poenitz@gmx.net>
3438
3439         * BufferView_pimpl.C:
3440         * cursor.C:
3441         * cursor.h:
3442         * cursor_slice.[Ch]:
3443         * lyxfunc.C:
3444         * lyxtext.h:
3445         * paragraph_funcs.C:
3446         * paragraph_funcs.h:
3447         * rowpainter.C:
3448         * text.C:
3449         * text2.C:
3450         * text3.C: move some of the edit(x,y) handling to the insets
3451         some coordinate changes.
3452
3453 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3454
3455         * text.C: add using statements for std::advance and std::distance
3456
3457         * paragraph.C: add using statement for std::distance
3458
3459         * lyxfind.C: add using statement for std::advance
3460
3461         * cursor.C (region): remove std:: from swap
3462         (openable): use nucleus in stead of operator->
3463
3464         * BufferView.C: add using statements for std::distance and std::swap
3465
3466 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3467
3468         * iterators.C: Remove the pimple, move the needed structures to
3469         the header file. Create accessor for the positions stack.
3470         (asPosIterator): remove function
3471
3472         * PosIterator.C (PosIterator): move constructors to top of file
3473         (PosIterator): reimplement the constructor taking a ParIterator in
3474         terms of setFrom.
3475         (setFrom): new function
3476         (operator!=): inline it
3477
3478 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3479
3480         * lyxfind.C (replaceAll): use std::advance
3481
3482         * iterators.h: inherit from std::iterator.
3483
3484         * PosIterator.C (advance, distance): remove
3485         * PosIterator.h: interit from std::iterator.
3486
3487 2004-01-26  André Pönitz  <poenitz@gmx.net>
3488
3489         * BufferView.[Ch]:
3490         * BufferView_pimpl.[Ch]:
3491         * InsetList.[Ch]:
3492         * PosIterator.[Ch]:
3493         * buffer.h:
3494         * bufferview_funcs.C:
3495         * cursor.[Ch]:
3496         * cursor_slice.h:
3497         * factory.[Ch]:
3498         * iterators.[Ch]:
3499         * lyxfind.C:
3500         * lyxfunc.C:
3501         * lyxtext.h:
3502         * output_docbook.C:
3503         * output_latex.C:
3504         * output_linuxdoc.C:
3505         * output_plaintext.C:
3506         * paragraph.[Ch]:
3507         * paragraph_funcs.[Ch]:
3508         * paragraph_pimpl.[Ch]:
3509         * rowpainter.C:
3510         * tabular.C:
3511         * tabular.h:
3512         * text.C:
3513         * text2.C:
3514         * text3.C: more IU:  dumps most of the rest of the mathcursor
3515     implementation into cursor.[Ch]; "globalize" a bit of it.
3516
3517 2004-01-25  Angus Leeming  <leeming@lyx.org>
3518
3519         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3520
3521 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3522
3523         * LaTeXFeatures.h: add nice_ and nice() const
3524         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3525
3526 2004-01-20  André Pönitz  <poenitz@gmx.net>
3527
3528         * BufferView.[Ch]:
3529         * BufferView_pimpl.C:
3530         * PosIterator.C:
3531         * bufferview_funcs.C:
3532         * cursor.[Ch]:
3533         * cursor_slice.[Ch]:
3534         * factory.C:
3535         * iterators.C:
3536         * lyx_cb.C:
3537         * lyxfind.C:
3538         * lyxfunc.C:
3539         * lyxtext.h:
3540         * rowpainter.C:
3541         * text.C:
3542         * text2.C:
3543         * text3.C:
3544         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3545           LCursor and mathcursor parts to LCursor and InsetBase.
3546
3547 2004-01-15  André Pönitz  <poenitz@gmx.net>
3548
3549         * cursor_slice.[Ch]: add a few covienience functions
3550
3551         * funcrequest.[Ch]: remove BufferView * member
3552
3553         * BufferView_pimpl.C:
3554         * cursor.C:
3555         * factory.[Ch]:
3556         * lyxfind.[Ch]:
3557         * lyxfunc.C:
3558         * lyxtext.h:
3559         * text3.C:
3560         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3561
3562 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3563
3564         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3565         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3566
3567 2004-01-13  André Pönitz  <poenitz@gmx.net>
3568
3569         * textcursor.[Ch]:
3570         * lyxtext.h: hide cursor and selection anchor behind accessor function
3571
3572         * BufferView.C:
3573         * BufferView_pimpl.[Ch]:
3574         * PosIterator.C:
3575         * bufferview_funcs.C:
3576         * cursor.h:
3577         * lyxfind.C:
3578         * lyxfunc.C:
3579         * text.C:
3580         * text2.C:
3581         * text3.C:
3582         * undo.C: adjust
3583
3584         * cursor.h:
3585         * cursor_slice.[Ch]: some integer type changes for inset unification
3586
3587         * lyxcursor.[hC]: remove, it's CursorSlice now.
3588
3589         * Makefile.am:
3590         * BufferView_pimpl.[Ch]:
3591         * bufferview_funcs.C:
3592         * cursor_slice.C:
3593         * lyxtext.h:
3594         * text.C:
3595         * text2.C:
3596         * text3.C:
3597         * textcursor.[Ch]: adjust
3598
3599 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3600
3601         * text2.C (undoSpan): add and use
3602         * text.C (breakParagraph): use undoSpan (fix bug 578)
3603         * lyxtext.h: adjust
3604
3605 2004-01-08  Angus Leeming  <leeming@lyx.org>
3606
3607         * BufferView_pimpl.C (MenuInsertLyXFile):
3608         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3609         * lyxfunc.C (menuNew, open, doImport):
3610         FileFilterList change to the FileDialog open and save functions.
3611
3612 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3613
3614         * ShareContainer.h: make isEqual and isUnique adaptable
3615
3616         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3617
3618 2004-01-07  Angus Leeming  <leeming@lyx.org>
3619
3620         * LyXAction.C:
3621         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3622
3623         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3624
3625         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3626         functions replacing find, replace and replaceAll.
3627
3628         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3629         LFUN_WORDFIND(FORWARD|BACKWARD).
3630
3631 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3632
3633         * text.C (breakParagraph): remove an outdated #warning
3634
3635 2004-01-07  André Pönitz  <poenitz@gmx.net>
3636
3637         * lyxfind.C: somewhat clearer logic
3638
3639         * text.C: prevent crash in cursorX on unitialized row cache
3640
3641 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3642
3643         * lyxcursor.[Ch] (operator>): add
3644         * textcursor.C (selStart, selEnd): use std::min and std::max
3645
3646 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3647
3648         * Chktex.C: include boost/format.hpp
3649
3650 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3651
3652         * InsetList.C: replace functor MathcIt with adaptable functor
3653         InsetTablePosLess
3654         (insetIterator): modify accordingly
3655
3656         * BranchList.h: move the BranchNamesEqual functor here from...
3657         * BranchList.C: ... to here
3658
3659         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3660         SameName and match.
3661         (add): replace a finding loop with std::find_if.
3662
3663 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3664
3665         * output_docbook.C: moving LatexParam functionality into
3666         .layout files
3667
3668 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3669
3670         * buffer.C: increment format to 229.
3671
3672 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3673
3674         * LaTeXFeatures.C:
3675         * lyx_sty.[Ch]: remove minipageindent_def
3676
3677         * LyXAction.C:
3678         * factory.C:
3679         * lfuns.h:
3680         * lyxfunc.C:
3681         * text3.C: remove LFUN_INSET_MINIPAGE
3682
3683 2003-12-28  Angus Leeming  <leeming@lyx.org>
3684
3685         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3686
3687 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3688
3689         * text2.C (setParagraph): fix off-by-one crash
3690
3691 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3692
3693         * output_docbook.C: header stuff for AGU
3694
3695 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3696
3697         * text2.C (redoCursor): remove
3698         * text.C:
3699         * text3.C:
3700         * BufferView_pimpl.C: remove calls to redoCursor and
3701         setCursor(cursor.par(), cursor.pos()) all around
3702
3703 2003-12-15  Angus Leeming  <leeming@lyx.org>
3704
3705         * buffer.C: up the format to 228.
3706
3707 2003-12-15  André Pönitz  <poenitz@gmx.net>
3708
3709         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3710         slices
3711
3712         * Makefile.am:
3713
3714         * BufferView_pimpl.C:
3715         * cursor.[Ch]:
3716         * lyxcursor.[Ch]:
3717         * rowpainter.[Ch]:
3718         * lyxtext.h:
3719         * text.C:
3720         * text2.C:
3721         * text3.C: adjust
3722
3723 2003-12-15  Angus Leeming  <leeming@lyx.org>
3724
3725         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3726         than getFromGUIName to manipulate the color.
3727
3728 2003-12-14  Angus Leeming  <leeming@lyx.org>
3729
3730         * BranchList.[Ch]: minimize the API.
3731         (Branch::getBranch, getColor): now return a 'const &'.
3732         (Branch::setSelected) now returns a bool set to true if the
3733         selection status changes.
3734         (BranchList::clear, size, getColor, setColor, setSelected,
3735         allBranches, allSelected, separator): removed.
3736         (BranchList::find): new functions, returning the Branch with
3737         the given name.
3738         (BranchList::add, remove): return a bool indicating that
3739         the operation was successful.
3740
3741         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3742         new InsetBranch::isBranchSlected member function.
3743
3744         * LColor.[Ch]: mimimize the API.
3745         (fill): renamed as addColor and made private.
3746         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3747         versions of these functions taking a string arg have been removed.
3748
3749         * bufferparams.C (readToken):
3750         * lyxfunc.C (dispatch):
3751         * lyxrc.C (read): changes due to the altered BranchList and
3752         LColor APIs.
3753
3754         * factory.C (createInset, readInset): changes due to altered
3755         InsetBranch c-tor.
3756
3757 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3758
3759         * factory.C:
3760         * lyxfunc.C: remove insetminipage. "minipage-insert"
3761         now produces a frameless minipage box inset.
3762
3763 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3764
3765         * textcursor.[Ch] (selStart,selEnd): add new methods
3766         remove selection::start, end, use LyXCursor::operator<
3767         * lyxcursor.[Ch] (operator<): add
3768         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3769         * BufferView.[Ch] (unsetXSel): add
3770         * text2.C (clearSelection): use unsetXSel,adjust
3771         * text.C: adjust
3772         * text3.C: adjust
3773         * rowpainter.C: adjust
3774         * bufferview_funcs.C (put_selection_at): adjust
3775
3776 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3777
3778         * BufferView_pimpl.C: small coord. correction
3779
3780 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3781
3782         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3783         dragging over the splash screen.
3784
3785 2003-12-11  Angus Leeming  <leeming@lyx.org>
3786
3787         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3788         as it is now handled in LyXText::dispatch.
3789
3790         * text3.C (doInsertInset): remove a level of nesting.
3791
3792 2003-12-11  Angus Leeming  <leeming@lyx.org>
3793
3794         * factory.C (createInset): changes due to the changed interface to
3795         InsetCommandMailer::string2params.
3796
3797 2003-12-10  Angus Leeming  <leeming@lyx.org>
3798
3799         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3800         'dialog-show-new-inset <inset name>'
3801
3802 2003-12-10  Angus Leeming  <leeming@lyx.org>
3803
3804         * buffer.C: up the format to 227.
3805
3806         * factory.C: the box inset is now identified simply by 'Box'.
3807
3808 2003-12-10  Angus Leeming  <leeming@lyx.org>
3809
3810         * buffer.C: up the format to 226.
3811
3812         * factory.C: the note inset is now identified simply by 'Note'.
3813
3814 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3815
3816         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3817         when a pit is enough. Standarize a couple of loops.
3818
3819 2003-12-05  Angus Leeming  <leeming@lyx.org>
3820
3821         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3822         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3823         data to the re-worked "log" dialog.
3824
3825 2003-12-03  André Pönitz  <poenitz@gmx.net>
3826
3827         * PosIterator.C:
3828         * iterators.C:
3829         * lyxtext.h:
3830         * output_latex.C:
3831         * paragraph_funcs.C:
3832         * text.C:
3833         * text2.C: use Inset::getText instead of Inset::getParagraph
3834
3835 2003-12-03  André Pönitz  <poenitz@gmx.net>
3836
3837         * buffer.[Ch]:
3838         * lyxtext.h:
3839         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3840         InsetText::read() as LyXText::read()
3841
3842 2003-12-02  Angus Leeming  <leeming@lyx.org>
3843
3844         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3845         type. Add a comment in the implementation that the function uses
3846         the stream's bad() function rather than fail() as the std::streams
3847         would do.
3848
3849 2003-12-02  André Pönitz  <poenitz@gmx.net>
3850
3851         * lyxlex.[Ch]: make interface more similar to std::stream
3852
3853         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3854
3855 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3856
3857         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3858
3859 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3860
3861         * vspace.[Ch]: remove VSpace::NONE
3862
3863 2003-12-01  André Pönitz  <poenitz@gmx.net>
3864
3865         * buffer.[Ch]:
3866         * lyxtext.h: move ParagraphList member to LyXText
3867         rename LyXText::ownerParagraphs to LyXText::paragraph
3868
3869         * CutAndPaste.C:
3870         * bufferview_funcs.C:
3871         * iterators.[Ch]:
3872         * lyx_cb.C:
3873         * paragraph.C:
3874         * rowpainter.C:
3875         * tabular.C:
3876         * text.C:
3877         * text2.C:
3878         * text3.C: adjust
3879
3880         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3881
3882         * undo.C: fix cursor positioning
3883
3884 2003-12-01  John Levon  <levon@movementarian.org>
3885
3886         * BufferView_pimpl.C: fix a crash on exit with
3887         a buffer open
3888
3889 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3890
3891         * BranchList.C: fix setSelected() method.
3892
3893 2003-11-28  André Pönitz  <poenitz@gmx.net>
3894
3895         * ParagraphParameters.[Ch]:
3896         * ParameterStruct.h: remove space above/below from Paragraph to
3897          InsetVSpace
3898
3899         * BufferView_pimpl.C:
3900         * factory.C:
3901         * lyxfunc.C:
3902         * lyxtext.h:
3903         * output_latex.C:
3904         * paragraph.C:
3905         * paragraph_funcs.C:
3906         * rowpainter.[Ch]:
3907         * text.C:
3908         * text2.C:
3909         * text3.C: adjust
3910
3911 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3912
3913         * factory.C: Syntax change for CharStyles
3914
3915 2003-11-28  André Pönitz  <poenitz@gmx.net>
3916
3917         * BufferView.[Ch]:
3918         * BufferView.[Ch]:
3919         * buffer.[Ch]:
3920         * buffer.[Ch]: move LyXText member
3921
3922 2003-11-28  André Pönitz  <poenitz@gmx.net>
3923
3924         * BufferView.[Ch]: make LyXText * text a private member
3925
3926         * BufferView_pimpl.C:
3927         * cursor.C:
3928         * iterators.C:
3929         * lyx_cb.C:
3930         * lyxfind.C:
3931         * lyxtext.h:
3932         * rowpainter.[Ch]:
3933         * text.C:
3934         * text2.C:
3935         * undo.C: adjust
3936
3937         * output_plaintext.C: cleanup
3938
3939 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3940
3941         * buffer.C:
3942         * lyxtextclass.[Ch]: parametrize SGML document header
3943
3944 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3945
3946         * converter.[Ch]:
3947         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3948         getFlavor().
3949
3950 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3951
3952         * text2.C (setFont): rework using PosIterator (no more recursive)
3953         (setCharFont): no more needed
3954         (setLayout): no more selection cursors fiddling (done by redoCursor)
3955         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3956         destroy remaining ones)
3957
3958 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3959
3960         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3961         * lyxtext.h: ditto
3962         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3963         selection cursors
3964         * lyxfunc.C: adjust
3965         * text3.C: adjust + re-allow multi par depth changes
3966         * textcursor.C: simplify a bit
3967
3968 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3969
3970         * src/buffer.C:
3971         * src/lyxlayout.C:
3972         * src/lyxlayout.h:
3973         * src/lyxtext.h:
3974         * src/output_docbook.C:
3975         * src/output_latex.C:
3976         * src/paragraph.C:
3977         * src/paragraph.h:
3978         * src/sgml.C:
3979         * src/sgml.h:
3980         * src/text2.C: Introducing a number of tags parametrizing various
3981         XML formats that we may want to support
3982
3983 2003-11-25  André Pönitz  <poenitz@gmx.net>
3984
3985         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3986
3987         * lyxtext.h (leftMargin/rightMargin): simplify interface
3988
3989         * rowpainter.C:
3990         * text.C:
3991         * text2.C:
3992         * text3.C: adjust
3993
3994 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3995
3996         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3997         master file to any child files. Fixes bug 546.
3998
3999 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4000
4001         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4002
4003 2003-11-24  André Pönitz  <poenitz@gmx.net>
4004
4005         * rowpainter.C: simplification
4006
4007         * text2.C (updateCounters): remove call to redoParagraph on
4008         changed labels as this is far too expensive.
4009
4010 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4011
4012         * converter.C (convert): fix a crash: this function gets
4013         called with buffer == 0 from importer code.
4014
4015 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
4016
4017         * text3.C (cursorPrevious): make sure that we do not compare
4018         iterators form different containers.
4019         (cursorNext): ditto
4020
4021         * rowpainter.C (paintSelection): make sure that we do not compare
4022         iterators from different containers.
4023
4024         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4025         iterators from different ParagraphList containers.
4026         [NEXT] ditto
4027
4028         * text2.C (LyXText): change order of initialization slightly
4029         (operator=): new function. copy all variables except cache_par_
4030         (moveUp): make sure that we do not compare iterators from
4031         different ParagraphList constainers.
4032         (moveDown): ditto
4033
4034         * text.C (firstPar): new function
4035         (lastPar): new function
4036         (endPar): new function
4037
4038         * lyxtext.h: move things around and group public functions, public
4039         variables, private functions, private variables
4040
4041 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4042
4043         * factory.C: change call to InsetERT constructor to avoid
4044         additional invocation of method status
4045         * text2.C (toggleInset): remove redundant update() call
4046         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4047         instead of a Bufferview pointer
4048
4049 2003-11-21  André Pönitz  <poenitz@gmx.net>
4050
4051         * rowpainter.C: simplification
4052
4053 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4054
4055         * text3.C (dispatch): make possible to extend a word/row selection
4056         with the mouse
4057
4058 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4059
4060         * lyxtext.h: x0_,y0_ -> xo_,yo_
4061         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4062         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4063         * rowpainter.C (paintRows): paint full paragraphs
4064
4065 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4066
4067         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4068         screen coordinates)
4069
4070 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4071
4072         * lyxtext.h: add x0_, y0_
4073         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4074         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4075
4076 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4077
4078         * text2.C (setCursorIntern): move the x_target update here *
4079         * text3.C: change some bv() to true/false in calls to
4080         cursorUp/Down/Right/Left
4081         * cursor.C: use helper function.
4082
4083 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4084
4085         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4086         * paragraph_funcs.[Ch]: correct comment
4087         * rowpainter.C: do not paint selections away from bv->cursor()
4088         Fix a long standing selection painting bug.
4089         * text3.C: generalize mouse-selection code to LyXTexts other that
4090         top one
4091         * textcursor.C: do not use y coords if we can use par offsets
4092
4093 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4094
4095         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4096         cursor position after e.g. inset insert)
4097
4098 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4099
4100         * lyxfind.C (replace): adjust to locking removal + some
4101         code simplification
4102
4103 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4104
4105         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4106         of the path
4107
4108 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4109
4110         * lyxlayout.[Ch]:
4111         * output_docbook.C: XML sanitation: new layout
4112         parameters InnerTag and CommandDepth
4113
4114 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4115
4116         * BufferView_pimpl.C:
4117         * factory.C:
4118         * text3.C: Fix the insertion and modification of button-style
4119         insets
4120
4121 2003-11-13  André Pönitz  <poenitz@gmx.net>
4122
4123         * InsetList.[Ch]: remove deleteLyXText
4124
4125         * paragraph.[Ch]: cache beginOfBody position
4126
4127         * Bidi.C:
4128         * text.C:
4129         * text2.C:
4130         * text3.C: remove superfluous update() calls
4131
4132         * vspace.C: cleanup
4133
4134 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4135
4136         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4137         * BufferView.C (fitLockedInsetCursor): remove
4138         * cursor.[Ch] (getDim): add
4139         * text.C (getRowNearY): add faster version
4140         * text3.C: remove some update calls
4141
4142 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4143
4144         * LaTeXFeatures.C:
4145         * LyXAction.C:
4146         * MenuBackend.C:
4147         * MenuBackend.h:
4148         * dispatchresult.h:
4149         * factory.C:
4150         * lfuns.h:
4151         * lyxfunc.C:
4152         * lyxtextclass.C:
4153         * lyxtextclass.h:
4154         * text3.C: The Character Style /XML short element patch.
4155
4156 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4157
4158         * text3.C:
4159         * factory.C: Small step to solving 'unable to insert some insets'
4160         problem
4161
4162 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4163
4164         * cursor.[Ch] (updatePos): new function for updating the y
4165         position of the tip inset
4166         * bufferview_funcs.C (put_selection_at):
4167         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4168
4169 2003-11-11  André Pönitz  <poenitz@gmx.net>
4170
4171         * text.C: remove big comment on invalid Paragraph pointers as it is
4172         not valid anymore
4173
4174 2003-11-11  André Pönitz  <poenitz@gmx.net>
4175
4176         * text_funcs.[Ch]: merge with ...
4177
4178         * text.C: ... this
4179
4180         * lyxtext.h:
4181         * text2.C:
4182         * text3.C: adjust
4183
4184         * Makefile.am: remove text_funcs.[Ch]
4185
4186 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4187
4188         * cursor.C (getPos): return absolute cached y coord
4189
4190         * BufferView_pimpl.C (fitCursor): new simplistic code
4191         (workAreaDispatch): add a fitCursor call
4192
4193 2003-11-10  André Pönitz  <poenitz@gmx.net>
4194
4195         * BufferView.[Ch]:
4196         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4197
4198 2003-11-10  André Pönitz  <poenitz@gmx.net>
4199
4200         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4201         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4202         indicate that the cursor needs to leave an inset
4203
4204         * lyxtext.h: remove inset locking
4205
4206         * cursor.[Ch]: re-implement functionality provided by inset locking
4207
4208         * BufferView.[Ch]:
4209         * BufferView_pimpl.[Ch]:
4210         * LyXAction.C:
4211         * bufferview_funcs.[Ch]:
4212         * factory.C:
4213         * funcrequest.[Ch]:
4214         * iterators.C:
4215         * lyx_cb.C:
4216         * lyxfind.C:
4217         * lyxfunc.C:
4218         * text.C:
4219         * text2.C:
4220         * text3.C:
4221         * undo.C: adjust
4222
4223 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4224
4225         * PosIterator.[Ch]: replace the stack with a vector, add inset
4226         accesor
4227         * iterators.[C]: adjust
4228
4229 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4230
4231         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4232         replaced
4233         * paragraph_funcs.C (readParToken): put the correct id in the
4234         error item, not the id of the top paragraph
4235
4236 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4237
4238         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4239         * bufferview_funcs.C (put_selection_at): use the above
4240
4241 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4242
4243         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4244
4245 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4246
4247         * output_linuxdoc.h:
4248         * output_plaintext.h:
4249         * output.h:
4250         * output_docbook.h: add #include statements
4251
4252 2003-11-05  José Matos  <jamatos@lyx.org>
4253
4254         * output_docbook.[Ch]:
4255         * output_latex.[Ch]:
4256         * output_linuxdoc.[Ch]:
4257         * output_plaintext.[Ch]: New files for output formats.
4258         * output.[Ch]: New file for helper functions.
4259
4260         * buffer.[Ch]:
4261         * paragraph_funcs.[Ch]: output functions moved to new files.
4262
4263         * outputparams.h: rename of latexrunparams.h
4264
4265         * LaTeX.[Ch]:
4266         * buffer.[Ch]:
4267         * bufferlist.[Ch]:
4268         * converter.[Ch]:
4269         * exporter.C:
4270         * paragraph.[Ch]:
4271         * paragraph_funcs.[Ch]:
4272         * paragraph_pimpl.[Ch]:
4273         * tabular.[Ch]: rename ascii to plaintext
4274         and LatexRunParams to OutputParams.
4275
4276 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4277
4278         * iterators.[Ch] (text): require bv argument
4279         * undo.C (recordUndo):
4280         * lyxfunc.C (dispatch):
4281         * bufferview_funcs.C (put_selection_at): adjust
4282
4283 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4284
4285         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4286
4287 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4288
4289         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4290         nestings
4291
4292 2003-11-04  André Pönitz  <poenitz@gmx.net>
4293
4294         * cursor.[Ch]: restructure
4295
4296         * BufferView.[Ch]:
4297         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4298
4299         * iterators.[Ch] (asCursor): remove
4300
4301         * lfuns.h: remove LFUN_INSET_EDIT
4302
4303         * lyxfunc.C:
4304         * tabular.C:
4305         * text.C:
4306         * text2.C:
4307         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4308
4309 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4310
4311         * lyxfind.[Ch]: complete overhaul
4312         * BufferView_pimpl.C:
4313         * lyxfunc.C: adjust
4314         * paragraph.[Ch] (insert): add
4315
4316 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4317
4318         * BufferView.[Ch]:
4319         * lyxtext.h:
4320         * text.C: remove dead spellcheck code
4321
4322 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * dispatchresult.h: add a val setter
4325
4326         * cursor.C (dispatch): use a tempvar for data_[i]
4327
4328 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4329
4330         * PosIterator.[Ch]: compile fix
4331
4332 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4333
4334         * text.C (cursorPar): deactivate the cursor cache
4335
4336 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4337
4338         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4339
4340 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4341
4342         * text3.C (dispatch): adjust for new DisptchResult semantics.
4343
4344         * lyxfunc.C (dispatch): handle update when return from
4345         Cursor::dispatch, adjust for new DispatchResult semantics.
4346
4347         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4348         DispatchResult(true) mean to not update. Add class functions for
4349         setting dispatched and update, as well as reading.
4350
4351         * cursor.C (dispatch): don't handle update here
4352
4353 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4356         * trans_mgr.C: adjust
4357
4358         * paragraph_funcs.C (readParToken): exception safety
4359
4360         * lyxvc.h: store the vcs pointer in a scoped_ptr
4361         * lyxvc.C: adjust
4362
4363         * lyxsocket.C (serverCallback): exception safety
4364
4365         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4366
4367         * ispell.C (clone): make it return a auto_ptr
4368
4369         * factory.C (createInset): exception safety
4370         (readInset): exception safety
4371
4372         * bufferlist.C (newBuffer): exception safety
4373
4374         * Thesaurus.C (Thesaurus): use initialization for aik_
4375
4376         * MenuBackend.C (expandToc): exception safety.
4377
4378 2003-11-03  André Pönitz  <poenitz@gmx.net>
4379
4380         * buffer.C:
4381         * buffer.h:
4382         * bufferview_funcs.C: remove getInsetFromId()
4383
4384         * lyxcursor.[Ch]:
4385         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4386
4387         * lyxfunc.C:
4388         * text2.C:
4389         * text3.C: adjust
4390
4391 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4392
4393         * PosIterator.C (distance, advance): new
4394         * bufferview_funcs.[Ch] (put_selection_at): new
4395         * iterators.[Ch] (lockPath): new
4396
4397 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4398
4399         * iterators.[Ch] (asPosIterator): added
4400         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4401         * PosIterator.[Ch]: added
4402
4403 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4404
4405         * text3.C:
4406         * lyxfunc.C:
4407         * cursor.C (dispatch):
4408         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4409
4410         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4411         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4412         contructor, add a class function dispatched. Remove operator>=
4413
4414 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4415
4416         * debug.C: only use the default constructor for debugstream
4417         (lyxerr) here.
4418
4419         * main.C (main): include debug.h and setup the lyxerr streambuf
4420         here.
4421
4422 2003-10-31  José Matos  <jamatos@lyx.org>
4423
4424         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4425
4426         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4427         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4428         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4429         * paragraph_pimpl.C (simpleTeXSpecialC):
4430         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4431         add LatexRunParams argument.
4432
4433         * exporter.C (Export): change call accordingly.
4434
4435         * latexrunparams.h: add new member to take care of the other backends.
4436 2003-10-30  José Matos  <jamatos@lyx.org>
4437
4438         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4439         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4440         factorise code for paragraph output.
4441         * buffer.[Ch]:
4442         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4443         move functions.
4444
4445 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4446
4447         * text3.C (dispatch):
4448         * lyxfunc.C (dispatch):
4449         * cursor.C (dispatch):
4450         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4451
4452         * dispatchresult.h: make the dispatch_result_t ctor explicit
4453
4454 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4455
4456         * sgml.[Ch]:
4457         * buffer.C: small refactoring of docbook stuff
4458
4459 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4462         meaning.
4463
4464 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4467         operator dispatch_result_t, and operators for == != and >=
4468
4469         * cursor.C (dispatch): adjust for operator dispatch_result_t
4470         removal. comment out call to update
4471
4472         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4473
4474 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * text3.C:
4477         * text2.C:
4478         * text.C:
4479         * lyxtext.h:
4480         * lyxfunc.C:
4481         * cursor.C:
4482         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4483         (dispatch):
4484
4485         * dispatchresult.h: new file, DispatchResult broken out of
4486         insets/insetbase.h
4487
4488         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4489
4490 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4491
4492         * text.C (rowBreakPoint): put a hack inside #if 0
4493
4494 2003-10-28  André Pönitz  <poenitz@gmx.net>
4495
4496         * lyxtext.h:
4497         * metricsinfo.C:
4498         * paragraph_funcs.C:
4499         * rowpainter.C:
4500         * text.C:
4501         * text2.C: general cleanup (lots of small stuff)
4502
4503 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4504
4505         * text2.C (cursorEnd): simple fix to the "end key goes to one
4506         before the end on last row" bug
4507
4508 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4509
4510         * text.C (backspace): fix the "zombie characters"
4511
4512 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4513
4514         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4515
4516 2003-10-27  André Pönitz  <poenitz@gmx.net>
4517
4518         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4519
4520         * factory.C: handle new InsetPagebreak, InsetLine
4521
4522         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4523         and move handling into new InsetPagebreak, InsetLine
4524
4525         * BufferView_pimpl.C:
4526         * LyXAction.C:
4527         * ParagraphParameters.C:
4528         * ParameterStruct.h:
4529         * lyxfunc.C:
4530         * lyxtext.h:
4531         * paragraph.C:
4532         * paragraph.h:
4533         * paragraph_funcs.C:
4534         * paragraph_pimpl.C:
4535         * rowpainter.C:
4536         * text.C:
4537         * text2.C:
4538         * text3.C: adjust
4539
4540 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4541
4542         * text.C:
4543         * lyxrow_funcs.[Ch]:
4544         * Bidi.C:
4545         * paragraph.C:
4546         * lyxtext.h:
4547         * rowpainter.C:
4548         * text2.C:
4549         * text3.C: remove lastPos uses in favour of Row::endpos
4550
4551 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4552
4553         * undo.C (performUndoOrRedo): fix two crashes by setting a
4554         cursor by hand and reordering some calls. Use bv->lockInset instead
4555         of inset->edit because the latter loses cursor information
4556
4557 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4558
4559         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4560         by Martin
4561         (rowBreakPoint): fix width. change point to point + 1.
4562         Add a missing check.
4563
4564 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4565
4566         * MenuBackend.C:
4567         * lyxfunc.C: fix (at least partly) the problems
4568         with the Nav menu and headers inside branch insets
4569         reported by Kayvan
4570
4571 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4572
4573         * paragraph.C (getChar): add strong asserts
4574
4575         * lyxrow_funcs.C (lastPos): remove hideous hack
4576
4577         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4578         (fill): adjust to that (avoid an infinite loop)
4579
4580 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4581
4582         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4583
4584 2003-10-23  André Pönitz  <poenitz@gmx.net>
4585
4586         * RowList_fwd.h: change list<> to vector<> to gain speed
4587         after suggestion from Alfredo
4588
4589 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4590
4591         * lyxtext.h: move the bidi stuff from here...
4592         * text.C: and here
4593         * text2.C: and here
4594         * Bidi.[Ch]: ... to here
4595
4596 2003-10-23  André Pönitz  <poenitz@gmx.net>
4597
4598         * lyxtext.h:
4599         * text.C (isLastRow, isFirstRow): new functions
4600
4601         * paragraph.h: new width cache member
4602
4603         * rowpainter.C: replace RowList::iterator with Row & where possible
4604
4605         * lyxfunc.C: replace several view()->text with a single call
4606
4607         * toc.C: fix 'unused' warning
4608
4609 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4610
4611         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4612         when woring with stream::pos_type
4613         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4614
4615 2003-10-22  André Pönitz  <poenitz@gmx.net>
4616
4617         * lyxtext.h:
4618         * text.C: use Row & instead of RowList::iterator
4619
4620         * lyxrow.h: rename end() to endpos()
4621
4622         * rowpainter.C:
4623         * text.C:
4624         * text2.C: adjust
4625
4626 2003-10-22  Angus Leeming  <leeming@lyx.org>
4627
4628         * buffer.[Ch] (fully_loaded): new member function, returning true
4629         only when the file has been loaded fully.
4630         Used to prevent the premature generation of previews and by the
4631         citation inset to prevent computation of the natbib-style label.
4632
4633         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4634         templates are all set up.
4635
4636         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4637
4638 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4639
4640         * text.C: fixed an "oops" in the "is a bit silly"
4641         bug fix
4642
4643 2003-10-21  André Pönitz  <poenitz@gmx.net>
4644
4645         * FuncStatus.[Ch]: small stuff, whitespace
4646
4647         * lyxfont.[Ch]: operator<<() for debug reasons
4648
4649         * lyxfunc.C:
4650         * lyxrow_funcs.C:
4651         * lyxtext.h: whitespace, spelling
4652
4653         * paragraph.C: naming of variables
4654
4655         * text.C:
4656         * text2.C: small stuff
4657
4658
4659 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4660
4661         * text.C: (1) finish off the inset display() work;
4662         (2) fix the "is a bit silly" bug (accessing char
4663         past end of par).
4664
4665 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4666
4667         * text.C: re-introduce display() for insets, fixing the
4668         various bugs (stretch of line above, math inset
4669         positioning, ...)
4670
4671 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4672
4673         * text.C (rightMargin): remove spurious semicolon
4674
4675         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4676         1415)
4677
4678 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4679
4680         * text3.C: fix one crash due to wrong cursor def
4681
4682 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * vc-backend.C (scanMaster): make the regex static
4685
4686         * LaTeX.C (scanAuxFile): make the regexs static
4687
4688         * text3.C (doInsertInset, dispatch, dispatch):
4689         * text2.C (cursorUp, cursorDown):
4690         * text.C (selectNextWordToSpellcheck):
4691         * BufferView_pimpl.C (dispatch):
4692         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4693
4694 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4695
4696         * lyxsocket.C: include <cerrno>
4697
4698 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * lyxfunc.C (dispatch): remove textcache stuff
4701
4702         * bufferlist.C (release): remove textcache stuff
4703         (closeAll): ditto
4704
4705         * TextCache.C: delete file
4706         * TextCache.h: delete file
4707
4708         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4709
4710         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4711         delete of the bv_->text.
4712         (resizeCurrentBuffer): remove texcache stuff
4713         (workAreaResize): ditto
4714
4715 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4716
4717         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4718         action.
4719
4720 2003-10-16  André Pönitz  <poenitz@gmx.net>
4721
4722         * lyxrow.[Ch]:
4723         * paragraph.h:
4724         * rowpainter.C:
4725         * text.C:
4726         * text2.C:
4727         * text3.C: speed up by storing y positions per paragraph plus per-row
4728         offset instead of having a 'full' y position in the row.
4729
4730 2003-10-15  André Pönitz  <poenitz@gmx.net>
4731
4732         * iterators.[Ch]:
4733         * iterators.[Ch]:
4734         * undo.[Ch]: make undo aware of inner insets
4735
4736 2003-10-14  Angus Leeming  <leeming@lyx.org>
4737
4738         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4739         static member functions LyX::ref() and LyX::cref.
4740         (lastfiles): new accessor functions for the new lastfiles_ member var.
4741         (addLyXView, views_): add a new LyXView to the list of views_.
4742         (updateInset): loop over all LyXViews to call their own updateInset
4743         member function, returning a pointer to the Buffer owning the inset.
4744
4745         * BufferView_pimpl.C (loadLyXFile):
4746         * MenuBackend.C (expandLastfiles):
4747         * bufferlist.C (MenuWrite, QuitLyX):
4748         lastfiles is no longer a global variable.
4749         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4750
4751         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4752         static function. Access through LyX::cref().emergencyCleanup().
4753
4754 2003-10-14  André Pönitz  <poenitz@gmx.net>
4755
4756         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4757
4758         * undo.[Ch]: restoring part of 'undo in insets'
4759
4760         * Makefile.am:
4761         * undo_funcs.[Ch]: merge with undo.[Ch]
4762
4763         * tabular.C: small cleansing stuff
4764
4765 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4766
4767         * paragraph_funcs.C (readParToken): report unknown insets as error
4768         boxes. Use the outer paragraph as location (also for unknown
4769         tokens).
4770
4771         * factory.C (readInset): do not abort on reading an unknown inset.
4772         Eat it and return 0.
4773
4774 2003-10-13  Angus Leeming  <leeming@lyx.org>
4775
4776         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4777
4778         * lyxrc.C: displayTranslator is now a function,
4779         declared in GraphicsTypes.h.
4780
4781 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4782
4783         * format.C: new placeholder $$a to pass the socket address.
4784
4785         * bufferlist.[Ch]: new function getBufferFromTmp.
4786
4787         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4788           files in the temporary dir.
4789
4790 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4791
4792         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4793
4794         * Makefile.am: add lyxsocket.[Ch].
4795
4796         * lyx_main.C (error_handler): handle SIGPIPE.
4797
4798 2003-10-13  André Pönitz  <poenitz@gmx.net>
4799
4800         * BufferView_pimpl.C:
4801         * lyxtext.h:
4802         * text.C:
4803         * text2.C:
4804         * text3.C:
4805         * undo_funcs.[Ch]: use paroffset_type instead of
4806           ParagraphList::iterators to prevent multiple conversion
4807           (and get a more robust interface)
4808
4809 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4810
4811         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4812         * lyxtext.h: ditto
4813         * text3.C (dispatch): ditto
4814
4815 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4816
4817         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4818         move the onlyfile, use onlyfile instead of foundfile in a couple
4819         of places.
4820
4821         * DepTable.C (update): flush the error stream a bit more
4822
4823 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4824
4825         * lyxserver.C (callback): adjust
4826
4827         * lyxfunc.C (getStatus): add a missing brace in commented code
4828         (ensureBufferClean): reindent
4829         (dispatch): delete version taking a string
4830
4831 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * LaTeX.C (deplog): move found file handlig from here...
4834         (handleFoundFile): .. to new function here.
4835         (deplog): make sure to discover several files mentioned on the
4836         same log line.
4837
4838 2003-10-10  André Pönitz  <poenitz@gmx.net>
4839
4840         * lyxfunc.C:
4841         * lyxtext.h:
4842         * tabular.C:
4843         * text.C:
4844         * text2.C:
4845         * text3.C: fix some of the tabular crashes
4846
4847 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4848
4849         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4850
4851         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4852
4853 2003-10-09  André Pönitz  <poenitz@gmx.net>
4854
4855         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4856
4857         * BufferView.C:
4858         * BufferView_pimpl.C:
4859         * bufferview_funcs.C:
4860         * lyx_cb.C:
4861         * lyxcursor.C:
4862         * lyxfind.C:
4863         * lyxfunc.C:
4864         * lyxtext.h:
4865         * text.C:
4866         * text2.C:
4867         * text3.C:
4868         * text_funcs.[Ch]:
4869         * textcursor.[Ch]:
4870         * undo_funcs.C: adjust
4871
4872 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * text2.C (incrementItemDepth): new function, use a backtracking
4875         algorithm to discover the correct item depth.
4876         (resetEnumCounterIfNeeded): new function, use a backtracking
4877         algorithm to discover if counter reset is needed.
4878         (setCounter): use them. Simplify a bit. Add different labels for
4879         different item depths for itemize.
4880
4881         * paragraph.C (Paragraph): remove initialization of enumdepth
4882         (operator=): ditto
4883
4884         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4885         enumerate and itemize. Change the type of itemdepth to signed char.
4886
4887 2003-10-08  André Pönitz  <poenitz@gmx.net>
4888
4889         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4890           thing assignable.
4891         * text.C:
4892         * text2.C: adjust
4893
4894         * tabular.[Ch]: fix crash after 'row-insert'
4895
4896 2003-10-08  Angus Leeming  <leeming@lyx.org>
4897
4898         Fix doxygen warnings.
4899
4900         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4901         Remove CutAndPaste:: prefix from header file declaration.
4902
4903         * LColor.h (fill): remove LColor:: prefix from declaration.
4904
4905         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4906         use lyx::depth_type rather than Paragraph::depth_type so that
4907         header file and .C file match.
4908
4909         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4910
4911         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4912         * aspell.C: \file aspell_local.C -> \file aspell.C
4913         * gettext.C: \file gettext.C -> \file src/gettext.C
4914         * gettext.h: \file gettext.h -> \file src/gettext.h
4915         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4916         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4917         * text.C: \file text.C -> \file src/text.C
4918
4919         * toc.C: move comment so that doxygen is not confused.
4920
4921 2003-10-07  Angus Leeming  <leeming@lyx.org>
4922
4923         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4924
4925 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4926
4927         * aspell.C:
4928         * aspell_local.h: add forgotten std::string's.
4929
4930 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4931
4932         * LaTeXFeatures.C:
4933         * LyXAction.C:
4934         * factory.C:
4935         * lfuns.h:
4936         * lyxfunc.C:
4937         * text3.C: The Box patch. Fancybox support, minipage, parbox
4938
4939 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4940
4941         * CutAndPaste.h:
4942         * DepTable.h:
4943         * FloatList.h:
4944         * LaTeXFeatures.h:
4945         * ParagraphParameters.h:
4946         * TextCache.h:
4947         * Thesaurus.h:
4948         * bufferlist.h:
4949         * exporter.h:
4950         * importer.h:
4951         * lastfiles.h:
4952         * lyxfind.h:
4953         * lyxfont.h:
4954         * lyxlex.h:
4955         * lyxtextclasslist.h:
4956         * messages.h:
4957         * paragraph.h:
4958         * paragraph_pimpl.C:
4959         * textcursor.h: add <string> and other small fixes to make Lars'
4960         std::string patch compile with STLport.
4961
4962 2003-10-06  Angus Leeming  <leeming@lyx.org>
4963
4964         * LColor.h: Add missing #include <string>.
4965
4966 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4967
4968         * All most all file in all subdirs: Make <string> be the prefered
4969         way of getting to std::string, add using declarations.
4970
4971 2003-10-06  André Pönitz  <poenitz@gmx.net>
4972
4973         * metricsinfo.C: initialize LyXFont before changing attribute.
4974         (fixes the 'math in \emph is upright' bug)
4975
4976 2003-10-06  André Pönitz  <poenitz@gmx.net>
4977
4978         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4979
4980 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4981
4982         * graph.C:
4983         * paragraph_pimpl.C: Small fixes to build using STLport
4984
4985 2003-10-02  André Pönitz  <poenitz@gmx.net>
4986
4987         * lyxfunc.C:
4988         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4989
4990 2003-10-01  André Pönitz  <poenitz@gmx.net>
4991
4992         * factory.C: assert early
4993
4994 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4995
4996         * lyx_main.C: remove the global debug object
4997
4998         * debug.h: adjust for new debugstream
4999
5000         * debug.C: adjust for new debugstream and keep the global debug
5001         object here.
5002
5003 2003-09-22  Angus Leeming  <leeming@lyx.org>
5004
5005         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5006         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5007         an incomplete class LyXFont.
5008
5009 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5010
5011         * factory.C: bug fix in branches
5012
5013 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5014
5015         * lyxfunc.C (processKeySym): adjust
5016         (dispatch): adjust
5017         (dispatch): change arg name from ev to func, adjust
5018         (sendDispatchMessage): ditto
5019
5020         * lyx_main.C (defaultKeyBindings): adjust keybindings
5021         (deadKeyBindings): ditto
5022
5023         * kbsequence.C (addkey): return a FuncRequest
5024
5025         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5026
5027         * kbmap.C (bind): take a FuncRequest as arg, adjust
5028         (read): adjust
5029         (lookup): adjust
5030         (defkey): change to take a FuncRequest as arg, adjust
5031         (findbinding): take a FuncRequest as arg, adjust.
5032
5033         * funcrequest.h (operator=): added
5034
5035         * funcrequest.C (FuncRequest): default kb_action changed from
5036         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5037
5038         * buffer.C (dispatch): simplify
5039         (dispatch): adjust to take a FuncRequest as arg, adjust
5040
5041         * boost.C (assertion_failed): change assertion message slightly
5042
5043         * ToolbarBackend.C (read): simplify
5044
5045         * MenuBackend.C (binding): adjust call to findbinding, add a
5046         message if no binding is found.
5047         (read): simplify
5048         (expandToc): correct by adding a empty FuncRequest
5049
5050         * LyXAction.C: include <boost/assert.hpp>
5051         (isPseudoAction): delete function
5052         (LookupFunc): change name to...
5053         (lookupFunc): this. change return type to FuncRequest.
5054         (getActionName): take kb_action as arg, simplify
5055         (funcHasFlag): add an assert, simplify.
5056
5057 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5058
5059         * toc.C (action): return a FuncRequest, simplify
5060
5061         * lyxfunc.C (processKeySym): adjust
5062         (getStatus): delete version that takes an int.
5063         (getStatus): adjust
5064         (dispatch): delete version that takes action as int
5065         (dispatch): adjust
5066         (sendDispatchMessage): simplify and adjust
5067
5068         * funcrequest.C (getArg): take unsigned int as arg
5069
5070         * ToolbarBackend.C (read): adjust
5071         (add): delete version that takes func as a string.
5072         (getIton): take a FuncRequest as arg
5073
5074         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5075         action.
5076
5077         * MenuBackend.C (MenuItem): add a new construct that only takes a
5078         Kind, simplify the constructor use for submenus.
5079         (add): adjust
5080         (expandLastfiles): adjust
5081         (expandDocuments): adjust
5082         (expandFormats): adjust
5083         (expandFloatListInsert): adjust
5084         (expandFloatInsert): adjust
5085         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5086
5087         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5088         Remove class variables lyx_pseudo_map and lyx_arg_map
5089
5090         * LyXAction.C (searchActionArg): delete function
5091         (getPseudoAction): delete function
5092         (retrieveActionArg): delete function
5093         (LookupFunc): make it return kb_action, simplify.
5094         (getActionName): simplify
5095
5096         * factory.C (createInset): fix new bug
5097
5098 2003-09-19  Angus Leeming  <leeming@lyx.org>
5099
5100         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5101         masterFilename_ parameter in the include inset.
5102
5103         * factory.C (createInset): changes due to the changes to InsetInclude.
5104
5105 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5106
5107         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5108
5109 2003-09-18  Angus Leeming  <leeming@lyx.org>
5110
5111         * buffer.C:
5112         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5113         Inset::fillWithBibKeys.
5114         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5115
5116 2003-09-18  Angus Leeming  <leeming@lyx.org>
5117
5118         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5119         variables.
5120         (ctor): pass and store a 'Buffer const &'
5121         (buffer): new member function.
5122
5123         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5124         '*this' to the LaTeXFeatures ctor.
5125
5126 2003-09-18  Angus Leeming  <leeming@lyx.org>
5127
5128         * LColor.h:
5129         * lyxfont.C:
5130         * lyxfont.h:
5131         * lyxtext.h:
5132         * text.C: rename EnumLColor as LColor_color.
5133
5134 2003-09-18  Angus Leeming  <leeming@lyx.org>
5135
5136         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5137         remove #include "insets/insetbase.h" from cursor.h.
5138
5139 2003-09-18  Angus Leeming  <leeming@lyx.org>
5140
5141         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5142         InsetOld_code to remove #include "inset.h".
5143
5144         * iterators.C: add #include "insets/inset.h"
5145
5146 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5147
5148         * BufferView.C: remove more locking stuff that apparently doesn't
5149         do anything sensible.
5150
5151 2003-09-16  André Pönitz  <poenitz@gmx.net>
5152
5153         * paragraph.[Ch]:
5154         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5155           performance boost.
5156
5157 2003-09-16  Angus Leeming  <leeming@lyx.org>
5158
5159         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5160
5161         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5162         arg/return type.
5163
5164         * paragraph.h: remove #include "lyxfont.h". Forward declare
5165         LyXFont_size.
5166
5167 2003-09-16  Angus Leeming  <leeming@lyx.org>
5168
5169         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5170         of support/textutils.h.
5171         (isWord): move the contents of support/textutils.h's IsWordChar here.
5172
5173         * buffer.C:
5174         * lyxfind.C:
5175         * rowpainter.C:
5176         * text.C:
5177         * text2.C: add #include "paragraph.h".
5178
5179         * rowpainter.C:
5180         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5181
5182 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5183
5184         * main.C:
5185         * lyx_main.C:
5186         * lyx_cb.C:
5187         * buffer.C:
5188         * LaTeX.C: use namespace alias for lyx::support::os
5189
5190 2003-09-16  Angus Leeming  <leeming@lyx.org>
5191
5192         * bufferparams.C:
5193         * bufferview_funcs.C:
5194         * factory.C:
5195         * lyxfunc.C:
5196         * paragraph_pimpl.C:
5197         * rowpainter.C:
5198         * text.C: add #include "LColor.h".
5199
5200 2003-09-16  Angus Leeming  <leeming@lyx.org>
5201
5202         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5203         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5204         return LyXFont &.
5205         Store the FontBits::color variable as an int rather than as an
5206         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5207         file.
5208
5209         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5210         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5211         string calls together.
5212
5213         * lyxrc.C: add #include "LColor.h".
5214
5215 2003-09-15  Angus Leeming  <leeming@lyx.org>
5216
5217         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5218         a cow_ptr.
5219
5220 2003-09-15  Angus Leeming  <leeming@lyx.org>
5221
5222         * LColor.h: add an EnumLColor wrapper for LColor::color.
5223
5224         * lyxfont.[Ch] (color, setColor, realColor):
5225         * lyxtext.h, text.C (backgroundColor):
5226         pass EnumLColor args to/from the functions, rather than LColor::color
5227         ones.
5228
5229         * lyxfont.h:
5230         * lyxtext.h: forward declare EnumLColor.
5231
5232         * lyx_main.C: add #include "LColor.h".
5233
5234 2003-09-15  Angus Leeming  <leeming@lyx.org>
5235
5236         * .cvsignore: add lyx-gtk.
5237
5238 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5239
5240         * Chktex.C
5241         * LaTeX.C
5242         * LaTeXFeatures.C
5243         * ParagraphParameters.C
5244         * Spacing.C
5245         * buffer.C
5246         * bufferparams.C
5247         * bufferview_funcs.C
5248         * chset.C
5249         * counters.C
5250         * funcrequest.C
5251         * lyxfont.C
5252         * lyxgluelength.C
5253         * lyxlength.C
5254         * paragraph.C
5255         * paragraph_funcs.C
5256         * text3.C
5257         * vc-backend.C: remove usage of STRCONV
5258
5259 2003-09-15  Angus Leeming  <leeming@lyx.org>
5260
5261         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5262         explicitly define the color passed to the painter.
5263
5264 2003-09-15  Angus Leeming  <leeming@lyx.org>
5265
5266         * bufferparams.C (BufferParams): reorder member initializers to avoid
5267         compiler warning.
5268
5269 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5270
5271         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5272         * text.C (updateRowPositions): remove an unusual nop
5273
5274 2003-09-12  André Pönitz  <poenitz@gmx.net>
5275
5276         * BufferView_pimpl.C:
5277         * Bullet.C:
5278         * layout.h:
5279         * lyxfunc.C:
5280         * lyxlayout.[Ch]:
5281         * lyxtextclass.C:
5282         * rowpainter.C:
5283         * text.C:
5284         * text2.C:
5285         * Counters.[Ch]: finish the 'automatic counters' job
5286
5287 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5288
5289         * aspell.C: include <boost/assert.cpp> (compile fix)
5290
5291 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5292
5293         * boost.C (assertion_failed): use lyx::support::abort instead of
5294         assert.
5295
5296 2003-09-10  Angus Leeming  <leeming@lyx.org>
5297
5298         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5299         with their _fwd progeny.
5300
5301 2003-09-09  Angus Leeming  <leeming@lyx.org>
5302
5303         134 files throughtout the source tree: replace 'using namespace abc;'
5304         directives with the appropriate 'using abc::xyz;' declarations.
5305
5306 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5307
5308         * boost.C (emergencyCleanup): moved here from LAssert.c
5309         (assertion_failed): new function, called by BOOST_ASSERT
5310
5311         * several files: change Assert to BOOST_ASSERT
5312
5313 2003-09-09  Angus Leeming  <leeming@lyx.org>
5314
5315         * buffer.[Ch]: Add an Impl class and move Buffer's member
5316         variables into it. As a result move several header files out of
5317         buffer.h.
5318
5319         Add header files to lots of .C files all over the tree as a result.
5320
5321 2003-09-09  Angus Leeming  <leeming@lyx.org>
5322
5323         * buffer.[Ch]: make Buffer's member variables private. Add
5324         accessor functions.
5325
5326         Lots of changes all over the tree as a result.
5327
5328 2003-09-08  Angus Leeming  <leeming@lyx.org>
5329
5330         * graph.C: #include <config.h>.
5331
5332 2003-09-08  Angus Leeming  <leeming@lyx.org>
5333
5334         * BranchList.C:
5335         * BufferView.C:
5336         * BufferView_pimpl.C:
5337         * CutAndPaste.C:
5338         * DepTable.C:
5339         * LaTeX.C:
5340         * LaTeXFeatures.C:
5341         * LyXAction.C:
5342         * MenuBackend.C:
5343         * TextCache.C:
5344         * aspell.C:
5345         * buffer.C:
5346         * bufferlist.C:
5347         * changes.C:
5348         * chset.C:
5349         * converter.C:
5350         * counters.C:
5351         * debug.C:
5352         * graph.C:
5353         * ispell.C:
5354         * lyx_cb.C:
5355         * lyxfind.C:
5356         * lyxfunc.C:
5357         * lyxlex_pimpl.C:
5358         * lyxrc.C:
5359         * lyxrow.C:
5360         * paragraph.C:
5361         * rowpainter.C:
5362         * texrow.C:
5363         * text.C:
5364         * text2.C:
5365         * toc.C: remove redundant using directives.
5366
5367 2003-09-07  Angus Leeming  <leeming@lyx.org>
5368
5369         * LaTeXFeatures.h: remove #include "support/types.h".
5370         * ToolbarBackend.h: remove #include <algorithm>.
5371         * changes.h: remove #include <ctime>.
5372         * debug.h: remove #include <iosfwd>.
5373         * graph.h: remove #include "support/std_string.h".
5374         * lyx_main.h: remove #include <csignal>.
5375         * lyxlex_pimpl.h: remove #include <fstream>.
5376         * sgml.h: remove #include <algorithm>, <utility>.
5377         * toc.h: remove #include "support/std_ostream.h".
5378         Add #include <iosfwd>.
5379
5380 2003-09-07  Angus Leeming  <leeming@lyx.org>
5381
5382         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5383
5384         * converter.h: forward declare LatexRunParams.
5385         * encoding.h: remove #include "lyxrc.h".
5386         * lyxtext.h: remove #include "LColor.h".
5387         * lyxtextclass.h: remove #include "support/types.h".
5388         * trans.h: remove #include "tex-accent.h".
5389         * trans_mgr.h: remove #include "tex-accent.h".
5390         * insets/inset.h: remove #include "support/types.h", <vector>.
5391         * insets/insetcollapsable.h: remove #include "LColor.h".
5392         * insets/insetinclude.h: remove #include "dimension.h".
5393         * insets/insetlatexaccent.h: remove #include "dimension.h".
5394         * insets/insetoptarg.h:: remove #include "insettext.h".
5395         * insets/insettext.h: remove #include "dimension.h",
5396         <boost/shared_ptr.hpp>
5397
5398         * insets/renderers.h: add #include "dimension.h".
5399         * insets/updatableinset.h: add #include "support/types.h".
5400
5401         * many .C files: Associated changes.
5402
5403 2003-09-06  Angus Leeming  <leeming@lyx.org>
5404
5405         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5406         one, inside testInvariant.
5407
5408         * PrinterParams.C: new file.
5409         * PrinterParams.[Ch]: move the function bodies out of line.
5410
5411 2003-09-06  Angus Leeming  <leeming@lyx.org>
5412
5413         * ParagraphParameters.h: forward declare ParameterStruct rather than
5414         including its header file.
5415         (depth): moved out-of-line.
5416
5417 2003-09-06  Angus Leeming  <leeming@lyx.org>
5418
5419         * BufferView_pimpl.h:
5420         * kbmap.h:
5421         * kbsequence.h:
5422         * lyxfunc.h: forward declare LyXKeySym rather than
5423         #include "frontends/LyXKeySym.h".
5424
5425         * BufferView_pimpl.C:
5426         * kbmap.C:
5427         * kbsequence.C:
5428         * lyxfunc.C: associated changes.
5429
5430 2003-09-06  Angus Leeming  <leeming@lyx.org>
5431
5432         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5433         As a result, can remove the #include "insets/inset.h" from BufferView.h
5434
5435 2003-09-06  Angus Leeming  <leeming@lyx.org>
5436
5437         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5438         As a result, can remove the #include "insets/inset.h" from BufferView.h
5439
5440 2003-09-06  Angus Leeming  <leeming@lyx.org>
5441
5442         * buffer_funcs.C:
5443         * buffer.h:
5444         * bufferlist.C:
5445         * BufferView.C:
5446         * bufferview_funcs.C:
5447         * BufferView_pimpl.C:
5448         * CutAndPaste.C:
5449         * lyx_cb.C:
5450         * lyxfunc.C:
5451         * paragraph.h:
5452         * ParagraphParameters.C:
5453         * tabular.C:
5454         * text3.C:
5455         * toc.C:
5456         * undo_funcs.C:
5457         * frontends/controllers/ControlDocument.C:
5458         * insets/insetcaption.C: rearrange the #includes into some sort of
5459         coherent order.
5460
5461         * buffer.h: remove #includes ErrorList.h, undo.h
5462
5463 2003-09-06  Angus Leeming  <leeming@lyx.org>
5464
5465         * support/types.h: add a 'depth_type' typedef, used to store the
5466         nesting depth of a paragraph.
5467
5468         * paragraph.h:
5469         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5470         defining explicitly.
5471
5472         * buffer.h:
5473         * paragraph_funcs.h:
5474         * ParagraphParameters.h:
5475         * sgml.h: use lyx::depth_type rather than Paragraph or
5476         ParameterStruct's depth_type.
5477
5478         * buffer.h
5479         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5480
5481         * BufferView.C:
5482         * BufferView_pimpl.C:
5483         * CutAndPaste.C:
5484         * ParagraphParameters.C:
5485         * buffer_funcs.C:
5486         * bufferlist.C:
5487         * bufferview_funcs.C:
5488         * lyx_cb.C:
5489         * lyxfunc.C:
5490         * tabular.C:
5491         * text3.C:
5492         * toc.C:
5493         * undo_funcs.C:
5494         * frontends/LyXView.C:
5495         * frontends/controllers/ControlDocument.C:
5496         * frontends/controllers/ControlErrorList.C:
5497         * insets/insetbibitem.C:
5498         * insets/insetbranch.C:
5499         * insets/insetcaption.C:
5500         * insets/insetcollapsable.C:
5501         * insets/insetenv.C:
5502         * insets/insetert.C:
5503         * insets/insetfloat.C:
5504         * insets/insetfoot.C:
5505         * insets/insetfootlike.C:
5506         * insets/insetnewline.C:
5507         * insets/insetquotes.C:
5508         * insets/insettabular.C:
5509         * insets/insettext.C:
5510         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5511
5512         * frontends/controllers/ControlChanges.C: #include "changes.h".
5513
5514 2003-09-06  Angus Leeming  <leeming@lyx.org>
5515
5516         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5517         than #including paragraph.h.
5518
5519         * ParagraphList.h:
5520         * RowList.h: deleted. Superfluous.
5521
5522         * CutAndPaste.h:
5523         * iterators.h:
5524         * lyxcursor.h:
5525         * lyxtext.h:
5526         * text_funcs.h:
5527         * undo.h:
5528         * undo_funcs.h:
5529         * insets/inset.h:
5530         * insets/insettext.h: use ParagraphList_fwd.h rather than
5531         ParagraphList.h.
5532
5533         * paragraph.h: don't forward declare ParagraphList.
5534
5535         * buffer.h:
5536         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5537         rather than ParagraphList.h. paragraph.h is still needed for the
5538         Paragraph::depth_type parameters.
5539
5540         * textcursor.h: enable it to compile stand-alone in light of the
5541         above changes.
5542
5543         * bufferview_funcs.C:
5544         * iterators.C:
5545         * lyxfunc.C:
5546         * lyxrow_funcs.C:
5547         * paragraph.C:
5548         * rowpainter.C:
5549         * text.C:
5550         * text2.C:
5551         * text3.C:
5552         * text_funcs.C:
5553         * textcursor.C:
5554         * undo.C:
5555         * frontends/controllers/ControlParagraph.C:
5556         * frontends/controllers/ControlTabular.C:
5557         * insets/insetmarginal.C:
5558         * insets/insetminipage.C:
5559         * insets/insetnote.C:
5560         * insets/insetoptarg.C: add header files needed to compile again.
5561
5562 2003-09-06  Angus Leeming  <leeming@lyx.org>
5563
5564         * RowList_fwd.h: new file, forward-declaring Row rather than
5565         #including lyxrow.h.
5566
5567         * lyxrow_funcs.h:
5568         * lyxtext.h:
5569         * paragraph.h:
5570         * insets/insettext.h: use it instead of RowList.h
5571
5572         * bufferview_funcs.C:
5573         * lyxfunc.C:
5574         * lyxrow_funcs.C:
5575         * paragraph.C:
5576         * rowpainter.C:
5577         * text.C:
5578         * text2.C:
5579         * text3.C: #include "RowList.h".
5580
5581 2003-09-05  Angus Leeming  <leeming@lyx.org>
5582
5583         * factory.C (createInset):
5584         * vspace.C (c-tor): replace sscanf call with an istringstream.
5585         * ispell.C: re-add missing HP/UX headers.
5586         * lyxserver.C: re-add missing  os2 headers.
5587
5588 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5589
5590         * BranchList.C:
5591         * graph.C:
5592         * ispell.C:
5593         * lastfiles.C:
5594         * lyx_cb.C:
5595         * lyxserver.C:
5596         * texrow.C:
5597         * text3.C: re-add missing system headers, needed for 2.95.2.
5598
5599 2003-09-05  Angus Leeming  <leeming@lyx.org>
5600
5601         Changes most place everywhere due to the removal of using directives
5602         from support/std_sstream.h.
5603
5604 2003-09-05  Angus Leeming  <leeming@lyx.org>
5605
5606         Replace LString.h with support/std_string.h,
5607         Lsstream.h with support/std_sstream.h,
5608         support/LIstream.h with support/std_istream.h,
5609         support/LOstream.h with support/std_ostream.h.
5610
5611         Changes resulting throughout the tree.
5612
5613 2003-09-05  Angus Leeming  <leeming@lyx.org>
5614
5615         * sgml.h: ensure that the header file can be compiled stand-alone.
5616         * *.C: strip out redundant #includes. (320 in total.)
5617
5618 2003-09-04  Angus Leeming  <leeming@lyx.org>
5619
5620         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5621         here (from getPackages).
5622
5623         * debug.[Ch]: add a new EXTERNAL tag.
5624
5625 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5626
5627         * text2.C (cursorEnd): simplify
5628         (setCursor): adjust
5629         (getColumnNearX): adjust
5630
5631         * text.C (computeBidiTables): adjust
5632         (fill): adjust
5633
5634         * rowpainter.C (paintChars): adjust
5635         (paintSelection): adjust
5636         (paintChangeBar): adjust
5637         (paintText): adjust
5638
5639         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5640         lastPos instead.
5641         (numberOfSeparators): adjust
5642
5643 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5644
5645         * LyXAction.C:
5646         * box.[Ch]:
5647         * lfuns.h:
5648         * lyxfunc.C:
5649         * text3.C: Restricts the mouse click functionality
5650         of insets like bibtex, include, toc and floatlist to the visible
5651         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5652         up the dialogs. Cursor has to be in front of the inset (i.e.
5653         start of row) for this to function.
5654
5655 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5656
5657         * bufferview_funcs.C (currentState): output row information
5658
5659 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5660
5661         * bufferview_funcs.C (currentState): output paragraph position
5662
5663 2003-09-04  Angus Leeming  <leeming@lyx.org>
5664
5665         * FloatList.h: move out #include "Floating.h".
5666         * LaTeX.h: move out #include "DepTable.h".
5667         * LyXAction.h: move out #include "funcrequest.h".
5668         * buffer.h: move out #include "author.h", "iterators.h".
5669         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5670         * lyx_main.h: move out #include "errorlist.h".
5671         * lyxfunc.h: move out #include "FuncStatus.h".
5672         * lyxtext: move out #include "lyxcursor.h".
5673         * paragraph_pimpl.h: move out #include "counters.h".
5674
5675 2003-09-03  Angus Leeming  <leeming@lyx.org>
5676
5677         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5678         preamble_snippets list, enabling us to add snippets to the preamble
5679         only if the snippet was not there already.
5680
5681 2003-09-04  Angus Leeming  <leeming@lyx.org>
5682
5683         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5684
5685 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5686
5687         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5688         update
5689
5690 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5691
5692         * BranchList.C: point fix, earlier forgotten
5693
5694 2003-09-02  Angus Leeming  <leeming@lyx.org>
5695
5696         * box.C (contains): renamed from 'contained' after a fantastic
5697         amount of hot air.
5698
5699 2003-09-02  John Levon  <levon@movementarian.org>
5700
5701         * BufferView.C:
5702         * lyxcursor.h:
5703         * lyxcursor.C:
5704         * lyxfunc.C:
5705         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5706
5707 2003-09-02  John Levon  <levon@movementarian.org>
5708
5709         * text2.C: simplification of cursorEnd(), including partial
5710         fix for bug 1376
5711
5712 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * buffer.C (readFile): add a space
5715
5716 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5717
5718         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5719
5720 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * buffer.C (readFile): new function, take a filename and a
5723         ParagraphList::iterator
5724         (readFile): adjust
5725         (readFile): adjust, make it private. don't use setStream, make
5726         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5727         always contain the filename.
5728
5729         * BufferView.C (insertLyXFile): simplify and make it work for
5730         gzipped files.
5731
5732 2003-08-30  John Levon  <levon@movementarian.org>
5733
5734         * Makefile.am: fix dist (from Kayvan)
5735
5736 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * most files: change to use const Buffer refs
5739
5740 2003-08-27  André Pönitz  <poenitz@gmx.net>
5741
5742         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5743         on top of ownerPar().
5744
5745 2003-08-27  John Levon  <levon@movementarian.org>
5746
5747         * funcrequest.C: properly initialise POD members
5748
5749 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5750
5751         * lyxtext.h (top_y): move top_y from here
5752         * text.C:
5753         * text2.C:
5754         * text3.C:
5755         * BufferView.[Ch]:
5756         * BufferView_pimpl.[Ch]: to here
5757         * frontends/screen.C:
5758         * insets/insettabular.C:
5759         * insets/insettext.C: adjust
5760         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5761
5762 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5763
5764         * BufferView.[Ch]:
5765         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5766
5767 2003-08-26  André Pönitz  <poenitz@gmx.net>
5768
5769         * paragraph_func.[Ch] (outerPar): new function
5770
5771         * paragraph.C:
5772         * paragraph_funcs.C:
5773         * paragraph_funcs.h:
5774         * paragraph_pimpl.C:
5775         * text2.C: remove Inset::par_owner
5776
5777 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5778
5779         * lyxrow_funcs.C:
5780         * lyxtext.h:
5781         * text.C:
5782         * text2.C: eliminates the needFullRow/display() stuff
5783         altogether, putting the logic in metrics/draw in the insets.
5784
5785 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5786
5787         * text2.C (redoParagraphInternal, redoParagraphs):
5788         * text.C (redoParagraph): add a call to updateRowPositions at the
5789         end of each 'metrics-like' call. Remove all others.
5790         (getRow): remove the 'y-computing' version.
5791         (getRowNearY): do not compute nor return the real y. Solve the
5792         'y < 0' problem and simplify.
5793
5794 2003-08-22  Angus Leeming  <leeming@lyx.org>
5795
5796         * *.[Ch]: clean-up of licence and author blurbs.
5797         Also move config.h out of a few .h files and into a few .C files.
5798
5799 2003-08-22  André Pönitz  <poenitz@gmx.net>
5800
5801         * lyxrow.[Ch]: add x_ and *fill_ members
5802
5803         * lyxtext.h:
5804         * text.C:
5805         * rowpainter.C:
5806         * text2.C: adjust/remove prepareToPrint() calls
5807
5808 2003-08-22  André Pönitz  <poenitz@gmx.net>
5809
5810         * lyxrow.[Ch]: add  end_ member
5811
5812         * lyxrow_funcs.C: use LyXRow::end_
5813
5814         * lyxtext.h (singleWidth): add LyXFont parameter
5815
5816         * rowpainter.C:
5817         * text2.C: adjust LyXText::singleWidth() calls
5818
5819         * text.C (redoParagraph): simplify row breaking logic
5820
5821
5822 2003-08-19  André Pönitz  <poenitz@gmx.net>
5823
5824         * funcrequest.C: initialize button_ member
5825
5826         * text3.C:
5827         * rowpainter.[Ch]: interface consolidation
5828
5829 2003-08-18  André Pönitz  <poenitz@gmx.net>
5830
5831         * BufferView.C:
5832         * BufferView_pimpl.C:
5833         * lyxfind.C:
5834         * paragraph_funcs.C:
5835         * rowpainter.C:
5836         * text3.C: remove LyXScreen::draw() and fitCursor calls
5837
5838         * BranchList.h: remove spurious semicolons
5839
5840         * MenuBackend.C: fix branchlist related crash
5841
5842 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5843
5844         * BranchList.[Ch]:
5845         * InsetList.[Ch]:
5846         * LColor.[Ch]:
5847         * LyXAction.C:
5848         * Makefile.am:
5849         * MenuBackend.[Ch]:
5850         * bufferparams.[Ch]:
5851         * factory.C:
5852         * lfuns.h:
5853         * lyxfunc.C:
5854         * text3.C: implements the 'branch inset'
5855         idea. This allows the output of various versions of a document
5856         from a single source version, selectively outputing or suppressing
5857         output of parts of the text.
5858         This implementation contains a 'branch list editor' in a separate
5859         tab of the document settings dialog. Branches are user definable
5860         and have a "display colour" to distinguish them on-screen.
5861
5862         ColorHandler was somewhat cleaned up.
5863         (1) make possible a dynamically growing LColor list by allowing
5864         the graphic context cache to grow along (vector);
5865         (2) eliminate an IMHO unnecessary step in colour allocation.
5866
5867 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5868
5869         * BufferView_pimpl.C: compile fix
5870
5871 2003-08-15  André Pönitz  <poenitz@gmx.net>
5872
5873         * rowpainter.C: remove extra metrics calls
5874
5875         * lyxtext.h: merge the two constructors into a single one,
5876           pass reference to owner's par list
5877
5878         * BufferView_pimpl.C:
5879         * text.C:
5880         * text2.C: adjust
5881
5882 2003-08-15  André Pönitz  <poenitz@gmx.net>
5883
5884         * lyxrow_funcs.[Ch]:
5885         * lyxtext.h:
5886         * paragraph.h:
5887         * paragraph_funcs.C:
5888         * rowpainter.C:
5889         * text.C:
5890         * text2.C:
5891         * text3.C:
5892         * text_funcs.C: split LyXText::rowlist_ into individual
5893         Paragraph::rows_ chunks
5894
5895         * BufferView.[Ch]:
5896         * BufferView_pimpl.[Ch]:
5897         * lyxfind.C:
5898         * lyxtext.h:
5899         * text3.C: remove toggleSelection()
5900
5901 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5902
5903         * bufferlist.C: beautify two alerts (shorter text of buttons)
5904         * buffer.C: Remove redundant ' ' from message
5905         * tabular.h:
5906         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5907         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5908         rename VALIGN_CENTER to VALIGN_MIDDLE
5909
5910 2003-08-11  André Pönitz  <poenitz@gmx.net>
5911
5912         * lyxtext.h (getPar):
5913         * text.C: new function
5914
5915 2003-08-11  André Pönitz  <poenitz@gmx.net>
5916
5917         * Makefile.am:
5918         * tracer.[Ch]: remove unneeded files
5919
5920         * InsetList.[Ch]: remove resizeInsetsLyXText()
5921
5922         * lyxtext.h:
5923         * text.C:
5924         * text2.C:
5925         * text3.C: merge insertParagraphs() and appendParagraph()
5926         remove breakAgain(), update()
5927
5928         * BufferView_pimpl.[Ch]:
5929         * bufferview_funcs.[Ch]:
5930         * lyxfunc.C:
5931         * paragraph.[Ch]:
5932         * rowpainter.C:
5933         * tabular.C: adjust after text & InsetList changes.
5934
5935 2003-08-08  André Pönitz  <poenitz@gmx.net>
5936
5937         * text.C (insertChar, backspace): replace rowlist fiddling
5938         with rebreak of full par
5939
5940         * lyxtext.h:
5941         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5942         checkParagraph, updateInset): removed
5943
5944 2003-08-07  André Pönitz  <poenitz@gmx.net>
5945
5946         * paragraph.C:
5947         * text3.C: merge some LFUN handlers, remove dead code
5948
5949 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5950
5951         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5952
5953 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5954
5955         * text2.C (DEPM): fix part of bug 1255 and 1256
5956
5957 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5958
5959         * BufferView_pimpl.C (workAreaDispatch): change to use
5960         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5961         that are no mouse related.
5962
5963 2003-08-05  André Pönitz  <poenitz@gmx.net>
5964
5965         * BufferView.[Ch]:
5966         * BufferView_pimpl.[Ch]:
5967         * bufferview_funcs.C:
5968         * text2.C:
5969         * text3.C: rip out "deep update"
5970
5971         * textcursor.[Ch] (last_sel_cursor): remove unused member
5972
5973 2003-08-04  André Pönitz  <poenitz@gmx.net>
5974
5975         * BufferView.[Ch]:
5976         * BufferView_pimpl.[Ch]:
5977         * ParagraphParameters.C:
5978         * bufferview_funcs.C:
5979         * lyx_cb.C:
5980         * lyxfind.C:
5981         * lyxfunc.C:
5982         * text.C:
5983         * text2.C:
5984         * text3.C: replace "complicated" BufferView::update(...) calls with
5985         simpler ones.
5986
5987         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5988
5989 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5990
5991         * Makefile.am (lyx_SOURCES): add paper.h
5992
5993 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5994
5995         * Makefile.am: move things around so that both lyx-qt and
5996         lyx-xforms can be built (according to --with-frontend). Then lyx
5997         is a symbolic link to lyx-[firstfrontend]
5998
5999 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6000
6001         * Always use std::endl with lyxerr
6002
6003 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6004
6005         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6006
6007 2003-08-01  André Pönitz  <poenitz@gmx.net>
6008
6009         * BufferView.[Ch]:
6010         * BufferView_pimpl.[Ch]:
6011         * lyxfunc.C:
6012         * text3.C: merge BufferView::repaint() and BufferView::update()
6013
6014 2003-08-01  José Matos  <jamatos@lyx.org>
6015
6016         * buffer.[Ch]: file_format is no longer a buffer data element.
6017
6018 2003-08-01  André Pönitz  <poenitz@gmx.net>
6019
6020         * BufferView.C:
6021         * lyxtext.h:
6022         * text.C:
6023         * text2.C: make redoParagraph more independent of current cursor
6024
6025         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6026         * text.C:
6027         * text2.C: remove unneeded members
6028
6029 2003-07-30  André Pönitz  <poenitz@gmx.net>
6030
6031         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6032
6033         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6034           create a single function...
6035
6036         * paragraph_funcs.C (moveItem): ... here.
6037
6038         * text.C:
6039           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6040
6041 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6042
6043         * LColor.[Ch]: Add comment and greyedout logical colors.
6044
6045 2003-07-30  André Pönitz  <poenitz@gmx.net>
6046
6047         * tabular.C: don't use Assert too heavily. This crashes where it
6048           shouldn't
6049
6050 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6051
6052         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6053         is disabled (bug 1232)
6054
6055 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6056
6057         * factory.C: limited 'arg' scope
6058
6059 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6060
6061         * factory.C: fixed Note submenu issues
6062
6063 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6064
6065         * factory.C: submenu for Note/Comment/Greyedout
6066
6067 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6068
6069         * lyx_main.C (LyX):
6070         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6071
6072 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6073
6074         * LaTeXFeatures.C:
6075         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6076         greyedout. Patch provided by Jürgen Spitzmüller.
6077
6078 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6079
6080         * kbmap.C (read): fix error message when reading bind files
6081
6082 2003-07-29  Angus Leeming  <leeming@lyx.org>
6083
6084         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6085         certainly does not do what it purports to do. I am doing it, and
6086         us, a favour by killing it.
6087
6088 2003-07-28  José Matos  <jamatos@lyx.org>
6089
6090         * buffer.C (readBody, do_writeFile):
6091         * paragraph.C(readParagraph): \end_document replaces \the_end.
6092
6093 2003-07-29  André Pönitz  <poenitz@gmx.net>
6094
6095         * BufferView.[Ch]:
6096         * BufferView_pimpl.[Ch]:
6097         * lyxfunc.C:
6098         * text2.C:
6099         * text3.C:
6100         * textcursor.[Ch]: remove toggleToggle & Co
6101
6102 2003-07-28  José Matos  <jamatos@fep.up.pt>
6103
6104         * buffer.C (readParagraph):
6105         * params_func (readParToken, readParagraph):
6106         * paragraph.C (write): \layout -> \begin_layout.
6107
6108 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * lyxlex_pimpl.C (setFile): clean up slightly.
6111
6112         * bufferparams.h: add compressed var
6113
6114         * buffer_funcs.C (readFile): adjust for LyXLex change
6115         (newFile): ditto + simplify
6116
6117         * buffer.C (writeFile): handle writing of compressed files
6118
6119         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6120         Check if the file is compressed and set a bufferparm if so.
6121
6122         * Makefile.am (lyx_LDADD): remove explicit -lz
6123
6124 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6125
6126         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6127         makeDocBookFile): put the real LyX version in the first line of
6128         the file
6129
6130         * version.h:
6131         * version.C.in: remove lyx_docversion
6132
6133         * tabular.C (write_attribute): add a template-based version to
6134         write enums properly
6135
6136 2003-07-28  André Pönitz  <poenitz@gmx.net>
6137
6138         * lyxtext.h:
6139         * text.C:
6140         * text2.C:
6141         * text3.C: use doubles again for x-coordinates. They are needed.
6142
6143 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6144
6145         * messages.C (getLocaleDir): use lyx_localedir()
6146
6147         * lyxlex_pimpl.C (setFile): compress stuff
6148
6149         * buffer.C (writeFile): add some compression stuff
6150         (do_writeFile): new func, dont call expliti close... will this
6151         breake anything?
6152
6153         * Makefile.am (lyx_LDADD): add -lz
6154
6155 2003-07-28  José Matos  <jamatos@fep.up.pt>
6156
6157         * buffer.C: increment file format.
6158         * paragraph_funcs (readParagraph, readParToken):
6159         * paragraph.C (readParagraph): add \end_layout.
6160
6161 2003-07-27  Angus Leeming  <leeming@lyx.org>
6162
6163         * Makefile.am: remove special casing for configure-time setting of
6164         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6165
6166         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6167         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6168
6169 2003-07-26  André Pönitz  <poenitz@gmx.net>
6170
6171         * paragraph_func.[Ch]:
6172         * paragraph.C (realizeFont): inline it whereever it is used
6173
6174         * rowpainter.C:
6175         * text.C:
6176         * text2.C:
6177         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6178
6179
6180 2003-07-26  André Pönitz  <poenitz@gmx.net>
6181
6182         *       lyxtext.h:
6183         * text.C:
6184         * text2.C: get rid of LyXText::need_break_row
6185
6186 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6187
6188         * toc.[Ch]: put namespace toc inside namespace lyx
6189
6190         * MenuBackend.C (expandToc2): adjust for lyx::toc
6191         (expandToc): ditto
6192
6193         * lyxfunc.C (dispatch): adjust for lyx::find
6194
6195         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6196         lyx::find instead. Reorganize a bit.
6197         (LyXReplace): rename to replace
6198         (LyXFind): rename to find
6199
6200         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6201         (dispatch): ditto
6202
6203 2003-07-26  André Pönitz  <poenitz@gmx.net>
6204
6205         * text.C (setHeightOfRow): restrict scope of temporary variable
6206
6207         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6208           code (never has been used?)
6209
6210 2003-07-27  Asger Alstrup  <alstrup@local>
6211
6212         * text.C (fill): Optimise algorithm to exploit that we can reuse
6213         the LyXFont for many characters.
6214         (setHeightOfRow): Same thing.
6215         (rowBreakPoint): Same thing.
6216
6217 2003-07-26  Asger Alstrup  <alstrup@local>
6218
6219         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6220
6221         * text.C (singleWidth): Spurious font copying in hot-spot
6222         singleWidth avoided. Reorder tests for arabic for efficiency.
6223
6224         * text.C (fill): handle empty paragraphs better.
6225
6226 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6227
6228         * ispell.C:
6229         * encoding.h: add includes
6230
6231         * lyxrc.C: remove reading of bind files
6232
6233         * lyx_main.C (init): setup bindings and menus only if we have a
6234         gui.
6235
6236         * kbmap.C (read): new method. Do the actual reading of bind
6237         files.
6238
6239         * converter.C (dvipdfm_options):
6240         * bufferparams.C:
6241         * lyxrc.C (read):
6242         (output): adapt PAPER_* enums.
6243
6244         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6245
6246         * bufferparams.h: remove paper-related enums from there
6247
6248         * paper.h: New file. A trivial header file to hold paper-related
6249         enums. It should later expand to contain many paper-related
6250         horrors access.
6251
6252         * lyxrc.C: declare extern displayTranslator
6253
6254 2003-07-27  José Matos  <jamatos@fep.up.pt>
6255
6256         * tabular.[Ch] (linuxdoc): add support for tables and figures
6257         (linuxdoc).
6258
6259 2003-07-27  José Matos  <jamatos@fep.up.pt>
6260
6261         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6262         consistency in both functions.
6263         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6264
6265 2003-07-26  Asger Alstrup  <alstrup@local>
6266
6267         * rowpainter.C (paintRows): Change algorithm to work directly on
6268         the insets rather than asking every character in the document
6269         whether its an inset.
6270
6271 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6272
6273         * buffer.C (openFileWrite): factorize some code
6274
6275 2003-07-26  Angus Leeming  <leeming@lyx.org>
6276
6277         * lyx_cb.C:
6278         * lyx_main.[Ch]: replace occurances of system_tempdir with
6279         os::getTmpDir().
6280
6281 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6282
6283         * rename Inset to InsetOld
6284
6285 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6286
6287         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6288         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6289         which I think is a bit clearer. EDIT is gone, since it was
6290         premature optimisation, and broken for mathed anyway.
6291         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6292         with cursor positioning in insets as well (math insets still do not
6293         work, but that's a different story anyway.) It mysteriously
6294         crashes sometimes with undo in the first paragraph, but I'm fairly
6295         confident that this is a compiler bug.
6296
6297 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * paragraph.C (Paragraph): adjust for new clone return type
6300         (operator==): ditto
6301         (copyIntoMinibuffer): ditto
6302
6303 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6304
6305         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6306         by not having a special case, and always doing a full rebreak of
6307         the document after undo.
6308
6309 2003-07-23  Angus Leeming  <leeming@lyx.org>
6310
6311         * factory.C (createInset): InsetExternal::setParams now takes a
6312         Buffer const * arg.
6313
6314 2003-07-23  Angus Leeming  <leeming@lyx.org>
6315
6316         * factory.C (createInset): changed interface to the external and
6317         graphics mailers' string2params functions.
6318
6319 2003-07-23  Angus Leeming  <leeming@lyx.org>
6320
6321         * factory.C (createInset): pass a
6322         Buffer const * parameter to InsetExternalMailer's string2params.
6323
6324 2003-07-22  John Levon  <levon@movementarian.org>
6325
6326         * Thesaurus.h: include the right aiksaurus header
6327
6328 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6329
6330         * MenuBackend.C (expand): check menu shortcuts unconditionally
6331
6332 2003-07-21  Angus Leeming  <leeming@lyx.org>
6333
6334         * factory.C (createInset): pass a
6335         buffer_path parameter to InsetGraphicsMailer's string2params.
6336
6337 2003-07-21  Angus Leeming  <leeming@lyx.org>
6338
6339         * BufferView_pimpl.C (buffer):
6340         * buffer.C (d-tor):
6341         * lyx_main.C (LyX):
6342         * lyxfunc.C (dispatch):
6343         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6344         rather than the grfx shortcut.
6345
6346 2003-07-21  André Pönitz  <poenitz@gmx.net>
6347
6348         * rowpainter.C: remove unused variables
6349
6350         * tabular_funcs.C:
6351         * tabular_funcs.h: move to tabular.C
6352         * Makefile.am: adjust
6353
6354         * tabular.[Ch]: basic optical cleaning
6355
6356         * author.h: pass references, not values
6357
6358 2003-07-18  André Pönitz  <poenitz@gmx.net>
6359
6360         * lyxtext.h:
6361         * metricsinfo.C:
6362         * metricsinfo.h:
6363         * rowpainter.C:
6364         * text.C:
6365         * text2.C:
6366         * text3.C: two-phase drawing for InsetText and InsetTabular
6367         some float -> int changes.
6368
6369 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6370
6371         * lyx_main.C: fix the fix
6372
6373 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6374
6375         * lyx_main.C: fix a crash in batch mode if no files specified
6376         * converter.C: ws
6377
6378 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6379
6380         * format.[Ch] (papersize): moved to BufferParams
6381         * converter.[Ch] (dvips_options): moved to BufferParams
6382         (dvipdfm_options): moved to anon namespace
6383         * bufferparams.[Ch]: added above functions.
6384
6385 2003-07-17  André Pönitz  <poenitz@gmx.net>
6386
6387         * lyxtext.h:
6388         * rowpainter.C:
6389         * text2.C: don't call inset->update() anymore
6390
6391         * metricsinfo.[Ch]: add convenience constructor
6392
6393 2003-07-16  André Pönitz  <poenitz@gmx.net>
6394
6395         * lyxcursor.[Ch]:
6396         * lyxfunc.[Ch]:
6397         * text.C:
6398         * text2.C: replace the LyXCursor::irow_ member with
6399          on-demand computation of the value
6400
6401 2003-07-16  John Levon  <levon@movementarian.org>
6402
6403         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6404
6405 2003-07-15  André Pönitz  <poenitz@gmx.net>
6406
6407         * text.C:
6408         * text2.C: remove no more needed refresh_row
6409
6410 2003-07-15  André Pönitz  <poenitz@gmx.net>
6411
6412         * lyxtext.h:
6413         * rowpainter.C:
6414         * text2.C:
6415         * text3.C: refresh_status tristate -> need_update bool
6416
6417 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6418
6419         * lyxtext.h (init): remove reinit argument (act as if always true)
6420         * text2.C: adjust to that
6421
6422 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6423
6424         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6425         * text3.C: use it to delete selections in some cases
6426         (bugs 441, 673, 702, 954).
6427
6428 2003-07-14  André Pönitz  <poenitz@gmx.net>
6429
6430         * rowpainter.[Ch]: reduce interface
6431
6432 2003-07-14  André Pönitz  <poenitz@gmx.net>
6433
6434         * BufferView_pimpl.C:
6435         * text2.C: adjust after removing unused BufferView * argument
6436
6437 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6438
6439         * text2.C (init): fix a crash fired on resize
6440
6441 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6442
6443         * buffer.[Ch]: added new closing signal
6444         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6445         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6446         BufferView::Pimpl via the closing the signal
6447
6448 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6449
6450         * buffer.[Ch]: take out all bv-related from buffer
6451         * BufferView.C:
6452         * BufferView_pimpl.[Ch]: connect to new signals
6453         * CutAndPaste.C: removed useless asserts
6454         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6455         * lyxvc.[Ch]:
6456         * vc-backend.[Ch]:
6457         * lyxfunc.C: moved view-related funciontality from vc here
6458         * paragraph.C: removed outdated comments
6459         * text.C: ws
6460
6461 2003-07-10  André Pönitz  <poenitz@gmx.net>
6462
6463         * BufferView_pimpl.C:
6464         * tabular.h:
6465         * tabular_funcs.C:
6466         * text.C:
6467         * text2.C: remove InsetText::InnerCache, clean up consequences
6468
6469 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6470
6471         * ispell.C: fix two typos in error messages
6472
6473 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6474
6475         * Extend Note inset to other forms of annotation like Comment
6476         and Greyedout. Right button click gives dialog.
6477
6478         Files modified or added (+):
6479
6480         * insetnote.[Ch]
6481         * FormNote.[Ch]      +
6482         * ControlNote.[Ch]   +
6483         * form_note.fd       +
6484         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6485         frontends/controllers
6486         * xforms/Dialogs.C
6487         * factory.C
6488
6489 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6490
6491         * aspell.C: add missing namespace lyx::support
6492
6493 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6494
6495         * BufferView.[Ch] (newFile): Add
6496         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6497         * LaTeX.[Ch] (message): added this signal and use it
6498         * buffer.[Ch] (busy, message): added these signals and use them
6499         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6500         * converter.C:
6501         * exporter.C:
6502         * format.C:
6503         * importer.C: use buffer signals instead of direct bv calling
6504         * lyx_cb.[Ch] (ShowMessage): removed
6505         * lyx_main.C:
6506         * lyxfunc.C:
6507         * paragraph_funcs.C:
6508         * text2.C: use buffer signals
6509
6510 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * introduce namespace lyx::graphics
6513
6514 2003-07-02  André Pönitz  <poenitz@gmx.net>
6515
6516         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6517
6518 2003-07-01  André Pönitz  <poenitz@gmx.net>
6519
6520         * text.C:
6521         * text2.C:
6522         * text3.C:
6523         * text_funcs.[Ch]:
6524         * textcursor.h:
6525         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6526           text*.C to text_func.C
6527
6528 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6529
6530         * introduce namespace lyx::support
6531
6532 2003-06-30  André Pönitz  <poenitz@gmx.net>
6533
6534         * Chktex.C:
6535         * funcrequest.C:
6536         * lyxtext.h:
6537         * text.C: re-enable --with-included-string
6538
6539 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * textcursor.C: add <config.h>
6542
6543         * text.C (getWord): remove const from word_location arg
6544
6545         * lyxvc.C (getLogFile): fix const type order
6546
6547         * lyxtext.h: remove const from word_location arg, add arg name
6548
6549         * lyxlayout.h: currect type on labeltype.
6550
6551         * importer.C: correct \file
6552
6553         * converter.C (intToFormat): use std:: on ret val, ws changes
6554
6555         * bufferlist.h: correct \file
6556
6557         * buffer.C (makeLinuxDocFile): fix const type order
6558         (makeDocBookFile): ditto
6559         (fillWithBibKeys): use std:: on stdlib args.
6560
6561         * CutAndPaste.C: fix authors.
6562         (availableSelections): use std:: on return vector
6563
6564 2003-06-27  André Pönitz  <poenitz@gmx.net>
6565
6566         * BufferView_pimpl.C:
6567         * bufferview_funcs.C:
6568         * lyxcursor.C:
6569         * lyxcursor.h:
6570         * lyxfunc.C:
6571         * lyxtext.h:
6572         * rowpainter.C:
6573         * text.C:
6574         * text2.C:
6575         * text3.C: remove LyXCursor::row_ member
6576
6577         * lyxtext.h:
6578         * text.C: rename fullRebreak() to partialRebreak() and implement
6579           a fullRebreak() that really bereks fully
6580
6581         * textcursor.h: new struct for cursor-related data
6582
6583 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6584
6585         * lyx_main.C (LyX): get full path of document loaded on the
6586         command line
6587
6588 2003-06-26  André Pönitz  <poenitz@gmx.net>
6589
6590         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6591           remove unused/broken operator>,<,>=.
6592
6593         *       text.C: remove only use of broken operator<= in an Assert().
6594
6595 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6596
6597         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6598         moved errorlist_.clear to showErrorList
6599
6600 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6601
6602         * converter.C (scanLog, runLaTeX):
6603         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6604         move the bv->showErrorList call to the callers
6605         * lyxfunc.C: i.e. here...
6606         * text2.C: and here
6607         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6608         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6609         namespace, the second to...
6610         * buffer_funcs (BufferFormat, parseErrors): added
6611         * errorlist.C (ErrorList(TeXErrors const &)): removed
6612
6613 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6614
6615         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6616
6617 2003-06-24  "Garst R. Reese" <reese@isn.net>
6618
6619         * debug.C: fix typo
6620
6621 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6622
6623         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6624
6625         * version.C.in: change docversion to 1.4
6626
6627 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6628
6629         * buffer.C: fix a bug just introduced
6630
6631 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6632
6633         * buffer.[Ch]: added the parseError signal and use it, removed
6634         sgmlError
6635         * BufferView.[Ch] (addError): moved to ...
6636         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6637         to the Buffer::parseError signal to catch (guess what) parse errors
6638         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6639
6640 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6641
6642         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6643         ability to create a buffer and to return an existing one from
6644         the list. Moved these functions to...
6645         * buffer_funcs.[Ch]: added
6646         * BufferView.[Ch] (loadLyXFile): added
6647         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6648         job removed from bufferlist::loadLyXFile.
6649         * buffer.C (setReadOnly): make it work without view
6650         (i.e added an if (users))
6651
6652 2003-06-19  Angus Leeming  <leeming@lyx.org>
6653
6654         * lfuns.h:
6655         * LyXAction.C (init):
6656         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6657         with LFUN_DIALOG_SHOW <name> <data>.
6658
6659 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6660
6661         * CutAndPaste.C (availableSelections): small compilation fix for
6662         ancient (gcc 2.9x) compilers
6663
6664 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6665
6666         * text3.C (cursorNext): add tmp var
6667
6668         * text2.C (updateCounters): for function calling out of for clause
6669         (replaceSelectionWithString): ditto
6670         (insertStringAsParagraphs): ditto
6671         (getColumnNearX): add tmp var
6672         (setCursorFromCoordinates): add tmp var
6673         (cursorDownParagraph): add tmp var
6674         (deleteEmptyParagraphMechanism): add tmp var
6675
6676         * text.C (insertChar): add tmp var
6677
6678         * rowpainter.C (paintDepthBar): add tmp var
6679
6680         * CutAndPaste.C (availableSelections): potentially check all
6681         paragraphs in a cut to fill the shown strings.
6682
6683 2003-06-18  André Pönitz  <poenitz@gmx.net>
6684
6685         * kbmap.[Ch]: use vector<> instead of list<>
6686
6687 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6688
6689         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6690         pasteSelection with index
6691
6692         * text2.C (pasteSelection): modify, call pasteSelection with index
6693
6694         * paragraph.C (asString): reimplement version with no interval to
6695         call the one with interval.
6696
6697         * lyxtext.h: add index arg to pasteSelection
6698
6699         * MenuBackend.C (MenuItem): handle PasteRecent
6700         (Menu::read::Menutags): add md_pasterecent
6701         (read): handle it
6702         (expandPasteRecent): new function
6703         (expand): use it
6704
6705         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6706
6707         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6708         the limited stack
6709         (availableSelections): new function
6710
6711 2003-06-17  Angus Leeming  <leeming@lyx.org>
6712
6713         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6714
6715 2003-06-17  Angus Leeming  <leeming@lyx.org>
6716
6717         * lfuns.h:
6718         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6719
6720         * lyxfunc.C (dispatch): invoke it.
6721
6722 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6723
6724         * iterators.C (operator++, ParPosition): reintroduce some
6725         const_cast for the benefit of older compilers.
6726
6727 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6728
6729         * text3.C (dispatch): do not modify clipboard when doing
6730         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6731         LFUN_DELETE_SKIP on a selection selection
6732
6733 2003-06-16  André Pönitz  <poenitz@gmx.net>
6734
6735         * BufferView.C:
6736         * buffer.C:
6737         * buffer.h:
6738         * paragraph.C:
6739         * tabular.[Ch]: IU of clone() and getLabelList();
6740
6741 2003-06-13  André Pönitz  <poenitz@gmx.net>
6742
6743         * tabular.h: compactification
6744
6745 2003-06-12  André Pönitz  <poenitz@gmx.net>
6746
6747         * tabular.C:
6748         * tabular.h:
6749         * tabular_funcs.h: some renaming plus whitespace
6750
6751 2003-06-12  André Pönitz  <poenitz@gmx.net>
6752
6753         * BufferView.C:
6754         * BufferView_pimpl.C:
6755         * CutAndPaste.C:
6756         * buffer.C:
6757         * iterators.[Ch]:
6758         * lyxfunc.C:
6759         * text.C:
6760         * toc.C: Return a Paragraph & for ParIterator::operator*()
6761
6762 2003-06-11  John Levon  <levon@movementarian.org>
6763
6764         * lyx_main.C:
6765         * ToolbarBackend.h:
6766         * ToolbarBackend.C: add "Toolbars" section and
6767         put the flags there
6768
6769 2003-06-10  Angus Leeming  <leeming@lyx.org>
6770
6771         * lfuns.h:
6772         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6773
6774         * lyxfunc.C (dispatch): invoke it.
6775
6776 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * main.C: protect <ios> with HAVE_IOS
6779         (main): protect sync_with_stdio with HAVE_IOS
6780
6781 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6782
6783         * text2.C (cutSelection): adjust
6784         (pasteSelection): adjust
6785
6786         * messages.C: handle get of empty string
6787
6788         * main.C (main): use sync_with_stdio(false)
6789
6790         * lyxfunc.C (dispatch): adjust
6791
6792         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6793         (WriteAs): remove unneeded BufferView arg.
6794
6795         * bufferparams.h: use correct types on papersize, papersize2 and
6796         paperpackage.
6797
6798         * bufferparams.C (readToken): adjust for type
6799         (writeLaTeX): add missing cases to switch.
6800
6801         * bufferlist.C (quitWriteBuffer): adjust
6802         (close): adjust
6803
6804         * buffer.C (asciiParagraph): remove some commented code.
6805
6806         * CutAndPaste.C: remove current_view extern variable.
6807         (cutSelection): add BufferParams arg.
6808         (eraseSelection): add BufferParams arg.
6809         (pasteSelection): add Buffer const & arg
6810
6811 2003-06-07  John Levon  <levon@movementarian.org>
6812
6813         * buffer.C:
6814         * paragraph_funcs.C:
6815         * paragraph_pimpl.C:
6816         * text.C:
6817         * text2.C:
6818         * paragraph.h:
6819         * paragraph.C: allow InsetERT to freely space lines,
6820         and some consolidation of code
6821
6822 2003-06-06  José Matos  <jamatos@fep.up.pt>
6823
6824         * buffer.C (makeDocBookFile): fix bug #821
6825
6826 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6829
6830 2003-06-04  Angus Leeming  <leeming@lyx.org>
6831
6832         * buffer.C: bump format to 224.
6833
6834 2003-06-05  André Pönitz  <poenitz@gmx.net>
6835
6836         * text2.C (redoParagraphs): remove two const_cast<>
6837
6838 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6839
6840         * ParagraphList.h: remove last remnants of NO_STD_LIST
6841
6842 2003-06-03  Angus Leeming  <leeming@lyx.org>
6843
6844         * factory.C (createInset): small change to the way InsetExternal's params
6845         are set.
6846
6847 2003-06-04  André Pönitz  <poenitz@gmx.net>
6848
6849         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6850
6851         * paragraph_pimpl.h:
6852         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6853
6854         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6855
6856         * undo_funcs.C: make some simple cases of undo work again
6857
6858 2003-06-03  John Levon  <levon@movementarian.org>
6859
6860         * ispell.C: HPUX doesn't have sys/select.h
6861         (from Albert Chin)
6862
6863 2003-06-03  John Levon  <levon@movementarian.org>
6864
6865         * CutAndPaste.C: update tabular and include inset
6866         buffer references
6867
6868         * buffer.h:
6869         * paragraph.h:
6870         * paragraph.C: remove owningBuffer(), don't pass Buffer
6871         to clone()
6872
6873         * factory.C: insetGraphicsParams changed
6874
6875 2003-06-02  John Levon  <levon@movementarian.org>
6876
6877         * LyXAction.C:
6878         * factory.C:
6879         * lfuns.h:
6880         * lyxfunc.C:
6881         * text3.C: remove insetparent
6882
6883 2003-06-02  John Levon  <levon@movementarian.org>
6884
6885         * buffer.h:
6886         * buffer.C: fix inset_iterator.end(), move out of line
6887         (bug 1149)
6888
6889 2003-06-01  John Levon  <levon@movementarian.org>
6890
6891         * text3.C: use a proper cut/paste when doing inset
6892         insert (from Jürgen Spitzmüller)
6893
6894 2003-06-01  John Levon  <levon@movementarian.org>
6895
6896         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6897
6898 2003-05-30  André Pönitz  <poenitz@gmx.net>
6899
6900         * rowpainter.C: unify second drawing phase
6901
6902 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6903
6904         * trans_mgr.C: remove one case of current_view
6905
6906         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6907
6908         * paragraph_funcs.h: remove paragraph.h include
6909
6910         * paragraph.h: delete NO_STD_LIST stuff
6911
6912         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6913
6914         * buffer.h: remove paragraph.h include
6915
6916         * ParagraphList.C: delete file
6917
6918         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6919
6920         * toc.C (getTocList): adjust
6921
6922         * paragraph_pimpl.C (validate): adjust
6923
6924         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6925
6926         * paragraph.C (Paragraph): adjust
6927         (getPositionOfInset): use const_iterator, adjust
6928         (bibitem): use const_iterator, adjust
6929         (setInsetOwner): adjust
6930
6931         * iterators.C (operator++): adjust
6932
6933         * InsetList.[Ch]: Replace selfmade iterator with standard
6934         vector::iterator also introduce const_iterator. Remove getPos,
6935         getInset and setInset from InsetTable. Adjust accordingly.
6936
6937         * BufferView.C (lockInset): adjust
6938         (ChangeInsets): adjust
6939
6940         * tabular.[Ch]: delete commented same_id functions
6941
6942 2003-05-28  John Levon  <levon@movementarian.org>
6943
6944         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6945
6946 2003-05-28  André Pönitz  <poenitz@gmx.net>
6947
6948         * metricsinfo.[Ch]: remove 'fullredraw' member
6949
6950 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6951
6952         * lyxtextclass.C (operator): remove caching.
6953
6954 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6955
6956         * text3.C: adjust
6957
6958         * text2.C (cursorBottom): adjust
6959         (setCounter): use ParagraphList::find, adjust
6960
6961         * text.C (workWidth): use ParagraphList::find, adjust
6962
6963         * lyxcursor.C (LyXCursor): adjust
6964
6965         * buffer.C (inset_iterator): adjust
6966
6967         * ParagraphList.h: make iterator(value_type) private, make
6968         ParagraphList a friend of iterator.
6969
6970         * ParagraphList.C (find): new function
6971
6972         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6973
6974 2003-05-27  André Pönitz  <poenitz@gmx.net>
6975
6976         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6977
6978 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6979
6980         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6981
6982 2003-05-26  John Levon  <levon@movementarian.org>
6983
6984         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6985
6986 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6987
6988         * remove same_id from function signatures, adjust.
6989
6990 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6993
6994         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6995
6996         * paragraph.C (Paragraph): get rid of same_ids parameter
6997
6998         * ParagraphList.C (insert): adjust
6999         (push_back): adjust
7000
7001 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7002
7003         * paragraph_funcs.C (breakParagraph): adjust
7004         (breakParagraphConservative): adjust
7005
7006         * buffer.C (readParagraph): adjust
7007
7008         * ParagraphList.C (insert): take a reference instead of a pointer
7009         (insert): adjust
7010
7011         * paragraph.[Ch] (id): new function
7012
7013         * bufferlist.C (newFile): adjust
7014
7015         * ParagraphList.C (ParagraphList): adjust
7016         (assign): adjust
7017         (push_back): take a reference instead of a pointer.
7018
7019         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7020
7021         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7022         instead.
7023
7024         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7025         set else use old code.
7026
7027         * ParagraphList.C: remove all NO_NEXT code and only compile this
7028         code of NO_STD_LIST is set.
7029
7030 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7031
7032         * BufferView_pimpl.C:
7033         * TextCache.C:
7034         * TextCache.h:
7035         * bufferlist.C:
7036         * errorlist.h:
7037         * format.C:
7038         * format.h:
7039         * graph.C:
7040         * lyxfunc.C:
7041         * lyxrc.C:
7042         * graphics/GraphicsConverter.C:
7043         * graphics/PreviewLoader.C: header adjustment
7044
7045 2003-05-23  Angus Leeming  <leeming@lyx.org>
7046
7047         * LaTeXFeatures.[Ch] (useBabel): new method.
7048         * bufferparams.C (writeLaTeX): use it.
7049
7050 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7051
7052         * ParagraphList.h (set): remove unused function.
7053
7054 2003-05-23  André Pönitz  <poenitz@gmx.net>
7055
7056         * BufferView.C:
7057         * BufferView_pimpl.C:
7058         * buffer.C:
7059         * buffer.h:
7060         * lyxfunc.C:
7061         * undo_funcs.C: setUndo reworked
7062
7063         * iterators.[Ch]: add access to topmost ParagraphList
7064
7065         * lyxtext.[Ch] (workWidth): add a const
7066
7067 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7068
7069         * texrow.[Ch] (increasePos): remove function
7070         * exporter.C (export): removed unused var and outdated comment
7071
7072 2003-05-23  Angus Leeming  <leeming@lyx.org>
7073
7074         * latexrunparams.h: rename fragile as moving_arg.
7075         * paragraph.C (simpleTeXOnePar): ditto.
7076         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7077
7078 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7081         (createUndo): ditto
7082         (textUndoOrRedo): comment out a currently unused var.
7083
7084         * paragraph.h (NO_NEXT): enable NO_NEXT
7085
7086         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7087
7088         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7089
7090         * exporter.C (Export): adjust for removeAutoInsets removal.
7091
7092         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7093
7094         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7095
7096         * BufferView.[Ch] (removeAutoInsets): delete function
7097
7098 2003-05-22  Angus Leeming  <leeming@lyx.org>
7099
7100         * latexrunparams.h: add a free_spacing variable.
7101
7102         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7103         to pass moving_arg, as the data is stored in runparams.fragile.
7104
7105         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7106         to Inset::latexOptional or to simpleTeXOnePar.
7107
7108         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7109         free_spacing arg to Inset::latexOptional.
7110
7111         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7112         free_spacing arg.
7113
7114 2003-05-22  Angus Leeming  <leeming@lyx.org>
7115
7116         * latexrunparams.h: add fragile and use_babel variables.
7117
7118         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7119         * buffer.C (makeLaTeXFile): store this returned value in
7120         runparams.use_babel, thus passing it to the inset::latex methods.
7121
7122         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7123         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7124
7125         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7126         longer has a fragile arg, as it is stored in runparams.fragile.
7127
7128         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7129         moving_arg parameter as the data is stored in runparams.fragile.
7130
7131         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7132         a fragile parameter as the data is stored in runparams.fragile.
7133
7134 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7137
7138 2003-05-22  Angus Leeming  <leeming@lyx.org>
7139
7140         * latexrunparams.h: add a 'bool nice' which defaults to false.
7141
7142         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7143         now encapsulated within runparams.
7144
7145         * bufferlist.C (updateIncludedTeXfiles):
7146         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7147
7148 2003-05-22  Angus Leeming  <leeming@lyx.org>
7149
7150         * latexrunparams.h: new file containing struct LatexRunParams.
7151         * Makefile.am: add new file.
7152
7153         * LaTeX.[Ch] (c-tor, run):
7154         * buffer.[Ch] (makeLaTeXFile):
7155         * bufferlist.[Ch] (updateIncludedTeXfiles):
7156         * converter.C (convert, scanLog):
7157         * converter.[Ch] (runLaTeX):
7158         * exporter.C (Export):
7159         * paragraph.[Ch] (simpleTeXOnePar):
7160         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7161         * paragraph_funcs.[Ch] (latexParagraphs):
7162         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7163         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7164         pass around a LatexRunParams parameter.
7165
7166 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * paragraph.[Ch]: remove unused constructor
7169
7170         * ParagraphList.C (erase): new function, taking two iterators
7171
7172 2003-05-22  André Pönitz  <poenitz@gmx.net>
7173
7174         * undo_funcs.C: remove duplicated code
7175
7176         * iterator.[Ch]: operator=
7177
7178 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * tabular.C (SetMultiColumn): ws changes
7181
7182         * rowpainter.C (paintFirst): get rid of a ->previous
7183
7184         * lyx_cb.C (getPossibleLabel): parlist simplification
7185
7186         * BufferView.C (ChangeInsets): simplify slightly.
7187
7188 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7189
7190         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7191         * lfuns.h: new LFUN_SPACE
7192         * lyxfunc.C: protected space has a new lfun
7193         * paragraph_funcs.C: read new space insets
7194         * text3.C:
7195         * factory.C: handle new space insets
7196
7197 2003-05-22  André Pönitz  <poenitz@gmx.net>
7198
7199         * BufferView.C:
7200         * BufferView_pimpl.C:
7201         * buffer.[Ch]:
7202         * lyxfunc.C:
7203         * undo_funcs.C: return a ParIterator from getParFromID.
7204
7205         * iterators.[Ch]: add two const's
7206
7207 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7208
7209         * toc.C (getTocList): adjust
7210
7211         * iterators.[Ch]: rework for parlist
7212
7213         * buffer.C (par_iterator_begin): adjust
7214         (par_iterator_end): adjust
7215
7216         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7217
7218         * BufferView.C (removeAutoInsets): adjust
7219         (ChangeInsets): adjust
7220
7221 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7222
7223         * text.C (top_y): fix bug 1110
7224
7225 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7226
7227         * errorlist.[Ch]: added
7228         * buffer.C:
7229         * BufferView.[Ch]:
7230         * BufferView_pimpl.C:
7231         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7232         instead
7233
7234 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7235
7236         * Makefile.am: ensure that lyx is relinked upon changes to the
7237         various "convenience" libs.
7238
7239 2003-05-20  Angus Leeming  <leeming@lyx.org>
7240
7241         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7242         files are compiled in alphabetical order again.
7243
7244         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7245
7246 2003-05-19  Angus Leeming  <leeming@lyx.org>
7247
7248         * gettext.[Ch]: remove "char const * _(char const *)".
7249
7250 2003-05-19  André Pönitz  <poenitz@gmx.net>
7251
7252         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7253
7254         * Makefile.am:
7255         * BufferView.C:
7256         * DepTable.h:
7257         * LaTeXFeatures.C:
7258         * buffer.C:
7259         * lyxfont.C:
7260         * lyxlex.h:
7261         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7262
7263 2003-05-19  André Pönitz  <poenitz@gmx.net>
7264
7265         * buffer.C:
7266         * lyxlayout.[Ch]:
7267         * lyxtextclass.[Ch]:
7268         * paragraph.C:
7269         * paragraph_funcs.[Ch]:
7270         * text2.C:
7271         * text3.C: more insetenv work
7272
7273 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7274
7275         * ParagraphParameters.C (params2string): small bug fixed
7276
7277 2003-05-16  André Pönitz  <poenitz@gmx.net>
7278
7279         * debug.C:
7280         * bufferview_funcs.C: patch from Kornel Benko to prevent
7281           crash when _(...) is called twice in a statement
7282
7283 2003-05-16  André Pönitz  <poenitz@gmx.net>
7284
7285         * BufferView.C:
7286         * lyxfunc.C:
7287         * text.C:
7288         * text2.C:
7289         * text3.C:
7290         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7291
7292 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7293
7294         * lyx_main.C (init): remove spurious static_cast
7295
7296 2003-05-14  André Pönitz  <poenitz@gmx.net>
7297
7298         * BufferView.C: fix format string
7299
7300 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7301
7302         * BufferView.[Ch] (insertErrors): removed
7303         * BufferView.[Ch] (showErrorList): added
7304         * buffer.C (runChkTeX):
7305         * converter.C (scanLog): call showErrorList instead of inserterrors
7306
7307 2003-05-13  André Pönitz  <poenitz@gmx.net>
7308
7309         * BufferView_pimpl.C:
7310         * buffer.C:
7311         * bufferview_func.C:
7312         * MenuBackend.C:
7313         * lyxfunc.C:
7314         * lyxrc.C:
7315         * tex-accent.C:
7316         * text3.C:
7317         * toc.C:
7318         * tabular_funcs.h: tostr() from its own header
7319
7320         * ParagraphParameters.C:
7321         * ToolbarBackend.C:
7322         * bufferparams.C:
7323         * format.C:
7324         * lyxlex_pimpl.C:
7325         * text3.C: STRCONV()
7326
7327 2003-05-12  André Pönitz  <poenitz@gmx.net>
7328
7329         * BufferView.C:
7330         * BufferView_pimpl.C:
7331         * CutAndPaste.C:
7332         * LaTeX.C:
7333         * LaTeXFeatures.C:
7334         * ParagraphParameters.C:
7335         * buffer.C:
7336         * bufferlist.C:
7337         * bufferparams.C:
7338         * bufferview_funcs.C:
7339         * converter.C:
7340         * counters.C:
7341         * debug.C:
7342         * exporter.C:
7343         * format.C:
7344         * importer.C:
7345         * lyx_cb.C:
7346         * lyx_main.C:
7347         * lyxfont.C:
7348         * lyxfunc.C:
7349         * lyxvc.C:
7350         * paragraph.C:
7351         * paragraph_funcs.C:
7352         * tabular.C:
7353         * tabular_funcs.C:
7354         * text2.C:
7355         * text3.C:  boost::format -> bformat  all over the place
7356
7357
7358 2003-05-09  André Pönitz  <poenitz@gmx.net>
7359
7360         * LColor.[Ch]: Pimpl the #include <map> away
7361
7362 2003-05-09  John Levon  <levon@movementarian.org>
7363
7364         * bufferlist.C: never remove emergency saves
7365
7366 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * Makefile.am: better lib building
7369
7370 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7373         instead.
7374         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7375         (simpleTeXSpecialChars): adjust
7376         (simpleTeXSpecialChars): adjust
7377         * paragraph.C (simpleTeXOnePar): adjust
7378         * buffer.C (makeLaTeXFile): adjust
7379
7380         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7381
7382         * text2.C (changeDepth): parlist cleanup
7383         (getColumnNearX): ditto
7384
7385         * rowpainter.C (getLabelFont): parlist cleanup
7386
7387         * bufferlist.C (newFile): parlist cleanup
7388
7389         * CutAndPaste.C (eraseSelection): parlist cleanup
7390
7391         * BufferView_pimpl.C (trackChanges): parlist cleanup
7392         (dispatch): ditto
7393
7394         * BufferView.C (lockInset): parlist cleanup.
7395         (ChangeInsets): ditto
7396
7397 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7398
7399         * CutAndPaste.h: Update file header.
7400
7401         * CutAndPaste.C: Update file header.
7402         Store the parts cut out of the Document in a limited_stack.
7403         (copySelection): adjust
7404         (pasteSelection): new function, takes the index in the limited stack.
7405         (nrOfParagraphs): adjust
7406         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7407         simplify error inset insertion.
7408         (checkPastePossible): adjust
7409
7410 2003-05-06  John Levon  <levon@movementarian.org>
7411
7412         * text2.C: don't cast wrap inset to float
7413
7414 2003-05-05  André Pönitz  <poenitz@gmx.net>
7415
7416         * iterator.C:
7417         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7418
7419         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7420           few naked Paragraph *.
7421
7422 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7423
7424         * bufferparams.C: Output warning if a document with missing
7425         TeX document class is loaded
7426         * exporter.C: Disable TeX exports if the document class is missing
7427         * lyxtextclass.C:
7428         * lyxtextclass.h:
7429         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7430         isTeXClassAvailable()
7431
7432 2003-05-03  John Levon  <levon@movementarian.org>
7433
7434         * BufferView.h:
7435         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7436         explicit cursor show/hide
7437
7438         * BufferView_pimpl.h:
7439         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7440         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7441
7442         * lyxfunc.C: hide cursor before dispatching.
7443
7444         * lyx_cb.C:
7445         * lyxfind.C:
7446         * text.C:
7447         * text3.C: remove explicit cursor hides
7448
7449 2003-05-02  André Pönitz  <poenitz@gmx.net>
7450
7451         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7452
7453         * undo_funcs.C:
7454         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7455           linked lists
7456
7457         * text2.C: tiny whitespace
7458
7459 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7460
7461         * undo_funcs.C: almost only ws changes.
7462
7463         * ParagraphList.C (splice): just return if pl is empty.
7464
7465 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7466
7467         * ParagraphList.C (splice): new function.
7468
7469         * CutAndPaste.C (pasteSelection): use it
7470
7471 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7472
7473         * CutAndPaste.C (pasteSelection): remove the last next and
7474         previous from this file.
7475
7476 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7477
7478         * CutAndPaste.C (pasteSelection): more clean up, user proper
7479         ParagraphList functions for pasteing.
7480
7481         * ParagraphList.C (insert): new function, three arg insert
7482
7483 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7484
7485         * ParagraphList.C (insert): new function, three arg insert
7486
7487         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7488         not on paragraphs.
7489
7490 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7491
7492         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7493
7494 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7497
7498 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7501         (copySelection): clean up a bit.
7502         (pasteSelection): use make_pair
7503
7504         * ParagraphList.C (ParagraphList): implement copy constructor
7505         (operator=): implement, base on copy constructor.
7506         (assign): new func
7507
7508         * paragraph.C (erase): return a bool
7509
7510         * paragraph_pimpl.C (erasePos): remove function, move contents...
7511         (erase): ... here. Return a bool.
7512         (erase): call erase instead of erasePos.
7513
7514 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7515
7516         * ParagraphList.h: define PitPosPair
7517         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7518         ParagraphList, fix a bug on pasting multiple pars
7519         * text2.C: change interface to C&P
7520
7521 2003-04-30  André Pönitz  <poenitz@gmx.net>
7522
7523         * undo_func.C: revert part of yesterday's patch 2
7524
7525 2003-04-30  John Levon  <levon@movementarian.org>
7526
7527         * LColor.C: s/tabular/table/
7528
7529 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7530
7531         * text3.C (dispatch): do not convert iterator -> pointer
7532         * undo_funcs.C (setCursorParUndo): ditto
7533         * text_funcs.C (transposeChars): ditto
7534
7535         * text2.C (setLayout): ws changes only
7536
7537         * text.C (breakParagraph): do not convert iterator -> pointer
7538         (insertChar): ditto
7539         (acceptChange): ditto
7540         (rejectChange): ditto
7541         (changeCase): ditto
7542         (Delete): ditto
7543         (backspace): ditto
7544
7545         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7546         pointer
7547
7548 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7549
7550         * text3.C (gotoInset): YABG (yet another bad getChar)
7551
7552 2003-04-29  André Pönitz  <poenitz@gmx.net>
7553
7554         * paragraph.h: make operator= private unimplemented as long as
7555           it is unusable
7556
7557         * ParagraphList.C: whitespace
7558
7559         * paragraph.[Ch]:
7560         * paragraph_pimpl.[Ch]:
7561         * paragraph_funcs.C:
7562         * CutAndPaste.C:
7563         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7564
7565         * text2.C:
7566           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7567
7568 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7569
7570         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7571         * paragraph.[Ch] (erase):
7572         * paragraph_pimpl.[Ch] (erase): change return type and value
7573         * text2.C (cutSelection): some rework
7574
7575 2003-04-28  John Levon  <levon@movementarian.org>
7576
7577         * bufferlist.C: changes for unsaved changes dialog
7578
7579 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * bufferlist.C (newFile): set language (messages_) for new
7582         documents also.
7583
7584         * buffer.C (readFile): ws changes only.
7585
7586 2003-04-28  André Pönitz  <poenitz@gmx.net>
7587
7588         * undo_funcs.C:
7589         * lyxfunc.C:
7590         * buffer.[Ch]:
7591         * BufferView_pimpl.C:
7592         * BufferView.C: getParFromID related ParagraphList::iterator changes
7593
7594 2003-04-28  André Pönitz  <poenitz@gmx.net>
7595
7596         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7597           Changes
7598
7599 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7600
7601         * messages.C: remove one more localedir class variable.
7602
7603 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7604
7605         * messages.C (getLocaleDir): singleton generation function
7606         (Pimpl): use it.
7607         (Messages): add a default constructor.
7608
7609         * main.C (main): do not setup localedir here, do not call
7610         gettext_init.
7611
7612         * gettext.C (_): use it.
7613         (gettext_init): delete funciton
7614
7615 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7616
7617         * gettext.C (getLyXMessages): new singleton generating function.
7618
7619         * buffer.C (updateDocLang): adjust
7620
7621         * Makefile.am (messages.o): add target
7622         (main.o): remove target
7623
7624 2003-04-27  John Levon  <levon@movementarian.org>
7625
7626         * bufferlist.C:
7627         * lyx_cb.C:
7628         * lyxfunc.C:
7629         * lyxvc.C: specify cancel button in Alert::prompt
7630
7631 2003-04-26  John Levon  <levon@movementarian.org>
7632
7633         * text3.C:
7634         * lyxfunc.C:
7635         * lfuns.h:
7636         * LyXAction.C: add LFUN_INSET_SETTINGS
7637
7638         * lyxfunc.C: don't enable tabular-feature when there's
7639         just any locking inset
7640
7641 2003-04-26  John Levon  <levon@movementarian.org>
7642
7643         * bufferlist.C: re-add Cancel to buffer close question
7644
7645         * lyxfunc.C: fix import UI a bit
7646
7647 2003-04-25  John Levon  <levon@movementarian.org>
7648
7649         * gettext.C: remove the broken asserts for now
7650
7651 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7652
7653         * messages.C: make case where setlocale cannot comply work better.
7654
7655         * buffer.C (updateDocLang): new function
7656         (changeLanguage): use it
7657         (readFile): use it
7658
7659         * text2.C (setCounter): use B_ a bit.
7660
7661         * lyxlayout.C (Read): be sure to trim the label strings.
7662
7663         * messages.C (Messages): fix typo in comment
7664
7665         * buffer.C (readFile): set message_ after file is loaded.
7666         (makeDocBookFile): remove double return
7667         (changeLanguage): reset message_ upon language change.
7668         (B_): new func, use this to get translated buffer strings.
7669
7670         * main.C: add myself and Jean Marc as authors.
7671
7672 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7673
7674         * messages.[hC]: pimplify Messages, and three different pimpls to be
7675         used in different circumstances.
7676
7677         * gettext.[Ch]: change for use with new message code.
7678
7679 2003-04-24 André Pönitz <poenitz@gmx.net>
7680
7681         * factory.C: support for eqref
7682
7683 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7684
7685         * messages.[Ch]: add missing char
7686
7687         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7688
7689         * messages.[Ch]: New files
7690
7691 2003-04-18  John Levon  <levon@movementarian.org>
7692
7693         * BufferView.h:
7694         * BufferView.C:
7695         * BufferView_pimpl.C:
7696         * lfuns.h:
7697         * LyXAction.C:
7698         * lyxtext.h:
7699         * text2.C: remove layout-copy/paste (bug 778)
7700
7701 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7702
7703         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7704
7705 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7706
7707         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7708         if they succeed. Act accordingly.
7709
7710 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7711
7712         * text2.C (setCharFont): adjust
7713         (setCounter): adjust
7714         (insertStringAsLines): adjust
7715
7716         * text.C (leftMargin): adjust
7717         (setHeightOfRow): adjust
7718
7719         * rowpainter.C (paintFirst): adjust
7720         (paintLast): adjust
7721
7722         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7723         (outerHook): ditto
7724         (isFirstInSequence): ditto
7725         (getEndLabel): ditto
7726         (outerFont): adjust
7727
7728         * paragraph.C (getParLanguage): comment out some hard stuff.
7729
7730         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7731         (sgmlError): ditto
7732         (simpleDocBookOnePar): ditto
7733         (makeDocBookFile): use ParagraphList::iterator
7734
7735         * CutAndPaste.C (pasteSelection): adjust
7736
7737 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * text2.C (getFont): adjust
7740         (getLayoutFont): adjust
7741         (getLabelFont): adjust
7742
7743         * paragraph_funcs.C (TeXOnePar): adjust
7744
7745         * buffer.C (simpleLinuxDocOnePar): adjust
7746         (simpleDocBookOnePar): adjust
7747
7748         * CutAndPaste.C (pasteSelection): adjust
7749
7750         * BufferView.C (getEncoding): adjust
7751
7752         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7753
7754 2003-04-16  John Levon  <levon@movementarian.org>
7755
7756         * lyxfind.C: use parlist stuff for search/changes
7757
7758 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7759
7760         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7761
7762         * text2.C (deleteEmptyParagraphMechanism): adjust
7763
7764         * text2.[Ch] (ownerParagraph): delete func (both of them
7765
7766 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7767
7768         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7769
7770 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7771
7772         * ParagraphList.C: prepare for NO_NEXT
7773
7774 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7775
7776         * text2.C (getFont): adjust
7777         (getLayoutFont): adjust
7778         (getLabelFont): adjust
7779
7780         * paragraph.C (getFont): adjust
7781         (getLabelFont): adjust
7782         (getLayoutFont): adjust
7783
7784         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7785
7786 2003-04-15  John Levon  <levon@movementarian.org>
7787
7788         From Angus Leeming
7789
7790         * lyx_main.C: handle Include in .ui files
7791
7792 2003-04-15  John Levon  <levon@movementarian.org>
7793
7794         * MenuBackend.C: make the doc files length shorter
7795
7796         * ToolbarBackend.h:
7797         * ToolbarBackend.C: handle toolbar placement flags,
7798         Minibuffer
7799
7800 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7803         adjust
7804
7805         * paragraph_funcs.C (TeXOnePar): adjust
7806
7807         * paragraph.C (getLabelFont): add outerfont arg, adjust
7808         (getLayoutFont): ditto
7809         (simpleTeXOnePar): adjust
7810
7811         * paragraph_pimpl.C (realizeFont): delete func
7812
7813 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7814
7815         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7816         row argument, constify cur argument.
7817
7818 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * text2.C (getFont): adjust
7821         (getLayoutFont): adjust
7822         (getLabelFont): adjust
7823
7824         * paragraph_funcs.C (TeXOnePar): adjust
7825         (outerFont): new func...
7826         (realizeFont): ...moved out from here, changed this to facilitate
7827         transition
7828
7829         * paragraph.C (getFont): take outerfont as arg, adjust
7830         (simpleTeXOnePar): add outerfont arg, adjust
7831
7832         * buffer.C (simpleLinuxDocOnePar): adjust
7833         (simpleDocBookOnePar): adjust
7834
7835         * CutAndPaste.C (pasteSelection): adjust
7836
7837         * BufferView.C (getEncoding): adjust
7838
7839 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7840
7841         * text2.C (setCharFont): adjust
7842         (setCounter): adjust
7843
7844         * text.C (leftMargin): adjust
7845         (setHeightOfRow): adjust
7846
7847         * rowpainter.C (paintFirst): adjust
7848         (paintLast): adjust
7849
7850         * paragraph_pimpl.C (realizeFont): adjust
7851
7852         * paragraph.C (isFirstInSequence): move from here...
7853         * paragraph_funcs.C (isFirstInSequence): ...to here
7854
7855         * paragraph.C (outerHook): move from here...
7856         * paragraph_funcs.C (outerHook): ...to here
7857
7858         * paragraph.C (depthHook): move from here...
7859         * paragraph_funcs.C (depthHook): ...to here
7860
7861         * paragraph.C (getEndLabel): move from here...
7862         * paragraph_funcs.C (getEndLabel): ...to here
7863
7864         * text2.C (realizeFont): move from here...
7865         * paragraph_funcs.C (realizeFont): ...to here
7866
7867 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7868
7869         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7870
7871 2003-04-14  Angus Leeming  <leeming@lyx.org>
7872
7873         * LColor.[Ch]: scrap LColor mathcursor.
7874
7875 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7876
7877         * lyxlex.[Ch] (text): delete function
7878         * trans.C (Load): adjust
7879         * paragraph_funcs.C (readParToken): adjust
7880
7881 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7882
7883         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7884         vector<char> instead of a char[].
7885
7886         * lyxlex_pimpl.C (getString): adjust
7887         (next): adjust
7888         (lex): use getString
7889         (eatLine): adjust
7890         (nextToken): adjust
7891
7892         * lyxlex.C (text): use pimpl_->getString()
7893         (getBool): ditto
7894         (findToken): ditto
7895
7896 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7897
7898         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7899         (makeFontEntriesLayoutSpecific): temp var for par.size()
7900         (setLayout): temp var for ownerParagraphs().end()
7901         (fullRebreak): temp var for rows().end()
7902         (selectionAsString): temp var for boost::next(startpit), realize
7903         that the while really is a regular for loop.
7904         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7905         setCursor in one place.
7906         (setParagraph): temp vr for ownerParagraphs().end()
7907         (updateCounters): make the while loop a for loop
7908         (cutSelection): temp var for ownerParagraphs().end()
7909         (updateInset): make the do {} while() a regular for loop
7910         (getCursorX): use temp vars
7911         (setCurrentFont): use temp vars
7912         (getColumnNearX): use temp vars
7913
7914 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7915
7916         * text.C (transformChar): use temp var for getChar
7917         (computeBidiTables): use temp var for row->par()
7918         (fill): move temp vars for row->par() and pit->layout() earlier in
7919         the function.
7920         (labelFill): use temp var for row->par()
7921         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7922         asc and desc, realize that pit never changes and that firstpit is
7923         just a duplicate and not needed. Exchange rit->par() with pit in a
7924         lot of places.
7925         (breakAgain): use a temp var for boost::next(rit)
7926         (breakAgainOneRow): ditto
7927         (breakParagraph): use a temp var for rows().begin()
7928         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7929         (cursorRightOneWord): use temp var for cursor.par() and
7930         cursor.pos(), remove usage of tmpcursor.
7931         (cursorLeftOneWord): use temp var for cursor.par() and
7932         cursor.pos() only set cur at end of function.
7933
7934 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7935
7936         * text.C, text2.C: exchange all usage of Paragraph::next with
7937         boost::next(ParagraphList::iterator)
7938
7939         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7940
7941         * text2.C (cursorTop): simplify implementation
7942         (cursorBottom): ditto
7943         (setParagraph): use ParagraphList::iterator
7944         (setCurrentFont): adjust
7945         (getColumnNearX): adjust
7946         (cursorRight): adjust
7947         (cursorLeft): remove usage of Paragraph::previous
7948         (cursorUpParagraph): ditto
7949         (deleteEmptyParagraphMechanism): slight cleanup
7950
7951         * text.C (isBoundary): take a Paragraph const & instead of a
7952         pointer as arg.
7953         (addressBreakPoint): ditto
7954         (leftMargin): remove usage of Paragraph::previous.
7955         (setHeightOfRow): ditto
7956         (cursorLeftOneWord): ditto
7957         (selectNextWordToSpellcheck): ditto
7958         (Delete): ditto
7959         (backspace): ditto
7960         (breakParagraph): remove one usage of Paragraph::next
7961         (redoParagraph): ditto
7962         (acceptChange): ditto
7963         (insertChar): adjust
7964         (rowBreakPoint): adjust
7965
7966         * bufferview_funcs.C (toggleAndShow): adjust
7967
7968 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7969
7970         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7971         methods to access it.
7972         * lyxtext.h:
7973         * text.C: Added updateRowPositions to compute all row positions.
7974         Make top_y and getRowNearY() to use the cached y position
7975
7976 2003-04-11  John Levon  <levon@movementarian.org>
7977
7978         * text.C (rowBreakPoint): reintroduce the labelEnd
7979         checks, code copied from the row fill stuff. Deep voodoo.
7980
7981         * text.C (fill): add a comment and debugging for the
7982         next poor soul.
7983
7984 2003-04-11  John Levon  <levon@movementarian.org>
7985
7986         * text.C: make sure fullrow insets get wrapped to the next line,
7987         even when they're in a manual label
7988
7989 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7990
7991         * text2.C (insertParagraph): make it take ParagraphList::iterator
7992         as arg.
7993         (setLayout): make it return ParagraphList::iterator
7994         (redoParagraphs): ditto
7995         (setCounter): ditto
7996         (checkParagraph): ditto
7997
7998         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7999
8000         * text2.C: adjust several funcs.
8001         (realizeFont): take a ParagraphList::iterator as arg.
8002         (getLayoutFont): ditto
8003         (getLabelFont): ditto
8004         (setCharFont): ditto
8005
8006         * text.C: adjust several funcs.
8007
8008 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8009
8010         * text.C (selectNextWordToSpellcheck): don't accidentally
8011         skip insets
8012
8013 2003-04-10  John Levon  <levon@movementarian.org>
8014
8015         * ToolbarBackend.C (getIcon): special handling for
8016         LFUN_MATH_DELIM
8017
8018 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8019
8020         * text2.C (cursorRight): a getChar assert fixed
8021
8022 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8023
8024         * text2.C (getFont): change to take a ParagraphList::iterator
8025         instead of Paragraph*
8026         Adjust several functions.
8027
8028         * text.C (transformChar): change to take a ParagraphList::iterator
8029         instead of Paragraph*
8030         (singleWidth): ditto
8031         Adjust several functions.
8032
8033         * rowpainter.C: adjust several functions
8034         * rowpainter.h:store a ParagraphList::iterator and not a
8035         Paragraph&.
8036
8037
8038 2003-04-09  John Levon  <levon@movementarian.org>
8039
8040         * lyxfunc.C:
8041         * lfuns.h:
8042         * LyXAction.h:
8043         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8044         and the "help" bits as well
8045
8046 2003-04-09  John Levon  <levon@movementarian.org>
8047
8048         * ToolbarBackend.h:
8049         * ToolbarBackend.C: allow multiple toolbars
8050
8051 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8052
8053         * undo_funcs.C (setCursorParUndo): adjust
8054
8055         * text_funcs.C (transposeChars): adjust
8056
8057         * text3.C (gotoNextInset): adjust
8058         (dispatch): adjust
8059
8060         * text2.C (setLayout): adjust
8061         (changeDepth): adjust
8062         (setFont): adjust
8063         (redoParagraphs): adjust
8064         (selectionAsString): adjust
8065         (setParagraph): adjust
8066         (insertInset): adjust
8067         (cutSelection): adjust
8068         (copySelection): adjust
8069         (pasteSelection): adjust
8070         (insertStringAsLines): adjust
8071         (updateInset): adjust
8072         (setCursor): change to take a ParagraphList::iterator parameter
8073         (setCursorIntern): change to take a ParagraphList::iterator parameter
8074         (setCurrentFont): adjust
8075         (cursorLeft): adjust
8076         (cursorRight): adjust
8077         (deleteEmptyParagraphMechanism): adjust
8078
8079         * text.C (breakParagraph): adjust
8080         (insertChar): adjust
8081         (acceptChange): adjust
8082         (rejectChange): adjust
8083         (selectNextWordToSpellcheck): adjust
8084         (changeCase): adjust
8085         (Delete): adjust
8086         (backspace): adjust
8087
8088         * lyxfind.C (SearchForward): adjust
8089         (SearchBackward): adjust
8090         (nextChange): adjust
8091
8092         * lyxcursor.C (par): adjust
8093
8094         * lyxcursor.h: store a ParagraphList::iterator instead of a
8095         Paragraph*
8096
8097         * lyx_cb.C (getPossibleLabel): adjust
8098
8099         * bufferview_funcs.C (toggleAndShow): adjust
8100
8101         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8102         (dispatch): adjust
8103
8104         * BufferView.C (removeAutoInsets): adjust
8105         (lockedInsetStoreUndo): adjust
8106
8107 2003-04-09  John Levon  <levon@movementarian.org>
8108
8109         * ToolbarBackend.C: try icon without argument
8110         if with argument fails
8111
8112 2003-04-08  John Levon  <levon@movementarian.org>
8113
8114         * ToolbarBackend.h:
8115         * ToolbarBackend.C: add getIcon(), handle tooltip,
8116         and change from "Icon" to "Item".
8117
8118 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8119
8120         * BufferView.C (lockInset): another bad getchar crunched
8121
8122 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8123
8124         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8125         again)
8126
8127 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8128
8129         * lyxfind.C (searchForward, searchBackwards): bug 782
8130
8131 2003-04-07  John Levon  <levon@movementarian.org>
8132
8133         * paragraph.C: remove dead comment
8134
8135         * text.C: remove troublesome depth-fiddling code
8136         in leftMargin() and rightMargin() (bug 1017)
8137
8138         * text.C: fix breaking of rows in nested lists
8139         (bug 1004)
8140
8141         * text2.C (updateCounters): fix up depth values
8142         (bug 1013)
8143
8144 2003-04-07  John Levon  <levon@movementarian.org>
8145
8146         * BufferView_pimpl.C: clear message when doc finishes resizing,
8147         and after a mouse event
8148
8149         * lyxfunc.C: clear message after exiting inset
8150
8151 2003-04-07  John Levon  <levon@movementarian.org>
8152
8153         * bufferview_funcs.C: show math status not outside
8154         status in the statusbar
8155
8156 2003-04-07  John Levon  <levon@movementarian.org>
8157
8158         * lyxfunc.C: note status changed after a depth change
8159
8160 2003-04-04  Angus Leeming  <leeming@lyx.org>
8161
8162         * LaTeX.h: move AuxInfo operator==, != out of line.
8163         Remove LaTeX virtual destructor; nothing derives from it.
8164         Move operator()() out of public area and rename it startscript().
8165         Change protected for private.
8166
8167 2003-04-04  Angus Leeming  <leeming@lyx.org>
8168
8169         * lyxfunc.C:
8170         * text2.C: remove unneeded #includes.
8171
8172 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8173
8174         * text2.C (dEPM): fix the heigth of the next row
8175
8176 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8177
8178         * text.C: squashed an invalid getChar requester + some ws changes
8179
8180 2003-04-03  John Levon  <levon@movementarian.org>
8181
8182         * bufferview_funcs.h:
8183         * bufferview_funcs.C:
8184         * lyxfunc.C:
8185         * lyxtext.h:
8186         * text2.C: make getStatus work for the env depth lfuns
8187
8188 2003-04-03  John Levon  <levon@movementarian.org>
8189
8190         * bufferview_funcs.h:
8191         * bufferview_funcs.C:
8192         * lyxfunc.C:
8193         * lyxtext.h:
8194         * text2.C: parlistize decDepth(), by merging it with incDepth()
8195
8196 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8197
8198         * lyxrow.h: store a ParagraphList::iterator instead of a
8199         Paragraph* and adjust other class functions to suit.
8200
8201         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8202         above.
8203
8204 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8205
8206         * text2.C (setCursor): do not anchor to cursor row for the time being
8207
8208 2003-04-02  John Levon  <levon@movementarian.org>
8209
8210         * LyXAction.C:
8211         * lfuns.h:
8212         * lyx_main.C:
8213         * lyxtext.h:
8214         * text.C:
8215         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8216
8217 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8218
8219         * paragraph.h: make ParagraphList and ParagraphList::iterator
8220         friends of Paragraph.
8221
8222         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8223
8224         * ParagraphList.C: Use the private next_ and previous_ from
8225         Paragraph.
8226
8227 2003-04-01  John Levon  <levon@movementarian.org>
8228
8229         * ToolbarBackend.h:
8230         * ToolbarBackend.C:
8231         * Makefile.am: rename, remove defaults gunk
8232
8233         * MenuBackend.h:
8234         * MenuBackend.C: remove defaults gunk
8235
8236         * Languages.h:
8237         * Languages.C: remove defaults gunk
8238
8239         * lyx_main.h:
8240         * lyx_main.C: error out if files couldn't be found.
8241
8242 2003-04-02  John Levon  <levon@movementarian.org>
8243
8244         * text2.C: make incDepth() use parlist
8245
8246 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8247
8248         * undo_funcs.C (firstUndoParagraph): adjust
8249
8250         * text3.C (gotoInset): adjust
8251         (dispatch): adjust, and rewrite loop.
8252
8253         * text2.C (init): adjust, and rewrite loop.
8254         (redoParagraphs): adjust
8255         (updateInset): adjust, and rewrite loop.
8256         (deleteEmptyParagraphMechanism): adjust
8257
8258         * tabular.C (LyXTabular): adjust
8259         (SetMultiColumn): adjust
8260         (TeXRow): adjust
8261
8262         * lyxtext.[Ch] (ownerParagraph): delete function
8263         (ownerParagraphs): new function returns a ParagraphList.
8264
8265         * BufferView.C (removeAutoInsets): adjust
8266         (insertErrors): adjust
8267         (setCursorFromRow): adjust
8268
8269 2003-04-01  Angus Leeming  <leeming@lyx.org>
8270
8271         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8272         in the frontends.
8273
8274 2003-04-02  John Levon  <levon@movementarian.org>
8275
8276         * lyxtext.h:
8277         * text.C:
8278         * Makefile.am:
8279         * text_funcs.h:
8280         * text_funcs.C: make transposeChars a free function
8281
8282         * lyxrow_funcs.C: remove wrong comment
8283
8284 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8285
8286         * lyxtext.h: adjust
8287         * rowpainter.C: adjust
8288         * text.C: adjust
8289         * text2.C: adjust
8290         * text3.C: adjust
8291
8292         * lyxrow_funcs. [Ch]: new files
8293
8294         * lyxrow.[Ch]: remove next and previous pointers
8295         (next,previous): remove accessor functions
8296         (isParEnd): move to lyxrow_funcs
8297         (lastPos): move to lyxrow_funcs
8298         (nextRowIsAllInset): move to lyxrow_funcs
8299         (lastPrintablePos): move to lyxrow_funcs
8300         (numberOfSeparators): move to lyxrow_funcs
8301         (numberOfHfills): move to lyxrow_funcs
8302         (numberOfLabelHfills): move to lyxrow_funcs
8303         (hfillExpansion): move to lyxrow_funcs
8304
8305         * lyxfunc.C: adjust
8306
8307         * bufferview_funcs.C (toggleAndShow): adjust
8308
8309         * RowList.h: Remove class RowList from file leave just a
8310         std::list<Row>.
8311
8312         * RowList.C: delete file
8313
8314         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8315         and lyxrow_funcs.h
8316
8317 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8318
8319         * text3.C (cursorPrevious): adjust
8320         (cursorNext): adjust
8321         (dispatch): adjust
8322
8323         * text2.C (redoHeightOfParagraph): adjust
8324         (redoDrawingOfParagraph): adjust
8325         (setCursor): adjust
8326
8327         * text.C (breakParagraph): adjust
8328         (insertChar): adjust
8329         (backspace): adjust
8330
8331         * rowpainter.C (RowPainter): adjust
8332         (leftMargin): simplify and adjust
8333         (most rowpainter functions): adjust.
8334
8335         * rowpainter.h: store the row as RowList::iterator not as Row*
8336
8337         * lyxcursor.C (row): taka RowList::iterator as arg
8338         (irow): ditto
8339
8340         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8341         of Row*.
8342
8343 2003-04-01  Angus Leeming  <leeming@lyx.org>
8344
8345         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8346         stuff like bool Bool.
8347
8348 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8349
8350         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8351         rewrite a loop
8352
8353 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8354
8355         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8356         RowList::iterator.
8357
8358         * lyxtext.h (rows): drop one version and leve a const variant that
8359         returns a RowList::iterator.
8360
8361 2003-03-31  Angus Leeming  <leeming@lyx.org>
8362
8363         * text.C (fill): ensure that the signature is the same as that in the
8364         header file.
8365
8366 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * text2.C (redoParagraphs): adjust
8369         (updateCounters): adjust
8370         (checkParagraph): adjust
8371         (getColumnNearX): adjust and reformat a bit.
8372
8373         * text.C (top_y): adjust
8374         (workWidth): adjust
8375         (leftMargin): adjust
8376         (prepareToPrint): adjust
8377         (getRow): adjust
8378         (getRowNearY): adjust
8379
8380         * lyxtext.h: make rowlist_ mutable.
8381
8382         * RowList.h: add const_iterator
8383         * RowList.C: adjust for RowList::const_iterator.
8384
8385         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8386         adjust.
8387
8388 2003-03-31  John Levon  <levon@movementarian.org>
8389
8390         * lyxrc.h:
8391         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8392
8393         * lyx_main.C: set default fonts from using lyx_gui funcs
8394
8395         * exporter.C: pdf_mode moved from lyxrc
8396
8397         * lyx_cb.C:
8398         * lyxfunc.C: changes from above
8399
8400 2003-03-31  John Levon  <levon@movementarian.org>
8401
8402         * lyx_main.C: fix to the last fix
8403
8404 2003-03-31  John Levon  <levon@movementarian.org>
8405
8406         * bufferlist.C: "Load original" -> "Load Original"
8407
8408         * converter.C:
8409         * exporter.C:
8410         * importer.C:
8411         * lyx_main.C:
8412         * format.C: more Alert cleanups
8413
8414 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8415
8416         * text2.C (removeParagraph): make it take a RowList::iterator as
8417         arg, adjust.
8418         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8419         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8420
8421         * text.C (anchor_row): make it take a RowList::iterator as arg,
8422         adjust.
8423         (computeBidiTables): make it take a const reference to Row instead
8424         of Row pointer, adjust.
8425         (leftMargin): make it take a RowList::iterator as arg, adjust.
8426         (rowBreakPoint): adjust
8427         (breakAgainOneRow): make it take a RowList::iterator as arg,
8428         adjust.
8429         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8430
8431         * bufferview_funcs.C (toggleAndShow): adjust
8432
8433 2003-03-30  John Levon  <levon@movementarian.org>
8434
8435         * Makefile.am:
8436         * BoostFormat.h:
8437         * boost-inst.C: moved to support
8438
8439         * several files: changes as a result
8440
8441 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8442
8443         * text2.C (LyXText): adjust.
8444         (init): adjust
8445         (removeRow): make it take a RowList::iterator as arg, adjust.
8446         (fullRebreak): adjust
8447         (deleteEmptyParagraphMechanism): adjust
8448         (clearPaint): adjust
8449         (postPaint): adjust
8450
8451         * text.C (top_y): adjust
8452         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8453         (breakAgain): make it take a RowList::iterator as arg, adjust.
8454         (breakParagraph): adjust
8455         (insertChar): adjust
8456         (backspace): adjust
8457
8458         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8459         need_break_row, and refresh_row.
8460
8461         * text3.C (dispatch): adjust
8462
8463         * text2.C (checkParagraph): adjust
8464         (setCursor): adjust
8465         (setCursorFromCoordinates): adjust
8466
8467         * text.C (top_y): adjust
8468         (workWidth): adjust
8469         (getRow): make it return a RowList::iterator, adjust
8470         (getRowNearY): make it return a RowList::iterator, adjust
8471
8472         * text2.C (init): adjust
8473         (insertRow): remove function
8474         (insertParagraph): adjust
8475         (redoParagraphs): adjust
8476         (fullRebreak): adjust
8477         (updateCounters): adjust
8478
8479         * text.C (top_y): rewrite to use RowList iterators.
8480         (top_y): adjust
8481         (setHeightOfRow): rewrite to sue RowList iterators.
8482         (appendParagraph): adjust
8483         (breakAgain): adjust
8484         (breakAgainOneRow): adjust
8485         (breakParagraph): adjust
8486         (getRow): adjust
8487         (getRowNearY): adjust, and remove commented code.
8488
8489         * lyxtext.h (firstRow): delete function
8490         (lastRow): delete function
8491         (rows): new function (const and non-const versions.)
8492         (insertRow): delete function
8493
8494         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8495
8496 2003-03-29  John Levon  <levon@movementarian.org>
8497
8498         * BufferView_pimpl.C: always update scrollbar top
8499         because pasting text when we're anchored could mean we
8500         miss an update altogether
8501
8502 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8503
8504         * text2.C (init): use rowlist_.end() and not 0.
8505         (insertRow): change to take a RowList::iterator as arg, adjust
8506         for this.
8507         (insertParagraph): change to take a RowList::iterator as arg,
8508         adjust for this.
8509         (redoParagraphs): remove some debug msgs.
8510
8511         * text.C (appendParagraph): change to take a RowList::iterator
8512         arg, adjust for this.
8513         (breakAgain): add an assert
8514         (breakAgainOneRow): ditto
8515
8516 2003-03-29  John Levon  <levon@movementarian.org>
8517
8518         * text2.C: do not clear selection after inc/decDepth
8519         (bug 550)
8520
8521 2003-03-29  John Levon  <levon@movementarian.org>
8522
8523         * BufferView.C:
8524         * buffer.C: fix broken strerrors according to Lars
8525
8526 2003-03-29  John Levon  <levon@movementarian.org>
8527
8528         * converters.C: more Alert cleanups
8529
8530 2003-03-29  John Levon  <levon@movementarian.org>
8531
8532         * bufferview_funcs.C: remove pointless Alert
8533
8534         * buffer.C: fix confusing error message when
8535         a template is chmoded 000
8536
8537 2003-03-29  John Levon  <levon@movementarian.org>
8538
8539         * BufferView.C:
8540         * BufferView.h:
8541         * BufferView_pimpl.C: Alert fixes
8542
8543         * Makefile.am:
8544         * tabular.C:
8545         * tabular-old.C: remove unused table compat reading
8546
8547 2003-03-29  John Levon  <levon@movementarian.org>
8548
8549         * BufferView.C:
8550         * buffer.C:
8551         * lyx_cb.h:
8552         * lyx_cb.C: more Alert cleanups
8553
8554         * lyxfunc.C: don't allow chktex if not latex document
8555
8556 2003-03-29  John Levon  <levon@movementarian.org>
8557
8558         * lyx_cb.C:
8559         * BufferView.C:
8560         * buffer.C: warnings pushed down from support/,
8561         kill err_alert
8562
8563 2003-03-29  John Levon  <levon@movementarian.org>
8564
8565         * lyxfunc.C: safety check for C-r (revert)
8566
8567 2003-03-29  John Levon  <levon@movementarian.org>
8568
8569         * bufferlist.h:
8570         * bufferlist.C: several UI fixes using Alert::prompt.
8571         Fix the pointless looping quit code. Fix stupid revert
8572         behaviour (bug 938)
8573
8574         * lyxvc.h:
8575         * lyxvc.C:
8576         * lyx_cb.C: use Alert::prompt
8577
8578         * lyx_main.C: remove a silly question
8579
8580         * lyxfunc.C: remove a couple of silly questions,
8581         use Alert::prompt
8582
8583 2003-03-28  John Levon  <levon@movementarian.org>
8584
8585         * text2.C: fix bug 974 (End on empty par)
8586
8587 2003-03-28  John Levon  <levon@movementarian.org>
8588
8589         * BufferView_pimpl.C:
8590         * LyXAction.C:
8591         * lfuns.h: remove do-nothing math greek lfuns
8592
8593 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8594
8595         * lyxgluelength.h (isValidGlueLength): add default arg on
8596         parameter 2. Remove default arg from friend in class.
8597
8598         * lyxlength.h (isValidLength): add default arg on parameter 2.
8599         Remove default arg from friend in class.
8600
8601         * text2.C (LyXText): adjust, initialize refresh_row.
8602         (init): adjust
8603         (removeRow): adjust
8604         (insertRow): adjust
8605         (insertParagraph): adjst
8606         (redoParagraphs): adjust
8607         (fullRebreak): adjust
8608         (updateCounters): adjust
8609         (deleteEmptyParagraphMechanism): first attempt at fixing a
8610         crashing bug.
8611
8612         * text.C (top_y): adjust
8613         (setHeightOfRow): adjust
8614         (getRow): adjust
8615         (getRowNearY): adjust
8616
8617         * lyxtext.h: include RowList.h
8618         (~LyXText): not needed anymore, deleted.
8619         (firstRow): modify for RowList
8620         (lastRow): new function
8621         Delete firstrow and lastrow class variables, add a Rowlist
8622         rowlist_ class variable.
8623
8624         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8625         paragraph is empty.
8626
8627         * RowList.C (insert): fix case where it == begin().
8628
8629 2003-03-26  Angus Leeming  <leeming@lyx.org>
8630
8631         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8632         the thesaurus dialog.
8633
8634 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8637
8638         * RowList.[Ch]: new files
8639
8640         * ParagraphList.C (erase): handle the case where it == begin
8641         correctly.
8642
8643 2003-03-25  John Levon  <levon@movementarian.org>
8644
8645         * Makefile.am:
8646         * aspell_local.h:
8647         * aspell.C: add new aspell support
8648
8649         * lyxrc.h:
8650         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8651         have it accessible.
8652
8653 2003-03-25  Angus Leeming  <leeming@lyx.org>
8654
8655         * lfuns.h:
8656         * LyXAction.C (init): new LFUN_INSET_INSERT.
8657
8658         * BufferView_pimpl.C (dispatch): split out part of the
8659         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8660
8661         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8662         LFUN_INSET_APPLY.
8663
8664 2003-03-25  Angus Leeming  <leeming@lyx.org>
8665
8666         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8667
8668 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8669
8670         * text2.C:
8671         * text3.C: remove useless row->height(0)
8672
8673 2003-03-25  John Levon  <levon@movementarian.org>
8674
8675         * lyxtext.h:
8676         * text2.C:
8677         * text3.C: rename the refreshing stuff to better names
8678
8679 2003-03-24  John Levon  <levon@movementarian.org>
8680
8681         * BufferView_pimpl.h:
8682         * BufferView_pimpl.C: update layout choice on a mouse
8683         press/release
8684
8685 2003-03-23  John Levon  <levon@movementarian.org>
8686
8687         * Makefile.am: fix commandtags.h reference
8688
8689 2003-03-22  John Levon  <levon@movementarian.org>
8690
8691         * BufferView_pimpl.C:
8692         * lyxtext.h:
8693         * rowpainter.C:
8694         * rowpainter.h:
8695         * text.C:
8696         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8697
8698 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8699
8700         * lyxtext.h:
8701         * text.C: take the rtl methods out of line
8702
8703 2003-03-21 André Pönitz <poenitz@gmx.net>
8704
8705         * metricsinfo.[Ch]: new files containing structures to be passed around
8706         during the two-phase-drawing...
8707
8708 2003-03-21 André Pönitz <poenitz@gmx.net>
8709
8710         * lyxtextclass.C: read 'environment' tag.
8711
8712 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8713
8714         * text2.C (removeRow): fix bug 964
8715
8716 2003-03-20  John Levon  <levon@movementarian.org>
8717
8718         * rowpainter.C:
8719         * text.C:
8720         * text2.C: paint cleanups. Inset::update() dropped font
8721         parameter
8722
8723 2003-03-19  John Levon  <levon@movementarian.org>
8724
8725         * lyxfunc.C: only fitcursor/markDirty if available()
8726
8727 2003-03-19  John Levon  <levon@movementarian.org>
8728
8729         * commandtags.h: rename to ...
8730
8731         * lfuns.h: ... this, and renumber / cleanup
8732
8733 2003-03-19  John Levon  <levon@movementarian.org>
8734
8735         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8736         fit the cursor after an lfun
8737
8738         * BufferView.h:
8739         * BufferView.C:
8740         * BufferView_pimpl.h:
8741         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8742
8743         * LyXAction.C: layout-character should have ReadOnly
8744
8745         * ParagraphParameters.C:
8746         * buffer.C:
8747         * bufferview_funcs.C:
8748         * lyx_cb.C:
8749         * lyxfind.C:
8750         * lyxtext.h:
8751         * text.C:
8752         * text2.C:
8753         * text3.C:
8754         * undo_funcs.C: changes from above
8755
8756 2003-03-18  John Levon  <levon@movementarian.org>
8757
8758         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8759         remove it from update()
8760
8761         * lyxfunc.C: update layout choice after an lfun
8762
8763         * text3.C: remove extra updateLayoutChoice()s
8764
8765 2003-03-18  John Levon  <levon@movementarian.org>
8766
8767         * text.C: top_y change means full repaint, fix
8768         a drawing bug with cursor movement
8769
8770 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8771
8772         * lyxtext.h:
8773         * text.C:
8774         * text2.C: anchor row on setCursor
8775
8776 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8777
8778         * lyxtext.h: remove almost all mutable keywords
8779         * text.C:
8780         * text2.C:
8781         * text3.C: remove const keywords accordingly
8782
8783 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8784
8785         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8786         anon namespace
8787         (TeXEnvironment): ditto
8788         (TeXOnePar): ditto
8789
8790 2003-03-17  John Levon  <levon@movementarian.org>
8791
8792         * text.C (rowBreakPoint): remove attempt to fix displayed
8793         math insets inside a manual label
8794
8795 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8796
8797         * lyxtext.h: remove BufferView* as first arg from almost all class
8798         functions.
8799         * other files: adjust.
8800
8801 2003-03-17  John Levon  <levon@movementarian.org>
8802
8803         * lyxtext.h:
8804         * undo_funcs.C:
8805         * text2.C: more paint cleanups
8806
8807         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8808
8809         * rowpainter.h:
8810         * rowpainter.C: remove "smart" background painting code
8811
8812 2003-03-16  John Levon  <levon@movementarian.org>
8813
8814         * lyxtext.h:
8815         * text.C:
8816         * text2.C:
8817         * text3.C: add helper functions for setting refresh_row/y
8818
8819 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8820
8821         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8822         newline inset which *can* get inserted in the pass_thru layouts.
8823         This is primarily for literate documents.
8824
8825 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8826
8827         * buffer.C: increment LYX_FORMAT to 223
8828
8829 2003-03-14 André Pönitz <poenitz@gmx.net>
8830
8831         * textclass.h: prepare for environment handling, ws changes
8832         * lyxlayout.C: read latexheader and latexfooter tags
8833
8834 2003-03-14  John Levon  <levon@movementarian.org>
8835
8836         * text2.C: rewrite ::status() a bit
8837
8838 2003-03-13  John Levon  <levon@movementarian.org>
8839
8840         * lyxtext.h: add some docs
8841
8842 2003-03-13  John Levon  <levon@movementarian.org>
8843
8844         * lyxtext.h:
8845         * text.C:
8846         * text2.C:
8847         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8848
8849 2003-03-13  John Levon  <levon@movementarian.org>
8850
8851         * text3.C: fix appendix redrawing
8852
8853 2003-03-13  John Levon  <levon@movementarian.org>
8854
8855         * text.C (setHeightOfRow):
8856         * rowpainter.h:
8857         * rowpainter.C: make appendix mark have the text
8858           "Appendix" so the user knows what it is
8859
8860         * LColor.h:
8861         * LColor.C: s/appendixline/appendix/ from above
8862
8863 2003-03-13  John Levon  <levon@movementarian.org>
8864
8865         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8866
8867         * text.C: fix a getChar(pos) bug properly
8868
8869 2003-03-13  Angus Leeming  <leeming@lyx.org>
8870
8871         * commandtags.h:
8872         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8873         Probably only temporary. Let's see how things pan out.
8874
8875         * BufferView.C (unlockInset):
8876         * BufferView_pimpl.C (fitCursor):
8877         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8878
8879         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8880         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8881
8882         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8883         new functions that convert ParagraphParameters to and from a string.
8884
8885         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8886         BufferView::Pimpl's dispatch.
8887         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8888
8889 2003-03-13 André Pönitz <poenitz@gmx.net>
8890
8891         * lyxfunc.C:
8892         * text3.C:
8893         * factory.C: make it aware of InsetEnv
8894
8895 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8896
8897         * text2.C (setCursor): never ask for one past last
8898         (setCursor): add some debugging messages.
8899
8900         * text.C (singleWidth): never ask for one past last
8901         (singleWidth): ditto
8902         (leftMargin): ditto
8903         (rightMargin): ditto
8904         (rowBreakPoint): ditto
8905         (setHeightOfRow): ditto
8906         (prepareToPrint): ditto
8907
8908         * rowpainter.C (paintBackground): never ask for one past last
8909         (paintText): never ask for one past last
8910
8911         * paragraph_pimpl.C (getChar): make the assert stricter, never
8912         allow the one past last pos to be taken
8913
8914         * paragraph.C (getChar): ws changes only
8915
8916         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8917         (numberOfSeparators): ditto
8918         (numberOfHfills): ditto
8919
8920 2003-03-12  John Levon  <levon@movementarian.org>
8921
8922         * author.h:
8923         * author.C:
8924         * bufferparams.h:
8925         * bufferparams.C:
8926         * paragraph_funcs.C: fix per-buffer authorlists
8927
8928 2003-03-12  John Levon  <levon@movementarian.org>
8929
8930         * text.C: fix newline in right address
8931
8932 2003-03-12  Angus Leeming  <leeming@lyx.org>
8933
8934         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8935         duplicate those in LyXFunc::dispatch.
8936
8937         * commandtags.h:
8938         * LyXAction.C:
8939         * ToolbarDefaults.C:
8940         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8941         Add LFUN_FONTFREE_UPDATE.
8942
8943         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8944         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8945
8946         * bufferview_func.[Ch]: several new functions to facilliate
8947         transfer of data to and from the character dialog.
8948
8949 2003-03-12  John Levon  <levon@movementarian.org>
8950
8951         * buffer.C:
8952         * paragraph.h:
8953         * paragraph.C:
8954         * paragraph_funcs.C:
8955         * paragraph_pimpl.C:
8956         * sgml.C:
8957         * tabular.C:
8958         * text.C:
8959         * text3.C: remove META_NEWLINE in favour of an inset
8960
8961         * rowpainter.h:
8962         * rowpainter.C: remove paintNewline (done by inset)
8963
8964 2003-03-12  John Levon  <levon@movementarian.org>
8965
8966         * paragraph_pimpl.C: complain about bad getChar()s
8967         for a while at least
8968
8969 2003-03-12  John Levon  <levon@movementarian.org>
8970
8971         * buffer.h:
8972         * buffer.C: move paragraph read into a separate function,
8973         a little renaming to reflect that.
8974
8975         * bufferparams.h:
8976         * bufferparams.C: remove the author_ids map, not necessary now
8977
8978         * factory.h:
8979         * factory.C: moved Buffer::readInset to here
8980
8981         * paragraph_funcs.h:
8982         * paragraph_funcs.C: readParagraph free function moved from
8983         buffer.C
8984
8985         * tabular.C: name change
8986
8987 2003-03-12  John Levon  <levon@movementarian.org>
8988
8989         * buffer.C:
8990         * ParagraphParameters.C: move par params input to
8991         a read() method
8992
8993         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8994         behave like a normal read from the stream wrt reading
8995         a line vs. a \\token
8996
8997 2003-03-12  John Levon  <levon@movementarian.org>
8998
8999         * paragraph.C:
9000         * ParagraphParameters.h:
9001         * ParagraphParameters.C: move output code to a
9002         ::write() method
9003
9004 2003-03-12  John Levon  <levon@movementarian.org>
9005
9006         * BufferView.C (insertLyXFile):
9007         * buffer.h:
9008         * buffer.C:
9009         * tabular.C: use a parlist iterator for creating the
9010           document.
9011
9012 2003-03-12  John Levon  <levon@movementarian.org>
9013
9014         * buffer.C: make current_change static local not
9015           static file-scope
9016
9017 2003-03-12  John Levon  <levon@movementarian.org>
9018
9019         * buffer.C: fix insertStringAsLines for change tracking
9020
9021 2003-03-12  John Levon  <levon@movementarian.org>
9022
9023         * BufferView.C:
9024         * tabular.C:
9025         * buffer.h:
9026         * buffer.C:
9027         * bufferparams.h:
9028         * bufferparams.C: move author list into params. Rename some
9029           functions. Move the header reading into a separate token
9030           loop. Move the header token reading into BufferParams.
9031
9032 2003-03-12  John Levon  <levon@movementarian.org>
9033
9034         * changes.C: put debug inside lyxerr.debugging() checks
9035
9036 2003-03-11 André Pönitz <poenitz@gmx.net>
9037
9038         * factory.C: make it aware of InsetHFill
9039
9040 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9041
9042         * buffer.C (latexParagraphs): move function from here...
9043         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9044         args.
9045
9046 2003-03-10  Angus Leeming  <leeming@lyx.org>
9047
9048         * LyXAction.C (init): fix bug in poplating array with multiple entries
9049         with the same LFUN (spotted by JMarc).
9050
9051 2003-03-10  John Levon  <levon@movementarian.org>
9052
9053         * text.C:
9054         * text2.C: move getColumnNearX() near its
9055         only call site
9056
9057 2003-03-10  John Levon  <levon@movementarian.org>
9058
9059         * text.C: fix break before a minipage
9060
9061 2003-03-10  John Levon  <levon@movementarian.org>
9062
9063         * text.C: fix the last commit
9064
9065 2003-03-09  John Levon  <levon@movementarian.org>
9066
9067         * lyxtext.h:
9068         * text.C:
9069         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9070         bug 365 (don't break before insets unless needed). Don't
9071         return a value > last under any circumstances.
9072
9073 2003-03-09  Angus Leeming  <leeming@lyx.org>
9074
9075         * BufferView_pimpl.C (trackChanges, dispatch): call
9076         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9077
9078 2003-03-09  Angus Leeming  <leeming@lyx.org>
9079
9080         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9081         than Dialogs::showAboutlyx().
9082
9083 2003-03-09  Angus Leeming  <leeming@lyx.org>
9084
9085         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9086         than Dialogs::showTabularCreate().
9087
9088 2003-03-09  John Levon  <levon@movementarian.org>
9089
9090         * lyxtext.h:
9091         * text.C:
9092         * text2.C: 3rd arg to nextBreakPoint was always the same.
9093           Use references.
9094
9095 2003-03-08  John Levon  <levon@movementarian.org>
9096
9097         * lyxrow.C:
9098         * paragraph.C:
9099         * paragraph.h:
9100         * rowpainter.C:
9101         * text.C:
9102         * text2.C: Remove the "main" bit from the "main body"
9103           notion.
9104
9105 2003-03-08  John Levon  <levon@movementarian.org>
9106
9107         * text.C (leftMargin): The left margin of an empty
9108         manual label paragraph should not include the label width
9109         string length.
9110
9111         * text.C (prepareToPrint): don't attempt to measure hfills
9112         for empty manual label paragraphs - the answer should be 0
9113
9114 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9115
9116         * CutAndPaste.C: remove commented code and reindent.
9117
9118 2003-03-08  John Levon  <levon@movementarian.org>
9119
9120         * lyxfunc.h:
9121         * lyxfunc.C: move reloadBuffer()
9122
9123         * BufferView.h:
9124         * BufferView.C: to here
9125
9126         * lyxvc.C: add comment
9127
9128         * vc-backend.h:
9129         * vc-backend.C: call bv->reload() to avoid
9130           getStatus() check on MENURELOAD
9131
9132 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9133
9134         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9135         to an old format .dep file.
9136
9137 2003-03-07  Angus Leeming  <leeming@lyx.org>
9138
9139         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9140         when the LFUN_MOUSE_RELEASE should have been handled by
9141         inset->localDispatch.
9142
9143 2003-03-07  Angus Leeming  <leeming@lyx.org>
9144
9145         * BufferView_pimpl.C (dispatch):
9146         * LyXAction.C (init):
9147         * ToolbarDefaults.C (init):
9148         * commandtags.h:
9149         * lyxfunc.C (getStatus):
9150         remove LFUN_INSET_GRAPHICS.
9151
9152         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9153
9154 2003-03-07  Angus Leeming  <leeming@lyx.org>
9155
9156         * commandtags.h:
9157         * LyXAction.C (init):
9158         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9159
9160         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9161
9162         * commandtags.h:
9163         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9164
9165         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9166         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9167
9168 2003-03-07  Angus Leeming  <leeming@lyx.org>
9169
9170         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9171         remove "ert".
9172
9173 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9174
9175         * ParagraphList.C (front): new function
9176         (back): implement
9177
9178 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9179
9180         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9181         and top_row_offset_. removed var first_y.
9182         * text.C (top_y):
9183         * text2.C (LyXText, removeRow):
9184         * text3.C:
9185         * BufferView_pimpl.C:
9186         use these methods instead of using first_y
9187
9188 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9189
9190         * text2.C (pasteSelection): adjust for checkPastePossible
9191
9192         * CutAndPaste.C: remove Paragraph * buf and replace with
9193         ParagraphList paragraphs.
9194         (DeleteBuffer): delete
9195         (cutSelection): change the tc type to textclass_type
9196         (copySelection): change the tc type to textclass_type
9197         (copySelection): adjust for ParagraphList
9198         (pasteSelection): change the tc type to textclass_type
9199         (pasteSelection): adjust for Paragraphlist
9200         (nrOfParagraphs): simplify for ParagraphList
9201         (checkPastePossible): simplify for ParagraphList
9202         (checkPastePossible): remove unused arg
9203
9204         * ParagraphList.C (insert): handle the case where there are no
9205         paragraphs yet.
9206
9207         * CutAndPaste.h: make CutAndPaste a namespace.
9208
9209         * text3.C (dispatch): adjust
9210
9211         * text.C (breakParagraph): add a ParagraphList as arg
9212
9213         * paragraph_funcs.C (breakParagraph): change to take a
9214         BufferParams and a ParagraphList as args.
9215         (breakParagraphConservative): ditto
9216         (mergeParagraph): ditto
9217         (TeXDeeper): add a ParagraphList arg
9218         (TeXEnvironment): ditto
9219         (TeXOnePar): ditto
9220
9221         * buffer.C (readLyXformat2): adjust
9222         (insertStringAsLines): adjust
9223         (latexParagraphs): adjust
9224
9225         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9226         (cutSelection): adjust
9227         (pasteSelection): adjust
9228
9229         * BufferView_pimpl.C (insertInset): adjust
9230
9231 2003-03-05  Angus Leeming  <leeming@lyx.org>
9232
9233         * commandtags.h:
9234         * LyXAction.C (init):
9235         * BufferView_pimpl.C (dispatch):
9236         * lyxfunc.C (getStatus):
9237         remove LFUN_CHILD_INSERT.
9238
9239         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9240
9241 2003-03-05  Angus Leeming  <leeming@lyx.org>
9242
9243         * commandtags.h:
9244         * LyXAction.C (init):
9245         * src/factory.C (createInset):
9246         * lyxfunc.C (getStatus):
9247         * text3.C (dispatch):
9248         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9249
9250         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9251
9252 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9253
9254         * ParagraphList.C (insert): handle insert right before end()
9255         (erase): fix cases where it can be first or last paragraph.
9256
9257 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9258
9259         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9260         Paragraph::next and Paragraph::previous
9261         (TeXOnePar): ditto
9262
9263         * text.C (breakParagraph): adjust
9264
9265         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9266         BufferParams& as arg.
9267         (breakParagraph): use ParagraphList::insert
9268         (breakParagraphConservative): take a Buffer* instead of a
9269         BufferParams& as arg.
9270         (breakParagraphConservative): use ParagraphList::insert.
9271
9272         * buffer.C (insertStringAsLines): un-const it
9273         (insertStringAsLines): adjust
9274
9275         * ParagraphList.C (insert): new function
9276
9277         * CutAndPaste.C (pasteSelection): adjust
9278
9279         * text.C (backspace): adjust
9280
9281         * tabular.C (SetMultiColumn): adjust
9282
9283         * CutAndPaste.C (cutSelection): adjust
9284         (pasteSelection): adjust
9285
9286         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9287         Buffer const * as arg
9288
9289         * ParagraphList.C (erase): new function
9290         * paragraph_funcs.C (mergeParagraph): use it
9291         (mergeParagraph): make it take a Buffer* instead of a
9292         BufferParams* as arg
9293
9294         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9295         as arg
9296         (breakParagraphConservative): ditto
9297
9298         * paragraph.h: remove the breakParagraph friend
9299
9300         * paragraph.C (eraseIntern): new function
9301         (setChange): new function
9302
9303         * paragraph_funcs.C (mergeParagraph): make it take a
9304         ParagraphList::iterator instead of a Paragraph *, adjust
9305         accordingly.
9306
9307         * paragraph.h: move an #endif so that the change tracking stuff
9308         also works in the NO_NEXT case.
9309
9310 2003-03-04  Angus Leeming  <leeming@lyx.org>
9311
9312         * commandtags.h:
9313         * LyXAction.C: new LFUN_INSET_MODIFY.
9314
9315         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9316         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9317
9318 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9319
9320         * several files: ws changes only
9321
9322         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9323         (TeXEnvironment): ditto
9324         (TeXDeeper): ditto
9325
9326         * buffer.C (makeLaTeXFile): adjust
9327         (latexParagraphs): make it take ParagraphList::iterator as args
9328
9329 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9330
9331         * buffer.C (latexParagraphs): adjust
9332
9333         * paragraph.C (TeXOnePar): move function...
9334         (optArgInset): move function...
9335         (TeXEnvironment): move function...
9336         * paragraph_pimpl.C (TeXDeeper): move function...
9337         * paragraph_funcs.C: ...here
9338
9339         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9340
9341 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9342
9343         * buffer.C (readInset): remove compability code for old Figure and
9344         InsetInfo insets
9345
9346 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9347
9348         * buffer.C: ws changes
9349         (readInset):
9350
9351         * BufferView_pimpl.C: ditto
9352         * author.C: ditto
9353         * buffer.h: ditto
9354         * bufferlist.h: ditto
9355         * changes.h: ditto
9356         * lyxfunc.C: ditto
9357
9358 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9359
9360         * converter.[Ch]: split into itself +
9361         * graph.[Ch]
9362         * format.[Ch]
9363         * Makefile.am: += graph.[Ch] + format.[Ch]
9364         * MenuBackend.C
9365         * buffer.C
9366         * exporter.C
9367         * importer.C
9368         * lyx_main.C
9369         * lyxfunc.C
9370         * lyxrc.C: added #include "format.h"
9371
9372 2003-02-27  Angus Leeming  <leeming@lyx.org>
9373
9374         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9375           a label.
9376
9377         * factory.C (createInset): add "label" to the factory.
9378
9379         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9380           string and do no more.
9381
9382 2003-02-27  Angus Leeming  <leeming@lyx.org>
9383
9384         * commandtags.h:
9385         * LyXAction.C (init):
9386         * factory.C (createInset):
9387         * BufferView_pimpl.C (dispatch):
9388           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9389
9390         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9391
9392         * lyxfunc.C (dispatch):
9393         * text3.C (dispatch): pass name to params2string.
9394
9395 2003-02-26  Angus Leeming  <leeming@lyx.org>
9396
9397         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9398           blocks together.
9399           Rearrange the ~includes. Strip out the unnecessary ones.
9400
9401         * factory.C (createInset): reformat.
9402           create new insets for the various LFUN_XYZ_APPLY lfuns.
9403
9404 2003-02-26  John Levon  <levon@movementarian.org>
9405
9406         * lyxrow.h:
9407         * lyxrow.C: add isParStart,isParEnd helpers
9408
9409         * paragraph.h: make isInserted/DeletedText take refs
9410
9411         * paragraph_funcs.h:
9412         * paragraph_funcs.C: remove #if 0'd code
9413
9414         * lyxtext.h:
9415         * text3.C:
9416         * text2.C:
9417         * text.C: use lyxrow helpers above.
9418           Move draw and paint routines to RowPainter.
9419           Make several methods use refs not pointers.
9420           Make backgroundColor() const.
9421           Add markChangeInDraw(), isInInset().
9422           Merge changeRegionCase into changeCase.
9423           Make workWidth() shouldn't-happen code into an Assert.
9424
9425         * rowpainter.h:
9426         * rowpainter.C: new class for painting a row.
9427
9428         * vspace.h:
9429         * vspace.C: make inPixels take a ref
9430
9431 2003-02-26  Angus Leeming  <leeming@lyx.org>
9432
9433         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9434         LFUN_REF_APPLY.
9435
9436 2003-02-25  John Levon  <levon@movementarian.org>
9437
9438         * ispell.C: give the forked command a more accurate name
9439
9440 2003-02-22  John Levon  <levon@movementarian.org>
9441
9442         * toc.h:
9443         * toc.C: make TocItem store an id not a Paragraph *
9444           (bug #913)
9445
9446 2003-02-21  Angus Leeming  <leeming@lyx.org>
9447
9448         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9449           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9450           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9451           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9452           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9453           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9454
9455         * BufferView_pimpl.C (dispatch):
9456         * LyXAction.C (init):
9457         * factory.C (createInset):
9458         * lyxfunc.C (getStatus, dispatch):
9459         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9460
9461 2003-02-21  Angus Leeming  <leeming@lyx.org>
9462
9463         * BufferView_pimpl.C (MenuInsertLyXFile):
9464         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9465         * lyxfunc.C (menuNew, open, doImport):
9466           no longer pass a LyXView & to fileDlg.
9467
9468 2003-02-21  Angus Leeming  <leeming@lyx.org>
9469
9470         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9471         * LyXAction.C: change, BIBKEY to BIBITEM.
9472         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9473         Change InsetBibKey to InsetBibitem.
9474         Change BIBKEY_CODE to BIBITEM_CODE.
9475         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9476         * factory.C: replace insetbib.h with insetbibitem.h.
9477         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9478         * paragraph.C: replace insetbib.h with insetbibitem.h.
9479         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9480         Change bibkey() to bibitem().
9481         * text.C: remove insetbib.h.
9482         * text2.C: replace insetbib.h with insetbibitem.h.
9483         change bibkey() to bibitem().
9484         * text3.C: remove insetbib.h.
9485         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9486
9487 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9488
9489         * lyxrc.C (output): enclose user email in quotes (in case there are
9490         several words)
9491
9492 2003-02-18  John Levon  <levon@movementarian.org>
9493
9494         * buffer.h: add std::
9495
9496 2003-02-17  John Levon  <levon@movementarian.org>
9497
9498         * SpellBase.h:
9499         * ispell.h:
9500         * ispell.C:
9501         * pspell.h:
9502         * pspell.C: reworking. Especially in ispell, a large
9503           number of clean ups and bug fixes.
9504
9505         * lyxfunc.C: fix revert to behave sensibly
9506
9507 2003-02-17 André Pönitz <poenitz@gmx.net>
9508
9509         * LyXAction.C:
9510         * commandtags.h: new LFUN_INSERT_BIBKEY
9511
9512         * layout.h:
9513         * lyxlayout.C:
9514         * buffer.C:
9515         * factory.C:
9516         * text.C:
9517         * text2.C:
9518         * text3.C:
9519         * paragraph.[Ch]:
9520         * paragraph_func.C: remove special bibkey handling
9521
9522 2003-02-17  John Levon  <levon@movementarian.org>
9523
9524         * text.C (Delete): fix case where delete at the end of
9525           the very first paragraph would not merge the pars
9526
9527 2003-02-17  John Levon  <levon@movementarian.org>
9528
9529         * lyxrow.C: fix lastPrintablePos()
9530
9531 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9532
9533         * bufferparams.C (writeLaTeX): add a std:here
9534
9535         * buffer.C: and remove a using directive there
9536
9537 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9538
9539         * buffer.C (makeLaTeXFile): move the code that generates the
9540           preamble...
9541
9542         * bufferparams.C (writeLaTeX): ... in this new method
9543
9544         * LaTeXFeatures.C (getEncodingSet): make const
9545           (getLanguages): make const
9546
9547         * MenuBackend.C (binding): returns the binding associated to this
9548           action
9549           (add): sets the status of each item by calling getStatus. Adds
9550           some intelligence.
9551           (read): add support for OptSubMenu
9552           (expand): remove extra separator at the end of expanded menu
9553
9554 2003-02-15  John Levon  <levon@movementarian.org>
9555
9556         * BufferView.C:
9557         * BufferView_pimpl.C:
9558         * bufferlist.h:
9559         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9560           inset code that had no actual effect. Remove unneeded status
9561           code.
9562
9563 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9566           in preamble
9567
9568 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9569
9570         * text.C (drawLengthMarker): also draw an arrow marker for
9571           symbolic lengths (medskip...)
9572
9573 2003-02-14  John Levon  <levon@movementarian.org>
9574
9575         * tabular.h:
9576         * tabular.C: better method names
9577
9578 2003-02-14  John Levon  <levon@movementarian.org>
9579
9580         * BufferView_pimpl.C:
9581         * bufferlist.C:
9582         * buffer.C:
9583         * converter.C:
9584         * lyx_cb.C:
9585         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9586           it's a more accurate name. Remove some pointless uses.
9587
9588 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9589
9590         * text2.C (LyXText): change order of initilizers to shut off
9591           warnings
9592
9593 2003-02-14  John Levon  <levon@movementarian.org>
9594
9595         * buffer.C: use ParIterator for getParFromID()
9596
9597         * paragraph.h:
9598         * paragraph.C:
9599         * paragraph_pimpl.h:
9600         * paragraph_pimpl.C: remove unused getParFromID()
9601
9602 2003-02-14  John Levon  <levon@movementarian.org>
9603
9604         * buffer.C: remove some very old #if 0'd parse code
9605
9606 2003-02-13  John Levon  <levon@movementarian.org>
9607
9608         * text.h:
9609         * text.C:
9610         * text2.C: move hfillExpansion(), numberOfSeparators(),
9611           rowLast(), rowLastPrintable(), numberofHfills(),
9612           numberOfLabelHfills() ...
9613
9614         * lyxrow.h:
9615         * lyxrow.C: ... to member functions here.
9616
9617         * paragraph.h:
9618         * paragraph.C:
9619         * lyxtext.h:
9620         * text.C: remove LyXText::beginningOfMainBody(), and call
9621           p->beginningOfMainBody() directly. Move the check for
9622           LABEL_MANUAL into the latter.
9623
9624         * text.h:
9625         * text.C:
9626         * text2.C:
9627         * vspace.C:
9628         * BufferView.h:
9629         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9630
9631         * text.h:
9632         * text.C:
9633         * text2.C:
9634         * text3.C:
9635         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9636           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9637
9638 2003-02-13  John Levon  <levon@movementarian.org>
9639
9640         * CutAndPaste.C: remove debug
9641
9642 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * paragraph.C (asString): remove two unused variables
9645
9646         * lyxtextclass.C (readTitleType):
9647           (Read):
9648           (LyXTextClass): handle new members titletype_ and titlename_
9649
9650         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9651
9652 2003-02-09  John Levon  <levon@movementarian.org>
9653
9654         * buffer.h:
9655         * buffer.C: replace hand-coded list with a map for the dep clean
9656
9657 2003-02-08  John Levon  <levon@movementarian.org>
9658
9659         * LaTeX.C: consolidate code into showRunMessage() helper
9660
9661 2003-02-08  John Levon  <levon@movementarian.org>
9662
9663         * lyxfind.C:
9664         * lyxtext.h:
9665         * text2.C:
9666         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9667           and pass the size in explicitly
9668
9669         * BufferView_pimpl.h:
9670         * BufferView_pimpl.C:
9671         * BufferView.h:
9672         * BufferView.C: add getCurrentChange()
9673
9674         * BufferView_pimpl.h:
9675         * BufferView_pimpl.C: handle change lfuns
9676
9677         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9678           for changes. Mark pasted paragraphs as new.
9679
9680         * support/lyxtime.h:
9681         * support/lyxtime.C:
9682         * DepTable.C: abstract time_t as lyx::time_type
9683
9684         * LColor.h:
9685         * LColor.C: add colours for new text, deleted text, changebars
9686
9687         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9688           package use "usenames" option.
9689
9690         * commandtags.h:
9691         * lyxfunc.C:
9692         * LyXAction.C: add change lfuns
9693
9694         * Makefile.am:
9695         * author.h:
9696         * author.C: author handling
9697
9698         * buffer.h:
9699         * buffer.C: add a per-buffer author list, with first entry as
9700           current author. Handle new .lyx tokens for change tracking. Output
9701           author list to .lyx file. Output dvipost stuff to .tex preamble.
9702           Bump lyx format to 222.
9703
9704         * bufferlist.h:
9705         * bufferlist.C: add setCurrentAuthor() to reset current author details
9706           in all buffers.
9707
9708         * bufferparams.h:
9709         * bufferparams.C: add param for tracking
9710
9711         * bufferview_funcs.C: output change info in minibuffer
9712
9713         * Makefile.am:
9714         * changes.h:
9715         * changes.C: add change-tracking structure
9716
9717         * debug.h:
9718         * debug.C: add CHANGES debug flag
9719
9720         * lyxfind.h:
9721         * lyxfind.C: add code for finding the next change piece
9722
9723         * lyxrc.h:
9724         * lyxrc.C: add user_name and user_email
9725
9726         * lyxrow.h:
9727         * lyxrow.C: add a metric for the top of the text line
9728
9729         * lyxtext.h:
9730         * text.C: implement accept/rejectChange()
9731
9732         * lyxtext.h:
9733         * text.C: paint changebars. Paint new/deleted text in the chosen
9734         colours. Strike through deleted text.
9735
9736         * paragraph.h:
9737         * paragraph.C:
9738         * paragraph_pimpl.h:
9739         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9740           in the current change to the insert functions. Rework erase to
9741           mark text as deleted, adding an eraseIntern() and a range-based
9742           erase(). Implement per-paragraph change lookup and
9743           accept/reject.
9744
9745         * paragraph_funcs.C: Fixup paste for change tracking.
9746
9747         * tabular.C: mark added row/columns as new.
9748
9749         * text.C: fix rowLast() to never return -1. Don't allow
9750           spellchecking of deleted text. Track transpose changes. Don't
9751           allow paragraph break or merge where appropriate.
9752
9753         * text2.C: leave cursor at end of selection after a cut.
9754
9755 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9756
9757         * text.C (getLengthMarkerHeight):
9758         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9759         visible on screen too.
9760
9761 2003-02-07  John Levon  <levon@movementarian.org>
9762
9763         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9764
9765 2003-02-05  Angus Leeming  <leeming@lyx.org>
9766
9767         * lyxserver.C (read_ready): revert my patch of 11 September last year
9768         as it sends PC cpu through the roof. Presumably this means that
9769         the lyxserver will no longer run on an Alpha...
9770
9771 2003-01-30  Angus Leeming  <leeming@lyx.org>
9772
9773         * factory.C (createInset): create an InsetCommandParam of type "index"
9774         and use it to 'do the right thing'.
9775
9776         * text2.C (getStringToIndex): ensure that cursor position is always
9777         reset to the reset_cursor position.
9778
9779 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9780
9781         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9782         disabled.
9783
9784 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9785
9786         * bufferview.C:
9787         * lyxcb.C:
9788         * lyxfunc.C: Output messages with identical spelling, punctuation,
9789         and spaces
9790
9791 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9792
9793         * MenuBackend.C (expandFormats): List only viewable export formats
9794         in "View" menu
9795
9796         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9797         message
9798
9799         * lyxfunc.C (getStatus): Make sure that formats other than
9800         "fax" can also be disabled
9801
9802 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9803
9804         * text3.C (dispatch): put the lfuns that insert insets in 3
9805         groups, and call doInsertInset with appropriate arguments.
9806         (doInsertInset): new function, that creates an inset and inserts
9807         it according to some boolean parameters.
9808
9809 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9810
9811         * buffer.C (readFile): remember to pass on 'par' when calling
9812         readFile recursively.
9813
9814 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9815
9816         * MenuBackend.C (expandFormats): add "..." to import formats.
9817
9818 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9819
9820         * paragraph.C (asString): Remove XForms RTL hacks.
9821
9822 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9823         * buffer.C: fix typo
9824
9825 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9826
9827         * Makefile.am (LIBS): delete var
9828         (lyx_LDADD): add @LIBS@ here instead.
9829
9830 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9831
9832         * Clarify the meaning of "wheel mouse jump"
9833
9834 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9835
9836         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9837         tabular in a float
9838
9839 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9840
9841         * importer.C (Loaders): do not preallocate 3 elements in the
9842         vector, since one ends up with 6 elements otherwise
9843
9844 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9845
9846         * DepTable.C (write): write the file name as last element of the
9847         .dep file (because it may contain spaces)
9848         (read): read info in the right order
9849
9850 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9851
9852         * paragraph_pimpl.C (simpleTeXBlanks):
9853         (simpleTeXSpecialChars):
9854         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9855
9856         * tabular.C (latex): add some missing case statements. Reindent.
9857
9858         * MenuBackend.C (expandToc): remove unused variable.
9859
9860 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9861
9862         * LColor.C:
9863         * LaTeX.C:
9864         * LyXAction.C:
9865         * MenuBackend.C:
9866         * buffer.C:
9867         * exporter.C:
9868         * lyxfunc.C:
9869         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9870         and the like.
9871
9872 2003-01-05  John Levon  <levon@movementarian.org>
9873
9874         * BufferView.h:
9875         * BufferView.C: add getEncoding()
9876
9877         * kbsequence.h:
9878         * kbsequence.C: do not store last keypress
9879
9880         * lyxfunc.h:
9881         * lyxfunc.C: store last keypress here instead. Pass encoding
9882           to getISOEncoded()
9883
9884 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9885
9886         * lyx_main.C (init): remove annoying error message when following
9887         symbolic links (bug #780)
9888
9889 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9890
9891         * text.C (insertChar):
9892         * lyxrc.C (getDescription): remove extra spaces
9893
9894 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9895
9896         * lyxrc.C (getDescription): remove extra spaces
9897
9898 2002-12-20  John Levon  <levon@movementarian.org>
9899
9900         * text3.C: hack fix for page up/down across tall rows
9901
9902 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9903
9904         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9905         not been invoked
9906
9907 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9908
9909         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9910         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9911         thesaurus is not compiled in
9912
9913 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9914
9915         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9916
9917 2002-12-16  Angus Leeming  <leeming@lyx.org>
9918
9919         * lyxrc.[Ch]:
9920         * lyx_main.C (init): remove override_x_deadkeys stuff.
9921
9922 2002-12-12  John Levon  <levon@movementarian.org>
9923
9924         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9925           insert. Only remove shift modifier under strict
9926           circumstances.
9927
9928 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9929
9930         * MenuBackend.C (expandToc): fix crash.
9931
9932 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9933
9934         * MenuBackend.C (expandToc): gettext on float names.
9935
9936 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9937
9938         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9939         implement bool empty() [bug 490]
9940
9941 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9942
9943         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9944
9945 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9946
9947         * several files: ws changes
9948
9949 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9950
9951         * text2.C (setCounter): clean up a bit, use boost.format.
9952         (updateCounters): initialize par upon declaration.
9953
9954         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9955         if the layout exists. We do not just store the layout any more.
9956         (SwitchLayoutsBetweenClasses): use boost.format
9957
9958 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9959
9960         * converter.C (convert): if from and to files are the same, use a
9961         temporary files as intermediary
9962
9963 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9964
9965         * commandtags.h:
9966         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9967
9968 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9969
9970         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9971
9972 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9973
9974         * tabular.C (asciiPrintCell): use string(size, char) instead of
9975         explicit loop.
9976
9977         * sgml.C (openTag): fix order of arguments to string constructor
9978         (closeTag): ditto
9979
9980         * lyxfunc.C (dispatch): use boost.format
9981
9982         * lots of files: change "c" -> 'c'
9983
9984 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9985
9986         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9987
9988 2002-11-25  Angus Leeming  <leeming@lyx.org>
9989
9990         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9991
9992         * lyx_main.C (init): compile fix.
9993
9994 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9995
9996         * lyx_cb.C (start): boost.formatify
9997         do not include <iostream>
9998
9999         * lengthcommon.C: ws only
10000
10001         * boost-inst.C,BoostFormat.h: add more explict instantations
10002
10003 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10004
10005         * lots of files: handle USE_BOOST_FORMAT
10006
10007 2002-11-21  John Levon  <levon@movementarian.org>
10008
10009         * pspell.C: fix compile
10010
10011 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10012
10013         * lyxfunc.C (dispatch): use boost::format
10014         (open): ditto
10015         (doImport): ditto
10016
10017         * lyxfont.C (stateText): use boost::format
10018
10019         * lyx_main.C (LyX): use boost::format
10020         (init): ditto
10021         (queryUserLyXDir): ditto
10022         (readRcFile): ditto
10023         (parse_dbg): ditto
10024         (typedef boost::function): use the recommened syntax.
10025
10026         * importer.C (Import): use boost::format
10027
10028         * debug.C (showLevel): use boost::format
10029
10030         * converter.C (view): use boost::format
10031         (convert): ditto
10032         (move): ditto
10033         (scanLog): ditto
10034
10035         * bufferview_funcs.C (currentState): use boost::format
10036
10037         * bufferlist.C (emergencyWrite): use boost::format
10038
10039         * buffer.C (readLyXformat2): use boost::format
10040         (parseSingleLyXformat2Token): ditto
10041
10042         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10043
10044         * LaTeX.C (run): use boost::format
10045
10046         * Chktex.C (scanLogFile): use boost::format
10047
10048         * BufferView_pimpl.C (savePosition): use boost::format
10049         (restorePosition): ditto
10050         (MenuInsertLyXFile): ditto
10051
10052         * BoostFormat.h: help file for explicit instation.
10053
10054 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10055
10056         * tabular.C (latex): Support for block alignment in fixed width
10057         columns.
10058
10059 2002-11-17  John Levon  <levon@movementarian.org>
10060
10061         * BufferView_pimpl.C:
10062         * lyx_cb.C:
10063         * lyxfunc.C: split filedialog into open/save
10064
10065 2002-11-08  Juergen Vigna  <jug@sad.it>
10066
10067         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10068         by my last patch (hopefully).
10069
10070 2002-11-08  John Levon  <levon@movementarian.org>
10071
10072         * iterators.h:
10073         * iterators.C:
10074         * buffer.h:
10075         * buffer.C:
10076         * paragraph.h:
10077         * paragraph.C:
10078         * toc.h:
10079         * toc.C: ParConstIterator, and use it (from Lars)
10080
10081 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10082
10083         * lyxtextclass.[Ch]: revise and add doxygen comments
10084
10085 2002-11-07  John Levon  <levon@movementarian.org>
10086
10087         * text.C: fix progress value for spellchecker
10088
10089         * toc.C: fix navigate menu for insetwrap inside minipage
10090
10091         * paragraph_funcs.C: added FIXME for suspect code
10092
10093 2002-11-07  John Levon  <levon@movementarian.org>
10094
10095         * BufferView_pimpl.C: fix redrawing of insets
10096           on buffer switch
10097
10098 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10099
10100         * text2.C (updateCounters): fix bug 668
10101
10102 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10103
10104         * text3.C (dispatch): Do not make the buffer dirty when moving the
10105         cursor.
10106
10107 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10108
10109         * vc-backend.C: STRCONV
10110         (scanMaster): ditto
10111
10112         * text2.C (setCounter): STRCONV
10113
10114         * paragraph.C (asString): STRCONV
10115
10116         * lyxlength.C (asString): STRCONV
10117         (asLatexString): ditto
10118
10119         * lyxgluelength.C (asString): STRCONV
10120         (asLatexString): ditto
10121
10122         * lyxfunc.C (dispatch): STRCONV
10123         (open): ditto
10124
10125         * lyxfont.C (stateText): STRCONV
10126
10127         * importer.C (Import): STRCONV
10128
10129         * counters.C (labelItem): STRCONV
10130         (numberLabel): ditto
10131         (numberLabel): remove unused ostringstream o
10132
10133         * chset.C: STRCONV
10134         (loadFile): ditto
10135
10136         * bufferview_funcs.C (currentState): STRCONV
10137
10138         * buffer.C (readFile): STRCONV
10139         (asciiParagraph): ditto
10140         (makeLaTeXFile): ditto
10141
10142         * Spacing.C (writeEnvirBegin): STRCONV
10143
10144         * LaTeXFeatures.C (getLanguages): STRCONV
10145         (getPackages): ditto
10146         (getMacros): ditto
10147         (getBabelOptions): ditto
10148         (getTClassPreamble): ditto
10149         (getLyXSGMLEntities): ditto
10150         (getIncludedFiles): ditto
10151
10152         * LaTeX.C: STRCONV
10153         (run): ditto
10154         (scanAuxFile): ditto
10155         (deplog): ditto
10156
10157         * LString.h: add the STRCONV macros
10158
10159         * BufferView_pimpl.C (savePosition): STRCONV
10160         (restorePosition): ditto
10161         (MenuInsertLyXFile): ditto
10162
10163         * vc-backend.C (scanMaster): change from submatch[...] to
10164         submatch.str(...)
10165
10166         * funcrequest.C: include config.h
10167
10168         * factory.C: include config.h
10169
10170         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10171
10172         * box.C: include config.h
10173
10174         * LaTeX.C (scanAuxFile): change from submatch[...] to
10175         submatch.str(...)
10176         (deplog): ditto
10177
10178 2002-10-25  Angus Leeming  <leeming@lyx.org>
10179
10180         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10181
10182         * ispell.[Ch] (setError): new method.
10183         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10184         Use setError() insetead of goto END.
10185
10186         * lyx_cb.C (AutoSave): move out child process into new class
10187         AutoSaveBuffer.
10188
10189 2002-10-30  John Levon  <levon@movementarian.org>
10190
10191         * text3.C: make start appendix undoable
10192
10193 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10194
10195         * lyxlength.C (inPixels): Fix returned value.
10196
10197         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10198         environment.
10199
10200 2002-10-24  Angus Leeming  <leeming@lyx.org>
10201
10202         * lyxgluelength.h: no need to forward declare BufferParams
10203         or BufferView, so don't.
10204
10205 2002-10-21  John Levon  <levon@movementarian.org>
10206
10207         * BufferView.C: menuUndo ->undo, redo
10208
10209         * BufferView.h: document, remove dead, make some methods private
10210
10211         * paragraph_funcs.h:
10212         * paragraph_funcs.C:
10213         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10214
10215         * buffer.h:
10216         * buffer.C:
10217         * sgml.h:
10218         * sgml.C: move sgml open/close tag into sgml.C
10219
10220         * bufferview_funcs.h: unused prototype
10221
10222         * lyxfunc.h:
10223         * lyxfunc.C: remove unused
10224
10225         * lyxtext.h:
10226         * text.C: remove unused
10227
10228 2002-10-21  John Levon  <levon@movementarian.org>
10229
10230         * BufferView.h:
10231         * BufferView.C:
10232         * BufferView_pimpl.h:
10233         * BufferView_pimpl.C: fix mouse wheel handling based on
10234           patch from Darren Freeman
10235
10236 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10237
10238         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10239
10240 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10241
10242         * lyxlength.C (inPixels): Fix hanfling of negative length.
10243         Fix LyXLength::MU case.
10244
10245 2002-10-16  John Levon  <levon@movementarian.org>
10246
10247         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10248
10249 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10250
10251         * converter.C (view): add support for $$i (file name) and $$p
10252         (file path) for the viewer command. If $$i is not specified, then
10253         it is appended to the command (for compatibility with old syntax)
10254
10255 2002-10-14  Juergen Vigna  <jug@sad.it>
10256
10257         * undo_funcs.C (textHandleUndo): alter the order in which the
10258         new undopar is added to the LyXText, as we have to set first
10259         the right prev/next and then add it as otherwise the rebuild of
10260         LyXText is not correct. Also reset the cursor to the right paragraph,
10261         with this IMO we could remove the hack in "redoParagraphs()".
10262
10263 2002-10-09  Angus Leeming  <leeming@lyx.org>
10264
10265         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10266         to turn off an optimisation if a new inset is to be inserted.
10267
10268 2002-10-11 André Pönitz <poenitz@gmx.net>
10269
10270         * lyxtext.h: make some functions public to allow access
10271         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10272
10273 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10274
10275         * text3.C (dispatch): when changing layout, avoid an infinite loop
10276         [bug #652]
10277
10278 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10279
10280         * lyxrc.C (read): treat a viewer or converter command of "none" as
10281         if it were empty.
10282
10283         * MenuBackend.C (expandFormats): for an update, also allow the
10284         formats that are not viewable
10285
10286         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10287         script if it is newer than the lyxrc.defaults in user directory
10288
10289 2002-10-07 André Pönitz <poenitz@gmx.net>
10290
10291         * text.C: Vitaly Lipatov's small i18n fix
10292
10293 2002-09-25  Angus Leeming  <leeming@lyx.org>
10294
10295         * ispell.h: doxygen fix.
10296
10297 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10298
10299         * buffer.h (readFile): Add a new argument to the method, to allow
10300         reading of old-format templates.
10301
10302 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10303
10304         * toc.C (getTocList): Get TOC from InsetWrap.
10305
10306 2002-09-16  John Levon  <levon@movementarian.org>
10307
10308         * lyxfunc.C: check tabular for cut/copy too
10309
10310 2002-09-12  John Levon  <levon@movementarian.org>
10311
10312         * LyXAction.C: tidy
10313
10314         * factory.h:
10315         * factory.C: add header
10316
10317         * paragraph_funcs.h:
10318         * paragraph_funcs.C: cleanup
10319
10320 2002-09-11  John Levon  <levon@movementarian.org>
10321
10322         * PrinterParams.h: odd/even default to true
10323
10324 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10325
10326         * PrinterParams.h: update printer parameters for new xforms dialog
10327
10328 2002-09-11  Angus Leeming  <leeming@lyx.org>
10329
10330         * lyxserver.C (read_ready): re-write to make it more transparent
10331         and to make it work in coherent fashion under Tru64 Unix.
10332
10333 2002-09-11  André Pönitz <poenitz@gmx.net>
10334
10335         * commandtags.h:
10336         * LyXAction.C:
10337         * text3.C: implement LFUN_WORDSEL
10338
10339 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10340
10341         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10342         make floatlist_ a boost::shared_ptr<FloatList>
10343
10344         * lyxtextclass.C: include FloatList.h
10345         (LyXTextClass): initialize floatlist_
10346         (TextClassTags): add TC_NOFLOAT
10347         (Read): match "nofloat" to TC_NOFLOAT and use it.
10348         (readFloat): modify call to floatlist_
10349         (floats): ditto
10350         (floats): ditto
10351
10352         * FloatList.[Ch] (FloatList): remove commented out float
10353         initialization.
10354         (erase): new function
10355
10356 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10357
10358         * MenuBackend.C (expandToc): fix crash when there is no document
10359         open
10360
10361 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10362
10363         * many files: Add insetwrap.
10364
10365 2002-09-09  John Levon  <levon@movementarian.org>
10366
10367         * text2.C: remove confusing and awkward depth wraparound
10368
10369 2002-09-09  John Levon  <levon@movementarian.org>
10370
10371         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10372
10373         * buffer.h:
10374         * buffer.C: remove getIncludeonlyList()
10375
10376         * paragraph.C:
10377         * lyxfunc.C: remove headers
10378
10379 2002-09-09  Juergen Vigna  <jug@sad.it>
10380
10381         * text.C (getColumnNearX): fix form Michael this is most
10382         probably a cut&paste bug.
10383
10384 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10385
10386         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10387
10388         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10389         references, ws changes.
10390
10391         * text2.C (init): update counters after init
10392         (insertParagraph): no need to set counter on idividual paragraphs.
10393         (setCounter): access the counters object in the textclass object
10394         on in the buffer object.
10395         (updateCounters): ditto
10396
10397         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10398         shared_ptr<Counters> to avoid loading counters.h in all
10399         compilation units.
10400         (LyXTextClass): initialize ctrs_
10401         (TextClassTags): add TC_COUNTER, and ...
10402         (Read): use it here.
10403         (CounterTags): new tags
10404         (readCounter): new function
10405         (counters): new funtion
10406         (defaultLayoutName): return a const reference
10407
10408         * counters.C (Counters): remove contructor
10409         (newCounter): remove a couple of unneeded statements.
10410         (newCounter): simplify a bit.
10411         (numberLabel): some small formatting changes.
10412
10413         * buffer.[Ch]: remove all traces of counters, move the Counters
10414         object to the LyXTextClass.
10415
10416 2002-09-06  Alain Castera  <castera@in2p3.fr>
10417
10418         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10419         package to set the horizontal alignment on fixed width columns.
10420
10421         * lyx_sty.C:
10422         * lyx_sty.h: added tabularnewline macro def.
10423
10424         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10425
10426 2002-09-06  John Levon  <levon@movementarian.org>
10427
10428         * LyXAction.C: tooltips for sub/superscript
10429
10430         * MenuBackend.C: a bit more verbose
10431
10432         * lyxfunc.C: tiny clean
10433
10434         * undo_funcs.C: document undo_frozen
10435
10436 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10437
10438         * counters.C (Counters): add missing algorithm counter.
10439
10440         * text2.C (setCounter): lookup the counter with layouts latexname
10441         instead of by section number.
10442         (setCounter): use a hackish way to lookup the correct enum
10443         counter.
10444         a float name->type change
10445         reset enum couners with counter name directly instead of depth value.
10446
10447         * counters.C (Counters): remove the push_backs, change to use the
10448         float type not the float name.
10449         (labelItem): remove unused string, float name->type change
10450
10451         * counters.h: don't include vector, loose the enums and sects vectors
10452
10453 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10454
10455         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10456         (Read): add float->TC_FLOAT to textclassTags
10457         (Read): and handle it in the switch
10458         (readFloat): new function
10459
10460         * FloatList.C (FloatList): comment out the hardcoded float
10461         definitions.
10462
10463         * lyxlayout.h: ws change.
10464
10465 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10466
10467         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10468
10469 2002-09-03  Angus Leeming  <leeming@lyx.org>
10470
10471         * BufferView_pimpl.h: qualified name is not allowed in member
10472         declaration: WorkArea & Pimpl::workarea() const;
10473
10474         * factory.C: added using std::endl directive.
10475
10476         * text3.C: added using std::find and std::vector directives.
10477
10478 2002-08-29  André Pönitz <poenitz@gmx.net>
10479
10480         * lyxtext.h:
10481         * text2.C: remove unused member number_of_rows
10482
10483         * Makefile.am:
10484         * BufferView2.C: remove file, move contents to...
10485         * BufferView.C: ... here
10486
10487         * BufferView_pimpl.C:
10488         * factory.C: move more inset creation to factory
10489
10490         * vspace.C: avoid direct usage of LyXText, ws changes
10491
10492         * BufferView.[Ch]:
10493                 don't provide direct access to WorkArea, use two simple
10494                 acessors haveSelction() and workHeight() instead
10495
10496
10497 2002-08-29  John Levon  <levon@movementarian.org>
10498
10499         * BufferView_pimpl.C (dispatch): do not continue when
10500           no buffer
10501
10502 2002-08-28  André Pönitz <poenitz@gmx.net>
10503
10504         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10505
10506         * BufferView.h:
10507         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10508
10509 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10510
10511         * buffer.C: increment LYX_FORMAT to 221
10512
10513         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10514         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10515
10516         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10517
10518         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10519
10520 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10521
10522         * factory.C (createInset): use LyXTextClass::floats
10523
10524         * MenuBackend.C (expandFloatListInsert):
10525         (expandFloatInsert):
10526         (expandToc):
10527
10528         * text2.C (setCounter):
10529
10530         * LaTeXFeatures.C (useFloat):
10531         (getFloatDefinitions):
10532
10533         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10534
10535         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10536         floatlist_, with accessor floats().
10537
10538         * FloatList.h: remove global FloatList
10539
10540 2002-08-26  André Pönitz <poenitz@gmx.net>
10541
10542         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10543
10544         * BufferView.h:
10545         * BufferView2.C:
10546         * BufferView_pimpl.C:
10547         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10548
10549 2002-08-25  John Levon  <levon@movementarian.org>
10550
10551         * LyXAction.C: fix margin note description
10552
10553 2002-08-24  John Levon  <levon@movementarian.org>
10554
10555         * buffer.C:
10556         * bufferlist.C:
10557         * bufferview_funcs.C:
10558         * lyxfont.C:
10559         * undo_funcs.C: cleanups
10560
10561         * lyxfunc.C: disable CUT/COPY when no selection
10562
10563 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10564
10565         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10566         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10567
10568         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10569         Add backward compatibility to "mono", "gray" and "no".
10570
10571 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10572
10573         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10574         (and file_format >= 200).
10575
10576 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10577
10578         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10579
10580 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10581
10582         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10583
10584 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10585
10586         * BufferView_pimpl.C:
10587         * LyXAction.C:
10588         * buffer.C:
10589         * commandtags.h:
10590         * lyxfunc.C:
10591         * paragraph.[Ch]:
10592         * text2.C:
10593         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10594         inset and code to make it  work with the paragraph code. The inset
10595         can be anywhere in the paragraph, but will only do the expected
10596         thing in LaTeX if the layout file contains the parameter line
10597                         OptionalArgs    1
10598         (or more generally, a nonzero value) for that layout.
10599
10600 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10601
10602         * paragraph.h: remove the declaration of undefined counters class
10603         function.
10604
10605 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10606
10607         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10608         Dr. Richard Hawkins.
10609
10610 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10611
10612         * paragraph_funcs.h: remove some unneeded includes
10613
10614         * text.C (backspace): pasteParagraph now in global scipe
10615
10616         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10617         (pasteSelection): ditto
10618
10619         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10620         * paragraph_funcs.C (pasteParagraph): ... here
10621
10622 2002-08-20  André Pönitz <poenitz@gmx.net>
10623
10624         * commandtags.h: new LFUNs for swapping/copying table row/colums
10625
10626         * LyXAction.C:
10627         * lyxfunc.C: support for new lfuns
10628
10629 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10630
10631         * tabular.C:
10632         * buffer.[Ch]: remove NO_COMPABILITY stuff
10633
10634 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10635
10636         * boost.C (throw_exception): new file, with helper function for
10637         boost compiled without exceptions.
10638
10639         * paragraph.h:
10640         * lyxlength.C:
10641         * buffer.C:
10642         * ParameterStruct.h:
10643         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10644
10645         * bufferlist.C (emergencyWriteAll): use boost bind
10646
10647         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10648
10649         * text.C: include paragraph_funcs.h
10650         (breakParagraph): breakParagraph is now in global scope
10651
10652         * paragraph_funcs.[Ch]: new files
10653
10654         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10655         global scope
10656
10657         * buffer.C: include paragraph_funcs.h
10658         (insertStringAsLines): breakParagraph is now in global scope
10659
10660         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10661         paragraph_funcs.C
10662
10663         * CutAndPaste.C: include paragraph_funcs.h
10664         (cutSelection): breakParagraphConservative is now in global scope
10665         (pasteSelection): ditto
10666
10667         * buffer.h: declare oprator== and operator!= for
10668         Buffer::inset_iterator
10669
10670         * bufferlist.C (emergencyWrite): don't use fmt(...)
10671
10672         * text3.C: add using std::endl
10673
10674         * BufferView.C (moveCursorUpdate): remove default arg
10675
10676 2002-08-20  André Pönitz <poenitz@gmx.net>
10677
10678         * buffer.[Ch]: move inline functions to .C
10679
10680         * BufferView2.C:
10681         * BufferView_pimpl.C:
10682         * text.C:
10683         * buffer.[Ch]: use improved inset_iterator
10684
10685         * buffer.C:
10686         * paragraph.[Ch]: write one paragraph at a time
10687
10688 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10689
10690         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10691         style if style is not specified.
10692
10693 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10694
10695         * text2.C (setCounter): when searching for right label for a
10696         caption, make sure to recurse to parent insets (so that a caption
10697         in a minipage in a figure float works) (bug #568)
10698
10699 2002-08-20  André Pönitz <poenitz@gmx.net>
10700
10701         * text3.C: new file for LyXText::dispatch() and helpers
10702
10703         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10704
10705         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10706
10707 2002-08-19  André Pönitz <poenitz@gmx.net>
10708
10709         * lyxtext.h:
10710         * text.C: new LyXText::dispatch()
10711
10712         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10713
10714 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10715
10716         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10717
10718         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10719         Hebrew text.
10720
10721 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10722
10723         * Makefile.am: use $(variables) instead of @substitutions@
10724
10725 2002-08-15  André Pönitz <poenitz@gmx.net>
10726
10727         * lyxfunc.C:
10728         * BufferView_pimpl.C: streamlining mathed <-> outer world
10729         interaction
10730
10731         * commandtags.h:
10732         * LyXAction.C: remove unused LFUN_MATH
10733
10734 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10735
10736         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10737
10738 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10739
10740         * paragraph.C (Paragraph): reformat a bit
10741         (cutIntoMinibuffer): use builtin InsetList function instad of
10742         doing it manually.
10743         (getInset): ditto
10744
10745         * buffer.C: include boost/bind.hpp, add using std::for_each
10746         (writeFileAscii): use ParagraphList iterators
10747         (validate): use for_each for validate traversal of paragraphs
10748         (getBibkeyList): use ParagraphList iterators
10749         (resizeInsets): use for_each to resizeInsetsLyXText for all
10750         paragraphs.
10751         (getParFromID): use ParagraphList iterators
10752
10753         * BufferView2.C (lockInset): use paragraph list and iterators
10754
10755 2002-08-14  John Levon  <levon@movementarian.org>
10756
10757         * lyxserver.C: remove spurious xforms include
10758
10759 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10760
10761         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10762
10763 2002-08-13  André Pönitz <poenitz@gmx.net>
10764
10765         * LyXAction.[Ch]:
10766         * lyxfunc.C: further cleaning
10767
10768 2002-08-13  André Pönitz <poenitz@gmx.net>
10769
10770         * funcrequest.h: new constructor
10771
10772         * funcrequest.C: move stuff here from .h
10773
10774         * Makefile.am:
10775         * BufferView_pimpl.C:
10776         * LyXAction.C:
10777         * toc.C:
10778         * lyxfunc.C: subsequent changes
10779
10780         * lyxfunc.h: new view() member function
10781
10782         * lyxfunc.C: subsequent changes
10783
10784 2002-08-13  Angus Leeming  <leeming@lyx.org>
10785
10786         * BufferView2.C:
10787         * BufferView_pimpl.C:
10788         * buffer.C:
10789         * converter.C:
10790         * importer.C:
10791         * lyxfunc.C:
10792         * lyxvc.C:
10793         * toc.C:
10794         * vc-backend.C:
10795         changes due to the changed LyXView interface that now returns references
10796         to member variables not pointers.
10797
10798 2002-08-13  Angus Leeming  <leeming@lyx.org>
10799
10800         * WordLangTuple (word, lang_code): return references to strings,
10801         not strings.
10802
10803         * BufferView.h:
10804         * SpellBase.h:
10805         * lyxtext.h: forward-declare WordLangTuple.
10806
10807         * BufferView2.C:
10808         * ispell.C:
10809         * pspell.C:
10810         * text.C: #include "WordLangTuple.h".
10811
10812         * lyxtext.h:
10813         * text.C: (selectNextWordToSpellcheck): constify return type.
10814
10815 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10816
10817         * buffer.C:
10818         * buffer.h:
10819         * lyxtext.h:
10820         * paragraph.C:
10821         * paragraph_pimpl.h:
10822         * text.C:
10823         * text2.C:
10824         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10825         suggested by Angus.
10826         Made updateCounter always count from start of buffer, and removed
10827         second argument (par).
10828         Reverted floats number display to '#'. Perhaps I'll try again when the
10829         code base is sanitized a bit.
10830
10831 2002-08-12  Angus Leeming  <leeming@lyx.org>
10832
10833         * buffer.[Ch] (getLabelList): constify.
10834
10835 2002-08-07  André Pönitz <poenitz@gmx.net>
10836
10837         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10838
10839         * funcrequest.h: extension to keep mouse (x,y) position
10840
10841 2002-08-12  Juergen Vigna  <jug@sad.it>
10842
10843         * BufferView2.C (insertErrors): forbid undo when inserting error
10844         insets.
10845
10846         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10847
10848 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10849
10850         * ParagraphList.[Ch]: new files
10851
10852         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10853
10854         * BufferView2.C (lockInset): ParagraphList changes
10855         * toc.C: ditto
10856         * text2.C: ditto
10857         * bufferlist.C: ditto
10858         * buffer.h: ditto
10859         * buffer.C: ditto
10860
10861 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10862
10863         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10864         unused class variable counter_,
10865
10866         * paragraph.[Ch] (getFirstCounter): delete unused function
10867
10868         * counters.C: include LAssert.h
10869         (reset): add a new function with no arg, change other version to
10870         not have def. arg and to not allow empty arg.
10871
10872         * text2.C (setCounter): remove empty arg from call to Counters::reset
10873
10874 2002-08-11  John Levon  <levon@movementarian.org>
10875
10876         * Makefile.am: add WordLangTuple.h
10877
10878 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10879
10880         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10881         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10882
10883         * insets/insettext.C: InsetList changes
10884
10885         * graphics/GraphicsSupport.C (operator()): InsetList changes
10886
10887         * toc.C (getTocList): InsetList changes
10888
10889         * paragraph_pimpl.[Ch]: InsetList changes
10890
10891         * paragraph.[Ch]: InsetList changes
10892
10893         * buffer.C (inset_iterator): InsetList changes
10894         (setParagraph): ditto
10895         * buffer.h (inset_iterator): ditto
10896         * iterators.C (operator++): ditto
10897         * iterators.h: ditto
10898
10899         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10900
10901         * InsetList.[Ch]: new files, most InsetList handling moved out of
10902         paragraph.C.
10903
10904         * BufferView2.C (removeAutoInsets): InsetList changes
10905         (lockInset): ditto
10906         (ChangeInsets): ditto
10907
10908 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10909
10910         * paragraph_pimpl.h (empty): new function
10911
10912         * paragraph.[Ch] (empty): new function
10913
10914         * other files: use the new Paragraph::empty function
10915
10916 2002-08-09  John Levon  <levon@movementarian.org>
10917
10918         * lyxtext.h: remove unused refresh_height
10919
10920 2002-08-09  John Levon  <levon@movementarian.org>
10921
10922         * Makefile.am:
10923         * sgml.h:
10924         * sgml.C:
10925         * buffer.C:
10926         * paragraph.h:
10927         * paragraph.C: move sgml char escaping out of paragraph
10928
10929         * paragraph.h:
10930         * paragraph.C: remove id setter
10931
10932         * buffer.C:
10933         * paragraph.C:
10934         * paragraph_pimpl.C: remove dead tex_code_break_column
10935
10936         * bufferview_funcs.C: small cleanup
10937
10938         * lyxfunc.C: remove dead proto
10939
10940         * lyxtext.h: make some stuff private. Remove some dead stuff.
10941
10942         * lyxgluelength.C: make as[LyX]String() readable
10943
10944 2002-08-08  John Levon  <levon@movementarian.org>
10945
10946         * LyXAction.h:
10947         * LyXAction.C:
10948         * MenuBackend.C:
10949         * ToolbarDefaults.C:
10950         * lyxfunc.C:
10951         * lyxrc.C:
10952         * toc.C: lyxaction cleanup
10953
10954 2002-08-08  John Levon  <levon@movementarian.org>
10955
10956         * BufferView2.C: small cleanup
10957
10958         * lyxfind.h:
10959         * lyxfind.C: move unnecessary header into the .C
10960
10961 2002-08-08  John Levon  <levon@movementarian.org>
10962
10963         * funcrequest.h: just tedious nonsense
10964
10965         * lyx_main.h:
10966         * lyx_main.C: cleanups
10967
10968         * buffer.C:
10969         * vspace.C: remove dead header lyx_main.h
10970
10971 2002-08-07  Angus Leeming  <leeming@lyx.org>
10972
10973         * Paragraph.[Ch]:
10974         * paragraph_pimpl.h:
10975         Forward declare class Counters in paragraph.h by moving the ctrs member
10976         variable into Paragraph::Pimpl.
10977         (counters): new method, returning a reference to pimpl_->ctrs.
10978
10979         * text2.C: ensuing changes.
10980
10981 2002-08-07  John Levon  <levon@movementarian.org>
10982
10983         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10984
10985         * BufferView_pimpl.C: announce X selection on double/triple
10986           click
10987
10988         * lyx_main.C: use correct bool in batch dispatch
10989
10990         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10991
10992 2002-08-07  André Pönitz <poenitz@gmx.net>
10993
10994         * funcrequest.h: new class to wrap a kb_action and its argument
10995
10996         * BufferView.[Ch]:
10997         * BufferView_pimpl[Ch]:
10998         * LaTeX.C:
10999         * LyXAction.[Ch]:
11000         * lyxfunc.[Ch]:
11001         * lyxrc.C: subsequent changes
11002
11003
11004 2002-08-07  John Levon  <levon@movementarian.org>
11005
11006         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11007           document options change.
11008
11009 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11010
11011         * counters.[Ch]
11012         * text2.C
11013         * paragraph.[Ch]
11014         * makefile.am: move counters functionality over from
11015         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11016
11017 2002-08-06  John Levon  <levon@movementarian.org>
11018
11019         * WordLangTuple.h: new file for word + language code tuple
11020
11021         * SpellBase.h:
11022         * pspell.h:
11023         * pspell.C:
11024         * ispell.h:
11025         * ispell.C:
11026         * lyxtext.h:
11027         * text.C:
11028         * text2.C:
11029         * BufferView.h:
11030         * BufferView2.C: use WordLangTuple
11031
11032         * layout.h:
11033         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11034
11035 2002-08-06  John Levon  <levon@movementarian.org>
11036
11037         * lyx_main.C: fix cmdline batch handling
11038
11039 2002-08-06  André Pönitz <poenitz@gmx.net>
11040
11041         * lyxrc.C: set default for show_banner to true
11042
11043 2002-08-06  John Levon  <levon@movementarian.org>
11044
11045         * pspell.C: fix a crash, and allow new aspell to work
11046
11047 2002-08-06  John Levon  <levon@movementarian.org>
11048
11049         * lyxfunc.C:
11050         * kbmap.C: small cleanup
11051
11052         * vspace.h:
11053         * vspace.C: add const
11054
11055 2002-08-05  John Levon  <levon@movementarian.org>
11056
11057         * LyXAction.C: back to tabular-insert
11058
11059 2002-08-04  John Levon  <levon@movementarian.org>
11060
11061         * BufferView.h:
11062         * BufferView.C: cosmetic change
11063
11064         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11065
11066         * bufferlist.C:
11067         * buffer.h:
11068         * buffer.C:
11069         * lyxcb.h:
11070         * lyxcb.C:
11071         * lyxserver.C:
11072         * lyxvc.C:
11073         * vc-backend.C:
11074         * BufferView2.C: purge all "Lyx" not "LyX" strings
11075
11076         * lyxcursor.h:
11077         * lyxcursor.C: attempt to add some documentation
11078
11079         * lyxfunc.C:
11080         * commandtags.h:
11081         * LyXAction.C:
11082         * ToolbarDefaults.C:
11083         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11084           merge with LFUN_TABULAR_INSERT
11085
11086         * Makefile.am:
11087         * SpellBase.h:
11088         * ispell.h:
11089         * ispell.C:
11090         * pspell.h:
11091         * pspell.C: split up i/pspell implementations into separate
11092           files, many cleanups
11093
11094         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11095
11096         * text2.C: some cleanup
11097
11098         * lyxfunc.C: don't check for isp_command == "none" any more, it
11099           didn't make any sense
11100
11101 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11102
11103         * counters.[Ch]
11104         * text2.C
11105         * paragraph.[Ch]
11106         * makefile.am: move counters functionality over
11107         from text2.C/paragraph.[Ch] to counters.[Ch], and
11108         make proper C++.
11109 2002-08-02  John Levon  <levon@movementarian.org>
11110
11111         * buffer.C: s/lyxconvert/lyx2lyx/
11112
11113 2002-08-02  Angus Leeming  <leeming@lyx.org>
11114
11115         * lyxlex.C: revert John's change as it breaks reading of the user
11116         preamble.
11117
11118 2002-08-02  Angus Leeming  <leeming@lyx.org>
11119
11120         * importer.C (Import):
11121         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11122         changes due to LyXView::view() now returning a boost::shared_ptr.
11123
11124 2002-08-02  John Levon  <levon@movementarian.org>
11125
11126         * lyxlex.C: small cleanup
11127
11128 2002-08-02  John Levon  <levon@movementarian.org>
11129
11130         * text2.C (status): small cleanup, no logic change
11131
11132 2002-08-01  John Levon  <levon@movementarian.org>
11133
11134         * buffer.h:
11135         * buffer.C (writeFile): don't output alerts, caller
11136           handles this
11137
11138         * bufferlist.C:
11139         * lyx_cb.C: from above
11140
11141         * lyxfunc.C: allow to open non-existent files
11142
11143 2002-07-31  John Levon  <levon@movementarian.org>
11144
11145         * lyxserver.C: don't let incidental errors get
11146           in the way (errno)
11147
11148 2002-07-30  John Levon  <levon@movementarian.org>
11149
11150         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11151
11152 2002-07-30  John Levon  <levon@movementarian.org>
11153
11154         * lyxserver.h:
11155         * lyxserver.C: remove I/O callback too
11156
11157 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11158
11159         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11160         log.
11161
11162 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11163
11164         * many files: strip,frontStrip -> trim,ltrim,rtrim
11165
11166 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11167
11168         * PrinterParams.h: remove extern containsOnly, and include
11169         support/lstrings.h instead.
11170
11171         * LaTeX.C (scanAuxFile): modify because of strip changes
11172         (deplog): ditto
11173         * buffer.C (makeLaTeXFile): ditto
11174         * bufferparams.C (writeFile): ditt
11175         * lyxfont.C (stateText): ditto
11176         * lyxserver.C (read_ready): ditto
11177         * vc-backend.C (scanMaster): ditto
11178
11179         * BufferView_pimpl.h: ws changes
11180
11181         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11182
11183 2002-07-26  André Pönitz <poenitz@gmx.net>
11184
11185         * kb_sequence.C: remove unnedred usings
11186
11187 2002-07-26  Juergen Vigna  <jug@sad.it>
11188
11189         * lyxfind.C (LyXReplace): we have to check better if the returned
11190         text is not of theLockingInset()->getLockingInset().
11191
11192 2002-07-25  Juergen Vigna  <jug@sad.it>
11193
11194         * lyxfind.C (LyXReplace): don't replace if we don't get the
11195         right LyXText.
11196
11197         * undo_funcs.C (createUndo): remove debugging code.
11198
11199 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11200
11201         * buffer.C (parseSingleLyXformat2Token): Use default placement
11202         when reading old floats.
11203
11204         * FloatList.C (FloatList): Change the default placement of figure
11205         and tables to "tbp".
11206
11207 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * MenuBackend.C: using std::max
11210
11211 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11212
11213         * MenuBackend.C (expandToc):
11214         (expandToc2): code moved from xforms menu frontend. It is now
11215         generic and TOCs are transparent to menu frontends.
11216
11217 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11218
11219         * toc.C (getTocList): protect against buf=0
11220
11221         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11222         Menu as first parameter. Now, this calls itself recursively to
11223         expand a whole tree (this will be useful for TOC handling)
11224         (expandFloatInsert): remove 'wide' version of floats
11225
11226         * MenuBackend.h (submenuname): returns the name of the submenu.
11227         (submenu): returns the submenu itself, provided it has been
11228         created by MenuBackend::expand
11229
11230 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11231
11232         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11233         insets which have noFontChange == true. (bug #172)
11234
11235 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11236
11237         * BufferView_pimpl.C: add connection objects and use them...
11238         (Pimpl): here.
11239
11240 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11241
11242         * MenuBackend.C (expandLastfiles):
11243         (expandDocuments):
11244         (expandFormats):
11245         (expandFloatListInsert):
11246         (expandFloatInsert):
11247         (expand): split expand in parts
11248
11249 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11250
11251         * lyx_gui.C: use lyx_gui::exit()
11252
11253 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * LyXAction.C: show the failing pseudo action
11256
11257 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11258
11259         * buffer.C (readFile): Run the lyxconvert script in order to read
11260         old files.
11261
11262 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11263
11264         * LyXAction.C:
11265         * commandtags.h:
11266         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11267
11268 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * LyXAction.C:
11271         * commandtags.h:
11272         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11273
11274 2002-07-22  Herbert Voss  <voss@lyx.org>
11275
11276         * lengthcommon.C:
11277         * lyxlength.[Ch]: add support for the vertical lengths
11278
11279 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11280
11281         * toc.[Ch]: std:: fixes
11282
11283 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11284
11285         * lyxrc.C: do not include lyx_main.h
11286
11287         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11288         for layouts
11289
11290         * lyxrc.C:
11291         * encoding.C:
11292         * bufferlist.C:
11293         * BufferView2.C: include "lyxlex.h"
11294
11295         * tabular.h:
11296         * bufferparams.h: do not #include "lyxlex.h"
11297
11298         * lyxtextclasslist.C (Add): remove method
11299         (classlist): renamed to classlist_
11300
11301         * paragraph_pimpl.C:
11302         * paragraph.C:
11303         * text2.C:
11304         * CutAndPaste.C:
11305         * bufferview_funcs.C:
11306         * bufferlist.C:
11307         * text.C:
11308         * LaTeXFeatures.C:
11309         * buffer.C:
11310         * toc.C (getTocList): use BufferParams::getLyXTextClass
11311
11312         * toc.C (getTocList): use InsetFloat::addToToc
11313
11314         * toc.[Ch]: new files, containing helper functions to handle table
11315         of contents
11316
11317         * lyxfunc.C (dispatch): no need to remove spaces around command
11318         given as a string
11319         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11320         first command of the sequence; it is not very clever, but I do not
11321         have a better idea, actually
11322
11323         * LyXAction.C (LookupFunc): make sure to remove space at the
11324         beginning and end of the command
11325
11326 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11327
11328         * MenuBackend.C (getMenubar): new method: return the menubar of
11329         this menu set
11330         (read): treat differently reading of menu and menubar (in
11331         particular, the menubar has no name now)
11332         (Menu::menubar): remove
11333
11334         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11335         saving is finished
11336
11337 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11338
11339         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11340         a bibitem inset in a RTL paragraph.
11341
11342 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * paragraph_pimpl.C: constify
11345
11346         * BufferView_pimpl.C:
11347         * LaTeX.C:
11348         * lyxfunc.C: fix dispatch in a nicer way
11349
11350 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11351
11352         * lyxfunc.C (dispatch):
11353         * BufferView_pimpl.C:
11354         * BufferView_pimpl.h:
11355         * BufferView.C:
11356         * BufferView.h: rename Dispatch() to dispatch()
11357
11358         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11359
11360         * lyxlayout.C (Read): honor DependsOn tag
11361
11362         * lyxlayout.[Ch] (depends_on): new method
11363
11364         * version.C.in: update lyx_docversion
11365
11366         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11367
11368         * paragraph.C (validate): remove from here...
11369         * paragraph_pimpl.C (validate): ... and move here
11370         (isTextAt): make it const
11371
11372         * buffer.C (getLists): ws cleanup
11373
11374 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11375
11376         * language.C (read): Use iso8859-1 encoding in latex_lang
11377         (this prevents LyX from crashing when using iso10646-1 encoding).
11378
11379 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11380
11381         * text2.C (toggleInset): if cursor is inside an inset, close the
11382         inset and leave cursor _after_ it
11383
11384 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11385
11386         * lyxfunc.C: move minibuffer completion handling out of here
11387
11388 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * BufferView_pimpl.C:
11391         * LaTeX.C: fix dispatch calls
11392
11393 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11394
11395         * text.C (drawChars): Fix Arabic text rendering.
11396
11397 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * LyXAction.C:
11400         * commandtags.h:
11401         * lyxfunc.C: remove message-push/pop
11402
11403         * lyxserver.C:
11404         * lyxfunc.h:
11405         * lyxfunc.C: rationalise some code by removing verboseDispatch
11406           in favour of a bool argument to dispatch()
11407
11408 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11409
11410         * lyx_main.C (init): make sure to read symlinks as absolute paths
11411
11412 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11413
11414         * lyxfunc.h:
11415         * lyxfunc.C: no need for commandshortcut to be a member
11416
11417 2002-07-15  André Pönitz <poenitz@gmx.net>
11418
11419         * converter.C: add support for $$s (scripts from lib/scripts dir)
11420         * lyx_main.C: white space
11421
11422 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11423
11424         * bufferlist.C:
11425         * lyxrc.h:
11426         * lyxrc.C: remove second exit confirmation
11427
11428 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * BufferView.h:
11431         * BufferView.C:
11432         * BufferView2.C:
11433         * BufferView_pimpl.h:
11434         * BufferView_pimpl.C:
11435         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11436
11437 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * MenuBackend.C (expand): add numeric shortcuts to document menu
11440
11441         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11442
11443 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11444
11445         * lyxfont.C (setLyXFamily):
11446         (setLyXSeries):
11447         (setLyXShape):
11448         (setLyXSize):
11449         (setLyXMisc):
11450         (lyxRead):
11451         * debug.C (value):
11452         * buffer.C (asciiParagraph): use ascii_lowercase
11453
11454 2002-07-15  Mike Fabian  <mfabian@suse.de>
11455
11456         * lyxlex_pimpl.C (search_kw):
11457         * lyxlex.C (getLongString):
11458         * converter.h (operator<):
11459         * converter.C (operator<):
11460         * buffer.C (parseSingleLyXformat2Token):
11461         (asciiParagraph):
11462         * ToolbarDefaults.C (read):
11463         * MenuBackend.C (checkShortcuts):
11464         (read):
11465         * LColor.C (getFromGUIName):
11466         (getFromLyXName): use the compare_ascii_no_case instead of
11467         compare_no_case, because in turkish, 'i' is not the lowercase
11468         version of 'I', and thus turkish locale breaks parsing of tags.
11469
11470 2002-07-16  Angus Leeming  <leeming@lyx.org>
11471
11472         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11473         now takes a Buffer const & argument.
11474
11475 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * BufferView.C (resize): check there's a buffer to resize
11478
11479 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * lyxfunc.C: remove dead code
11482
11483         * lyxserver.h:
11484         * lyxserver.C: use lyx_guii::set_read_callback
11485
11486 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11487
11488         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11489         an inset in a RTL paragraph.
11490
11491 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * lyxfunc.C: repaint after a font size update
11494
11495 2002-07-15  André Pönitz <poenitz@gmx.net>
11496
11497         * lyxlength.C: inBP should be able to return negative values
11498
11499 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * lyxfunc.C: use lyx_gui::update_fonts()
11502
11503 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * lyxfunc.C: use lyx_gui::update_color()
11506
11507 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * bufferlist.C:
11510         * lyxfunc.h:
11511         * lyxfunc.C:
11512         * lyxrc.h:
11513         * lyxrc.C: remove file->new asks for name option, and let
11514           buffer-new take an argument
11515
11516 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * BufferView_pimpl.C: remove unneeded extra repaint()
11519
11520 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11521
11522         * LyXAction.C: allow command-sequence with NoBuffer
11523
11524         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11525
11526 2002-07-10  Angus Leeming  <leeming@lyx.org>
11527
11528         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11529
11530 2002-07-09  Angus Leeming  <leeming@lyx.org>
11531
11532         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11533
11534 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * lengthcommon.h: whitespace
11537
11538         * lyxfunc.C: update scrollbar after goto paragraph
11539
11540         * lyxtext.h: factor out page break drawing, and fix it so
11541           page break/added space paints as selected nicely
11542
11543 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * BufferView_pimpl.C: add FIXMEs, clean up a little
11546
11547 2002-07-09  André Pönitz <poenitz@gmx.net>
11548
11549         * lyxfont.[Ch]: support for wasy symbols
11550
11551 2002-07-08  André Pönitz <poenitz@gmx.net>
11552
11553         * BufferView_pimpl.C: apply John's patch for #93.
11554
11555 2002-07-05  Angus Leeming  <leeming@lyx.org>
11556
11557         * BufferView_pimpl.C (buffer): generate previews if desired.
11558
11559         * LColor.h: add "preview" to the color enum.
11560
11561         * LColor.C (LColor): add a corresponding entry to the items array.
11562
11563         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11564         with this buffer.
11565
11566 2002-07-05  Angus Leeming  <leeming@lyx.org>
11567
11568         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11569         The body of the code is now in the method that is passed an ostream &
11570         rather than a file name.
11571         Pass an additional only_preamble parameter, useful for the forthcoming
11572         preview stuff.
11573
11574 2002-07-03  André Pönitz <poenitz@gmx.net>
11575
11576         * lyxfunc.C: simplify getStatus() a bit for math stuff
11577
11578 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11579
11580         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11581
11582 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11583
11584         * text.C (changeRegionCase): do not change case of all the
11585         document when region ends at paragraph end (bug #461)
11586
11587 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11588
11589         * paragraph.C (startTeXParParams):
11590         (endTeXParParams): add \protect when necessary
11591
11592 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11593
11594         * BufferView_pimpl.C (workAreaExpose): remove warning
11595
11596 2002-06-27  Angus Leeming  <leeming@lyx.org>
11597
11598         * Makefile.am: add lyxlayout_ptr_fwd.h.
11599
11600 2002-06-26  André Pönitz <poenitz@gmx.net>
11601
11602         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11603
11604 2002-06-25  Angus Leeming  <leeming@lyx.org>
11605
11606         * lyxfunc.C (dispatch): Comment out the call to
11607         grfx::GCache::changeDisplay. The method no longer exists now that the
11608         pixmap generation part of the graphics loader has been moved into
11609         InsetGraphics.
11610
11611 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * text2.C: layout as layout
11614
11615         * text.C: layout as layout
11616
11617         * tabular.C (OldFormatRead): layout as layout
11618
11619         * paragraph_pimpl.C (TeXDeeper): layout as layout
11620         (realizeFont): layout as layout
11621
11622         * paragraph.C (writeFile): layout as layout
11623         (validate): layout as layout
11624         (getFont): layout as layout
11625         (getLabelFont): layout as layout
11626         (getLayoutFont): layout as layout
11627         (breakParagraph): layout as layout
11628         (stripLeadingSpaces): layout as layout
11629         (getEndLabel): layout as layout
11630         (getMaxDepthAfter): layout as layout
11631         (applyLayout): layout as layout
11632         (TeXOnePar): layout as layout
11633         (simpleTeXOnePar): layout as layout
11634         (TeXEnvironment): layout as layout
11635         (layout): layout as layout
11636         (layout): layout as layout
11637
11638         * lyxtextclass.C (compare_name): new functor to work with
11639         shared_ptr, layout as layout
11640         (Read): layout as layout
11641         (hasLayout): layout as layout
11642         (operator): layout as layout
11643         (delete_layout): layout as layout
11644         (defaultLayout): layout as layout
11645
11646         * lyxlayout_ptr_fwd.h: new file
11647
11648         * lyxlayout.C (Read): layout as layout
11649
11650         * lyx_cb.C (MenuInsertLabel): layout as layout
11651
11652         * bufferlist.C (newFile): layout as layout
11653
11654         * buffer.C (readLyXformat2): layout as layout
11655         (parseSingleLyXformat2Token): layout as layout
11656         (insertStringAsLines): layout as layout
11657         (asciiParagraph): layout as layout
11658         (latexParagraphs): layout as layout
11659         (makeLinuxDocFile): layout as layout
11660         (simpleLinuxDocOnePar): layout as layout
11661         (makeDocBookFile): layout as layout
11662         (simpleDocBookOnePar): layout as layout
11663         (getLists): layout as layout
11664
11665         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11666
11667         * CutAndPaste.C (cutSelection): layout as layout
11668         (pasteSelection): layout as layout
11669         (SwitchLayoutsBetweenClasses): layout as layout
11670
11671         * BufferView_pimpl.C (Dispatch): layout as layout
11672         (smartQuote): layout as layout
11673
11674         * BufferView2.C (unlockInset): layout as layout
11675
11676 2002-06-24  André Pönitz <poenitz@gmx.net>
11677
11678         * lyxfunc.C: fix #487
11679
11680 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11681
11682         * lyxrc.h:
11683         * lyxrc.C:
11684         * lyxfunc.C: remove display_shortcuts, show_banner
11685
11686 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11687
11688         * Buffer_pimpl.C: oops, update on resize
11689
11690 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11691
11692         * buffer.C:
11693         * converter.C:
11694         * exporter.C:
11695         * lyxfunc.C:
11696         * BufferView.h:
11697         * BufferView.C: use repaint()
11698
11699         * BufferView_pimpl.h:
11700         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11701           as it's a clearer description. Remove superfluous
11702           redraws.
11703
11704 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * text.C: fix bug 488. Not ideal, but getting
11707           getWord() to work properly for the insets that
11708           matter is more difficult ...
11709
11710 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * BufferView_pimpl.C:
11713         * LyXAction.C:
11714         * commandtags.h:
11715         * lyxfunc.C: remove the six million index lyxfuncs to just
11716           one, and DTRT (bug 458)
11717
11718 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * BufferView.h:
11721         * BufferView.C:
11722         * BufferView_pimpl.h:
11723         * BufferView_pimpl.C: clean up resize() stuff,
11724           and unnecessary updateScreen()s
11725
11726 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11727
11728         * BufferView.h:
11729         * BufferView.C:
11730         * BufferView_pimpl.h:
11731         * BufferView_pimpl.C:
11732         * lyxfind.h:
11733         * lyxfind.C:
11734         * minibuffer.C: remove focus management of workarea,
11735           not needed. Use screen's greyOut()
11736
11737 2002-06-17  Herbert Voss  <voss@lyx.org>
11738
11739         * converter.C: (convert) do not post a message, when converting
11740         fails, let the calling function decide what to do in this case
11741
11742 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * lyxfunc.C: tidy up a little
11745
11746 2002-06-16    <alstrup@diku.dk>
11747
11748         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11749         Got rid of FORMS_H_LOCATION include. Now we are
11750         GUII.
11751
11752 2002-06-15  LyX Development team  <lyx@rilke>
11753
11754         * buffer.[Ch] (sgmlOpenTag):
11755         (sgmlCloseTag): Added support for avoiding pernicious mixed
11756         content. Return number of lines written.
11757
11758         (makeLinuxDocFile):
11759         (makeDocBookFile): Fixed calls to sgml*Tag.
11760         Simple white space clean.
11761
11762         (simpleDocBookOnePar): Simple white space clean.
11763
11764         * tabular.[Ch] (docBook): Renamed to docbook and got another
11765         argument to related with the pernicious mixed content.
11766
11767         (docbookRow): Fixed calls for docbook inset method.
11768
11769 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11770
11771         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11772         so it's X11 independent.
11773
11774         * kb*.[Ch]: ditto.
11775
11776         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11777
11778 2002-06-15  Lyx Development team  <lyx@electronia>
11779
11780         * intl.h: Renamed getTrans to getTransManager.
11781
11782 2002-06-14  Angus Leeming  <leeming@lyx.org>
11783
11784         * Makefile.am: nuke forgotten stl_string_fwd.h.
11785
11786 2002-06-12  Angus Leeming  <leeming@lyx.org>
11787
11788         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11789
11790 2002-06-13  Angus Leeming  <leeming@lyx.org>
11791
11792         * LaTeX.C:
11793         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11794
11795 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11796
11797         * kbmap.C (getiso): add support for cyrillic and greek
11798
11799 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * BufferView.h:
11802         * BufferView.C:
11803         * BufferView_pimpl.h:
11804         * BufferView_pimpl.C: move bogus scrolling logic
11805           to xforms
11806
11807 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11808
11809         * lyxfunc.C:
11810         * BufferView_pimpl.C: view->resize() change
11811
11812 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * BufferView_pimpl.C: topCursorVisible
11815           prototype change
11816
11817 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11818
11819         * Makefile.am:
11820         * lyx_gui.h:
11821         * lyx_gui.C: move to frontends/
11822
11823         * main.C:
11824         * lyx_main.h:
11825         * lyx_main.C: changes from above
11826
11827 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11828
11829         * intl.C:
11830         * intl.h:
11831         * kbmap.C:
11832         * kbsequence.C:
11833         * lyx_cb.C:
11834         * lyx_main.C: minor tidy
11835
11836 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * BufferView_pimpl.h:
11839         * BufferView_pimpl.C:
11840         * BufferView.h:
11841         * BufferView.C: make painter() const,
11842           remove dead code
11843
11844         * BufferView2.C: use screen() accessor
11845
11846         * lyx_main.h:
11847         * lyx_main.C: some minor cleanup
11848
11849 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * BufferView_pimpl.h:
11852         * BufferView_pimpl.C: remove enter/leaveView,
11853           use workHeight()
11854
11855 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11856
11857         * BufferView.h:
11858         * BufferView.C:
11859         * BufferView2.C:
11860         * BufferView_pimpl.h:
11861         * BufferView_pimpl.C: only construct screen once,
11862           rename
11863
11864         * lyxrc.C: remove pointless comment
11865
11866 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * BufferView.h:
11869         * BufferView.C: remove active() and belowMouse()
11870
11871         * BufferView_pimpl.h:
11872         * BufferView_pimpl.C: use workarea() not workarea_,
11873           and make it use a scoped_ptr instead
11874
11875 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * lyx_gui.C: add debug message on BadWindow
11878
11879 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * sp_spell.C: fdopen is not part of the C++ standard.
11882
11883         * paragraph.C (InsetIterator): use >= instead of ==
11884
11885 2002-06-07  Angus Leeming  <leeming@lyx.org>
11886
11887         Fixes needed to compile with Compaq cxx 6.5.
11888         * BufferView_pimpl.C:
11889         * DepTable.C:
11890         * buffer.C:
11891         * converter.C:
11892         * encoding.C:
11893         * lyx_gui.C:
11894         * lyx_main.C:
11895         * lyxtextclasslist.C:
11896         * minibuffer.C:
11897         * sp_spell.C:
11898         * tabular_funcs.C:
11899         * vc-backend.C:
11900         all c-library variables have been moved into namespace std. Wrap
11901         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11902
11903         * lyxlength.C:
11904         * tabular-old.C:
11905         * tabular.C:
11906         Add a using std::abs declaration.
11907
11908         * kbmap.h (modifier_pair):
11909         * paragraph.h (InsetTable, InsetList):
11910         * lyxfont.h (FontBits):
11911         type definition made public.
11912
11913         * bufferlist.C (emergencyWriteAll): the compiler complains that
11914         there is more than one possible lyx::class_fun template to choose from.
11915         I re-named the void specialisation as lyx::void_class_fun.
11916
11917         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11918
11919         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11920         the compiler is is unable to find tostr in write_attribute.
11921
11922 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11923
11924         * buffer.C (sgmlError): hide #warning
11925
11926 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11927
11928         * xtl/*: get rid of xtl, which is not in use anyway
11929
11930         * LyXAction.C (init):
11931         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11932         were unimplemented xtl experimentation
11933
11934 2002-06-04  André Pönitz <poenitz@gmx.net>
11935
11936         * lyxfunc.C: disable array operation on simple formulae
11937
11938 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * converter.C: constify a bit
11941
11942 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * lyx_gui.C: check xforms version correctly
11945
11946 2002-04-30  Herbert Voss  <voss@lyx.org>
11947
11948         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11949         "keep" option
11950
11951 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11954           attempt to register it with a VCS)
11955
11956 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11957
11958         * lyx_main.C (init): honor variables LYX_DIR_13x and
11959         LYX_USERDIR_13x
11960
11961 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * buffer.h:
11964         * buffer.C:
11965         * lyx_main.C: fix a crash on bad command line,
11966           and give a useful exit status on error
11967
11968         * lyxfunc.C (doImport): allow -i lyx to work
11969
11970 2002-03-30  André Pönitz <poenitz@gmx.net>
11971
11972         * lyxfunc.C: mathed font changes
11973
11974 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * LaTeX.C:
11977         * importer.h:
11978         * importer.C:
11979         * lyx_sty.h:
11980         * lyx_sty.C:
11981         * lyxlex.C:
11982         * lyxrow.h:
11983         * lyxtext.h:
11984         * paragraph.h:
11985         * paragraph.C:
11986         * texrow.h:
11987         * texrow.C:
11988         * text.C:
11989         * trans_mgr.h: srcdocs, and some minor cleanups
11990
11991 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11994         call getFont all the time)
11995
11996 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11997
11998         * switch from SigC signals to boost::signals
11999
12000 2002-05-29  André Pönitz <poenitz@gmx.net>
12001
12002         * paragraph_pimpl.C (getChar): don't call size() too often...
12003
12004 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12005
12006         * paragraph_pimpl.C (insertChar): do not try to update tables when
12007         appending (pos == size())
12008
12009         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12010         in order to reduce drastically the number of comparisons needed to
12011         parse a large document
12012
12013 2002-05-29  André Pönitz <poenitz@gmx.net>
12014
12015         * text.C:
12016         * text2.C:
12017         * lyxtextclass.C:
12018         * sp_pspell.h:
12019         * textclasslist.[Ch]:
12020         * sp_ispell.h: whitespace change
12021
12022 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12023
12024         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12025         lyxaction directly now.
12026
12027 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * trans.C:
12030         * lyxfont.C:
12031         * lyxvc.C: remove unused headers
12032
12033 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * Makefile.am:
12036         * buffer.h:
12037         * undostack.h:
12038         * undostack.C:
12039         * undo_funcs.h:
12040         * undo_funcs.C: some cleanups. Use shared_ptr
12041           and a template for the undo stacks.
12042
12043 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12044
12045         * BufferView_pimpl.h:
12046         * BufferView_pimpl.C:
12047         * kbmap.h:
12048         * kbmap.C:
12049         * kbsequence.h:
12050         * kbsequence.C:
12051         * lyxfunc.h:
12052         * lyxfunc.C:
12053         * text2.C: use key_state/mouse_state
12054
12055 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12056
12057         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12058         and LSubstring
12059
12060         * chset.C: change include order
12061         (loadFile): use boost regex and get rid of LRegex and LSubstring
12062
12063         * Makefile.am (BOOST_LIBS): new variable
12064         (lyx_LDADD): use it
12065
12066         * LaTeX.C: change include order.
12067         (scanAuxFile): use boost regex and get rid of LRegex and
12068         LSubstring
12069         (deplog): ditto
12070
12071 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * ColorHandler.h:
12074         * ColorHandler.C:
12075         * FontInfo.h:
12076         * FontInfo.C: moved to frontends/xforms/
12077
12078         * FontLoader.h:
12079         * FontLoader.C: moved into frontends for GUIIzation
12080
12081         * Makefile.am:
12082         * lyx_gui.C:
12083         * lyxfont.C:
12084         * lyxfunc.C: changes from above
12085
12086 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12087
12088         * LColor.C: remove spurious X include
12089
12090         * BufferView_pimpl.C:
12091         * Makefile.am:
12092         * font.h:
12093         * font.C:
12094         * text.C:
12095         * text2.C: move font metrics to frontends/
12096
12097 2002-05-24  Juergen Vigna  <jug@sad.it>
12098
12099         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12100         setting the undo_cursor.
12101
12102         * ParagraphParameters.h: include local includes first.
12103
12104 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12105
12106         * BufferView_pimpl.C:
12107         * BufferView_pimpl.h:
12108         * Makefile.am:
12109         * WorkArea.h:
12110         * WorkArea.C:
12111         * screen.C: move WorkArea into frontends/
12112
12113         * lyxscreen.h:
12114         * screen.C:
12115         * text.C:
12116         * BufferView.C:
12117         * BufferView2.C: move LyXScreen into frontends/
12118
12119         * lyxlookup.h:
12120         * lyxlookup.C:
12121         * lyx_gui.C: move lyxlookup into frontends/xforms/
12122
12123 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * BufferView2.C:
12126         * BufferView_pimpl.C:
12127         * FontLoader.C:
12128         * LyXView.h:
12129         * LyXView.C:
12130         * Makefile.am:
12131         * WorkArea.C:
12132         * XFormsView.h:
12133         * XFormsView.C:
12134         * buffer.C:
12135         * bufferlist.C:
12136         * bufferview_funcs.C:
12137         * converter.C:
12138         * importer.C:
12139         * lyx_cb.C:
12140         * lyx_gui.C:
12141         * lyx_main.C:
12142         * lyx_find.C:
12143         * lyxfunc.C:
12144         * lyxvc.C:
12145         * minibuffer.C:
12146         * text.C:
12147         * text2.C:
12148         * trans.C:
12149         * vc-backend.C: move LyX/XFormsView into frontends/
12150
12151 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12152
12153         * Makefile.am:
12154         * PainterBase.C:
12155         * PainterBase.h:
12156         * Painter.C:
12157         * Painter.h:
12158         * WorkArea.C:
12159         * WorkArea.h:
12160         * screen.C:
12161         * tabular.C:
12162         * text.C:
12163         * text2.C: move Painter to frontends/
12164
12165 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12166
12167         * buffer.C: comment out some some code that depend upon lyx_format
12168         < 220
12169
12170         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12171         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12172
12173         * buffer.h (NO_COMPABILITY): turn off compability
12174
12175         * ColorHandler.C: include scoped_array.hpp
12176
12177         * font.C: Use more specific smart_ptr header.
12178         * Painter.C: ditto
12179         * gettext.C: ditto
12180         * ShareContainer.h: ditto
12181         * lyx_main.h: ditto
12182         * kbmap.h: ditto
12183         * FontInfo.h: ditto
12184         * BufferView_pimpl.h: ditto
12185         * ColorHandler.h: ditto
12186
12187         * kbmap.C (defkey): change call to shared_ptr::reset
12188
12189 2002-05-21  Juergen Vigna  <jug@sad.it>
12190
12191         * buffer.C (insertErtContents): fix to insert ert asis if it is
12192         non empty. Skip it completely if it contains only whitespaces.
12193
12194 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * BufferView_pimpl.C:
12197         * BufferView2.C: clear selection on paste (bug 393)
12198
12199 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12200
12201         * DepTable.C: include ctime
12202
12203 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12204
12205         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12206
12207 2002-05-14  Juergen Vigna  <jug@sad.it>
12208
12209         * text.C (breakParagraph): fixed function to honor the keepempty
12210         layout in the right maner and also to permit the right breaking
12211         algorithm on empty or non empyt keepempty paragraphs.
12212
12213         * paragraph.C (breakParagraph): we have to check also if the par
12214         is really empty (!size()) for isempty otherwise we do the wrong
12215         paragraph break.
12216
12217 2002-05-10  Juergen Vigna  <jug@sad.it>
12218
12219         * buffer.[Ch] : The following are only changes to the ert
12220         compatibility read reading old LaTeX layout and font stuff and
12221         convert it to ERTInsets.
12222
12223         * buffer.h: added isErtInset().
12224
12225         * buffer.C (struct ErtComp): add a fromlayout bool to check
12226         if we're inside a LaTeX layout.
12227         (isErtInset): new helper function.
12228         (insertErtContents): look for other ert insets before this one
12229         and insert the contents there, so that we don't have subsequent
12230         ERT insets with nothing between them. This way we create only one
12231         inset with multiple paragraphs. Also check if we don't insert only
12232         spaces ' ' as they are ignored anyway afterwards in the .tex file
12233         so if we have only spaces we will ignore this latex part in the
12234         new file.
12235         (parseSingleLyXformat2Token \\layout): better compatibility when
12236         reading layout-latex stuff.
12237         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12238         language tag.
12239         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12240         stuff after reading the inset only get the information back from
12241         the stack.
12242
12243 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12244
12245         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12246
12247         * LaTeXFeatures.C (getBabelOptions): New method.
12248
12249 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * BufferView_pimpl.C (Dispatch): work around missing argument for
12252         'layout'
12253
12254 2002-05-08  Juergen Vigna  <jug@sad.it>
12255
12256         * text.C (leftMargin): handle paragraph leftindent.
12257
12258         * paragraph.C (writeFile): write the new \\leftindent tag.
12259         (validate): handle leftindent code.
12260         (TeXEnvironment): handle paragraphleftindent code again.
12261
12262         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12263
12264         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12265         for paragrap_extra indent code and new token \\leftindent.
12266         (latexParagraphs): handle the leftindent as environment.
12267
12268         * ParameterStruct.h: added leftindent support.
12269
12270         * ParagraphParameters.C (leftIndent): added support functions for
12271         the paragraph left indent.
12272
12273         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12274         more appropriate.
12275
12276 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12277
12278         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12279         inside insetERT.
12280
12281         * text.C (computeBidiTables): No bidi in insetERT.
12282
12283         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12284         in RTL documents.
12285
12286 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12287
12288         * version.C.in: pre 5
12289
12290 2002-05-02  José Matos  <jamatos@fep.up.pt>
12291         * buffer.C (makeDocBookFile): white space changes, add newline to
12292         command styles.
12293         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12294
12295         * tabular.C (docBook): fix typo.
12296
12297 2002-05-03  Juergen Vigna  <jug@sad.it>
12298
12299         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12300         change in LyXText as we can not be sure it was not freed.
12301         (drawOneRow): remove unused code.
12302
12303         * text.C (drawInset): redo the calculation of the need_break_row as
12304         it could have a row which was already freed.
12305         (draw): look at the return value of drawInset and return false if
12306         it also returned false.
12307         (paintRowText): look at the return value of draw and return false if
12308         it also returned false.
12309
12310         * lyxtext.h: added bool return type to drawInset() and draw() so that
12311         if we have a change in the row so that the rowbreak has to be redone
12312         we abort drawing as it will be called again.
12313
12314 2002-05-02  Juergen Vigna  <jug@sad.it>
12315
12316         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12317         a change in the maintext also if we're inside an inset.
12318         (Dispatch): set the cursor again after a break line and after the
12319         screen has been updated as it could be we're in a different row.
12320
12321         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12322         to set the cursor behind the pargraph with > size().
12323         (setCursor): check also for the same paragraph when checking where
12324         to put the cursor if we have a NFR inset.
12325
12326         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12327         parts of layout read further up as it still was in the wrong
12328         position.
12329
12330 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * screen.C (drawFromTo): change sine fullRebreak always return
12333         true.
12334
12335         * buffer.C (parseSingleLyXformat2Token): reindent some
12336
12337         * BufferView_pimpl.C (update): change since fullRebreak always
12338         return true.
12339         (Dispatch): git rid of the last hardcoded "Standard"s.
12340
12341 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12342
12343         * text2.[Ch] (fullRebreak): make it return void now that we always
12344         returned true.
12345
12346 2002-04-30  Juergen Vigna  <jug@sad.it>
12347
12348         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12349         ert compatibility check for "latex" layout.
12350
12351 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12352
12353         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12354         minipages: use col% instead of p%, and also use the current font.
12355         (makeLaTeXFile): Fix use babel condition.
12356         (parseSingleLyXformat2Token): Correct font when reading old floats.
12357
12358 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12359
12360         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12361         inserting list of floats.
12362
12363 2002-04-25  Herbert Voss  <voss@lyx.org>
12364
12365         * MenuBackend.C (expand): don't add the graphics extensions to the
12366         export menu
12367
12368 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12369
12370         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12371         non-existing layout, do not complain if it was the default layout
12372         of the original class (bug #342)
12373
12374 2002-04-24  Juergen Vigna  <jug@sad.it>
12375
12376         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12377         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12378
12379 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12380
12381         * buffer.C (getBibkeyList): If using \bibliography, return the
12382         option field with the reference itself. Enables us to provide natbib
12383         support when using \bibliography.
12384
12385 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12386
12387         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12388
12389         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12390         natbib is provided by the LaTeX class.
12391
12392 2002-04-23  Juergen Vigna  <jug@sad.it>
12393
12394         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12395         Wakeup functions.
12396
12397         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12398
12399 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12400
12401         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12402
12403         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12404         ensuremath around textordmasculine, textordfeminine and
12405         textdegree.
12406
12407 2002-04-19  Juergen Vigna  <jug@sad.it>
12408
12409         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12410         reinitializing the buffer otherwise row-dimensions may be wrong.
12411         (update): reset also the selection cursors if they do exits otherwise
12412         their x/y positions may be wrong.
12413
12414         * text2.C (cursorDown): don't enter the inset if we came from a row
12415         above and are one row over the inset.
12416
12417         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12418         really leaving an inset.
12419
12420 2002-04-18  Juergen Vigna  <jug@sad.it>
12421
12422         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12423         of the selected paragraph does not have the selected layout also if
12424         the last one had!
12425
12426         * text2.C (setLayout): fixed bug which did not change last selected
12427         paragraph.
12428
12429         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12430         changed the read and substituted \\end_float with \\end_inset!
12431
12432         * BufferView_pimpl.C (cursorPrevious):
12433         (cursorNext): fixed to make it work with rows heigher than the work
12434         area without moving the cursor only the draw of the row.
12435         (workAreaMotionNotify): fix jumping over high rows.
12436
12437 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12438
12439         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12440         Ressler.
12441
12442 2002-04-16  Juergen Vigna  <jug@sad.it>
12443
12444         * text2.C (setCursor): set also the irow().
12445         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12446         (cursorUp):
12447         (cursorDown): support for locking an inset if the x_fix value goes
12448         inside it. That way I can transverse insets too with cursor up/down.
12449
12450         * lyxrow.h: added irow helper function same as other (i) functions.
12451
12452         * BufferView_pimpl.C (cursorPrevious):
12453         (cursorNext): fixed for insets!
12454
12455 2002-04-15  Juergen Vigna  <jug@sad.it>
12456
12457         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12458         position otherwise it is wrong in some cases.
12459
12460         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12461         inside the inset before the call.
12462
12463 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12464
12465         * buffer.[Ch] (getBibkeyList): make it const.
12466
12467 2002-04-12  Juergen Vigna  <jug@sad.it>
12468
12469         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12470
12471         * text2.C (getCursorX): new helper function
12472         (setCursor): compute also ix_
12473         (setCursorFromCoordinates): set also ix.
12474
12475         * lyxcursor.h: added ix_ and helper functions.
12476
12477         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12478
12479         * buffer.C (insertStringAsLines): dont break paragraph if the this
12480         paragraph is inside an inset which does not permit it!
12481
12482         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12483         also with no chars on this paragraph.
12484         (paintRowText): only paint stuff if it's inside the workarea!
12485
12486         * paragraph.C (breakParagraph): honor keepempty flag and break the
12487         paragraph always below not above.
12488
12489         * BufferView2.C (unlockInset): update the paragraph layout on inset
12490         unlock as we changed paragraph in such a case.
12491
12492         * lyxfind.C (LyXFind): clear the former selection if not found!
12493
12494         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12495         again called in insertChar().
12496
12497         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12498         an inset which uses the whole row!
12499         (rightMargin): ditto.
12500         (insertChar): force a rebreak if we inserted an inset!
12501
12502 2002-03-28  Herbert Voss  <voss@lyx.org>
12503
12504         * lyxlength.[Ch]: add inBP() to get the right PS-point
12505         units (BigPoint). With inPixels we have rounding errors
12506
12507 2002-04-11  Juergen Vigna  <jug@sad.it>
12508
12509         * text2.C (setCursorFromCoordinates): set iy to the right value.
12510         (setCursor): add check if row->previous exists!
12511
12512         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12513         an old float_type as this was the case in the old code!
12514
12515         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12516
12517         * BufferView2.C (showLockedInsetCursor): use iy
12518         (fitLockedInsetCursor): ditto
12519
12520         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12521         locked insets as there we have the right value now.
12522
12523         * lyxcursor.C: added iy_ variable and iy functions to set to the
12524         baseline of cursor-y of the locked inset.
12525
12526         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12527         (setCursor): fixed for insets which need a full row.
12528
12529         * text.C (rowLastPrintable): don't ignore the last space when before
12530         an inset which needs a full row.
12531         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12532         as last character of a row when before a inset which needs a full row.
12533
12534 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12535
12536         * version.C.in: update date
12537
12538         * text2.C (fullRebreak): try to always return true and see what
12539         happens...
12540
12541 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12542
12543         * MenuBackend.C (expand): use Floating::listName
12544
12545         * FloatList.C (FloatList): add listName argument to the built-in
12546         floats
12547
12548         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12549         text associated with the float.
12550
12551 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12552
12553         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12554
12555 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12556
12557         * ShareContainer.h: add a couple of missing typenames.
12558
12559 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12560
12561         * lyxrc.C (getDescription): use _() correctly rather than N_().
12562
12563 2002-03-28  Herbert Voss  <voss@lyx.org>
12564
12565         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12566         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12567
12568 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12569
12570         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12571         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12572
12573 2002-03-29  Juergen Vigna  <jug@sad.it>
12574
12575         * lyxfunc.C (dispatch): add a missing fitCursor call.
12576
12577         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12578         it was scrolled by a cursor move, so return the bool status.
12579
12580         * BufferView.C (fitCursor): return the bool flag also to the outside
12581         world as this is needed.
12582
12583         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12584
12585         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12586         call the edit() as it is not needed (and wrong) IMO.
12587         (workAreaButtonPress): set the screen_first variable before evt.
12588         unlock the inset as this may change screen_first and then we have
12589         a wrong y position for the click!
12590
12591 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12592
12593         * MenuBackend.C (expand): another translation that I missed
12594
12595 2002-03-28  Juergen Vigna  <jug@sad.it>
12596
12597         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12598
12599         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12600
12601 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12602
12603         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12604
12605         * MenuBackend.C (expand): fix export/view/update when there is no
12606         document open.
12607
12608 2002-03-27  Herbert Voss  <voss@lyx.org>
12609
12610         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12611         and text%
12612
12613 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12614
12615         * bufferview_funcs.C (currentState): only show paragraph number
12616         for is DEVEL_VERSION is set.
12617
12618         * lyxfunc.C (dispatch): put warning in INFO channel
12619
12620         * MenuBackend.C (expand): translate the name of floats
12621
12622         * FloatList.C (FloatList): mark the float names for translation
12623
12624         * converter.C (convert): use LibScriptSearch
12625
12626 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12627
12628         * MenuBackend.C (defaults): fix default menu (we might as well get
12629         rid of it...)
12630
12631 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12632
12633         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12634         directory.
12635
12636 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12637
12638         * lyxvc.C: reorder includes.
12639
12640 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12641
12642         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12643           properly
12644
12645 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12646
12647         * CutAndPaste.C: change layouts earlier on paste
12648           to avoid crashing when calling getFont()
12649
12650 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12651
12652         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12653         irritating #error.
12654
12655 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * WorkArea.C: remove 'Pending' debug message.
12658
12659         * most files: ws cleanup
12660
12661         * buffer.[Ch]: ws changes
12662
12663         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12664
12665 2002-03-21  Juergen Vigna  <jug@sad.it>
12666
12667         * tabular.C (SetMultiColumn): collapse also the contents of the
12668         cells and set the last border right. Added a Buffer const * param.
12669
12670 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12671
12672         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12673         linking or not.
12674
12675 2002-03-19  Juergen Vigna  <jug@sad.it>
12676
12677         * text2.C (clearSelection): reset also xsel_cache.
12678
12679         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12680         where it needs to be called (John tells us to do so too :)
12681         (selectionLost): reset sel_cache.
12682
12683         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12684
12685 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12686
12687         * text2.C (setCursorIntern): put debuging code in INSETS channel
12688
12689 2002-03-19  André Pönitz <poenitz@gmx.net>
12690
12691         * lyxfunc.C: tiny whitespace change
12692
12693 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12694
12695         * ToolbarDefaults.C (init):
12696         * LyXAction.C (init):
12697         * commandtags.h:
12698         * BufferView_pimpl.C (Dispatch):
12699         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12700
12701 2002-03-19  Allan Rae  <rae@lyx.org>
12702
12703         * exporter.C (Export): removeAutoInsets before doing anything else.
12704         While I've just introduced a dependency on BufferView this really is
12705         the best place to clean the buffer otherwise you need to cleanup in
12706         a dozen places before calling export or cleanup in a dozen functions
12707         that export calls.
12708
12709         * converter.C (runLaTeX):
12710         (scanLog): Better handling of removeAutoInsets and screen updates.
12711
12712         * lyxfunc.C (dispatch): small whitespace changes
12713
12714 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * WorkArea.C (C_WorkAreaEvent): return a value.
12717         (event_cb): return 1 if we handled the event, 0 otherwise.
12718
12719         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12720
12721 2002-03-18  Juergen Vigna  <jug@sad.it>
12722
12723         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12724         (GetAdditionalWidth): ditto.
12725         (RightLine): ditto.
12726         (LeftLine): ditto.
12727
12728         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12729         inset if we're there actually (probably not used right now but this
12730         is the direction to go for unifying code).
12731         (paste): disable code to clear the selection.
12732
12733         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12734         inside an InsetText and move the check further up as it is in the
12735         wrong place.
12736
12737         * text2.C (pasteSelection): set a selection over the pasted text.
12738
12739 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12740
12741         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12742         and libgraphics to build on Cygwin.
12743
12744 2002-03-15  Juergen Vigna  <jug@sad.it>
12745
12746         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12747         inserting an Inset into the paragraph. I know this is not the best
12748         fix but we already use current_view in CutAndPaste so we will remove
12749         all of it's using at the same time.
12750
12751         * buffer.C (sgmlError): deactivated function till it is rewritten in
12752         the right mode, now it can create problems.
12753
12754         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12755         before accessing it.
12756
12757 2002-03-14  Juergen Vigna  <jug@sad.it>
12758
12759         * undo_funcs.C (textHandleUndo): do the right thing when updating
12760         the inset after the undo/redo.
12761
12762         * text2.C (setCursor): just some testcode for #44 not ready yet.
12763
12764         * undo_funcs.C (textHandleUndo): set the next() and previous()
12765         pointers of the paragraph to 0 before deleting otherwise we have
12766         problems with the Paragraph::[destructor].
12767
12768         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12769         on a paragraph insertion.
12770
12771 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * buffer.C (asciiParagraph): use += operator for char append to
12774         string.
12775
12776         * paragraph.C (getFontSettings): compare >= not just >
12777         (highestFontInRange): ditto
12778         (setFont): ditto
12779
12780 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * paragraph.C: change several algorithm to be more appripriate for
12783         the problem domain. This is lookip in FontList and in the InsetList.
12784
12785 2002-03-13  André Pönitz <poenitz@gmx.net>
12786
12787         * commandtags.h:
12788         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12789
12790 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12791
12792         * commandtags.h:
12793         * LyXAction.C:
12794         * lyxfunc.C:
12795         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12796
12797 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12798
12799         * Painter.C (display): anon helper function, adjust code for this
12800         change.
12801         (pixmap): remove function.
12802
12803         * Painter.h: remove private display variable.
12804
12805         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12806
12807 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12808
12809         * WorkArea.[Ch]: remove figinset_canvas cruft.
12810
12811 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * lyxtextclass.C (operator): add one item cache optimization.
12814
12815         * bufferlist.h: doxy changes
12816
12817         * bufferlist.C: ws changes
12818
12819         * DepTable.[Ch] (ext_exist): place const in the right spot.
12820
12821         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12822         call resizeInsets.
12823         (workAreaExpose): call resizeInsets when the with BufferView changes.
12824         (Dispatch): adjust for protectedBlank removal
12825         (specialChar): call updateInset if the insert went ok.
12826
12827         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12828         specialChar instead.
12829
12830         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12831
12832         * BufferView.h: doxy change
12833
12834         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12835
12836         * lyxtextclass.C (operator[]): remove non-const version
12837         (defaultLayout): remove non-const version
12838
12839 2002-03-12  Juergen Vigna  <jug@sad.it>
12840
12841         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12842         did resize the LyXText too.
12843
12844         * buffer.C (readLyXformat2): set layout information on newly allocated
12845         paragraphs.
12846
12847         * tabular.C (OldFormatRead): set layout information on the paragraph.
12848
12849 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12850
12851         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12852
12853 2002-03-11  Juergen Vigna  <jug@sad.it>
12854
12855         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12856         plainly wrong.
12857         (resizeCurrentBuffer): force also the insets to resize themselfes.
12858         (moveCursorUpdate): fixed up for InsetText.
12859
12860 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12861
12862         * commandtags.h:
12863         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12864         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12865         value of Dialogs::tooltipsEnabled().
12866         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12867
12868 2002-03-08  Juergen Vigna  <jug@sad.it>
12869
12870         * BufferView_pimpl.C (updateInset): update inset inside inset also
12871         if it isn't inside theLockingInset().
12872
12873 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12874
12875         * buffer.C (asciiParagraph): redo some of the word and line length
12876         handling.
12877         (getLists): look for Caption instead of caption.
12878
12879 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12880
12881         * buffer.C (Buffer): initialize niceFile to true
12882         (makeLaTeXFile):
12883         (makeLinuxDocFile):
12884         (makeDocBookFile): make sure niceFile is true on exit
12885
12886 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12887
12888         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12889
12890 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12891
12892         * LyXSendto.C: remove.
12893         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12894         * lyx_gui.C: remove now-redundant comment.
12895         * ColorHandler.h: remove forward declaration of class WorkArea.
12896         * lyxfunc.C: remove #include "WorkArea.h".
12897
12898 2002-03-07  Juergen Vigna  <jug@sad.it>
12899
12900         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12901         got moved away with the DEPM and also set the inset_owner always
12902         right which before could have been omitted.
12903
12904 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12907         wanted layout is not found.
12908
12909 2002-03-07  Juergen Vigna  <jug@sad.it>
12910
12911         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12912
12913 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * paragraph.C (breakParagraph): use default layout not layout of
12916         prev paragraph.
12917         (Paragraph): clear ParagraphParameters.
12918
12919 2002-03-06  Juergen Vigna  <jug@sad.it>
12920
12921         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12922         otherwise it would not be a valid lenght. Fixed a special case in
12923         the minipage compatibility read where we end the document with a
12924         minipage.
12925
12926         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12927         was set as it could be 0 for InsetTexts first entry.
12928
12929 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * paragraph.C (writeFile): if layout is empty write out
12932         defaultLayoutName().
12933
12934         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12935         file without named layout we set layout to defaultLayoutName().
12936
12937 2002-03-06  Juergen Vigna  <jug@sad.it>
12938
12939         * CutAndPaste.C (copySelection): set layout for new paragraph.
12940
12941         * text.C (prepareToPrint): leave ERT inset left aligned
12942         (leftMargin): don't indent paragraphs inside ERT insets
12943
12944 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12945
12946         * paragraph.C (breakParagraph): dont call clear do the work manually
12947
12948         * paragraph.[Ch] (clear): remove function
12949
12950 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12951
12952         * paragraph.C (Paragraph): dont call clear, the work has already
12953         been done.
12954
12955         * lyxtextclass.C (operator): assert if n is empty
12956
12957         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12958         work manually instead.
12959
12960 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12961
12962         * BufferView_pimpl.C: protect selectionLost against text == 0
12963
12964 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * text.C (breakParagraph): fix a setting layout to '0' problem.
12967
12968 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12969
12970         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12971         final location of file, for the included files, and graphics.
12972
12973 2002-03-05  Juergen Vigna  <jug@sad.it>
12974
12975         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12976
12977 2002-03-04  Juergen Vigna  <jug@sad.it>
12978
12979         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12980
12981         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12982         last column of multicolumn cells.
12983         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12984
12985 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12986
12987         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12988         file if it doesn't go to a temporary file.
12989
12990         * buffer.C (sgmlOpenTag):
12991         (sgmlCloseTag):  remove extra newline insertion.
12992
12993 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12994
12995         * text.C (getRowNearY): comment out debug msg
12996
12997 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * text2.C: first -> first_y
13000
13001         * text.C (getRowNearY): add some attemts at a possible
13002         optimization, not working.
13003
13004         * tabular.[Ch]: add BufferParams to several function so that newly
13005         created paragraph can be initialized to he default layotu for the
13006         buffers textclass.
13007
13008         * tabular-old.C (ReadOld): add buf->params to call of Init
13009
13010         * screen.C: rename text->first to text->first_y
13011
13012         * paragraph.C (breakParagraph): always set layout in the broken
13013         paragraph
13014
13015         * lyxtextclass.C (Read): remove lowercase
13016         (hasLayout): ditto
13017         (operator): ditto
13018         (delete_layout): ditto
13019
13020         * lyxtext.h: rename first -> first_y
13021
13022         * lyxlayout.C (Read): remove lowercase
13023         (name): ditto
13024         (setName): ditto
13025         (obsoleted_by): ditto
13026
13027         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13028
13029         * buffer.C (insertErtContents): add params are to InsetERT
13030         (parseSingleLyXformat2Token): add code to check if a paragraphs
13031         layout really exist.
13032         (parseSingleLyXformat2Token): add params to several inset
13033         constructors
13034         (asciiParagraph): remove lowercase, do the layout comparisons with
13035         no_case
13036
13037         * BufferView_pimpl.C (cursorNext): first -> first_y
13038         (resizeCurrentBuffer): first -> first_y
13039         (updateScrollbar): first -> first_y
13040         (scrollCB): first -> first_y
13041         (workAreaMotionNotify): first -> first_y
13042         (workAreaButtonPress): first -> first_y
13043         (checkInsetHit): first -> first_y
13044         (cursorPrevious): first -> first_y
13045         (cursorNext): first -> first_y
13046         (Dispatch): add buffer_->params to severl inset contructors
13047
13048 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13049
13050         * lyxlayout.C (Read): remove some debug info that I forgot.
13051
13052         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13053         clean up the code slightly.
13054         (makeLinuxDocFile): ditto
13055         (makeDocBookFile): ditto
13056
13057         * text2.C: layout as string
13058
13059         * text.C: layout as string
13060
13061         * paragraph_pimpl.C: layout as string
13062
13063         * paragraph.[Ch]: layout as string
13064
13065         * lyxtextclasslist.[Ch]: layout as string
13066
13067         * lyxtextclass.[Ch]: layout as string
13068
13069         * lyxtext.h: layout as string
13070
13071         * lyxlayout.[Ch]: layout as string
13072
13073         * lyx_cb.C: layout as string
13074
13075         * bufferview_funcs.C: layout as string
13076
13077         * bufferparams.C: layout as string
13078
13079         * buffer.C: layout as string
13080
13081         * LyXView.[Ch]: layout as string
13082
13083         * LaTeXFeatures.[Ch]: layout as string
13084
13085         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13086
13087         * BufferView_pimpl.C: change current_layout to string, remove
13088         lyx::layout_type.
13089         (Dispatch):
13090         (smartQuote):
13091         (insertInset):
13092         (workAreaButtonRelease): layout as string
13093
13094         * BufferView2.C (unlockInset): adjust
13095
13096         * vspace.C (asLatexCommand): use an explict temp variable.
13097
13098 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13099
13100         * Makefile.am: use FRONTEND_*
13101
13102 2002-03-01  Juergen Vigna  <jug@sad.it>
13103
13104         * tabular.C (SetWidthOfMulticolCell): changed to something better
13105         I hope but still work in progress.
13106         (recalculateMulticolumnsOfColumn): renamed function from
13107         recalculateMulticolCells as it is more appropriate now.
13108         (SetWidthOfCell): calculate multicols better.
13109
13110 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13111
13112         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13113
13114         * lyxfunc.C (processKeySym): print sequence also if it is
13115         `deleted' (complete)
13116
13117         * kbsequence.C (print): print sequence even if it is deleted
13118         (complete would be a better word, actually).
13119
13120         * lyxfunc.C (dispatch): print complete options after a prefix key
13121
13122         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13123
13124 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13125
13126         * text2.C (setCharFont): eliminate setCharFont code duplication.
13127
13128 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13129
13130         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13131         LFUN_TABULAR_FEATURE (bug #177)
13132
13133 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13134
13135         * Makefile.am: remove figure.h
13136
13137 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13138
13139         * Bufferview_pimpl.C:
13140         * CutAndPasteC:
13141         * LaTeX.C:
13142         * LyXSendto.C:
13143         * buffer.C:
13144         * bufferlist.C:
13145         * converter.C:
13146         * language.C:
13147         * lyxfunc.C:
13148         * lyxvc.C:
13149         * paragraph.C:
13150         * text.C:
13151         * text2.C: remove #include "lyx_gui_misc.h".
13152
13153         * LaTeX.C: added #include <cstdio>
13154
13155 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13156
13157         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13158         that the paragraph following this one can have.
13159
13160         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13161
13162         * vspace.C (asLatexCommand): fix bogus gcc warning
13163
13164         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13165
13166 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13167
13168         * text2.C (setLayout): get rid of redundant code
13169
13170 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13171
13172         * text2.C (incDepth): make sure depth cannot be increased beyond
13173         reasonable values.
13174
13175 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13176
13177         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13178         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13179
13180         * PainterBase.h (image):
13181         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13182         a LyXImage const *.
13183
13184 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13185
13186         * BufferView.C:
13187         * BufferView.h:
13188         * BufferView_pimpl.C:
13189         * BufferView_pimpl.h:
13190         * LaTeXFeatures.C:
13191         * LyXAction.C:
13192         * LyXView.C:
13193         * Makefile.am:
13194         * UpdateList.h:
13195         * UpdateList.C:
13196         * buffer.C:
13197         * figure.h:
13198         * figureForm.C:
13199         * figureForm.h:
13200         * figure_form.C:
13201         * figure_form.h:
13202         * lyx_cb.C:
13203         * lyx_gui.C:
13204         * lyx_gui_misc.C:
13205         * lyxfunc.C:
13206         * sp_base.h:
13207         * sp_ispell.h:
13208         * sp_pspell.h:
13209         * sp_spell.C: remove fig inset, and the crap house of
13210           cards that follows it
13211
13212 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13213
13214         * Makefile.am:
13215         * lyxserver.C:
13216         * os2_defines.h:
13217         * os2_errortable.h:
13218         * nt_defines.h: move .h into support/
13219
13220         * vms_defines.h: remove
13221
13222         * WorkArea.C: add space in debug output
13223
13224         * text2.C:
13225         * paragraph.C:
13226         * buffer.C: add WITH_WARNINGS
13227
13228         * vc-backend.h:
13229         * vc-backend.C:
13230         * bufferlist.C: s/retrive/retrieve/, add docs
13231
13232         * vspace.h:
13233         * vspace.C:
13234         * kbmap.h:
13235         * lyxlength.h:
13236         * lyxgluelength.h:
13237         * length_common.h:
13238         * chset.h:
13239         * chset.C: add docs
13240
13241         * lyxgui.C: add ID to X error handler
13242
13243         * lyxtestclass.c: fix typo
13244
13245 2002-02-26  Juergen Vigna  <jug@sad.it>
13246
13247         * tabular_funcs.C (write_attribute): changed so that some default
13248         attributes are not written at all.
13249         (getTokenValue): set default values before trying to read the
13250         value so we have the return value always set as default if we don't
13251         find the token we search for.
13252
13253         * tabular.C (Write): write bools as bools not as strings!
13254
13255 2002-02-22  Juergen Vigna  <jug@sad.it>
13256
13257         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13258         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13259
13260         * text.C (leftMargin): don't add an indent for paragraphs inside
13261         tabular cells (fix #208).
13262
13263 2002-02-21  José Matos  <jamatos@fep.up.pt>
13264
13265         * tabular.C (docBook): fixed support for long tables.
13266
13267 2002-02-20  Juergen Vigna  <jug@sad.it>
13268
13269         * text2.C (getFont): get the drawing font of the Inset if this
13270         paragraph is inside an inset (only important for InsetERT for now).
13271
13272         * buffer.C (insertErtContents): use new lanugage params in ERT
13273         constructor.
13274
13275         * CutAndPaste.C: commenting out seemingly uneeded code.
13276
13277 2002-02-19  Allan Rae  <rae@lyx.org>
13278
13279         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13280         Iterators might be simple to use but they also get invalidated.
13281         (removeAutoInsets): renamed saved cursor tracking variables and added
13282         some comments to clarify what everything does.
13283
13284 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13285
13286         * Chktex.C:
13287         * LaTeX.C:
13288         * LyXSendto.C:
13289         * converter.C:
13290         * lyx_cb.C:
13291         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13292         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13293
13294         * lyxfunc.C:
13295         * vc-backend.h: remove #include "support/syscall.h"
13296
13297         * LaTeX.C:
13298         * LyXSendto.C:
13299         * converter.C: rearrange #includes in Lars' approved fashion.
13300
13301         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13302         forward declare class Timeout in the header file.
13303
13304         * XFormsView.C: changes due to the above.
13305
13306         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13307         similar to LyXView.
13308
13309         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13310         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13311
13312 2002-02-18  José Matos  <jamatos@fep.up.pt>
13313
13314         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13315         insets contents.
13316
13317 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13318
13319         * a lot of small ws changes
13320         * add a lot of using std::XXX
13321         * use std construcs some places where approp.
13322         * use some exisint stuff from lyxfunctional where approp.
13323         * Make file changes to use partial linking (lets test this now...)
13324
13325 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * Chktex.C:
13328         * buffer.C:
13329         remove #include "support/syscontr.h" as it's redundant. Always has been.
13330
13331         * Chktex.C:
13332         * LaTeX.C:
13333         * LyXSendto.C:
13334         * converter.C:
13335         * lyx_cb.C:
13336         * vc-backend.C:
13337         change Systemcalls::System to Systemcalls::Wait and
13338         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13339         No change of functionality, just reflects the stripped down Systemcalls
13340         class.
13341
13342 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13343
13344         * debug.[Ch]: add a GRAPHICS type to the enum.
13345
13346 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13347
13348         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13349
13350         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13351         there is an inset.
13352
13353 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13354
13355         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13356         match the changes below.
13357
13358         * text2.C (toggleInset): if there is not editable inset at cursor
13359         position, try to see if cursor is _inside_ a collapsable inset
13360         and close it.
13361
13362 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13363
13364         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13365         document menu has a nice checkbox
13366
13367 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13368
13369         * lyxlength.C (asLatexString): change PW to output as percent of
13370         \textwidth.
13371
13372         * lengthcommon.C: change '%' to 't%'
13373
13374         * lyxfunc.C (dispatch): a few comments from Martin
13375
13376 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13377
13378         * WorkArea.h:
13379         * WorkArea.C:
13380         * BufferView_pimpl.h:
13381         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13382           the X selection.
13383
13384 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13385
13386         * vspace.C (inPixels): fix compiler warning
13387
13388 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13389
13390         * lyxfunc.C (getStatus): fix status message for disabled commands.
13391
13392 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13393
13394         * BufferView_pimpl.C: fix crash on close buffer
13395         during selection (#227)
13396
13397 2002-01-27  Herbert Voss  <voss@lyx.org>
13398
13399         * buffer.C: link old Figure to new graphic inset
13400
13401 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13402
13403         * FontLoader.C (getFontinfo): Change the latex font names in order
13404         to match the names of type1inst.
13405
13406 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13407
13408         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13409
13410         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13411         (extchanged): ditto
13412         (ext_exist): ditto
13413         (remove_files_with_extension): ditto
13414         (remove_file): ditto
13415         (write): ditto
13416
13417         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13418         document is smaller than the work area height. Do not initialize
13419         static variables to 0.
13420
13421 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13422
13423         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13424
13425         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13426         LFUN_LAYOUT_PARAGRAPHS.
13427
13428         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13429         tabular. It is possible to provide a possible cell, which will
13430         typically be the actcell from the corresponding insettabular
13431
13432         * lyxfunc.C (getStatus): small cleanup; disable
13433         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13434         true
13435
13436 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13437
13438         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13439
13440         * paragraph.C (startTeXParParams):
13441         (endTeXParParams): new methods. The LaTeX code to
13442         start/end paragraph formatting
13443         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13444         empty (fixes bug #200)
13445
13446         * vspace.C (inPixels): adapt to the change below
13447         (inPixels): [later] more cleanups (remove unused variables)
13448
13449         * lyxlength.C (inPixels): change to use a width and a height as
13450         parameter.
13451
13452 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13453
13454         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13455         Replaced with \paperwidth
13456
13457         * DepTable.C (insert): add std:: qualifier
13458
13459 2002-01-18  Allan Rae  <rae@lyx.org>
13460
13461         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13462         updated also?
13463
13464         * text.C (drawInset): Turned out I didn't know enough about how
13465         rebreaking worked.  This fixes most of the redraw problems.  I see
13466         an occasional cursor trail when a line is broken now and the cursor
13467         placement can seem out by a few pixels also after a rebreak.
13468
13469 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13470
13471         * buffer.C (parseSingleLyXformat2Token): update because minipage
13472         width is now a LyXLength
13473
13474         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13475
13476         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13477         math insets
13478
13479 2002-01-17  Juergen Vigna  <jug@sad.it>
13480
13481         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13482
13483         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13484         is set correctly and the inset is updated correctly.
13485
13486 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13487
13488         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13489         the beginning of the loop.
13490
13491 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13492
13493         * lyxrc.C: improve help for use_scalable_fonts
13494
13495 2002-01-17  Allan Rae  <rae@lyx.org>
13496
13497         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13498
13499 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13500
13501         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13502         make sure to set their inset_owner to the right value (bug #171)
13503
13504 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13505
13506         * DepTable.h
13507         * DepTable.C: Implement mtime checking to reduce time spent doing
13508         CRCs.
13509
13510 2002-01-16  Juergen Vigna  <jug@sad.it>
13511
13512         * tabular.C (GetAdditionalHeight): one of error fixed.
13513
13514         * lyxrc.C (output): small fix in writing use_pspell.
13515
13516 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13517
13518         * sp_base.h: #include LString.h
13519
13520 2002-01-16  Allan Rae  <rae@lyx.org>
13521
13522         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13523         Can someone check this please?
13524
13525         * text.C (drawInset): It was possible that p.row would be removed by
13526         breakAgainOneRow upsetting a few other settings.  There may be another
13527         small tweak possible by setting need_break_row = 0 when p.row has been
13528         removed but I don't know enough about the logic here.
13529
13530 2002-01-15  Allan Rae  <rae@lyx.org>
13531
13532         * text.C (insertChar): removed conditional truism.
13533
13534         * BufferView2.C (removeAutoInsets): More tweaks.
13535         cur_par_prev could be a stray pointer.  Check for trailing empty line
13536         in case last line was cur_par and only had an error inset on it.
13537
13538 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13539
13540         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13541         absolute
13542
13543         * vc-backend.C (most methods):
13544         * exporter.C (Export):
13545         * converter.C (convert):
13546         (runLaTeX):
13547         * LyXSendto.C (SendtoApplyCB):
13548         * lyxfunc.C (dispatch):
13549         (menuNew):
13550         (open):
13551         (doImport):
13552         * lyx_cb.C (AutoSave):
13553         (InsertAsciiFile):
13554         * BufferView_pimpl.C (MenuInsertLyXFile):
13555         * buffer.C (runChktex): use Buffer::filePath().
13556
13557         * buffer.h: rename filename to filename_; rename filepath to
13558         filepath_ and make it private
13559         (filePath): new method
13560
13561         * buffer.C (writeFile): use fileName()
13562         (getLatexName):
13563
13564         * lyx_main.C (init): fix starting  of LyX when the binary is a
13565         link from so,ewhere else.
13566
13567         * minibuffer.C: include <cctype> for isprint
13568
13569 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13570
13571         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13572         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13573         name clash with InsetCollapsable's width function.
13574
13575 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13576
13577         * lastfiles.C: include <iterator>
13578
13579 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13580
13581         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13582         std::count.
13583
13584         * buffer.C (makeLaTeXFile): ditto.
13585         Also make loop operation more transparent.
13586
13587 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13588
13589         * ToolbarDefaults.C: remove trailing comma closing namespace.
13590
13591         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13592
13593         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13594         as in WorkArea.
13595
13596         * trans.C (Load): comment out unused variable, allowed.
13597
13598 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13599
13600         * minibuffer.[Ch] (append_char): new method to recieve input from the
13601         drop-down completion browser. If a key was pressed, then recieve this
13602         char and append it to the existing string.
13603         (peek_event): modify the positioning data passed to the completion
13604         browser so that it can be placed above the minibuffer rather than below.
13605 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13606
13607         * LyXAction.C (init): alloe error-next for readonly documents.
13608
13609         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13610         count.
13611
13612 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13613
13614         * bufferlist.C (readFile): create the buffer _after_ checking that
13615         the file exists.
13616
13617         * lyxfunc.C (verboseDispatch): fix handling of arguments
13618
13619         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13620
13621         * lyxrc.C: use string::erase() instead of initializing to "".
13622
13623
13624 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13625
13626         * BufferView_pimpl.h:
13627         * BufferView_pimpl.C:
13628         * WorkArea.h:
13629         * WorkArea.C:
13630         * text2.C: tell X when we have made a selection for copying
13631
13632 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13633
13634         * BufferView_pimpl.C (MenuInsertLyXFile):
13635         * lyxfunc.C (menuNew):
13636         (open):
13637         (doImport): add shortcuts to directory buttons
13638
13639         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13640         open a float)
13641
13642         * lyxfunc.C (setStatusMessage):
13643         (getStatusMessage): new methods
13644         (getStatus):use setStatusMessage instead of setErrorMessage
13645         (dispatch): when function is disabled, set error message here
13646         [instead of in getStatus previously]
13647
13648         * BufferView_pimpl.C (workAreaButtonRelease): update
13649         toolbar/menubar here too.
13650
13651 2002-01-13  Allan Rae  <rae@lyx.org>
13652
13653         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13654         Now seems indestructible.  Remaining task is to audit all other
13655         code affected by deleteEmptyParagraphMechanism.  One small quirk
13656         left is that an empty document with an error in the preamble can
13657         be made to report an error but no error box appears.  I don't know
13658         where it goes.
13659         (removeAutoInsets): Improved comments.
13660
13661 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13662
13663         * Thesaurus.h:
13664         * Thesaurus.C: update for Aiksaurus 0.14
13665
13666 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13667
13668         * text2.C (firstParagraph): removed member function, all uses
13669         replaces with ownerParagraph
13670         (redoParagraphs): here
13671         (updateInset): here
13672         (toggleAppendix): here
13673         * BufferView2.C (insertErrors): here
13674         (setCursorFromRow): here
13675
13676 2002-01-13  Allan Rae  <rae@lyx.org>
13677
13678         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13679         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13680         There is still a way to segfault this although you may have to do this
13681         multiple times: Have an InsetERT with an unknown command in it.
13682         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13683         <down-arrow>, <Enter> again, View->DVI, BANG!
13684
13685         * text2.C (setCursor):
13686         (deleteEmptyParagraphMechanism):
13687         * lyxtext.h (setCursor):
13688         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13689         Making use of the return value may help fix other bugs.
13690
13691 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13692
13693         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13694
13695         * LyXView.C (updateMenubar): call MenuBar::update here
13696         (updateToolbar): but not here
13697         (showState): do not update toolbar/menubar
13698
13699         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13700         should need to care about that.
13701
13702         * lyxfunc.C (verboseDispatch): simplify a bit
13703         (getStatus): have a version which takes a pseudoaction, and
13704         another which requires a (kb_action,string).
13705
13706         * LyXAction.C (retrieveActionArg): make it work also when action
13707         is not a pseudo-action.
13708         (getActionName): simplify a bit
13709         (helpText):
13710
13711 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13712
13713         * lyxfunc.C (verboseDispatch): new families of methods with
13714         several ways to specify a command and a bool to indicate whether
13715         the command name and shortcut should be displayed in minibuffer
13716         (eventually, we could extend that to a finer bitmask like
13717         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13718         (dispatch): the pristine dispatch command which just, well,
13719         dispatchs! Note it still sets its result to minibuffer; I'm not
13720         sure we want that.
13721
13722         * lyxfunc.h: remove setHintMessage
13723
13724         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13725
13726 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13727
13728         * BufferView_pimpl.C (specialChar): delete new inset if we have
13729         not been able to insert it.
13730
13731         * kbmap.C: revert to using int instead of kb_action, since all we
13732         are dealing with is pseudo-actions.
13733
13734         * LyXAction.C (searchActionArg): change to return int instead of
13735         kb_action, since the result is a pseudoaction.
13736
13737 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13738
13739         * buffer.C (insertErtContents): Fix (partially) the font bug.
13740
13741 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13742
13743         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13744         as the other one is broken on my machine!
13745
13746 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13747
13748         * commandtags.h:
13749         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13750
13751 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13752
13753         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13754         reflect their actual use. Provide compatibility code for older lyxrc
13755         files.
13756
13757         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13758         FL_NORMAL_STYLE.
13759         change names of popup font variables in line with the changes to lyxrc.C
13760
13761 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13762
13763         * buffer.C (asciiParagraph): avoid outputing a word twice after
13764         an inset.
13765
13766         * lyxrc.C (getDescription): document that document_path and
13767         template_path can be empty.
13768
13769 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13770
13771         * LaTeXFeatures.C (getMacros):
13772         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13773
13774         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13775
13776         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13777         getPackages.
13778         (getPackages): rename feature "floats" to "float". Use an array to
13779         iterate over 'simple' features (i.e. just a \usepackage). Add
13780         handling of "amsmath" (renamed from "amsstyle").
13781
13782 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13783
13784         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13785         features list.
13786
13787 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13788
13789         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13790         FuncStaus::FuncStatus & FuncStaus::some_method().
13791
13792 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13793
13794         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13795         of the func_satus stuff. Edited and massaged in various ways by
13796         JMarc.
13797
13798         * lyxfunc.C (getStatus): use FuncStatus
13799
13800 2002-01-08  Juergen Vigna  <jug@sad.it>
13801
13802         * text.C (nextBreakPoint): use function Inset::isChar().
13803
13804         * paragraph.C (TeXOnePar): use function
13805         Inset::forceDefaultParagraphs.
13806
13807         * buffer.C (latexParagraphs): use function
13808         Inset::forceDefaultParagraphs.
13809
13810 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13811
13812         * lyx_gui.C (init): set the style of the menu popups to
13813         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13814
13815 2002-01-07  Juergen Vigna  <jug@sad.it>
13816
13817         * text.C (setHeightOfRow): small fix
13818         (prepareToPrint): don't look at alignment if we don't have the place
13819         for doing it.
13820
13821 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13822
13823         * box.C: New file. Move the Box methods and functions out of box.h,
13824         following Lars' suggestion.
13825
13826 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13827
13828         * box.h: #include "support/LOstream.h", needed for inlined function.
13829
13830         * lyxtextclass.C:
13831         * lyxtextclasslist.C: added some using std declarations.
13832
13833 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13834
13835         * box.h: make signed dimensions to allow insets wider than
13836           the screen (bug #162)
13837
13838         * BufferView_pimpl.C: add some insetHit debug
13839
13840 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13841
13842         * vc-backend.C: add FIXME
13843
13844 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13845
13846         * lyxfunc.C (getStatus): enable code for showing math font status
13847         in toolbar/menu.
13848
13849 2002-01-07  Juergen Vigna  <jug@sad.it>
13850
13851         * text.C (nextBreakPoint): removed debug output not needed anymore.
13852
13853 2002-01-06  Juergen Vigna  <jug@sad.it>
13854
13855         * text.C (nextBreakPoint): fixed up this function we had this bug
13856         since ever but now hopefully we break row better.
13857         (insertChar): we have to check if an inset is the next char as it
13858         could now happen that a large inset is causing a break.
13859
13860 2002-01-05  Juergen Vigna  <jug@sad.it>
13861
13862         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13863         if it doesn't like to be drawed.
13864
13865 2002-01-04  Juergen Vigna  <jug@sad.it>
13866
13867         * BufferView2.C (lockInset): forgot to set a cursor.
13868
13869         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13870
13871 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13872
13873         * FormMathsPanel.C:
13874         * FormMathsPanel.h
13875         * MathsSymbols.C:
13876         * form_maths_panel.C:
13877         * form_maths_panel.h:
13878         * form_maths_panel.fd: implemented sub- and super- buttons in math
13879         panel.
13880
13881         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13882         (or ^ space) to be used as in TeX (req'd by André).
13883
13884         * lyxfunc.C: Allow ^ and _ again to be used both as
13885         super/subscript (mathed) and as themselves (in text).
13886
13887 2002-01-03  Allan Rae  <rae@lyx.org>
13888
13889         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13890         "LyX" or the filename of the current buffer if it has one.  This is a
13891         modified form of John Levon's patch.
13892
13893         * XFormsView.C (setWindowTitle): also set icon title.
13894
13895         * LyXView.h (setWindowTitle): signature changed.
13896         * XFormsView.h (setWindowTitle): ditto.
13897
13898 2002-01-02  Juergen Vigna  <jug@sad.it>
13899
13900         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13901
13902 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13903
13904         * screen.C (topCursorVisible): introduce a temp var for
13905         text->cursor.row(), handle the case where this row is null. (kindo
13906         hachish)
13907
13908         * text2.C (setCursor): add a couple of asserts.
13909
13910         * paragraph.h (inset_iterator): add -> operator
13911
13912         * paragraph.[Ch] (autoDeleteInsets): remove member function
13913
13914         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13915         cursor pos correctly and handle inset deletion by itself.
13916         (insertErrors): move iterator declaration out of for expression
13917
13918         * lyxtextclass.C: add <algorithm>
13919
13920         * Makefile.am: added the new files to sources, removed layout.C
13921
13922         * layout.C: removed file
13923
13924         * layout.h: remove LYX_DUMMY_LAYOUT
13925
13926         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13927         layout.
13928
13929         * lyxlayout.[Ch]:
13930         * lyxtextclass.[Ch]:
13931         * lyxtextclasslist.[Ch]: new files
13932
13933         * include order changes to a lot of files, also changes because of
13934         the six new files.
13935
13936 2001-12-27  Juergen Vigna  <jug@sad.it>
13937
13938         * buffer.C (asciiParagraph): more fixes.
13939
13940         * tabular.C (ascii): make ascii export support export of only the
13941         data separated by a column-delimiter.
13942         (ascii): better support for ascii export.
13943
13944         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13945
13946 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13947
13948         * tabular_funcs.C: use a "using std::getline" instead of the
13949         previous fix from Angus (necessary for cxx + lyxstring)
13950
13951 2001-12-24  Juergen Vigna  <jug@sad.it>
13952
13953         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13954
13955         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13956         problems. First check a minipage also if we have some ert-contents
13957         (not only on par->size(), second set the right depth of the paragraph
13958         on the relink to the root-paragraph-list!
13959
13960         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13961         which then did not anymore update the main paragraphs on undo/redo!
13962
13963 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13964
13965         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13966         code. Support all font-changing funcs (even those which are not in
13967         menu currently). Support for reporting font settings in
13968         mathed (disabled until Andre provides a function on mathed's side).
13969
13970         * func_status.h (toggle): small helper function to set toggle
13971         state on a flag.
13972
13973 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13974
13975         * tabular_funcs.C: getline -> std::getline
13976
13977 2001-12-21  Juergen Vigna  <jug@sad.it>
13978
13979         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13980         accessed and could be 0 (I couldn't generate this but it seems
13981         Michael could!).
13982
13983 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13984
13985         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13986         * tabular_funcs.h: here and include iosfwd
13987
13988 2001-12-20  Juergen Vigna  <jug@sad.it>
13989
13990         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13991         inside inset but undo_par was.
13992
13993 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13994
13995         * Thesaurus.C: always include <config.h> in sources.
13996
13997         * Painter.h:
13998         * lyxlookup.h:
13999         * box.h: do not include <config.h> in header files
14000
14001         * text.C (paintLastRow): remove unused variable
14002
14003         * text.C (transformChar):
14004         (insertChar):
14005         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14006
14007         * Painter.C (text):
14008         * font.C (width): rewrite to use uppercase() instead of
14009         islower/toupper.
14010
14011         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14012
14013 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14014
14015         * lyxfind.C: clean up of find failure position change
14016
14017 2001-12-20  Juergen Vigna  <jug@sad.it>
14018
14019         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14020
14021         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14022         (TeXRow): added to LaTeX a single tabular row.
14023         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14024         (Latex): simplified and finally good LT-h/f support.
14025         (various_functions): just small adaptions for LT-h/f support.
14026
14027         * tabular_funcs.[hC]: added and moved here all not classfunctions
14028         of LyXTabular.
14029
14030 2001-12-19  Juergen Vigna  <jug@sad.it>
14031
14032         * tabular.[Ch]: better support for longtabular options (not finished
14033         yet!)
14034
14035 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14036
14037         * text.C (paintLastRow): use the label font instead of the font of
14038         the last character to compute the size of *_BOX. This makes more
14039         sense and avoids a crash with empty paragraphs.
14040         Use Painter::rectangle to draw EMPTY_BOX.
14041
14042 2001-12-19  Juergen Vigna  <jug@sad.it>
14043
14044         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14045         the paragraphs if the replaced paragraph is not the first one!
14046         Tried to delete not used paragraphs but does not work yet so for
14047         now it's inside #ifdef's and by default off!
14048
14049 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14050
14051         * MenuBackend.C: include "lyx_main.h" instead of declaring
14052         lastfiles (actually was declared as LastFiles* instead of a
14053         scoped_ptr).
14054
14055 2001-12-17  Juergen Vigna  <jug@sad.it>
14056
14057         * tabular.C (AppendColumn): applied John's fix
14058
14059 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14060
14061         * BufferView.h:
14062         * BufferView.C:
14063         * BufferView_pimpl.h:
14064         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14065
14066         * Makefile.am:
14067         * box.h: new start of class for above
14068
14069         * lyxfunc.C: ignore space-only minibuffer dispatches.
14070           Show the command name when it doesn't exist
14071
14072         * minibuffer.C: don't add empty lines to the history
14073
14074         * minibuffer.C: add a space on dropdown completion
14075
14076 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * text.C: fix line above/below drawing in insets
14079
14080 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * lyxlength.C (LyXLength): Initialize private variables.
14083
14084 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14085
14086         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14087         when inserting error insets.
14088
14089 2001-12-13  Juergen Vigna  <jug@sad.it>
14090
14091         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14092         actually sometimes the before-paragraph.
14093         (setUndo): don't clear the redostack if we're not actually undoing!
14094
14095 2001-12-06  Juergen Vigna  <jug@sad.it>
14096
14097         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14098         and fixed redoing of main paragraph, so we can use it now ;)
14099
14100         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14101
14102 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14103
14104         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14105         Juergen's request
14106
14107 2001-12-13  André Pönitz <poenitz@gmx.net>
14108
14109         * undostack.[Ch]:
14110         * undo_func.C: minor cleanup
14111
14112 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14113
14114         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14115         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14116         font in urw-fonts package which is marked as -urw-fontspecific and
14117         does not work (incidentally, changing the encoding in the
14118         fonts.dir of this package to -adobe-fontspecific fixes the
14119         problem).
14120
14121         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14122         is a crash when undoing first paragraph (Juergen, please take a
14123         look). THis does not mean the undo fix is wrong, just that it
14124         uncovers problems.
14125
14126         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14127         the (Paragraph*) version when needed instead of duplicating the
14128         code.
14129
14130         * text.C (workWidth): use Inset::parOwner to find out where the
14131         inset has been inserted. This is a huge performance gain for large
14132         documents with lots of insets. If Inset::parOwner is not set, fall
14133         back on the brute force method
14134
14135         * paragraph_pimpl.C (insertInset):
14136         * paragraph.C (Paragraph):
14137         (cutIntoMinibuffer): set parOwner of insets when
14138         inserting/removing them
14139
14140         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14141
14142 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14143
14144         * commandtags.h:
14145         * LyXAction.C:
14146         * lyx_main.C:
14147         * lyxfunc.C:
14148         * mathed/formulabase.C:
14149         * mathed/math_cursor.[Ch]:
14150         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14151
14152
14153 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14154
14155         * lyxlength.[Ch] (operator!=): new function
14156
14157 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14158
14159         * text.C (workWidth): use Inset::parOwner to find out where the
14160         inset has been inserted. This is a huge performance gain for large
14161         documents with lots of insets. If Inset::parOwner is not set, fall
14162         back on the brute force method
14163
14164         * paragraph_pimpl.C (insertInset):
14165         * paragraph.C (Paragraph):
14166         (cutIntoMinibuffer): set parOwner of insets when
14167         inserting/removing them
14168
14169         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14170
14171 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14172
14173         * tabular-old.C (getTokenValue):
14174         * tabular.C (getTokenValue):
14175         (write_attribute): new versions for LyXLength
14176         (everywhere): adjust the use of widths
14177
14178         * tabular.h: change the type of widths from string to LyXLength
14179
14180 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14181
14182         * paragraph.C: fixed missing line number count when exporting
14183         Environments to LaTeX file
14184
14185         * buffer.C: added informational message for checking line numbers.
14186
14187 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14188
14189         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14190         paragraph, do the 'double space' part, but not the 'empty
14191         paragraph' one.
14192
14193         * text.C (workWidth): small optimization
14194         (getLengthMarkerHeight): use minimal size for negative lengths.
14195
14196 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14197
14198         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14199
14200         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14201
14202 2001-12-11  André Pönitz <poenitz@gmx.net>
14203
14204         * FontLoader.C:
14205         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14206
14207 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14208
14209         * text2.C: keep selection on a setFont()
14210
14211 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14212
14213         * lyx_cb.C: another bv->text misuse, from insert label
14214
14215 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14216
14217         * kbsequence.h:
14218         * kbsequence.C: re-instate nmodifier mask
14219
14220 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14221
14222         * lyx_main.h: make lyxGUI private.
14223
14224 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14225
14226         * lyxfind.C: place the cursor correctly on failed search
14227
14228 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14229
14230         * text.C (getLengthMarkerHeight): for small heights, the arrows
14231         are not always on top/bottom of the text
14232         (drawLengthMarker): smaller arrows; take the left margin in
14233         account; draw also vfills.
14234         (paintFirstRow):
14235         (paintLastRow): remove special code for vfill and standard spaces,
14236         since everything is handled in drawLengthMarker now.
14237
14238 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14239
14240         * buffer.C (insertErtContents): try to handle font and language
14241         interaction a bit better.g
14242
14243         * ColorHandler.C (updateColor): change the hash to cover the whole
14244         LColor enum, ws cleanup
14245         (getGCLinepars): ditto
14246         (getGCLinepars): only lookup in the linecache once.
14247
14248 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14249
14250         * iterators.C (operator++): Make the iterator more robust
14251
14252         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14253         (John's patch)
14254         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14255
14256 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14257
14258         * lyxtext.h:
14259         * text.C: better added space drawing
14260
14261 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14262
14263         * LyXView.C:
14264         * BufferView2.C: fix layout combo update on inset unlock
14265
14266 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14267
14268         * Makefile.am: don't compile unused files
14269
14270 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14271
14272         * lyxfunc.C:
14273         * commandtags.h:
14274         * LyXAction.C: remove old LFUN_LAYOUTNO
14275
14276 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14277
14278         * paragraph_pimpl.h:
14279         * paragraph_pimpl.C: isTextAt() doesn't need font param
14280
14281 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14282
14283         * lyxlex.h:
14284         * lyxlex.C: little cleanup
14285
14286 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14287
14288         * BufferView_pimpl.C: fix insertAscii for insets
14289
14290 2001-12-05  Juergen Vigna  <jug@sad.it>
14291
14292         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14293         set the right font on the "multi" paragraph paste!
14294
14295 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14296
14297         * trans_decl.h:
14298         * trans_mgr.[Ch]:
14299         * trans.[Ch]:
14300         * lyxgluelength.C:
14301         * lyxlength.C: remove out-commented code.
14302
14303         * BufferView_pimpl:
14304         * CutAndPaste.C:
14305         * DepTable.C:
14306         * buffer.C:
14307         * chset.C:
14308         * lastfiles.C:
14309         * lyxlex.C:
14310         * lyxlex_pimpl.C:
14311         * lyxserver.C:
14312         * screen.C:
14313         * tabular-old.C:
14314         * tabular.C:
14315         * text.C:
14316         * trans_mgr.C:
14317         * vc-backend.C: change "while(" to "while ("
14318
14319         * lyxlength.[Ch]: add zero function to check if length is zero or
14320         not
14321         * lyxgluelength.C: use it
14322
14323 2001-12-05  Allan Rae  <rae@lyx.org>
14324
14325         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14326         Works for 2.95.3, from what I understand of Garst's reports this should
14327         work for other g++ versions.  We're screwed if the abs(int) definition
14328         changed between bugfix releases of gcc.
14329
14330 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14331
14332         * text.C: fix chapter label offset !
14333
14334 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14335
14336         * lyxtext.h:
14337         * text.C: fix hfill at end of line, clean up
14338
14339 2001-12-04  Juergen Vigna  <jug@sad.it>
14340
14341         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14342         that we force an update of the inset and it's owners if neccessary.
14343
14344 2001-12-03  Juergen Vigna  <jug@sad.it>
14345
14346         * text.C (rowLast): simplified code
14347
14348 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14349
14350         * lyxfunc.C: fix show options on timeout
14351
14352 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14353
14354         * screen.C (topCursorVisible): scroll half a page when the cursor
14355         reached top of bottom of screen
14356
14357 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14358
14359         * minibuffer.C: deactivate on loss of focus
14360
14361 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14362
14363         * vspace.[Ch] (operator!=): add operator.
14364
14365 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14366
14367         * BufferView_pimpl.C: refuse to open an inset when
14368         there's a selection.
14369
14370 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14371
14372         * BufferView_pimpl.C: allow to click on RHS of full row insets
14373
14374 2001-11-30  Juergen Vigna  <jug@sad.it>
14375
14376         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14377         insets for undo reasons.
14378
14379 2001-11-28  André Pönitz <poenitz@gmx.net>
14380
14381         * vspace.[Ch]: cosmetical changes
14382
14383 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14384
14385         * LyXAction.h:
14386         * LyXAction.C:
14387         * lyxfunc.h:
14388         * lyxfunc.C:
14389         * kbmap.h:
14390         * kbmap.C:
14391         * lyxrc.C:
14392         * kbsequence.h:
14393         * kbsequence.C: part re-write of old kb code
14394
14395         * Painter.C:
14396         * WorkArea.C: remove Lgb_bug_find_hack
14397
14398 2001-11-30  José Matos <jamatos@fep.up.pt>
14399
14400         * buffer.C (makeDocBookFile): add a comment to point a hack.
14401         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14402         Fixed a double write of labels.
14403
14404 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14405
14406         * LaTeX.C:
14407         * LaTeX.h Fixed bug in LaTeX class where it would not
14408         re-run latex if no depfiles were changed, but the .dvi was removed.
14409
14410 2001-11-28  André Pönitz <poenitz@gmx.net>
14411
14412         * all the files from the change on 2001/11/26:
14413         use lyx::layout_type instead of LyXTextClass::size_type
14414         use lyx::textclass_type instead of LyXTextClassList::size_type
14415
14416 2001-11-29  Juergen Vigna  <jug@sad.it>
14417
14418         * text.C: added support for paragraph::isFreeSpacing()
14419
14420         * buffer.C: same as above
14421
14422         * paragraph.h: inserted isFreeSpacing() function to enable
14423         FreeSpacing inside InsetERT.
14424
14425         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14426         of the paragraph's in the cut/copy buffer to 0!
14427
14428         * text2.C (removeRow): remove the assert as it can!
14429
14430         * lyxtext.h: added helper function firstRow returning firstrow and
14431         made firstrow private again.
14432
14433         * BufferView2.C (lockInset): don't relock if we're already locked!
14434
14435         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14436         the only paragraph.
14437         (removeRow): added Assert::(firstrow)
14438
14439         * debug.C: forgot to add INSETTEXT here.
14440
14441 2001-11-28  Juergen Vigna  <jug@sad.it>
14442
14443         * sp_spell.C (initialize): changed error text to more general
14444         spellchecker command use (not only ispell!)
14445
14446         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14447
14448         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14449
14450 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14451
14452         * vspace.C: initialise lyxgluelength on failure
14453
14454 2001-11-28  Allan Rae  <rae@lyx.org>
14455
14456         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14457         declaration & definition that looks like a function declaration.
14458
14459 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14460
14461         * BufferView2.C (copy):
14462         (copyEnvironment): do not clear the selection when doing a copy.
14463
14464         * text.C (paintFirstRow): compilation fix
14465
14466 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14467
14468         * tabular.C (Latex): correct line count when writing latex.
14469
14470 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14471
14472         * paragraph_pimpl.h:
14473         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14474           bug a bit
14475
14476 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14477
14478         * text.C:
14479         * LColor.h:
14480         * LColor.C: change vfillline->added_space
14481
14482         * text.C: add markers and text for added space
14483
14484         * vspace.C: fix comment
14485
14486 2001-11-28  André Pönitz <poenitz@gmx.net>
14487
14488         * paragraph.C: whitespace changes
14489         * all the other files from the change on 2001/11/26:
14490         change *::pos_type into lyx::pos_type
14491
14492 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14493
14494         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14495         language of the document when inserting error insets.
14496
14497 2001-11-26  André Pönitz <poenitz@gmx.net>
14498
14499         * BufferView_pimpl.[Ch]:
14500         *       CutAndPaste.C:
14501         * buffer.[Ch]:
14502         * lyxcursor.[Ch]:
14503         * lyxfind.C:
14504         * lyxfunc.C:
14505         * lyxrow.[Ch]:
14506         * paragraph.[Ch]:
14507         * paragraph_pimpl.[Ch]:
14508         * sp_spell.C:
14509         * text.C:
14510         * text2.C: reduce header dependencies, introduce type for positions
14511
14512 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14513
14514         * <various>: change to use Alert.h
14515
14516 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14517
14518         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14519         when encountering an unknown token.
14520         (readLyXformat2): Show an error message if there were unknown tokens.
14521
14522 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14523
14524         * BufferView2.C:
14525         * BufferView_pimpl.C:
14526         * buffer.C:
14527         * paragraph.h:
14528         * text.C:
14529         * text2.C: use par->isInset()
14530
14531 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14532
14533         * paragraph_pimpl.h:
14534         * paragraph_pimpl.C: cleanup
14535
14536 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14537
14538         * text2.C (removeRow):
14539         * text.C (setHeightOfRow): remove useless (and costly) call to
14540         getRow.
14541
14542 2001-11-20  Allan Rae  <rae@lyx.org>
14543
14544         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14545         Now need Inset*::checkInsertChar() to return true for appropriate
14546         cases so that the characters in the minibuffer will actually be
14547         inserted.
14548
14549 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14550
14551         * text.C: change the order of the includes.
14552         (workWidth): initialize it at once.
14553         (workWidth): make maxw unsigned
14554         (setHeightOfRow): remove unused variable (inset)
14555         (selectSelectedWord): remove unused variable (inset)
14556         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14557
14558 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14559
14560         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14561         server is not running.
14562         (openConnection):
14563         (closeConnection): add debug info when server is disabled.
14564
14565         * ColorHandler.C (getGCForeground): send debug message to GUI
14566         channel.
14567
14568         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14569
14570         * kbmap.C (bind): modify because return conventions of
14571         kb_sequence::parse have changed.
14572
14573         * kbsequence.C (parse): only ignore spaces and not any stupid
14574         control character. This avoids tests like s[i] <= ' ', which are
14575         guaranteed to fail with 8bit characters and signed chars.
14576         Change return code to string::npos when there have been no error
14577         (0 was a bad idea when error is at first character)
14578
14579 2001-11-14  José Matos  <jamatos@fep.up.pt>
14580
14581         * buffer.h:
14582         * buffer.C (simpleDocBookOnePar): removed unused argument.
14583
14584 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14585
14586         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14587         insets which are part of a word. Paragraph::isLetter takes care of
14588         that now. Use Paragraph::isInset to identify insets.
14589         (selectSelectedWord): do not test for hyphenation break.
14590
14591         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14592         that protected spaces are considered as spaces.
14593
14594         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14595         Inset::isLetter.
14596
14597 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14598
14599         * lyxserver.h:
14600         * lyxserver.C: fix it. and small cleanup.
14601
14602 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * BufferView_pimpl.C: use inline helpers
14605
14606         * LaTeXFeatures.h:
14607         * LaTeXFeatures.C: fix typos
14608
14609         * Spacing.h:
14610         * Spacing.C: move spacing_string into class
14611
14612         * ToolbarDefaults.C: move stuff into namespace anon
14613
14614         * layout.h: update enum
14615
14616         * lyxfunc.C: use better debug
14617
14618         * minibuffer.h: fix typo
14619
14620         * debug.h:
14621         * debug.C:
14622         * WorkArea.C: add and use Debug::WORKAREA
14623
14624         * lyxtext.h:
14625         * text.C:
14626         * text2.C: code re-organisation, inline helpers
14627
14628 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14629
14630         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14631         std::vector.empty().
14632
14633 2001-11-09  Allan Rae  <rae@lyx.org>
14634
14635         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14636         '\n's after tables.  Tabular and ERT inset work now makes this no
14637         longer necessary.
14638
14639 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14640
14641         * minibuffer.h:
14642         * minibuffer.C: fix crash, improve drop-down completion
14643
14644 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14645
14646         * lyxserver.h:
14647         * lyxserver.C: invalidate fd's when doing endPipe()
14648
14649 2001-11-08  José Matos  <jamatos@fep.up.pt>
14650
14651         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14652         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14653
14654         * paragraph.h:
14655         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14656
14657 2001-11-07  José Matos  <jamatos@fep.up.pt>
14658
14659         * buffer.h:
14660         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14661         const qualifier.
14662
14663         * buffer.C (sgmlOpenTag):
14664         * buffer.C (sgmlCloseTag): removed debug info.
14665
14666         * buffer.h (sgmlOpenTag):
14667         * buffer.h (sgmlCloseTag): made public.
14668
14669 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14670
14671         * buffer.C (saveParamsAsDefaults):
14672         * lyx_cb.C (MenuLayoutSave): remove
14673
14674         * LyXAction.C (init):
14675         * commandtags.h:
14676         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14677
14678 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14679
14680         * buffer.C (setPaperStuff): removed from here...
14681
14682         * bufferparams.C (setPaperStuff): ... and moved there.
14683
14684 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14685
14686         * minibuffer.h:
14687         * minibuffer.C:
14688         * XFormsView.C: add support for drop-down completion
14689
14690 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14691
14692         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14693         commands.
14694
14695 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14696
14697         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14698         disabled.
14699
14700 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14701
14702         * lyx_main.C: change ref to known bugs
14703
14704 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14705
14706         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14707         to work around older babel problems.
14708
14709 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14710
14711         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14712
14713 2001-10-24  Juergen Vigna  <jug@sad.it>
14714
14715         * tabular-old.C (ReadOld): below variable changes reflected.
14716
14717         * tabular.[Ch]: added ltType struct for longtable header/footer
14718         defines and changed all instances where they are used. Added
14719         future support for double top/bottom rows.
14720
14721 2001-10-24  José Matos  <jamatos@fep.up.pt>
14722
14723         * buffer.h (docbookHandleCaption):
14724         * buffer.C (docbookHandleCaption): removed unused function.
14725         (makeDocBookFile): moved docbook supported version to v4.1.
14726
14727 2001-10-24  José Matos  <jamatos@fep.up.pt>
14728
14729         * tabular.h:
14730         * tabular.C (docbookRow): new function to export docbook code of a row.
14731         (DocBook): now honors the longtable flags.
14732
14733 2001-10-23  José Matos  <jamatos@fep.up.pt>
14734
14735         * LaTeXFeatures.h:
14736         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14737         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14738
14739         * buffer.C (makeLinuxDocFile):
14740         (makeDocBookFile): reworked the preamble, more clean, and with
14741         support for lyx defined entities. Changed the document declaration
14742         to be more XML friendly.
14743
14744         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14745         if we need to output XML that should be done with a filter.
14746
14747 2001-10-22  Juergen Vigna  <jug@sad.it>
14748
14749         * sp_pspell.h (class PSpell): add alive function needed in the
14750         controller to see if the spellchecker could be started.
14751
14752 2001-10-22  Juergen Vigna  <jug@sad.it>
14753
14754         * buffer.C (insertStringAsLines): modify the font for inserting
14755         chars in certain conditions by calling checkInsertChar(font).
14756
14757 2001-10-19  Juergen Vigna  <jug@sad.it>
14758
14759         * text.C (workWidth): use getRow instead of wrong algorithm.
14760         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14761
14762 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14763
14764         * lyxserver.h:
14765         * lyxserver.C:
14766         * lyx_main.h:
14767         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14768
14769 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14770
14771         * text.C (workWidth): do not search for the exact row when
14772         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14773         optimization for big documents.
14774
14775 2001-10-18  Juergen Vigna  <jug@sad.it>
14776
14777         * text.C (workWidth): new function with added Inset * parameter.
14778
14779 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14780
14781         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14782
14783         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14784         change return type of getColumnNearX.
14785
14786
14787         * text.C (changeRegionCase): use uppercase/lowercase instead of
14788         toupper/tolower.
14789         (leftMargin):
14790         (rightMargin): simplify code by factoring out the uses of
14791         textclasslist.
14792         (labelFill):
14793         (numberOfHfills):
14794         (setHeightOfRow):
14795         (appendParagraph): use Paragraph::size_type
14796
14797 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14798
14799         * vspace.C (asLatexString): add a missing break
14800
14801 2001-10-15  Herbert Voss  <voss@perce.de>
14802
14803         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14804
14805 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14806
14807         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14808         is not available.
14809
14810 2001-10-10  André Pönitz <poenitz@gmx.net>
14811
14812         * lyxfunc.C: removed greek_kb_flag.
14813
14814 2001-10-10  Herbert Voss  <voss@perce.de>
14815
14816         * lyx_main.C: delete global string help_lyxdir.
14817
14818 2001-10-09  Herbert Voss  <voss@perce.de>
14819
14820         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14821
14822         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14823
14824         * lyx_main.C: added global string help_lyxdir.
14825
14826         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14827
14828 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14829
14830         * lyxrc.C (set_font_norm_type): support iso8859-4
14831
14832 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14833
14834         * LaTeX.C (deplog): add another regex for MikTeX
14835
14836 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14837
14838         * lyxrc.C (set_font_norm_type): support iso8859-3
14839
14840 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14841
14842         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14843
14844         * LaTeXFeatures.C: remove special case of french and index
14845
14846         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14847         before \begin{document}). This solves several incompatibilities.
14848
14849 2001-10-03  Garst Reese  <reese@isn.net>
14850
14851         * lyx_cb.C: change CheckTex error msg.
14852
14853 2001-10-03  José Matos  <jamatos@fep.up.pt>
14854
14855         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14856
14857 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14858
14859         * .cvsignore: update
14860
14861         * lyx_main.C (commandLineVersionInfo): use new style version info.
14862
14863         * buffer.C (writeFile):
14864         (makeLaTeXFile):
14865         (makeLinuxDocFile):
14866         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14867
14868         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14869
14870         * version.h: update to use stuff in version.C
14871
14872         * version.C.in: new file. Contains version information determined
14873         at compile time. This is a merging of version.h and
14874         version_info.h.in.
14875
14876 2001-10-03  Juergen Vigna  <jug@sad.it>
14877
14878         * BufferView_pimpl.C (update): don't change "dirty" status in
14879         updateInset call.
14880
14881 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14882
14883         * WorkArea.C (c-tor): re-position version string slightly.
14884
14885 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14886
14887         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14888         revert to previous code.
14889
14890         WorkArea.[Ch]: (show, destroySplash): methods removed.
14891
14892         WorkArea.C: rework code so that it's an amalgam of the codes before and
14893         after the splash screen was moved to WorkArea.
14894
14895 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14896
14897         * lyxrc.C (read):
14898         * vspace.C (inPixels):
14899         (lyx_advance):
14900         * kbmap.C (bind):
14901         * buffer.C (insertStringAsLines):
14902         (asciiParagraph): fix types to be large enough
14903
14904         * lyxlex_pimpl.h: change member status from short to int
14905
14906         * layout.h: fix type of endlabeltype
14907
14908         * kbmap.C (bind):
14909         * kbsequence.C (parse): change return type to string::size_type
14910
14911         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14912         variable
14913
14914         * Bullet.C (bulletSize):
14915         (bulletEntry): do not use short ints as parameters
14916
14917         * BufferView2.C (insertLyXFile): change a char to an int.
14918
14919         * WorkArea.C (WorkArea): remove unneeded floats in computation
14920
14921 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14922
14923         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14924
14925         * paragraph.C (asString): Do not ignore newline/hfill chars when
14926         copying to the clipboard.
14927
14928 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14929
14930         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14931         after a multi-line inset.
14932
14933 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14934
14935         * paragraph.C (validate): Set NeedLyXFootnoteCode
14936
14937 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14938
14939         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14940         and decrease-error to decrease.
14941
14942 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14943
14944         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14945         it more readable (should be equivalent)
14946
14947 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14948
14949         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14950
14951 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14952
14953         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14954         of a cursor (row, etc.) after a character has been deleted
14955         (deleteEmptyParagraphMechanism): call the method above on _all_
14956         cursors held by the LyXText when a double space has been
14957         detected/deleted.
14958
14959 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14960
14961         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14962         pixmap.
14963         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14964
14965         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14966         background. Use greyOut() and the new show() methods to toggle between
14967         the foreground and background. Add code to remove the splash after
14968         its initial showing.
14969
14970         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14971         (create_forms): no longer call Dialogs::showSplash.
14972
14973 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14974
14975         * .cvsignore: add version_info.h
14976
14977 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * version_info.h.in: new file
14980
14981         * Makefile.am: add version_info.h.in
14982
14983         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14984         version_info.h instead of VERSION_INFO
14985
14986 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14987
14988         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14989         The ERT inset now returns string().
14990
14991 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14992
14993         * lyxtext.h, text.C (selectNextWord): renamed as
14994         selectNextWordToSpellcheck.
14995
14996         * text.C (selectNextWordToSpellcheck): Modified to not select
14997         words inside an ERT inset.
14998
14999 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15000
15001         * lyx_cb.C (MenuLayoutSave): change a bit the question
15002
15003         * sp_base.h: include <sys/types.h>
15004
15005 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15006
15007         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15008
15009 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15010
15011         * several files: fix typos in user-visible strings
15012
15013 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15014
15015         * text2.C (pasteSelection): do not set the selection, since it
15016         will be cleared later. Actually, the intent was to fix the way the
15017         selection was set, but I figured rmoving the code was just as good.
15018
15019 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15020
15021         * FontLoader.C (available): Check if font is available without
15022         loading the font.
15023
15024 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15025
15026         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15027
15028 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15029
15030         * lyxrc.[Ch]: added display_graphics variable and associated code.
15031
15032 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15033
15034         * bufferparams.C (hasClassDefaults): new method. Returns true if
15035         the buffer parameters correspond to known class defaults
15036
15037 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15038
15039         * XFormsView.C (show): set minimum size to the main window.
15040
15041 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15042
15043         * text2.C (copySelection):
15044         (cutSelection):
15045         * lyxfind.C (LyXReplace):
15046         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15047         LyXText::selectionAsString.
15048
15049         * paragraph.C (asString): add "label" argument to the second form
15050
15051         * text2.C (selectionAsString): add "label" argument and pass it to
15052         Paragraph::asString.
15053
15054 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * lyx_main.C (commandLineHelp): remove version information
15057
15058 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15059
15060         * lyx_main.C: add -version commandline option
15061
15062 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15063
15064         * paragraph.h: make the optional constructor arg required instead.
15065         some modifications to other files because of this.
15066
15067         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15068
15069         * lyxserver.C (C_LyXComm_callback): make it static
15070
15071         * lyx_main.C (error_handler): make it static
15072
15073         * lyx_gui.C (LyX_XErrHandler): make it static
15074
15075         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15076
15077         * WorkArea.C: make the extern "C" methods static.
15078
15079         * Makefile.am (lyx_LDADD): simplify
15080
15081 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15082
15083         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15084         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15085
15086         * LyXAction.C (init):
15087         * lyxfunc.C (dispatch): associated code removal.
15088
15089 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15090
15091         * lyxfont.h (isSymbolFont): shut off warning
15092
15093         * text.C (setHeightOfRow):
15094         (getVisibleRow): fix crash with empty paragraphs which have a
15095         bottom line
15096
15097 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15098
15099         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15100         code.
15101
15102 2001-09-04  José Matos  <jamatos@fep.up.pt>
15103         * buffer.C
15104         * buffer.h
15105         * tabular.C (docbook): rename docBook method to docbook.
15106
15107 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15108
15109         * Makefile.am: add dependencies to main.o.
15110
15111 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15112
15113         * FontLoader.C (available): Return false if !lyxrc.use_gui
15114
15115 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15116
15117         * FontInfo.C (query):
15118         * converter.C (view):
15119         * importer.C (Import):
15120         * exporter.C (Export): Can not -> cannot.
15121
15122 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15123
15124         * BufferView_pimpl.C: allow to create index inset even if
15125           string is empty
15126
15127 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15128
15129         * buffer.C (getLists): replace boost::tie code with an explicit pair
15130         as boost::tie can break some compilers.
15131
15132         * iterators.h: Added a std:: declaration to the return type of
15133         ParIterator::size.
15134
15135 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15136
15137         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15138           case.
15139
15140 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15141
15142         * iterators.[Ch]: New files. Provide paragraph iterators.
15143
15144         * buffer.C (changeLanguage): Use paragraph iterators.
15145         (isMultiLingual): ditto
15146
15147         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15148
15149 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15150
15151         * FontLoader.C: Support for cmr font.
15152
15153 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15154
15155         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15156         (available): New method.
15157
15158         * FontInfo.C (getFontname): Use scalable fonts even when
15159         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15160         found.
15161
15162 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15163
15164         * converter.C (Formats::view): reverted! Incorrect fix.
15165
15166 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15167
15168         * converter.C (Formats::view): only output the -paper option
15169         if the dvi viewer is xdvi, thereby fixing bug #233429.
15170
15171 2001-08-23  Herbert Voss  <voss@perce>
15172
15173         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15174
15175 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * Spacing.h (Spacing): Set space to Default on in the default
15178         constructor.
15179
15180 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15181
15182         * vc-backend.h (RCS::versionString): add RCS to version
15183         (CVS::versionString): add CVS to version
15184
15185         * vc-backend.C (scanMaster): do not add CVS to version.
15186         (scanMaster): do not add RCS to version
15187
15188         * lyxvc.C (versionString): new method
15189
15190         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15191
15192 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15193
15194         * Spacing.C (set): initialize fval
15195
15196 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15197
15198         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15199         " or \.
15200
15201 2001-08-16  Juergen Vigna  <jug@sad.it>
15202
15203         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15204
15205 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15206
15207         * BufferView_pimpl.C:
15208         * figureForm.C:
15209         * lyxtext.h:
15210         * text2.C: setParagraph takes linespacing now
15211
15212 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15213
15214         * LyxAction.C: add internal LFUN_CITATION_INSERT
15215
15216         * LyXView.C: actually apply fix
15217
15218         * bufferlist.C: fix open non-existent file
15219
15220         * lyxfind.C: fix indentation
15221
15222         * lyxfunc.C: remove unneeded assert, fix typo
15223
15224 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15225
15226         * MenuBackend.C: use "Floatname List"
15227
15228 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15229
15230         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15231         when converting LaTeX layout to insetERT.
15232         Generate a non-collapsed float when reading old float
15233
15234 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15235
15236         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15237         ERT insets.
15238
15239 2001-08-13  Juergen Vigna  <jug@sad.it>
15240
15241         * text.C (fill): return 0 instead of 20 as this seems to be the more
15242         correct value.
15243
15244 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15245
15246         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15247         lyxrc.font_norm.
15248
15249 2001-08-13  Juergen Vigna  <jug@sad.it>
15250
15251         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15252         casesensitive off.
15253         (SearchBackward): comment out the unlocking of the inset_owner this
15254         should not be needed!
15255
15256 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15257
15258         * Many files: Remove inherit_language, and add latex_language
15259
15260         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15261         collapsible insets.
15262
15263 2001-08-10  Juergen Vigna  <jug@sad.it>
15264
15265         * text.C (prepareToPrint): fixed hfill-width in draw!
15266
15267         * BufferView2.C (selectLastWord): save the selection cursor as this
15268         now is cleared in the function LyXText::clearSelection!
15269
15270 2001-08-08  Juergen Vigna  <jug@sad.it>
15271
15272         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15273         BACKSPACE type functions.
15274
15275         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15276         is only cutted from the document but not put in the cut-buffer, where
15277         still the old stuff should be.
15278
15279         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15280
15281         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15282
15283         * tabular.C (SetWidthOfCell): fixed special case where the width
15284         was not updated!
15285         (LeftLine): handle '|' in align_special.
15286         (RightLine): ditto
15287         (LeftAlreadyDrawed): ditto
15288         (SetWidthOfCell): ditto
15289
15290 2001-08-07  Juergen Vigna  <jug@sad.it>
15291
15292         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15293
15294 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15297         * lyxlex.[hC]: ditto
15298
15299 2001-08-06  Juergen Vigna  <jug@sad.it>
15300
15301         * text.C (getVisibleRow): fix up row clearing a bit.
15302
15303 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15304
15305         * minibuffer.C: make sure the X server sees the changes in the input.
15306
15307 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15308
15309         * paragraph.C (getFont): split into...
15310         (getLabelFont): this
15311         (getLayoutFont): and this
15312         * paragraph_pimpl.C (realizeFont): calling this
15313
15314         * text2.C (getFont): split into...
15315         (getLayoutFont): this
15316         (getLabelFont): and this
15317         (realizeFont): all three calling this
15318
15319         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15320         files where used.
15321
15322 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15323
15324         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15325
15326 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15327
15328         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15329         layouts from the Quote inset insertion.
15330
15331 2001-08-03  Juergen Vigna  <jug@sad.it>
15332
15333         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15334
15335         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15336         only if status not is already CHANGED_IN_DRAW (second level).
15337
15338         * text.C (draw): don't set the need_break_row when inside an
15339         InsetText LyXText.
15340
15341 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15342
15343         * buffer.C (parseSingleLyXformat2Token): handle more latex
15344         conversion cases.
15345
15346         * bufferview_funcs.[hC]: change function names to
15347         begin with small char, adjust other files.
15348
15349 2001-08-02  André Pönitz <poenitz@gmx.net>
15350
15351         * lyxfunc.C:
15352         BufferView_pimpl.C: remove broken special code for math-greek
15353
15354 2001-08-02  Juergen Vigna  <jug@sad.it>
15355
15356         * BufferView_pimpl.C (update): redone this function so that we
15357         update the text again if there was a CHANGE_IN_DRAW.
15358
15359         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15360         (drawFromTo): added a new internal bool which is used by draw() and
15361         redraw() function.
15362         (general): some cursor drawing problems fixed.
15363
15364 2001-08-01  Juergen Vigna  <jug@sad.it>
15365
15366         * lyxfind.C (LyXFind): fixed
15367         (SearchForward): ditto
15368         (SearchBackward): ditto
15369
15370         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15371         spurius drawing of the cursor in the main area.
15372
15373         * text2.C (status): small fix which could lead to a segfault!
15374         (clearSelection): remove unneeded BufferView param.
15375
15376 2001-08-01  André Pönitz <poenitz@gmx.net>
15377
15378         * lyxfunc.C: small change due to changed mathed interface
15379
15380 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15381
15382         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15383
15384 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15385
15386         * lyxfunc.c: fail gracefully if file doesn't exist
15387
15388         * LyXSendto.C:
15389         * buffer.C:
15390         * lyxfunc.C:
15391         * BufferView_pimpl.C: IsDirWriteable() proto changed
15392
15393         * LyXView.C: fix updateWindowTitle() to store the last title
15394
15395 2001-07-31  Juergen Vigna  <jug@sad.it>
15396
15397         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15398         the font (wrong since using of Paragraph::highestFontInRange).
15399
15400         * paragraph.C (highestFontInRange): added a default_size parameter.
15401
15402         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15403         (setHeightOfRow): reformat
15404
15405 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15406
15407         * converter.[hC] + affected files: move to (inital-char)lowercase
15408         function names.
15409
15410         * ParagraphParameters.C (ParagraphParameters): remove commented code
15411
15412         * PainterBase.[Ch]: remove commented code
15413
15414         * LaTeXFeatures.h: add "bool floats" for float.sty
15415
15416         * LaTeXFeatures.C (LaTeXFeatures): init floats
15417         (require): handle float
15418         (getPackages): do it with floats
15419
15420 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15421
15422         * BufferView_pimpl.C (Dispatch): improve handling of
15423         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15424
15425         * commandtags.h: #include lyxfont.h here temporarily to avoid
15426         keybinding bug.
15427
15428         * bufferlist.h: include LString.h here.
15429
15430 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15431
15432         * text2.C (getStringToIndex): new method.
15433
15434 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15435
15436         * *: Reduced header file dependencies all over.
15437
15438 2001-07-30  Baruch Even  <baruch@lyx.org>
15439
15440         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15441
15442 2001-07-29  Baruch Even  <baruch@lyx.org>
15443
15444         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15445
15446 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15447
15448         * ParameterStruct.h (endif): add a default constructor to make
15449         sure that all variables is initialized.
15450
15451         * ParagraphParameters.C (ParagraphParameters): adjust
15452
15453 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15454
15455         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15456         index; also, check that there is something to index, and that it
15457         does not span over several paragraphs.
15458         (doubleClick): use WHOLE_WORD_STRICT for double click.
15459
15460         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15461
15462         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15463         scheme.
15464
15465 2001-07-26  Baruch Even  <baruch@lyx.org>
15466
15467         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15468         an InsetFig figure, backwards compatible reading of old figure code.
15469
15470 2001-07-27  Juergen Vigna  <jug@sad.it>
15471
15472         * text2.C: font.realize function adaption.
15473
15474         * text.C (draw): add a warnings lyxerr text if needed.
15475
15476         * layout.C: font.realize function adaption.
15477
15478         * language.C: add inherit_language and implement it's handlings
15479
15480         * bufferview_funcs.C (StyleReset): remove language parameter from
15481         font creation (should be language_inherit now).
15482
15483         * bufferparams.C (writeFile): handle ignore_language.
15484
15485         * paragraph.C (getFontSettings): the language has to be resolved
15486         otherwise we have problems in LyXFont!
15487
15488         * lyxfont.C (lyxWriteChanges): added document_language parameter
15489         (update): removed unneeded language parameter
15490
15491         * paragraph.C (validate): fixed wrong output of color-package when
15492         using interface colors for certain fonts in certain environments,
15493         which should not seen as that on the final output.
15494
15495 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15496
15497         * BufferView_pimpl.C:
15498         * Thesaurus.h:
15499         * Thesaurus.C:
15500         * Makefile.am:
15501         * commandtags.h:
15502         * LyXAction.C: add thesaurus support
15503
15504         * lyxfind.h:
15505         * lyxfind.C: add "once" parameter, for thesaurus, to not
15506           move to the next match
15507
15508 2001-07-26  Juergen Vigna  <jug@sad.it>
15509
15510         * lyxfont.C (realize): honor ignore_language too!
15511         (resolved): ditto.
15512
15513         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15514
15515         * text.C (draw): one place more for ignore_language to not draw
15516         itself!
15517
15518 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15519
15520         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15521
15522 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15523
15524         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15525         the minipage conversion problem.
15526
15527 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15528
15529         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15530         insert an inset.
15531
15532 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15533
15534         * BufferView.h: don't forward declare WorkArea
15535
15536         * BufferView.C: don't include WorkArea.h
15537
15538 2001-07-25  André Pönitz <poenitz@gmx.net>
15539
15540         * commandtags.h:
15541         * LyXAction.C:
15542         * lyxfunc.C:  new LFUN 'math-space'
15543
15544         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15545
15546 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * text2.C (toggleInset): call open/close
15549
15550 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15551
15552         * lyxfunc.C (dispatch): add debug for the disabled case
15553
15554         * font.C (buttonText): make similar to rectText
15555
15556         * buffer.C (readInset): comment out parsing of insetlist and
15557         insttheorem
15558
15559         * PainterBase.C (rectText): small correction
15560
15561         * BufferView_pimpl.C: comment out insettheorem and insetlist
15562         * LyXAction.C: ditto
15563         * commandtags.h: ditto
15564
15565 2001-07-24  Juergen Vigna  <jug@sad.it>
15566
15567         * text.C (draw): honor the ignore_language.
15568
15569         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15570
15571 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15574         char inset.
15575
15576 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15577
15578         * lyxtext.h: remove unused (and unimplemented) methods
15579
15580 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15581
15582         * text.C (getVisibleRow): honor background color
15583
15584         * PainterBase.h:
15585         * Painter.h: remove default color argument for fillRectangle
15586
15587         * text.C (backgroundColor): new method
15588
15589 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15590
15591         * text.C (getVisibleRow): adjust
15592
15593         * font.[Ch] (rectText): new method, metrics
15594         (buttonText): new method, metrics
15595
15596         * PainterBase.[hC]: make rectText and buttonText always draw and take
15597         fewer paramteres.
15598
15599 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15600
15601         * ToolbarDefaults.C (read):
15602         * MenuBackend.C (read): allow escaping in all strings
15603
15604         * BufferView_pimpl.C (insertAndEditInset): new method.
15605         (Dispatch): use insertAndEditInset whenever appropriate.
15606
15607         * BufferView_pimpl.C (insertNote): removed
15608
15609         * BufferView_pimpl.C (smartQuote): new method, moved from
15610         BufferView; if an insetquote cannot be inserted, insert a '"'
15611         character instead.
15612
15613         * BufferView2.C: remove insertCorrectQuote();
15614
15615         * lyxfunc.C (getStatus): Add support for all remaingin
15616         inset-insert lfuns.
15617
15618         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15619
15620         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15621         command (necessary to pass " as parameter of self-insert.
15622
15623         * text.C (selectWordWhenUnderCursor):
15624         (selectWord): add word_location parameter
15625         (selectWordWhenUnderCursor): same + remove special code for word
15626         boundary.
15627         (selectNextWord): use kind() to guess type of insetspecialchar,
15628         not latex().
15629
15630         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15631         (insertErtContents): create ert insets as collapsed.
15632         (readInset): better compatibility code for Info inset.
15633
15634 2001-07-20  Juergen Vigna  <jug@sad.it>
15635
15636         * lyxfunc.C (dispatch): use always LyXFind now!
15637
15638         * text2.C (init): add a reinit flag so that the LyXText can be
15639         reinited instead of deleted and reallocated (used in InsetText).
15640
15641         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15642
15643         * text.C: ditto
15644
15645         * text2.C: ditto
15646
15647 2001-07-18  Juergen Vigna  <jug@sad.it>
15648
15649         * text.C (selectNextWord): handle insets inside inset by calling
15650         always the bv->text functions so that we can go up the_locking_inset!
15651
15652         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15653         in strange locations when inside an inset!
15654
15655         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15656         handling to include insets.
15657
15658         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15659
15660 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * LyXAction.C (init):
15663         * commandtags.h:
15664         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15665         LIGATURE_BREAK, since the name is so stupid.
15666
15667 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15668
15669         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15670         InsetInfos.
15671
15672         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15673
15674         * sp_form.[Ch]: remove.
15675
15676         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15677
15678         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15679         InsetInfo.
15680
15681         * src/buffer.C (readInset): ditto.
15682
15683 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15684
15685         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15686         menuSeparator(), endOfSentenceDot(), ldots() and
15687         hyphenationPoint(), which are therefore removed.
15688         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15689
15690         * LyXAction.C (init):
15691         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15692
15693         * paragraph.C (getWord): removed.
15694
15695         * BufferView_pimpl.C (Dispatch): use last word or selection for
15696         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15697
15698         * lyx_main.C (queryUserLyXDir): do not ask before creating
15699         user_dir, except if it has been named explicitely.
15700
15701 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15702
15703         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15704         a document of zero size.
15705
15706 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15707
15708         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15709         approriately in the c-tor and in require().
15710         (getPackages): output the appropriate LaTeX for natbib support.
15711
15712         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15713         variables "use_natbib" and "use_numerical_citations" when reading the
15714         LyX file.
15715         (readInset): read the various natbib cite commands.
15716         (validate): white-space change.
15717
15718         * bufferparams.[Ch]: new variables "bool use_natbib" and
15719         "bool use_numerical_citations".
15720         (writeFile): output them in the LyX file.
15721
15722 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15723
15724         * lyxfunc.C (getStatus): add support for all the inset insertion
15725         commands.
15726
15727         * text2.C (insertInset):
15728         * paragraph.C (insetAllowed):
15729         * BufferView_pimpl.C (insertInset): update to take in account the
15730         renaming of insertInsetAllowed
15731
15732         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15733
15734         * text2.C (getInset): new method. returns inset at cursor position.
15735
15736         * BufferView_pimpl.C (Dispatch): changes because of this.
15737
15738         * LyXAction.C (init): rename open-stuff to inset-toggle.
15739
15740         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15741
15742         * text2.C (toggleInset): renamed from openStuff; use
15743         Inset::open().
15744
15745 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15746
15747         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15748
15749         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15750
15751 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15752
15753         * buffer.C (readLyXformat2): Add filename to the error dialog
15754
15755 2001-07-18  Juergen Vigna  <jug@sad.it>
15756
15757         * tabular.C (GetCellNumber): put an assert here instead of the check!
15758
15759 2001-07-17  Juergen Vigna  <jug@sad.it>
15760
15761         * BufferView_pimpl.C (toggleSelection): adapted too.
15762
15763         * text.C (selectNextWord): adapted for use with insets.
15764         (selectSelectedWord): ditto
15765
15766 2001-07-17  Juergen Vigna  <jug@sad.it>
15767
15768         * sp_spell.C (PSpell): fix initialitation order.
15769
15770 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15771
15772         * paragraph.C: spacing
15773
15774 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15775
15776         * sp_spell.C: repair language selection for pspell
15777
15778 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15779
15780         * lyxfunc.h: change more methods to begin with lower char.
15781
15782 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15783
15784         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15785         for unknown layouts.
15786
15787 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15788
15789         * buffer.C (readLyXformat2): Generate an error dialog if there are
15790         unknown layouts.
15791
15792 2001-07-16  Juergen Vigna  <jug@sad.it>
15793
15794         * sp_spell.C: always compile ISpell part.
15795
15796         * lyxrc.C: added use_pspell entry and it's handling.
15797
15798 2001-07-13  Juergen Vigna  <jug@sad.it>
15799
15800         * sp_spell.C: removed double includes.
15801
15802 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15803
15804         Consistent use of Lsstream.h:
15805         * Lsstream.h: added using std::stringstream for consistencies sake.
15806
15807         * buffer.C: removed using std::stringstream
15808
15809         * lyxfont.C (stateText):
15810         * paragraph.C (asString):
15811         * text.C (selectNextWord, selectSelectedWord):
15812         * text2.C (setCounter):
15813         * vspace.C (asString, asLatexString):
15814         std::ostringstream -> ostringstream.
15815
15816 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15817
15818         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15819         * commandtags.h: add LFUN_HELP_ABOUTLYX
15820         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15821
15822 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15823
15824         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15825         cursorToggle()
15826         * lyx_gui_misc.C: remove spellchecker
15827         * lyxfunc.C: showSpellchecker
15828         * sp_base.h: added
15829         * sp_ispell.h: added
15830         * sp_pspell.h: added
15831         * sp_spell.C: added
15832         * sp_form.[Ch]: removed
15833         * spellchecker.[Ch]: removed
15834
15835 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15836
15837         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15838         is set.
15839         (simpleTeXSpecialChars): Simply print the input character without
15840         any special translation if pass_thru is set.
15841
15842         * layout.h: Added bool pass_thru to layout class for being able to
15843         implement pass through of a paragraph for Literate Programming.
15844
15845         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15846         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15847         * layout.C (Read): add "passthru" to list of layout tags and add
15848         code to set the pass_thru boolean when it is read.
15849
15850 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15851
15852         * trans_decl.h: remove allowed from KmodInfo
15853
15854         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15855         remove allowed code
15856         (Load): adjust
15857
15858         * paragraph_pimpl.C (erase): use boost::prior
15859
15860         * Painter.C (text): use data() instead of c_str() when length is
15861         also provided.
15862         * WorkArea.C (putClipboard): ditto
15863         * font.h (width): ditto
15864
15865         * BufferView2.C: use it-> instead of (*it). for iterators
15866         * texrow.C: ditto
15867         * paragraph_pimpl.C: ditto
15868         * paragraph.C: ditto
15869         * minibuffer.C: ditto
15870         * language.C: ditto
15871         * kbmap.C: ditto
15872         * encoding.C: ditto
15873         * counters.C: ditto
15874         * converter.C: ditto
15875         * chset.C: ditto
15876         * Variables.C: ditto
15877         * TextCache.C: ditto
15878         * MenuBackend.C: ditto
15879         * LyXAction.C: ditto
15880         * LColor.C: ditto
15881         * FloatList.C: ditto
15882         * DepTable.C: ditto
15883         * ColorHandler.C (LyXColorHandler): ditto
15884
15885 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15886
15887         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15888
15889         * text2.C (openStuff): reintroduce this method (which had been
15890         nuked in NEW_INSETS frenzy).
15891
15892         * lyxfunc.C (Dispatch): when an action has not been handled, use
15893         its name in the error message, not its number.
15894
15895         * paragraph.C (inInset): change method name to begin with lowercase.
15896
15897         * undo_funcs.C:
15898         * text2.C: updates because of this.
15899
15900 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15901
15902         * ToolbarDefaults.C (add): add spaces in error message
15903
15904 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15905
15906         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15907         (readLyXformat2): rename return_par to first_par, use lyxlex's
15908         pushToken and remove the manual push handling.
15909         (parseSingleLyXformat2Token): add another ert comp. variable:
15910         in_tabular, rename return_par to first_par. handle newlines better
15911
15912 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15913
15914         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15915
15916 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15917
15918         * text2.C (getParFromID): removed
15919
15920         * buffer.C (getParFromID): new method moved form lyxtext.
15921         * BufferView2.C (insertErrors): adjust
15922         (setCursorFromRow): adjust
15923         * BufferView_pimpl.C (restorePosition): adjust
15924         * lyxfunc.C (Dispatch): adjust
15925         * undo_funcs.C (textUndo): adjust
15926         (textRedo): adjust
15927         (textHandleUndo): adjust
15928         (textHandleUndo): adjust
15929
15930 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15931
15932         * buffer.C: up' the LYX_FORMAT
15933
15934         * lyxfont.h: turn NO_LATEX on as default
15935
15936         * buffer.C (insertErtContents): new methods of tex style compability.
15937         (parseSingleLyXformat2Token): use it several places.
15938         * tabular.C (OldFormatRead): and here
15939
15940 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15941
15942         * text2.C: remove some commented code.
15943         reindent file.
15944
15945         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15946         * trans.C: changes because of the above.
15947
15948 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15949
15950         * text2.C (setCounter): Fix counters bug with bibliography layout.
15951
15952 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15953
15954         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15955         own member functions
15956         (simpleTeXSpecialChars): ditto
15957
15958 2001-07-06  Juergen Vigna  <jug@sad.it>
15959
15960         * a lot of files: changed the access to LyXText::status and the
15961         call of undo-functions.
15962
15963         * undo.[Ch]: added a inset_id to the undo informations.
15964
15965         * undo_funcs.[Ch]: added and moved here all undo functions.
15966
15967         * lyxtext.h: give the status enum a weight, made status_ a private
15968         variable and made accessor functions for it, removed the whole bunch
15969         of undo-functions as they are now in their own file, make some
15970         functions publically available. Added function ownerParagraph with
15971         int parameter.
15972
15973         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15974         made InInset() a const function, added getParFromID() function.
15975
15976         * buffer.[Ch]: added const version for inset_iterator functions,
15977         added getInsetFromID() function.
15978
15979         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15980         changed undo functions for new version.
15981
15982 2001-07-05  Juergen Vigna  <jug@sad.it>
15983
15984         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15985         unknow mechanism does not call the proper constructor but only this
15986         one also if I request the other!?
15987
15988 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15989
15990         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15991
15992         * text2.C (LyXText): use initialization lists.
15993
15994         * lyxtext.h (Selection): initialize set_ and mark_
15995         (init): remove method
15996
15997 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15998
15999         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16000
16001 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16002
16003         * screen.[Ch]: change method names to begin with lowercase
16004
16005         * BufferView_pimpl.C (updateScrollbar): simplify further and
16006         hopefully make it a bit faster.
16007
16008 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16009
16010         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16011         calling directly xforms functions.
16012
16013         * Painter.C (Painter):
16014         * lyx_cb.C (MenuWrite):
16015         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16016         fl_display.
16017
16018         * lyx_gui.C: remove bogus guiruntime extern declaration.
16019
16020 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16021
16022         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16023         in NEW_INSETS
16024         (redoDrawingOfParagraph): ditto
16025         (redoParagraphs): ditto
16026         (cutSelection): don't create a object for CutAndPaste use the
16027         static method directly
16028         (pasteSelection): ditto
16029
16030         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16031         LyXview (+ rename)
16032
16033 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16034
16035         * modifications to some other files because of this.
16036
16037         * Makefile.am (lyx_SOURCES): add XFormsView
16038
16039         * XFormsView.[Ch]: new files
16040
16041         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16042         the main window. Move the gui dependent stuff to XFormsView
16043
16044 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16045
16046         * tabular.C (GetCellInset): update cur_cell also in the row/col
16047         version of this function.
16048
16049         * lyxfunc.C: no need to include figure_form.h here.
16050
16051         * FontLoader.h:
16052         * lyxfunc.h:
16053         * lyxscreen.h:
16054         * text2.C:
16055         * lyxvc.C: no need to include forms.h here.
16056
16057 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16058
16059         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16060
16061         * lyxfunc.C (Dispatch):
16062         * Spacing.C (set):
16063         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16064         constructor argument.
16065
16066 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16067
16068         * paragraph.C (Paragraph): dont't clear, and just set layout.
16069         (makeSameLayout): use params's copy contructor.
16070
16071         * ParagraphParameters.[Ch] (makeSame): delete method
16072
16073 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16074
16075         * Variables.[Ch]: fix indentation, rename set to isSet
16076
16077 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16078
16079         * lyxfunc.C (Dispatch): fix typo
16080
16081 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16082
16083         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16084         upper_bound.
16085
16086         * bufferlist.C: include assert.h for emergencyWrite().
16087
16088 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16089
16090         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16091           give up at last (bug #425202) !
16092
16093 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16094
16095         * lyx_gui_misc.C:
16096         * sp_form.h:
16097         * sp_form.C:
16098         * spellchecker.h:
16099         * spellchecker.C: strip spellchecker options and bring up
16100           preferences tab instead
16101
16102 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16103
16104         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16105         the istringstream constructor
16106
16107 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16108
16109         * paragraph.C (getLayout): fix return value
16110
16111         * paragraph.h: do not declare getLayout as inline.
16112
16113         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16114
16115 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16116
16117         * lyxcursor.h (operator<): new func
16118         (operator>): new func
16119         (operator>=): new func
16120         (operator<=): new func
16121
16122         * text.C (changeCase): use selection.start and selection.end
16123         (changeRegionCase): require from to be <= to. Require par to be a
16124         valid paragraph.
16125
16126         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16127
16128 2001-06-27  Juergen Vigna  <jug@sad.it>
16129
16130         * text.C (cursorLeftOneWord): changed to return the cursor and added
16131         overlay with BufferView * parameter which calls this one.
16132         (getWord): added
16133         (selectWord): use new getWord function.
16134         (changeCase): renamed from changeWordCase as and extended to work
16135         also on selections.
16136
16137         * lyxtext.h: added enum word_location
16138
16139         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16140         changeCase as this operates now also on selections.
16141
16142 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16143
16144         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16145
16146         * many files: send debug output to Debug::INFO instead of
16147         Debug::ANY.
16148
16149         * converter.C (View):
16150         (Convert):
16151         (Move): send debug output to Debug::FILES instead of console.
16152
16153 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16154
16155         * lyxfunc.C (getStatus): use func_status
16156
16157         * func_status.h: new header, describing the results of
16158         LyXFunc::getStatus;
16159
16160         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16161         LFUN_MATH_HALIGN.
16162
16163 2001-06-25  The LyX Project  <jug@sad.it>
16164
16165         * buffer.C (sgmlOpenTag):
16166         (sgmlCloseTag):
16167         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16168
16169 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16170
16171         * text2.C: remove some dead code
16172
16173         * tabular.C (GetCellInset): store the last cell checked (gotten)
16174
16175         * tabular.h: add the helper for the speedup
16176
16177         * lyxtext.h: remove some dead code
16178
16179 2001-06-26  The LyX Project  <Asger>
16180
16181         * paragraph.C: Change export to LaTeX of alignment to
16182         \begin{center} and family for better roundtrip work with reLyX.
16183
16184         * Tune the math drawing a bit.
16185
16186 2001-06-25  The LyX Project  <Asger>
16187
16188         * LColor.C (LColor): New color for math background. New color
16189         for buttons.
16190
16191 2001-06-25  The LyX Project  <jug@sad.it>
16192
16193         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16194
16195         * lyxfunc.C (Open):
16196         * bufferlist.C (newFile): do not restrict to files ending with
16197         .lyx
16198
16199         * BufferView_pimpl.C (MenuInsertLyXFile):
16200
16201 2001-06-24  The LyX Project  <jug@sad.it>
16202
16203         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16204         of compare_no_case
16205
16206 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16207
16208         * lyxtext.h: rename most methods to begin with a small char.
16209         Lots of changes because of this.
16210
16211         * paragraph.C (Paragraph): do not call fitToSize
16212         (erase): call Pimpl::erase
16213         (insertChar): call Pimpl::insertChar
16214         (insertInset): call Pipl::insertInset
16215         (breakParagraph): do not call fitToSize
16216         (breakParagraphConservative): do not call fitToSize
16217         (fitToSize): remove method
16218
16219         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16220
16221 2001-06-24  The LyX Project  <Asger>
16222
16223         * Fix Qt compilation^2
16224
16225 2001-06-24  The LyX Project  <jug@sad.it>
16226
16227         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16228         depthHook(getDepth()-1).
16229
16230         * paragraph.h:
16231         * ParagraphParameters.h:
16232         * ParameterStruct.h: change type of depth to unsigned int ==
16233         depth_type. Many adaptations to other files before of that.
16234
16235 2001-06-24  The LyX Project  <Asger>
16236
16237         * Fix Qt compilation.
16238
16239 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16240
16241         * paragraph.h: renamed several methods to begin with small letter.
16242         several changes to many parts of the code because of this.
16243
16244 2001-06-23  The LyX Project  <jug@sad.it>
16245
16246         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16247         rewritten to discard all double spaces when KeepEmpty is off
16248         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16249         to only handle newlines but not fiddle with spaces and friends.
16250
16251         * lyxfunc.C (MenuNew): when doing 'new from template', use
16252         template_path as default directory
16253
16254 2001-06-23  The LyX Project  <Asger>
16255
16256         * Clean-up of header file includes all over
16257         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16258
16259 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16260
16261         * paragraph.h: renamed from lyxparagraph.h
16262
16263 2001-06-23  Asger  <lyx@violet.home.sad.it>
16264
16265         * Buffer.h: Removed Buffer::resize
16266         * BufferList.h: Removed BufferList::resize
16267         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16268         the document lazily when we change the width, or the font settings.
16269
16270 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16271
16272         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16273
16274 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16275
16276         * buffer.h: remove out of date comment
16277
16278 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16279
16280         * lyxscreen.h:
16281         * screen.C: fix "theoretical" GC leak
16282
16283 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16284
16285         * LaTeX.C (scanAuxFile):
16286         (deplog): remove trailing \r when reading stream (useful under
16287         win32)
16288
16289 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16290
16291         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16292         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16293         and BufferView::theLockingInset(Inset*), so should use them and not
16294         access bv_->text->the_locking_inset directly.
16295
16296         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16297
16298 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16299
16300         * Makefile.am:
16301         * tex-defs.h: remove old unused file
16302
16303 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16304
16305         * BufferView_pimpl.C: fix typo, remove minibuffer message
16306           when buffer has loaded
16307
16308 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16309
16310         * lyxfunc.C (Dispatch): use stringstream
16311         (MenuNew): use stringstream
16312         (Open): use stringstream
16313
16314         * importer.C (Import): use stringstream
16315
16316         * bufferview_funcs.C (CurrentState): use stringstream
16317
16318         * LaTeX.C (run): use stringstream
16319
16320         * BufferView_pimpl.C (savePosition): use stringstream
16321         (restorePosition): use stringstream
16322         (MenuInsertLyXFile): use stringstream
16323
16324 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16325
16326         * BufferView.C:
16327         * Bullet.C:
16328         * ColorHandler.C:
16329         * FontInfo.C:
16330         * FontLoader.C:
16331         * LColor.C:
16332         * LaTeXFeatures.C:
16333         * Painter.C:
16334         * gettext.C:
16335         * lyx_gui_misc.C:
16336         * lyxserver.C:
16337         * vspace.C: removed // -*- C++ -*- as first line.
16338
16339         * lyxfind.h:
16340         * version.h: added // -*- C++ -*- as first line.
16341
16342 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16343
16344         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16345
16346         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16347         of string
16348
16349 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16350
16351         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16352         of floats.
16353
16354 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16355
16356         * gettext.C: include LString.h even when --disable-nls is on.
16357
16358 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16359
16360         * converter.h (Get): changed argument type from int to
16361         FormatList::size_type to avoid unnecessary conversion.
16362
16363         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16364         before using it.
16365
16366 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16367
16368         * gettext.h: include LString.h even when --disable-nls is on.
16369
16370 2001-06-07  Juergen Vigna  <jug@sad.it>
16371
16372         * text.C (BreakAgain): subst spaces with tabs.
16373
16374         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16375         (resizeInsetsLyXText): set force on resizeLyXText.
16376
16377 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16378
16379         * gettext.h (gettext_init):
16380         (locale_init): use a real definition instead of a macro
16381
16382 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16383
16384         * Bufferview_pimpl.C:
16385         * LColor.h:
16386         * LColor.C: further lcolor tidies
16387
16388 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16389
16390         * BufferView_pimpl.C (updateScrollbar): simplify.
16391
16392         * BufferView2.C: don't include insets/insetinfo.h, change
16393         prototype for insertInset and call the Pimpl version. let
16394         updateInset call Pimpl version.
16395
16396         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16397         gotoInset to BufferView::Pimpl
16398
16399 2001-06-01  Juergen Vigna  <jug@sad.it>
16400
16401         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16402         inside a LockingInset (is the update needed at all?).
16403
16404 2001-05-31  Juergen Vigna  <jug@sad.it>
16405
16406         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16407         here not the old one otherwise how should we compare it afterwards
16408         if it's the same!
16409
16410 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16411
16412         * lyxfont.C:
16413         * tabular.C:
16414         * tabular-old.C:
16415         * FontInfo.C: bring C functions into global namespace when
16416         necessary
16417
16418 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16419
16420         * LString.h: make sure config.h has been loaded before LString.h.
16421
16422         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16423         (one for each char read by EatLine!).
16424
16425         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16426         variables.
16427
16428 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16429
16430         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16431         to the same as the par we break from
16432
16433 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16434
16435         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16436
16437         * MenuBackend.C (expand): also create menu entries for wide
16438         versions of the floats.
16439
16440         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16441
16442         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16443
16444         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16445         frontends/Makefile.am
16446
16447         * text2.C: adjust
16448         * text.C: adjust
16449
16450
16451         * tabular.C (getTokenValue): add std::
16452
16453         * tabular-old.C (getTokenValue): add std::
16454         (getTokenValue): ditto
16455         (getTokenValue): ditto
16456
16457         * screen.C (ToggleSelection): adjust
16458
16459         * lyxtext.h: put selection cursors inside a Selection struct.
16460
16461         * lyxfunc.C (moveCursorUpdate): adjust
16462
16463         * lyxfont.C (latexWriteStartChanges): add std::
16464
16465         * lyxfind.C: adjust
16466
16467         * font.h: delete with(char const *, LyXFont const &)
16468
16469         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16470
16471         * FontInfo.C (getFontname): add std::
16472
16473         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16474         (workAreaButtonPress): adjust
16475         (tripleClick): adjust
16476         (update): adjust
16477         (moveCursorUpdate): adjust
16478         (Dispatch): adjust
16479
16480         * BufferView2.C (gotoInset): adjust
16481
16482 2001-05-30  Juergen Vigna  <jug@sad.it>
16483
16484         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16485         to check pspell I add this as default as I now have new pspell
16486         libraries and they seem to use this.
16487
16488 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16489
16490         * text2.C (CutSelection): make the cursor valid before the call to
16491         ClearSelection.
16492
16493 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16494
16495         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16496         relied on 0 terminated strings and other horrors. Bug found due to
16497         the new assert in lyxstring!
16498
16499         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16500         KP_ keys.
16501
16502 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16503
16504         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16505         to latinkeys.bind.
16506
16507         * lyxfunc.C (processKeySym): change method of getting to the
16508         self-insert char.
16509
16510         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16511         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16512         * BufferView_pimpl.[Ch]: here as private methods.
16513
16514 2001-05-28  Juergen Vigna  <jug@sad.it>
16515
16516         * text.C (SetHeightOfRow): added the update() call again as it is
16517         needed to initialize inset dimensions!
16518
16519 2001-05-16  Juergen Vigna  <jug@sad.it>
16520
16521         * text2.C (SetCharFont): Add new function with BufferView * and
16522         bool toggleall parameters for setting insets internal fonts.
16523         (SetFont): Freeze the undo as we may change fonts in Insets and
16524         all this change should be inside only one Undo!
16525
16526         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16527         setting font's in insets as for them we have the SetFont function!
16528
16529 2001-05-15  Juergen Vigna  <jug@sad.it>
16530
16531         * text2.C (ClearSelection): to be sure we REALLY don't have any
16532         selection anymore!
16533
16534         * tabular.C (TeXCellPreamble): fixed the left border problem for
16535         multicolumn cells.
16536
16537 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16538
16539         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16540         dependancy file
16541
16542 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16543
16544         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16545         LFUN_BREAKPARAGRAPH.
16546
16547         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16548         help test to "internal only", similar for LFUN_INSERT_URL
16549
16550         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16551         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16552         auto_region_delete and deadkeys.
16553
16554 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16555
16556         * LColor.h:
16557         * LColor.C: remove some dead entries, tidy a little
16558
16559 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16560
16561         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16562         commented code.
16563         (Dispatch): implement LFUN_ESCAPE
16564
16565         * commandtags.h: add LFUN_ESCAPE
16566
16567         * LyXAction.C (init): add entry for LFUN_ESCAPE
16568
16569         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16570         Remove commented code.
16571         (insertNote): moved here
16572         (open_new_inset): moved here
16573
16574         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16575         BufferView_pimpl
16576
16577 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16578
16579         * kbmap.C (findbinding): clean it up and make it work correctly.
16580
16581         * lyx_main.C (init): do not pass argc and argv as parameters
16582
16583 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16584
16585         * buffer.C: fix path for OS/2 & Win32
16586
16587         * lyx_gui.C:
16588         * lyx_main:
16589         * lyx_main.C: Added os:: class.
16590
16591         * os2_defines.h: update
16592
16593 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16594
16595         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16596         better by trying again with reduced state.
16597
16598 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16599
16600         * lyxrc.C (read): print error about invalid key sequence only when
16601         debugging (because not all latinX keysyms are known to some X
16602         servers)
16603
16604         * kbsequence.C (getiso): add a few std:: qualifiers
16605         (getiso): comment out extra return statement.
16606
16607 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16608
16609         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16610         handling.
16611         (Dispatch): enhance the accent inset a bit. (not perfect)
16612
16613 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16614
16615         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16616
16617 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16618
16619         * bufferlist.C (emergencyWrite): fix assert() call
16620
16621 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16622
16623         * text.C (InsertChar): Added trivial patch to only send the "you
16624         can not do multiple spaces this way" message once during a
16625         session.
16626
16627 2001-05-08  Baruch Even  <baruch@lyx.org>
16628
16629         * Makefile.am: Changed order of libraries to get LyX to link properly
16630         with the gnome frontend.
16631
16632 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16633
16634         * LaTeXFeatures.h: add a std:: qualifier
16635
16636 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16637
16638         * paragraph.C (String): use stringstream
16639
16640 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16641
16642         * paragraph.C (writeFile): remove footflag arg
16643
16644         * buffer.C (makeLaTeXFile): use stringstream
16645         (latexParagraphs): remove footnot gurba
16646
16647         * LaTeXFeatures.C (getPackages): use stringstream
16648         (getMacros): likewise
16649         (getTClassPreamble): likewise
16650         (getFloatDefinitions): new method
16651
16652         * paragraph.C (writeFile): reindent
16653         (Erase): reindent
16654
16655         * WorkArea.h: revert the xpos + etc changes.
16656
16657         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16658
16659         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16660
16661         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16662         (pasteSelection): likewise
16663         * text2.C (CreateUndo): likewise
16664
16665 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16666
16667         * minibuffer.C (peek_event): temporarily reduce the functionality
16668         of the minibuffer (to allow args on lfuns)
16669
16670         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16671         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16672
16673         * buffer.C (readInset): add compability reading of old float
16674         lists, add reading of new style float list.
16675         (readInset): avoid reevaluation of inscmd.getCmdName()
16676         (getLists): reindent
16677
16678         * MenuBackend.C (MenuItem): implement parsing of
16679         md_floatlistinsert and md_floatinsert.
16680         (expand::LastFiles): move initalizaton of iterators out of loop,
16681         avoid reevaluation.
16682         (expand::Documents): introduce typdedef vector<string> Strings,
16683         and use it.
16684         (expand::ExportFormats): introduce typedef vector<Format const *>
16685         Formats, and use it.
16686         (expand): implement FloatListInsert and FloatInsert.
16687
16688         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16689         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16690         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16691
16692         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16693         handling.
16694         (Dispatch::LFUN_FLOAT_LIST): implement
16695
16696 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16697
16698         * LaTeX.C (run): Fix problem with --export code.
16699
16700 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16701
16702         * BufferView.[Ch] (workarea): removed.
16703         (getClipboard) new method; wrapper for workarea()->getClipboard()
16704
16705         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16706         bug.
16707
16708         * WorkArea.h (width, height, xpos, ypos): These methods all
16709         returned the dimensions of the work_area sub-area of WorkArea,
16710         resulting in a position error if the WorkArea were resized. Now
16711         return the dimensions of the entire WorkArea.
16712
16713         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16714
16715 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16716
16717         * LaTeX.C (deplog): correct the syntax of regex reg1
16718
16719 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16720
16721         * undo.C: remove !NEW_INSETS cruft
16722
16723 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16724
16725         * text2.C: remove !NEW_INSETS cruft
16726
16727         * text.C: remove !NEW_INSETS cruft
16728
16729         * tabular.C: remove !NEW_INSETS cruft
16730
16731         * spellchecker.C: remove !NEW_INSETS cruft
16732
16733         * lyxtext.h: remove !NEW_INSETS cruft
16734
16735         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16736
16737         * lyxfunc.C: remove !NEW_INSETS cruft
16738
16739         * lyxfind.C: remove !NEW_INSETS cruft
16740
16741         * lyx_cb.C: remove !NEW_INSETS cruft
16742
16743         * figureForm.C: remove  !NEW_INSETS cruft
16744
16745         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16746
16747         * buffer.[Ch]: remove !NEW_INSETS cruft
16748
16749         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16750
16751         * CutAndPaste.C: remove !NEW_INSETS cruft
16752
16753         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16754
16755         * BufferView2.C: remove !NEW_INSETS cruft
16756
16757         * BufferView.h: remove !NEW_INSETS cruft
16758
16759 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16760
16761         * Lsstream.h: include LString.h before the sstream headers to
16762         fix problem with gcc 2.95.3 and lyxstring
16763
16764 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16765
16766         * lyx_main.C: add using directives when needed for C functions
16767         declared in std:: namespace.
16768
16769 2001-04-27  Juergen Vigna  <jug@sad.it>
16770
16771         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16772         (SetHeightOfRow): comment out the update call should not be needed!
16773
16774 2001-04-13  Juergen Vigna  <jug@sad.it>
16775
16776         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16777         (LyXTabular): tried to minimize operator= operations (and realized
16778         hopfully Lars wish).
16779
16780 2001-04-27  Juergen Vigna  <jug@sad.it>
16781
16782         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16783
16784 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16785
16786         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16787
16788         * buffer.C (readInset): hack to make listof algorithm work
16789
16790         * BufferView_pimpl.C: hack to make listof algorithm work
16791
16792 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16793
16794         * LyXAction.C: removed all !NEW_INSETS cruft
16795         (init): moved lfun_item in method
16796
16797         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16798
16799 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16800
16801         * BufferView2.C (theLockingInset): white space.
16802
16803 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16804
16805         * minibuffer.C: include <iostream>
16806
16807         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16808
16809         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16810
16811         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16812
16813         * text.[Ch] (TransposeChars): new method
16814
16815 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16816
16817         * call message directly through LyXView instead of through LyXFunc
16818         * BufferView2.C: adjust
16819         * BufferView_pimpl.C: adjust
16820         * FontLoader.C: adjust
16821         * buffer.C: adjust
16822         * bufferview_funcs.C: adjust
16823         * converter.C: adjust
16824         * figureForm.C: adjust
16825         * importer.C: adjust
16826         * lyx_cb.C: adjust
16827         * lyx_gui_misc.C: adjust
16828         * lyxfunc.C: adjust
16829         * lyxvc.C: adjust
16830         * text2.C: adjust
16831         + more files in subdirs
16832
16833         * lyxparagraph.h (size): move up int file
16834         (GetLayout): ditto
16835
16836         * adjust all uses of Assert to lyx::Assert.
16837
16838         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16839         lyxfunctional in namespace lyx
16840         * layout.C (hasLayout): ditto
16841         (GetLayout): ditto
16842         (GetLayout): ditto
16843         (delete_layout): ditto
16844         (NumberOfClass): ditto
16845         * converter.C (GetFormat): ditto
16846         (GetNumber): ditto
16847         (Add): ditto
16848         (Delete): ditto
16849         (SetViewer): ditto
16850         * bufferlist.C (getFileNames): ditto
16851         (emergencyWriteAll): ditto
16852         (exists): ditto
16853         (getBuffer): ditto
16854         * MenuBackend.C (hasSubmenu): ditto
16855         (hasMenu): ditto
16856         (getMenu): ditto
16857         * BufferView_pimpl.C (getInsetByCode): ditto
16858
16859 2001-04-18  Juergen Vigna  <jug@sad.it>
16860
16861         * vspace.C (asLatexString): fixed the 100% problem.
16862
16863 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16864
16865         * lyxfunc.C (Dispatch):
16866         * minibuffer.C:
16867         * minibuffer.h: add a few std:: qualifiers
16868
16869 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16870
16871         * minibuffer.[Ch]: reimplement so that commands is initiated and
16872         run from lyxfunc, simplified som handling, and made the completion
16873         and history code for complete. wip.
16874
16875         * lyxfunc.C (processKeySym): call message
16876         (miniDispatch): new temporary method
16877         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16878         (LFUN_MESSAGE): implement
16879         (LFUN_MESSAGE_PUSH): implement
16880         (LFUN_MESSAGE_POP): implement
16881         (initMiniBuffer): the initial/defualt minibuffer message.
16882
16883         * lyxfont.[Ch]: inline some more getters
16884
16885         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16886
16887         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16888
16889         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16890         (AutoSave): use LFUN_MESSAGE
16891         (Reconfigure): ditto
16892
16893         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16894
16895         * figureForm.C: use LFUN_MESSAGE
16896
16897         * converter.C (runLaTeX): use LFUN_MESSAGE
16898
16899         * bufferview_funcs.C: use LFUN_MESSAGE
16900         (Melt): ditto
16901         (changeDepth): ditto
16902
16903         * bufferparams.h: use boost::
16904
16905         * bufferlist.h: inherit privately from noncopyable
16906
16907         * bufferlist.C (loadLyXFile): remove some commented code.
16908
16909         * buffer.C (runChktex): use LFUN_MESSAGE
16910
16911         * ShareContainer.h: inherit privately from noncopyable
16912
16913         * ParagraphParameters.[hC] (depth): inline it.
16914
16915         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16916         methods.
16917         (message): new method
16918         (messagePush): ditto
16919         (messagePop): ditto
16920         (show): init minibuffer
16921         (showState): direct call
16922
16923         * LaTeX.[Ch]: inherit privately from noncopyable
16924         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16925         instead of WriteStatus.
16926
16927         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16928
16929         * BufferView_pimpl.C (buffer): don't init minibuffer
16930         (workAreaButtonPress): use LFUN_MESSAGE
16931         (workAreaButtonRelease): ditto
16932         (savePosition): ditto
16933         (restorePosition): ditto
16934         (MenuInsertLyXFile): ditto
16935         (workAreaExpose): don't init minibuffer
16936         (update): remove commented code, simplify
16937
16938         * BufferView2.C (openStuff): use LFUN_MESSAGE
16939         (toggleFloat): ditto
16940         (menuUndo): ditto
16941         (menuRedo): ditto
16942         (copyEnvironment): ditto
16943         (pasteEnvironment): ditto
16944         (copy): ditto
16945         (cut): ditto
16946         (paste): ditto
16947         (gotoInset): ditto
16948         (updateInset): remove some commented code
16949
16950         * lastfiles.h: inherit privately from noncopyable
16951         * layout.h: ditto
16952         * lyx_gui.h: ditto
16953         * lyx_main.h: ditto
16954         * lyxlex.h: ditto
16955         * lyxlex_pimpl.h: ditto
16956
16957         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16958         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16959         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16960
16961         * LyXAction.h: inherit privately from noncopyable, add methods
16962         func_begin, func_end, returning iterators to the func map.
16963
16964         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16965         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16966         (func_begin): new method
16967         (func_end): new method
16968
16969         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16970         and not)
16971         (copySelection): ditto
16972         (pasteSelection): ditto
16973
16974         * BufferView.C: whitespace change
16975         * BufferView.h: inherit privately from noncopyable
16976
16977 2001-04-16  Allan Rae  <rae@lyx.org>
16978
16979         * tabular-old.C (l_getline):
16980         * spellchecker.C (sc_check_word):
16981         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16982         an unrecognised preprocessor directive.  So ensure they're wrapped.
16983
16984 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16985
16986         * src/exporter.C (Export): Give an error message when path to file
16987         contains spaces.
16988
16989 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16990
16991         * LaTeX.C (deplog): Always check that foundfile exists.
16992
16993 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16994
16995         * lyx_main.h:
16996         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16997
16998 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16999
17000         * tabular.[Ch] (getLabelList): implement new method
17001
17002         * minibuffer.h: comment ouf setTiimer
17003
17004         * minibuffer.C (ExecutingCB): constify res
17005         (peek_event): constify s
17006         (Set): constify ntext
17007         (Init): constify nicename
17008
17009         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17010
17011         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17012         (savePosition): use two params to Minibuffer::Set
17013         (restorePosition): ditto
17014
17015 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17016
17017         * lyx_main.C: include language.h
17018
17019         * Makefile.am (lyx_main.o): add language.h
17020
17021 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17022
17023         * exporter.C:
17024         * paragraph.C:
17025         * screen.C:
17026         * tabular.C:
17027         * CutAndPaste.C: include gettext.h
17028
17029         * lyxfont.h: remove old hack with ON and OFF.
17030
17031         * lyxparagraph.h:
17032         * lyxfont.h: do not include language.h...
17033
17034         * BufferView2.C:
17035         * LaTeXFeatures.C:
17036         * Painter.C:
17037         * bufferview_funcs.C:
17038         * font.C:
17039         * lyxfont.C:
17040         * text.C:
17041         * text2.C:
17042         * trans_mgr.C:
17043         * paragraph.C: ... but do it here instead
17044
17045 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17046
17047         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17048
17049         * tabular.C: small reformat
17050
17051         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17052         NEW_INSETS version
17053         (GetChar): ditto
17054         (BreakParagraph): ditto
17055         (SetOnlyLayout): ditto
17056         (SetLayout): ditto
17057
17058         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17059         with one arg less.
17060
17061         * lastfiles.C: removed most using decl, add std:: where needed
17062
17063         * buffer.C: ws changes
17064
17065         * MenuBackend.C (class compare_format): put into anon namespace
17066         (expand): constify label, names, action, action2
17067         (expand):
17068
17069         * text.C (SingleWidth): constify font
17070         (IsBoundary): constify rtl2
17071         (GetVisibleRow): constify ww
17072
17073         * LaTeX.C (deplog): constify logfile
17074
17075         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17076         start_x, end_x
17077         (workAreaExpose): constify widthChange, heightChange
17078
17079         * lyxrow.C (par): moved
17080         (height): moved
17081         (next): moved
17082         * lyxrow.h: as inlines here
17083
17084         * lyxfont.h (shape): moved from lyxfont.C
17085         (emph): moved from lyxfont.C
17086
17087         * lyxfont.C (LyXFont): use initialization list for all
17088         constructors
17089         (shape): move to lyxfont.h as inline
17090         (emph): move to lyxfont.h as inline
17091
17092
17093 2001-04-04  Juergen Vigna  <jug@sad.it>
17094
17095         * vspace.C: had to include stdio.h for use of sscanf
17096
17097 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17098
17099         * BufferView.h:
17100         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17101         independent of xforms.
17102
17103 2001-04-02  Juergen Vigna  <jug@sad.it>
17104
17105         * spellchecker.C: fixed namespace placing!
17106
17107 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17108
17109         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17110         the LyXParagraph * is 0.
17111
17112 2001-03-29  Juergen Vigna  <jug@sad.it>
17113
17114         * vspace.C: added support for %, c%, p%, l%.
17115         (stringFromUnit): added helper function.
17116         (asLatexString): changed to give right results for the %-values.
17117
17118         * buffer.C: convert the widthp in a width%.
17119
17120 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17121
17122         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17123         figureForm.[Ch].
17124
17125         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17126         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17127
17128         * lyx_cb.[Ch]: see above.
17129
17130         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17131         form1.[Ch].
17132
17133         * form1.[Ch]:
17134         * lyx.[Ch]: replaced by figure_form.[Ch].
17135
17136         * lyx_gui.C:
17137         * lyx_gui_misc.C:
17138         * lyxfunc.C: changed headers associated with above changes.
17139
17140 2001-03-27  Juergen Vigna  <jug@sad.it>
17141
17142         * BufferView_pimpl.C: set the temporary cursor right!
17143
17144 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17145
17146         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17147
17148 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17149
17150         * LString.h: removed "using std::getline"!
17151
17152         * BufferView_pimpl.C (Dispatch): changes due to changes in
17153         InsetInclude::Params.
17154
17155         * buffer.C (tag_name): removed redundant break statements as they were
17156         producing lots of warnings with my compiler.
17157
17158 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17159
17160         * LString.h: add "using std::getline" when using the real <string>.
17161
17162 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17163
17164         * buffer.C: removed bitset usage.
17165         PAR_TAG moved to an anonymous name space.
17166         (tag_name): new funtion, also in the anonymous namespace.
17167         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17168         (makeDocBookFile): clean code. Completed transition from string arrays
17169         to string vectors.
17170         (SimpleDocBookOnePar): code clean.
17171
17172 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17173
17174         * tabular.C: add some comments.
17175
17176 2001-03-22  Juergen Vigna  <jug@sad.it>
17177
17178         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17179         compatibility read a bit and fixed bug with minipage in different
17180         depth.
17181
17182 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17183
17184         * buffer.C (pop_tag): removed.
17185         (push_tag): removed.
17186         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17187         array replaced with vector. Added support for CDATA sections.
17188         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17189         at any nest level.
17190         (makeDocBookFile): XML conformant declaration of CDATA section,
17191         fixed bug related to <emphasis> in the first paragraph char.
17192         (sgmlOpenTag): exclude empty tags.
17193         (sgmlCloseTag): ditto.
17194
17195         * buffer.h (pop_tag): removed.
17196         (push_tag): removed.
17197
17198 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17199
17200         * language.h (Languages): added size_type and size().
17201
17202 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17203
17204         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17205         response on compability reading of minipages. One probliem is that
17206         the old usage of minipages was «flertydig»
17207
17208         * several files here and in subdirs: don't use static at file
17209         scope use anon namespaces instead.
17210
17211 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17212
17213         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17214         LaTeX output. This is necessary for Literate document
17215         processing.
17216
17217 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17218
17219         * buffer.C: insert hfill when needed.
17220
17221         * tabular.C (l_getline): use string::erase, small whitespace change.
17222
17223         * BufferView_pimpl.C: try the anon namespace.
17224         * WorkArea.C: ditto
17225
17226 2001-03-16  Juergen Vigna  <jug@sad.it>
17227
17228         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17229         otherwise it won't open options-dialogs.
17230
17231         * buffer.C: honor pextraWidth(p) on converting minipages.
17232
17233         * tabular.C (l_getline): changed the functions to strip trailing \r.
17234
17235 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17236
17237         * BufferView_pimpl.C:
17238         * minibuffer..C: added "using SigC::slot" declaration.
17239
17240 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17241
17242         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17243
17244         * text2.C: ditto
17245
17246         * text.C: ditto
17247
17248         * paragraph.C: ditto
17249
17250         * lyxtext.h: NO_PEXTRA
17251
17252         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17253
17254         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17255         * ParameterStruct.h: ditto
17256         * ParagraphParameters.h: ditto
17257         * lyxparagraph.h: ditto
17258
17259 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17260
17261         * buffer.C: add compability for minipage alignment.
17262         (latexParagraphs): remove unwanted pextra check.
17263
17264         * several files: remove CXX_WORKING_NAMESPACES
17265
17266         * buffer.C (pop_tag): tie is in namespace boost
17267
17268         * BufferView.h: noncopyable is in namespace boost
17269         * lyxlex.h: ditto
17270         * lyx_main.h: ditto
17271         * lyx_gui.h: ditto
17272         * layout.h: ditto
17273         * lastfiles.h: ditto
17274         * bufferlist.h: ditto
17275         * ShareContainer.h: ditto
17276         * LyXView.h: ditto
17277         * LyXAction.h: ditto
17278         * LaTeX.h: ditto
17279
17280 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17281
17282         * Merging changes from BRANCH_MVC back into HEAD.
17283
17284         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17285
17286 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17287
17288         * BufferView_pimpl.C: change from intl.C
17289
17290         * combox.h:
17291         * combox.C:
17292         * Makefile.am: move combox.*
17293
17294         * form1.h:
17295         * form1.C:
17296         * lyx_gui.C:
17297         * intl.h:
17298         * intl.C: remove dialog (covered by prefs)
17299
17300 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17301
17302         * lyxfunc.C (Dispatch): removed redundant break statement.
17303
17304 2001-03-14  Juergen Vigna  <jug@sad.it>
17305
17306         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17307
17308 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17309
17310         * buffer.C: add hack to fix compability reading of minipages.
17311
17312 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17313
17314         * buffer.C (getLists): Cleanup.
17315
17316 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17317
17318         * lyxfont.C (update): don't honor toggleall on font size.
17319
17320 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17321
17322         * bmtable.c:
17323         * bmtable.h:
17324         * Makefile.am: moved to frontends/xforms/
17325
17326         * lyx_gui_misc.C:
17327         * lyxfunc.C:
17328         * BufferView_pimpl.C: changes for moved mathpanel
17329
17330 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17331
17332         * gettext.h: fix gettext_init() in --disable-nls
17333
17334 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17335
17336         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17337
17338 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17339
17340         * lyx.C:
17341         * lyx.h: strip external form
17342
17343 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17344
17345         * BufferView_pimpl.C: add comment, destroySplash()
17346
17347 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17348
17349         * BufferView_pimpl.C:
17350         * LyXAction.C:
17351         * buffer.C:
17352         * commandtags.h:
17353         * lyxfunc.C: use re-worked insetinclude
17354
17355 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17356
17357         * buffer.C: add using std::stringstream.
17358
17359         * lyx_cb.C: readd using std::ios.
17360
17361         * buffer.C: add using std::map.
17362
17363         * BufferView_pimpl.C: add using std::vector.
17364
17365         * ShareContainer.h: add std:: to swap.
17366
17367         * buffer.h: add some typedefs
17368         * buffer.C (getLists): use them
17369         (getLists): renamed from getTocList.
17370         add a counter for the different float types and use it in the
17371         generated string.
17372         (getLists): use the same counter for the NEW_INSETS and the "non"
17373         NEW_INSETS
17374
17375         * lyx_cb.h: remove unused items, includes, using etc.
17376
17377         * ShareContainer.h: remove some commented code, add more comments
17378         and "documentation".
17379
17380 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17381
17382         * buffer.C (getTocList): make the list also when NEW_INSETS is
17383         defined.
17384
17385         * buffer.h: remove TocType
17386
17387         * buffer.C (getTocList): change to return a map<string,
17388         vector<TocItem> >, implement for dynamic number of list.
17389
17390         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17391         * text2.C (PasteSelection): adjust
17392         * CutAndPaste.C (pasteSelection): adjust
17393
17394         * FloatList.C (FloatList): update from the new_insets branch.
17395         * Floating.[Ch]: ditto
17396         * LaTeXFeatures.C: ditto
17397         * buffer.C: ditto
17398         * lyxlex_pimpl.C: ditto
17399
17400         * paragraph.C (Last): remove when NEW_INSETS is defined.
17401
17402         * other file: changes because of the above.
17403
17404 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17405
17406         * lyxparagraph.h: rename next to next_, previous to previous_,
17407         make them private for NEW_INSETS. Rename Next() to next(),
17408         Previous() to previous().
17409
17410         * other files: changes because of the above.
17411
17412 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17413
17414         * BufferView.h:
17415         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17416         problem.
17417
17418 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17419
17420         * main.C (main): pass lyx_localedir to gettext_init().
17421
17422         * gettext.h: remove locale_init and gettext_init macros
17423
17424         * gettext.C (locale_init): new function
17425         (gettext_init): new function
17426
17427         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17428         setlocale().
17429
17430 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17431
17432         * Moved credits to frontends:
17433         * credits.[Ch]: removed
17434         * credits_form.[Ch]: removed
17435         * lyx_gui_misc.C: remove credits stuff
17436         * Makefile.am:
17437
17438 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17439
17440         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17441
17442         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17443         unneeded destructor.
17444
17445         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17446         a standalone pointer again.
17447
17448         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17449
17450 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17451
17452         * Makefile.am:
17453         * filedlg.h:
17454         * filedlg.C:
17455         * LyXAction.C:
17456         * ToolbarDefaults.C:
17457         * bufferlist.C:
17458         * commandtags.h:
17459         * form1.C:
17460         * form1.h:
17461         * lyx_cb.C:
17462         * lyx_cb.h:
17463         * lyxfunc.h:
17464         * lyxfunc.C:
17465         * BufferView_pimpl.C: use new file dialog in GUII
17466
17467         * lyx_cb.h:
17468         * lyx_cb.C: remove LayoutsCB to Toolbar
17469
17470 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17471
17472         * ShareContainer.h (get): add std:: qualifier
17473
17474 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17475
17476         * ShareContainer.h: define a proper ShareContainer::value_type
17477         type (and use typename to please compaq cxx)
17478
17479 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17480
17481         * lyxparagraph.h: move serveral local vars to
17482         ParameterStruct/ParagraphParameters., use ShareContainer in
17483         FontTable., make vars in FontTable private and add getter and
17484         setter.
17485
17486         * paragraph.C: changes because of the above.
17487
17488         * lyxfont.h: remove copy constructor and copy assignment. (the
17489         default ones is ok), move number inside FontBits. move inlines to
17490         lyxfont.C
17491
17492         * lyxfont.C: add number to initializaton of statics, move several
17493         inlines here. constify several local vars. some whitespace
17494         cleanup. Dont hide outerscope variables.
17495
17496         * Spacing.h: add two new constructors to match the set methods.
17497
17498         * ShareContainer.h: new file, will perhaps be moved to support
17499
17500         * ParameterStruct.h: new file
17501
17502         * ParagraphParameters.h: new file
17503
17504         * ParagraphParameters.C: new file
17505
17506         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17507         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17508
17509         * BufferView_pimpl.C: ParagraphParameter changes.
17510         * buffer.C: Likewise.
17511         * bufferview_funcs.C: Likewise.
17512         * text.C: Likewise.
17513         * text2.C: Likewise.
17514
17515 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17516
17517         * lyxfind.C (LyXReplace): do not redefine default argument in
17518         implementation.
17519         (IsStringInText): ditto
17520         (SearchForward): ditto
17521         (SearchBackward): ditto
17522
17523 2001-03-06  Juergen Vigna  <jug@sad.it>
17524
17525         * lyxfind.C (IsStringInText): put parentes around expressions.
17526
17527 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17528
17529         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17530
17531 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17532
17533         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17534
17535         * stl_string_fwd.h: add comment
17536
17537         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17538
17539         * tabular.h:
17540         * tabular.C: remove unused DocBook methods
17541
17542         * intl.C:
17543         * language.C:
17544         * paragraph.C:
17545         * buffer.C:
17546         killed DO_USE_DEFAULT_LANGUAGE
17547
17548 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17549
17550         * lyx_gui.C: do not include language.h.
17551
17552         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17553         arguments in function implementation.
17554
17555 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17556
17557         * BufferView_pimpl.C: add <ctime>
17558
17559 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17560
17561         * BufferView_pimpl.C: add using std::find_if
17562
17563 2001-02-27  José Matos  <jamatos@fep.up.pt>
17564
17565         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17566         by OnlyPath.
17567
17568 2001-02-11  José Matos  <jamatos@fep.up.pt>
17569
17570         * buffer.C (makeDocBookFile): command styles now have a parameter as
17571         "title" by default.
17572
17573 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17574
17575         * layout_forms.[Ch]: removed
17576         * lyx_cb.[Ch]: out character
17577         * lyx_gui.C: out character
17578         * lyx_gui_misc.C: out character
17579         * bufferview_funcs.C: : out character,
17580         added toggleall as parameter in ToggleAndShow
17581
17582 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17583
17584         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17585
17586         * text2.C (SetCurrentFont): Disable number property at boundary.
17587
17588 2001-02-26  Juergen Vigna  <jug@sad.it>
17589
17590         * lyxfunc.C (getStatus): added a string argument override function so
17591         that this is correctly called from LyXFunc::Dispatch if it contains a
17592         do_not_use_argument which is used!
17593         (Dispatch): added check for "custom" export and call appropriate func.
17594
17595 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17596
17597         * lyxrc.C: Add language_command_local, language_use_babel and
17598         language_global_options.
17599
17600         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17601
17602         * buffer.C (makeLaTeXFile): Use language_use_babel and
17603         language_global_options.
17604
17605 2001-02-23  Juergen Vigna  <jug@sad.it>
17606
17607         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17608         which works with LyXText and putted it inside BufferView. Here now we
17609         only call for that part the BufferView::Dispatch() function.
17610
17611         * BufferView.C (Dispatch): added.
17612
17613         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17614         functions which needs to use a LyXText over from LyXFunc.
17615         (MenuInsertLyXFile): added
17616         (getInsetByCode): added
17617         (moveCursorUpdate): added
17618         (static TEXT): added
17619
17620 2001-02-22  Juergen Vigna  <jug@sad.it>
17621
17622         * BufferView_pimpl.C (update): call a status update to see if LyXText
17623         needs it.
17624
17625 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17626
17627         * vc-backend.C (revert): implement for CVS
17628         (getLog): implement for CVS
17629
17630 2001-02-20  Juergen Vigna  <jug@sad.it>
17631
17632         * text2.C (ClearSelection): added BufferView param for inset_owner call
17633
17634         * lyxfunc.C (TEXT): added this function and use it instead of
17635         directly owner->view()-text of getLyXText().
17636
17637 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17638
17639         * src/layout_forms.C: out preamble
17640         * src/layout_forms.h: out preamble
17641         * src/lyx_cb.C: out preamble
17642         * src/lyx_cb.h: out preamble
17643         * src/lyx_gui.C: out preamble
17644         * src/lyx_gui_misc.C: out preamble
17645         * src/lyxfunc.C: connect with guii preamble
17646
17647 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17648
17649         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17650
17651 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17652
17653         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17654         whether to run bibtex.
17655
17656 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17657
17658         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17659
17660 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17661
17662         * Makefile.am (lyx_SOURCES): removed bibforms.h
17663
17664         * vspace.h: doxygen
17665
17666         * text.C (GetVisibleRow): make several local vars const
17667
17668         * tabular.C: small cleanup.
17669
17670         * lyxserver.C (callback): use compare instead of strncmp
17671
17672         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17673         inlines to after class or to paragraph.C
17674
17675         * lyxfont.h: remove friend operator!=
17676
17677         * converter.h: move friend bool operator< to non friend and after
17678         class def.
17679
17680         * combox.h: small cleanup
17681
17682         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17683         to inlines after class def.
17684
17685         * buffer.C (pop_tag): use string operations instead of strcmp
17686
17687         * bmtable.c: doxygen, small cleanup
17688
17689         * LaTeX.h: remove friend operator==
17690
17691 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17692
17693         * screen.C:
17694         * lyxrc.[Ch]:
17695         * lyxfunc.C:
17696         * lyxfont.[Ch]:
17697         * lyx_cb.C:
17698         * intl.[Ch]:
17699         * commandtags.h:
17700         * buffer.C:
17701         * WorkArea.[Ch]:
17702         * LyXAction.C:
17703         * BufferView_pimpl.C:
17704         * BufferView.[Ch]: remove cruft
17705
17706 2001-02-14  Juergen Vigna  <jug@sad.it>
17707
17708         * lyxfunc.C: removed #if 0 unused code
17709
17710         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17711
17712         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17713
17714         * text2.C (SetSelection): added a BufferView * parameter
17715
17716 2001-02-13  Juergen Vigna  <jug@sad.it>
17717
17718         * lyxfunc.C (Dispatch): fixed protected blank problem.
17719         * BufferView2.C (protectedBlank): added LyxText * parameter.
17720
17721         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17722         (AppendColumn): same as above for column_info.
17723
17724         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17725         (moveCursorUpdate): use a LyXText param for support of InsetText.
17726
17727         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17728         (tripleClick): ditto
17729
17730         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17731
17732         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17733
17734         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17735
17736         * text2.C (SetSelection): set correct update status if inset_owner
17737         (ToggleFree): ditto
17738
17739 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17740
17741         * tabular.C: remove some commented code.
17742
17743 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17744
17745         * BufferView_pimpl.C: call hideSplash()
17746
17747         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17748
17749         * include_form.h:
17750         * bibforms.h: remove
17751
17752         * lyxfunc.C:
17753         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17754           add LFUN_CHILD_CREATE
17755
17756         * counters.h: fix tiny typo
17757
17758         * lyx_cb.C:
17759         * lyx.h:
17760         * lyx_gui.C:
17761         * lyx.C: move splash to frontends/xforms/
17762
17763         * lyx_gui_misc.C: move Include and Bibform to frontends
17764
17765         * lyxvc.h: clarify comment
17766
17767         * vspace.C: tiny housekeeping
17768
17769 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17770
17771         * text.C (PrepareToPrint): RTL Fix.
17772
17773         * paragraph.C (GetUChar): New method.
17774         (String):  Use GetUChar.
17775
17776         * buffer.C (asciiParagraph): Use GetUChar.
17777
17778 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17779
17780         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17781
17782 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17783
17784         * buffer.h:
17785         * buffer.C: rename to getLogName(), handle
17786           build log / latex log nicely
17787
17788 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17789
17790         * MenuBackend.C:
17791         * MenuBackend.h: remove support for reference menuitem type.
17792
17793 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17794
17795         * BufferView_pimpl.C: housekeeping
17796         * BufferView_pimpl.h:
17797         * LyXView.h:
17798         * Makefile.am:
17799         * Timeout.C:
17800         * Timeout.h:
17801         * minibuffer.h: move Timeout GUI-I
17802
17803 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17804
17805         * lyxrc.C (read): Update converters data-structures.
17806
17807 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17808
17809         * LaTeX.h (operator!=): add operator != for Aux_Info
17810
17811 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17812
17813         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17814
17815         * LaTeXLog.C: deleted, useful code moved to Buffer
17816
17817         * buffer.h:
17818         * buffer.C: new function getLatexLogName()
17819
17820         * lyx_gui_misc.C:
17821         * lyx_gui.C:
17822         * lyxvc.C:
17823         * lyxvc.h:
17824         * lyxfunc.C: use frontends for LaTeX and VC logs
17825
17826 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17827
17828         * LaTeX.h: yet another std:: that Allan forgot.
17829
17830         * Variables.C (set): renamed from isset(), because this clashes
17831         with some HP-UX macros (grr).
17832
17833 2001-02-06  Allan Rae  <rae@lyx.org>
17834
17835         * LaTeX.h: Another bug fix.  Missing std:: this time.
17836
17837 2001-02-04  Allan Rae  <rae@lyx.org>
17838
17839         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17840         floats problem. I've left it commented out because it's not quite
17841         correct.  It should also test that the current object is a table or
17842         figure inset.  But I haven't gotten around to figuring out how to do
17843         that.  I *think* it'll be something like: "table" == inset.type()
17844
17845         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17846         bool.
17847
17848 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17849
17850         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17851         all the citation/databases/styles in the auxilary file.
17852         (run): Rerun latex if there was a babel language error.
17853
17854 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17855
17856         * text.C (Backspace): Preserve the font when changing newline char
17857         with a space.
17858         (BreakParagraph): If the cursor is before a space, delete the space.
17859
17860         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17861
17862 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17863
17864         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17865         new argument (code).
17866         (ChangeCitationsIfUnique): New method.
17867
17868         * paragraph.C (GetPositionOfInset): Handle bibkey.
17869
17870 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17871
17872         * BufferView_pimpl.h: change type of Position::par_pos to
17873         LyXParagraph::size_type.
17874
17875 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17876
17877         * BufferView_pimpl.C (savePosition, restorePosition): Write
17878         messages to minibuffer.
17879
17880 2001-01-28  José Matos  <jamatos@fep.up.pt>
17881
17882         * buffer.C (makeDocBookFile): adds support for document language.
17883         A silly restriction on the name of LatexCommand types where removed.
17884         Added support for CDATA sections, allows to chars unescaped, used
17885         among others in code, to avoid escape < and >.
17886
17887 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17888
17889         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17890         saved positions instrad of a stack. Furthermore, a position is
17891         stored using paragraph id/paragraph position.
17892
17893         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17894         Remove LFUN_REF_BACK.
17895
17896 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17897
17898         * converter.C (dvipdfm_options): New method.
17899
17900 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17901
17902         * vspace.C (isValidLength): Fix for empty input string.
17903
17904 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17905
17906         * LyXAction.C (init): change description of LFUN_FIGURE to
17907         "Insert Graphics"
17908
17909 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17910
17911         * LaTeX.C: add using directive
17912
17913 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17914
17915         * MenuBackend.C (expand): Fix the sorting of the formats.
17916
17917 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17918
17919         * lyx_main.C: tiny error message fix
17920
17921 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17922
17923         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17924         calling fl_initialize(). This fixes the problem with ',' as
17925         decimal separator in text files.
17926
17927 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17928
17929         * trans.C (process): Fix the keymap bug.
17930
17931 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17932
17933         * LaTeX.C (scanAuxFiles): New method. Provides support for
17934         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17935         (scanLogFile) Scan for "run BibTeX" messages.
17936
17937         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17938         OT1 font encoding. Also, load the aecompl package if the ae
17939         package is loaded.
17940
17941         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17942
17943 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17944
17945         * texrow.C (increasePos): turn two error messages into debug
17946         messages.
17947
17948 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17949
17950         * LaTeX.C (scanAux): Handle the \@input macro.
17951         (runBibTeX): Use scanAux().
17952
17953         * language.C (latex_options_): New field.
17954
17955         * LaTeXFeatures.C (getMacros): Add language macros.
17956
17957         * buffer.C (makeLaTeXFile): Small fix.
17958
17959 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17960
17961         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17962
17963         * text2.C: add a using directive.
17964
17965 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17966
17967         * BufferView2.C:
17968         * lyx_gui_misc.h:
17969         * lyxfr1.C:
17970         * lyxfunc.C: kill LyXBell.
17971
17972 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17973
17974         * text.C (IsBoundary): Remove the error message
17975
17976         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17977
17978         * lyxrc.C (setDefaults): Correct initialization value for
17979         font_norm_type.
17980
17981 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17982
17983         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17984         gotoError().
17985
17986         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17987         and GotoNextNote().
17988
17989         * src/LyXAction.C: Added reference-next.
17990
17991         * text.C (InsertChar): Use contains instead of strchr.
17992
17993         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17994
17995 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17996
17997         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17998         alignment commands (when needed).
17999
18000         * text.C (InsertChar): Add ':' to number separator chars.