]> git.lyx.org Git - features.git/blob - src/ChangeLog
fix bug 2096: LyX file inserting is broken
[features.git] / src / ChangeLog
1 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         Fix bug 2096.
4         
5         * BufferView_pimpl.C (getStatus): it is only possible to insert a
6         file in a text inset.
7
8         * buffer.C (readDocument): remove pit argument and code releated
9         to it; set the inset owner correctly (unrelated, but useful).
10         (readFile): get rid of pit argument.
11
12         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
13         textclass instead of a selection index.
14         (pasteParagraphList): new function.
15         (pasteSelection): make it a wrapper around pasteParagraphList.
16
17         * BufferView_pimpl.C (MenuInsertLyXFile): use
18         cap::pasteParagraphList to insert a file.
19
20 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
21
22         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
23
24 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
25
26         * exporter.C: fix typo in text message
27
28 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
29
30         * text2.C (setLayout): move recUndo call to other setLayout method
31         * tabular.C (toggleFixedWidth): new, handle cell width changes
32         * tabular.C (setColumnPWidth): move some code from insettabular.C here
33         and use toggleFixedWidth
34         * tabular.C (setMColumnPWidth): ditto
35
36 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
37
38         * paragraph.C (asString): use new inset->textString method (fix
39         bug 2089) 
40
41 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
42
43         * CutAndPaste.C (numberOfSelections): new helper function.
44
45         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
46
47         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
48         LyXFunc::getStatus; implement LFUN_PASTE.
49
50 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
51
52         * dociterator.[Ch]: new member realInset() that returns the cell
53         for tabulars and the inset for the rest (bug 1952).
54         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
55         (bug 1952).
56
57 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
60
61 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
62
63         * lyxfunc.C:
64         * paragraph.C:
65         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
66         argument.
67
68 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
69
70         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
71         line after typing ctrl-enter
72
73 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
74
75         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
76         math insets do not return a proper editable() state yet (bug 2124).
77
78 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
79
80         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
81         docs containing very large paragraphs.
82
83 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
84
85         * cursor.C (selectionBegin, selectionEnd):
86         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
87         cursor at different depths.
88
89 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
90
91         * bufferview_funcs.C (coordOffset): do not call cursorPos
92         for collapsed collapsables (fix bug 2094).
93
94 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * paragraph.C (fontSpan): make sure that the FontSpan does not
97         span across beginOfBody (bug 1947).
98
99 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
102
103 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
104
105         * messages.C: fix crash and localization on MinGW/Windows platform
106
107 2005-11-02  Angus Leeming  <leeming@lyx.org>
108
109         * Bidi.C:
110         * lyxtextclass.C: trivial fixes to some MSVS warnings.
111
112 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * text3.C (getStatus): re-enable disabled code. (bug 2081)
115
116         * BranchList.h (empty): constify.
117
118 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * text3.C (getStatus): 
121         * MenuBackend.C (expandBranches): take the branch list from the
122         master document (bug 2092).
123         
124         * MenuBackend.C (expandBranches): 
125         * bufferparams.C (writeFile): use BranchList type.
126
127 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
128
129         * text3.C (dispatch, getStatus): 
130         * LyXAction.C (init): 
131         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
132
133 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
136
137 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * text.C (insertChar): do not reset boundary (bug 2061)
140
141 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * dociterator.C (updateInsets): new method. Updates the inset_
144         cache of all the slices of the iterator.
145
146         * text2.C (deleteEmptyParagraphMechanism): compare also containing
147         insets when comparing pit/pos; pass the right cursor to
148         recordUndo; when a paragraph has been deleted, compare `old.top()' to
149         the right cursor slice of `cur'; use updateInsets on cur to make
150         sure that the inset caches are correct; general cleanup.
151
152 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
155         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
156         containg inset. If this does not work, the same command will be
157         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
158
159         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
160         a dispatch.
161
162 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
163
164         * lyxtextclass.C (Read): convert layout file if the format is wrong
165         * lyxtextclass.C (layout2layout): new, needed for the above
166
167 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * messages.C: do not forget to include <cerrno>.
170
171 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
172
173         * dociterator.h (StableDocIterator): add access to pos().
174         * undo.C (samePar): new method to check if two
175         iterators are in the same paragraph
176         * undo.C (recordUndo): check for samePar instead of cell identity
177         (which includes pos() and is too strict) (fixes bug 2097)
178
179 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * text.C (setCursorFromCoordinates): return a bool telling whether
182         dEPM triggered.
183
184         * text3.C (cursorPrevious): update if needed after
185         setCursorFromCoordinates (when dEPM triggered).
186
187         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
188         (otherwise the anchor may be completely wrong and make dEPM assert).
189
190 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
191
192         * buffer.C: version upgrade to 245.
193         * bufferparams.C: remove \quotes_times (bug 2090).
194         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
195         quotation marks as default.
196
197 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
198
199         * CutAndPaste.C (nrOfParagraphs): remove (unused)
200         * CutAndPaste.C (cutSelection): Remove debug message
201         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
202         undo information and only copy if this is a real cut
203         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
204         call
205         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
206         (bug 2059)
207         * CutAndPaste.C (eraseSelection): prevent cursor corruption
208         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
209         superflous cur.selection() setting
210         * CutAndPaste.[Ch] (grabSelection): take a const cursor
211         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
212
213 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
214
215         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
216         change anything.
217
218 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * BufferView_pimpl.C: comment layout change
221
222 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
223
224         * LyXAction.C:
225         * lfuns.h:
226         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
227         by bibliography managers (bug 2071).
228
229 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
230
231         * BufferView_pimpl.C (update): choose arguments to update call so
232         that single-par update works most times
233         * text3.C (dispatch): carefully tune updating separately for
234         whole-screen and current-paragraph
235         * rowpainter.C (paintText): 1) replace painting by caching for
236         the two extra paragraphs, because we can;
237         2) suppress greying out of areas below/above drawn area in case of
238         single-par refresh
239         * lyxfunc.C (dispatch): remove superfluous update
240         * LyXAction.[Ch]: introduce SingleParUpdate
241
242 2005-10-05  Angus Leeming  <leeming@lyx.org>
243
244         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
245         always initialised before use.
246
247         * text.C (setHeightOfRow): squash warning about comparison
248         of signed and unsigned types.
249
250 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * text.C (cursorX): two fixes involving RtL text drawing
253
254 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
257         items, not only large ones (part of bug 2057)
258
259 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
260
261         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
262         argument, use "newcommand".
263
264 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
265
266         * cursor.C (setSelection): do not open collapsable insets;
267         the insets do by themselves now (autoopen).
268
269 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
270
271         * buffer.C: format is up to 244.
272
273 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
274
275         * text.C (redoParagraph): fix calcultation of inset width wrt 
276         leftMargin (bug 1957).
277
278         * text3.C (dispatch): leave inset to the right when hitting ESC 
279         (bug 2034).
280
281 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
282
283         * text2.C: 
284         * text.C: 
285         * factory.C:
286         * messages.C: include <boost/current_function.hpp> 
287
288 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
289
290         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
291         when command is internal. (bug 1941)
292
293 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * text2.C (cursorRight): do not honor boundary when at the end of
296         a paragraph. (bug 2010 again)
297
298 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
301
302 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
303
304         * rowpainter.C (paintText): fix RtL space width display bug (2029)
305
306 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * text2.C (setCursor): remove the unused 'boundary' parameter for
309         the CursorSlice version; adapt the LCursor version.
310
311         * lyxrc.C (write): 
312         * paragraph_pimpl.C (markErased): 
313         * cursor.C (bruteFind2, bruteFond3): fix warnings.
314
315 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
316
317         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
318         as is already done for "chapter".
319
320 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
321
322         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
323         textclass; do not record undo if nothing is changed.
324
325 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
326
327         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
328
329 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
330
331         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
332
333 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
334
335         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
336         combox, it is necessary to search for the topmost paragraph in the
337         cursor stack (bug 1926)
338
339 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
340
341         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
342         end of paragraph. (bug 2010)
343
344 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
345
346         * text.C (leftMargin): check for inInset == 0
347
348 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
349
350         * text.C (leftMargin): test for insetbase's new neverIndent()
351         bool instead of listing each and every inset that does not
352         wish par indendation.
353
354 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         * buffer_funcs.C (setCounter): put the code to compute enum label
357         here (where it belongs).
358
359         * counters.C (enumLabel): move code to buffer_funcs.C.
360
361 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
362
363         * outputparams.[Ch]: store local_font instead of local_language
364         * paragraph.C (simpleTeXOnePar): adapt to the change above
365
366 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
367
368         * buffer_funcs.C:
369         * counters.[Ch]: clean up special code for Hebrew.
370
371 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
374         than 2.
375
376 2005-09-08  Angus Leeming  <leeming@lyx.org>
377
378         * ispell.C:
379         * lyxrc.C: correct grammar describing invocation of the
380         spellchecker.
381
382 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * text.C (read): remove unused variable.
385         (readParToken): remove static Change variable (never good in
386         recursive settings...); add it as a parameter instead.
387
388         * paragraph_pimpl.C (acceptChange): make debug info conditional.
389
390         * metricsinfo.C (PainterInfo): add new member erased_.
391
392         * rowpainter.C (RowPainter): add erased_ member, initialized from
393         PainterInfo. 
394         (paintInset): pass erased_ to Inset::draw.
395
396         * lyxfunc.C (lookupChange): new function. Tells whether change 
397         tracking is disabled at a given postion.
398         (getStatus): disable some actions when in deleted text with change
399         tracking. 
400
401 2005-08-03  John Levon  <levon@movementarian.org>
402         
403         * tabular.C (appendColumn, setMultiColumn): adapt to change to
404         InsetText::clear().
405
406         * paragraph_pimpl.C (markErased): add bool argument and handle it.
407         Also make sure to mark insets recursively.
408         (rejectChange, erase): be recursive
409
410         * paragraph.C (markErased): add bool argument.
411 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
412
413         * lyxfind.C (findNextChange): tiny cleanup.
414
415         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
416         change tracking with the cursor in an inset; make sure the first
417         change is not skipped.
418
419 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
420
421         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
422         tabularStackDirty to work around bug 1919 (tabular needs
423         to know whether its own cell paste buffer or the one of 
424         texted is newer.
425         * CutAndPaste.C: mark tabular_stack_ clean after copy.
426
427 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
428
429         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
430
431 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
432
433         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
434         use old deleteion algorithm when changetracking is on.
435
436 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
437
438         * messages.C (get): add debug output.
439
440 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
441
442         * text.C (cursorX): fix bug 1965: cursor movement at
443         line end broken in RtL.
444         (drawSelection): fix bug 1970: drawing of single-line 
445         selection broken for RtL.
446
447 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         bug 465.
450
451         * dociterator.h (clear, push_back, pop_back): change from
452         protected to public.
453
454         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
455         and changed to just return the value of the item depth; take a
456         ParIterator as argument; take the itemdepth at outer nesting level
457         in account if necessary; cleanup and comment the code.
458         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
459         and changed to just return true if reset is needed; take a
460         ParIterator as argument; cleanup and comment the code.
461         (setCounter): adapt to above changes.
462
463 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * text3.C (dispatch): make debug message optional
466
467 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
468
469         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
470         inset. (bug 1963)
471
472 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
473
474         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
475
476 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
477
478         * text.C (insertChar):
479         * text2.C (deleteEmptyParagraphMechanism): take care whether 
480         a blank has been deleted (in change tracking mode) (bug 1254).
481
482 2005-07-20  John Levon  <levon@movementarian.org>
483
484         * text2.C (insertStringAsLines): remove old dubious code,
485         fixing bug 1939.
486
487 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * MenuBackend.C (expandToc): use Floating::listName() as title of
490         the floats submenus.
491
492 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
493
494         * toc.[Ch]: Do not use translatable strings (bug 1870).
495
496 2005-07-20  John Levon  <levon@movementarian.org>
497
498         * tabular.C: fix 1748 - setting multicolumn adds
499           left line to the first cell
500
501 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
502
503         bug 1920
504         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
505         pars in one go.
506
507 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
508
509         * messages.C: supress some lyxerr messages
510
511 2005-07-18  Juergen Vigna  <jug@lyx.org>
512
513         * text.C (drawSelection): honor boundary when asking for cursorX.
514
515 2005-07-17  José Matos  <jamatos@fc.up.pt>
516
517         * tabular.C (recalculateMulticolumns): fix handling of one column
518         tables.
519
520 2005-07-17  Juergen Vigna  <jug@lyx.org>
521
522         * text.C (Delete, backspace): fixed so that paragraph with the
523         same layout can be merged by Delete/Backspace.
524
525 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
526
527         * text.C (readParToken): fix spelling.
528
529 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
530
531         * text2.C: fix counter update for DEPM problem reported by
532         Georg Baum
533
534 2005-07-17  Juergen Vigna  <jug@lyx.org>
535
536         * BufferView_pimpl.C (setBuffer): save/restore the
537         cursor/selection when switching buffers
538
539         * buffer.h: 
540         * buffer.C (saveCursor): add saveDocumentIterators to save the
541         cursor when switching buffer.
542
543 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
544
545         * debug.C: fix typo
546         * buffer.C: clarify message
547         
548 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
549
550         * dociterator.C (DocIterator): fix initialization order
551
552 2005-07-17  Juergen Vigna  <jug@lyx.org>
553
554         * text2.C (cursorHome): 
555         * text.C (drawSelection, cursorX): 
556         * dociterator.C (textRow): add boundary to getRow() call
557
558         * paragraph.C (getRow): implementation of below
559
560         * paragraph.h: add parameter boundary for getRow() function
561
562 2005-07-17  José Matos  <jamatos@fc.up.pt>
563
564         * buffer.C:
565         * bufferparams.[Ch]:
566         * tex-strings.[Ch]: new file format, remove support for a4.sty,
567         a4wide.sty and a4widemargins.
568
569 2005-07-17  Juergen Vigna  <jug@lyx.org>
570
571         * text2.C (cursorLeft): fix one of error
572
573 2005-07-17  Juergen Vigna  <jug@lyx.org>
574
575         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
576                    cursorEnd):
577         more fixes for boundary handling
578
579         * text3.C (dispatch): don't reset cursor if boundary has changed
580         on cursor movement.
581
582 2005-07-16  Juergen Vigna  <jug@lyx.org>
583
584         * text2.C (getColumnNearX): hopefully got it right now,
585         check if we are on column 0 for special case.
586
587 2005-07-16  Juergen Vigna  <jug@lyx.org>
588
589         * text2.C (getColumnNearX): handle special case Newline Inset
590
591         * text.C (singleWidth): Just remove bogus check
592
593 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
594
595         * funcrequest.C (split): avoid reading uninitialized char c
596
597 2005-07-16  José Matos  <jamatos@fc.up.pt>
598
599         * buffer.C:
600         * converter.C:
601         * lyxrc.C:
602         * paper.h:
603         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
604         single papersize variable.
605
606 2005-07-16  Juergen Vigna  <jug@lyx.org>
607
608         * text3.C (dispatch): honor boundary when checking if a cursor
609         movement has been done
610
611         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
612         (setCursor, setCursorIntern): fix cursor movement with boundary
613
614 2005-07-16  Juergen Vigna  <jug@lyx.org>
615
616         * text.C (currentState): output the actual Boundary
617
618 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
619
620         * factory.C (createInset): fix bad logic for tabular creation
621
622 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
623
624         * lyx_main.C (init): change some reLyX reference to tex2lyx
625
626 2005-07-16  Juergen Vigna  <jug@lyx.org>
627
628         * dociterator.C (DocIterator): initialize boundary
629
630 2005-07-16  Juergen Vigna  <jug@lyx.org>
631
632         * text2.C (getColumnNearX): Consider rows without trailing blank.  
633
634 2005-07-16  André Pönitz  <poenitz@gmx.net>
635
636         * lyxfont.h: Change order of declarations to give the compiler
637         a better chance to inline things
638
639         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
640         questions on unsaved docs for better scritability
641
642 2005-07-16  André Pönitz  <poenitz@gmx.net>
643
644         * paragraph.h (getChar): remove asserts as the same kind of security
645         can be achieved by using a suitable standard library implementation
646         and the function was in the critical path (25.9% in profiler)
647
648 2005-07-16  Juergen Vigna  <jug@lyx.org>
649
650         * cursor.C (bruteFind2):
651         * bufferview_funcs.C (coordOffset): 
652         * text.C (cursorX,cursorY): Handle cursor position after last char
653         in row before a inset which uses a whole row.
654
655 2005-07-15  José Matos <jamatos@lyx.org>
656
657         * output_plaintext.[Ch] (writeFileAscii): control reference title
658         printing.
659         (asciiParagraph): noparbreak was already deal and was incorrectly
660         used.
661
662 2005-07-15  Juergen Vigna <jug@lyx.org>
663
664         * lyxfunc.C (dispatch): save and restore the cursor after a
665         textclass switch.
666
667 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
668
669         * text.C (backspace): bug 806 for empty keepempty paragraphs we
670         change the layout to default before letting DEPM do its thing.
671
672         * paragraph_funcs.C (breakParagraph): dont reset the layout on
673         keepEmpty paragraphs
674
675         * text.C (setCursorFromCoordinates): add a debug statement
676
677         * text2.C (getColumnNearX): bug 1825 make sure that we don't
678         return a pos that is not on the row
679
680         * output_latex.C (TeXDeeper): get rid of potential dereferencing
681         of past the end iterator
682
683 2005-07-14  André Pönitz  <poenitz@gmx.net>
684
685         * undo.C (recordUndoFullBuffer): implement undo for
686         textclass switches
687
688 2005-07-14  André Pönitz  <poenitz@gmx.net>
689
690         * cursor.C (setSelection): open insets when selection is set there
691         to avoid crashs with cold coord cache
692
693 2005-07-14  André Pönitz  <poenitz@gmx.net>
694
695         * trans_mgr.C (insert): move cursor to the right after inserting
696         a char.
697
698 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
699
700         * BufferView_pimpl.C (update): dampen some of the debug blabbering
701         * factory.C (readInset): ditto
702         * text.C, text2.C: ditto
703
704 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
705
706         * buffer.C: format incremented to 242. There is no file format per
707         se, but the "frenchb" language has been removed from lib/language
708         and has to be translated to "french" by lyx2lyx.
709
710 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
711
712         * cursor_slice.h, dociterator.h: add some documentation
713         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
714
715 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
716
717         * text.C (leftMargin): do not add identation to display() style
718         insets, because they are always centered (bug 1293).
719
720 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
721
722         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
723         formatted_time methods in support/lyxtime.
724
725 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
726
727         * toc.[Ch]: new method getGuiName, which is used by the frontends 
728         to set the toc combo (fixes bug 1870). Make TOC string translatable.
729
730 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
731
732         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
733         StableDocIterator const &)
734         * undo.C (recordUndo): use the above instead of cell.size() comparison
735         (fixes bug 1808; instructed by Andr�.
736
737 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
738
739         * cursor_slice.h: 
740         * dociterator.h: Fix the assert when copying rows/cols in math
741
742 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
743
744         * BufferView_pimpl.C:
745         * LyXAction.C:
746         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
747
748         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
749         (findInset): new functions, refactored from goto Inset that return 
750         the position of a certain inset without setting the buffer's cursor
751         (by Jean-Marc); 
752         (gotoInset): rewrite to call findInset and then set the cursor
753         (by Jean-Marc).
754
755 2005-06-16  Angus Leeming  <leeming@lyx.org>
756
757         * lyxrc.C (output, read): wrap all input and output of paths with
758         calls to os::internal_path and os::external_path, respectively.
759         (output): wrap bind_file inside quotes.
760
761         * format.C (view): enable the viewer to use the '$$s' placeholder.
762
763 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
764
765         * LColor.[Ch] (getFromLaTeXName): new
766
767 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
768
769         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
770
771 2005-06-14  Angus Leeming  <leeming@lyx.org>
772
773         * lyx_main.C (init): ensure that the LyX binary dir is the first
774         element in the PATH on non-POSIX builds.
775
776 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
777
778         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
779
780 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * rowpainter.C (paintInset, paintHebrewComposeChar)
783         (paintArabicComposeChar, paintChars): add a LyXFont argument.
784         (paintChars): use getFontSpan to reduce calls to getFont to a
785         minimum; use Paragraph::lookupChange instead of isXXXText.
786         (paintForeignMark): rename LyXFont argument.
787         (paintFromPos): pass a LyXFont object to the various paintXXX
788         methods.
789
790         * FontIterator.C (FontIterator, operator++): use
791         Paragraph::getFontSpan
792
793         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
794         version that returns the font span as a pair.
795
796 2005-06-09  Angus Leeming  <leeming@lyx.org>
797
798         * converter.C (convert): Don't forget "outfile = real_outfile" as
799         the final step in a conversion where the input and output file names
800         are the same. Otherwise, future conversion steps won't work...
801
802 2005-06-09  Angus Leeming  <leeming@lyx.org>
803
804         * lyxsocket.C: remove stub code as it isn't needed by
805         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
806
807 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
808
809         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
810         effectively disabled -x
811
812 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
813
814         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
815         when it actually makes sense.
816
817 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
818
819         * BufferView_pimpl.C: revert to showCursor in connection with
820         Lars's front-end stack
821
822 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
823
824         * text.C (redoParagraph): move cursor right after a bibitem
825         has been inserted.
826
827         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
828
829 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
830
831         * buffer_funcs.C (bufferErrors): fix computation of the end of an
832         error range.
833
834 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
835
836         * BufferView.[Ch] (update):
837         * BufferView_pimpl.[Ch] (update, metrics):
838         * dimension.h (operator==):
839         * lyxfunc.C (dispatch):
840         * metricsinfo.h (ViewMetricsInfo):
841         * rowpainter.C (paintText):
842         * lyxtext.h:
843         * text.C (redoParagraph):
844         * text3.C (dispatch): Make LyX only repaint current paragraph in
845         case of character insert --> speedup. Also fix cursor draw
846         artifacts
847
848 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
849
850         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
851         avoid a crash (bug 1891)
852
853 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         Fix bug 1892:
856
857         * text2.C (getStringToIndex): constify cur argument.
858
859         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
860         argument has been given
861         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
862         try to invoke LFUN_INSET_APPLY).
863
864         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
865         if no inset was created by doInsertInset
866         (doInsertInset): return true if an inset has been inserted.
867
868 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869
870         * vspace.C (asGUIName): new method. A version of the space
871         suitable for showing on screen.
872
873 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
874
875         * MenuBackend.C:
876         * lyxrc.C: rename "ASCII" to "Plain Text"
877
878 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
879
880         * buffer_funcs.C (expandLabel): take a Buffer as argument;
881         translate the labelstring.
882         (setCounter): translate labelstring as needed.
883
884         * output_docbook.C (makeCommand): fix expandLabel invokation
885
886 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
887
888         * BufferView.C: fix dialog title
889
890 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
891
892         * lyx_main.C (priv_exec): fix logic error with help from Angus
893         * lyx_main.C (parse_execute): set is_gui = false and remove now
894         obsolete comment about a segfault
895
896 2005-05-18  Angus Leeming  <leeming@lyx.org>
897
898         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
899
900 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
901
902         * tabular.[hC]: added setCellInset to fix tabular paste.
903
904 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
905
906         * buffer.C (save): check if destination is writable before trying
907         to copy a file
908
909 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
910
911         * BufferView_pimpl.C (update): fix processEvents -caused update
912         recursion bug
913
914 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
915
916         * buffer_funcs.C (setCounter): fix test for numbering of
917         environments.
918
919         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
920         depth correctly; use optional argument when it exists
921
922         * lyxtextclass.C: remove unused MaxCounterTags enum
923         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
924         (max_toclevel, min_toclevel): new methods.
925
926         * MenuBackend.C (expandToc2): fix case where depth is smaller than
927         the smallest depth in toc.
928
929         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
930         layouts that should not appear in a table of contents.
931
932 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
933
934         * cursor.h (undispatched, noUpdate): add comments from Andr�
935 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
936
937         * lfuns.h:
938         * LyXAction.C:
939         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
940
941 2005-05-07  André Pönitz  <poenitz@gmx.net>
942
943         * cursor.[Ch] (leaveInset): new function
944
945 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
946
947         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
948
949 2005-05-04  Angus Leeming  <leeming@lyx.org>
950
951         * lyxfunc.C (getStatus): disable the spell checker dialog if
952         none of USE_[AIP]SPELL are defined.
953
954 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
955
956         * tabular.C (setWidthOfCell): remove obsolete comment
957
958 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
959
960         * paragraph.C (bibitem):
961         * buffer_funcs.C (setCounter):
962         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
963
964 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
965
966         * text3.C (getStatus): immediately return after setOnOff
967
968         * rowpainter.C: fix drawing of appendix start
969
970 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
971
972         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
973         SwitchBetweenClasses and remove the unused return value.
974         Handle character styles, too
975
976 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
977
978         * factory.C (createInset): handle undefined character styles
979
980 2005-05-02  Angus Leeming  <leeming@lyx.org>
981
982         * buffer.C: protect the #include of utime.h with a preprocessor
983         guard.
984
985 2005-05-02  Angus Leeming  <leeming@lyx.org>
986
987         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
988         function so that auto-saving works, albeit in a blocking manner.
989
990         * Makefile.am: make compilation of the client sub directory, of
991         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
992         on conditionals set at configure time.
993
994         * SpellBase.[Ch]: no longer an abstract base class. Instead,
995         it can be compiled in its own right but has no-op functionality.
996
997         * aspell.C, pspell.C: remove preprocessor guards. The files should
998         be compiled only if the necessary functionality exists.
999
1000         * lyxserver.C, lyxsocket.C: disable on Windows.
1001
1002 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1003
1004         * text.C (leftMargin): Fix the parindent use bug (1764)
1005         by dirty trick
1006
1007 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1008
1009         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1010         argument.
1011
1012 2005-04-25  Angus Leeming  <leeming@lyx.org>
1013
1014         * Bidi.[Ch]:
1015         * coordcache.[Ch]:
1016         * ispell.C:
1017         * lyxserver.C:
1018         * mover.C:
1019         * pch.h:
1020         include <config.h> in .C files, not .h ones.
1021         add licence blurb.
1022         protect headers inside preprocessor guards.
1023
1024 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1025
1026         * FuncStatus.h (StatusCodes): document
1027
1028 2005-04-21  André Pönitz  <poenitz@gmx.net>
1029
1030         * FuncStatus.h (enabled, onoff): document
1031
1032 2005-04-19  Angus Leeming  <leeming@lyx.org>
1033
1034         * BufferView_pimpl.C (cursorToggle): no longer test whether
1035         any child processes have been reaped before calling
1036         handleCompletedProcesses().
1037
1038 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1039
1040         * text3.C (dispatch): fix, finally fix, the language problem in
1041         new lyxtexts, without disabling on-the-fly font changes (Helge's
1042         bug report)
1043
1044 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1045
1046         * text3.C (dispatch): set cursor on double/triple click events
1047         (bug 1811)
1048
1049 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1052         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1053
1054         * rowpainter.C (paintFirst): simplify the code a little bit. In
1055         particular, remove the test for secnumdepth.
1056         * text.C (setHeightOfRow): only allocate space for chapter number
1057         when updateCounters provided an actual label, instead of looking
1058         at secnumdepth directly.
1059
1060         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1061
1062         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1063         paragraphs when secnumdepth is large enough or, for environments,
1064         when they are not the first in a sequence.
1065
1066 2005-04-17  Angus Leeming  <leeming@lyx.org>
1067
1068         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1069         containing space and '~' characters with a call to latex_path().
1070
1071 2005-04-17  Angus Leeming  <leeming@lyx.org>
1072
1073         * converter.C (convert): protect all args of convertDefault.sh
1074         script with quotes.
1075
1076 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1077
1078         * text3.C (dispatch): change the layout to "Caption" after inserting
1079         a float.
1080
1081 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1082
1083         * text3.C (dispatch): fix language problem in newly created
1084         textinsets (and main text) in non-english docs
1085
1086 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1087
1088         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1089         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1090         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1091
1092 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1093
1094         * lyxtext.h:
1095         * text.C (metrics):
1096         * text2.C (getFont):
1097         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1098         fonts fix
1099
1100 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1101
1102         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1103         output of \item arguments without trailing text.
1104
1105 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1106
1107         * FontIterator.C (operator*): avoid a copy of the font.
1108
1109 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1110
1111         * rowpainter.C (getFont): fix language bug from previous fix
1112
1113 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * rowpainter.C (RowPainter, getFont): fix font inside inset
1116         (bugs 1766, 1809)
1117
1118 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1119
1120         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1121         preventing inserted font, deco, delim insets jumping to start of
1122         surrounding inset.
1123
1124 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1125
1126         * lyxfunc.C (dispatch): translate message before sending it to the
1127         minibuffer.
1128
1129 2005-03-29  Angus Leeming  <leeming@lyx.org>
1130
1131         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1132         to LyX on the command line.
1133
1134 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1135
1136         * vc-backend.C: use QuoteName to protect file names wherever
1137         necessary.
1138
1139 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * buffer.[Ch]:
1142         * BranchList.h: fix bugs 1844,1845: document settings don't
1143         stick
1144
1145 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1146
1147         * lyxrc.C (setDefaults, read, output, getDescription): add support
1148         for tex_allows_spaces.
1149
1150         * exporter.C (Export): allows files in directory containing spaces
1151         if tex_allows_spaces is true.
1152
1153         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1154         output it in double quotes.
1155
1156 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1157
1158         * rowpainter.C: use default text height for drawing change tracker
1159         strikeout lines.
1160
1161 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1162
1163         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1164
1165 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1166
1167         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1168         directory is missing.
1169
1170 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1171
1172         * text2.C: fixed the fix, extended to other case.
1173
1174 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1175
1176         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1177
1178 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1179
1180         * text2.C (cursorUp): get rid of a crash
1181         * text.C (x2pos): add an assert
1182
1183 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1184
1185         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1186
1187         * text3.C:
1188         * lyxfunc.C:
1189         * dociterator.C: include <boost/current_function.hpp>, which is
1190         needed when assertions are disabled.
1191
1192 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1193
1194         * text2.C: fix for stuck cursor when traversing two
1195         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1196
1197 2005-02-25  Andreas Vox  <avox@arcor.de>
1198
1199         * output_docbook.C (makeParagraph): suppress trailing newline
1200         after a run of paragraphs
1201
1202 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1203
1204         * paragraph.C: fix for confused change tracker when pasting
1205         text that begins with a lineseparator. [bug 1827]
1206         (setChange(0, Change::INSERTED);)
1207
1208         * paragraph_funcs.C: fix for lost changes on triple-paste
1209         in change tracking mode [bug 1827] (par.setChange()).
1210
1211 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1212
1213         * text2.C (updateCounters, setCounter, expandLabel): move to
1214         buffer_funcs.
1215
1216         * buffer_funcs.C (updateCounters): turn into a free standing
1217         function and add a buffer parameter. Remove dead code for tracking
1218         labelstring change.
1219         (setCounter): change into a free-standing function which gets a
1220         dociterator as argument. Use this iterator to fix captions in a
1221         simple way. When no float is found above the caption, use the
1222         labelstring of the caption layout as default.
1223
1224         * text.C (breakParagraph, backspace):
1225         * text2.C (init, setLayout, changeDepth):
1226         * text3.C (dispatch):
1227         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1228         updateCounters.
1229
1230         * dociterator.C (forwardPar): make it much faster by calling
1231         forwardPos() only when really necessary.
1232
1233         * output_docbook.C (makeCommand): adapt to expandLabel move.
1234
1235         * cursor.C: remove unused variable
1236
1237 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1238
1239         * paragraph_funcs.C: fix crash when pasting insets in change
1240         tracking mode [bug 1277] (honour change type in moveItem).
1241
1242 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1243
1244         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1245
1246 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1247
1248         * BufferView.C (setCursor): change to use a DocIterator.
1249         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1250         (putSelectionAt): adapt to BufferView::setCursor change.
1251
1252         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1253         moved here from LyXText and rewritten to use proper cursor
1254         methods. Fixes bug 1787, 616 and 835.
1255
1256         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1257         when inside an inset (part of bug 781).
1258         (dispatch): adapt to change of BufferView::setCursor.
1259         (getStatus, dispatch): handle LFUN_GOTOERROR,
1260         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1261
1262         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1263         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1264         * text3.C (gotoNextInset, gotoInset): removed.
1265
1266 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1267
1268         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1269
1270 2005-02-15  Angus Leeming  <leeming@lyx.org>
1271
1272         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1273         can be used meaningfully in a comparison.
1274
1275 2005-02-13  André Pönitz  <poenitz@gmx.net>
1276
1277         * bufferview_funcs.C (coordOffset): improve cursor drawing
1278
1279 2005-02-13  André Pönitz  <poenitz@gmx.net>
1280
1281         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1282         * Cursor.C (dispatch): use fixIfBroken
1283         * lyxfunc.C (getStatus): use fixIfBroken
1284
1285 2005-02-15  Angus Leeming  <leeming@lyx.org>
1286
1287         * lyx_main.C (error_handler):
1288         * lyxfunc.C:
1289         * lyxrc.C (setDefaults):
1290         s/GetEnv/getEnv/.
1291         #include "environment.h".
1292
1293         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1294
1295 2005-02-15  Angus Leeming  <leeming@lyx.org>
1296
1297         * lyxserver.C (startPipe): squash MSVC warning "local variable
1298         'fd' used without having been initialized".
1299
1300 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1301
1302         * BufferView_pimpl.C: revert accidental commit.
1303
1304 2005-02-14  André Pönitz  <poenitz@gmx.net>
1305
1306         * dociterator.[Ch]: new member forwardPosNoDescent(),
1307         which doesn't enter nested insets.
1308         * text2.C (setFont): use forwardPosNoDescent() instead
1309         of ForwardPos() (fixes crash on font change).
1310
1311 2005-02-13  Angus Leeming  <leeming@lyx.org>
1312
1313         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1314         only if lyxrc.path_prefix is not empty.
1315
1316 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1317
1318         * bufferparams.C (readGraphicsDriver): prevent crash
1319
1320 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1321
1322         * text2.C (setCounter): check for inInset() == 0
1323
1324 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1325
1326         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1327         but use update() to get correct screen display; use convert
1328         instead of istringstream.
1329         (getStatus): handle LFUN_GOTO_PARAGRAPH
1330
1331         * lyxfunc.C (dispatch, getStatus): do not handle
1332         LFUN_GOTO_PARAGRAPH here.
1333
1334 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1335
1336         * text3.C (dispatch): size() -> depth()
1337
1338         * text2.C: remove some debug output
1339
1340         * paragraph.C: ws changes only
1341
1342         * lyxfunc.C (getStatus): size() -> depth()
1343
1344         * dociterator.h (clear, push_back, pop_back, internalData,
1345         operator[], resize, empty): new functions
1346         Make StableDocIterator and operator== be friends. Don't inherit
1347         from std::vector use a privat class variable slices_ instead.
1348         Modify to fit.
1349
1350         * dociterator.C: update because of not inheriting from std::vector
1351         anymore. Call explictly to slices_ instead. Use depth() instead of
1352         size() and top() instead of back()
1353
1354         * cursor.C: chagne size() -> depth and back() -> top(). Also
1355         remove some direct operator[](i) calls in favour of foo[i]
1356         (getFont): remove some dead code
1357
1358         * bufferview_funcs.C (coordOffset): size() -> depth()
1359
1360         * buffer.C: ws changes only
1361
1362         * CutAndPaste.C (eraseSelection): back() -> top()
1363
1364         * BufferView_pimpl.C (selectionRequested): back() -> top()
1365
1366         * BufferView.C (setCursor): size() -> depth()
1367
1368 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1369
1370         * text3.C (cursorPrevious): return true if depm changed something
1371         (cursorNext): ditto
1372         (dispatch): rename sl to oldTopSlice, remove moving use the new
1373         NoUpdate func attrib instead. Make sure that needsUpdate is set
1374         for function that have NoUpdate, but where depm might have changed
1375         the buffer anyway.
1376
1377         * text2.C (cursorLeft): make us return true if depm changed
1378         something
1379         (cursorRight): ditto
1380         (cursorUpParagraph): ditto
1381         (curosrDownParagraph): ditto
1382         (cursorUp, cursorDown): ditto, make sure to read comments in code
1383         (deleteEmptyParagraphMechanism): remove an assert, also return
1384         true if just a single char was deleted.
1385
1386         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1387         cursor that we modify, to avoid modifying an active cursor before
1388         we call setCursor. This allows depm to run. Also return true if
1389         depm deleted something.
1390
1391         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1392         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1393         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1394         something was changed in the buffer because of them (ie. depm run)
1395
1396         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1397         debug messages. Make update by default be false. Make sure that
1398         the result of update is retained throught several calls down to
1399         dispatch.
1400
1401         * LyXAction.h: add a new func_attrib: NoUpdate
1402
1403         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1404         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1405         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1406         and LFUN_WORDLEFT
1407         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1408
1409 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1410
1411         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1412         bv_->owner(), bv_->buffer() by direct references to the private
1413         members.
1414         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1415         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1416         (fitCursor): center() is in BufferView::Pimpl.
1417         (getStatus, trackChanges, dispatch): no need for a temporary buf
1418         variable
1419         (fitCursor, workAreaDispatch): use workarea().workheight()
1420
1421 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1422
1423         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1424
1425 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1426
1427         * buffer.C: format up to 241.
1428         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1429         break if pasting into ERT
1430         * lyxfunc.C (getStatus): suppress mathpanel and
1431         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1432
1433 2005-02-01  Angus Leeming  <leeming@lyx.org>
1434
1435         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1436
1437 2005-02-01  Angus Leeming  <leeming@lyx.org>
1438
1439         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1440         calling fs::is_directory().
1441
1442 2005-01-31  Angus Leeming  <leeming@lyx.org>
1443
1444         * lyx_main.C (priv_exec): specify explicitly the relative location
1445         of the top level build directory when run in-place.
1446
1447 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1450         LyXText containing the cursor, not the top-level one.
1451
1452         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1453         true.
1454         (insertStringAsLines): rename par to pit; use temporary variable
1455         par to hold a Paragraph; do not store par.layout() in a variable,
1456         since the pointer may die when breaking paragraphs; pass pars to
1457         breakParagraph() instead of Buffer::paragraphs().
1458
1459 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1460
1461         * lyxlex_pimpl.h: #include <fstream>.
1462
1463         * BufferView.[Ch] (getLyXText): add a const version.
1464
1465         * BufferView_pimpl.C: add debug aids.
1466
1467         * RowList_fwd.h:
1468         * buffer.h:
1469         * lyxrow.h:
1470         * paragraph_funcs.h: add commentary explaining what the class does.
1471
1472
1473         * coordcache.[Ch]: add lots of commentary.
1474         (startUpdating, doneUpdating): debug aids.
1475         (arrays, insets, parPos, getParPos): accessors to private data.
1476
1477         * cursor_slice.[Ch] (text): add a const version.
1478         * dociterator.[Ch] (text, innerText): add const versions.
1479
1480         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1481         bool.
1482
1483         * paragraph.C (getRow, pos2ros): add asserts.
1484
1485         * paragraph.h: add commentary. Lots of.
1486
1487         * paragraph.[Ch] (metrucs, draw): removed.
1488
1489         * cursor.C:
1490         * rowpainter.[Ch]: const-correct changes.
1491
1492         * text.C: various obvious clean-ups. Removal of ancient cruft.
1493         Bug fixes, even.
1494
1495 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1496
1497         * vc-backend.C (find_file): rewrite to use boost.filesystem
1498         (scanMaster): ditto
1499
1500         * main.C (main): set default name check for boost.filesystem to
1501         no check
1502
1503         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1504         (open): ditto
1505         (doImport): ditto
1506         (actOnUpdatedPrefs): ditto
1507
1508         * lyx_main.C (init): rewrite to use boost.filesystem
1509         (queryUserLyXDir): ditto
1510
1511         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1512         (getContentsOfAsciiFile): ditto
1513
1514         * lastfiles.C (readFile): rewrite to use boost.filesystem
1515
1516         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1517
1518         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1519         (loadLyXFile): ditto
1520
1521         * buffer.C (Buffer): adjust for destroydir
1522         (getLogName): rewrite to use boost.filesystem
1523         (setFileName): ditto
1524         (save): use fs::copy_file (from fs_extras)
1525
1526         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1527
1528         * LaTeX.C (run): rewrite to use boost.filesystem
1529         (scanAuxFiles): ditto
1530         (handleFoundFile): ditto
1531
1532 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1533
1534         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1535
1536         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1537
1538 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1539
1540         * lyxlayout.[Ch]: change some vars from float to double
1541
1542         * buffer.C (readFile): make a local var const
1543
1544         * Several files: use convert<> instead of atoi,strToXXX and friends
1545
1546 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1547
1548         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1549         holds the contents of packages.lst. New functions getAvailable
1550         and isAvailable to parse and check that list, resp.
1551
1552         * LyXAction.C:
1553         * lfuns.h:
1554         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1555
1556         * bufferparams.[Ch]: new param output_changes.
1557
1558         * Buffer.C: increase file format to 240.
1559         Use output_changes and isVailable.
1560
1561         * changes.[Ch]:
1562         * paragraph.C:
1563         * paragraph_pimpl.C: Use output_changes and isVailable.
1564
1565 2005-01-23  Angus Leeming  <leeming@lyx.org>
1566
1567         * output_latex.C: #include "insetbibitem.h", rather than
1568         forward declare function bibitemWidest.
1569
1570 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1571
1572         * lyx_main.C (init): make it compile on the Mac.
1573
1574 2005-01-20  Angus Leeming  <leeming@lyx.org>
1575
1576         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1577         (setLyXMisc): (char string literal) != (char string literal) is
1578         performing a comparison on the addresses. Convert one operand
1579         explicitly to string to guarantee expected behaviour.
1580         From MSVC warning.
1581
1582 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1583
1584         * buffer.C:
1585         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1586
1587         * output_plaintext.C: remove unneeded #include gzstream.h.
1588
1589 2005-01-20  Angus Leeming  <leeming@lyx.org>
1590
1591         * SpellBase.h: rename some of the elements of the Result enum.
1592
1593         * aspell_local.h:
1594         * ispell.h:
1595         * pspell.h:
1596         * aspell.C (check):
1597         * ispell.C (check):
1598         * pspell.C (check): ditto
1599
1600 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1601
1602         * buffer.C: add #include <fstream>.
1603
1604         * lyx_main.C (init): Compile fix.
1605
1606         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1607
1608 2005-01-20  Angus Leeming  <leeming@lyx.org>
1609
1610         * mover.h: change commentary to reflect the changed meaning of
1611         the $$s placeholder.
1612
1613 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1614
1615         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1616
1617         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1618
1619 2005-01-20  Angus Leeming  <leeming@lyx.org>
1620
1621         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1622         printing diagnostic data by not dereferecing an iterator past the
1623         end.
1624
1625 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1626
1627         * buffer.C (readHeader): use "&&" rather than "and".
1628
1629         * lyxserver.h (inPipeName, outPipeName): make these const.
1630
1631 2005-01-19  Angus Leeming  <leeming@lyx.org>
1632
1633         * lyx_main.C (error_handler, init): protect SIGHUP with
1634         #ifdef SIGHUP guards.
1635
1636 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1637
1638         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1639
1640 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1641
1642         * text.C (setHeightOfRow): add a margin at the top and bottom of
1643         the document (bug 1761)
1644
1645 2005-01-17  Angus Leeming  <leeming@lyx.org>
1646
1647         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1648         with "python ". Workaround for a brain-dead Windows.
1649
1650 2005-01-16  Angus Leeming  <leeming@lyx.org>
1651
1652         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1653         for MacOSX and Windows to use prependEnvPath.
1654         Strip out the hard-coded block to add elements to the PATH for
1655         MacOSX and replace it with a call to prependEnvPath using the
1656         contents of LyXRC::path_prefix.
1657         (queryUserLyXDir): strip out the code to run reconfigure, instead
1658         returning a boolean indicating the necessity to do so.
1659         (reconfigureUserLyXDir): contains the code to reconfigure the
1660         user support directory. Is now called after the various LyXRC data
1661         files have been read.
1662
1663         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1664
1665 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1666
1667         * converter.[Ch] (convert): take a new parameter try_default. Use
1668         a default converter (imagemagick) if try_default is true.
1669
1670 2005-01-13  Angus Leeming  <leeming@lyx.org>
1671
1672         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1673         os::cygwin_path_fix.
1674         (write): output LyXRC::cygwin_path_fix as necessary.
1675
1676 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1677
1678         * lyxrc.h:
1679         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1680
1681 2005-01-12  Angus Leeming  <leeming@lyx.org>
1682
1683         * lyx_main.C (init): set the PATH variable to include the
1684         directory containing the LyX binary when running on Mac or Windows.
1685
1686 2005-01-12  Angus Leeming  <leeming@lyx.org>
1687
1688         * lyx_main.C (init): remove cruft that purports to set the locale
1689         dir. It doesn't and is not needed anyway.
1690
1691 2005-01-10  Angus Leeming  <leeming@lyx.org>
1692
1693         * Makefile.am: remove the lyx_main.C special casing.
1694
1695         * BufferView_pimpl.C:
1696         * bufferlist.C:
1697         * exporter.C:
1698         * lyx_cb.C:
1699         * lyx_main.C:
1700         * lyxfunc.C:
1701         * messages.C: use support/package.h to provide the paths to the
1702         various directories used by LyX.
1703
1704 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1705
1706         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1707         layout if pasting into an empty paragraph)
1708
1709 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1710
1711         * tex-accent.C: add <string>
1712
1713 2005-01-06  José Matos  <jamatos@lyx.org>
1714
1715         * ParagraphParameters.C (write): put every parameter in its own line.
1716         * paragraph.C (write): reduce number of consecutive empty lines exported.
1717         * buffer.C (LYX_FORMAT): increase file format to 239.
1718
1719 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1720
1721         * everywhere: change support/tostr.h -> support/convert.h
1722
1723         * tabular.C: make all write_attributes templates, tostr -> convert
1724
1725         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1726         (emptyTag): and -> &&, and fix type for ret from getChar
1727         (getFirstWord): fix type for ret from getChar
1728         (onlyText): and -> &&
1729         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1730         getChar
1731
1732         * toc.C (goTo, action):
1733         * text3.C (dispatch):
1734         * text.C (currentState):
1735         * tex-accent.C (DoAccent):
1736         * sgml.C:
1737         * lyxrc.C:
1738         * lyxfunc.C (menuNew):
1739         * lyxfinc.C (replace):
1740         * counters.C (laberItem):
1741         * bufferview_funcs.C (font2string):
1742         * bufferparams.C (writeFile):
1743         * buffer.C (readFile):
1744         * Spacing.C (set):
1745         * MenuBackend.C: tostr -> convert
1746
1747         * LaTeX.C (runMessage): fix format
1748         (scanAuxFiles): tostr -> convert
1749
1750         * BufferView_pimpl.C (savePosition): fix format
1751         (restorePosition): ditto
1752         (dispatch): ditto
1753
1754 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1755
1756         * Spacing.[Ch]: New method getValueAsString().
1757
1758         * Spacing.[Ch]:
1759         * bufferparams.C:
1760         * ParagraphParameters.C:
1761         * lyxlayout.C:
1762         * text.C:
1763         * text3.C: store/read spacing value as string.
1764
1765         * rowpainter.C: change float value (spacing_val) to double.
1766
1767         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1768         broken custom document spacing).
1769
1770 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1771
1772         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1773         namespace, also more use of temp references and const
1774
1775         * cursor.[Ch] (getStatus): move to lyxfunc.C
1776
1777         * bufferparams.C: reformat slightly
1778
1779         * bufferview_funcs.C (font2string): constify arg
1780
1781         * changes.C:
1782         * converter.C:
1783         * counters.C:
1784         * bufferlist.C:
1785         * buffer_funcs.C: (many funcs): constify arg on function
1786         definitions, also make more local vars const, also add ASSERTS on
1787         pointer args.
1788
1789         * buffer.C (LYX_FORMAT): put const in correct place
1790         (many funcs): constify arg on function definitions, also make
1791         more local vars const
1792
1793         * aspell_local.h: remove "struct" from typdef setup
1794
1795         * aspell.C (check): make word_ok const
1796         (nextMiss): simplify slightly
1797         (error): ditto
1798
1799 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1800
1801         * lyxrc.[Ch]: store all float values as strings.
1802         use int (not float) for lyxrc.dpi.
1803
1804 2005-01-04  Angus Leeming  <leeming@lyx.org>
1805
1806         * lyx_cb.C (Reconfigure):
1807         * lyx_main.C (queryUserLyXDir):
1808         to run the <system_lyxdir>/configure correctly on Windows, prefix
1809         the path to the script with "sh " when generating the string that
1810         is passed to system().
1811
1812 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1813
1814         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1815
1816 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1817
1818         * lyxlength.C (asLatexString): get rid of setprecision
1819
1820 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1821
1822         * text2.C (setLayout): remove unused variable endpit.
1823         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1824
1825         * paragraph.C (onlyText): remove unused variable style.
1826
1827         * cursor.C (bruteFind): remove unused variables beg and end.
1828
1829         * Makefile.am (dist_noinset_DATA): not needed anymore
1830
1831         * cheaders/*: remove.
1832
1833 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1834
1835         * text3.C: fix LFUN_MATH_MODE.
1836
1837 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * buffer_funcs.C (countWords): new function. Counts words between
1840         two iterators.
1841
1842         * BufferView_pimpl.C (getStatus, dispatch): handle
1843         LFUN_WORDS_COUNT.
1844
1845         * LyXAction.C (init):
1846         * lfuns.h: add LFUN_WORDS_COUNT.
1847
1848 2004-12-19  Angus Leeming  <leeming@lyx.org>
1849
1850         * buffer.C (save): s/slashify_path/internal_path/.
1851
1852 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1853
1854         * lyxfind.C (findChange): do not search for end of pars, because
1855         the change tracker cannot handle this (fixes bug 1719).
1856
1857 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1858
1859         * paragraph.[Ch] (autoBreakRows): remove
1860
1861         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1862
1863         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1864         avoid using the paragraph one
1865
1866         * text2.C (LyXText, insertStringAsLines): adjust
1867
1868 2004-12-16  Angus Leeming  <leeming@lyx.org>
1869
1870         * bufferlist.C:
1871         * lyx_main.C:
1872         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1873
1874 2004-12-14  Angus Leeming  <leeming@lyx.org>
1875
1876         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1877
1878         * bufferlist.C (emergencyWrite):
1879         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1880         GetEnvPath("HOME").
1881
1882 2004-12-14  Angus Leeming  <leeming@lyx.org>
1883
1884         * main.C: (main): no longer pass pointers to os::init.
1885
1886 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1887
1888         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1889         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1890
1891 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1892
1893         * lyxfunc.C:
1894         * text3.C: remove selection_possible global flag
1895
1896 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1897
1898         * text2.C (getSelectionSpan): remove
1899         (changeDepth, changeDepthAllowed): adjust
1900
1901 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1902
1903         * Makefile.am (BOOST_LIBS): use boost variables
1904
1905 2004-12-03  José Matos  <jamatos@lyx.org>
1906
1907         * buffer.C: format up to 238.
1908
1909 2004-12-03  José Matos  <jamatos@lyx.org>
1910
1911         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1912
1913 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1914
1915         * cursor.C (goUpDown): remove call to idxUpDown2
1916
1917 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1918
1919         * tabular.[Ch]: use size_t-like types for cell, row and column
1920         indices
1921
1922 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1923
1924         * lyxfunc.C (getStatus): do not lose previous information when
1925         calling BufferView::getStatus; do not set a default "Command
1926         disabled" message at the beginning, but just before returning.
1927
1928 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1929
1930         * cursor.h (getStatus): add better comment from src/cursor.C
1931
1932 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1933
1934         * text3.C (getStatus): return false when the lfun is not handled
1935
1936 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1937
1938         * broken_headers.h: remove
1939
1940         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1941
1942 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1943
1944         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1945         offset_ref accessors
1946
1947         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1948         top_y_, merge fitcursor with update
1949         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1950         coord scheme
1951         (metrics): introduce
1952         (workAreaDispatch): adapt to new coord scheme
1953         (redoCurrentBuffer): remove
1954
1955         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1956
1957         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1958         CurStatus enum.
1959
1960         * coordcache.[Ch]: add paragraph cache and helpers
1961
1962         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1963         adjust everywhere
1964
1965         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1966         (targetX, setTargetX): introduce
1967
1968         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1969         baseline -> ascent, as the rest of lyx
1970
1971         * lyxtext.h: remove redoParagraphs, updateParPositions,
1972         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1973         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1974         have ascent/descent (ascent is ascent of first par)
1975
1976         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1977         step of BufferView
1978
1979         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1980
1981         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1982
1983         * pariterator.C: fix infinite loop introduced in par->pit renaming
1984
1985         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1986         in insets and LyXText, draw two off-screen paragraphs using
1987         NullPainter, and adapt to new coord scheme
1988
1989         * text.C:
1990         * text2.C:
1991         * text3.C: adapt lfun handlers to the new coord scheme, which
1992         means: there's only guaranteed coord information for onscreen pars
1993         plus one above and one below. This implies that one can do search
1994         from y coordinates in the range [-1,workHeight]
1995
1996 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1997
1998         * rename a lot of InsetOld to InsetBase
1999
2000 2004-11-25  Angus Leeming  <leeming@lyx.org>
2001
2002         * BufferView_pimpl.C:
2003         * lyx_cb.C:
2004         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2005
2006 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2009         call BufferView::getStatus if LCursor::getStatus did nothing
2010         (setStatusMessage, getStatusMessage): removed.
2011
2012         * FuncStatus.C (message): new methods. Used to provide an error
2013         message indicating why a command is disabled.
2014         (clear, |=, FuncStatus): update for message.
2015
2016 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2017
2018         * lyxfunc.C (dispatch): always call sendDispatchMessage
2019
2020 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2021
2022         * BufferView.C:
2023         * BufferView_pimpl.C:
2024         * CutAndPaste.C:
2025         * FontIterator.C:
2026         * buffer.C:
2027         * cursor.C:
2028         * cursor_slice.[Ch]:
2029         * dociterator.[Ch]:
2030         * lyxfind.C:
2031         * paragraph_funcs.C:
2032         * pariterator.C:
2033         * rowpainter.C:
2034         * text.C:
2035         * text2.C:
2036         * text3.C:
2037         * undo.C: par->pit renaming
2038
2039 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2040
2041         * tabular.C (cellstruct): use initialization, store a shared_ptr
2042         to insettext instead of the insettext directly, adjust to fit.
2043         (operator=):  new function
2044         (swap): new function
2045         (rowstruct): use initialization
2046         (columnstruct): use initialization
2047         (ltType): use initialization
2048
2049
2050         * lyxlength.h (swap): new function
2051
2052         * LColor.[Ch] (operator=): use the common semantics
2053
2054 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2055
2056         * lyxfind.C (findNextChange): update the bufferview after setting
2057         the selection.
2058
2059 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2060
2061         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2062         number of InsetOptArgs has already been inserted.
2063
2064         * output_latex.C (latexOptArgInsets): new method. This outputs all
2065         the optarg insets, up to the limit defined in the layout file.
2066         (optArgInset): removed
2067         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2068
2069 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         * paragraph.C (isLetter): remove special spellchecker-related
2072         code; return true also for digits
2073         (isWord, isKomma): remove
2074
2075         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2076         * lyxfind.C (MatchString()): use isLetter instead of isWord
2077
2078 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2079
2080         * pariterator.h (operatir=): comment out un-implemented member
2081         function.
2082
2083         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2084         static cast.
2085
2086 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2087
2088         * lyxfont.h: include LColor.h to satisfy concept checks.
2089
2090 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2091
2092         * pariterator.h: add typdefs for value_type, difference_type,
2093         pointer and reference to satisfy concept checks. Also add default
2094         constructor for same reason.
2095
2096         * pariterator.C (operator++): add post-increment operator to
2097         satisfy concept checks.
2098
2099         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2100         checks.
2101
2102         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2103
2104         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2105         checks. Also rename base_type to BaseType to follow naming
2106         standard better.
2107
2108         * FloatList.h: include Floating.h to satisfy concept checks.
2109
2110 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2111
2112         * lyxfunc.C (getStatus): when the origin of the request is menu or
2113         toolbar, and the LyXView does not have focus, do as if there was
2114         no buffer (bug 1720)
2115
2116         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2117         FuncRequest to individual entries of LFUN_SEQUENCE
2118
2119 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2120
2121         * output_latex.C (TeXOnePar): override runparams.moving_arg
2122         according to the needprotect value of the current paragraph (bug
2123         1739)
2124
2125         * paragraph.C (simpleTeXOnePar): no need to override
2126         runparams.moving_args here
2127
2128 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2129
2130         * vspace.C: fix off-by-one-error, related to fix #1682
2131
2132 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2133
2134         * lengthcommon.C: a more general fix for bug 1682
2135
2136 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2137
2138         * text.C (backspace): fix crash
2139
2140 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2141
2142         * format.[Ch] (getFormatFromFile): new method
2143         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2144
2145 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2146
2147         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2148
2149 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2150
2151         * lyxfunc.C (dispatch): remove the verbose argument
2152         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2153         instead
2154
2155         * kbmap.C (defkey): set the origin of func to KEYBOARD
2156
2157         * MenuBackend.C (MenuItem):
2158         * ToolbarBackend.C (add): set the origin of func to UI
2159
2160         * funcrequest.[Ch]: add origin member, which indicates which part
2161         of LyX requests an action
2162
2163 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2164
2165         * converter.C (move): don't lie in the error message
2166         * converter.h (isReachable, move): document
2167
2168 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2169
2170         * buffer.C: remove unused using lyx::support::atoi
2171         * paragraph_funcs.C: ditto
2172
2173 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2174
2175         * bufferlist.C (exists): use bind and equal_to instead of
2176         compare_memfun
2177         (getBuffer): ditto
2178         * lyxtextclasslist.C (NumberOfClass): ditto
2179
2180         * cursor.C (insert): use for_each instead of explicit for loop
2181
2182         * bufferlist.C (getFileNames): use std::transform and
2183         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2184
2185         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2186         for loop
2187
2188         * buffer.C (changeLanguage): use for_each instead of explicit for
2189         loop
2190         (hasParWithID): implement using getParFromID
2191
2192         * LaTeXFeatures.C: ws change only
2193
2194         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2195         to cleanup a bit.
2196
2197         * BufferView_pimpl.C (trackChanges): use for_each instead of
2198         expilicit for loop
2199
2200 2004-11-04  André Pönitz  <poenitz@gmx.net>
2201
2202         * undo.h:
2203         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2204
2205         * dociterator.C (asDocIterator): use hard assert again.
2206
2207 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2208
2209         * lyxlength.C (asLatexString): rewrite so that it does not use
2210         snprintf anymore
2211
2212 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2213
2214         * text3.C (specialChar, dispatch): make sure cursor moves to the
2215         right after inserting an inset
2216
2217 2004-11-02  José Matos  <jamatos@lyx.org>
2218
2219         * output_docbook.C (docbook):
2220         * paragraph.C (getID):
2221         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2222         garantee that the output is always legal.
2223
2224         * tabular.C (docbook):
2225         * outputprams.[Ch]: remove mixed contents.
2226
2227 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2228
2229         * text2.C (setCounter): prevent endless loop
2230
2231 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2232
2233         * exporter.C (copyFile): use the mover instead of support::copy()
2234         * exporter.C (Export): pass format and latex name to copyFile()
2235         * exporter.h (addExternalFile): document
2236         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2237
2238 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2239
2240         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2241
2242 2004-10-30  José Matos  <jamatos@lyx.org>
2243
2244         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2245         text and no inset or font change. This allows to use CDATA
2246         sections just for the whole paragraph.
2247
2248 2004-10-30  José Matos  <jamatos@lyx.org>
2249
2250         * paragraph.C (getFirstWord): remove unused variable.
2251
2252 2004-10-30  José Matos  <jamatos@lyx.org>
2253
2254         * paragraph.C (getFirstWord): the content should always be escaped
2255         there.
2256         (simpleDocBookOnePar):
2257         * output_docbook.C (makeEnvironment): replace reference to CDATA
2258         to style pass_thru.
2259
2260 2004-10-30  José Matos  <jamatos@lyx.org>
2261
2262         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2263
2264 2004-10-30  José Matos  <jamatos@lyx.org>
2265
2266         * output_docbook.C (makeParagraphs):
2267         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2268         standard paragraph has only a given type of content drop the wrapper.
2269
2270 2004-10-29  José Matos  <jamatos@lyx.org>
2271
2272         * output_docbook.C (makeEnvironment):
2273         * sgml.C (openTag):
2274         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2275
2276 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2277
2278         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2279         (cleanID): sanitize any id.
2280
2281 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2282
2283         * buffer.C, lyxlex_pimpl.C:
2284         * lyxlex_pimpl.C (setFile):
2285         s/getExtFromContents/getFormatFromContents/
2286
2287 2004-10-28  José Matos  <jamatos@lyx.org>
2288
2289         * output_docbook.C (makeEnvironment): move id to broadest possible
2290         scope.
2291
2292         * sgml.C (openTag): apply substitution of <> for all attributes.
2293
2294 2004-10-28  José Matos  <jamatos@lyx.org>
2295
2296         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2297         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2298         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2299
2300         * sgml.[Ch]: new version for open and closeTag for paragraph and
2301         for strings. Now they handle the ids of paragraphs.
2302
2303 2004-10-26  Angus Leeming  <leeming@lyx.org>
2304
2305         * Makefile.am: add mover.[Ch].
2306
2307         * converter.C (convert, move): use the new Movers to move external
2308         files to the temp directory.
2309
2310         * lyx_main.C (init): ensure that the global system_movers data
2311         is initialised.
2312
2313         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2314         preferences file.
2315
2316         * mover.[Ch]: new files, defining a Mover as a utility to move an
2317         external file between directories and, if necessary, manipulate this
2318         file using a helper script.
2319
2320 2004-10-25  José Matos  <jamatos@lyx.org>
2321
2322         * output_docbook.C (makeCommand): merge two if's that tested the
2323         same condition.
2324
2325 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2326
2327         * sgml.C (escapeString): fix warning in a better way
2328
2329 2004-10-25  José Matos  <jamatos@lyx.org>
2330
2331         * sgml.C (escapeString): import the require boosts header file for
2332         tie, and avoid a signed unsigned comparison.
2333
2334 2004-10-25  José Matos  <jamatos@lyx.org>
2335
2336         * sgml.h: add #include <string>
2337
2338 2004-10-25  José Matos  <jamatos@lyx.org>
2339
2340         * sgml.[Ch] (escapeString): new function to escape all the string.
2341
2342 2004-10-24  José Matos  <jamatos@lyx.org>
2343
2344         * paragraph.[Ch] (getFirstWord): new function to get the first
2345         word. Useful for description.
2346         (simpleDocBookOnePar): remove depth argument, add another that
2347         says where to start the paragraph.
2348
2349         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2350         use the new functions to fix cleanly the support for descriptions.
2351
2352 2004-10-24  José Matos  <jamatos@lyx.org>
2353
2354         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2355         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2356         * output_linuxdoc.C (linuxdocParagraphs):
2357         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2358         add buffer as argument.
2359
2360 2004-10-24  José Matos  <jamatos@lyx.org>
2361
2362         * output_docbook.C (makeEnvironment, searchEnvironment): place
2363         CDATA inside paragraphs and fix scope for listitems.
2364
2365 2004-10-24  José Matos  <jamatos@lyx.org>
2366
2367         * output_docbook.C: remove using statement for stack.
2368
2369 2004-10-23  José Matos  <jamatos@lyx.org>
2370
2371         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2372         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2373         docbook. The new scheme is recursive and makes use of iterators, the
2374         same as latex export works.
2375         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2376         directly with the paragraph contents. This code was moved up to
2377         output_docbook.C (docbookParagraphs).
2378         * sgml.C (openTag, closeTag): removed unneeded newlines.
2379         (closeEnvTags) removed.
2380
2381 2004-10-23  André Pönitz  <poenitz@gmx.net>
2382
2383         * undo.C (textUndoOrRedo):
2384         * dociterator.C (asDocIterator): work around crash
2385
2386         * cursor.C (getStatus): replace ASSERT by more verbose error message
2387           and manual correction of the problem. Should increase stability
2388           while providing more sensible information.
2389
2390 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2391
2392         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2393
2394         * bufferlist.C (previous, next): new methods
2395
2396         * lfuns.h:
2397         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2398
2399 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2400
2401         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2402         entities to preamble.
2403
2404 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2405
2406         * messages.C (Pimpl): strip off translation context information
2407
2408 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2409
2410         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2411         the cursor is correct (bug 1694)
2412
2413 2004-10-13  José Matos  <jamatos@lyx.org>
2414
2415         * output_docbook.C (docbookParagraphs): fix closing tags in the
2416         end of the document.
2417
2418 2004-10-09  José Matos  <jamatos@lyx.org>
2419
2420         * buffer.C: format up to 237.
2421         * bufferparams.C (write): use tostr to convert booleans to strings.
2422
2423 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2424
2425         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2426
2427 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2428
2429         * LaTeX.C: implement use of babel language in xindy.
2430
2431 2004-10-05  José Matos  <jamatos@lyx.org>
2432
2433         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2434         Add new translators to help reading and writing the lyx file.
2435
2436 2004-10-05  José Matos  <jamatos@lyx.org>
2437
2438         * ParagraphParameters.C (read):
2439         * text.C (readParToken): replace nexToken by more appropriate lex
2440         methods.
2441
2442 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2443
2444         * LaTeX.C (runMakeIndex):
2445         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2446         (usually 'makeindex') configurable.
2447
2448         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2449         with a variable rather than with a number.
2450
2451 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2452
2453         * output_latex.C (TeXOnePar): make sure font setting is the first
2454         thing that gets output (and the last at the end). Should fix bug
2455         1404.
2456
2457 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2458
2459         * pch.h: use proper signal include
2460
2461         * LaTeX.h: Use preferred calling of Boost.Signal
2462         * buffer.h: ditto
2463
2464 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2465
2466         * pch.h: dont include <boost/function/function0.hpp>
2467
2468         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2469
2470         * paragraph_pimpl.h: remove usage of ShareContainer
2471
2472         * paragraph_pimpl.C: remove initialization of ShareContainer.
2473
2474 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2475
2476         Fix bug #1666
2477
2478         * BufferView.C (putSelectionAt): change the semantics when
2479         backwards == true: now, this just swaps cursor and anchor wrt the
2480         forward case
2481
2482         * BufferView.h (putSelectionAt): add some documentation
2483
2484         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2485         make sure backwardChar is done at least once (to avoid getting
2486         stuck)
2487         (findNextChange): use putSelectionAt in the forward direction
2488         (operator()): use Paragraph::isWord
2489
2490 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2491
2492         * Spacing.C (set): c_str fix
2493
2494 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2495
2496         * lyx_cb.C (Reconfigure): quote the name of configure script in
2497         case it contains spaces
2498
2499 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2500
2501         * client: new dir
2502
2503         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2504         (BOOST_LIBS): use top_buildir when looking for the file
2505
2506 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2507
2508         * pch.h: do not use include boost/format.hpp, multiple symbols
2509                 will result (gcc bug)
2510
2511
2512 2004-08-23  José Matos  <jamatos@lyx.org>
2513
2514         * bufferparams.C (readToken): fix reading of the author field.
2515
2516 2004-08-20  José Matos  <jamatos@lyx.org>
2517
2518         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2519
2520 2004-08-20  José Matos  <jamatos@lyx.org>
2521
2522         * lyxlex.[Ch] (findToken): remove function.
2523
2524         * ParagraphParameters.C (findToken):
2525         * bufferparams.C (findToken): replace call for previous function
2526         with local copy. This local function has one more argument, the
2527         read string argument.
2528
2529 2004-08-16  José Matos  <jamatos@lyx.org>
2530
2531         * ParagraphParameters.C (write):
2532         * Spacing.C (writeFile):
2533         * bufferparams.C (writeLaTeX):
2534         * lyx_cb.C (Reconfigure):
2535         * paragraph.C (write):
2536         * tabular.C (write): remove unnecessary space at end of line.
2537
2538
2539 2004-08-16  José Matos  <jamatos@lyx.org>
2540
2541         * text.C (readParagraph): remove debug message.
2542
2543 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2544
2545         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2546         crash
2547
2548         * output_plaintext.C (asciiParagraph): set depth correctly
2549
2550         * outputparams.h: add member depth
2551
2552         * paragraph_funcs.C (ownerPar): remove.
2553
2554         * text2.C (setCounter): remove first_pit; comment out some
2555         non-working code that uses ownerPar
2556
2557         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2558         uses ownerPar
2559
2560 2004-08-16  José Matos  <jamatos@lyx.org>
2561
2562         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2563         For the same level of importance use the same chanel to report problems.
2564         (read): add code to deal with \begin_body and \end_body.
2565
2566
2567 2004-08-15  José Matos  <jamatos@lyx.org>
2568
2569         * lyxlex.C (getString): fix comment, buffer::readBody is now
2570         buffer:readDocument.
2571
2572         * tex-strings.C (string_papersize): Default -> default,
2573         Custom -> custom, for consistency with other options.
2574
2575 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * pch.h: new file
2578
2579         * Makefile.am: support pch
2580
2581 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2582
2583         * text.C (readParToken): remove the static LyXFont variable and
2584         pass it as a parameter instead. This fixes a nasty bug where an
2585         inset will be inserted with a bad font in some situations
2586         (readParagraph): adapt
2587
2588         * text2.C (setCounter): reduce number of calls to pars_[pit]
2589
2590         * text.C (singleWidth): add an assert, fix a test
2591
2592         * rowpainter.C (paintText): reduce number of calls to singleWidth
2593
2594         * paragraph.C (isHfill):
2595         (isNewline): ws only
2596
2597 2004-08-14  André Pönitz  <poenitz@gmx.net>
2598
2599         * text.C:
2600         * text2.C:
2601         * rowpainter.C:
2602         * lyxtext.h (several functions): use a Paragraph & argument
2603         instead of par_type
2604
2605 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2606
2607         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2608
2609         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2610
2611         * text.C (singleWidth): remove useless test
2612
2613 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2614
2615         * tabular.h: remove bogus comments
2616
2617         * tabular.C (getDescentOfRow):
2618         (isPartOfMultiColumn): add assertions
2619
2620         * lyxlength.C (inPixels): remove #warning
2621
2622 2004-08-14  André Pönitz  <poenitz@gmx.net>
2623
2624         * paragraph.h: inline getChar()
2625
2626         * BufferView.h: remove unused declarations
2627
2628 2004-08-14  José Matos  <jamatos@lyx.org>
2629
2630         * Buffer.[Ch] (readDocument): new name for old readBody.
2631         * Buffer.C: new file format, new keywords: \begin_document,
2632         \begin_header, \begin_body, \end_body.
2633
2634         * bufferparams.C (readToken): replace all calls to lex.nextToken
2635         by lex.next(). Do the same to eatLine except where really needed.
2636
2637         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2638         line when writing to the lyx file.
2639
2640         * output_plaintext.C (asciiParagraph): fix Bibliography style
2641         handling.
2642
2643         * text.C (read): fix end of file handling.
2644
2645 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2646
2647         * MenuBackend.C (Menu::operator[]): new method to access
2648         individual menu items
2649         (Menu::hasFunc): new method. search for an item that corresponds
2650         to a given func
2651         (MenuBackend::specialMenu): new method
2652         (MenuBackend::expand): if a special menu has been set, skip
2653         entries whose func() appears in this menu
2654
2655 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2656
2657         * text3.C: use Debug::DEBUG a bit more
2658
2659         * text.C (leftMargin): try to simplify a tiny bit change var x to
2660         l_margin. Dont output the wide margins always.
2661         (rightMargin): no margin in inner texts
2662
2663         * rowpainter.h (nestMargin): new func
2664         (changebarMargin): new func
2665         (rightMargin): new func
2666
2667         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2668         now functions.
2669         (paintLast): ditto
2670
2671         * factory.C (createInset): modify setDrawFrame
2672
2673         * cursor.C: use Debug::DEBUG a bit more
2674
2675 2004-08-14  André Pönitz  <poenitz@gmx.net>
2676
2677         * coordcache.[Ch]:
2678         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2679         cache for all insets in (at least partially) visible (top-level)
2680         paragraphs.
2681
2682         * BufferView_pimpl.C: reset external coord cache before every update.
2683         This means the coord cache only contains valid entries.
2684
2685 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2686
2687         bug 1096
2688         * BufferView_pimpl.C (getInsetByCode): move function out of class
2689         and change in to a template in anon namespace. Also fix to do what
2690         suits us better.
2691
2692 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2693
2694         bug 1305
2695         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2696         of char
2697         (breakParagraph): rename par to par_offset and use a local
2698         reference. Add code to keep the language over a rebreak.
2699         (breakParagraphConservative): rename par to par_offset, use a
2700         local reference
2701         (mergeParagraph): ditto
2702         (outerHook): ditto
2703         (isFirstInSequence): ditto
2704         (outerFont): rename pit to par_offset
2705
2706         * paragraph.C: ws change
2707         * paragraph.h: ditto
2708         * text3.C: ditto
2709         * text.C: ditto
2710
2711 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2712
2713         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2714         treatment for ']'
2715
2716         * paragraph.C (simpleTeXOnePar): when we have a \item with
2717         optional argument, enclose the argument with curly brackets (in
2718         case it contains a closing square bracket)
2719
2720         * text2.C (editXY):
2721         * text2.C (editXY):
2722         * text3.C (checkInsetHit): constify
2723
2724 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2725
2726         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2727         documents (bug 1629)
2728
2729 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2730
2731         Fix toggling of collapsable insets with the mouse (bug 1558)
2732
2733         * lyxfunc.C (dispatch): adapt to LCursor changes
2734
2735         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2736         make sure that dispatch is not invoked twice
2737
2738         * cursor.C (needsUpdate): new method
2739         (dispatch): return void
2740         (result): new method, to access the DispatchResult of the cursor.
2741
2742 2004-08-13  José Matos  <jamatos@lyx.org>
2743
2744         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2745
2746 2004-08-13  André Pönitz  <poenitz@gmx.net>
2747
2748         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2749
2750         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2751           multiple cells
2752
2753 2004-08-12  André Pönitz  <poenitz@gmx.net>
2754
2755         * text3.C: take out the 'cursor right' form insertInset and only
2756         do it in those places when it is really needed. Fixes crash on
2757         C-m...
2758
2759 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2760
2761         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2762
2763         * BufferView_pimpl.C (setBuffer): initialize the current font of
2764         the underlying LyXText
2765
2766 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2767
2768         * kbsequence.C (print): use UI native formatting for menu
2769         shortcuts
2770
2771         * text.C (insertChar): call Paragraph::insertChar with a font
2772         argument (cosmetic)
2773
2774         * paragraph.C (insertInset, insertChar): the version that takes a
2775         LyXFont argument is now a wrapper around the other one (the
2776         opposite used to be true).
2777
2778         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2779         argument. Font setting is done in Paragraph now.
2780
2781 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2782
2783         * outputparams.h: add new members intitle and lang.
2784
2785         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2786         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2787
2788 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2789
2790         * text3.C (dispatch): remove special handling of button 4 and 5,
2791         it is now taken care of in the frontend code.
2792
2793 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2794
2795         * Spacing.h: add <string> (STLPort compile fix)
2796
2797 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2798
2799         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2800
2801 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2802
2803         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2804         to bool.
2805
2806         * converter.C (showMessage): inherit from unary_function, make
2807         operator() const.
2808
2809         * buffer.C (writeFile): initialize retval
2810
2811         * InsetList.h: rename private variable list to list_
2812         * InsetList.[Ch]: adjust accordingly.
2813
2814 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2815
2816         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2817         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2818         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2819         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2820         * ParagraphParameters.C, LaTeXFeatures.C: replace
2821         "support/std_sstream.h" with <sstream>
2822
2823 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2824
2825         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2826         * lyxsocket.C (LyXServerSocket): ditto
2827         (serverCallback): ditto
2828
2829 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2830
2831         * LaTeXFeatures.C: check release date when loading jurabib.
2832
2833 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2834
2835         * lyxserver.C (startPipe): call register_socket_callback
2836         (endPipe): call unregister_socket_callback
2837
2838 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2839
2840         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2841         (LyXServerSocket): register the callback
2842         (LyXServerSocket): unregister the callback
2843         (fd): delete function
2844         (serverCallback): improve error checking and setup the callbacks.
2845         (dataCallback): change arg to fd.
2846         (writeln): new func (copied fro the client socket) used for server
2847         write to client.
2848         (LyXDataSocket): simplify
2849         (~LyXDataSocket): close ann unregiser callback
2850         (server): delete function
2851         (fd): delete function
2852         (readln): small changes, improve some std::string usage
2853         (writeln): constify a bit
2854
2855 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2856
2857         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2858         Qt frontend
2859
2860 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2861
2862         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2863         after it has been populated
2864
2865 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2866
2867         * text2.C (insertInset): move cursor when inserting inset.
2868
2869 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2870
2871         * kbmap.C (findbindings): a couple of new methods. returns a
2872         container of kb_sequence objects. The real work is done by the
2873         private recursive version
2874         (printbindings): uses findbindings to print out a bracketed list
2875         of bindings (renamed from findbinding).
2876
2877         * MenuBackend.C (binding): use kb_keymap::findbindings
2878
2879         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2880
2881 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2882
2883         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2884
2885 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2886
2887         * paragraph.C (isWord): return true on insets that report
2888         isLetter().
2889
2890         * text.C (getWord): use Paragraph::isWord to decide what is in a
2891         word and what is not; fix bug 1609.
2892
2893 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2894
2895         * tex-strings.C: add "none" to string_paperpackages[], fixes
2896         off-by-one-error in the paperpackage selection.
2897
2898         * lyxlex.[Ch]:
2899         * tex-strings.[Ch]: char const * string[n]
2900         -> char const * const string[]
2901
2902 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2903
2904         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2905         command, return early.
2906
2907 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * debug.h: add DEBUG to enum and fix size of ANY.
2910
2911         * debug.C: add support for Debug::DEBUG
2912         (showTags): cast errorTags.level to unsigned int
2913
2914         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2915         (redoCurrentBuffer): ditto
2916         (updateScrollbar): ditto
2917         * cursor.C (dispatch): ditto
2918         * text2.C (setLayout): ditto
2919         (setFont): ditto
2920         (updateCounters): ditto
2921         (editXY): ditto
2922         (deleteEmptyParagraphMechanism): ditto
2923
2924 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2925
2926         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2927         annotations to cleanup the Makefile slightly.
2928
2929 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2930
2931         * lyxrc.C: do not set user_email to a default value but use empty
2932         instead. The entry used to be translated, which does not work
2933         since at the point where lyxrc is constructed there is no
2934         translation service available
2935
2936         * messages.C (getLocaleDir): remove and use directly
2937         lyx_localedir() instead
2938
2939 2004-06-02  Angus Leeming  <leeming@lyx.org>
2940
2941         Fix crash caused by dereferencing null pointer 'exportdata' in
2942         OutputParams by creating a new ExportData variable on the heap,
2943         storing it in a boost::shared_ptr.
2944         The crash was triggered when generating an Instant Preview
2945         of an external inset.
2946
2947         * Makefile.am: add outputparams.C
2948
2949         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2950         (c-tor): allocate memory to it.
2951
2952         * exporter.C (c-tor): associated changes.
2953
2954 2004-06-01  Angus Leeming  <leeming@lyx.org>
2955
2956         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2957         contains data before calling isInset(0). (Bug 1513.)
2958
2959 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2960
2961         * exporter.C (checkOverwrite): new method
2962         * exporter.C (copyFile): new method
2963         * exporter.C (Export): copy referenced files to the document dir
2964         * exporter.[Ch]: new class ExportedFile
2965         * exporter.[Ch]: new class ExportData. Contains currently the
2966         names of referenced external files
2967         * outputparams.h: add exportdata member.
2968
2969 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2970
2971         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2972         version.C-tmp
2973
2974 2004-05-19  Angus Leeming  <leeming@lyx.org>
2975
2976         * LaTeXFeatures.C:
2977         * ToolbarBackend.C:
2978         * bufferparams.C:
2979         * lyxfunc.C: small changes due to the introduction of namespace
2980         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2981
2982 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2983
2984         * text3.C (dispatch): supress update when only moving the cursor
2985         * cursor.C (selHandle): remove commented code
2986
2987 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2988
2989         * paragraph.C (startTeXParParams): correct column count
2990         * CutAndPaste.C (pasteSelection): remove const_cast
2991         * output_docbook.C (docbookParagraphs): remove const_cast
2992         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2993         const_cast and return ParagraphList::const_iterator
2994         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2995         * output_plaintext.C (writeFileAscii): remove const_cast
2996         * paragraph.[Ch] (simpleTeXOnePar): make const
2997         * paragraph_funcs.C (outerPar): use const iterators
2998         * paragraph_pimpl.C (validate): use const iterators
2999         * text.C (setHeightOfRow): use const iterators
3000
3001 2004-05-17  Angus Leeming  <leeming@lyx.org>
3002
3003         * lfuns.h:
3004         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3005
3006         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3007         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3008         if the citation engine has changed.
3009
3010 2004-05-14  José Matos  <jamatos@lyx.org>
3011
3012         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3013         if the textclass does not provide it. Have it different for sgml and
3014         xml.
3015         support the language of document.
3016         * output_docbook.C (docbookParagraphs):
3017         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3018         first anchor as the id of the paragraph, remove special case code.
3019         * sgml.C (escapeChar): escape only < & >.
3020
3021 2004-05-14  Angus Leeming  <leeming@lyx.org>
3022
3023         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3024         dependencies on src/frontends/controllers/biblio.h. Define a
3025         CiteEngine_enum wrapper class to enable the enum to be forward
3026         declared.
3027
3028 2004-05-12  Angus Leeming  <leeming@lyx.org>
3029
3030         * buffer.C: up LYX_FORMAT to 234.
3031         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3032         use_numerical_citations with a single biblio::CiteEngine cite_engine
3033         variable.
3034         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3035
3036 2004-05-13  José Matos  <jamatos@lyx.org>
3037
3038         * converter.h:
3039         * converter.C (Converter, readFlags): add xml member.
3040         * outputparams.h: add XML flavor.
3041         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3042
3043 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3044
3045         * lyxfunc.C (dispatch):
3046         (getStatus): fix handling of LFUN_SEQUENCE
3047
3048 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3049
3050         * debug.C (showLevel): do not forget the end-of-line marker
3051
3052 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3053
3054         * kbmap.C (read): do not stop parsing a bind file when an error
3055         occurs (bug 1575)
3056
3057 2004-04-29  Angus Leeming  <leeming@lyx.org>
3058
3059         * cursor.C:
3060         * factory.C:
3061         * pariterator.C:
3062         * text2.C: wrap a bunch of #warning statements
3063         inside #ifdef WITH_WARNINGS blocks.
3064
3065 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3066
3067         * buffer.C: increment format to 233.
3068
3069 2004-04-28  Angus Leeming  <leeming@lyx.org>
3070
3071         * BufferView_pimpl.C:
3072         * lyxfunc.C:
3073         * text3.C:
3074         s/updateToolbar()/updateToolbars()/
3075         s/Toolbar.h/Toolbars.h/
3076
3077 2004-04-28  Angus Leeming  <leeming@lyx.org>
3078
3079         * BufferView.[Ch] (c-tor):
3080         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3081         No longer passes these data to the WorkArea generator.
3082
3083 2004-04-28  Angus Leeming  <leeming@lyx.org>
3084
3085         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3086
3087 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3088
3089         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3090
3091 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3092
3093         * output_latex.C (TeXEnvironment): make sure that there is a line
3094         break before \end{foo} for the last paragraph of a document
3095         (TeXOnePar): if the paragraph is at the end of the document (or
3096         inset) and the language has to be reset, then make sure that the
3097         line break is _before_ the language command, not after (fixes bug
3098         1225); also make sure that the language reset command is the first
3099         thing after the paragraph (to ensure proper nesting of
3100         environments and thus fix bug 1404)
3101
3102 2004-04-21  John Levon  <levon@movementarian.org>
3103
3104         * ToolbarBackend.h:
3105         * ToolbarBackend.C: make "name" be a programmatic name
3106         and a gui_name field.
3107
3108         * lyxfunc.C: display the minibuffer on M-x
3109
3110 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3111
3112         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3113         (bug 1526)
3114
3115 2004-04-19  Angus Leeming  <leeming@lyx.org>
3116
3117         * BufferView_pimpl.C (setBuffer): changed preview interface.
3118
3119         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3120         possible values.
3121
3122 2004-04-19  John Levon  <levon@movementarian.org>
3123
3124         * BufferView_pimpl.C:
3125         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3126
3127 2004-04-05  Angus Leeming  <leeming@lyx.org>
3128
3129         * text.C (redoParagraphs): add call to updateCounters(), thereby
3130         fixing the missing "Figure #:" label from the caption of a
3131         figure float.
3132
3133 2004-04-13  Angus Leeming  <leeming@lyx.org>
3134
3135         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3136         cursor is clicked out of an inset.
3137
3138 2004-04-13  Angus Leeming  <leeming@lyx.org>
3139
3140         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3141         than an InsetOld one.
3142
3143 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3144
3145         * format.[Ch]: add editor to Format
3146         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3147         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3148
3149 2004-04-08  André Pönitz  <poenitz@gmx.net>
3150
3151         * metricsinfo.h: remove PainterInfo::width member
3152
3153 2004-04-08  Angus Leeming  <leeming@lyx.org>
3154
3155         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3156         "\providecommand" rather than "\newcommand", thereby preventing
3157         clashes with packages that define "\boldsymbol" themselves.
3158         Eg, beamer.
3159
3160 2004-04-08  Angus Leeming  <leeming@lyx.org>
3161
3162         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3163         thereby squashing an unnecessary warning.
3164
3165 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3166
3167         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3168         setBuffer()
3169
3170 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3171
3172         * BufferView.C (setCursor): call redoParagraph (some insets could
3173         have been opened)
3174         (putSelectionAt): remove the 'double update' trick
3175
3176         * BufferView_pimpl.C (fitCursor): call refreshPar
3177         (workAreaDispatch): remove an uneeded update call
3178         (dispatch): remove some manual update calls
3179
3180         * cursor.[Ch]: remove cached_y_, updatePos
3181         (selHandle): set noUpdate when appropriate
3182
3183         * lyxfunc.C (dispatch): track if we need an update
3184
3185         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3186
3187         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3188         (paintSelection): cheap optimization, do not call cursorX when not
3189         needed
3190         (paintPars): change signature
3191         (refreshPar): add
3192         (paintText): adjust
3193         (paintTextInset): adjust
3194
3195         * text.C: adjust
3196
3197 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3198
3199         * lengthcommon.C: compilation fix: remove explicit array size from
3200         unit_name[] and friends
3201
3202 2004-04-05  Angus Leeming  <leeming@lyx.org>
3203
3204         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3205
3206         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3207         present only for the preferences dialog.
3208         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3209
3210 2004-04-05  Angus Leeming  <leeming@lyx.org>
3211
3212         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3213         to enable the frontends to export changes to lyxrc correctly.
3214
3215         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3216
3217 2004-04-07  André Pönitz  <poenitz@gmx.net>
3218
3219         * cursor.[Ch] (selClear, adjust): remove math
3220
3221         * cursor_slice.C: more agressive assert
3222
3223         * lyxfunc.C:
3224         * BufferView_pimpl.C: rework mouse event dispatch
3225
3226         * dociterator.C:
3227         * paragraph.C:
3228         * text2.C:
3229         * text3.C: adjust
3230
3231 2004-04-05  André Pönitz  <poenitz@gmx.net>
3232
3233         * cursor.[Ch] (valign, halign...): remove unneeded functions
3234
3235 2004-04-05  Angus Leeming  <leeming@lyx.org>
3236
3237         * lyxlength.[Ch] (unit_name et al.): const-correct.
3238
3239 2004-04-05  Angus Leeming  <leeming@lyx.org>
3240
3241         * BufferView_pimpl.C:
3242         * buffer.C:
3243         * counters.C:
3244         * cursor.C:
3245         * lyxfunc.C
3246         * paragraph.C:
3247         * pariterator.C:
3248         * text.C:
3249         * text2.C:
3250         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3251
3252 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3253
3254         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3255
3256 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3257
3258         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3259         * BufferView_pimpl.[Ch] (getStatus)
3260         * BufferView.[Ch] (getStatus): add
3261         * lyxfunc.C (getStatus): move lfuns handled in
3262         BufferView::dispatch to te function above
3263         * Cursor.C (setSelection): set selection() = true
3264
3265 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3266
3267         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3268
3269 2004-03-31  Angus Leeming  <leeming@lyx.org>
3270
3271         * lyxfunc.C (dispatch): Fall through to the generic
3272         Dialogs::show("preamble").
3273
3274 2004-03-31  Angus Leeming  <leeming@lyx.org>
3275
3276         * lyxfunc.C (dispatch): Fall through to the generic
3277         Dialogs::show("spellchecker").
3278
3279 2004-03-31  Angus Leeming  <leeming@lyx.org>
3280
3281         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3282         preferences dialog.
3283
3284 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3285
3286         * BufferView.C
3287         * cursor.[Ch]
3288         * dociterator.[Ch]:
3289         * insetiterator.[Ch]:
3290         * lyxfind.C:
3291         * lyxfunc.C:
3292         * pariterator.[Ch]:
3293         * text2.C:
3294         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3295
3296 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3297
3298         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3299         insets where we are putting the cursor.
3300
3301 2004-03-31  Angus Leeming  <leeming@lyx.org>
3302
3303         * lfuns.h:
3304         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3305
3306         * lyxrc.[Ch] (read, write): overloaded member functions taking
3307         a std::[io]stream arguments.
3308
3309         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3310
3311 2004-03-31  Angus Leeming  <leeming@lyx.org>
3312
3313         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3314         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3315
3316         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3317         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3318
3319 2004-03-31  Angus Leeming  <leeming@lyx.org>
3320
3321         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3322         the LFUN_ALL_INSETS_TOGGLE code.
3323
3324 2004-03-30  Angus Leeming  <leeming@lyx.org>
3325
3326         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3327         has died. Fall through to the generic Dialogs::show("document").
3328
3329 2004-03-30  Angus Leeming  <leeming@lyx.org>
3330
3331         * lfuns.h:
3332         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3333         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3334
3335         * lyxfunc.C (getStatus, dispatch): define the actions for these
3336         lfuns. Little more than a cut and pste job from ControlDocument.C
3337
3338         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3339
3340 2004-03-30  Angus Leeming  <leeming@lyx.org>
3341
3342         * lfuns.h:
3343         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3344         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3345
3346         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3347         open/closed state of ollapsable insets. Usage:
3348
3349         all-inset-toggle <state> <name>, where
3350         <state> == "open" || "closed" || "toggle" and
3351         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3352
3353         * lyxtext.h, text2.C (toggleInset): removed.
3354
3355         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3356         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3357         now passes LFUN_INSET_TOGGLE to the found inset.
3358
3359         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3360         is now invoked as "all-insets-toggle toggle branch".
3361
3362 2004-03-30  Angus Leeming  <leeming@lyx.org>
3363
3364         * dociterator.C:
3365         * insetiterator.C:
3366         * pariterator.[Ch]: added/corrected header blurb.
3367
3368 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3369
3370         * dociterator.[Ch]: add an inset_ member
3371         (backwardPos): implemented
3372         (backwardPos, forwardPos): use inset_ when the stack is empty.
3373         (doc_iterator_begin, doc_iterator_end): implemented
3374         * pariterator.[Ch]: adjust, add begin, end
3375         * insetiterator.[Ch]: adjust, add begin, end
3376         * cursor.C:
3377         * document.C:
3378         * BufferView.C:
3379         * BufferView_pimpl.C:
3380         * CutAndPaste.C: adjust
3381
3382 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3383
3384         * buffer.C: increment file format to 232.
3385         * LaTeXFeatures.C: add bibtopic package.
3386         * bufferparams.[Ch]: param \use_bibtopic.
3387
3388         * lyxrc.[Ch]: add lyxrc bibtex_command
3389         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3390
3391         * buffer.C: increment file format to 231.
3392
3393 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3394
3395         * dociterator.C: implement forwardPar
3396         * iterators.[Ch]: remove, replaced by
3397         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3398         * BufferView.C:
3399         * BufferView_pimpl.C:
3400         * CutAndPaste.C:
3401         * buffer.C:
3402         * bufferview_funcs.C:
3403         * cursor.C:
3404         * lyxfind.C
3405         * lyxfunc.C
3406         * paragraph_funcs.C
3407         * toc.C:
3408         * Makefile.am: adjust
3409
3410 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3411
3412         * CutAndPaste.C (pasteSelection): fix 2 crashes
3413         (eraseSelection): fix a crash
3414         * paragraph_funcs.C: remove a warning
3415
3416 2004-03-28  Angus Leeming  <leeming@lyx.org>
3417
3418         * lfuns.h:
3419         * LyXAction.C (init): new LFUN_PRINT.
3420
3421         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3422
3423 2004-03-27  Angus Leeming  <leeming@lyx.org>
3424
3425         * lfuns.h:
3426         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3427
3428         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3429
3430 2004-03-27  Angus Leeming  <leeming@lyx.org>
3431
3432         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3433         insetlist always contains non-null pointers to insets.
3434
3435 2004-03-26  Angus Leeming  <leeming@lyx.org>
3436
3437         * src/BufferView_pimpl.C:
3438         * src/CutAndPaste.C:
3439         * src/buffer.C:
3440         * src/iterators.C:
3441         * src/output_plaintext.C:
3442         * src/outputparams.h:
3443         * src/paragraph_funcs.C:
3444         * src/rowpainter.C:
3445         * src/text.C:
3446         * src/text2.C:
3447         * src/frontends/controllers/ControlErrorList.C:
3448         * src/frontends/gtk/FileDialogPrivate.C:
3449         * src/frontends/gtk/GPainter.C:
3450         * src/frontends/gtk/GToolbar.C:
3451         * src/frontends/qt2/QRef.C:
3452         * src/mathed/math_scriptinset.C: squash compiler warnings.
3453
3454 2004-03-26  Angus Leeming  <leeming@lyx.org>
3455
3456         * ispell.C (LaunchIspell::start):
3457         * lyx_cb.C (AutoSaveBuffer::start):
3458         invoke run(DontWait) rather than runNonBlocking().
3459
3460 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3461
3462         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3463
3464 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3465
3466         * kbsequence.C (print): adjust
3467
3468         * kbmap.C (printKeySym): rename and change signature
3469         (printKey): use LyXKeySym::print()
3470
3471 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3472
3473         * undo.C: add using std::advance to compile for stlport
3474
3475 2004-03-24  Angus Leeming  <leeming@lyx.org>
3476
3477         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3478         it leads to a crash when no buffer is present.
3479
3480 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3481             Martin Vermeer  <martin.vermeer@hut.fi>
3482
3483         * lyxfunc.C (dispatch):
3484         * bufferparams.C (readToken): use the new LColor::setColor
3485
3486         * LColor.[Ch] (setColor): new version that takes two strings as
3487         argument and creates a new color entry if necessary
3488
3489 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3490
3491         * buffer.C (makeLaTeXFile): if the main latex file that is
3492         processed is usually a subdocument of some master, then pretend
3493         for a while that it is actually the master
3494
3495 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3496
3497         * buffer.C (getLabelList):
3498         (getBibkeyList): use getMasterBuffer()
3499         (getMasterBuffer): new method. Returns the main document in the
3500         case where one is using included documents.
3501
3502 2004-03-25  André Pönitz  <poenitz@gmx.net>
3503
3504         * Makefile.am:
3505         * iterators.[Ch]:
3506         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3507
3508         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3509
3510         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3511         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3512
3513         * ParameterStruct.h: merge with ParagraphParameters
3514
3515         * lyxtext.h: remove LyXText::parOffset() and getPar()
3516
3517         * text3.C: Remove all 'manual' update calls. We do now one per user
3518         interaction which is completely sufficient.
3519
3520         * Bidi.C:
3521         * BufferView.[Ch]:
3522         * BufferView_pimpl.C:
3523         * FontIterator.[Ch]:
3524         * MenuBackend.C:
3525         * ParagraphParameters.[Ch]:
3526         * buffer.C:
3527         * buffer.h:
3528         * bufferlist.C:
3529         * cursor.[Ch]:
3530         * cursor_slice.[Ch]:
3531         * dociterator.[Ch]:
3532         * errorlist.[Ch]:
3533         * factory.C:
3534         * lfuns.h:
3535         * lyxfind.C:
3536         * lyxfunc.C:
3537         * output_docbook.[Ch]:
3538         * output_latex.[Ch]:
3539         * output_linuxdoc.[Ch]:
3540         * output_plaintext.[Ch]:
3541         * paragraph.[Ch]:
3542         * paragraph_funcs.[Ch]:
3543         * paragraph_pimpl.[Ch]:
3544         * rowpainter.C:
3545         * tabular.[Ch]:
3546         * text.C:
3547         * text2.C:
3548         * toc.C:
3549         * undo.[Ch]: adjust
3550
3551         * frontends/controllers/ControlDocument.C:
3552         * frontends/controllers/ControlErrorList.C:
3553         * frontends/controllers/ControlSpellchecker.C:
3554         * insets/inset.C:
3555         * insets/inset.h:
3556         * insets/insetbase.h:
3557         * insets/insetbibitem.C:
3558         * insets/insetbox.C:
3559         * insets/insetbranch.C:
3560         * insets/insetcaption.C:
3561         * insets/insetcharstyle.C:
3562         * insets/insetcharstyle.h:
3563         * insets/insetcollapsable.C:
3564         * insets/insetcollapsable.h:
3565         * insets/insetert.C:
3566         * insets/insetfloat.C:
3567         * insets/insetfoot.C:
3568         * insets/insetmarginal.C:
3569         * insets/insetnote.C:
3570         * insets/insetoptarg.C:
3571         * insets/insettabular.C:
3572         * insets/insettext.C:
3573         * insets/insettext.h:
3574         * insets/insetwrap.C:
3575         * mathed/math_mboxinset.C:
3576         * mathed/math_nestinset.C:
3577         * mathed/math_scriptinset.C:
3578         * mathed/math_scriptinset.h:
3579         * support/types.h:
3580
3581 2004-03-24  Angus Leeming  <leeming@lyx.org>
3582
3583         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3584         deal with any child processes that have finished but are waiting to
3585         communicate this fact to the rest of LyX.
3586
3587 2004-03-24  Angus Leeming  <leeming@lyx.org>
3588
3589         64-bit compile fixes.
3590
3591         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3592         (c-tor): pass lyx::pos_types rather than ints.
3593
3594         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3595         lyx::pos_type.
3596
3597         * text.C (Delete): compile fix.
3598         (getPar): ensure that function declaration is the same as that in
3599         the header file.
3600
3601 2004-03-23  Angus Leeming  <leeming@lyx.org>
3602
3603         * ispell.C (LaunchIspell):
3604         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3605         a boost::shred_ptr rather than a std::auto_ptr.
3606
3607 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3608
3609         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3610         handle LFUN_FILE_INSERT_*
3611
3612         * lyxrc.C (setDefaults, getDescription, output, read):
3613         * lyxrc.h: remove ps_command
3614
3615 2004-03-22  Angus Leeming  <leeming@lyx.org>
3616
3617         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3618         Ensure that error_handler is processed once only and that all data
3619         is saved before attempting to output any warning messages.
3620
3621         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3622
3623 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3624
3625         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3626
3627 2004-03-19  André Pönitz  <poenitz@gmx.net>
3628
3629         * cursor.[Ch] (reset): take main text inset as argument
3630
3631         * BufferView: adjust
3632         * BufferView_pimpl.C: adjust
3633
3634         * paragraph.[Ch]: fix completely broken operator=()
3635
3636 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3637
3638         * LColor.C (getFromLyXName): make sure that the color name is used
3639         as lowercase.
3640
3641 2004-03-17  Angus Leeming  <leeming@lyx.org>
3642
3643         * lfuns.h:
3644         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3645
3646         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3647         dialog and to kill a forked process.
3648
3649 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3650
3651         * text2.C (setCursorFromCoordinates): fix font problem
3652
3653 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3654
3655         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3656         bogus "rebuild cursor" code
3657
3658 2004-03-11  André Pönitz  <poenitz@gmx.net>
3659
3660         * buffer.[Ch]: use InsetText instead of LyXText as container for
3661         the main lyx text.
3662
3663         * dociterator.[Ch]: drop the BufferView * member which is not needed
3664         anymore after the change to buffer.C
3665
3666         * paragraph_funcs.C:
3667         * text.C:
3668         * text2.C:
3669         * BufferView.[Ch]:
3670         * BufferView_pimpl.[Ch]:
3671         * cursor.[Ch]:
3672         * cursor_slice.[Ch]: adjust
3673
3674         * text3.C: fix bug in mathDispatch
3675
3676 2004-03-08  André Pönitz  <poenitz@gmx.net>
3677
3678         * undo.[Ch]: use 'StableDocumentIterator' as base for
3679         the Undo struct.
3680
3681 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3682
3683         * LaTeXFeatures.C:
3684         * bufferparams.[Ch]: add jurabib support and param.
3685
3686         * LaTeX.C: add FIXME/comment.
3687
3688 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3689
3690         * buffer.C: increment file format to 230.
3691
3692 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3693
3694         * cursor.C (dispatch): avoid infinite loops
3695
3696 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3697
3698         * rowpainter.C (paintSelection): fix x coordinates
3699
3700 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3701
3702         * text.C (rowBreakPoint): fix breaking before displayed insets
3703
3704 2004-03-01  André Pönitz  <poenitz@gmx.net>
3705
3706         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3707
3708         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3709
3710         * Makefile.am:
3711         * BufferView.C:
3712         * BufferView_pimpl.C:
3713         * buffer.C:
3714         * lyxfind.C:
3715         * lyxfunc.C:
3716         * text.C:
3717         * text2.C:
3718         * text3.C: adjust
3719
3720 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3721
3722         * lyxtext.h:
3723         * text.C:
3724         * text2.C:
3725         * rowpainter.C:
3726         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3727         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3728
3729 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3730
3731         * Bidi.[Ch] (computeTables): const correctness
3732         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3733         fill_hfill, fill_label_hfill and x from Row
3734         * lyxtext.h: prepareToPrint returns a RowMetrics
3735         * rowPainter.C: adjust
3736         * text.C (prepareToPrint): use width, not textWidth. adjust
3737         (redoParagraphInternal, cursorX): adjust
3738         * text2.C (getColumnNearX): adjust
3739         (init): put a default value to the top LyXText::width
3740
3741 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3742
3743         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3744
3745 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3746
3747         * lyxtext.h: add FontIterator class
3748
3749         * text.C (FontIterator, operator*, operator->, operator++): add
3750         (rowBreakPoint, setRowWidth): adjust (fixing a
3751         rebreaking bug)
3752
3753 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3754
3755         * BufferView_pimpl.C (workAreaDispatch): allow also
3756         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3757
3758 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3759
3760         * text.C (rowBreakPoint): fix a bug showing with very large insets
3761
3762 2004-02-25  André Pönitz  <poenitz@gmx.net>
3763
3764         * text3.C:
3765         * cursor.[Ch]: move some mathed specific code to mathed
3766
3767 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3768
3769         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3770         use_tempdir in preferences
3771         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3772         tempfile creation
3773         * lyx_main.C: ensure that tempdir is valid
3774         * lyxlex.h: correct typo
3775         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3776         * paragraph.[Ch] (isMultiLingual): make const
3777         * cursor.[Ch] (openable): make const
3778
3779 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3780
3781         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3782
3783 2004-02-20  André Pönitz  <poenitz@gmx.net>
3784
3785         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3786
3787         * cursor.[Ch]: prepare for localized getStatus()
3788
3789         * lyxtext.h:
3790         * tabular.C:
3791         * text.C:
3792         * text2.C:
3793         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3794
3795 2004-02-20  André Pönitz  <poenitz@gmx.net>
3796
3797         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3798
3799 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3800
3801         * text2.C (setCursorFromCoordinates): switch to absolute coords
3802         (cursorUp): adjust
3803         (cursorDown): adjust
3804         * text3.C (dispatch): adjust
3805
3806 2004-02-16  André Pönitz  <poenitz@gmx.net>
3807
3808         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3809           insets/ChangeLog)
3810
3811         * cursor_slice.[Ch]: remove unneeded acessor function
3812
3813         * lyxtext.h: rename rtl() to isRTL()
3814
3815         * rowpainter.C:
3816         * tabular.C:
3817         * text.C:
3818         * text2.C:
3819         * text3.C: adjust
3820
3821 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3822
3823         * rowpainter.C (paintSelection): coord fix
3824
3825 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3826
3827         * Spacing.C: compile fix
3828
3829 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3830
3831         * cursor.C (dispatch): restore current_ before returning
3832
3833 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3834
3835         * text2.C (cursorUp, cursorDown): fix coords
3836         (moveUp): fix crash
3837
3838 2004-02-12  André Pönitz  <poenitz@gmx.net>
3839
3840         * lyxtext.h:
3841         * text.C:
3842         * text2.C:
3843         * text3.C: add LCursor & parameter to most cursor movement functions
3844           remove usage of LyXText::cursorRow() and cursorPar()
3845
3846         * cursor.[Ch]: add textRow() needed members
3847
3848         * BufferView.C:
3849         * BufferView_pimpl.C:
3850         * paragraph.[Ch]:
3851         * BufferView.C:
3852         * BufferView_pimpl.C: adjust
3853
3854 2004-02-11  André Pönitz  <poenitz@gmx.net>
3855
3856         * lyxfunc.C:
3857         * BufferView.[Ch]:
3858         * BufferView_pimpl.C: shift undo/redo handling
3859
3860         * cursor.[Ch]: fix mathed crash
3861
3862         * lyxfind.C:
3863         * lyxtext.h: move selectionAsText to LCursor
3864
3865         * output_latex.C:
3866         * paragraph.C:
3867         * text.C:
3868         * text2.C:
3869         * text3.C: adjust
3870
3871         * rowpainter.C: fix excessive drawing
3872
3873 2004-02-06  André Pönitz  <poenitz@gmx.net>
3874
3875         * BufferView.[Ch]:
3876         * BufferView_pimpl.[Ch]:
3877         * text3.C: move some text specific LFUN handling
3878
3879 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3880
3881         * text3.C (checkInsetHit): adjust coords
3882         * text2.C (getColumnNearX): adjust coords
3883         (edit): adjust coords
3884         * text.C (getRowNearY): add two asserts
3885
3886 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3887
3888         * converter.C:
3889         * format.C: add using std::distance to compile on gcc 2.95/stlport
3890
3891 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3892
3893         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3894
3895 2004-02-04  André Pönitz  <poenitz@gmx.net>
3896
3897         * BufferView.[Ch] (insertInset):
3898         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3899
3900         * text2.C:
3901         * text3.C: adjust
3902
3903 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3904
3905         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3906         on the default clause of the switch
3907         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3908         wasn't catched by LCursor::dispatch
3909
3910 2004-02-03  André Pönitz  <poenitz@gmx.net>
3911
3912         * BufferView.C:
3913         * cursor.[Ch]: some additional asserts
3914
3915         * undo.[Ch]: remove LyXText dependency in interface
3916
3917         * lyxfunc.C: adjust
3918
3919         * lyxtext.h (firstPar, lastPar): remove dead functions
3920
3921         * text.C:
3922         * text2.C:
3923         * text3.C:
3924         * paragraph.[Ch]: adjust
3925
3926 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3927
3928         * lyxfind.C (find): fix argument order in call to ::find
3929
3930 2004-02-02  André Pönitz  <poenitz@gmx.net>
3931
3932         * cursor.[Ch]: remove direct access to anchor
3933
3934         * text.C: remove findText() hack
3935
3936 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3937
3938         * iterators.[Ch] (lockPath): remove in favour of...
3939         * BufferView.[Ch] (setCursor): this addition
3940         * BufferView.C (putSelectionAt): adjust
3941         * undo.C (performUndoOrRedo): adjust
3942         * lyxfunc.C (dispatch): adjust
3943
3944 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3945
3946         * iterators.C (lockPath): add a missing slice
3947         * undo.C (performUndoOrRedo): remove redundant positioning code
3948
3949 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * vc-backend.C (scanMaster): ";" -> ';'
3952
3953 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3956         std::binary_function
3957
3958         * lyxtextclass.C (compare_name): rename to...
3959         (LayoutNamesEqual): ...this
3960
3961         * lyxlex_pimpl.C (compare_tags): inherit from
3962         std::binary_function, put back into anon namespace
3963
3964         * lyxfind.C (MatchString): inherig from std::binary_function
3965         (findChange): use empty() istead of !size()
3966
3967         * format.C (FormatNamesEqual): new functor
3968         (getFormat): use it
3969         (getNumber): use it
3970         (add): use it
3971         (erase): use it
3972         (setViewer): use it
3973
3974         * converter.C (compare_Converter): rename to...
3975         (ConverterEqual): ...this, and fixup a bit.
3976         (getConverter): use it, and make function const
3977         (getNumber): use it, and make function const
3978         (add): use it
3979         (erase): use it:
3980
3981         * bufferlist.C: add using boost::bind
3982
3983         * MenuBackend.C (MenuNamesEqual): new functor
3984         (hasMenu): use it, and make function const
3985         (hasSubmenu): use nested bind to get rid of compare_memfun.
3986
3987 2004-01-30  André Pönitz  <poenitz@gmx.net>
3988
3989         * BufferView_pimpl.C:
3990         * cursor.C:
3991         * cursor.h:
3992         * cursor_slice.[Ch]:
3993         * lyxfunc.C:
3994         * lyxtext.h:
3995         * paragraph_funcs.C:
3996         * paragraph_funcs.h:
3997         * rowpainter.C:
3998         * text.C:
3999         * text2.C:
4000         * text3.C: move some of the edit(x,y) handling to the insets
4001         some coordinate changes.
4002
4003 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4004
4005         * text.C: add using statements for std::advance and std::distance
4006
4007         * paragraph.C: add using statement for std::distance
4008
4009         * lyxfind.C: add using statement for std::advance
4010
4011         * cursor.C (region): remove std:: from swap
4012         (openable): use nucleus in stead of operator->
4013
4014         * BufferView.C: add using statements for std::distance and std::swap
4015
4016 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * iterators.C: Remove the pimple, move the needed structures to
4019         the header file. Create accessor for the positions stack.
4020         (asPosIterator): remove function
4021
4022         * PosIterator.C (PosIterator): move constructors to top of file
4023         (PosIterator): reimplement the constructor taking a ParIterator in
4024         terms of setFrom.
4025         (setFrom): new function
4026         (operator!=): inline it
4027
4028 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4029
4030         * lyxfind.C (replaceAll): use std::advance
4031
4032         * iterators.h: inherit from std::iterator.
4033
4034         * PosIterator.C (advance, distance): remove
4035         * PosIterator.h: interit from std::iterator.
4036
4037 2004-01-26  André Pönitz  <poenitz@gmx.net>
4038
4039         * BufferView.[Ch]:
4040         * BufferView_pimpl.[Ch]:
4041         * InsetList.[Ch]:
4042         * PosIterator.[Ch]:
4043         * buffer.h:
4044         * bufferview_funcs.C:
4045         * cursor.[Ch]:
4046         * cursor_slice.h:
4047         * factory.[Ch]:
4048         * iterators.[Ch]:
4049         * lyxfind.C:
4050         * lyxfunc.C:
4051         * lyxtext.h:
4052         * output_docbook.C:
4053         * output_latex.C:
4054         * output_linuxdoc.C:
4055         * output_plaintext.C:
4056         * paragraph.[Ch]:
4057         * paragraph_funcs.[Ch]:
4058         * paragraph_pimpl.[Ch]:
4059         * rowpainter.C:
4060         * tabular.C:
4061         * tabular.h:
4062         * text.C:
4063         * text2.C:
4064         * text3.C: more IU:  dumps most of the rest of the mathcursor
4065     implementation into cursor.[Ch]; "globalize" a bit of it.
4066
4067 2004-01-25  Angus Leeming  <leeming@lyx.org>
4068
4069         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4070
4071 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4072
4073         * LaTeXFeatures.h: add nice_ and nice() const
4074         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4075
4076 2004-01-20  André Pönitz  <poenitz@gmx.net>
4077
4078         * BufferView.[Ch]:
4079         * BufferView_pimpl.C:
4080         * PosIterator.C:
4081         * bufferview_funcs.C:
4082         * cursor.[Ch]:
4083         * cursor_slice.[Ch]:
4084         * factory.C:
4085         * iterators.C:
4086         * lyx_cb.C:
4087         * lyxfind.C:
4088         * lyxfunc.C:
4089         * lyxtext.h:
4090         * rowpainter.C:
4091         * text.C:
4092         * text2.C:
4093         * text3.C:
4094         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4095           LCursor and mathcursor parts to LCursor and InsetBase.
4096
4097 2004-01-15  André Pönitz  <poenitz@gmx.net>
4098
4099         * cursor_slice.[Ch]: add a few covienience functions
4100
4101         * funcrequest.[Ch]: remove BufferView * member
4102
4103         * BufferView_pimpl.C:
4104         * cursor.C:
4105         * factory.[Ch]:
4106         * lyxfind.[Ch]:
4107         * lyxfunc.C:
4108         * lyxtext.h:
4109         * text3.C:
4110         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4111
4112 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4113
4114         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4115         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4116
4117 2004-01-13  André Pönitz  <poenitz@gmx.net>
4118
4119         * textcursor.[Ch]:
4120         * lyxtext.h: hide cursor and selection anchor behind accessor function
4121
4122         * BufferView.C:
4123         * BufferView_pimpl.[Ch]:
4124         * PosIterator.C:
4125         * bufferview_funcs.C:
4126         * cursor.h:
4127         * lyxfind.C:
4128         * lyxfunc.C:
4129         * text.C:
4130         * text2.C:
4131         * text3.C:
4132         * undo.C: adjust
4133
4134         * cursor.h:
4135         * cursor_slice.[Ch]: some integer type changes for inset unification
4136
4137         * lyxcursor.[hC]: remove, it's CursorSlice now.
4138
4139         * Makefile.am:
4140         * BufferView_pimpl.[Ch]:
4141         * bufferview_funcs.C:
4142         * cursor_slice.C:
4143         * lyxtext.h:
4144         * text.C:
4145         * text2.C:
4146         * text3.C:
4147         * textcursor.[Ch]: adjust
4148
4149 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4150
4151         * text2.C (undoSpan): add and use
4152         * text.C (breakParagraph): use undoSpan (fix bug 578)
4153         * lyxtext.h: adjust
4154
4155 2004-01-08  Angus Leeming  <leeming@lyx.org>
4156
4157         * BufferView_pimpl.C (MenuInsertLyXFile):
4158         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4159         * lyxfunc.C (menuNew, open, doImport):
4160         FileFilterList change to the FileDialog open and save functions.
4161
4162 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4163
4164         * ShareContainer.h: make isEqual and isUnique adaptable
4165
4166         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4167
4168 2004-01-07  Angus Leeming  <leeming@lyx.org>
4169
4170         * LyXAction.C:
4171         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4172
4173         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4174
4175         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4176         functions replacing find, replace and replaceAll.
4177
4178         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4179         LFUN_WORDFIND(FORWARD|BACKWARD).
4180
4181 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4182
4183         * text.C (breakParagraph): remove an outdated #warning
4184
4185 2004-01-07  André Pönitz  <poenitz@gmx.net>
4186
4187         * lyxfind.C: somewhat clearer logic
4188
4189         * text.C: prevent crash in cursorX on unitialized row cache
4190
4191 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4192
4193         * lyxcursor.[Ch] (operator>): add
4194         * textcursor.C (selStart, selEnd): use std::min and std::max
4195
4196 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4197
4198         * Chktex.C: include boost/format.hpp
4199
4200 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4201
4202         * InsetList.C: replace functor MathcIt with adaptable functor
4203         InsetTablePosLess
4204         (insetIterator): modify accordingly
4205
4206         * BranchList.h: move the BranchNamesEqual functor here from...
4207         * BranchList.C: ... to here
4208
4209         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4210         SameName and match.
4211         (add): replace a finding loop with std::find_if.
4212
4213 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4214
4215         * output_docbook.C: moving LatexParam functionality into
4216         .layout files
4217
4218 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4219
4220         * buffer.C: increment format to 229.
4221
4222 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4223
4224         * LaTeXFeatures.C:
4225         * lyx_sty.[Ch]: remove minipageindent_def
4226
4227         * LyXAction.C:
4228         * factory.C:
4229         * lfuns.h:
4230         * lyxfunc.C:
4231         * text3.C: remove LFUN_INSET_MINIPAGE
4232
4233 2003-12-28  Angus Leeming  <leeming@lyx.org>
4234
4235         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4236
4237 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4238
4239         * text2.C (setParagraph): fix off-by-one crash
4240
4241 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4242
4243         * output_docbook.C: header stuff for AGU
4244
4245 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4246
4247         * text2.C (redoCursor): remove
4248         * text.C:
4249         * text3.C:
4250         * BufferView_pimpl.C: remove calls to redoCursor and
4251         setCursor(cursor.par(), cursor.pos()) all around
4252
4253 2003-12-15  Angus Leeming  <leeming@lyx.org>
4254
4255         * buffer.C: up the format to 228.
4256
4257 2003-12-15  André Pönitz  <poenitz@gmx.net>
4258
4259         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4260         slices
4261
4262         * Makefile.am:
4263
4264         * BufferView_pimpl.C:
4265         * cursor.[Ch]:
4266         * lyxcursor.[Ch]:
4267         * rowpainter.[Ch]:
4268         * lyxtext.h:
4269         * text.C:
4270         * text2.C:
4271         * text3.C: adjust
4272
4273 2003-12-15  Angus Leeming  <leeming@lyx.org>
4274
4275         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4276         than getFromGUIName to manipulate the color.
4277
4278 2003-12-14  Angus Leeming  <leeming@lyx.org>
4279
4280         * BranchList.[Ch]: minimize the API.
4281         (Branch::getBranch, getColor): now return a 'const &'.
4282         (Branch::setSelected) now returns a bool set to true if the
4283         selection status changes.
4284         (BranchList::clear, size, getColor, setColor, setSelected,
4285         allBranches, allSelected, separator): removed.
4286         (BranchList::find): new functions, returning the Branch with
4287         the given name.
4288         (BranchList::add, remove): return a bool indicating that
4289         the operation was successful.
4290
4291         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4292         new InsetBranch::isBranchSlected member function.
4293
4294         * LColor.[Ch]: mimimize the API.
4295         (fill): renamed as addColor and made private.
4296         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4297         versions of these functions taking a string arg have been removed.
4298
4299         * bufferparams.C (readToken):
4300         * lyxfunc.C (dispatch):
4301         * lyxrc.C (read): changes due to the altered BranchList and
4302         LColor APIs.
4303
4304         * factory.C (createInset, readInset): changes due to altered
4305         InsetBranch c-tor.
4306
4307 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4308
4309         * factory.C:
4310         * lyxfunc.C: remove insetminipage. "minipage-insert"
4311         now produces a frameless minipage box inset.
4312
4313 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4314
4315         * textcursor.[Ch] (selStart,selEnd): add new methods
4316         remove selection::start, end, use LyXCursor::operator<
4317         * lyxcursor.[Ch] (operator<): add
4318         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4319         * BufferView.[Ch] (unsetXSel): add
4320         * text2.C (clearSelection): use unsetXSel,adjust
4321         * text.C: adjust
4322         * text3.C: adjust
4323         * rowpainter.C: adjust
4324         * bufferview_funcs.C (put_selection_at): adjust
4325
4326 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4327
4328         * BufferView_pimpl.C: small coord. correction
4329
4330 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4331
4332         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4333         dragging over the splash screen.
4334
4335 2003-12-11  Angus Leeming  <leeming@lyx.org>
4336
4337         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4338         as it is now handled in LyXText::dispatch.
4339
4340         * text3.C (doInsertInset): remove a level of nesting.
4341
4342 2003-12-11  Angus Leeming  <leeming@lyx.org>
4343
4344         * factory.C (createInset): changes due to the changed interface to
4345         InsetCommandMailer::string2params.
4346
4347 2003-12-10  Angus Leeming  <leeming@lyx.org>
4348
4349         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4350         'dialog-show-new-inset <inset name>'
4351
4352 2003-12-10  Angus Leeming  <leeming@lyx.org>
4353
4354         * buffer.C: up the format to 227.
4355
4356         * factory.C: the box inset is now identified simply by 'Box'.
4357
4358 2003-12-10  Angus Leeming  <leeming@lyx.org>
4359
4360         * buffer.C: up the format to 226.
4361
4362         * factory.C: the note inset is now identified simply by 'Note'.
4363
4364 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4365
4366         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4367         when a pit is enough. Standarize a couple of loops.
4368
4369 2003-12-05  Angus Leeming  <leeming@lyx.org>
4370
4371         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4372         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4373         data to the re-worked "log" dialog.
4374
4375 2003-12-03  André Pönitz  <poenitz@gmx.net>
4376
4377         * PosIterator.C:
4378         * iterators.C:
4379         * lyxtext.h:
4380         * output_latex.C:
4381         * paragraph_funcs.C:
4382         * text.C:
4383         * text2.C: use Inset::getText instead of Inset::getParagraph
4384
4385 2003-12-03  André Pönitz  <poenitz@gmx.net>
4386
4387         * buffer.[Ch]:
4388         * lyxtext.h:
4389         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4390         InsetText::read() as LyXText::read()
4391
4392 2003-12-02  Angus Leeming  <leeming@lyx.org>
4393
4394         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4395         type. Add a comment in the implementation that the function uses
4396         the stream's bad() function rather than fail() as the std::streams
4397         would do.
4398
4399 2003-12-02  André Pönitz  <poenitz@gmx.net>
4400
4401         * lyxlex.[Ch]: make interface more similar to std::stream
4402
4403         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4404
4405 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4406
4407         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4408
4409 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4410
4411         * vspace.[Ch]: remove VSpace::NONE
4412
4413 2003-12-01  André Pönitz  <poenitz@gmx.net>
4414
4415         * buffer.[Ch]:
4416         * lyxtext.h: move ParagraphList member to LyXText
4417         rename LyXText::ownerParagraphs to LyXText::paragraph
4418
4419         * CutAndPaste.C:
4420         * bufferview_funcs.C:
4421         * iterators.[Ch]:
4422         * lyx_cb.C:
4423         * paragraph.C:
4424         * rowpainter.C:
4425         * tabular.C:
4426         * text.C:
4427         * text2.C:
4428         * text3.C: adjust
4429
4430         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4431
4432         * undo.C: fix cursor positioning
4433
4434 2003-12-01  John Levon  <levon@movementarian.org>
4435
4436         * BufferView_pimpl.C: fix a crash on exit with
4437         a buffer open
4438
4439 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4440
4441         * BranchList.C: fix setSelected() method.
4442
4443 2003-11-28  André Pönitz  <poenitz@gmx.net>
4444
4445         * ParagraphParameters.[Ch]:
4446         * ParameterStruct.h: remove space above/below from Paragraph to
4447          InsetVSpace
4448
4449         * BufferView_pimpl.C:
4450         * factory.C:
4451         * lyxfunc.C:
4452         * lyxtext.h:
4453         * output_latex.C:
4454         * paragraph.C:
4455         * paragraph_funcs.C:
4456         * rowpainter.[Ch]:
4457         * text.C:
4458         * text2.C:
4459         * text3.C: adjust
4460
4461 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4462
4463         * factory.C: Syntax change for CharStyles
4464
4465 2003-11-28  André Pönitz  <poenitz@gmx.net>
4466
4467         * BufferView.[Ch]:
4468         * BufferView.[Ch]:
4469         * buffer.[Ch]:
4470         * buffer.[Ch]: move LyXText member
4471
4472 2003-11-28  André Pönitz  <poenitz@gmx.net>
4473
4474         * BufferView.[Ch]: make LyXText * text a private member
4475
4476         * BufferView_pimpl.C:
4477         * cursor.C:
4478         * iterators.C:
4479         * lyx_cb.C:
4480         * lyxfind.C:
4481         * lyxtext.h:
4482         * rowpainter.[Ch]:
4483         * text.C:
4484         * text2.C:
4485         * undo.C: adjust
4486
4487         * output_plaintext.C: cleanup
4488
4489 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4490
4491         * buffer.C:
4492         * lyxtextclass.[Ch]: parametrize SGML document header
4493
4494 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4495
4496         * converter.[Ch]:
4497         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4498         getFlavor().
4499
4500 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4501
4502         * text2.C (setFont): rework using PosIterator (no more recursive)
4503         (setCharFont): no more needed
4504         (setLayout): no more selection cursors fiddling (done by redoCursor)
4505         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4506         destroy remaining ones)
4507
4508 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4509
4510         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4511         * lyxtext.h: ditto
4512         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4513         selection cursors
4514         * lyxfunc.C: adjust
4515         * text3.C: adjust + re-allow multi par depth changes
4516         * textcursor.C: simplify a bit
4517
4518 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4519
4520         * src/buffer.C:
4521         * src/lyxlayout.C:
4522         * src/lyxlayout.h:
4523         * src/lyxtext.h:
4524         * src/output_docbook.C:
4525         * src/output_latex.C:
4526         * src/paragraph.C:
4527         * src/paragraph.h:
4528         * src/sgml.C:
4529         * src/sgml.h:
4530         * src/text2.C: Introducing a number of tags parametrizing various
4531         XML formats that we may want to support
4532
4533 2003-11-25  André Pönitz  <poenitz@gmx.net>
4534
4535         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4536
4537         * lyxtext.h (leftMargin/rightMargin): simplify interface
4538
4539         * rowpainter.C:
4540         * text.C:
4541         * text2.C:
4542         * text3.C: adjust
4543
4544 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4545
4546         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4547         master file to any child files. Fixes bug 546.
4548
4549 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4550
4551         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4552
4553 2003-11-24  André Pönitz  <poenitz@gmx.net>
4554
4555         * rowpainter.C: simplification
4556
4557         * text2.C (updateCounters): remove call to redoParagraph on
4558         changed labels as this is far too expensive.
4559
4560 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4561
4562         * converter.C (convert): fix a crash: this function gets
4563         called with buffer == 0 from importer code.
4564
4565 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * text3.C (cursorPrevious): make sure that we do not compare
4568         iterators form different containers.
4569         (cursorNext): ditto
4570
4571         * rowpainter.C (paintSelection): make sure that we do not compare
4572         iterators from different containers.
4573
4574         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4575         iterators from different ParagraphList containers.
4576         [NEXT] ditto
4577
4578         * text2.C (LyXText): change order of initialization slightly
4579         (operator=): new function. copy all variables except cache_par_
4580         (moveUp): make sure that we do not compare iterators from
4581         different ParagraphList constainers.
4582         (moveDown): ditto
4583
4584         * text.C (firstPar): new function
4585         (lastPar): new function
4586         (endPar): new function
4587
4588         * lyxtext.h: move things around and group public functions, public
4589         variables, private functions, private variables
4590
4591 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4592
4593         * factory.C: change call to InsetERT constructor to avoid
4594         additional invocation of method status
4595         * text2.C (toggleInset): remove redundant update() call
4596         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4597         instead of a Bufferview pointer
4598
4599 2003-11-21  André Pönitz  <poenitz@gmx.net>
4600
4601         * rowpainter.C: simplification
4602
4603 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4604
4605         * text3.C (dispatch): make possible to extend a word/row selection
4606         with the mouse
4607
4608 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4609
4610         * lyxtext.h: x0_,y0_ -> xo_,yo_
4611         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4612         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4613         * rowpainter.C (paintRows): paint full paragraphs
4614
4615 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4616
4617         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4618         screen coordinates)
4619
4620 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4621
4622         * lyxtext.h: add x0_, y0_
4623         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4624         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4625
4626 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4627
4628         * text2.C (setCursorIntern): move the x_target update here *
4629         * text3.C: change some bv() to true/false in calls to
4630         cursorUp/Down/Right/Left
4631         * cursor.C: use helper function.
4632
4633 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4634
4635         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4636         * paragraph_funcs.[Ch]: correct comment
4637         * rowpainter.C: do not paint selections away from bv->cursor()
4638         Fix a long standing selection painting bug.
4639         * text3.C: generalize mouse-selection code to LyXTexts other that
4640         top one
4641         * textcursor.C: do not use y coords if we can use par offsets
4642
4643 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4644
4645         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4646         cursor position after e.g. inset insert)
4647
4648 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4649
4650         * lyxfind.C (replace): adjust to locking removal + some
4651         code simplification
4652
4653 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4654
4655         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4656         of the path
4657
4658 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4659
4660         * lyxlayout.[Ch]:
4661         * output_docbook.C: XML sanitation: new layout
4662         parameters InnerTag and CommandDepth
4663
4664 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4665
4666         * BufferView_pimpl.C:
4667         * factory.C:
4668         * text3.C: Fix the insertion and modification of button-style
4669         insets
4670
4671 2003-11-13  André Pönitz  <poenitz@gmx.net>
4672
4673         * InsetList.[Ch]: remove deleteLyXText
4674
4675         * paragraph.[Ch]: cache beginOfBody position
4676
4677         * Bidi.C:
4678         * text.C:
4679         * text2.C:
4680         * text3.C: remove superfluous update() calls
4681
4682         * vspace.C: cleanup
4683
4684 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4685
4686         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4687         * BufferView.C (fitLockedInsetCursor): remove
4688         * cursor.[Ch] (getDim): add
4689         * text.C (getRowNearY): add faster version
4690         * text3.C: remove some update calls
4691
4692 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4693
4694         * LaTeXFeatures.C:
4695         * LyXAction.C:
4696         * MenuBackend.C:
4697         * MenuBackend.h:
4698         * dispatchresult.h:
4699         * factory.C:
4700         * lfuns.h:
4701         * lyxfunc.C:
4702         * lyxtextclass.C:
4703         * lyxtextclass.h:
4704         * text3.C: The Character Style /XML short element patch.
4705
4706 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4707
4708         * text3.C:
4709         * factory.C: Small step to solving 'unable to insert some insets'
4710         problem
4711
4712 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4713
4714         * cursor.[Ch] (updatePos): new function for updating the y
4715         position of the tip inset
4716         * bufferview_funcs.C (put_selection_at):
4717         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4718
4719 2003-11-11  André Pönitz  <poenitz@gmx.net>
4720
4721         * text.C: remove big comment on invalid Paragraph pointers as it is
4722         not valid anymore
4723
4724 2003-11-11  André Pönitz  <poenitz@gmx.net>
4725
4726         * text_funcs.[Ch]: merge with ...
4727
4728         * text.C: ... this
4729
4730         * lyxtext.h:
4731         * text2.C:
4732         * text3.C: adjust
4733
4734         * Makefile.am: remove text_funcs.[Ch]
4735
4736 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4737
4738         * cursor.C (getPos): return absolute cached y coord
4739
4740         * BufferView_pimpl.C (fitCursor): new simplistic code
4741         (workAreaDispatch): add a fitCursor call
4742
4743 2003-11-10  André Pönitz  <poenitz@gmx.net>
4744
4745         * BufferView.[Ch]:
4746         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4747
4748 2003-11-10  André Pönitz  <poenitz@gmx.net>
4749
4750         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4751         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4752         indicate that the cursor needs to leave an inset
4753
4754         * lyxtext.h: remove inset locking
4755
4756         * cursor.[Ch]: re-implement functionality provided by inset locking
4757
4758         * BufferView.[Ch]:
4759         * BufferView_pimpl.[Ch]:
4760         * LyXAction.C:
4761         * bufferview_funcs.[Ch]:
4762         * factory.C:
4763         * funcrequest.[Ch]:
4764         * iterators.C:
4765         * lyx_cb.C:
4766         * lyxfind.C:
4767         * lyxfunc.C:
4768         * text.C:
4769         * text2.C:
4770         * text3.C:
4771         * undo.C: adjust
4772
4773 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4774
4775         * PosIterator.[Ch]: replace the stack with a vector, add inset
4776         accesor
4777         * iterators.[C]: adjust
4778
4779 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4780
4781         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4782         replaced
4783         * paragraph_funcs.C (readParToken): put the correct id in the
4784         error item, not the id of the top paragraph
4785
4786 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4787
4788         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4789         * bufferview_funcs.C (put_selection_at): use the above
4790
4791 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4792
4793         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4794
4795 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4796
4797         * output_linuxdoc.h:
4798         * output_plaintext.h:
4799         * output.h:
4800         * output_docbook.h: add #include statements
4801
4802 2003-11-05  José Matos  <jamatos@lyx.org>
4803
4804         * output_docbook.[Ch]:
4805         * output_latex.[Ch]:
4806         * output_linuxdoc.[Ch]:
4807         * output_plaintext.[Ch]: New files for output formats.
4808         * output.[Ch]: New file for helper functions.
4809
4810         * buffer.[Ch]:
4811         * paragraph_funcs.[Ch]: output functions moved to new files.
4812
4813         * outputparams.h: rename of latexrunparams.h
4814
4815         * LaTeX.[Ch]:
4816         * buffer.[Ch]:
4817         * bufferlist.[Ch]:
4818         * converter.[Ch]:
4819         * exporter.C:
4820         * paragraph.[Ch]:
4821         * paragraph_funcs.[Ch]:
4822         * paragraph_pimpl.[Ch]:
4823         * tabular.[Ch]: rename ascii to plaintext
4824         and LatexRunParams to OutputParams.
4825
4826 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * iterators.[Ch] (text): require bv argument
4829         * undo.C (recordUndo):
4830         * lyxfunc.C (dispatch):
4831         * bufferview_funcs.C (put_selection_at): adjust
4832
4833 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4834
4835         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4836
4837 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4838
4839         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4840         nestings
4841
4842 2003-11-04  André Pönitz  <poenitz@gmx.net>
4843
4844         * cursor.[Ch]: restructure
4845
4846         * BufferView.[Ch]:
4847         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4848
4849         * iterators.[Ch] (asCursor): remove
4850
4851         * lfuns.h: remove LFUN_INSET_EDIT
4852
4853         * lyxfunc.C:
4854         * tabular.C:
4855         * text.C:
4856         * text2.C:
4857         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4858
4859 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4860
4861         * lyxfind.[Ch]: complete overhaul
4862         * BufferView_pimpl.C:
4863         * lyxfunc.C: adjust
4864         * paragraph.[Ch] (insert): add
4865
4866 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4867
4868         * BufferView.[Ch]:
4869         * lyxtext.h:
4870         * text.C: remove dead spellcheck code
4871
4872 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * dispatchresult.h: add a val setter
4875
4876         * cursor.C (dispatch): use a tempvar for data_[i]
4877
4878 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4879
4880         * PosIterator.[Ch]: compile fix
4881
4882 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4883
4884         * text.C (cursorPar): deactivate the cursor cache
4885
4886 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4887
4888         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4889
4890 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4891
4892         * text3.C (dispatch): adjust for new DisptchResult semantics.
4893
4894         * lyxfunc.C (dispatch): handle update when return from
4895         Cursor::dispatch, adjust for new DispatchResult semantics.
4896
4897         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4898         DispatchResult(true) mean to not update. Add class functions for
4899         setting dispatched and update, as well as reading.
4900
4901         * cursor.C (dispatch): don't handle update here
4902
4903 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4906         * trans_mgr.C: adjust
4907
4908         * paragraph_funcs.C (readParToken): exception safety
4909
4910         * lyxvc.h: store the vcs pointer in a scoped_ptr
4911         * lyxvc.C: adjust
4912
4913         * lyxsocket.C (serverCallback): exception safety
4914
4915         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4916
4917         * ispell.C (clone): make it return a auto_ptr
4918
4919         * factory.C (createInset): exception safety
4920         (readInset): exception safety
4921
4922         * bufferlist.C (newBuffer): exception safety
4923
4924         * Thesaurus.C (Thesaurus): use initialization for aik_
4925
4926         * MenuBackend.C (expandToc): exception safety.
4927
4928 2003-11-03  André Pönitz  <poenitz@gmx.net>
4929
4930         * buffer.C:
4931         * buffer.h:
4932         * bufferview_funcs.C: remove getInsetFromId()
4933
4934         * lyxcursor.[Ch]:
4935         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4936
4937         * lyxfunc.C:
4938         * text2.C:
4939         * text3.C: adjust
4940
4941 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4942
4943         * PosIterator.C (distance, advance): new
4944         * bufferview_funcs.[Ch] (put_selection_at): new
4945         * iterators.[Ch] (lockPath): new
4946
4947 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4948
4949         * iterators.[Ch] (asPosIterator): added
4950         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4951         * PosIterator.[Ch]: added
4952
4953 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4954
4955         * text3.C:
4956         * lyxfunc.C:
4957         * cursor.C (dispatch):
4958         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4959
4960         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4961         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4962         contructor, add a class function dispatched. Remove operator>=
4963
4964 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4965
4966         * debug.C: only use the default constructor for debugstream
4967         (lyxerr) here.
4968
4969         * main.C (main): include debug.h and setup the lyxerr streambuf
4970         here.
4971
4972 2003-10-31  José Matos  <jamatos@lyx.org>
4973
4974         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4975
4976         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4977         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4978         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4979         * paragraph_pimpl.C (simpleTeXSpecialC):
4980         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4981         add LatexRunParams argument.
4982
4983         * exporter.C (Export): change call accordingly.
4984
4985         * latexrunparams.h: add new member to take care of the other backends.
4986 2003-10-30  José Matos  <jamatos@lyx.org>
4987
4988         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4989         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4990         factorise code for paragraph output.
4991         * buffer.[Ch]:
4992         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4993         move functions.
4994
4995 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * text3.C (dispatch):
4998         * lyxfunc.C (dispatch):
4999         * cursor.C (dispatch):
5000         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5001
5002         * dispatchresult.h: make the dispatch_result_t ctor explicit
5003
5004 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5005
5006         * sgml.[Ch]:
5007         * buffer.C: small refactoring of docbook stuff
5008
5009 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5012         meaning.
5013
5014 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5015
5016         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5017         operator dispatch_result_t, and operators for == != and >=
5018
5019         * cursor.C (dispatch): adjust for operator dispatch_result_t
5020         removal. comment out call to update
5021
5022         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5023
5024 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * text3.C:
5027         * text2.C:
5028         * text.C:
5029         * lyxtext.h:
5030         * lyxfunc.C:
5031         * cursor.C:
5032         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5033         (dispatch):
5034
5035         * dispatchresult.h: new file, DispatchResult broken out of
5036         insets/insetbase.h
5037
5038         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5039
5040 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5041
5042         * text.C (rowBreakPoint): put a hack inside #if 0
5043
5044 2003-10-28  André Pönitz  <poenitz@gmx.net>
5045
5046         * lyxtext.h:
5047         * metricsinfo.C:
5048         * paragraph_funcs.C:
5049         * rowpainter.C:
5050         * text.C:
5051         * text2.C: general cleanup (lots of small stuff)
5052
5053 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5054
5055         * text2.C (cursorEnd): simple fix to the "end key goes to one
5056         before the end on last row" bug
5057
5058 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5059
5060         * text.C (backspace): fix the "zombie characters"
5061
5062 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5063
5064         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5065
5066 2003-10-27  André Pönitz  <poenitz@gmx.net>
5067
5068         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5069
5070         * factory.C: handle new InsetPagebreak, InsetLine
5071
5072         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5073         and move handling into new InsetPagebreak, InsetLine
5074
5075         * BufferView_pimpl.C:
5076         * LyXAction.C:
5077         * ParagraphParameters.C:
5078         * ParameterStruct.h:
5079         * lyxfunc.C:
5080         * lyxtext.h:
5081         * paragraph.C:
5082         * paragraph.h:
5083         * paragraph_funcs.C:
5084         * paragraph_pimpl.C:
5085         * rowpainter.C:
5086         * text.C:
5087         * text2.C:
5088         * text3.C: adjust
5089
5090 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5091
5092         * text.C:
5093         * lyxrow_funcs.[Ch]:
5094         * Bidi.C:
5095         * paragraph.C:
5096         * lyxtext.h:
5097         * rowpainter.C:
5098         * text2.C:
5099         * text3.C: remove lastPos uses in favour of Row::endpos
5100
5101 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * undo.C (performUndoOrRedo): fix two crashes by setting a
5104         cursor by hand and reordering some calls. Use bv->lockInset instead
5105         of inset->edit because the latter loses cursor information
5106
5107 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5108
5109         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5110         by Martin
5111         (rowBreakPoint): fix width. change point to point + 1.
5112         Add a missing check.
5113
5114 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5115
5116         * MenuBackend.C:
5117         * lyxfunc.C: fix (at least partly) the problems
5118         with the Nav menu and headers inside branch insets
5119         reported by Kayvan
5120
5121 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5122
5123         * paragraph.C (getChar): add strong asserts
5124
5125         * lyxrow_funcs.C (lastPos): remove hideous hack
5126
5127         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5128         (fill): adjust to that (avoid an infinite loop)
5129
5130 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5131
5132         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5133
5134 2003-10-23  André Pönitz  <poenitz@gmx.net>
5135
5136         * RowList_fwd.h: change list<> to vector<> to gain speed
5137         after suggestion from Alfredo
5138
5139 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5140
5141         * lyxtext.h: move the bidi stuff from here...
5142         * text.C: and here
5143         * text2.C: and here
5144         * Bidi.[Ch]: ... to here
5145
5146 2003-10-23  André Pönitz  <poenitz@gmx.net>
5147
5148         * lyxtext.h:
5149         * text.C (isLastRow, isFirstRow): new functions
5150
5151         * paragraph.h: new width cache member
5152
5153         * rowpainter.C: replace RowList::iterator with Row & where possible
5154
5155         * lyxfunc.C: replace several view()->text with a single call
5156
5157         * toc.C: fix 'unused' warning
5158
5159 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5160
5161         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5162         when woring with stream::pos_type
5163         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5164
5165 2003-10-22  André Pönitz  <poenitz@gmx.net>
5166
5167         * lyxtext.h:
5168         * text.C: use Row & instead of RowList::iterator
5169
5170         * lyxrow.h: rename end() to endpos()
5171
5172         * rowpainter.C:
5173         * text.C:
5174         * text2.C: adjust
5175
5176 2003-10-22  Angus Leeming  <leeming@lyx.org>
5177
5178         * buffer.[Ch] (fully_loaded): new member function, returning true
5179         only when the file has been loaded fully.
5180         Used to prevent the premature generation of previews and by the
5181         citation inset to prevent computation of the natbib-style label.
5182
5183         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5184         templates are all set up.
5185
5186         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5187
5188 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5189
5190         * text.C: fixed an "oops" in the "is a bit silly"
5191         bug fix
5192
5193 2003-10-21  André Pönitz  <poenitz@gmx.net>
5194
5195         * FuncStatus.[Ch]: small stuff, whitespace
5196
5197         * lyxfont.[Ch]: operator<<() for debug reasons
5198
5199         * lyxfunc.C:
5200         * lyxrow_funcs.C:
5201         * lyxtext.h: whitespace, spelling
5202
5203         * paragraph.C: naming of variables
5204
5205         * text.C:
5206         * text2.C: small stuff
5207
5208
5209 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5210
5211         * text.C: (1) finish off the inset display() work;
5212         (2) fix the "is a bit silly" bug (accessing char
5213         past end of par).
5214
5215 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5216
5217         * text.C: re-introduce display() for insets, fixing the
5218         various bugs (stretch of line above, math inset
5219         positioning, ...)
5220
5221 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5222
5223         * text.C (rightMargin): remove spurious semicolon
5224
5225         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5226         1415)
5227
5228 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5229
5230         * text3.C: fix one crash due to wrong cursor def
5231
5232 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5233
5234         * vc-backend.C (scanMaster): make the regex static
5235
5236         * LaTeX.C (scanAuxFile): make the regexs static
5237
5238         * text3.C (doInsertInset, dispatch, dispatch):
5239         * text2.C (cursorUp, cursorDown):
5240         * text.C (selectNextWordToSpellcheck):
5241         * BufferView_pimpl.C (dispatch):
5242         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5243
5244 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5245
5246         * lyxsocket.C: include <cerrno>
5247
5248 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * lyxfunc.C (dispatch): remove textcache stuff
5251
5252         * bufferlist.C (release): remove textcache stuff
5253         (closeAll): ditto
5254
5255         * TextCache.C: delete file
5256         * TextCache.h: delete file
5257
5258         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5259
5260         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5261         delete of the bv_->text.
5262         (resizeCurrentBuffer): remove texcache stuff
5263         (workAreaResize): ditto
5264
5265 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5268         action.
5269
5270 2003-10-16  André Pönitz  <poenitz@gmx.net>
5271
5272         * lyxrow.[Ch]:
5273         * paragraph.h:
5274         * rowpainter.C:
5275         * text.C:
5276         * text2.C:
5277         * text3.C: speed up by storing y positions per paragraph plus per-row
5278         offset instead of having a 'full' y position in the row.
5279
5280 2003-10-15  André Pönitz  <poenitz@gmx.net>
5281
5282         * iterators.[Ch]:
5283         * iterators.[Ch]:
5284         * undo.[Ch]: make undo aware of inner insets
5285
5286 2003-10-14  Angus Leeming  <leeming@lyx.org>
5287
5288         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5289         static member functions LyX::ref() and LyX::cref.
5290         (lastfiles): new accessor functions for the new lastfiles_ member var.
5291         (addLyXView, views_): add a new LyXView to the list of views_.
5292         (updateInset): loop over all LyXViews to call their own updateInset
5293         member function, returning a pointer to the Buffer owning the inset.
5294
5295         * BufferView_pimpl.C (loadLyXFile):
5296         * MenuBackend.C (expandLastfiles):
5297         * bufferlist.C (MenuWrite, QuitLyX):
5298         lastfiles is no longer a global variable.
5299         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5300
5301         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5302         static function. Access through LyX::cref().emergencyCleanup().
5303
5304 2003-10-14  André Pönitz  <poenitz@gmx.net>
5305
5306         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5307
5308         * undo.[Ch]: restoring part of 'undo in insets'
5309
5310         * Makefile.am:
5311         * undo_funcs.[Ch]: merge with undo.[Ch]
5312
5313         * tabular.C: small cleansing stuff
5314
5315 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5316
5317         * paragraph_funcs.C (readParToken): report unknown insets as error
5318         boxes. Use the outer paragraph as location (also for unknown
5319         tokens).
5320
5321         * factory.C (readInset): do not abort on reading an unknown inset.
5322         Eat it and return 0.
5323
5324 2003-10-13  Angus Leeming  <leeming@lyx.org>
5325
5326         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5327
5328         * lyxrc.C: displayTranslator is now a function,
5329         declared in GraphicsTypes.h.
5330
5331 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5332
5333         * format.C: new placeholder $$a to pass the socket address.
5334
5335         * bufferlist.[Ch]: new function getBufferFromTmp.
5336
5337         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5338           files in the temporary dir.
5339
5340 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5341
5342         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5343
5344         * Makefile.am: add lyxsocket.[Ch].
5345
5346         * lyx_main.C (error_handler): handle SIGPIPE.
5347
5348 2003-10-13  André Pönitz  <poenitz@gmx.net>
5349
5350         * BufferView_pimpl.C:
5351         * lyxtext.h:
5352         * text.C:
5353         * text2.C:
5354         * text3.C:
5355         * undo_funcs.[Ch]: use paroffset_type instead of
5356           ParagraphList::iterators to prevent multiple conversion
5357           (and get a more robust interface)
5358
5359 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5360
5361         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5362         * lyxtext.h: ditto
5363         * text3.C (dispatch): ditto
5364
5365 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5368         move the onlyfile, use onlyfile instead of foundfile in a couple
5369         of places.
5370
5371         * DepTable.C (update): flush the error stream a bit more
5372
5373 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5374
5375         * lyxserver.C (callback): adjust
5376
5377         * lyxfunc.C (getStatus): add a missing brace in commented code
5378         (ensureBufferClean): reindent
5379         (dispatch): delete version taking a string
5380
5381 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * LaTeX.C (deplog): move found file handlig from here...
5384         (handleFoundFile): .. to new function here.
5385         (deplog): make sure to discover several files mentioned on the
5386         same log line.
5387
5388 2003-10-10  André Pönitz  <poenitz@gmx.net>
5389
5390         * lyxfunc.C:
5391         * lyxtext.h:
5392         * tabular.C:
5393         * text.C:
5394         * text2.C:
5395         * text3.C: fix some of the tabular crashes
5396
5397 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5398
5399         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5400
5401         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5402
5403 2003-10-09  André Pönitz  <poenitz@gmx.net>
5404
5405         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5406
5407         * BufferView.C:
5408         * BufferView_pimpl.C:
5409         * bufferview_funcs.C:
5410         * lyx_cb.C:
5411         * lyxcursor.C:
5412         * lyxfind.C:
5413         * lyxfunc.C:
5414         * lyxtext.h:
5415         * text.C:
5416         * text2.C:
5417         * text3.C:
5418         * text_funcs.[Ch]:
5419         * textcursor.[Ch]:
5420         * undo_funcs.C: adjust
5421
5422 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5423
5424         * text2.C (incrementItemDepth): new function, use a backtracking
5425         algorithm to discover the correct item depth.
5426         (resetEnumCounterIfNeeded): new function, use a backtracking
5427         algorithm to discover if counter reset is needed.
5428         (setCounter): use them. Simplify a bit. Add different labels for
5429         different item depths for itemize.
5430
5431         * paragraph.C (Paragraph): remove initialization of enumdepth
5432         (operator=): ditto
5433
5434         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5435         enumerate and itemize. Change the type of itemdepth to signed char.
5436
5437 2003-10-08  André Pönitz  <poenitz@gmx.net>
5438
5439         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5440           thing assignable.
5441         * text.C:
5442         * text2.C: adjust
5443
5444         * tabular.[Ch]: fix crash after 'row-insert'
5445
5446 2003-10-08  Angus Leeming  <leeming@lyx.org>
5447
5448         Fix doxygen warnings.
5449
5450         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5451         Remove CutAndPaste:: prefix from header file declaration.
5452
5453         * LColor.h (fill): remove LColor:: prefix from declaration.
5454
5455         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5456         use lyx::depth_type rather than Paragraph::depth_type so that
5457         header file and .C file match.
5458
5459         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5460
5461         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5462         * aspell.C: \file aspell_local.C -> \file aspell.C
5463         * gettext.C: \file gettext.C -> \file src/gettext.C
5464         * gettext.h: \file gettext.h -> \file src/gettext.h
5465         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5466         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5467         * text.C: \file text.C -> \file src/text.C
5468
5469         * toc.C: move comment so that doxygen is not confused.
5470
5471 2003-10-07  Angus Leeming  <leeming@lyx.org>
5472
5473         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5474
5475 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5476
5477         * aspell.C:
5478         * aspell_local.h: add forgotten std::string's.
5479
5480 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5481
5482         * LaTeXFeatures.C:
5483         * LyXAction.C:
5484         * factory.C:
5485         * lfuns.h:
5486         * lyxfunc.C:
5487         * text3.C: The Box patch. Fancybox support, minipage, parbox
5488
5489 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5490
5491         * CutAndPaste.h:
5492         * DepTable.h:
5493         * FloatList.h:
5494         * LaTeXFeatures.h:
5495         * ParagraphParameters.h:
5496         * TextCache.h:
5497         * Thesaurus.h:
5498         * bufferlist.h:
5499         * exporter.h:
5500         * importer.h:
5501         * lastfiles.h:
5502         * lyxfind.h:
5503         * lyxfont.h:
5504         * lyxlex.h:
5505         * lyxtextclasslist.h:
5506         * messages.h:
5507         * paragraph.h:
5508         * paragraph_pimpl.C:
5509         * textcursor.h: add <string> and other small fixes to make Lars'
5510         std::string patch compile with STLport.
5511
5512 2003-10-06  Angus Leeming  <leeming@lyx.org>
5513
5514         * LColor.h: Add missing #include <string>.
5515
5516 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * All most all file in all subdirs: Make <string> be the prefered
5519         way of getting to std::string, add using declarations.
5520
5521 2003-10-06  André Pönitz  <poenitz@gmx.net>
5522
5523         * metricsinfo.C: initialize LyXFont before changing attribute.
5524         (fixes the 'math in \emph is upright' bug)
5525
5526 2003-10-06  André Pönitz  <poenitz@gmx.net>
5527
5528         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5529
5530 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5531
5532         * graph.C:
5533         * paragraph_pimpl.C: Small fixes to build using STLport
5534
5535 2003-10-02  André Pönitz  <poenitz@gmx.net>
5536
5537         * lyxfunc.C:
5538         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5539
5540 2003-10-01  André Pönitz  <poenitz@gmx.net>
5541
5542         * factory.C: assert early
5543
5544 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * lyx_main.C: remove the global debug object
5547
5548         * debug.h: adjust for new debugstream
5549
5550         * debug.C: adjust for new debugstream and keep the global debug
5551         object here.
5552
5553 2003-09-22  Angus Leeming  <leeming@lyx.org>
5554
5555         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5556         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5557         an incomplete class LyXFont.
5558
5559 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5560
5561         * factory.C: bug fix in branches
5562
5563 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * lyxfunc.C (processKeySym): adjust
5566         (dispatch): adjust
5567         (dispatch): change arg name from ev to func, adjust
5568         (sendDispatchMessage): ditto
5569
5570         * lyx_main.C (defaultKeyBindings): adjust keybindings
5571         (deadKeyBindings): ditto
5572
5573         * kbsequence.C (addkey): return a FuncRequest
5574
5575         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5576
5577         * kbmap.C (bind): take a FuncRequest as arg, adjust
5578         (read): adjust
5579         (lookup): adjust
5580         (defkey): change to take a FuncRequest as arg, adjust
5581         (findbinding): take a FuncRequest as arg, adjust.
5582
5583         * funcrequest.h (operator=): added
5584
5585         * funcrequest.C (FuncRequest): default kb_action changed from
5586         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5587
5588         * buffer.C (dispatch): simplify
5589         (dispatch): adjust to take a FuncRequest as arg, adjust
5590
5591         * boost.C (assertion_failed): change assertion message slightly
5592
5593         * ToolbarBackend.C (read): simplify
5594
5595         * MenuBackend.C (binding): adjust call to findbinding, add a
5596         message if no binding is found.
5597         (read): simplify
5598         (expandToc): correct by adding a empty FuncRequest
5599
5600         * LyXAction.C: include <boost/assert.hpp>
5601         (isPseudoAction): delete function
5602         (LookupFunc): change name to...
5603         (lookupFunc): this. change return type to FuncRequest.
5604         (getActionName): take kb_action as arg, simplify
5605         (funcHasFlag): add an assert, simplify.
5606
5607 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5608
5609         * toc.C (action): return a FuncRequest, simplify
5610
5611         * lyxfunc.C (processKeySym): adjust
5612         (getStatus): delete version that takes an int.
5613         (getStatus): adjust
5614         (dispatch): delete version that takes action as int
5615         (dispatch): adjust
5616         (sendDispatchMessage): simplify and adjust
5617
5618         * funcrequest.C (getArg): take unsigned int as arg
5619
5620         * ToolbarBackend.C (read): adjust
5621         (add): delete version that takes func as a string.
5622         (getIton): take a FuncRequest as arg
5623
5624         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5625         action.
5626
5627         * MenuBackend.C (MenuItem): add a new construct that only takes a
5628         Kind, simplify the constructor use for submenus.
5629         (add): adjust
5630         (expandLastfiles): adjust
5631         (expandDocuments): adjust
5632         (expandFormats): adjust
5633         (expandFloatListInsert): adjust
5634         (expandFloatInsert): adjust
5635         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5636
5637         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5638         Remove class variables lyx_pseudo_map and lyx_arg_map
5639
5640         * LyXAction.C (searchActionArg): delete function
5641         (getPseudoAction): delete function
5642         (retrieveActionArg): delete function
5643         (LookupFunc): make it return kb_action, simplify.
5644         (getActionName): simplify
5645
5646         * factory.C (createInset): fix new bug
5647
5648 2003-09-19  Angus Leeming  <leeming@lyx.org>
5649
5650         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5651         masterFilename_ parameter in the include inset.
5652
5653         * factory.C (createInset): changes due to the changes to InsetInclude.
5654
5655 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5656
5657         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5658
5659 2003-09-18  Angus Leeming  <leeming@lyx.org>
5660
5661         * buffer.C:
5662         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5663         Inset::fillWithBibKeys.
5664         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5665
5666 2003-09-18  Angus Leeming  <leeming@lyx.org>
5667
5668         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5669         variables.
5670         (ctor): pass and store a 'Buffer const &'
5671         (buffer): new member function.
5672
5673         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5674         '*this' to the LaTeXFeatures ctor.
5675
5676 2003-09-18  Angus Leeming  <leeming@lyx.org>
5677
5678         * LColor.h:
5679         * lyxfont.C:
5680         * lyxfont.h:
5681         * lyxtext.h:
5682         * text.C: rename EnumLColor as LColor_color.
5683
5684 2003-09-18  Angus Leeming  <leeming@lyx.org>
5685
5686         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5687         remove #include "insets/insetbase.h" from cursor.h.
5688
5689 2003-09-18  Angus Leeming  <leeming@lyx.org>
5690
5691         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5692         InsetOld_code to remove #include "inset.h".
5693
5694         * iterators.C: add #include "insets/inset.h"
5695
5696 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5697
5698         * BufferView.C: remove more locking stuff that apparently doesn't
5699         do anything sensible.
5700
5701 2003-09-16  André Pönitz  <poenitz@gmx.net>
5702
5703         * paragraph.[Ch]:
5704         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5705           performance boost.
5706
5707 2003-09-16  Angus Leeming  <leeming@lyx.org>
5708
5709         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5710
5711         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5712         arg/return type.
5713
5714         * paragraph.h: remove #include "lyxfont.h". Forward declare
5715         LyXFont_size.
5716
5717 2003-09-16  Angus Leeming  <leeming@lyx.org>
5718
5719         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5720         of support/textutils.h.
5721         (isWord): move the contents of support/textutils.h's IsWordChar here.
5722
5723         * buffer.C:
5724         * lyxfind.C:
5725         * rowpainter.C:
5726         * text.C:
5727         * text2.C: add #include "paragraph.h".
5728
5729         * rowpainter.C:
5730         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5731
5732 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * main.C:
5735         * lyx_main.C:
5736         * lyx_cb.C:
5737         * buffer.C:
5738         * LaTeX.C: use namespace alias for lyx::support::os
5739
5740 2003-09-16  Angus Leeming  <leeming@lyx.org>
5741
5742         * bufferparams.C:
5743         * bufferview_funcs.C:
5744         * factory.C:
5745         * lyxfunc.C:
5746         * paragraph_pimpl.C:
5747         * rowpainter.C:
5748         * text.C: add #include "LColor.h".
5749
5750 2003-09-16  Angus Leeming  <leeming@lyx.org>
5751
5752         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5753         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5754         return LyXFont &.
5755         Store the FontBits::color variable as an int rather than as an
5756         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5757         file.
5758
5759         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5760         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5761         string calls together.
5762
5763         * lyxrc.C: add #include "LColor.h".
5764
5765 2003-09-15  Angus Leeming  <leeming@lyx.org>
5766
5767         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5768         a cow_ptr.
5769
5770 2003-09-15  Angus Leeming  <leeming@lyx.org>
5771
5772         * LColor.h: add an EnumLColor wrapper for LColor::color.
5773
5774         * lyxfont.[Ch] (color, setColor, realColor):
5775         * lyxtext.h, text.C (backgroundColor):
5776         pass EnumLColor args to/from the functions, rather than LColor::color
5777         ones.
5778
5779         * lyxfont.h:
5780         * lyxtext.h: forward declare EnumLColor.
5781
5782         * lyx_main.C: add #include "LColor.h".
5783
5784 2003-09-15  Angus Leeming  <leeming@lyx.org>
5785
5786         * .cvsignore: add lyx-gtk.
5787
5788 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5789
5790         * Chktex.C
5791         * LaTeX.C
5792         * LaTeXFeatures.C
5793         * ParagraphParameters.C
5794         * Spacing.C
5795         * buffer.C
5796         * bufferparams.C
5797         * bufferview_funcs.C
5798         * chset.C
5799         * counters.C
5800         * funcrequest.C
5801         * lyxfont.C
5802         * lyxgluelength.C
5803         * lyxlength.C
5804         * paragraph.C
5805         * paragraph_funcs.C
5806         * text3.C
5807         * vc-backend.C: remove usage of STRCONV
5808
5809 2003-09-15  Angus Leeming  <leeming@lyx.org>
5810
5811         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5812         explicitly define the color passed to the painter.
5813
5814 2003-09-15  Angus Leeming  <leeming@lyx.org>
5815
5816         * bufferparams.C (BufferParams): reorder member initializers to avoid
5817         compiler warning.
5818
5819 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5820
5821         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5822         * text.C (updateRowPositions): remove an unusual nop
5823
5824 2003-09-12  André Pönitz  <poenitz@gmx.net>
5825
5826         * BufferView_pimpl.C:
5827         * Bullet.C:
5828         * layout.h:
5829         * lyxfunc.C:
5830         * lyxlayout.[Ch]:
5831         * lyxtextclass.C:
5832         * rowpainter.C:
5833         * text.C:
5834         * text2.C:
5835         * Counters.[Ch]: finish the 'automatic counters' job
5836
5837 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5838
5839         * aspell.C: include <boost/assert.cpp> (compile fix)
5840
5841 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5842
5843         * boost.C (assertion_failed): use lyx::support::abort instead of
5844         assert.
5845
5846 2003-09-10  Angus Leeming  <leeming@lyx.org>
5847
5848         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5849         with their _fwd progeny.
5850
5851 2003-09-09  Angus Leeming  <leeming@lyx.org>
5852
5853         134 files throughtout the source tree: replace 'using namespace abc;'
5854         directives with the appropriate 'using abc::xyz;' declarations.
5855
5856 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5857
5858         * boost.C (emergencyCleanup): moved here from LAssert.c
5859         (assertion_failed): new function, called by BOOST_ASSERT
5860
5861         * several files: change Assert to BOOST_ASSERT
5862
5863 2003-09-09  Angus Leeming  <leeming@lyx.org>
5864
5865         * buffer.[Ch]: Add an Impl class and move Buffer's member
5866         variables into it. As a result move several header files out of
5867         buffer.h.
5868
5869         Add header files to lots of .C files all over the tree as a result.
5870
5871 2003-09-09  Angus Leeming  <leeming@lyx.org>
5872
5873         * buffer.[Ch]: make Buffer's member variables private. Add
5874         accessor functions.
5875
5876         Lots of changes all over the tree as a result.
5877
5878 2003-09-08  Angus Leeming  <leeming@lyx.org>
5879
5880         * graph.C: #include <config.h>.
5881
5882 2003-09-08  Angus Leeming  <leeming@lyx.org>
5883
5884         * BranchList.C:
5885         * BufferView.C:
5886         * BufferView_pimpl.C:
5887         * CutAndPaste.C:
5888         * DepTable.C:
5889         * LaTeX.C:
5890         * LaTeXFeatures.C:
5891         * LyXAction.C:
5892         * MenuBackend.C:
5893         * TextCache.C:
5894         * aspell.C:
5895         * buffer.C:
5896         * bufferlist.C:
5897         * changes.C:
5898         * chset.C:
5899         * converter.C:
5900         * counters.C:
5901         * debug.C:
5902         * graph.C:
5903         * ispell.C:
5904         * lyx_cb.C:
5905         * lyxfind.C:
5906         * lyxfunc.C:
5907         * lyxlex_pimpl.C:
5908         * lyxrc.C:
5909         * lyxrow.C:
5910         * paragraph.C:
5911         * rowpainter.C:
5912         * texrow.C:
5913         * text.C:
5914         * text2.C:
5915         * toc.C: remove redundant using directives.
5916
5917 2003-09-07  Angus Leeming  <leeming@lyx.org>
5918
5919         * LaTeXFeatures.h: remove #include "support/types.h".
5920         * ToolbarBackend.h: remove #include <algorithm>.
5921         * changes.h: remove #include <ctime>.
5922         * debug.h: remove #include <iosfwd>.
5923         * graph.h: remove #include "support/std_string.h".
5924         * lyx_main.h: remove #include <csignal>.
5925         * lyxlex_pimpl.h: remove #include <fstream>.
5926         * sgml.h: remove #include <algorithm>, <utility>.
5927         * toc.h: remove #include "support/std_ostream.h".
5928         Add #include <iosfwd>.
5929
5930 2003-09-07  Angus Leeming  <leeming@lyx.org>
5931
5932         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5933
5934         * converter.h: forward declare LatexRunParams.
5935         * encoding.h: remove #include "lyxrc.h".
5936         * lyxtext.h: remove #include "LColor.h".
5937         * lyxtextclass.h: remove #include "support/types.h".
5938         * trans.h: remove #include "tex-accent.h".
5939         * trans_mgr.h: remove #include "tex-accent.h".
5940         * insets/inset.h: remove #include "support/types.h", <vector>.
5941         * insets/insetcollapsable.h: remove #include "LColor.h".
5942         * insets/insetinclude.h: remove #include "dimension.h".
5943         * insets/insetlatexaccent.h: remove #include "dimension.h".
5944         * insets/insetoptarg.h:: remove #include "insettext.h".
5945         * insets/insettext.h: remove #include "dimension.h",
5946         <boost/shared_ptr.hpp>
5947
5948         * insets/renderers.h: add #include "dimension.h".
5949         * insets/updatableinset.h: add #include "support/types.h".
5950
5951         * many .C files: Associated changes.
5952
5953 2003-09-06  Angus Leeming  <leeming@lyx.org>
5954
5955         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5956         one, inside testInvariant.
5957
5958         * PrinterParams.C: new file.
5959         * PrinterParams.[Ch]: move the function bodies out of line.
5960
5961 2003-09-06  Angus Leeming  <leeming@lyx.org>
5962
5963         * ParagraphParameters.h: forward declare ParameterStruct rather than
5964         including its header file.
5965         (depth): moved out-of-line.
5966
5967 2003-09-06  Angus Leeming  <leeming@lyx.org>
5968
5969         * BufferView_pimpl.h:
5970         * kbmap.h:
5971         * kbsequence.h:
5972         * lyxfunc.h: forward declare LyXKeySym rather than
5973         #include "frontends/LyXKeySym.h".
5974
5975         * BufferView_pimpl.C:
5976         * kbmap.C:
5977         * kbsequence.C:
5978         * lyxfunc.C: associated changes.
5979
5980 2003-09-06  Angus Leeming  <leeming@lyx.org>
5981
5982         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5983         As a result, can remove the #include "insets/inset.h" from BufferView.h
5984
5985 2003-09-06  Angus Leeming  <leeming@lyx.org>
5986
5987         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5988         As a result, can remove the #include "insets/inset.h" from BufferView.h
5989
5990 2003-09-06  Angus Leeming  <leeming@lyx.org>
5991
5992         * buffer_funcs.C:
5993         * buffer.h:
5994         * bufferlist.C:
5995         * BufferView.C:
5996         * bufferview_funcs.C:
5997         * BufferView_pimpl.C:
5998         * CutAndPaste.C:
5999         * lyx_cb.C:
6000         * lyxfunc.C:
6001         * paragraph.h:
6002         * ParagraphParameters.C:
6003         * tabular.C:
6004         * text3.C:
6005         * toc.C:
6006         * undo_funcs.C:
6007         * frontends/controllers/ControlDocument.C:
6008         * insets/insetcaption.C: rearrange the #includes into some sort of
6009         coherent order.
6010
6011         * buffer.h: remove #includes ErrorList.h, undo.h
6012
6013 2003-09-06  Angus Leeming  <leeming@lyx.org>
6014
6015         * support/types.h: add a 'depth_type' typedef, used to store the
6016         nesting depth of a paragraph.
6017
6018         * paragraph.h:
6019         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6020         defining explicitly.
6021
6022         * buffer.h:
6023         * paragraph_funcs.h:
6024         * ParagraphParameters.h:
6025         * sgml.h: use lyx::depth_type rather than Paragraph or
6026         ParameterStruct's depth_type.
6027
6028         * buffer.h
6029         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6030
6031         * BufferView.C:
6032         * BufferView_pimpl.C:
6033         * CutAndPaste.C:
6034         * ParagraphParameters.C:
6035         * buffer_funcs.C:
6036         * bufferlist.C:
6037         * bufferview_funcs.C:
6038         * lyx_cb.C:
6039         * lyxfunc.C:
6040         * tabular.C:
6041         * text3.C:
6042         * toc.C:
6043         * undo_funcs.C:
6044         * frontends/LyXView.C:
6045         * frontends/controllers/ControlDocument.C:
6046         * frontends/controllers/ControlErrorList.C:
6047         * insets/insetbibitem.C:
6048         * insets/insetbranch.C:
6049         * insets/insetcaption.C:
6050         * insets/insetcollapsable.C:
6051         * insets/insetenv.C:
6052         * insets/insetert.C:
6053         * insets/insetfloat.C:
6054         * insets/insetfoot.C:
6055         * insets/insetfootlike.C:
6056         * insets/insetnewline.C:
6057         * insets/insetquotes.C:
6058         * insets/insettabular.C:
6059         * insets/insettext.C:
6060         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6061
6062         * frontends/controllers/ControlChanges.C: #include "changes.h".
6063
6064 2003-09-06  Angus Leeming  <leeming@lyx.org>
6065
6066         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6067         than #including paragraph.h.
6068
6069         * ParagraphList.h:
6070         * RowList.h: deleted. Superfluous.
6071
6072         * CutAndPaste.h:
6073         * iterators.h:
6074         * lyxcursor.h:
6075         * lyxtext.h:
6076         * text_funcs.h:
6077         * undo.h:
6078         * undo_funcs.h:
6079         * insets/inset.h:
6080         * insets/insettext.h: use ParagraphList_fwd.h rather than
6081         ParagraphList.h.
6082
6083         * paragraph.h: don't forward declare ParagraphList.
6084
6085         * buffer.h:
6086         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6087         rather than ParagraphList.h. paragraph.h is still needed for the
6088         Paragraph::depth_type parameters.
6089
6090         * textcursor.h: enable it to compile stand-alone in light of the
6091         above changes.
6092
6093         * bufferview_funcs.C:
6094         * iterators.C:
6095         * lyxfunc.C:
6096         * lyxrow_funcs.C:
6097         * paragraph.C:
6098         * rowpainter.C:
6099         * text.C:
6100         * text2.C:
6101         * text3.C:
6102         * text_funcs.C:
6103         * textcursor.C:
6104         * undo.C:
6105         * frontends/controllers/ControlParagraph.C:
6106         * frontends/controllers/ControlTabular.C:
6107         * insets/insetmarginal.C:
6108         * insets/insetminipage.C:
6109         * insets/insetnote.C:
6110         * insets/insetoptarg.C: add header files needed to compile again.
6111
6112 2003-09-06  Angus Leeming  <leeming@lyx.org>
6113
6114         * RowList_fwd.h: new file, forward-declaring Row rather than
6115         #including lyxrow.h.
6116
6117         * lyxrow_funcs.h:
6118         * lyxtext.h:
6119         * paragraph.h:
6120         * insets/insettext.h: use it instead of RowList.h
6121
6122         * bufferview_funcs.C:
6123         * lyxfunc.C:
6124         * lyxrow_funcs.C:
6125         * paragraph.C:
6126         * rowpainter.C:
6127         * text.C:
6128         * text2.C:
6129         * text3.C: #include "RowList.h".
6130
6131 2003-09-05  Angus Leeming  <leeming@lyx.org>
6132
6133         * factory.C (createInset):
6134         * vspace.C (c-tor): replace sscanf call with an istringstream.
6135         * ispell.C: re-add missing HP/UX headers.
6136         * lyxserver.C: re-add missing  os2 headers.
6137
6138 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6139
6140         * BranchList.C:
6141         * graph.C:
6142         * ispell.C:
6143         * lastfiles.C:
6144         * lyx_cb.C:
6145         * lyxserver.C:
6146         * texrow.C:
6147         * text3.C: re-add missing system headers, needed for 2.95.2.
6148
6149 2003-09-05  Angus Leeming  <leeming@lyx.org>
6150
6151         Changes most place everywhere due to the removal of using directives
6152         from support/std_sstream.h.
6153
6154 2003-09-05  Angus Leeming  <leeming@lyx.org>
6155
6156         Replace LString.h with support/std_string.h,
6157         Lsstream.h with support/std_sstream.h,
6158         support/LIstream.h with support/std_istream.h,
6159         support/LOstream.h with support/std_ostream.h.
6160
6161         Changes resulting throughout the tree.
6162
6163 2003-09-05  Angus Leeming  <leeming@lyx.org>
6164
6165         * sgml.h: ensure that the header file can be compiled stand-alone.
6166         * *.C: strip out redundant #includes. (320 in total.)
6167
6168 2003-09-04  Angus Leeming  <leeming@lyx.org>
6169
6170         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6171         here (from getPackages).
6172
6173         * debug.[Ch]: add a new EXTERNAL tag.
6174
6175 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6176
6177         * text2.C (cursorEnd): simplify
6178         (setCursor): adjust
6179         (getColumnNearX): adjust
6180
6181         * text.C (computeBidiTables): adjust
6182         (fill): adjust
6183
6184         * rowpainter.C (paintChars): adjust
6185         (paintSelection): adjust
6186         (paintChangeBar): adjust
6187         (paintText): adjust
6188
6189         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6190         lastPos instead.
6191         (numberOfSeparators): adjust
6192
6193 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6194
6195         * LyXAction.C:
6196         * box.[Ch]:
6197         * lfuns.h:
6198         * lyxfunc.C:
6199         * text3.C: Restricts the mouse click functionality
6200         of insets like bibtex, include, toc and floatlist to the visible
6201         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6202         up the dialogs. Cursor has to be in front of the inset (i.e.
6203         start of row) for this to function.
6204
6205 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6206
6207         * bufferview_funcs.C (currentState): output row information
6208
6209 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6210
6211         * bufferview_funcs.C (currentState): output paragraph position
6212
6213 2003-09-04  Angus Leeming  <leeming@lyx.org>
6214
6215         * FloatList.h: move out #include "Floating.h".
6216         * LaTeX.h: move out #include "DepTable.h".
6217         * LyXAction.h: move out #include "funcrequest.h".
6218         * buffer.h: move out #include "author.h", "iterators.h".
6219         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6220         * lyx_main.h: move out #include "errorlist.h".
6221         * lyxfunc.h: move out #include "FuncStatus.h".
6222         * lyxtext: move out #include "lyxcursor.h".
6223         * paragraph_pimpl.h: move out #include "counters.h".
6224
6225 2003-09-03  Angus Leeming  <leeming@lyx.org>
6226
6227         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6228         preamble_snippets list, enabling us to add snippets to the preamble
6229         only if the snippet was not there already.
6230
6231 2003-09-04  Angus Leeming  <leeming@lyx.org>
6232
6233         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6234
6235 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6238         update
6239
6240 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6241
6242         * BranchList.C: point fix, earlier forgotten
6243
6244 2003-09-02  Angus Leeming  <leeming@lyx.org>
6245
6246         * box.C (contains): renamed from 'contained' after a fantastic
6247         amount of hot air.
6248
6249 2003-09-02  John Levon  <levon@movementarian.org>
6250
6251         * BufferView.C:
6252         * lyxcursor.h:
6253         * lyxcursor.C:
6254         * lyxfunc.C:
6255         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6256
6257 2003-09-02  John Levon  <levon@movementarian.org>
6258
6259         * text2.C: simplification of cursorEnd(), including partial
6260         fix for bug 1376
6261
6262 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * buffer.C (readFile): add a space
6265
6266 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6267
6268         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6269
6270 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * buffer.C (readFile): new function, take a filename and a
6273         ParagraphList::iterator
6274         (readFile): adjust
6275         (readFile): adjust, make it private. don't use setStream, make
6276         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6277         always contain the filename.
6278
6279         * BufferView.C (insertLyXFile): simplify and make it work for
6280         gzipped files.
6281
6282 2003-08-30  John Levon  <levon@movementarian.org>
6283
6284         * Makefile.am: fix dist (from Kayvan)
6285
6286 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287
6288         * most files: change to use const Buffer refs
6289
6290 2003-08-27  André Pönitz  <poenitz@gmx.net>
6291
6292         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6293         on top of ownerPar().
6294
6295 2003-08-27  John Levon  <levon@movementarian.org>
6296
6297         * funcrequest.C: properly initialise POD members
6298
6299 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6300
6301         * lyxtext.h (top_y): move top_y from here
6302         * text.C:
6303         * text2.C:
6304         * text3.C:
6305         * BufferView.[Ch]:
6306         * BufferView_pimpl.[Ch]: to here
6307         * frontends/screen.C:
6308         * insets/insettabular.C:
6309         * insets/insettext.C: adjust
6310         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6311
6312 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6313
6314         * BufferView.[Ch]:
6315         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6316
6317 2003-08-26  André Pönitz  <poenitz@gmx.net>
6318
6319         * paragraph_func.[Ch] (outerPar): new function
6320
6321         * paragraph.C:
6322         * paragraph_funcs.C:
6323         * paragraph_funcs.h:
6324         * paragraph_pimpl.C:
6325         * text2.C: remove Inset::par_owner
6326
6327 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6328
6329         * lyxrow_funcs.C:
6330         * lyxtext.h:
6331         * text.C:
6332         * text2.C: eliminates the needFullRow/display() stuff
6333         altogether, putting the logic in metrics/draw in the insets.
6334
6335 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6336
6337         * text2.C (redoParagraphInternal, redoParagraphs):
6338         * text.C (redoParagraph): add a call to updateRowPositions at the
6339         end of each 'metrics-like' call. Remove all others.
6340         (getRow): remove the 'y-computing' version.
6341         (getRowNearY): do not compute nor return the real y. Solve the
6342         'y < 0' problem and simplify.
6343
6344 2003-08-22  Angus Leeming  <leeming@lyx.org>
6345
6346         * *.[Ch]: clean-up of licence and author blurbs.
6347         Also move config.h out of a few .h files and into a few .C files.
6348
6349 2003-08-22  André Pönitz  <poenitz@gmx.net>
6350
6351         * lyxrow.[Ch]: add x_ and *fill_ members
6352
6353         * lyxtext.h:
6354         * text.C:
6355         * rowpainter.C:
6356         * text2.C: adjust/remove prepareToPrint() calls
6357
6358 2003-08-22  André Pönitz  <poenitz@gmx.net>
6359
6360         * lyxrow.[Ch]: add  end_ member
6361
6362         * lyxrow_funcs.C: use LyXRow::end_
6363
6364         * lyxtext.h (singleWidth): add LyXFont parameter
6365
6366         * rowpainter.C:
6367         * text2.C: adjust LyXText::singleWidth() calls
6368
6369         * text.C (redoParagraph): simplify row breaking logic
6370
6371
6372 2003-08-19  André Pönitz  <poenitz@gmx.net>
6373
6374         * funcrequest.C: initialize button_ member
6375
6376         * text3.C:
6377         * rowpainter.[Ch]: interface consolidation
6378
6379 2003-08-18  André Pönitz  <poenitz@gmx.net>
6380
6381         * BufferView.C:
6382         * BufferView_pimpl.C:
6383         * lyxfind.C:
6384         * paragraph_funcs.C:
6385         * rowpainter.C:
6386         * text3.C: remove LyXScreen::draw() and fitCursor calls
6387
6388         * BranchList.h: remove spurious semicolons
6389
6390         * MenuBackend.C: fix branchlist related crash
6391
6392 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6393
6394         * BranchList.[Ch]:
6395         * InsetList.[Ch]:
6396         * LColor.[Ch]:
6397         * LyXAction.C:
6398         * Makefile.am:
6399         * MenuBackend.[Ch]:
6400         * bufferparams.[Ch]:
6401         * factory.C:
6402         * lfuns.h:
6403         * lyxfunc.C:
6404         * text3.C: implements the 'branch inset'
6405         idea. This allows the output of various versions of a document
6406         from a single source version, selectively outputing or suppressing
6407         output of parts of the text.
6408         This implementation contains a 'branch list editor' in a separate
6409         tab of the document settings dialog. Branches are user definable
6410         and have a "display colour" to distinguish them on-screen.
6411
6412         ColorHandler was somewhat cleaned up.
6413         (1) make possible a dynamically growing LColor list by allowing
6414         the graphic context cache to grow along (vector);
6415         (2) eliminate an IMHO unnecessary step in colour allocation.
6416
6417 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6418
6419         * BufferView_pimpl.C: compile fix
6420
6421 2003-08-15  André Pönitz  <poenitz@gmx.net>
6422
6423         * rowpainter.C: remove extra metrics calls
6424
6425         * lyxtext.h: merge the two constructors into a single one,
6426           pass reference to owner's par list
6427
6428         * BufferView_pimpl.C:
6429         * text.C:
6430         * text2.C: adjust
6431
6432 2003-08-15  André Pönitz  <poenitz@gmx.net>
6433
6434         * lyxrow_funcs.[Ch]:
6435         * lyxtext.h:
6436         * paragraph.h:
6437         * paragraph_funcs.C:
6438         * rowpainter.C:
6439         * text.C:
6440         * text2.C:
6441         * text3.C:
6442         * text_funcs.C: split LyXText::rowlist_ into individual
6443         Paragraph::rows_ chunks
6444
6445         * BufferView.[Ch]:
6446         * BufferView_pimpl.[Ch]:
6447         * lyxfind.C:
6448         * lyxtext.h:
6449         * text3.C: remove toggleSelection()
6450
6451 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6452
6453         * bufferlist.C: beautify two alerts (shorter text of buttons)
6454         * buffer.C: Remove redundant ' ' from message
6455         * tabular.h:
6456         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6457         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6458         rename VALIGN_CENTER to VALIGN_MIDDLE
6459
6460 2003-08-11  André Pönitz  <poenitz@gmx.net>
6461
6462         * lyxtext.h (getPar):
6463         * text.C: new function
6464
6465 2003-08-11  André Pönitz  <poenitz@gmx.net>
6466
6467         * Makefile.am:
6468         * tracer.[Ch]: remove unneeded files
6469
6470         * InsetList.[Ch]: remove resizeInsetsLyXText()
6471
6472         * lyxtext.h:
6473         * text.C:
6474         * text2.C:
6475         * text3.C: merge insertParagraphs() and appendParagraph()
6476         remove breakAgain(), update()
6477
6478         * BufferView_pimpl.[Ch]:
6479         * bufferview_funcs.[Ch]:
6480         * lyxfunc.C:
6481         * paragraph.[Ch]:
6482         * rowpainter.C:
6483         * tabular.C: adjust after text & InsetList changes.
6484
6485 2003-08-08  André Pönitz  <poenitz@gmx.net>
6486
6487         * text.C (insertChar, backspace): replace rowlist fiddling
6488         with rebreak of full par
6489
6490         * lyxtext.h:
6491         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6492         checkParagraph, updateInset): removed
6493
6494 2003-08-07  André Pönitz  <poenitz@gmx.net>
6495
6496         * paragraph.C:
6497         * text3.C: merge some LFUN handlers, remove dead code
6498
6499 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6500
6501         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6502
6503 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6504
6505         * text2.C (DEPM): fix part of bug 1255 and 1256
6506
6507 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6508
6509         * BufferView_pimpl.C (workAreaDispatch): change to use
6510         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6511         that are no mouse related.
6512
6513 2003-08-05  André Pönitz  <poenitz@gmx.net>
6514
6515         * BufferView.[Ch]:
6516         * BufferView_pimpl.[Ch]:
6517         * bufferview_funcs.C:
6518         * text2.C:
6519         * text3.C: rip out "deep update"
6520
6521         * textcursor.[Ch] (last_sel_cursor): remove unused member
6522
6523 2003-08-04  André Pönitz  <poenitz@gmx.net>
6524
6525         * BufferView.[Ch]:
6526         * BufferView_pimpl.[Ch]:
6527         * ParagraphParameters.C:
6528         * bufferview_funcs.C:
6529         * lyx_cb.C:
6530         * lyxfind.C:
6531         * lyxfunc.C:
6532         * text.C:
6533         * text2.C:
6534         * text3.C: replace "complicated" BufferView::update(...) calls with
6535         simpler ones.
6536
6537         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6538
6539 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6540
6541         * Makefile.am (lyx_SOURCES): add paper.h
6542
6543 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6544
6545         * Makefile.am: move things around so that both lyx-qt and
6546         lyx-xforms can be built (according to --with-frontend). Then lyx
6547         is a symbolic link to lyx-[firstfrontend]
6548
6549 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6550
6551         * Always use std::endl with lyxerr
6552
6553 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6554
6555         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6556
6557 2003-08-01  André Pönitz  <poenitz@gmx.net>
6558
6559         * BufferView.[Ch]:
6560         * BufferView_pimpl.[Ch]:
6561         * lyxfunc.C:
6562         * text3.C: merge BufferView::repaint() and BufferView::update()
6563
6564 2003-08-01  José Matos  <jamatos@lyx.org>
6565
6566         * buffer.[Ch]: file_format is no longer a buffer data element.
6567
6568 2003-08-01  André Pönitz  <poenitz@gmx.net>
6569
6570         * BufferView.C:
6571         * lyxtext.h:
6572         * text.C:
6573         * text2.C: make redoParagraph more independent of current cursor
6574
6575         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6576         * text.C:
6577         * text2.C: remove unneeded members
6578
6579 2003-07-30  André Pönitz  <poenitz@gmx.net>
6580
6581         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6582
6583         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6584           create a single function...
6585
6586         * paragraph_funcs.C (moveItem): ... here.
6587
6588         * text.C:
6589           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6590
6591 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6592
6593         * LColor.[Ch]: Add comment and greyedout logical colors.
6594
6595 2003-07-30  André Pönitz  <poenitz@gmx.net>
6596
6597         * tabular.C: don't use Assert too heavily. This crashes where it
6598           shouldn't
6599
6600 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6601
6602         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6603         is disabled (bug 1232)
6604
6605 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6606
6607         * factory.C: limited 'arg' scope
6608
6609 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6610
6611         * factory.C: fixed Note submenu issues
6612
6613 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6614
6615         * factory.C: submenu for Note/Comment/Greyedout
6616
6617 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6618
6619         * lyx_main.C (LyX):
6620         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6621
6622 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6623
6624         * LaTeXFeatures.C:
6625         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6626         greyedout. Patch provided by Jürgen Spitzmüller.
6627
6628 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6629
6630         * kbmap.C (read): fix error message when reading bind files
6631
6632 2003-07-29  Angus Leeming  <leeming@lyx.org>
6633
6634         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6635         certainly does not do what it purports to do. I am doing it, and
6636         us, a favour by killing it.
6637
6638 2003-07-28  José Matos  <jamatos@lyx.org>
6639
6640         * buffer.C (readBody, do_writeFile):
6641         * paragraph.C(readParagraph): \end_document replaces \the_end.
6642
6643 2003-07-29  André Pönitz  <poenitz@gmx.net>
6644
6645         * BufferView.[Ch]:
6646         * BufferView_pimpl.[Ch]:
6647         * lyxfunc.C:
6648         * text2.C:
6649         * text3.C:
6650         * textcursor.[Ch]: remove toggleToggle & Co
6651
6652 2003-07-28  José Matos  <jamatos@fep.up.pt>
6653
6654         * buffer.C (readParagraph):
6655         * params_func (readParToken, readParagraph):
6656         * paragraph.C (write): \layout -> \begin_layout.
6657
6658 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * lyxlex_pimpl.C (setFile): clean up slightly.
6661
6662         * bufferparams.h: add compressed var
6663
6664         * buffer_funcs.C (readFile): adjust for LyXLex change
6665         (newFile): ditto + simplify
6666
6667         * buffer.C (writeFile): handle writing of compressed files
6668
6669         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6670         Check if the file is compressed and set a bufferparm if so.
6671
6672         * Makefile.am (lyx_LDADD): remove explicit -lz
6673
6674 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6675
6676         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6677         makeDocBookFile): put the real LyX version in the first line of
6678         the file
6679
6680         * version.h:
6681         * version.C.in: remove lyx_docversion
6682
6683         * tabular.C (write_attribute): add a template-based version to
6684         write enums properly
6685
6686 2003-07-28  André Pönitz  <poenitz@gmx.net>
6687
6688         * lyxtext.h:
6689         * text.C:
6690         * text2.C:
6691         * text3.C: use doubles again for x-coordinates. They are needed.
6692
6693 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * messages.C (getLocaleDir): use lyx_localedir()
6696
6697         * lyxlex_pimpl.C (setFile): compress stuff
6698
6699         * buffer.C (writeFile): add some compression stuff
6700         (do_writeFile): new func, dont call expliti close... will this
6701         breake anything?
6702
6703         * Makefile.am (lyx_LDADD): add -lz
6704
6705 2003-07-28  José Matos  <jamatos@fep.up.pt>
6706
6707         * buffer.C: increment file format.
6708         * paragraph_funcs (readParagraph, readParToken):
6709         * paragraph.C (readParagraph): add \end_layout.
6710
6711 2003-07-27  Angus Leeming  <leeming@lyx.org>
6712
6713         * Makefile.am: remove special casing for configure-time setting of
6714         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6715
6716         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6717         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6718
6719 2003-07-26  André Pönitz  <poenitz@gmx.net>
6720
6721         * paragraph_func.[Ch]:
6722         * paragraph.C (realizeFont): inline it whereever it is used
6723
6724         * rowpainter.C:
6725         * text.C:
6726         * text2.C:
6727         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6728
6729
6730 2003-07-26  André Pönitz  <poenitz@gmx.net>
6731
6732         *       lyxtext.h:
6733         * text.C:
6734         * text2.C: get rid of LyXText::need_break_row
6735
6736 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * toc.[Ch]: put namespace toc inside namespace lyx
6739
6740         * MenuBackend.C (expandToc2): adjust for lyx::toc
6741         (expandToc): ditto
6742
6743         * lyxfunc.C (dispatch): adjust for lyx::find
6744
6745         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6746         lyx::find instead. Reorganize a bit.
6747         (LyXReplace): rename to replace
6748         (LyXFind): rename to find
6749
6750         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6751         (dispatch): ditto
6752
6753 2003-07-26  André Pönitz  <poenitz@gmx.net>
6754
6755         * text.C (setHeightOfRow): restrict scope of temporary variable
6756
6757         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6758           code (never has been used?)
6759
6760 2003-07-27  Asger Alstrup  <alstrup@local>
6761
6762         * text.C (fill): Optimise algorithm to exploit that we can reuse
6763         the LyXFont for many characters.
6764         (setHeightOfRow): Same thing.
6765         (rowBreakPoint): Same thing.
6766
6767 2003-07-26  Asger Alstrup  <alstrup@local>
6768
6769         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6770
6771         * text.C (singleWidth): Spurious font copying in hot-spot
6772         singleWidth avoided. Reorder tests for arabic for efficiency.
6773
6774         * text.C (fill): handle empty paragraphs better.
6775
6776 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6777
6778         * ispell.C:
6779         * encoding.h: add includes
6780
6781         * lyxrc.C: remove reading of bind files
6782
6783         * lyx_main.C (init): setup bindings and menus only if we have a
6784         gui.
6785
6786         * kbmap.C (read): new method. Do the actual reading of bind
6787         files.
6788
6789         * converter.C (dvipdfm_options):
6790         * bufferparams.C:
6791         * lyxrc.C (read):
6792         (output): adapt PAPER_* enums.
6793
6794         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6795
6796         * bufferparams.h: remove paper-related enums from there
6797
6798         * paper.h: New file. A trivial header file to hold paper-related
6799         enums. It should later expand to contain many paper-related
6800         horrors access.
6801
6802         * lyxrc.C: declare extern displayTranslator
6803
6804 2003-07-27  José Matos  <jamatos@fep.up.pt>
6805
6806         * tabular.[Ch] (linuxdoc): add support for tables and figures
6807         (linuxdoc).
6808
6809 2003-07-27  José Matos  <jamatos@fep.up.pt>
6810
6811         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6812         consistency in both functions.
6813         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6814
6815 2003-07-26  Asger Alstrup  <alstrup@local>
6816
6817         * rowpainter.C (paintRows): Change algorithm to work directly on
6818         the insets rather than asking every character in the document
6819         whether its an inset.
6820
6821 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * buffer.C (openFileWrite): factorize some code
6824
6825 2003-07-26  Angus Leeming  <leeming@lyx.org>
6826
6827         * lyx_cb.C:
6828         * lyx_main.[Ch]: replace occurances of system_tempdir with
6829         os::getTmpDir().
6830
6831 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6832
6833         * rename Inset to InsetOld
6834
6835 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6836
6837         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6838         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6839         which I think is a bit clearer. EDIT is gone, since it was
6840         premature optimisation, and broken for mathed anyway.
6841         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6842         with cursor positioning in insets as well (math insets still do not
6843         work, but that's a different story anyway.) It mysteriously
6844         crashes sometimes with undo in the first paragraph, but I'm fairly
6845         confident that this is a compiler bug.
6846
6847 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6848
6849         * paragraph.C (Paragraph): adjust for new clone return type
6850         (operator==): ditto
6851         (copyIntoMinibuffer): ditto
6852
6853 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6854
6855         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6856         by not having a special case, and always doing a full rebreak of
6857         the document after undo.
6858
6859 2003-07-23  Angus Leeming  <leeming@lyx.org>
6860
6861         * factory.C (createInset): InsetExternal::setParams now takes a
6862         Buffer const * arg.
6863
6864 2003-07-23  Angus Leeming  <leeming@lyx.org>
6865
6866         * factory.C (createInset): changed interface to the external and
6867         graphics mailers' string2params functions.
6868
6869 2003-07-23  Angus Leeming  <leeming@lyx.org>
6870
6871         * factory.C (createInset): pass a
6872         Buffer const * parameter to InsetExternalMailer's string2params.
6873
6874 2003-07-22  John Levon  <levon@movementarian.org>
6875
6876         * Thesaurus.h: include the right aiksaurus header
6877
6878 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6879
6880         * MenuBackend.C (expand): check menu shortcuts unconditionally
6881
6882 2003-07-21  Angus Leeming  <leeming@lyx.org>
6883
6884         * factory.C (createInset): pass a
6885         buffer_path parameter to InsetGraphicsMailer's string2params.
6886
6887 2003-07-21  Angus Leeming  <leeming@lyx.org>
6888
6889         * BufferView_pimpl.C (buffer):
6890         * buffer.C (d-tor):
6891         * lyx_main.C (LyX):
6892         * lyxfunc.C (dispatch):
6893         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6894         rather than the grfx shortcut.
6895
6896 2003-07-21  André Pönitz  <poenitz@gmx.net>
6897
6898         * rowpainter.C: remove unused variables
6899
6900         * tabular_funcs.C:
6901         * tabular_funcs.h: move to tabular.C
6902         * Makefile.am: adjust
6903
6904         * tabular.[Ch]: basic optical cleaning
6905
6906         * author.h: pass references, not values
6907
6908 2003-07-18  André Pönitz  <poenitz@gmx.net>
6909
6910         * lyxtext.h:
6911         * metricsinfo.C:
6912         * metricsinfo.h:
6913         * rowpainter.C:
6914         * text.C:
6915         * text2.C:
6916         * text3.C: two-phase drawing for InsetText and InsetTabular
6917         some float -> int changes.
6918
6919 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6920
6921         * lyx_main.C: fix the fix
6922
6923 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6924
6925         * lyx_main.C: fix a crash in batch mode if no files specified
6926         * converter.C: ws
6927
6928 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6929
6930         * format.[Ch] (papersize): moved to BufferParams
6931         * converter.[Ch] (dvips_options): moved to BufferParams
6932         (dvipdfm_options): moved to anon namespace
6933         * bufferparams.[Ch]: added above functions.
6934
6935 2003-07-17  André Pönitz  <poenitz@gmx.net>
6936
6937         * lyxtext.h:
6938         * rowpainter.C:
6939         * text2.C: don't call inset->update() anymore
6940
6941         * metricsinfo.[Ch]: add convenience constructor
6942
6943 2003-07-16  André Pönitz  <poenitz@gmx.net>
6944
6945         * lyxcursor.[Ch]:
6946         * lyxfunc.[Ch]:
6947         * text.C:
6948         * text2.C: replace the LyXCursor::irow_ member with
6949          on-demand computation of the value
6950
6951 2003-07-16  John Levon  <levon@movementarian.org>
6952
6953         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6954
6955 2003-07-15  André Pönitz  <poenitz@gmx.net>
6956
6957         * text.C:
6958         * text2.C: remove no more needed refresh_row
6959
6960 2003-07-15  André Pönitz  <poenitz@gmx.net>
6961
6962         * lyxtext.h:
6963         * rowpainter.C:
6964         * text2.C:
6965         * text3.C: refresh_status tristate -> need_update bool
6966
6967 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6968
6969         * lyxtext.h (init): remove reinit argument (act as if always true)
6970         * text2.C: adjust to that
6971
6972 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6973
6974         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6975         * text3.C: use it to delete selections in some cases
6976         (bugs 441, 673, 702, 954).
6977
6978 2003-07-14  André Pönitz  <poenitz@gmx.net>
6979
6980         * rowpainter.[Ch]: reduce interface
6981
6982 2003-07-14  André Pönitz  <poenitz@gmx.net>
6983
6984         * BufferView_pimpl.C:
6985         * text2.C: adjust after removing unused BufferView * argument
6986
6987 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6988
6989         * text2.C (init): fix a crash fired on resize
6990
6991 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6992
6993         * buffer.[Ch]: added new closing signal
6994         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6995         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6996         BufferView::Pimpl via the closing the signal
6997
6998 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6999
7000         * buffer.[Ch]: take out all bv-related from buffer
7001         * BufferView.C:
7002         * BufferView_pimpl.[Ch]: connect to new signals
7003         * CutAndPaste.C: removed useless asserts
7004         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7005         * lyxvc.[Ch]:
7006         * vc-backend.[Ch]:
7007         * lyxfunc.C: moved view-related funciontality from vc here
7008         * paragraph.C: removed outdated comments
7009         * text.C: ws
7010
7011 2003-07-10  André Pönitz  <poenitz@gmx.net>
7012
7013         * BufferView_pimpl.C:
7014         * tabular.h:
7015         * tabular_funcs.C:
7016         * text.C:
7017         * text2.C: remove InsetText::InnerCache, clean up consequences
7018
7019 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7020
7021         * ispell.C: fix two typos in error messages
7022
7023 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7024
7025         * Extend Note inset to other forms of annotation like Comment
7026         and Greyedout. Right button click gives dialog.
7027
7028         Files modified or added (+):
7029
7030         * insetnote.[Ch]
7031         * FormNote.[Ch]      +
7032         * ControlNote.[Ch]   +
7033         * form_note.fd       +
7034         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7035         frontends/controllers
7036         * xforms/Dialogs.C
7037         * factory.C
7038
7039 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7040
7041         * aspell.C: add missing namespace lyx::support
7042
7043 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7044
7045         * BufferView.[Ch] (newFile): Add
7046         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7047         * LaTeX.[Ch] (message): added this signal and use it
7048         * buffer.[Ch] (busy, message): added these signals and use them
7049         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7050         * converter.C:
7051         * exporter.C:
7052         * format.C:
7053         * importer.C: use buffer signals instead of direct bv calling
7054         * lyx_cb.[Ch] (ShowMessage): removed
7055         * lyx_main.C:
7056         * lyxfunc.C:
7057         * paragraph_funcs.C:
7058         * text2.C: use buffer signals
7059
7060 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * introduce namespace lyx::graphics
7063
7064 2003-07-02  André Pönitz  <poenitz@gmx.net>
7065
7066         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7067
7068 2003-07-01  André Pönitz  <poenitz@gmx.net>
7069
7070         * text.C:
7071         * text2.C:
7072         * text3.C:
7073         * text_funcs.[Ch]:
7074         * textcursor.h:
7075         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7076           text*.C to text_func.C
7077
7078 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * introduce namespace lyx::support
7081
7082 2003-06-30  André Pönitz  <poenitz@gmx.net>
7083
7084         * Chktex.C:
7085         * funcrequest.C:
7086         * lyxtext.h:
7087         * text.C: re-enable --with-included-string
7088
7089 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7090
7091         * textcursor.C: add <config.h>
7092
7093         * text.C (getWord): remove const from word_location arg
7094
7095         * lyxvc.C (getLogFile): fix const type order
7096
7097         * lyxtext.h: remove const from word_location arg, add arg name
7098
7099         * lyxlayout.h: currect type on labeltype.
7100
7101         * importer.C: correct \file
7102
7103         * converter.C (intToFormat): use std:: on ret val, ws changes
7104
7105         * bufferlist.h: correct \file
7106
7107         * buffer.C (makeLinuxDocFile): fix const type order
7108         (makeDocBookFile): ditto
7109         (fillWithBibKeys): use std:: on stdlib args.
7110
7111         * CutAndPaste.C: fix authors.
7112         (availableSelections): use std:: on return vector
7113
7114 2003-06-27  André Pönitz  <poenitz@gmx.net>
7115
7116         * BufferView_pimpl.C:
7117         * bufferview_funcs.C:
7118         * lyxcursor.C:
7119         * lyxcursor.h:
7120         * lyxfunc.C:
7121         * lyxtext.h:
7122         * rowpainter.C:
7123         * text.C:
7124         * text2.C:
7125         * text3.C: remove LyXCursor::row_ member
7126
7127         * lyxtext.h:
7128         * text.C: rename fullRebreak() to partialRebreak() and implement
7129           a fullRebreak() that really bereks fully
7130
7131         * textcursor.h: new struct for cursor-related data
7132
7133 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7134
7135         * lyx_main.C (LyX): get full path of document loaded on the
7136         command line
7137
7138 2003-06-26  André Pönitz  <poenitz@gmx.net>
7139
7140         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7141           remove unused/broken operator>,<,>=.
7142
7143         *       text.C: remove only use of broken operator<= in an Assert().
7144
7145 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7146
7147         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7148         moved errorlist_.clear to showErrorList
7149
7150 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7151
7152         * converter.C (scanLog, runLaTeX):
7153         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7154         move the bv->showErrorList call to the callers
7155         * lyxfunc.C: i.e. here...
7156         * text2.C: and here
7157         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7158         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7159         namespace, the second to...
7160         * buffer_funcs (BufferFormat, parseErrors): added
7161         * errorlist.C (ErrorList(TeXErrors const &)): removed
7162
7163 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7164
7165         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7166
7167 2003-06-24  "Garst R. Reese" <reese@isn.net>
7168
7169         * debug.C: fix typo
7170
7171 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7172
7173         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7174
7175         * version.C.in: change docversion to 1.4
7176
7177 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7178
7179         * buffer.C: fix a bug just introduced
7180
7181 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7182
7183         * buffer.[Ch]: added the parseError signal and use it, removed
7184         sgmlError
7185         * BufferView.[Ch] (addError): moved to ...
7186         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7187         to the Buffer::parseError signal to catch (guess what) parse errors
7188         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7189
7190 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7191
7192         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7193         ability to create a buffer and to return an existing one from
7194         the list. Moved these functions to...
7195         * buffer_funcs.[Ch]: added
7196         * BufferView.[Ch] (loadLyXFile): added
7197         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7198         job removed from bufferlist::loadLyXFile.
7199         * buffer.C (setReadOnly): make it work without view
7200         (i.e added an if (users))
7201
7202 2003-06-19  Angus Leeming  <leeming@lyx.org>
7203
7204         * lfuns.h:
7205         * LyXAction.C (init):
7206         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7207         with LFUN_DIALOG_SHOW <name> <data>.
7208
7209 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7210
7211         * CutAndPaste.C (availableSelections): small compilation fix for
7212         ancient (gcc 2.9x) compilers
7213
7214 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * text3.C (cursorNext): add tmp var
7217
7218         * text2.C (updateCounters): for function calling out of for clause
7219         (replaceSelectionWithString): ditto
7220         (insertStringAsParagraphs): ditto
7221         (getColumnNearX): add tmp var
7222         (setCursorFromCoordinates): add tmp var
7223         (cursorDownParagraph): add tmp var
7224         (deleteEmptyParagraphMechanism): add tmp var
7225
7226         * text.C (insertChar): add tmp var
7227
7228         * rowpainter.C (paintDepthBar): add tmp var
7229
7230         * CutAndPaste.C (availableSelections): potentially check all
7231         paragraphs in a cut to fill the shown strings.
7232
7233 2003-06-18  André Pönitz  <poenitz@gmx.net>
7234
7235         * kbmap.[Ch]: use vector<> instead of list<>
7236
7237 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7238
7239         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7240         pasteSelection with index
7241
7242         * text2.C (pasteSelection): modify, call pasteSelection with index
7243
7244         * paragraph.C (asString): reimplement version with no interval to
7245         call the one with interval.
7246
7247         * lyxtext.h: add index arg to pasteSelection
7248
7249         * MenuBackend.C (MenuItem): handle PasteRecent
7250         (Menu::read::Menutags): add md_pasterecent
7251         (read): handle it
7252         (expandPasteRecent): new function
7253         (expand): use it
7254
7255         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7256
7257         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7258         the limited stack
7259         (availableSelections): new function
7260
7261 2003-06-17  Angus Leeming  <leeming@lyx.org>
7262
7263         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7264
7265 2003-06-17  Angus Leeming  <leeming@lyx.org>
7266
7267         * lfuns.h:
7268         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7269
7270         * lyxfunc.C (dispatch): invoke it.
7271
7272 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7273
7274         * iterators.C (operator++, ParPosition): reintroduce some
7275         const_cast for the benefit of older compilers.
7276
7277 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7278
7279         * text3.C (dispatch): do not modify clipboard when doing
7280         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7281         LFUN_DELETE_SKIP on a selection selection
7282
7283 2003-06-16  André Pönitz  <poenitz@gmx.net>
7284
7285         * BufferView.C:
7286         * buffer.C:
7287         * buffer.h:
7288         * paragraph.C:
7289         * tabular.[Ch]: IU of clone() and getLabelList();
7290
7291 2003-06-13  André Pönitz  <poenitz@gmx.net>
7292
7293         * tabular.h: compactification
7294
7295 2003-06-12  André Pönitz  <poenitz@gmx.net>
7296
7297         * tabular.C:
7298         * tabular.h:
7299         * tabular_funcs.h: some renaming plus whitespace
7300
7301 2003-06-12  André Pönitz  <poenitz@gmx.net>
7302
7303         * BufferView.C:
7304         * BufferView_pimpl.C:
7305         * CutAndPaste.C:
7306         * buffer.C:
7307         * iterators.[Ch]:
7308         * lyxfunc.C:
7309         * text.C:
7310         * toc.C: Return a Paragraph & for ParIterator::operator*()
7311
7312 2003-06-11  John Levon  <levon@movementarian.org>
7313
7314         * lyx_main.C:
7315         * ToolbarBackend.h:
7316         * ToolbarBackend.C: add "Toolbars" section and
7317         put the flags there
7318
7319 2003-06-10  Angus Leeming  <leeming@lyx.org>
7320
7321         * lfuns.h:
7322         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7323
7324         * lyxfunc.C (dispatch): invoke it.
7325
7326 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7327
7328         * main.C: protect <ios> with HAVE_IOS
7329         (main): protect sync_with_stdio with HAVE_IOS
7330
7331 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7332
7333         * text2.C (cutSelection): adjust
7334         (pasteSelection): adjust
7335
7336         * messages.C: handle get of empty string
7337
7338         * main.C (main): use sync_with_stdio(false)
7339
7340         * lyxfunc.C (dispatch): adjust
7341
7342         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7343         (WriteAs): remove unneeded BufferView arg.
7344
7345         * bufferparams.h: use correct types on papersize, papersize2 and
7346         paperpackage.
7347
7348         * bufferparams.C (readToken): adjust for type
7349         (writeLaTeX): add missing cases to switch.
7350
7351         * bufferlist.C (quitWriteBuffer): adjust
7352         (close): adjust
7353
7354         * buffer.C (asciiParagraph): remove some commented code.
7355
7356         * CutAndPaste.C: remove current_view extern variable.
7357         (cutSelection): add BufferParams arg.
7358         (eraseSelection): add BufferParams arg.
7359         (pasteSelection): add Buffer const & arg
7360
7361 2003-06-07  John Levon  <levon@movementarian.org>
7362
7363         * buffer.C:
7364         * paragraph_funcs.C:
7365         * paragraph_pimpl.C:
7366         * text.C:
7367         * text2.C:
7368         * paragraph.h:
7369         * paragraph.C: allow InsetERT to freely space lines,
7370         and some consolidation of code
7371
7372 2003-06-06  José Matos  <jamatos@fep.up.pt>
7373
7374         * buffer.C (makeDocBookFile): fix bug #821
7375
7376 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7377
7378         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7379
7380 2003-06-04  Angus Leeming  <leeming@lyx.org>
7381
7382         * buffer.C: bump format to 224.
7383
7384 2003-06-05  André Pönitz  <poenitz@gmx.net>
7385
7386         * text2.C (redoParagraphs): remove two const_cast<>
7387
7388 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7389
7390         * ParagraphList.h: remove last remnants of NO_STD_LIST
7391
7392 2003-06-03  Angus Leeming  <leeming@lyx.org>
7393
7394         * factory.C (createInset): small change to the way InsetExternal's params
7395         are set.
7396
7397 2003-06-04  André Pönitz  <poenitz@gmx.net>
7398
7399         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7400
7401         * paragraph_pimpl.h:
7402         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7403
7404         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7405
7406         * undo_funcs.C: make some simple cases of undo work again
7407
7408 2003-06-03  John Levon  <levon@movementarian.org>
7409
7410         * ispell.C: HPUX doesn't have sys/select.h
7411         (from Albert Chin)
7412
7413 2003-06-03  John Levon  <levon@movementarian.org>
7414
7415         * CutAndPaste.C: update tabular and include inset
7416         buffer references
7417
7418         * buffer.h:
7419         * paragraph.h:
7420         * paragraph.C: remove owningBuffer(), don't pass Buffer
7421         to clone()
7422
7423         * factory.C: insetGraphicsParams changed
7424
7425 2003-06-02  John Levon  <levon@movementarian.org>
7426
7427         * LyXAction.C:
7428         * factory.C:
7429         * lfuns.h:
7430         * lyxfunc.C:
7431         * text3.C: remove insetparent
7432
7433 2003-06-02  John Levon  <levon@movementarian.org>
7434
7435         * buffer.h:
7436         * buffer.C: fix inset_iterator.end(), move out of line
7437         (bug 1149)
7438
7439 2003-06-01  John Levon  <levon@movementarian.org>
7440
7441         * text3.C: use a proper cut/paste when doing inset
7442         insert (from Jürgen Spitzmüller)
7443
7444 2003-06-01  John Levon  <levon@movementarian.org>
7445
7446         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7447
7448 2003-05-30  André Pönitz  <poenitz@gmx.net>
7449
7450         * rowpainter.C: unify second drawing phase
7451
7452 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7453
7454         * trans_mgr.C: remove one case of current_view
7455
7456         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7457
7458         * paragraph_funcs.h: remove paragraph.h include
7459
7460         * paragraph.h: delete NO_STD_LIST stuff
7461
7462         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7463
7464         * buffer.h: remove paragraph.h include
7465
7466         * ParagraphList.C: delete file
7467
7468         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7469
7470         * toc.C (getTocList): adjust
7471
7472         * paragraph_pimpl.C (validate): adjust
7473
7474         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7475
7476         * paragraph.C (Paragraph): adjust
7477         (getPositionOfInset): use const_iterator, adjust
7478         (bibitem): use const_iterator, adjust
7479         (setInsetOwner): adjust
7480
7481         * iterators.C (operator++): adjust
7482
7483         * InsetList.[Ch]: Replace selfmade iterator with standard
7484         vector::iterator also introduce const_iterator. Remove getPos,
7485         getInset and setInset from InsetTable. Adjust accordingly.
7486
7487         * BufferView.C (lockInset): adjust
7488         (ChangeInsets): adjust
7489
7490         * tabular.[Ch]: delete commented same_id functions
7491
7492 2003-05-28  John Levon  <levon@movementarian.org>
7493
7494         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7495
7496 2003-05-28  André Pönitz  <poenitz@gmx.net>
7497
7498         * metricsinfo.[Ch]: remove 'fullredraw' member
7499
7500 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7501
7502         * lyxtextclass.C (operator): remove caching.
7503
7504 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * text3.C: adjust
7507
7508         * text2.C (cursorBottom): adjust
7509         (setCounter): use ParagraphList::find, adjust
7510
7511         * text.C (workWidth): use ParagraphList::find, adjust
7512
7513         * lyxcursor.C (LyXCursor): adjust
7514
7515         * buffer.C (inset_iterator): adjust
7516
7517         * ParagraphList.h: make iterator(value_type) private, make
7518         ParagraphList a friend of iterator.
7519
7520         * ParagraphList.C (find): new function
7521
7522         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7523
7524 2003-05-27  André Pönitz  <poenitz@gmx.net>
7525
7526         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7527
7528 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7529
7530         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7531
7532 2003-05-26  John Levon  <levon@movementarian.org>
7533
7534         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7535
7536 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7537
7538         * remove same_id from function signatures, adjust.
7539
7540 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7543
7544         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7545
7546         * paragraph.C (Paragraph): get rid of same_ids parameter
7547
7548         * ParagraphList.C (insert): adjust
7549         (push_back): adjust
7550
7551 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7552
7553         * paragraph_funcs.C (breakParagraph): adjust
7554         (breakParagraphConservative): adjust
7555
7556         * buffer.C (readParagraph): adjust
7557
7558         * ParagraphList.C (insert): take a reference instead of a pointer
7559         (insert): adjust
7560
7561         * paragraph.[Ch] (id): new function
7562
7563         * bufferlist.C (newFile): adjust
7564
7565         * ParagraphList.C (ParagraphList): adjust
7566         (assign): adjust
7567         (push_back): take a reference instead of a pointer.
7568
7569         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7570
7571         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7572         instead.
7573
7574         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7575         set else use old code.
7576
7577         * ParagraphList.C: remove all NO_NEXT code and only compile this
7578         code of NO_STD_LIST is set.
7579
7580 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7581
7582         * BufferView_pimpl.C:
7583         * TextCache.C:
7584         * TextCache.h:
7585         * bufferlist.C:
7586         * errorlist.h:
7587         * format.C:
7588         * format.h:
7589         * graph.C:
7590         * lyxfunc.C:
7591         * lyxrc.C:
7592         * graphics/GraphicsConverter.C:
7593         * graphics/PreviewLoader.C: header adjustment
7594
7595 2003-05-23  Angus Leeming  <leeming@lyx.org>
7596
7597         * LaTeXFeatures.[Ch] (useBabel): new method.
7598         * bufferparams.C (writeLaTeX): use it.
7599
7600 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7601
7602         * ParagraphList.h (set): remove unused function.
7603
7604 2003-05-23  André Pönitz  <poenitz@gmx.net>
7605
7606         * BufferView.C:
7607         * BufferView_pimpl.C:
7608         * buffer.C:
7609         * buffer.h:
7610         * lyxfunc.C:
7611         * undo_funcs.C: setUndo reworked
7612
7613         * iterators.[Ch]: add access to topmost ParagraphList
7614
7615         * lyxtext.[Ch] (workWidth): add a const
7616
7617 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7618
7619         * texrow.[Ch] (increasePos): remove function
7620         * exporter.C (export): removed unused var and outdated comment
7621
7622 2003-05-23  Angus Leeming  <leeming@lyx.org>
7623
7624         * latexrunparams.h: rename fragile as moving_arg.
7625         * paragraph.C (simpleTeXOnePar): ditto.
7626         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7627
7628 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7629
7630         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7631         (createUndo): ditto
7632         (textUndoOrRedo): comment out a currently unused var.
7633
7634         * paragraph.h (NO_NEXT): enable NO_NEXT
7635
7636         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7637
7638         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7639
7640         * exporter.C (Export): adjust for removeAutoInsets removal.
7641
7642         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7643
7644         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7645
7646         * BufferView.[Ch] (removeAutoInsets): delete function
7647
7648 2003-05-22  Angus Leeming  <leeming@lyx.org>
7649
7650         * latexrunparams.h: add a free_spacing variable.
7651
7652         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7653         to pass moving_arg, as the data is stored in runparams.fragile.
7654
7655         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7656         to Inset::latexOptional or to simpleTeXOnePar.
7657
7658         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7659         free_spacing arg to Inset::latexOptional.
7660
7661         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7662         free_spacing arg.
7663
7664 2003-05-22  Angus Leeming  <leeming@lyx.org>
7665
7666         * latexrunparams.h: add fragile and use_babel variables.
7667
7668         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7669         * buffer.C (makeLaTeXFile): store this returned value in
7670         runparams.use_babel, thus passing it to the inset::latex methods.
7671
7672         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7673         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7674
7675         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7676         longer has a fragile arg, as it is stored in runparams.fragile.
7677
7678         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7679         moving_arg parameter as the data is stored in runparams.fragile.
7680
7681         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7682         a fragile parameter as the data is stored in runparams.fragile.
7683
7684 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7685
7686         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7687
7688 2003-05-22  Angus Leeming  <leeming@lyx.org>
7689
7690         * latexrunparams.h: add a 'bool nice' which defaults to false.
7691
7692         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7693         now encapsulated within runparams.
7694
7695         * bufferlist.C (updateIncludedTeXfiles):
7696         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7697
7698 2003-05-22  Angus Leeming  <leeming@lyx.org>
7699
7700         * latexrunparams.h: new file containing struct LatexRunParams.
7701         * Makefile.am: add new file.
7702
7703         * LaTeX.[Ch] (c-tor, run):
7704         * buffer.[Ch] (makeLaTeXFile):
7705         * bufferlist.[Ch] (updateIncludedTeXfiles):
7706         * converter.C (convert, scanLog):
7707         * converter.[Ch] (runLaTeX):
7708         * exporter.C (Export):
7709         * paragraph.[Ch] (simpleTeXOnePar):
7710         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7711         * paragraph_funcs.[Ch] (latexParagraphs):
7712         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7713         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7714         pass around a LatexRunParams parameter.
7715
7716 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7717
7718         * paragraph.[Ch]: remove unused constructor
7719
7720         * ParagraphList.C (erase): new function, taking two iterators
7721
7722 2003-05-22  André Pönitz  <poenitz@gmx.net>
7723
7724         * undo_funcs.C: remove duplicated code
7725
7726         * iterator.[Ch]: operator=
7727
7728 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7729
7730         * tabular.C (SetMultiColumn): ws changes
7731
7732         * rowpainter.C (paintFirst): get rid of a ->previous
7733
7734         * lyx_cb.C (getPossibleLabel): parlist simplification
7735
7736         * BufferView.C (ChangeInsets): simplify slightly.
7737
7738 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7739
7740         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7741         * lfuns.h: new LFUN_SPACE
7742         * lyxfunc.C: protected space has a new lfun
7743         * paragraph_funcs.C: read new space insets
7744         * text3.C:
7745         * factory.C: handle new space insets
7746
7747 2003-05-22  André Pönitz  <poenitz@gmx.net>
7748
7749         * BufferView.C:
7750         * BufferView_pimpl.C:
7751         * buffer.[Ch]:
7752         * lyxfunc.C:
7753         * undo_funcs.C: return a ParIterator from getParFromID.
7754
7755         * iterators.[Ch]: add two const's
7756
7757 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * toc.C (getTocList): adjust
7760
7761         * iterators.[Ch]: rework for parlist
7762
7763         * buffer.C (par_iterator_begin): adjust
7764         (par_iterator_end): adjust
7765
7766         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7767
7768         * BufferView.C (removeAutoInsets): adjust
7769         (ChangeInsets): adjust
7770
7771 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7772
7773         * text.C (top_y): fix bug 1110
7774
7775 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7776
7777         * errorlist.[Ch]: added
7778         * buffer.C:
7779         * BufferView.[Ch]:
7780         * BufferView_pimpl.C:
7781         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7782         instead
7783
7784 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7785
7786         * Makefile.am: ensure that lyx is relinked upon changes to the
7787         various "convenience" libs.
7788
7789 2003-05-20  Angus Leeming  <leeming@lyx.org>
7790
7791         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7792         files are compiled in alphabetical order again.
7793
7794         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7795
7796 2003-05-19  Angus Leeming  <leeming@lyx.org>
7797
7798         * gettext.[Ch]: remove "char const * _(char const *)".
7799
7800 2003-05-19  André Pönitz  <poenitz@gmx.net>
7801
7802         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7803
7804         * Makefile.am:
7805         * BufferView.C:
7806         * DepTable.h:
7807         * LaTeXFeatures.C:
7808         * buffer.C:
7809         * lyxfont.C:
7810         * lyxlex.h:
7811         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7812
7813 2003-05-19  André Pönitz  <poenitz@gmx.net>
7814
7815         * buffer.C:
7816         * lyxlayout.[Ch]:
7817         * lyxtextclass.[Ch]:
7818         * paragraph.C:
7819         * paragraph_funcs.[Ch]:
7820         * text2.C:
7821         * text3.C: more insetenv work
7822
7823 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7824
7825         * ParagraphParameters.C (params2string): small bug fixed
7826
7827 2003-05-16  André Pönitz  <poenitz@gmx.net>
7828
7829         * debug.C:
7830         * bufferview_funcs.C: patch from Kornel Benko to prevent
7831           crash when _(...) is called twice in a statement
7832
7833 2003-05-16  André Pönitz  <poenitz@gmx.net>
7834
7835         * BufferView.C:
7836         * lyxfunc.C:
7837         * text.C:
7838         * text2.C:
7839         * text3.C:
7840         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7841
7842 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7843
7844         * lyx_main.C (init): remove spurious static_cast
7845
7846 2003-05-14  André Pönitz  <poenitz@gmx.net>
7847
7848         * BufferView.C: fix format string
7849
7850 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7851
7852         * BufferView.[Ch] (insertErrors): removed
7853         * BufferView.[Ch] (showErrorList): added
7854         * buffer.C (runChkTeX):
7855         * converter.C (scanLog): call showErrorList instead of inserterrors
7856
7857 2003-05-13  André Pönitz  <poenitz@gmx.net>
7858
7859         * BufferView_pimpl.C:
7860         * buffer.C:
7861         * bufferview_func.C:
7862         * MenuBackend.C:
7863         * lyxfunc.C:
7864         * lyxrc.C:
7865         * tex-accent.C:
7866         * text3.C:
7867         * toc.C:
7868         * tabular_funcs.h: tostr() from its own header
7869
7870         * ParagraphParameters.C:
7871         * ToolbarBackend.C:
7872         * bufferparams.C:
7873         * format.C:
7874         * lyxlex_pimpl.C:
7875         * text3.C: STRCONV()
7876
7877 2003-05-12  André Pönitz  <poenitz@gmx.net>
7878
7879         * BufferView.C:
7880         * BufferView_pimpl.C:
7881         * CutAndPaste.C:
7882         * LaTeX.C:
7883         * LaTeXFeatures.C:
7884         * ParagraphParameters.C:
7885         * buffer.C:
7886         * bufferlist.C:
7887         * bufferparams.C:
7888         * bufferview_funcs.C:
7889         * converter.C:
7890         * counters.C:
7891         * debug.C:
7892         * exporter.C:
7893         * format.C:
7894         * importer.C:
7895         * lyx_cb.C:
7896         * lyx_main.C:
7897         * lyxfont.C:
7898         * lyxfunc.C:
7899         * lyxvc.C:
7900         * paragraph.C:
7901         * paragraph_funcs.C:
7902         * tabular.C:
7903         * tabular_funcs.C:
7904         * text2.C:
7905         * text3.C:  boost::format -> bformat  all over the place
7906
7907
7908 2003-05-09  André Pönitz  <poenitz@gmx.net>
7909
7910         * LColor.[Ch]: Pimpl the #include <map> away
7911
7912 2003-05-09  John Levon  <levon@movementarian.org>
7913
7914         * bufferlist.C: never remove emergency saves
7915
7916 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * Makefile.am: better lib building
7919
7920 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7921
7922         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7923         instead.
7924         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7925         (simpleTeXSpecialChars): adjust
7926         (simpleTeXSpecialChars): adjust
7927         * paragraph.C (simpleTeXOnePar): adjust
7928         * buffer.C (makeLaTeXFile): adjust
7929
7930         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7931
7932         * text2.C (changeDepth): parlist cleanup
7933         (getColumnNearX): ditto
7934
7935         * rowpainter.C (getLabelFont): parlist cleanup
7936
7937         * bufferlist.C (newFile): parlist cleanup
7938
7939         * CutAndPaste.C (eraseSelection): parlist cleanup
7940
7941         * BufferView_pimpl.C (trackChanges): parlist cleanup
7942         (dispatch): ditto
7943
7944         * BufferView.C (lockInset): parlist cleanup.
7945         (ChangeInsets): ditto
7946
7947 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7948
7949         * CutAndPaste.h: Update file header.
7950
7951         * CutAndPaste.C: Update file header.
7952         Store the parts cut out of the Document in a limited_stack.
7953         (copySelection): adjust
7954         (pasteSelection): new function, takes the index in the limited stack.
7955         (nrOfParagraphs): adjust
7956         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7957         simplify error inset insertion.
7958         (checkPastePossible): adjust
7959
7960 2003-05-06  John Levon  <levon@movementarian.org>
7961
7962         * text2.C: don't cast wrap inset to float
7963
7964 2003-05-05  André Pönitz  <poenitz@gmx.net>
7965
7966         * iterator.C:
7967         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7968
7969         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7970           few naked Paragraph *.
7971
7972 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7973
7974         * bufferparams.C: Output warning if a document with missing
7975         TeX document class is loaded
7976         * exporter.C: Disable TeX exports if the document class is missing
7977         * lyxtextclass.C:
7978         * lyxtextclass.h:
7979         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7980         isTeXClassAvailable()
7981
7982 2003-05-03  John Levon  <levon@movementarian.org>
7983
7984         * BufferView.h:
7985         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7986         explicit cursor show/hide
7987
7988         * BufferView_pimpl.h:
7989         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7990         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7991
7992         * lyxfunc.C: hide cursor before dispatching.
7993
7994         * lyx_cb.C:
7995         * lyxfind.C:
7996         * text.C:
7997         * text3.C: remove explicit cursor hides
7998
7999 2003-05-02  André Pönitz  <poenitz@gmx.net>
8000
8001         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8002
8003         * undo_funcs.C:
8004         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8005           linked lists
8006
8007         * text2.C: tiny whitespace
8008
8009 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8010
8011         * undo_funcs.C: almost only ws changes.
8012
8013         * ParagraphList.C (splice): just return if pl is empty.
8014
8015 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8016
8017         * ParagraphList.C (splice): new function.
8018
8019         * CutAndPaste.C (pasteSelection): use it
8020
8021 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * CutAndPaste.C (pasteSelection): remove the last next and
8024         previous from this file.
8025
8026 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * CutAndPaste.C (pasteSelection): more clean up, user proper
8029         ParagraphList functions for pasteing.
8030
8031         * ParagraphList.C (insert): new function, three arg insert
8032
8033 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8034
8035         * ParagraphList.C (insert): new function, three arg insert
8036
8037         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8038         not on paragraphs.
8039
8040 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8043
8044 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8045
8046         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8047
8048 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8049
8050         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8051         (copySelection): clean up a bit.
8052         (pasteSelection): use make_pair
8053
8054         * ParagraphList.C (ParagraphList): implement copy constructor
8055         (operator=): implement, base on copy constructor.
8056         (assign): new func
8057
8058         * paragraph.C (erase): return a bool
8059
8060         * paragraph_pimpl.C (erasePos): remove function, move contents...
8061         (erase): ... here. Return a bool.
8062         (erase): call erase instead of erasePos.
8063
8064 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8065
8066         * ParagraphList.h: define PitPosPair
8067         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8068         ParagraphList, fix a bug on pasting multiple pars
8069         * text2.C: change interface to C&P
8070
8071 2003-04-30  André Pönitz  <poenitz@gmx.net>
8072
8073         * undo_func.C: revert part of yesterday's patch 2
8074
8075 2003-04-30  John Levon  <levon@movementarian.org>
8076
8077         * LColor.C: s/tabular/table/
8078
8079 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8080
8081         * text3.C (dispatch): do not convert iterator -> pointer
8082         * undo_funcs.C (setCursorParUndo): ditto
8083         * text_funcs.C (transposeChars): ditto
8084
8085         * text2.C (setLayout): ws changes only
8086
8087         * text.C (breakParagraph): do not convert iterator -> pointer
8088         (insertChar): ditto
8089         (acceptChange): ditto
8090         (rejectChange): ditto
8091         (changeCase): ditto
8092         (Delete): ditto
8093         (backspace): ditto
8094
8095         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8096         pointer
8097
8098 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8099
8100         * text3.C (gotoInset): YABG (yet another bad getChar)
8101
8102 2003-04-29  André Pönitz  <poenitz@gmx.net>
8103
8104         * paragraph.h: make operator= private unimplemented as long as
8105           it is unusable
8106
8107         * ParagraphList.C: whitespace
8108
8109         * paragraph.[Ch]:
8110         * paragraph_pimpl.[Ch]:
8111         * paragraph_funcs.C:
8112         * CutAndPaste.C:
8113         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8114
8115         * text2.C:
8116           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8117
8118 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8119
8120         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8121         * paragraph.[Ch] (erase):
8122         * paragraph_pimpl.[Ch] (erase): change return type and value
8123         * text2.C (cutSelection): some rework
8124
8125 2003-04-28  John Levon  <levon@movementarian.org>
8126
8127         * bufferlist.C: changes for unsaved changes dialog
8128
8129 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * bufferlist.C (newFile): set language (messages_) for new
8132         documents also.
8133
8134         * buffer.C (readFile): ws changes only.
8135
8136 2003-04-28  André Pönitz  <poenitz@gmx.net>
8137
8138         * undo_funcs.C:
8139         * lyxfunc.C:
8140         * buffer.[Ch]:
8141         * BufferView_pimpl.C:
8142         * BufferView.C: getParFromID related ParagraphList::iterator changes
8143
8144 2003-04-28  André Pönitz  <poenitz@gmx.net>
8145
8146         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8147           Changes
8148
8149 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8150
8151         * messages.C: remove one more localedir class variable.
8152
8153 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8154
8155         * messages.C (getLocaleDir): singleton generation function
8156         (Pimpl): use it.
8157         (Messages): add a default constructor.
8158
8159         * main.C (main): do not setup localedir here, do not call
8160         gettext_init.
8161
8162         * gettext.C (_): use it.
8163         (gettext_init): delete funciton
8164
8165 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8166
8167         * gettext.C (getLyXMessages): new singleton generating function.
8168
8169         * buffer.C (updateDocLang): adjust
8170
8171         * Makefile.am (messages.o): add target
8172         (main.o): remove target
8173
8174 2003-04-27  John Levon  <levon@movementarian.org>
8175
8176         * bufferlist.C:
8177         * lyx_cb.C:
8178         * lyxfunc.C:
8179         * lyxvc.C: specify cancel button in Alert::prompt
8180
8181 2003-04-26  John Levon  <levon@movementarian.org>
8182
8183         * text3.C:
8184         * lyxfunc.C:
8185         * lfuns.h:
8186         * LyXAction.C: add LFUN_INSET_SETTINGS
8187
8188         * lyxfunc.C: don't enable tabular-feature when there's
8189         just any locking inset
8190
8191 2003-04-26  John Levon  <levon@movementarian.org>
8192
8193         * bufferlist.C: re-add Cancel to buffer close question
8194
8195         * lyxfunc.C: fix import UI a bit
8196
8197 2003-04-25  John Levon  <levon@movementarian.org>
8198
8199         * gettext.C: remove the broken asserts for now
8200
8201 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8202
8203         * messages.C: make case where setlocale cannot comply work better.
8204
8205         * buffer.C (updateDocLang): new function
8206         (changeLanguage): use it
8207         (readFile): use it
8208
8209         * text2.C (setCounter): use B_ a bit.
8210
8211         * lyxlayout.C (Read): be sure to trim the label strings.
8212
8213         * messages.C (Messages): fix typo in comment
8214
8215         * buffer.C (readFile): set message_ after file is loaded.
8216         (makeDocBookFile): remove double return
8217         (changeLanguage): reset message_ upon language change.
8218         (B_): new func, use this to get translated buffer strings.
8219
8220         * main.C: add myself and Jean Marc as authors.
8221
8222 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8223
8224         * messages.[hC]: pimplify Messages, and three different pimpls to be
8225         used in different circumstances.
8226
8227         * gettext.[Ch]: change for use with new message code.
8228
8229 2003-04-24 André Pönitz <poenitz@gmx.net>
8230
8231         * factory.C: support for eqref
8232
8233 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8234
8235         * messages.[Ch]: add missing char
8236
8237         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8238
8239         * messages.[Ch]: New files
8240
8241 2003-04-18  John Levon  <levon@movementarian.org>
8242
8243         * BufferView.h:
8244         * BufferView.C:
8245         * BufferView_pimpl.C:
8246         * lfuns.h:
8247         * LyXAction.C:
8248         * lyxtext.h:
8249         * text2.C: remove layout-copy/paste (bug 778)
8250
8251 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8252
8253         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8254
8255 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8256
8257         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8258         if they succeed. Act accordingly.
8259
8260 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8261
8262         * text2.C (setCharFont): adjust
8263         (setCounter): adjust
8264         (insertStringAsLines): adjust
8265
8266         * text.C (leftMargin): adjust
8267         (setHeightOfRow): adjust
8268
8269         * rowpainter.C (paintFirst): adjust
8270         (paintLast): adjust
8271
8272         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8273         (outerHook): ditto
8274         (isFirstInSequence): ditto
8275         (getEndLabel): ditto
8276         (outerFont): adjust
8277
8278         * paragraph.C (getParLanguage): comment out some hard stuff.
8279
8280         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8281         (sgmlError): ditto
8282         (simpleDocBookOnePar): ditto
8283         (makeDocBookFile): use ParagraphList::iterator
8284
8285         * CutAndPaste.C (pasteSelection): adjust
8286
8287 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8288
8289         * text2.C (getFont): adjust
8290         (getLayoutFont): adjust
8291         (getLabelFont): adjust
8292
8293         * paragraph_funcs.C (TeXOnePar): adjust
8294
8295         * buffer.C (simpleLinuxDocOnePar): adjust
8296         (simpleDocBookOnePar): adjust
8297
8298         * CutAndPaste.C (pasteSelection): adjust
8299
8300         * BufferView.C (getEncoding): adjust
8301
8302         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8303
8304 2003-04-16  John Levon  <levon@movementarian.org>
8305
8306         * lyxfind.C: use parlist stuff for search/changes
8307
8308 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8311
8312         * text2.C (deleteEmptyParagraphMechanism): adjust
8313
8314         * text2.[Ch] (ownerParagraph): delete func (both of them
8315
8316 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8317
8318         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8319
8320 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8321
8322         * ParagraphList.C: prepare for NO_NEXT
8323
8324 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8325
8326         * text2.C (getFont): adjust
8327         (getLayoutFont): adjust
8328         (getLabelFont): adjust
8329
8330         * paragraph.C (getFont): adjust
8331         (getLabelFont): adjust
8332         (getLayoutFont): adjust
8333
8334         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8335
8336 2003-04-15  John Levon  <levon@movementarian.org>
8337
8338         From Angus Leeming
8339
8340         * lyx_main.C: handle Include in .ui files
8341
8342 2003-04-15  John Levon  <levon@movementarian.org>
8343
8344         * MenuBackend.C: make the doc files length shorter
8345
8346         * ToolbarBackend.h:
8347         * ToolbarBackend.C: handle toolbar placement flags,
8348         Minibuffer
8349
8350 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8353         adjust
8354
8355         * paragraph_funcs.C (TeXOnePar): adjust
8356
8357         * paragraph.C (getLabelFont): add outerfont arg, adjust
8358         (getLayoutFont): ditto
8359         (simpleTeXOnePar): adjust
8360
8361         * paragraph_pimpl.C (realizeFont): delete func
8362
8363 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8364
8365         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8366         row argument, constify cur argument.
8367
8368 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8369
8370         * text2.C (getFont): adjust
8371         (getLayoutFont): adjust
8372         (getLabelFont): adjust
8373
8374         * paragraph_funcs.C (TeXOnePar): adjust
8375         (outerFont): new func...
8376         (realizeFont): ...moved out from here, changed this to facilitate
8377         transition
8378
8379         * paragraph.C (getFont): take outerfont as arg, adjust
8380         (simpleTeXOnePar): add outerfont arg, adjust
8381
8382         * buffer.C (simpleLinuxDocOnePar): adjust
8383         (simpleDocBookOnePar): adjust
8384
8385         * CutAndPaste.C (pasteSelection): adjust
8386
8387         * BufferView.C (getEncoding): adjust
8388
8389 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * text2.C (setCharFont): adjust
8392         (setCounter): adjust
8393
8394         * text.C (leftMargin): adjust
8395         (setHeightOfRow): adjust
8396
8397         * rowpainter.C (paintFirst): adjust
8398         (paintLast): adjust
8399
8400         * paragraph_pimpl.C (realizeFont): adjust
8401
8402         * paragraph.C (isFirstInSequence): move from here...
8403         * paragraph_funcs.C (isFirstInSequence): ...to here
8404
8405         * paragraph.C (outerHook): move from here...
8406         * paragraph_funcs.C (outerHook): ...to here
8407
8408         * paragraph.C (depthHook): move from here...
8409         * paragraph_funcs.C (depthHook): ...to here
8410
8411         * paragraph.C (getEndLabel): move from here...
8412         * paragraph_funcs.C (getEndLabel): ...to here
8413
8414         * text2.C (realizeFont): move from here...
8415         * paragraph_funcs.C (realizeFont): ...to here
8416
8417 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8418
8419         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8420
8421 2003-04-14  Angus Leeming  <leeming@lyx.org>
8422
8423         * LColor.[Ch]: scrap LColor mathcursor.
8424
8425 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8426
8427         * lyxlex.[Ch] (text): delete function
8428         * trans.C (Load): adjust
8429         * paragraph_funcs.C (readParToken): adjust
8430
8431 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8432
8433         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8434         vector<char> instead of a char[].
8435
8436         * lyxlex_pimpl.C (getString): adjust
8437         (next): adjust
8438         (lex): use getString
8439         (eatLine): adjust
8440         (nextToken): adjust
8441
8442         * lyxlex.C (text): use pimpl_->getString()
8443         (getBool): ditto
8444         (findToken): ditto
8445
8446 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8447
8448         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8449         (makeFontEntriesLayoutSpecific): temp var for par.size()
8450         (setLayout): temp var for ownerParagraphs().end()
8451         (fullRebreak): temp var for rows().end()
8452         (selectionAsString): temp var for boost::next(startpit), realize
8453         that the while really is a regular for loop.
8454         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8455         setCursor in one place.
8456         (setParagraph): temp vr for ownerParagraphs().end()
8457         (updateCounters): make the while loop a for loop
8458         (cutSelection): temp var for ownerParagraphs().end()
8459         (updateInset): make the do {} while() a regular for loop
8460         (getCursorX): use temp vars
8461         (setCurrentFont): use temp vars
8462         (getColumnNearX): use temp vars
8463
8464 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8465
8466         * text.C (transformChar): use temp var for getChar
8467         (computeBidiTables): use temp var for row->par()
8468         (fill): move temp vars for row->par() and pit->layout() earlier in
8469         the function.
8470         (labelFill): use temp var for row->par()
8471         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8472         asc and desc, realize that pit never changes and that firstpit is
8473         just a duplicate and not needed. Exchange rit->par() with pit in a
8474         lot of places.
8475         (breakAgain): use a temp var for boost::next(rit)
8476         (breakAgainOneRow): ditto
8477         (breakParagraph): use a temp var for rows().begin()
8478         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8479         (cursorRightOneWord): use temp var for cursor.par() and
8480         cursor.pos(), remove usage of tmpcursor.
8481         (cursorLeftOneWord): use temp var for cursor.par() and
8482         cursor.pos() only set cur at end of function.
8483
8484 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * text.C, text2.C: exchange all usage of Paragraph::next with
8487         boost::next(ParagraphList::iterator)
8488
8489         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8490
8491         * text2.C (cursorTop): simplify implementation
8492         (cursorBottom): ditto
8493         (setParagraph): use ParagraphList::iterator
8494         (setCurrentFont): adjust
8495         (getColumnNearX): adjust
8496         (cursorRight): adjust
8497         (cursorLeft): remove usage of Paragraph::previous
8498         (cursorUpParagraph): ditto
8499         (deleteEmptyParagraphMechanism): slight cleanup
8500
8501         * text.C (isBoundary): take a Paragraph const & instead of a
8502         pointer as arg.
8503         (addressBreakPoint): ditto
8504         (leftMargin): remove usage of Paragraph::previous.
8505         (setHeightOfRow): ditto
8506         (cursorLeftOneWord): ditto
8507         (selectNextWordToSpellcheck): ditto
8508         (Delete): ditto
8509         (backspace): ditto
8510         (breakParagraph): remove one usage of Paragraph::next
8511         (redoParagraph): ditto
8512         (acceptChange): ditto
8513         (insertChar): adjust
8514         (rowBreakPoint): adjust
8515
8516         * bufferview_funcs.C (toggleAndShow): adjust
8517
8518 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8519
8520         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8521         methods to access it.
8522         * lyxtext.h:
8523         * text.C: Added updateRowPositions to compute all row positions.
8524         Make top_y and getRowNearY() to use the cached y position
8525
8526 2003-04-11  John Levon  <levon@movementarian.org>
8527
8528         * text.C (rowBreakPoint): reintroduce the labelEnd
8529         checks, code copied from the row fill stuff. Deep voodoo.
8530
8531         * text.C (fill): add a comment and debugging for the
8532         next poor soul.
8533
8534 2003-04-11  John Levon  <levon@movementarian.org>
8535
8536         * text.C: make sure fullrow insets get wrapped to the next line,
8537         even when they're in a manual label
8538
8539 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8540
8541         * text2.C (insertParagraph): make it take ParagraphList::iterator
8542         as arg.
8543         (setLayout): make it return ParagraphList::iterator
8544         (redoParagraphs): ditto
8545         (setCounter): ditto
8546         (checkParagraph): ditto
8547
8548         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8549
8550         * text2.C: adjust several funcs.
8551         (realizeFont): take a ParagraphList::iterator as arg.
8552         (getLayoutFont): ditto
8553         (getLabelFont): ditto
8554         (setCharFont): ditto
8555
8556         * text.C: adjust several funcs.
8557
8558 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8559
8560         * text.C (selectNextWordToSpellcheck): don't accidentally
8561         skip insets
8562
8563 2003-04-10  John Levon  <levon@movementarian.org>
8564
8565         * ToolbarBackend.C (getIcon): special handling for
8566         LFUN_MATH_DELIM
8567
8568 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8569
8570         * text2.C (cursorRight): a getChar assert fixed
8571
8572 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8573
8574         * text2.C (getFont): change to take a ParagraphList::iterator
8575         instead of Paragraph*
8576         Adjust several functions.
8577
8578         * text.C (transformChar): change to take a ParagraphList::iterator
8579         instead of Paragraph*
8580         (singleWidth): ditto
8581         Adjust several functions.
8582
8583         * rowpainter.C: adjust several functions
8584         * rowpainter.h:store a ParagraphList::iterator and not a
8585         Paragraph&.
8586
8587
8588 2003-04-09  John Levon  <levon@movementarian.org>
8589
8590         * lyxfunc.C:
8591         * lfuns.h:
8592         * LyXAction.h:
8593         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8594         and the "help" bits as well
8595
8596 2003-04-09  John Levon  <levon@movementarian.org>
8597
8598         * ToolbarBackend.h:
8599         * ToolbarBackend.C: allow multiple toolbars
8600
8601 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * undo_funcs.C (setCursorParUndo): adjust
8604
8605         * text_funcs.C (transposeChars): adjust
8606
8607         * text3.C (gotoNextInset): adjust
8608         (dispatch): adjust
8609
8610         * text2.C (setLayout): adjust
8611         (changeDepth): adjust
8612         (setFont): adjust
8613         (redoParagraphs): adjust
8614         (selectionAsString): adjust
8615         (setParagraph): adjust
8616         (insertInset): adjust
8617         (cutSelection): adjust
8618         (copySelection): adjust
8619         (pasteSelection): adjust
8620         (insertStringAsLines): adjust
8621         (updateInset): adjust
8622         (setCursor): change to take a ParagraphList::iterator parameter
8623         (setCursorIntern): change to take a ParagraphList::iterator parameter
8624         (setCurrentFont): adjust
8625         (cursorLeft): adjust
8626         (cursorRight): adjust
8627         (deleteEmptyParagraphMechanism): adjust
8628
8629         * text.C (breakParagraph): adjust
8630         (insertChar): adjust
8631         (acceptChange): adjust
8632         (rejectChange): adjust
8633         (selectNextWordToSpellcheck): adjust
8634         (changeCase): adjust
8635         (Delete): adjust
8636         (backspace): adjust
8637
8638         * lyxfind.C (SearchForward): adjust
8639         (SearchBackward): adjust
8640         (nextChange): adjust
8641
8642         * lyxcursor.C (par): adjust
8643
8644         * lyxcursor.h: store a ParagraphList::iterator instead of a
8645         Paragraph*
8646
8647         * lyx_cb.C (getPossibleLabel): adjust
8648
8649         * bufferview_funcs.C (toggleAndShow): adjust
8650
8651         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8652         (dispatch): adjust
8653
8654         * BufferView.C (removeAutoInsets): adjust
8655         (lockedInsetStoreUndo): adjust
8656
8657 2003-04-09  John Levon  <levon@movementarian.org>
8658
8659         * ToolbarBackend.C: try icon without argument
8660         if with argument fails
8661
8662 2003-04-08  John Levon  <levon@movementarian.org>
8663
8664         * ToolbarBackend.h:
8665         * ToolbarBackend.C: add getIcon(), handle tooltip,
8666         and change from "Icon" to "Item".
8667
8668 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8669
8670         * BufferView.C (lockInset): another bad getchar crunched
8671
8672 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8673
8674         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8675         again)
8676
8677 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8678
8679         * lyxfind.C (searchForward, searchBackwards): bug 782
8680
8681 2003-04-07  John Levon  <levon@movementarian.org>
8682
8683         * paragraph.C: remove dead comment
8684
8685         * text.C: remove troublesome depth-fiddling code
8686         in leftMargin() and rightMargin() (bug 1017)
8687
8688         * text.C: fix breaking of rows in nested lists
8689         (bug 1004)
8690
8691         * text2.C (updateCounters): fix up depth values
8692         (bug 1013)
8693
8694 2003-04-07  John Levon  <levon@movementarian.org>
8695
8696         * BufferView_pimpl.C: clear message when doc finishes resizing,
8697         and after a mouse event
8698
8699         * lyxfunc.C: clear message after exiting inset
8700
8701 2003-04-07  John Levon  <levon@movementarian.org>
8702
8703         * bufferview_funcs.C: show math status not outside
8704         status in the statusbar
8705
8706 2003-04-07  John Levon  <levon@movementarian.org>
8707
8708         * lyxfunc.C: note status changed after a depth change
8709
8710 2003-04-04  Angus Leeming  <leeming@lyx.org>
8711
8712         * LaTeX.h: move AuxInfo operator==, != out of line.
8713         Remove LaTeX virtual destructor; nothing derives from it.
8714         Move operator()() out of public area and rename it startscript().
8715         Change protected for private.
8716
8717 2003-04-04  Angus Leeming  <leeming@lyx.org>
8718
8719         * lyxfunc.C:
8720         * text2.C: remove unneeded #includes.
8721
8722 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8723
8724         * text2.C (dEPM): fix the heigth of the next row
8725
8726 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8727
8728         * text.C: squashed an invalid getChar requester + some ws changes
8729
8730 2003-04-03  John Levon  <levon@movementarian.org>
8731
8732         * bufferview_funcs.h:
8733         * bufferview_funcs.C:
8734         * lyxfunc.C:
8735         * lyxtext.h:
8736         * text2.C: make getStatus work for the env depth lfuns
8737
8738 2003-04-03  John Levon  <levon@movementarian.org>
8739
8740         * bufferview_funcs.h:
8741         * bufferview_funcs.C:
8742         * lyxfunc.C:
8743         * lyxtext.h:
8744         * text2.C: parlistize decDepth(), by merging it with incDepth()
8745
8746 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8747
8748         * lyxrow.h: store a ParagraphList::iterator instead of a
8749         Paragraph* and adjust other class functions to suit.
8750
8751         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8752         above.
8753
8754 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8755
8756         * text2.C (setCursor): do not anchor to cursor row for the time being
8757
8758 2003-04-02  John Levon  <levon@movementarian.org>
8759
8760         * LyXAction.C:
8761         * lfuns.h:
8762         * lyx_main.C:
8763         * lyxtext.h:
8764         * text.C:
8765         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8766
8767 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8768
8769         * paragraph.h: make ParagraphList and ParagraphList::iterator
8770         friends of Paragraph.
8771
8772         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8773
8774         * ParagraphList.C: Use the private next_ and previous_ from
8775         Paragraph.
8776
8777 2003-04-01  John Levon  <levon@movementarian.org>
8778
8779         * ToolbarBackend.h:
8780         * ToolbarBackend.C:
8781         * Makefile.am: rename, remove defaults gunk
8782
8783         * MenuBackend.h:
8784         * MenuBackend.C: remove defaults gunk
8785
8786         * Languages.h:
8787         * Languages.C: remove defaults gunk
8788
8789         * lyx_main.h:
8790         * lyx_main.C: error out if files couldn't be found.
8791
8792 2003-04-02  John Levon  <levon@movementarian.org>
8793
8794         * text2.C: make incDepth() use parlist
8795
8796 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8797
8798         * undo_funcs.C (firstUndoParagraph): adjust
8799
8800         * text3.C (gotoInset): adjust
8801         (dispatch): adjust, and rewrite loop.
8802
8803         * text2.C (init): adjust, and rewrite loop.
8804         (redoParagraphs): adjust
8805         (updateInset): adjust, and rewrite loop.
8806         (deleteEmptyParagraphMechanism): adjust
8807
8808         * tabular.C (LyXTabular): adjust
8809         (SetMultiColumn): adjust
8810         (TeXRow): adjust
8811
8812         * lyxtext.[Ch] (ownerParagraph): delete function
8813         (ownerParagraphs): new function returns a ParagraphList.
8814
8815         * BufferView.C (removeAutoInsets): adjust
8816         (insertErrors): adjust
8817         (setCursorFromRow): adjust
8818
8819 2003-04-01  Angus Leeming  <leeming@lyx.org>
8820
8821         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8822         in the frontends.
8823
8824 2003-04-02  John Levon  <levon@movementarian.org>
8825
8826         * lyxtext.h:
8827         * text.C:
8828         * Makefile.am:
8829         * text_funcs.h:
8830         * text_funcs.C: make transposeChars a free function
8831
8832         * lyxrow_funcs.C: remove wrong comment
8833
8834 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8835
8836         * lyxtext.h: adjust
8837         * rowpainter.C: adjust
8838         * text.C: adjust
8839         * text2.C: adjust
8840         * text3.C: adjust
8841
8842         * lyxrow_funcs. [Ch]: new files
8843
8844         * lyxrow.[Ch]: remove next and previous pointers
8845         (next,previous): remove accessor functions
8846         (isParEnd): move to lyxrow_funcs
8847         (lastPos): move to lyxrow_funcs
8848         (nextRowIsAllInset): move to lyxrow_funcs
8849         (lastPrintablePos): move to lyxrow_funcs
8850         (numberOfSeparators): move to lyxrow_funcs
8851         (numberOfHfills): move to lyxrow_funcs
8852         (numberOfLabelHfills): move to lyxrow_funcs
8853         (hfillExpansion): move to lyxrow_funcs
8854
8855         * lyxfunc.C: adjust
8856
8857         * bufferview_funcs.C (toggleAndShow): adjust
8858
8859         * RowList.h: Remove class RowList from file leave just a
8860         std::list<Row>.
8861
8862         * RowList.C: delete file
8863
8864         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8865         and lyxrow_funcs.h
8866
8867 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8868
8869         * text3.C (cursorPrevious): adjust
8870         (cursorNext): adjust
8871         (dispatch): adjust
8872
8873         * text2.C (redoHeightOfParagraph): adjust
8874         (redoDrawingOfParagraph): adjust
8875         (setCursor): adjust
8876
8877         * text.C (breakParagraph): adjust
8878         (insertChar): adjust
8879         (backspace): adjust
8880
8881         * rowpainter.C (RowPainter): adjust
8882         (leftMargin): simplify and adjust
8883         (most rowpainter functions): adjust.
8884
8885         * rowpainter.h: store the row as RowList::iterator not as Row*
8886
8887         * lyxcursor.C (row): taka RowList::iterator as arg
8888         (irow): ditto
8889
8890         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8891         of Row*.
8892
8893 2003-04-01  Angus Leeming  <leeming@lyx.org>
8894
8895         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8896         stuff like bool Bool.
8897
8898 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8899
8900         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8901         rewrite a loop
8902
8903 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8904
8905         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8906         RowList::iterator.
8907
8908         * lyxtext.h (rows): drop one version and leve a const variant that
8909         returns a RowList::iterator.
8910
8911 2003-03-31  Angus Leeming  <leeming@lyx.org>
8912
8913         * text.C (fill): ensure that the signature is the same as that in the
8914         header file.
8915
8916 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8917
8918         * text2.C (redoParagraphs): adjust
8919         (updateCounters): adjust
8920         (checkParagraph): adjust
8921         (getColumnNearX): adjust and reformat a bit.
8922
8923         * text.C (top_y): adjust
8924         (workWidth): adjust
8925         (leftMargin): adjust
8926         (prepareToPrint): adjust
8927         (getRow): adjust
8928         (getRowNearY): adjust
8929
8930         * lyxtext.h: make rowlist_ mutable.
8931
8932         * RowList.h: add const_iterator
8933         * RowList.C: adjust for RowList::const_iterator.
8934
8935         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8936         adjust.
8937
8938 2003-03-31  John Levon  <levon@movementarian.org>
8939
8940         * lyxrc.h:
8941         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8942
8943         * lyx_main.C: set default fonts from using lyx_gui funcs
8944
8945         * exporter.C: pdf_mode moved from lyxrc
8946
8947         * lyx_cb.C:
8948         * lyxfunc.C: changes from above
8949
8950 2003-03-31  John Levon  <levon@movementarian.org>
8951
8952         * lyx_main.C: fix to the last fix
8953
8954 2003-03-31  John Levon  <levon@movementarian.org>
8955
8956         * bufferlist.C: "Load original" -> "Load Original"
8957
8958         * converter.C:
8959         * exporter.C:
8960         * importer.C:
8961         * lyx_main.C:
8962         * format.C: more Alert cleanups
8963
8964 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8965
8966         * text2.C (removeParagraph): make it take a RowList::iterator as
8967         arg, adjust.
8968         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8969         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8970
8971         * text.C (anchor_row): make it take a RowList::iterator as arg,
8972         adjust.
8973         (computeBidiTables): make it take a const reference to Row instead
8974         of Row pointer, adjust.
8975         (leftMargin): make it take a RowList::iterator as arg, adjust.
8976         (rowBreakPoint): adjust
8977         (breakAgainOneRow): make it take a RowList::iterator as arg,
8978         adjust.
8979         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8980
8981         * bufferview_funcs.C (toggleAndShow): adjust
8982
8983 2003-03-30  John Levon  <levon@movementarian.org>
8984
8985         * Makefile.am:
8986         * BoostFormat.h:
8987         * boost-inst.C: moved to support
8988
8989         * several files: changes as a result
8990
8991 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8992
8993         * text2.C (LyXText): adjust.
8994         (init): adjust
8995         (removeRow): make it take a RowList::iterator as arg, adjust.
8996         (fullRebreak): adjust
8997         (deleteEmptyParagraphMechanism): adjust
8998         (clearPaint): adjust
8999         (postPaint): adjust
9000
9001         * text.C (top_y): adjust
9002         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9003         (breakAgain): make it take a RowList::iterator as arg, adjust.
9004         (breakParagraph): adjust
9005         (insertChar): adjust
9006         (backspace): adjust
9007
9008         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9009         need_break_row, and refresh_row.
9010
9011         * text3.C (dispatch): adjust
9012
9013         * text2.C (checkParagraph): adjust
9014         (setCursor): adjust
9015         (setCursorFromCoordinates): adjust
9016
9017         * text.C (top_y): adjust
9018         (workWidth): adjust
9019         (getRow): make it return a RowList::iterator, adjust
9020         (getRowNearY): make it return a RowList::iterator, adjust
9021
9022         * text2.C (init): adjust
9023         (insertRow): remove function
9024         (insertParagraph): adjust
9025         (redoParagraphs): adjust
9026         (fullRebreak): adjust
9027         (updateCounters): adjust
9028
9029         * text.C (top_y): rewrite to use RowList iterators.
9030         (top_y): adjust
9031         (setHeightOfRow): rewrite to sue RowList iterators.
9032         (appendParagraph): adjust
9033         (breakAgain): adjust
9034         (breakAgainOneRow): adjust
9035         (breakParagraph): adjust
9036         (getRow): adjust
9037         (getRowNearY): adjust, and remove commented code.
9038
9039         * lyxtext.h (firstRow): delete function
9040         (lastRow): delete function
9041         (rows): new function (const and non-const versions.)
9042         (insertRow): delete function
9043
9044         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9045
9046 2003-03-29  John Levon  <levon@movementarian.org>
9047
9048         * BufferView_pimpl.C: always update scrollbar top
9049         because pasting text when we're anchored could mean we
9050         miss an update altogether
9051
9052 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9053
9054         * text2.C (init): use rowlist_.end() and not 0.
9055         (insertRow): change to take a RowList::iterator as arg, adjust
9056         for this.
9057         (insertParagraph): change to take a RowList::iterator as arg,
9058         adjust for this.
9059         (redoParagraphs): remove some debug msgs.
9060
9061         * text.C (appendParagraph): change to take a RowList::iterator
9062         arg, adjust for this.
9063         (breakAgain): add an assert
9064         (breakAgainOneRow): ditto
9065
9066 2003-03-29  John Levon  <levon@movementarian.org>
9067
9068         * text2.C: do not clear selection after inc/decDepth
9069         (bug 550)
9070
9071 2003-03-29  John Levon  <levon@movementarian.org>
9072
9073         * BufferView.C:
9074         * buffer.C: fix broken strerrors according to Lars
9075
9076 2003-03-29  John Levon  <levon@movementarian.org>
9077
9078         * converters.C: more Alert cleanups
9079
9080 2003-03-29  John Levon  <levon@movementarian.org>
9081
9082         * bufferview_funcs.C: remove pointless Alert
9083
9084         * buffer.C: fix confusing error message when
9085         a template is chmoded 000
9086
9087 2003-03-29  John Levon  <levon@movementarian.org>
9088
9089         * BufferView.C:
9090         * BufferView.h:
9091         * BufferView_pimpl.C: Alert fixes
9092
9093         * Makefile.am:
9094         * tabular.C:
9095         * tabular-old.C: remove unused table compat reading
9096
9097 2003-03-29  John Levon  <levon@movementarian.org>
9098
9099         * BufferView.C:
9100         * buffer.C:
9101         * lyx_cb.h:
9102         * lyx_cb.C: more Alert cleanups
9103
9104         * lyxfunc.C: don't allow chktex if not latex document
9105
9106 2003-03-29  John Levon  <levon@movementarian.org>
9107
9108         * lyx_cb.C:
9109         * BufferView.C:
9110         * buffer.C: warnings pushed down from support/,
9111         kill err_alert
9112
9113 2003-03-29  John Levon  <levon@movementarian.org>
9114
9115         * lyxfunc.C: safety check for C-r (revert)
9116
9117 2003-03-29  John Levon  <levon@movementarian.org>
9118
9119         * bufferlist.h:
9120         * bufferlist.C: several UI fixes using Alert::prompt.
9121         Fix the pointless looping quit code. Fix stupid revert
9122         behaviour (bug 938)
9123
9124         * lyxvc.h:
9125         * lyxvc.C:
9126         * lyx_cb.C: use Alert::prompt
9127
9128         * lyx_main.C: remove a silly question
9129
9130         * lyxfunc.C: remove a couple of silly questions,
9131         use Alert::prompt
9132
9133 2003-03-28  John Levon  <levon@movementarian.org>
9134
9135         * text2.C: fix bug 974 (End on empty par)
9136
9137 2003-03-28  John Levon  <levon@movementarian.org>
9138
9139         * BufferView_pimpl.C:
9140         * LyXAction.C:
9141         * lfuns.h: remove do-nothing math greek lfuns
9142
9143 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9144
9145         * lyxgluelength.h (isValidGlueLength): add default arg on
9146         parameter 2. Remove default arg from friend in class.
9147
9148         * lyxlength.h (isValidLength): add default arg on parameter 2.
9149         Remove default arg from friend in class.
9150
9151         * text2.C (LyXText): adjust, initialize refresh_row.
9152         (init): adjust
9153         (removeRow): adjust
9154         (insertRow): adjust
9155         (insertParagraph): adjst
9156         (redoParagraphs): adjust
9157         (fullRebreak): adjust
9158         (updateCounters): adjust
9159         (deleteEmptyParagraphMechanism): first attempt at fixing a
9160         crashing bug.
9161
9162         * text.C (top_y): adjust
9163         (setHeightOfRow): adjust
9164         (getRow): adjust
9165         (getRowNearY): adjust
9166
9167         * lyxtext.h: include RowList.h
9168         (~LyXText): not needed anymore, deleted.
9169         (firstRow): modify for RowList
9170         (lastRow): new function
9171         Delete firstrow and lastrow class variables, add a Rowlist
9172         rowlist_ class variable.
9173
9174         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9175         paragraph is empty.
9176
9177         * RowList.C (insert): fix case where it == begin().
9178
9179 2003-03-26  Angus Leeming  <leeming@lyx.org>
9180
9181         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9182         the thesaurus dialog.
9183
9184 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9185
9186         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9187
9188         * RowList.[Ch]: new files
9189
9190         * ParagraphList.C (erase): handle the case where it == begin
9191         correctly.
9192
9193 2003-03-25  John Levon  <levon@movementarian.org>
9194
9195         * Makefile.am:
9196         * aspell_local.h:
9197         * aspell.C: add new aspell support
9198
9199         * lyxrc.h:
9200         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9201         have it accessible.
9202
9203 2003-03-25  Angus Leeming  <leeming@lyx.org>
9204
9205         * lfuns.h:
9206         * LyXAction.C (init): new LFUN_INSET_INSERT.
9207
9208         * BufferView_pimpl.C (dispatch): split out part of the
9209         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9210
9211         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9212         LFUN_INSET_APPLY.
9213
9214 2003-03-25  Angus Leeming  <leeming@lyx.org>
9215
9216         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9217
9218 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9219
9220         * text2.C:
9221         * text3.C: remove useless row->height(0)
9222
9223 2003-03-25  John Levon  <levon@movementarian.org>
9224
9225         * lyxtext.h:
9226         * text2.C:
9227         * text3.C: rename the refreshing stuff to better names
9228
9229 2003-03-24  John Levon  <levon@movementarian.org>
9230
9231         * BufferView_pimpl.h:
9232         * BufferView_pimpl.C: update layout choice on a mouse
9233         press/release
9234
9235 2003-03-23  John Levon  <levon@movementarian.org>
9236
9237         * Makefile.am: fix commandtags.h reference
9238
9239 2003-03-22  John Levon  <levon@movementarian.org>
9240
9241         * BufferView_pimpl.C:
9242         * lyxtext.h:
9243         * rowpainter.C:
9244         * rowpainter.h:
9245         * text.C:
9246         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9247
9248 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9249
9250         * lyxtext.h:
9251         * text.C: take the rtl methods out of line
9252
9253 2003-03-21 André Pönitz <poenitz@gmx.net>
9254
9255         * metricsinfo.[Ch]: new files containing structures to be passed around
9256         during the two-phase-drawing...
9257
9258 2003-03-21 André Pönitz <poenitz@gmx.net>
9259
9260         * lyxtextclass.C: read 'environment' tag.
9261
9262 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9263
9264         * text2.C (removeRow): fix bug 964
9265
9266 2003-03-20  John Levon  <levon@movementarian.org>
9267
9268         * rowpainter.C:
9269         * text.C:
9270         * text2.C: paint cleanups. Inset::update() dropped font
9271         parameter
9272
9273 2003-03-19  John Levon  <levon@movementarian.org>
9274
9275         * lyxfunc.C: only fitcursor/markDirty if available()
9276
9277 2003-03-19  John Levon  <levon@movementarian.org>
9278
9279         * commandtags.h: rename to ...
9280
9281         * lfuns.h: ... this, and renumber / cleanup
9282
9283 2003-03-19  John Levon  <levon@movementarian.org>
9284
9285         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9286         fit the cursor after an lfun
9287
9288         * BufferView.h:
9289         * BufferView.C:
9290         * BufferView_pimpl.h:
9291         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9292
9293         * LyXAction.C: layout-character should have ReadOnly
9294
9295         * ParagraphParameters.C:
9296         * buffer.C:
9297         * bufferview_funcs.C:
9298         * lyx_cb.C:
9299         * lyxfind.C:
9300         * lyxtext.h:
9301         * text.C:
9302         * text2.C:
9303         * text3.C:
9304         * undo_funcs.C: changes from above
9305
9306 2003-03-18  John Levon  <levon@movementarian.org>
9307
9308         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9309         remove it from update()
9310
9311         * lyxfunc.C: update layout choice after an lfun
9312
9313         * text3.C: remove extra updateLayoutChoice()s
9314
9315 2003-03-18  John Levon  <levon@movementarian.org>
9316
9317         * text.C: top_y change means full repaint, fix
9318         a drawing bug with cursor movement
9319
9320 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9321
9322         * lyxtext.h:
9323         * text.C:
9324         * text2.C: anchor row on setCursor
9325
9326 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9327
9328         * lyxtext.h: remove almost all mutable keywords
9329         * text.C:
9330         * text2.C:
9331         * text3.C: remove const keywords accordingly
9332
9333 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9334
9335         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9336         anon namespace
9337         (TeXEnvironment): ditto
9338         (TeXOnePar): ditto
9339
9340 2003-03-17  John Levon  <levon@movementarian.org>
9341
9342         * text.C (rowBreakPoint): remove attempt to fix displayed
9343         math insets inside a manual label
9344
9345 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9346
9347         * lyxtext.h: remove BufferView* as first arg from almost all class
9348         functions.
9349         * other files: adjust.
9350
9351 2003-03-17  John Levon  <levon@movementarian.org>
9352
9353         * lyxtext.h:
9354         * undo_funcs.C:
9355         * text2.C: more paint cleanups
9356
9357         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9358
9359         * rowpainter.h:
9360         * rowpainter.C: remove "smart" background painting code
9361
9362 2003-03-16  John Levon  <levon@movementarian.org>
9363
9364         * lyxtext.h:
9365         * text.C:
9366         * text2.C:
9367         * text3.C: add helper functions for setting refresh_row/y
9368
9369 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9370
9371         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9372         newline inset which *can* get inserted in the pass_thru layouts.
9373         This is primarily for literate documents.
9374
9375 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9376
9377         * buffer.C: increment LYX_FORMAT to 223
9378
9379 2003-03-14 André Pönitz <poenitz@gmx.net>
9380
9381         * textclass.h: prepare for environment handling, ws changes
9382         * lyxlayout.C: read latexheader and latexfooter tags
9383
9384 2003-03-14  John Levon  <levon@movementarian.org>
9385
9386         * text2.C: rewrite ::status() a bit
9387
9388 2003-03-13  John Levon  <levon@movementarian.org>
9389
9390         * lyxtext.h: add some docs
9391
9392 2003-03-13  John Levon  <levon@movementarian.org>
9393
9394         * lyxtext.h:
9395         * text.C:
9396         * text2.C:
9397         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9398
9399 2003-03-13  John Levon  <levon@movementarian.org>
9400
9401         * text3.C: fix appendix redrawing
9402
9403 2003-03-13  John Levon  <levon@movementarian.org>
9404
9405         * text.C (setHeightOfRow):
9406         * rowpainter.h:
9407         * rowpainter.C: make appendix mark have the text
9408           "Appendix" so the user knows what it is
9409
9410         * LColor.h:
9411         * LColor.C: s/appendixline/appendix/ from above
9412
9413 2003-03-13  John Levon  <levon@movementarian.org>
9414
9415         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9416
9417         * text.C: fix a getChar(pos) bug properly
9418
9419 2003-03-13  Angus Leeming  <leeming@lyx.org>
9420
9421         * commandtags.h:
9422         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9423         Probably only temporary. Let's see how things pan out.
9424
9425         * BufferView.C (unlockInset):
9426         * BufferView_pimpl.C (fitCursor):
9427         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9428
9429         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9430         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9431
9432         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9433         new functions that convert ParagraphParameters to and from a string.
9434
9435         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9436         BufferView::Pimpl's dispatch.
9437         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9438
9439 2003-03-13 André Pönitz <poenitz@gmx.net>
9440
9441         * lyxfunc.C:
9442         * text3.C:
9443         * factory.C: make it aware of InsetEnv
9444
9445 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9446
9447         * text2.C (setCursor): never ask for one past last
9448         (setCursor): add some debugging messages.
9449
9450         * text.C (singleWidth): never ask for one past last
9451         (singleWidth): ditto
9452         (leftMargin): ditto
9453         (rightMargin): ditto
9454         (rowBreakPoint): ditto
9455         (setHeightOfRow): ditto
9456         (prepareToPrint): ditto
9457
9458         * rowpainter.C (paintBackground): never ask for one past last
9459         (paintText): never ask for one past last
9460
9461         * paragraph_pimpl.C (getChar): make the assert stricter, never
9462         allow the one past last pos to be taken
9463
9464         * paragraph.C (getChar): ws changes only
9465
9466         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9467         (numberOfSeparators): ditto
9468         (numberOfHfills): ditto
9469
9470 2003-03-12  John Levon  <levon@movementarian.org>
9471
9472         * author.h:
9473         * author.C:
9474         * bufferparams.h:
9475         * bufferparams.C:
9476         * paragraph_funcs.C: fix per-buffer authorlists
9477
9478 2003-03-12  John Levon  <levon@movementarian.org>
9479
9480         * text.C: fix newline in right address
9481
9482 2003-03-12  Angus Leeming  <leeming@lyx.org>
9483
9484         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9485         duplicate those in LyXFunc::dispatch.
9486
9487         * commandtags.h:
9488         * LyXAction.C:
9489         * ToolbarDefaults.C:
9490         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9491         Add LFUN_FONTFREE_UPDATE.
9492
9493         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9494         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9495
9496         * bufferview_func.[Ch]: several new functions to facilliate
9497         transfer of data to and from the character dialog.
9498
9499 2003-03-12  John Levon  <levon@movementarian.org>
9500
9501         * buffer.C:
9502         * paragraph.h:
9503         * paragraph.C:
9504         * paragraph_funcs.C:
9505         * paragraph_pimpl.C:
9506         * sgml.C:
9507         * tabular.C:
9508         * text.C:
9509         * text3.C: remove META_NEWLINE in favour of an inset
9510
9511         * rowpainter.h:
9512         * rowpainter.C: remove paintNewline (done by inset)
9513
9514 2003-03-12  John Levon  <levon@movementarian.org>
9515
9516         * paragraph_pimpl.C: complain about bad getChar()s
9517         for a while at least
9518
9519 2003-03-12  John Levon  <levon@movementarian.org>
9520
9521         * buffer.h:
9522         * buffer.C: move paragraph read into a separate function,
9523         a little renaming to reflect that.
9524
9525         * bufferparams.h:
9526         * bufferparams.C: remove the author_ids map, not necessary now
9527
9528         * factory.h:
9529         * factory.C: moved Buffer::readInset to here
9530
9531         * paragraph_funcs.h:
9532         * paragraph_funcs.C: readParagraph free function moved from
9533         buffer.C
9534
9535         * tabular.C: name change
9536
9537 2003-03-12  John Levon  <levon@movementarian.org>
9538
9539         * buffer.C:
9540         * ParagraphParameters.C: move par params input to
9541         a read() method
9542
9543         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9544         behave like a normal read from the stream wrt reading
9545         a line vs. a \\token
9546
9547 2003-03-12  John Levon  <levon@movementarian.org>
9548
9549         * paragraph.C:
9550         * ParagraphParameters.h:
9551         * ParagraphParameters.C: move output code to a
9552         ::write() method
9553
9554 2003-03-12  John Levon  <levon@movementarian.org>
9555
9556         * BufferView.C (insertLyXFile):
9557         * buffer.h:
9558         * buffer.C:
9559         * tabular.C: use a parlist iterator for creating the
9560           document.
9561
9562 2003-03-12  John Levon  <levon@movementarian.org>
9563
9564         * buffer.C: make current_change static local not
9565           static file-scope
9566
9567 2003-03-12  John Levon  <levon@movementarian.org>
9568
9569         * buffer.C: fix insertStringAsLines for change tracking
9570
9571 2003-03-12  John Levon  <levon@movementarian.org>
9572
9573         * BufferView.C:
9574         * tabular.C:
9575         * buffer.h:
9576         * buffer.C:
9577         * bufferparams.h:
9578         * bufferparams.C: move author list into params. Rename some
9579           functions. Move the header reading into a separate token
9580           loop. Move the header token reading into BufferParams.
9581
9582 2003-03-12  John Levon  <levon@movementarian.org>
9583
9584         * changes.C: put debug inside lyxerr.debugging() checks
9585
9586 2003-03-11 André Pönitz <poenitz@gmx.net>
9587
9588         * factory.C: make it aware of InsetHFill
9589
9590 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9591
9592         * buffer.C (latexParagraphs): move function from here...
9593         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9594         args.
9595
9596 2003-03-10  Angus Leeming  <leeming@lyx.org>
9597
9598         * LyXAction.C (init): fix bug in poplating array with multiple entries
9599         with the same LFUN (spotted by JMarc).
9600
9601 2003-03-10  John Levon  <levon@movementarian.org>
9602
9603         * text.C:
9604         * text2.C: move getColumnNearX() near its
9605         only call site
9606
9607 2003-03-10  John Levon  <levon@movementarian.org>
9608
9609         * text.C: fix break before a minipage
9610
9611 2003-03-10  John Levon  <levon@movementarian.org>
9612
9613         * text.C: fix the last commit
9614
9615 2003-03-09  John Levon  <levon@movementarian.org>
9616
9617         * lyxtext.h:
9618         * text.C:
9619         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9620         bug 365 (don't break before insets unless needed). Don't
9621         return a value > last under any circumstances.
9622
9623 2003-03-09  Angus Leeming  <leeming@lyx.org>
9624
9625         * BufferView_pimpl.C (trackChanges, dispatch): call
9626         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9627
9628 2003-03-09  Angus Leeming  <leeming@lyx.org>
9629
9630         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9631         than Dialogs::showAboutlyx().
9632
9633 2003-03-09  Angus Leeming  <leeming@lyx.org>
9634
9635         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9636         than Dialogs::showTabularCreate().
9637
9638 2003-03-09  John Levon  <levon@movementarian.org>
9639
9640         * lyxtext.h:
9641         * text.C:
9642         * text2.C: 3rd arg to nextBreakPoint was always the same.
9643           Use references.
9644
9645 2003-03-08  John Levon  <levon@movementarian.org>
9646
9647         * lyxrow.C:
9648         * paragraph.C:
9649         * paragraph.h:
9650         * rowpainter.C:
9651         * text.C:
9652         * text2.C: Remove the "main" bit from the "main body"
9653           notion.
9654
9655 2003-03-08  John Levon  <levon@movementarian.org>
9656
9657         * text.C (leftMargin): The left margin of an empty
9658         manual label paragraph should not include the label width
9659         string length.
9660
9661         * text.C (prepareToPrint): don't attempt to measure hfills
9662         for empty manual label paragraphs - the answer should be 0
9663
9664 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9665
9666         * CutAndPaste.C: remove commented code and reindent.
9667
9668 2003-03-08  John Levon  <levon@movementarian.org>
9669
9670         * lyxfunc.h:
9671         * lyxfunc.C: move reloadBuffer()
9672
9673         * BufferView.h:
9674         * BufferView.C: to here
9675
9676         * lyxvc.C: add comment
9677
9678         * vc-backend.h:
9679         * vc-backend.C: call bv->reload() to avoid
9680           getStatus() check on MENURELOAD
9681
9682 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9683
9684         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9685         to an old format .dep file.
9686
9687 2003-03-07  Angus Leeming  <leeming@lyx.org>
9688
9689         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9690         when the LFUN_MOUSE_RELEASE should have been handled by
9691         inset->localDispatch.
9692
9693 2003-03-07  Angus Leeming  <leeming@lyx.org>
9694
9695         * BufferView_pimpl.C (dispatch):
9696         * LyXAction.C (init):
9697         * ToolbarDefaults.C (init):
9698         * commandtags.h:
9699         * lyxfunc.C (getStatus):
9700         remove LFUN_INSET_GRAPHICS.
9701
9702         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9703
9704 2003-03-07  Angus Leeming  <leeming@lyx.org>
9705
9706         * commandtags.h:
9707         * LyXAction.C (init):
9708         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9709
9710         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9711
9712         * commandtags.h:
9713         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9714
9715         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9716         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9717
9718 2003-03-07  Angus Leeming  <leeming@lyx.org>
9719
9720         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9721         remove "ert".
9722
9723 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9724
9725         * ParagraphList.C (front): new function
9726         (back): implement
9727
9728 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9729
9730         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9731         and top_row_offset_. removed var first_y.
9732         * text.C (top_y):
9733         * text2.C (LyXText, removeRow):
9734         * text3.C:
9735         * BufferView_pimpl.C:
9736         use these methods instead of using first_y
9737
9738 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9739
9740         * text2.C (pasteSelection): adjust for checkPastePossible
9741
9742         * CutAndPaste.C: remove Paragraph * buf and replace with
9743         ParagraphList paragraphs.
9744         (DeleteBuffer): delete
9745         (cutSelection): change the tc type to textclass_type
9746         (copySelection): change the tc type to textclass_type
9747         (copySelection): adjust for ParagraphList
9748         (pasteSelection): change the tc type to textclass_type
9749         (pasteSelection): adjust for Paragraphlist
9750         (nrOfParagraphs): simplify for ParagraphList
9751         (checkPastePossible): simplify for ParagraphList
9752         (checkPastePossible): remove unused arg
9753
9754         * ParagraphList.C (insert): handle the case where there are no
9755         paragraphs yet.
9756
9757         * CutAndPaste.h: make CutAndPaste a namespace.
9758
9759         * text3.C (dispatch): adjust
9760
9761         * text.C (breakParagraph): add a ParagraphList as arg
9762
9763         * paragraph_funcs.C (breakParagraph): change to take a
9764         BufferParams and a ParagraphList as args.
9765         (breakParagraphConservative): ditto
9766         (mergeParagraph): ditto
9767         (TeXDeeper): add a ParagraphList arg
9768         (TeXEnvironment): ditto
9769         (TeXOnePar): ditto
9770
9771         * buffer.C (readLyXformat2): adjust
9772         (insertStringAsLines): adjust
9773         (latexParagraphs): adjust
9774
9775         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9776         (cutSelection): adjust
9777         (pasteSelection): adjust
9778
9779         * BufferView_pimpl.C (insertInset): adjust
9780
9781 2003-03-05  Angus Leeming  <leeming@lyx.org>
9782
9783         * commandtags.h:
9784         * LyXAction.C (init):
9785         * BufferView_pimpl.C (dispatch):
9786         * lyxfunc.C (getStatus):
9787         remove LFUN_CHILD_INSERT.
9788
9789         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9790
9791 2003-03-05  Angus Leeming  <leeming@lyx.org>
9792
9793         * commandtags.h:
9794         * LyXAction.C (init):
9795         * src/factory.C (createInset):
9796         * lyxfunc.C (getStatus):
9797         * text3.C (dispatch):
9798         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9799
9800         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9801
9802 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9803
9804         * ParagraphList.C (insert): handle insert right before end()
9805         (erase): fix cases where it can be first or last paragraph.
9806
9807 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9808
9809         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9810         Paragraph::next and Paragraph::previous
9811         (TeXOnePar): ditto
9812
9813         * text.C (breakParagraph): adjust
9814
9815         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9816         BufferParams& as arg.
9817         (breakParagraph): use ParagraphList::insert
9818         (breakParagraphConservative): take a Buffer* instead of a
9819         BufferParams& as arg.
9820         (breakParagraphConservative): use ParagraphList::insert.
9821
9822         * buffer.C (insertStringAsLines): un-const it
9823         (insertStringAsLines): adjust
9824
9825         * ParagraphList.C (insert): new function
9826
9827         * CutAndPaste.C (pasteSelection): adjust
9828
9829         * text.C (backspace): adjust
9830
9831         * tabular.C (SetMultiColumn): adjust
9832
9833         * CutAndPaste.C (cutSelection): adjust
9834         (pasteSelection): adjust
9835
9836         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9837         Buffer const * as arg
9838
9839         * ParagraphList.C (erase): new function
9840         * paragraph_funcs.C (mergeParagraph): use it
9841         (mergeParagraph): make it take a Buffer* instead of a
9842         BufferParams* as arg
9843
9844         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9845         as arg
9846         (breakParagraphConservative): ditto
9847
9848         * paragraph.h: remove the breakParagraph friend
9849
9850         * paragraph.C (eraseIntern): new function
9851         (setChange): new function
9852
9853         * paragraph_funcs.C (mergeParagraph): make it take a
9854         ParagraphList::iterator instead of a Paragraph *, adjust
9855         accordingly.
9856
9857         * paragraph.h: move an #endif so that the change tracking stuff
9858         also works in the NO_NEXT case.
9859
9860 2003-03-04  Angus Leeming  <leeming@lyx.org>
9861
9862         * commandtags.h:
9863         * LyXAction.C: new LFUN_INSET_MODIFY.
9864
9865         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9866         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9867
9868 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9869
9870         * several files: ws changes only
9871
9872         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9873         (TeXEnvironment): ditto
9874         (TeXDeeper): ditto
9875
9876         * buffer.C (makeLaTeXFile): adjust
9877         (latexParagraphs): make it take ParagraphList::iterator as args
9878
9879 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9880
9881         * buffer.C (latexParagraphs): adjust
9882
9883         * paragraph.C (TeXOnePar): move function...
9884         (optArgInset): move function...
9885         (TeXEnvironment): move function...
9886         * paragraph_pimpl.C (TeXDeeper): move function...
9887         * paragraph_funcs.C: ...here
9888
9889         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9890
9891 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9892
9893         * buffer.C (readInset): remove compability code for old Figure and
9894         InsetInfo insets
9895
9896 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9897
9898         * buffer.C: ws changes
9899         (readInset):
9900
9901         * BufferView_pimpl.C: ditto
9902         * author.C: ditto
9903         * buffer.h: ditto
9904         * bufferlist.h: ditto
9905         * changes.h: ditto
9906         * lyxfunc.C: ditto
9907
9908 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9909
9910         * converter.[Ch]: split into itself +
9911         * graph.[Ch]
9912         * format.[Ch]
9913         * Makefile.am: += graph.[Ch] + format.[Ch]
9914         * MenuBackend.C
9915         * buffer.C
9916         * exporter.C
9917         * importer.C
9918         * lyx_main.C
9919         * lyxfunc.C
9920         * lyxrc.C: added #include "format.h"
9921
9922 2003-02-27  Angus Leeming  <leeming@lyx.org>
9923
9924         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9925           a label.
9926
9927         * factory.C (createInset): add "label" to the factory.
9928
9929         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9930           string and do no more.
9931
9932 2003-02-27  Angus Leeming  <leeming@lyx.org>
9933
9934         * commandtags.h:
9935         * LyXAction.C (init):
9936         * factory.C (createInset):
9937         * BufferView_pimpl.C (dispatch):
9938           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9939
9940         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9941
9942         * lyxfunc.C (dispatch):
9943         * text3.C (dispatch): pass name to params2string.
9944
9945 2003-02-26  Angus Leeming  <leeming@lyx.org>
9946
9947         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9948           blocks together.
9949           Rearrange the ~includes. Strip out the unnecessary ones.
9950
9951         * factory.C (createInset): reformat.
9952           create new insets for the various LFUN_XYZ_APPLY lfuns.
9953
9954 2003-02-26  John Levon  <levon@movementarian.org>
9955
9956         * lyxrow.h:
9957         * lyxrow.C: add isParStart,isParEnd helpers
9958
9959         * paragraph.h: make isInserted/DeletedText take refs
9960
9961         * paragraph_funcs.h:
9962         * paragraph_funcs.C: remove #if 0'd code
9963
9964         * lyxtext.h:
9965         * text3.C:
9966         * text2.C:
9967         * text.C: use lyxrow helpers above.
9968           Move draw and paint routines to RowPainter.
9969           Make several methods use refs not pointers.
9970           Make backgroundColor() const.
9971           Add markChangeInDraw(), isInInset().
9972           Merge changeRegionCase into changeCase.
9973           Make workWidth() shouldn't-happen code into an Assert.
9974
9975         * rowpainter.h:
9976         * rowpainter.C: new class for painting a row.
9977
9978         * vspace.h:
9979         * vspace.C: make inPixels take a ref
9980
9981 2003-02-26  Angus Leeming  <leeming@lyx.org>
9982
9983         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9984         LFUN_REF_APPLY.
9985
9986 2003-02-25  John Levon  <levon@movementarian.org>
9987
9988         * ispell.C: give the forked command a more accurate name
9989
9990 2003-02-22  John Levon  <levon@movementarian.org>
9991
9992         * toc.h:
9993         * toc.C: make TocItem store an id not a Paragraph *
9994           (bug #913)
9995
9996 2003-02-21  Angus Leeming  <leeming@lyx.org>
9997
9998         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9999           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10000           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10001           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10002           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10003           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10004
10005         * BufferView_pimpl.C (dispatch):
10006         * LyXAction.C (init):
10007         * factory.C (createInset):
10008         * lyxfunc.C (getStatus, dispatch):
10009         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10010
10011 2003-02-21  Angus Leeming  <leeming@lyx.org>
10012
10013         * BufferView_pimpl.C (MenuInsertLyXFile):
10014         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10015         * lyxfunc.C (menuNew, open, doImport):
10016           no longer pass a LyXView & to fileDlg.
10017
10018 2003-02-21  Angus Leeming  <leeming@lyx.org>
10019
10020         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10021         * LyXAction.C: change, BIBKEY to BIBITEM.
10022         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10023         Change InsetBibKey to InsetBibitem.
10024         Change BIBKEY_CODE to BIBITEM_CODE.
10025         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10026         * factory.C: replace insetbib.h with insetbibitem.h.
10027         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10028         * paragraph.C: replace insetbib.h with insetbibitem.h.
10029         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10030         Change bibkey() to bibitem().
10031         * text.C: remove insetbib.h.
10032         * text2.C: replace insetbib.h with insetbibitem.h.
10033         change bibkey() to bibitem().
10034         * text3.C: remove insetbib.h.
10035         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10036
10037 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10038
10039         * lyxrc.C (output): enclose user email in quotes (in case there are
10040         several words)
10041
10042 2003-02-18  John Levon  <levon@movementarian.org>
10043
10044         * buffer.h: add std::
10045
10046 2003-02-17  John Levon  <levon@movementarian.org>
10047
10048         * SpellBase.h:
10049         * ispell.h:
10050         * ispell.C:
10051         * pspell.h:
10052         * pspell.C: reworking. Especially in ispell, a large
10053           number of clean ups and bug fixes.
10054
10055         * lyxfunc.C: fix revert to behave sensibly
10056
10057 2003-02-17 André Pönitz <poenitz@gmx.net>
10058
10059         * LyXAction.C:
10060         * commandtags.h: new LFUN_INSERT_BIBKEY
10061
10062         * layout.h:
10063         * lyxlayout.C:
10064         * buffer.C:
10065         * factory.C:
10066         * text.C:
10067         * text2.C:
10068         * text3.C:
10069         * paragraph.[Ch]:
10070         * paragraph_func.C: remove special bibkey handling
10071
10072 2003-02-17  John Levon  <levon@movementarian.org>
10073
10074         * text.C (Delete): fix case where delete at the end of
10075           the very first paragraph would not merge the pars
10076
10077 2003-02-17  John Levon  <levon@movementarian.org>
10078
10079         * lyxrow.C: fix lastPrintablePos()
10080
10081 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10082
10083         * bufferparams.C (writeLaTeX): add a std:here
10084
10085         * buffer.C: and remove a using directive there
10086
10087 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10088
10089         * buffer.C (makeLaTeXFile): move the code that generates the
10090           preamble...
10091
10092         * bufferparams.C (writeLaTeX): ... in this new method
10093
10094         * LaTeXFeatures.C (getEncodingSet): make const
10095           (getLanguages): make const
10096
10097         * MenuBackend.C (binding): returns the binding associated to this
10098           action
10099           (add): sets the status of each item by calling getStatus. Adds
10100           some intelligence.
10101           (read): add support for OptSubMenu
10102           (expand): remove extra separator at the end of expanded menu
10103
10104 2003-02-15  John Levon  <levon@movementarian.org>
10105
10106         * BufferView.C:
10107         * BufferView_pimpl.C:
10108         * bufferlist.h:
10109         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10110           inset code that had no actual effect. Remove unneeded status
10111           code.
10112
10113 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10114
10115         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10116           in preamble
10117
10118 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10119
10120         * text.C (drawLengthMarker): also draw an arrow marker for
10121           symbolic lengths (medskip...)
10122
10123 2003-02-14  John Levon  <levon@movementarian.org>
10124
10125         * tabular.h:
10126         * tabular.C: better method names
10127
10128 2003-02-14  John Levon  <levon@movementarian.org>
10129
10130         * BufferView_pimpl.C:
10131         * bufferlist.C:
10132         * buffer.C:
10133         * converter.C:
10134         * lyx_cb.C:
10135         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10136           it's a more accurate name. Remove some pointless uses.
10137
10138 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10139
10140         * text2.C (LyXText): change order of initilizers to shut off
10141           warnings
10142
10143 2003-02-14  John Levon  <levon@movementarian.org>
10144
10145         * buffer.C: use ParIterator for getParFromID()
10146
10147         * paragraph.h:
10148         * paragraph.C:
10149         * paragraph_pimpl.h:
10150         * paragraph_pimpl.C: remove unused getParFromID()
10151
10152 2003-02-14  John Levon  <levon@movementarian.org>
10153
10154         * buffer.C: remove some very old #if 0'd parse code
10155
10156 2003-02-13  John Levon  <levon@movementarian.org>
10157
10158         * text.h:
10159         * text.C:
10160         * text2.C: move hfillExpansion(), numberOfSeparators(),
10161           rowLast(), rowLastPrintable(), numberofHfills(),
10162           numberOfLabelHfills() ...
10163
10164         * lyxrow.h:
10165         * lyxrow.C: ... to member functions here.
10166
10167         * paragraph.h:
10168         * paragraph.C:
10169         * lyxtext.h:
10170         * text.C: remove LyXText::beginningOfMainBody(), and call
10171           p->beginningOfMainBody() directly. Move the check for
10172           LABEL_MANUAL into the latter.
10173
10174         * text.h:
10175         * text.C:
10176         * text2.C:
10177         * vspace.C:
10178         * BufferView.h:
10179         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10180
10181         * text.h:
10182         * text.C:
10183         * text2.C:
10184         * text3.C:
10185         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10186           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10187
10188 2003-02-13  John Levon  <levon@movementarian.org>
10189
10190         * CutAndPaste.C: remove debug
10191
10192 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10193
10194         * paragraph.C (asString): remove two unused variables
10195
10196         * lyxtextclass.C (readTitleType):
10197           (Read):
10198           (LyXTextClass): handle new members titletype_ and titlename_
10199
10200         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10201
10202 2003-02-09  John Levon  <levon@movementarian.org>
10203
10204         * buffer.h:
10205         * buffer.C: replace hand-coded list with a map for the dep clean
10206
10207 2003-02-08  John Levon  <levon@movementarian.org>
10208
10209         * LaTeX.C: consolidate code into showRunMessage() helper
10210
10211 2003-02-08  John Levon  <levon@movementarian.org>
10212
10213         * lyxfind.C:
10214         * lyxtext.h:
10215         * text2.C:
10216         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10217           and pass the size in explicitly
10218
10219         * BufferView_pimpl.h:
10220         * BufferView_pimpl.C:
10221         * BufferView.h:
10222         * BufferView.C: add getCurrentChange()
10223
10224         * BufferView_pimpl.h:
10225         * BufferView_pimpl.C: handle change lfuns
10226
10227         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10228           for changes. Mark pasted paragraphs as new.
10229
10230         * support/lyxtime.h:
10231         * support/lyxtime.C:
10232         * DepTable.C: abstract time_t as lyx::time_type
10233
10234         * LColor.h:
10235         * LColor.C: add colours for new text, deleted text, changebars
10236
10237         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10238           package use "usenames" option.
10239
10240         * commandtags.h:
10241         * lyxfunc.C:
10242         * LyXAction.C: add change lfuns
10243
10244         * Makefile.am:
10245         * author.h:
10246         * author.C: author handling
10247
10248         * buffer.h:
10249         * buffer.C: add a per-buffer author list, with first entry as
10250           current author. Handle new .lyx tokens for change tracking. Output
10251           author list to .lyx file. Output dvipost stuff to .tex preamble.
10252           Bump lyx format to 222.
10253
10254         * bufferlist.h:
10255         * bufferlist.C: add setCurrentAuthor() to reset current author details
10256           in all buffers.
10257
10258         * bufferparams.h:
10259         * bufferparams.C: add param for tracking
10260
10261         * bufferview_funcs.C: output change info in minibuffer
10262
10263         * Makefile.am:
10264         * changes.h:
10265         * changes.C: add change-tracking structure
10266
10267         * debug.h:
10268         * debug.C: add CHANGES debug flag
10269
10270         * lyxfind.h:
10271         * lyxfind.C: add code for finding the next change piece
10272
10273         * lyxrc.h:
10274         * lyxrc.C: add user_name and user_email
10275
10276         * lyxrow.h:
10277         * lyxrow.C: add a metric for the top of the text line
10278
10279         * lyxtext.h:
10280         * text.C: implement accept/rejectChange()
10281
10282         * lyxtext.h:
10283         * text.C: paint changebars. Paint new/deleted text in the chosen
10284         colours. Strike through deleted text.
10285
10286         * paragraph.h:
10287         * paragraph.C:
10288         * paragraph_pimpl.h:
10289         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10290           in the current change to the insert functions. Rework erase to
10291           mark text as deleted, adding an eraseIntern() and a range-based
10292           erase(). Implement per-paragraph change lookup and
10293           accept/reject.
10294
10295         * paragraph_funcs.C: Fixup paste for change tracking.
10296
10297         * tabular.C: mark added row/columns as new.
10298
10299         * text.C: fix rowLast() to never return -1. Don't allow
10300           spellchecking of deleted text. Track transpose changes. Don't
10301           allow paragraph break or merge where appropriate.
10302
10303         * text2.C: leave cursor at end of selection after a cut.
10304
10305 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10306
10307         * text.C (getLengthMarkerHeight):
10308         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10309         visible on screen too.
10310
10311 2003-02-07  John Levon  <levon@movementarian.org>
10312
10313         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10314
10315 2003-02-05  Angus Leeming  <leeming@lyx.org>
10316
10317         * lyxserver.C (read_ready): revert my patch of 11 September last year
10318         as it sends PC cpu through the roof. Presumably this means that
10319         the lyxserver will no longer run on an Alpha...
10320
10321 2003-01-30  Angus Leeming  <leeming@lyx.org>
10322
10323         * factory.C (createInset): create an InsetCommandParam of type "index"
10324         and use it to 'do the right thing'.
10325
10326         * text2.C (getStringToIndex): ensure that cursor position is always
10327         reset to the reset_cursor position.
10328
10329 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10330
10331         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10332         disabled.
10333
10334 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10335
10336         * bufferview.C:
10337         * lyxcb.C:
10338         * lyxfunc.C: Output messages with identical spelling, punctuation,
10339         and spaces
10340
10341 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10342
10343         * MenuBackend.C (expandFormats): List only viewable export formats
10344         in "View" menu
10345
10346         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10347         message
10348
10349         * lyxfunc.C (getStatus): Make sure that formats other than
10350         "fax" can also be disabled
10351
10352 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10353
10354         * text3.C (dispatch): put the lfuns that insert insets in 3
10355         groups, and call doInsertInset with appropriate arguments.
10356         (doInsertInset): new function, that creates an inset and inserts
10357         it according to some boolean parameters.
10358
10359 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10360
10361         * buffer.C (readFile): remember to pass on 'par' when calling
10362         readFile recursively.
10363
10364 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10365
10366         * MenuBackend.C (expandFormats): add "..." to import formats.
10367
10368 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10369
10370         * paragraph.C (asString): Remove XForms RTL hacks.
10371
10372 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10373         * buffer.C: fix typo
10374
10375 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10376
10377         * Makefile.am (LIBS): delete var
10378         (lyx_LDADD): add @LIBS@ here instead.
10379
10380 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10381
10382         * Clarify the meaning of "wheel mouse jump"
10383
10384 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10385
10386         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10387         tabular in a float
10388
10389 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10390
10391         * importer.C (Loaders): do not preallocate 3 elements in the
10392         vector, since one ends up with 6 elements otherwise
10393
10394 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10395
10396         * DepTable.C (write): write the file name as last element of the
10397         .dep file (because it may contain spaces)
10398         (read): read info in the right order
10399
10400 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10401
10402         * paragraph_pimpl.C (simpleTeXBlanks):
10403         (simpleTeXSpecialChars):
10404         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10405
10406         * tabular.C (latex): add some missing case statements. Reindent.
10407
10408         * MenuBackend.C (expandToc): remove unused variable.
10409
10410 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10411
10412         * LColor.C:
10413         * LaTeX.C:
10414         * LyXAction.C:
10415         * MenuBackend.C:
10416         * buffer.C:
10417         * exporter.C:
10418         * lyxfunc.C:
10419         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10420         and the like.
10421
10422 2003-01-05  John Levon  <levon@movementarian.org>
10423
10424         * BufferView.h:
10425         * BufferView.C: add getEncoding()
10426
10427         * kbsequence.h:
10428         * kbsequence.C: do not store last keypress
10429
10430         * lyxfunc.h:
10431         * lyxfunc.C: store last keypress here instead. Pass encoding
10432           to getISOEncoded()
10433
10434 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10435
10436         * lyx_main.C (init): remove annoying error message when following
10437         symbolic links (bug #780)
10438
10439 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10440
10441         * text.C (insertChar):
10442         * lyxrc.C (getDescription): remove extra spaces
10443
10444 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10445
10446         * lyxrc.C (getDescription): remove extra spaces
10447
10448 2002-12-20  John Levon  <levon@movementarian.org>
10449
10450         * text3.C: hack fix for page up/down across tall rows
10451
10452 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10453
10454         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10455         not been invoked
10456
10457 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10458
10459         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10460         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10461         thesaurus is not compiled in
10462
10463 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10464
10465         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10466
10467 2002-12-16  Angus Leeming  <leeming@lyx.org>
10468
10469         * lyxrc.[Ch]:
10470         * lyx_main.C (init): remove override_x_deadkeys stuff.
10471
10472 2002-12-12  John Levon  <levon@movementarian.org>
10473
10474         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10475           insert. Only remove shift modifier under strict
10476           circumstances.
10477
10478 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10479
10480         * MenuBackend.C (expandToc): fix crash.
10481
10482 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10483
10484         * MenuBackend.C (expandToc): gettext on float names.
10485
10486 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10487
10488         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10489         implement bool empty() [bug 490]
10490
10491 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10492
10493         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10494
10495 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10496
10497         * several files: ws changes
10498
10499 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10500
10501         * text2.C (setCounter): clean up a bit, use boost.format.
10502         (updateCounters): initialize par upon declaration.
10503
10504         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10505         if the layout exists. We do not just store the layout any more.
10506         (SwitchLayoutsBetweenClasses): use boost.format
10507
10508 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10509
10510         * converter.C (convert): if from and to files are the same, use a
10511         temporary files as intermediary
10512
10513 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10514
10515         * commandtags.h:
10516         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10517
10518 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10519
10520         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10521
10522 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10523
10524         * tabular.C (asciiPrintCell): use string(size, char) instead of
10525         explicit loop.
10526
10527         * sgml.C (openTag): fix order of arguments to string constructor
10528         (closeTag): ditto
10529
10530         * lyxfunc.C (dispatch): use boost.format
10531
10532         * lots of files: change "c" -> 'c'
10533
10534 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10535
10536         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10537
10538 2002-11-25  Angus Leeming  <leeming@lyx.org>
10539
10540         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10541
10542         * lyx_main.C (init): compile fix.
10543
10544 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10545
10546         * lyx_cb.C (start): boost.formatify
10547         do not include <iostream>
10548
10549         * lengthcommon.C: ws only
10550
10551         * boost-inst.C,BoostFormat.h: add more explict instantations
10552
10553 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10554
10555         * lots of files: handle USE_BOOST_FORMAT
10556
10557 2002-11-21  John Levon  <levon@movementarian.org>
10558
10559         * pspell.C: fix compile
10560
10561 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10562
10563         * lyxfunc.C (dispatch): use boost::format
10564         (open): ditto
10565         (doImport): ditto
10566
10567         * lyxfont.C (stateText): use boost::format
10568
10569         * lyx_main.C (LyX): use boost::format
10570         (init): ditto
10571         (queryUserLyXDir): ditto
10572         (readRcFile): ditto
10573         (parse_dbg): ditto
10574         (typedef boost::function): use the recommened syntax.
10575
10576         * importer.C (Import): use boost::format
10577
10578         * debug.C (showLevel): use boost::format
10579
10580         * converter.C (view): use boost::format
10581         (convert): ditto
10582         (move): ditto
10583         (scanLog): ditto
10584
10585         * bufferview_funcs.C (currentState): use boost::format
10586
10587         * bufferlist.C (emergencyWrite): use boost::format
10588
10589         * buffer.C (readLyXformat2): use boost::format
10590         (parseSingleLyXformat2Token): ditto
10591
10592         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10593
10594         * LaTeX.C (run): use boost::format
10595
10596         * Chktex.C (scanLogFile): use boost::format
10597
10598         * BufferView_pimpl.C (savePosition): use boost::format
10599         (restorePosition): ditto
10600         (MenuInsertLyXFile): ditto
10601
10602         * BoostFormat.h: help file for explicit instation.
10603
10604 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10605
10606         * tabular.C (latex): Support for block alignment in fixed width
10607         columns.
10608
10609 2002-11-17  John Levon  <levon@movementarian.org>
10610
10611         * BufferView_pimpl.C:
10612         * lyx_cb.C:
10613         * lyxfunc.C: split filedialog into open/save
10614
10615 2002-11-08  Juergen Vigna  <jug@sad.it>
10616
10617         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10618         by my last patch (hopefully).
10619
10620 2002-11-08  John Levon  <levon@movementarian.org>
10621
10622         * iterators.h:
10623         * iterators.C:
10624         * buffer.h:
10625         * buffer.C:
10626         * paragraph.h:
10627         * paragraph.C:
10628         * toc.h:
10629         * toc.C: ParConstIterator, and use it (from Lars)
10630
10631 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10632
10633         * lyxtextclass.[Ch]: revise and add doxygen comments
10634
10635 2002-11-07  John Levon  <levon@movementarian.org>
10636
10637         * text.C: fix progress value for spellchecker
10638
10639         * toc.C: fix navigate menu for insetwrap inside minipage
10640
10641         * paragraph_funcs.C: added FIXME for suspect code
10642
10643 2002-11-07  John Levon  <levon@movementarian.org>
10644
10645         * BufferView_pimpl.C: fix redrawing of insets
10646           on buffer switch
10647
10648 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10649
10650         * text2.C (updateCounters): fix bug 668
10651
10652 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10653
10654         * text3.C (dispatch): Do not make the buffer dirty when moving the
10655         cursor.
10656
10657 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10658
10659         * vc-backend.C: STRCONV
10660         (scanMaster): ditto
10661
10662         * text2.C (setCounter): STRCONV
10663
10664         * paragraph.C (asString): STRCONV
10665
10666         * lyxlength.C (asString): STRCONV
10667         (asLatexString): ditto
10668
10669         * lyxgluelength.C (asString): STRCONV
10670         (asLatexString): ditto
10671
10672         * lyxfunc.C (dispatch): STRCONV
10673         (open): ditto
10674
10675         * lyxfont.C (stateText): STRCONV
10676
10677         * importer.C (Import): STRCONV
10678
10679         * counters.C (labelItem): STRCONV
10680         (numberLabel): ditto
10681         (numberLabel): remove unused ostringstream o
10682
10683         * chset.C: STRCONV
10684         (loadFile): ditto
10685
10686         * bufferview_funcs.C (currentState): STRCONV
10687
10688         * buffer.C (readFile): STRCONV
10689         (asciiParagraph): ditto
10690         (makeLaTeXFile): ditto
10691
10692         * Spacing.C (writeEnvirBegin): STRCONV
10693
10694         * LaTeXFeatures.C (getLanguages): STRCONV
10695         (getPackages): ditto
10696         (getMacros): ditto
10697         (getBabelOptions): ditto
10698         (getTClassPreamble): ditto
10699         (getLyXSGMLEntities): ditto
10700         (getIncludedFiles): ditto
10701
10702         * LaTeX.C: STRCONV
10703         (run): ditto
10704         (scanAuxFile): ditto
10705         (deplog): ditto
10706
10707         * LString.h: add the STRCONV macros
10708
10709         * BufferView_pimpl.C (savePosition): STRCONV
10710         (restorePosition): ditto
10711         (MenuInsertLyXFile): ditto
10712
10713         * vc-backend.C (scanMaster): change from submatch[...] to
10714         submatch.str(...)
10715
10716         * funcrequest.C: include config.h
10717
10718         * factory.C: include config.h
10719
10720         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10721
10722         * box.C: include config.h
10723
10724         * LaTeX.C (scanAuxFile): change from submatch[...] to
10725         submatch.str(...)
10726         (deplog): ditto
10727
10728 2002-10-25  Angus Leeming  <leeming@lyx.org>
10729
10730         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10731
10732         * ispell.[Ch] (setError): new method.
10733         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10734         Use setError() insetead of goto END.
10735
10736         * lyx_cb.C (AutoSave): move out child process into new class
10737         AutoSaveBuffer.
10738
10739 2002-10-30  John Levon  <levon@movementarian.org>
10740
10741         * text3.C: make start appendix undoable
10742
10743 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10744
10745         * lyxlength.C (inPixels): Fix returned value.
10746
10747         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10748         environment.
10749
10750 2002-10-24  Angus Leeming  <leeming@lyx.org>
10751
10752         * lyxgluelength.h: no need to forward declare BufferParams
10753         or BufferView, so don't.
10754
10755 2002-10-21  John Levon  <levon@movementarian.org>
10756
10757         * BufferView.C: menuUndo ->undo, redo
10758
10759         * BufferView.h: document, remove dead, make some methods private
10760
10761         * paragraph_funcs.h:
10762         * paragraph_funcs.C:
10763         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10764
10765         * buffer.h:
10766         * buffer.C:
10767         * sgml.h:
10768         * sgml.C: move sgml open/close tag into sgml.C
10769
10770         * bufferview_funcs.h: unused prototype
10771
10772         * lyxfunc.h:
10773         * lyxfunc.C: remove unused
10774
10775         * lyxtext.h:
10776         * text.C: remove unused
10777
10778 2002-10-21  John Levon  <levon@movementarian.org>
10779
10780         * BufferView.h:
10781         * BufferView.C:
10782         * BufferView_pimpl.h:
10783         * BufferView_pimpl.C: fix mouse wheel handling based on
10784           patch from Darren Freeman
10785
10786 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10787
10788         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10789
10790 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10791
10792         * lyxlength.C (inPixels): Fix hanfling of negative length.
10793         Fix LyXLength::MU case.
10794
10795 2002-10-16  John Levon  <levon@movementarian.org>
10796
10797         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10798
10799 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10800
10801         * converter.C (view): add support for $$i (file name) and $$p
10802         (file path) for the viewer command. If $$i is not specified, then
10803         it is appended to the command (for compatibility with old syntax)
10804
10805 2002-10-14  Juergen Vigna  <jug@sad.it>
10806
10807         * undo_funcs.C (textHandleUndo): alter the order in which the
10808         new undopar is added to the LyXText, as we have to set first
10809         the right prev/next and then add it as otherwise the rebuild of
10810         LyXText is not correct. Also reset the cursor to the right paragraph,
10811         with this IMO we could remove the hack in "redoParagraphs()".
10812
10813 2002-10-09  Angus Leeming  <leeming@lyx.org>
10814
10815         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10816         to turn off an optimisation if a new inset is to be inserted.
10817
10818 2002-10-11 André Pönitz <poenitz@gmx.net>
10819
10820         * lyxtext.h: make some functions public to allow access
10821         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10822
10823 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10824
10825         * text3.C (dispatch): when changing layout, avoid an infinite loop
10826         [bug #652]
10827
10828 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10829
10830         * lyxrc.C (read): treat a viewer or converter command of "none" as
10831         if it were empty.
10832
10833         * MenuBackend.C (expandFormats): for an update, also allow the
10834         formats that are not viewable
10835
10836         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10837         script if it is newer than the lyxrc.defaults in user directory
10838
10839 2002-10-07 André Pönitz <poenitz@gmx.net>
10840
10841         * text.C: Vitaly Lipatov's small i18n fix
10842
10843 2002-09-25  Angus Leeming  <leeming@lyx.org>
10844
10845         * ispell.h: doxygen fix.
10846
10847 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10848
10849         * buffer.h (readFile): Add a new argument to the method, to allow
10850         reading of old-format templates.
10851
10852 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10853
10854         * toc.C (getTocList): Get TOC from InsetWrap.
10855
10856 2002-09-16  John Levon  <levon@movementarian.org>
10857
10858         * lyxfunc.C: check tabular for cut/copy too
10859
10860 2002-09-12  John Levon  <levon@movementarian.org>
10861
10862         * LyXAction.C: tidy
10863
10864         * factory.h:
10865         * factory.C: add header
10866
10867         * paragraph_funcs.h:
10868         * paragraph_funcs.C: cleanup
10869
10870 2002-09-11  John Levon  <levon@movementarian.org>
10871
10872         * PrinterParams.h: odd/even default to true
10873
10874 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10875
10876         * PrinterParams.h: update printer parameters for new xforms dialog
10877
10878 2002-09-11  Angus Leeming  <leeming@lyx.org>
10879
10880         * lyxserver.C (read_ready): re-write to make it more transparent
10881         and to make it work in coherent fashion under Tru64 Unix.
10882
10883 2002-09-11  André Pönitz <poenitz@gmx.net>
10884
10885         * commandtags.h:
10886         * LyXAction.C:
10887         * text3.C: implement LFUN_WORDSEL
10888
10889 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10890
10891         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10892         make floatlist_ a boost::shared_ptr<FloatList>
10893
10894         * lyxtextclass.C: include FloatList.h
10895         (LyXTextClass): initialize floatlist_
10896         (TextClassTags): add TC_NOFLOAT
10897         (Read): match "nofloat" to TC_NOFLOAT and use it.
10898         (readFloat): modify call to floatlist_
10899         (floats): ditto
10900         (floats): ditto
10901
10902         * FloatList.[Ch] (FloatList): remove commented out float
10903         initialization.
10904         (erase): new function
10905
10906 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10907
10908         * MenuBackend.C (expandToc): fix crash when there is no document
10909         open
10910
10911 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10912
10913         * many files: Add insetwrap.
10914
10915 2002-09-09  John Levon  <levon@movementarian.org>
10916
10917         * text2.C: remove confusing and awkward depth wraparound
10918
10919 2002-09-09  John Levon  <levon@movementarian.org>
10920
10921         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10922
10923         * buffer.h:
10924         * buffer.C: remove getIncludeonlyList()
10925
10926         * paragraph.C:
10927         * lyxfunc.C: remove headers
10928
10929 2002-09-09  Juergen Vigna  <jug@sad.it>
10930
10931         * text.C (getColumnNearX): fix form Michael this is most
10932         probably a cut&paste bug.
10933
10934 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10935
10936         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10937
10938         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10939         references, ws changes.
10940
10941         * text2.C (init): update counters after init
10942         (insertParagraph): no need to set counter on idividual paragraphs.
10943         (setCounter): access the counters object in the textclass object
10944         on in the buffer object.
10945         (updateCounters): ditto
10946
10947         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10948         shared_ptr<Counters> to avoid loading counters.h in all
10949         compilation units.
10950         (LyXTextClass): initialize ctrs_
10951         (TextClassTags): add TC_COUNTER, and ...
10952         (Read): use it here.
10953         (CounterTags): new tags
10954         (readCounter): new function
10955         (counters): new funtion
10956         (defaultLayoutName): return a const reference
10957
10958         * counters.C (Counters): remove contructor
10959         (newCounter): remove a couple of unneeded statements.
10960         (newCounter): simplify a bit.
10961         (numberLabel): some small formatting changes.
10962
10963         * buffer.[Ch]: remove all traces of counters, move the Counters
10964         object to the LyXTextClass.
10965
10966 2002-09-06  Alain Castera  <castera@in2p3.fr>
10967
10968         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10969         package to set the horizontal alignment on fixed width columns.
10970
10971         * lyx_sty.C:
10972         * lyx_sty.h: added tabularnewline macro def.
10973
10974         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10975
10976 2002-09-06  John Levon  <levon@movementarian.org>
10977
10978         * LyXAction.C: tooltips for sub/superscript
10979
10980         * MenuBackend.C: a bit more verbose
10981
10982         * lyxfunc.C: tiny clean
10983
10984         * undo_funcs.C: document undo_frozen
10985
10986 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10987
10988         * counters.C (Counters): add missing algorithm counter.
10989
10990         * text2.C (setCounter): lookup the counter with layouts latexname
10991         instead of by section number.
10992         (setCounter): use a hackish way to lookup the correct enum
10993         counter.
10994         a float name->type change
10995         reset enum couners with counter name directly instead of depth value.
10996
10997         * counters.C (Counters): remove the push_backs, change to use the
10998         float type not the float name.
10999         (labelItem): remove unused string, float name->type change
11000
11001         * counters.h: don't include vector, loose the enums and sects vectors
11002
11003 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11004
11005         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11006         (Read): add float->TC_FLOAT to textclassTags
11007         (Read): and handle it in the switch
11008         (readFloat): new function
11009
11010         * FloatList.C (FloatList): comment out the hardcoded float
11011         definitions.
11012
11013         * lyxlayout.h: ws change.
11014
11015 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11016
11017         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11018
11019 2002-09-03  Angus Leeming  <leeming@lyx.org>
11020
11021         * BufferView_pimpl.h: qualified name is not allowed in member
11022         declaration: WorkArea & Pimpl::workarea() const;
11023
11024         * factory.C: added using std::endl directive.
11025
11026         * text3.C: added using std::find and std::vector directives.
11027
11028 2002-08-29  André Pönitz <poenitz@gmx.net>
11029
11030         * lyxtext.h:
11031         * text2.C: remove unused member number_of_rows
11032
11033         * Makefile.am:
11034         * BufferView2.C: remove file, move contents to...
11035         * BufferView.C: ... here
11036
11037         * BufferView_pimpl.C:
11038         * factory.C: move more inset creation to factory
11039
11040         * vspace.C: avoid direct usage of LyXText, ws changes
11041
11042         * BufferView.[Ch]:
11043                 don't provide direct access to WorkArea, use two simple
11044                 acessors haveSelction() and workHeight() instead
11045
11046
11047 2002-08-29  John Levon  <levon@movementarian.org>
11048
11049         * BufferView_pimpl.C (dispatch): do not continue when
11050           no buffer
11051
11052 2002-08-28  André Pönitz <poenitz@gmx.net>
11053
11054         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11055
11056         * BufferView.h:
11057         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11058
11059 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11060
11061         * buffer.C: increment LYX_FORMAT to 221
11062
11063         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11064         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11065
11066         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11067
11068         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11069
11070 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11071
11072         * factory.C (createInset): use LyXTextClass::floats
11073
11074         * MenuBackend.C (expandFloatListInsert):
11075         (expandFloatInsert):
11076         (expandToc):
11077
11078         * text2.C (setCounter):
11079
11080         * LaTeXFeatures.C (useFloat):
11081         (getFloatDefinitions):
11082
11083         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11084
11085         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11086         floatlist_, with accessor floats().
11087
11088         * FloatList.h: remove global FloatList
11089
11090 2002-08-26  André Pönitz <poenitz@gmx.net>
11091
11092         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11093
11094         * BufferView.h:
11095         * BufferView2.C:
11096         * BufferView_pimpl.C:
11097         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11098
11099 2002-08-25  John Levon  <levon@movementarian.org>
11100
11101         * LyXAction.C: fix margin note description
11102
11103 2002-08-24  John Levon  <levon@movementarian.org>
11104
11105         * buffer.C:
11106         * bufferlist.C:
11107         * bufferview_funcs.C:
11108         * lyxfont.C:
11109         * undo_funcs.C: cleanups
11110
11111         * lyxfunc.C: disable CUT/COPY when no selection
11112
11113 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11114
11115         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11116         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11117
11118         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11119         Add backward compatibility to "mono", "gray" and "no".
11120
11121 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11122
11123         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11124         (and file_format >= 200).
11125
11126 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11127
11128         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11129
11130 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11131
11132         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11133
11134 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11135
11136         * BufferView_pimpl.C:
11137         * LyXAction.C:
11138         * buffer.C:
11139         * commandtags.h:
11140         * lyxfunc.C:
11141         * paragraph.[Ch]:
11142         * text2.C:
11143         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11144         inset and code to make it  work with the paragraph code. The inset
11145         can be anywhere in the paragraph, but will only do the expected
11146         thing in LaTeX if the layout file contains the parameter line
11147                         OptionalArgs    1
11148         (or more generally, a nonzero value) for that layout.
11149
11150 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11151
11152         * paragraph.h: remove the declaration of undefined counters class
11153         function.
11154
11155 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11156
11157         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11158         Dr. Richard Hawkins.
11159
11160 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11161
11162         * paragraph_funcs.h: remove some unneeded includes
11163
11164         * text.C (backspace): pasteParagraph now in global scipe
11165
11166         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11167         (pasteSelection): ditto
11168
11169         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11170         * paragraph_funcs.C (pasteParagraph): ... here
11171
11172 2002-08-20  André Pönitz <poenitz@gmx.net>
11173
11174         * commandtags.h: new LFUNs for swapping/copying table row/colums
11175
11176         * LyXAction.C:
11177         * lyxfunc.C: support for new lfuns
11178
11179 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11180
11181         * tabular.C:
11182         * buffer.[Ch]: remove NO_COMPABILITY stuff
11183
11184 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11185
11186         * boost.C (throw_exception): new file, with helper function for
11187         boost compiled without exceptions.
11188
11189         * paragraph.h:
11190         * lyxlength.C:
11191         * buffer.C:
11192         * ParameterStruct.h:
11193         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11194
11195         * bufferlist.C (emergencyWriteAll): use boost bind
11196
11197         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11198
11199         * text.C: include paragraph_funcs.h
11200         (breakParagraph): breakParagraph is now in global scope
11201
11202         * paragraph_funcs.[Ch]: new files
11203
11204         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11205         global scope
11206
11207         * buffer.C: include paragraph_funcs.h
11208         (insertStringAsLines): breakParagraph is now in global scope
11209
11210         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11211         paragraph_funcs.C
11212
11213         * CutAndPaste.C: include paragraph_funcs.h
11214         (cutSelection): breakParagraphConservative is now in global scope
11215         (pasteSelection): ditto
11216
11217         * buffer.h: declare oprator== and operator!= for
11218         Buffer::inset_iterator
11219
11220         * bufferlist.C (emergencyWrite): don't use fmt(...)
11221
11222         * text3.C: add using std::endl
11223
11224         * BufferView.C (moveCursorUpdate): remove default arg
11225
11226 2002-08-20  André Pönitz <poenitz@gmx.net>
11227
11228         * buffer.[Ch]: move inline functions to .C
11229
11230         * BufferView2.C:
11231         * BufferView_pimpl.C:
11232         * text.C:
11233         * buffer.[Ch]: use improved inset_iterator
11234
11235         * buffer.C:
11236         * paragraph.[Ch]: write one paragraph at a time
11237
11238 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11239
11240         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11241         style if style is not specified.
11242
11243 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11244
11245         * text2.C (setCounter): when searching for right label for a
11246         caption, make sure to recurse to parent insets (so that a caption
11247         in a minipage in a figure float works) (bug #568)
11248
11249 2002-08-20  André Pönitz <poenitz@gmx.net>
11250
11251         * text3.C: new file for LyXText::dispatch() and helpers
11252
11253         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11254
11255         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11256
11257 2002-08-19  André Pönitz <poenitz@gmx.net>
11258
11259         * lyxtext.h:
11260         * text.C: new LyXText::dispatch()
11261
11262         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11263
11264 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11265
11266         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11267
11268         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11269         Hebrew text.
11270
11271 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * Makefile.am: use $(variables) instead of @substitutions@
11274
11275 2002-08-15  André Pönitz <poenitz@gmx.net>
11276
11277         * lyxfunc.C:
11278         * BufferView_pimpl.C: streamlining mathed <-> outer world
11279         interaction
11280
11281         * commandtags.h:
11282         * LyXAction.C: remove unused LFUN_MATH
11283
11284 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11285
11286         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11287
11288 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11289
11290         * paragraph.C (Paragraph): reformat a bit
11291         (cutIntoMinibuffer): use builtin InsetList function instad of
11292         doing it manually.
11293         (getInset): ditto
11294
11295         * buffer.C: include boost/bind.hpp, add using std::for_each
11296         (writeFileAscii): use ParagraphList iterators
11297         (validate): use for_each for validate traversal of paragraphs
11298         (getBibkeyList): use ParagraphList iterators
11299         (resizeInsets): use for_each to resizeInsetsLyXText for all
11300         paragraphs.
11301         (getParFromID): use ParagraphList iterators
11302
11303         * BufferView2.C (lockInset): use paragraph list and iterators
11304
11305 2002-08-14  John Levon  <levon@movementarian.org>
11306
11307         * lyxserver.C: remove spurious xforms include
11308
11309 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11310
11311         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11312
11313 2002-08-13  André Pönitz <poenitz@gmx.net>
11314
11315         * LyXAction.[Ch]:
11316         * lyxfunc.C: further cleaning
11317
11318 2002-08-13  André Pönitz <poenitz@gmx.net>
11319
11320         * funcrequest.h: new constructor
11321
11322         * funcrequest.C: move stuff here from .h
11323
11324         * Makefile.am:
11325         * BufferView_pimpl.C:
11326         * LyXAction.C:
11327         * toc.C:
11328         * lyxfunc.C: subsequent changes
11329
11330         * lyxfunc.h: new view() member function
11331
11332         * lyxfunc.C: subsequent changes
11333
11334 2002-08-13  Angus Leeming  <leeming@lyx.org>
11335
11336         * BufferView2.C:
11337         * BufferView_pimpl.C:
11338         * buffer.C:
11339         * converter.C:
11340         * importer.C:
11341         * lyxfunc.C:
11342         * lyxvc.C:
11343         * toc.C:
11344         * vc-backend.C:
11345         changes due to the changed LyXView interface that now returns references
11346         to member variables not pointers.
11347
11348 2002-08-13  Angus Leeming  <leeming@lyx.org>
11349
11350         * WordLangTuple (word, lang_code): return references to strings,
11351         not strings.
11352
11353         * BufferView.h:
11354         * SpellBase.h:
11355         * lyxtext.h: forward-declare WordLangTuple.
11356
11357         * BufferView2.C:
11358         * ispell.C:
11359         * pspell.C:
11360         * text.C: #include "WordLangTuple.h".
11361
11362         * lyxtext.h:
11363         * text.C: (selectNextWordToSpellcheck): constify return type.
11364
11365 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11366
11367         * buffer.C:
11368         * buffer.h:
11369         * lyxtext.h:
11370         * paragraph.C:
11371         * paragraph_pimpl.h:
11372         * text.C:
11373         * text2.C:
11374         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11375         suggested by Angus.
11376         Made updateCounter always count from start of buffer, and removed
11377         second argument (par).
11378         Reverted floats number display to '#'. Perhaps I'll try again when the
11379         code base is sanitized a bit.
11380
11381 2002-08-12  Angus Leeming  <leeming@lyx.org>
11382
11383         * buffer.[Ch] (getLabelList): constify.
11384
11385 2002-08-07  André Pönitz <poenitz@gmx.net>
11386
11387         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11388
11389         * funcrequest.h: extension to keep mouse (x,y) position
11390
11391 2002-08-12  Juergen Vigna  <jug@sad.it>
11392
11393         * BufferView2.C (insertErrors): forbid undo when inserting error
11394         insets.
11395
11396         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11397
11398 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11399
11400         * ParagraphList.[Ch]: new files
11401
11402         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11403
11404         * BufferView2.C (lockInset): ParagraphList changes
11405         * toc.C: ditto
11406         * text2.C: ditto
11407         * bufferlist.C: ditto
11408         * buffer.h: ditto
11409         * buffer.C: ditto
11410
11411 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11412
11413         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11414         unused class variable counter_,
11415
11416         * paragraph.[Ch] (getFirstCounter): delete unused function
11417
11418         * counters.C: include LAssert.h
11419         (reset): add a new function with no arg, change other version to
11420         not have def. arg and to not allow empty arg.
11421
11422         * text2.C (setCounter): remove empty arg from call to Counters::reset
11423
11424 2002-08-11  John Levon  <levon@movementarian.org>
11425
11426         * Makefile.am: add WordLangTuple.h
11427
11428 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11429
11430         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11431         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11432
11433         * insets/insettext.C: InsetList changes
11434
11435         * graphics/GraphicsSupport.C (operator()): InsetList changes
11436
11437         * toc.C (getTocList): InsetList changes
11438
11439         * paragraph_pimpl.[Ch]: InsetList changes
11440
11441         * paragraph.[Ch]: InsetList changes
11442
11443         * buffer.C (inset_iterator): InsetList changes
11444         (setParagraph): ditto
11445         * buffer.h (inset_iterator): ditto
11446         * iterators.C (operator++): ditto
11447         * iterators.h: ditto
11448
11449         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11450
11451         * InsetList.[Ch]: new files, most InsetList handling moved out of
11452         paragraph.C.
11453
11454         * BufferView2.C (removeAutoInsets): InsetList changes
11455         (lockInset): ditto
11456         (ChangeInsets): ditto
11457
11458 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11459
11460         * paragraph_pimpl.h (empty): new function
11461
11462         * paragraph.[Ch] (empty): new function
11463
11464         * other files: use the new Paragraph::empty function
11465
11466 2002-08-09  John Levon  <levon@movementarian.org>
11467
11468         * lyxtext.h: remove unused refresh_height
11469
11470 2002-08-09  John Levon  <levon@movementarian.org>
11471
11472         * Makefile.am:
11473         * sgml.h:
11474         * sgml.C:
11475         * buffer.C:
11476         * paragraph.h:
11477         * paragraph.C: move sgml char escaping out of paragraph
11478
11479         * paragraph.h:
11480         * paragraph.C: remove id setter
11481
11482         * buffer.C:
11483         * paragraph.C:
11484         * paragraph_pimpl.C: remove dead tex_code_break_column
11485
11486         * bufferview_funcs.C: small cleanup
11487
11488         * lyxfunc.C: remove dead proto
11489
11490         * lyxtext.h: make some stuff private. Remove some dead stuff.
11491
11492         * lyxgluelength.C: make as[LyX]String() readable
11493
11494 2002-08-08  John Levon  <levon@movementarian.org>
11495
11496         * LyXAction.h:
11497         * LyXAction.C:
11498         * MenuBackend.C:
11499         * ToolbarDefaults.C:
11500         * lyxfunc.C:
11501         * lyxrc.C:
11502         * toc.C: lyxaction cleanup
11503
11504 2002-08-08  John Levon  <levon@movementarian.org>
11505
11506         * BufferView2.C: small cleanup
11507
11508         * lyxfind.h:
11509         * lyxfind.C: move unnecessary header into the .C
11510
11511 2002-08-08  John Levon  <levon@movementarian.org>
11512
11513         * funcrequest.h: just tedious nonsense
11514
11515         * lyx_main.h:
11516         * lyx_main.C: cleanups
11517
11518         * buffer.C:
11519         * vspace.C: remove dead header lyx_main.h
11520
11521 2002-08-07  Angus Leeming  <leeming@lyx.org>
11522
11523         * Paragraph.[Ch]:
11524         * paragraph_pimpl.h:
11525         Forward declare class Counters in paragraph.h by moving the ctrs member
11526         variable into Paragraph::Pimpl.
11527         (counters): new method, returning a reference to pimpl_->ctrs.
11528
11529         * text2.C: ensuing changes.
11530
11531 2002-08-07  John Levon  <levon@movementarian.org>
11532
11533         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11534
11535         * BufferView_pimpl.C: announce X selection on double/triple
11536           click
11537
11538         * lyx_main.C: use correct bool in batch dispatch
11539
11540         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11541
11542 2002-08-07  André Pönitz <poenitz@gmx.net>
11543
11544         * funcrequest.h: new class to wrap a kb_action and its argument
11545
11546         * BufferView.[Ch]:
11547         * BufferView_pimpl[Ch]:
11548         * LaTeX.C:
11549         * LyXAction.[Ch]:
11550         * lyxfunc.[Ch]:
11551         * lyxrc.C: subsequent changes
11552
11553
11554 2002-08-07  John Levon  <levon@movementarian.org>
11555
11556         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11557           document options change.
11558
11559 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11560
11561         * counters.[Ch]
11562         * text2.C
11563         * paragraph.[Ch]
11564         * makefile.am: move counters functionality over from
11565         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11566
11567 2002-08-06  John Levon  <levon@movementarian.org>
11568
11569         * WordLangTuple.h: new file for word + language code tuple
11570
11571         * SpellBase.h:
11572         * pspell.h:
11573         * pspell.C:
11574         * ispell.h:
11575         * ispell.C:
11576         * lyxtext.h:
11577         * text.C:
11578         * text2.C:
11579         * BufferView.h:
11580         * BufferView2.C: use WordLangTuple
11581
11582         * layout.h:
11583         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11584
11585 2002-08-06  John Levon  <levon@movementarian.org>
11586
11587         * lyx_main.C: fix cmdline batch handling
11588
11589 2002-08-06  André Pönitz <poenitz@gmx.net>
11590
11591         * lyxrc.C: set default for show_banner to true
11592
11593 2002-08-06  John Levon  <levon@movementarian.org>
11594
11595         * pspell.C: fix a crash, and allow new aspell to work
11596
11597 2002-08-06  John Levon  <levon@movementarian.org>
11598
11599         * lyxfunc.C:
11600         * kbmap.C: small cleanup
11601
11602         * vspace.h:
11603         * vspace.C: add const
11604
11605 2002-08-05  John Levon  <levon@movementarian.org>
11606
11607         * LyXAction.C: back to tabular-insert
11608
11609 2002-08-04  John Levon  <levon@movementarian.org>
11610
11611         * BufferView.h:
11612         * BufferView.C: cosmetic change
11613
11614         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11615
11616         * bufferlist.C:
11617         * buffer.h:
11618         * buffer.C:
11619         * lyxcb.h:
11620         * lyxcb.C:
11621         * lyxserver.C:
11622         * lyxvc.C:
11623         * vc-backend.C:
11624         * BufferView2.C: purge all "Lyx" not "LyX" strings
11625
11626         * lyxcursor.h:
11627         * lyxcursor.C: attempt to add some documentation
11628
11629         * lyxfunc.C:
11630         * commandtags.h:
11631         * LyXAction.C:
11632         * ToolbarDefaults.C:
11633         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11634           merge with LFUN_TABULAR_INSERT
11635
11636         * Makefile.am:
11637         * SpellBase.h:
11638         * ispell.h:
11639         * ispell.C:
11640         * pspell.h:
11641         * pspell.C: split up i/pspell implementations into separate
11642           files, many cleanups
11643
11644         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11645
11646         * text2.C: some cleanup
11647
11648         * lyxfunc.C: don't check for isp_command == "none" any more, it
11649           didn't make any sense
11650
11651 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11652
11653         * counters.[Ch]
11654         * text2.C
11655         * paragraph.[Ch]
11656         * makefile.am: move counters functionality over
11657         from text2.C/paragraph.[Ch] to counters.[Ch], and
11658         make proper C++.
11659 2002-08-02  John Levon  <levon@movementarian.org>
11660
11661         * buffer.C: s/lyxconvert/lyx2lyx/
11662
11663 2002-08-02  Angus Leeming  <leeming@lyx.org>
11664
11665         * lyxlex.C: revert John's change as it breaks reading of the user
11666         preamble.
11667
11668 2002-08-02  Angus Leeming  <leeming@lyx.org>
11669
11670         * importer.C (Import):
11671         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11672         changes due to LyXView::view() now returning a boost::shared_ptr.
11673
11674 2002-08-02  John Levon  <levon@movementarian.org>
11675
11676         * lyxlex.C: small cleanup
11677
11678 2002-08-02  John Levon  <levon@movementarian.org>
11679
11680         * text2.C (status): small cleanup, no logic change
11681
11682 2002-08-01  John Levon  <levon@movementarian.org>
11683
11684         * buffer.h:
11685         * buffer.C (writeFile): don't output alerts, caller
11686           handles this
11687
11688         * bufferlist.C:
11689         * lyx_cb.C: from above
11690
11691         * lyxfunc.C: allow to open non-existent files
11692
11693 2002-07-31  John Levon  <levon@movementarian.org>
11694
11695         * lyxserver.C: don't let incidental errors get
11696           in the way (errno)
11697
11698 2002-07-30  John Levon  <levon@movementarian.org>
11699
11700         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11701
11702 2002-07-30  John Levon  <levon@movementarian.org>
11703
11704         * lyxserver.h:
11705         * lyxserver.C: remove I/O callback too
11706
11707 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11708
11709         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11710         log.
11711
11712 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11713
11714         * many files: strip,frontStrip -> trim,ltrim,rtrim
11715
11716 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11717
11718         * PrinterParams.h: remove extern containsOnly, and include
11719         support/lstrings.h instead.
11720
11721         * LaTeX.C (scanAuxFile): modify because of strip changes
11722         (deplog): ditto
11723         * buffer.C (makeLaTeXFile): ditto
11724         * bufferparams.C (writeFile): ditt
11725         * lyxfont.C (stateText): ditto
11726         * lyxserver.C (read_ready): ditto
11727         * vc-backend.C (scanMaster): ditto
11728
11729         * BufferView_pimpl.h: ws changes
11730
11731         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11732
11733 2002-07-26  André Pönitz <poenitz@gmx.net>
11734
11735         * kb_sequence.C: remove unnedred usings
11736
11737 2002-07-26  Juergen Vigna  <jug@sad.it>
11738
11739         * lyxfind.C (LyXReplace): we have to check better if the returned
11740         text is not of theLockingInset()->getLockingInset().
11741
11742 2002-07-25  Juergen Vigna  <jug@sad.it>
11743
11744         * lyxfind.C (LyXReplace): don't replace if we don't get the
11745         right LyXText.
11746
11747         * undo_funcs.C (createUndo): remove debugging code.
11748
11749 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11750
11751         * buffer.C (parseSingleLyXformat2Token): Use default placement
11752         when reading old floats.
11753
11754         * FloatList.C (FloatList): Change the default placement of figure
11755         and tables to "tbp".
11756
11757 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11758
11759         * MenuBackend.C: using std::max
11760
11761 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11762
11763         * MenuBackend.C (expandToc):
11764         (expandToc2): code moved from xforms menu frontend. It is now
11765         generic and TOCs are transparent to menu frontends.
11766
11767 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11768
11769         * toc.C (getTocList): protect against buf=0
11770
11771         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11772         Menu as first parameter. Now, this calls itself recursively to
11773         expand a whole tree (this will be useful for TOC handling)
11774         (expandFloatInsert): remove 'wide' version of floats
11775
11776         * MenuBackend.h (submenuname): returns the name of the submenu.
11777         (submenu): returns the submenu itself, provided it has been
11778         created by MenuBackend::expand
11779
11780 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11781
11782         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11783         insets which have noFontChange == true. (bug #172)
11784
11785 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * BufferView_pimpl.C: add connection objects and use them...
11788         (Pimpl): here.
11789
11790 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11791
11792         * MenuBackend.C (expandLastfiles):
11793         (expandDocuments):
11794         (expandFormats):
11795         (expandFloatListInsert):
11796         (expandFloatInsert):
11797         (expand): split expand in parts
11798
11799 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * lyx_gui.C: use lyx_gui::exit()
11802
11803 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * LyXAction.C: show the failing pseudo action
11806
11807 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11808
11809         * buffer.C (readFile): Run the lyxconvert script in order to read
11810         old files.
11811
11812 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * LyXAction.C:
11815         * commandtags.h:
11816         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11817
11818 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11819
11820         * LyXAction.C:
11821         * commandtags.h:
11822         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11823
11824 2002-07-22  Herbert Voss  <voss@lyx.org>
11825
11826         * lengthcommon.C:
11827         * lyxlength.[Ch]: add support for the vertical lengths
11828
11829 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * toc.[Ch]: std:: fixes
11832
11833 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11834
11835         * lyxrc.C: do not include lyx_main.h
11836
11837         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11838         for layouts
11839
11840         * lyxrc.C:
11841         * encoding.C:
11842         * bufferlist.C:
11843         * BufferView2.C: include "lyxlex.h"
11844
11845         * tabular.h:
11846         * bufferparams.h: do not #include "lyxlex.h"
11847
11848         * lyxtextclasslist.C (Add): remove method
11849         (classlist): renamed to classlist_
11850
11851         * paragraph_pimpl.C:
11852         * paragraph.C:
11853         * text2.C:
11854         * CutAndPaste.C:
11855         * bufferview_funcs.C:
11856         * bufferlist.C:
11857         * text.C:
11858         * LaTeXFeatures.C:
11859         * buffer.C:
11860         * toc.C (getTocList): use BufferParams::getLyXTextClass
11861
11862         * toc.C (getTocList): use InsetFloat::addToToc
11863
11864         * toc.[Ch]: new files, containing helper functions to handle table
11865         of contents
11866
11867         * lyxfunc.C (dispatch): no need to remove spaces around command
11868         given as a string
11869         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11870         first command of the sequence; it is not very clever, but I do not
11871         have a better idea, actually
11872
11873         * LyXAction.C (LookupFunc): make sure to remove space at the
11874         beginning and end of the command
11875
11876 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11877
11878         * MenuBackend.C (getMenubar): new method: return the menubar of
11879         this menu set
11880         (read): treat differently reading of menu and menubar (in
11881         particular, the menubar has no name now)
11882         (Menu::menubar): remove
11883
11884         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11885         saving is finished
11886
11887 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11888
11889         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11890         a bibitem inset in a RTL paragraph.
11891
11892 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * paragraph_pimpl.C: constify
11895
11896         * BufferView_pimpl.C:
11897         * LaTeX.C:
11898         * lyxfunc.C: fix dispatch in a nicer way
11899
11900 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * lyxfunc.C (dispatch):
11903         * BufferView_pimpl.C:
11904         * BufferView_pimpl.h:
11905         * BufferView.C:
11906         * BufferView.h: rename Dispatch() to dispatch()
11907
11908         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11909
11910         * lyxlayout.C (Read): honor DependsOn tag
11911
11912         * lyxlayout.[Ch] (depends_on): new method
11913
11914         * version.C.in: update lyx_docversion
11915
11916         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11917
11918         * paragraph.C (validate): remove from here...
11919         * paragraph_pimpl.C (validate): ... and move here
11920         (isTextAt): make it const
11921
11922         * buffer.C (getLists): ws cleanup
11923
11924 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11925
11926         * language.C (read): Use iso8859-1 encoding in latex_lang
11927         (this prevents LyX from crashing when using iso10646-1 encoding).
11928
11929 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11930
11931         * text2.C (toggleInset): if cursor is inside an inset, close the
11932         inset and leave cursor _after_ it
11933
11934 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * lyxfunc.C: move minibuffer completion handling out of here
11937
11938 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * BufferView_pimpl.C:
11941         * LaTeX.C: fix dispatch calls
11942
11943 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11944
11945         * text.C (drawChars): Fix Arabic text rendering.
11946
11947 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * LyXAction.C:
11950         * commandtags.h:
11951         * lyxfunc.C: remove message-push/pop
11952
11953         * lyxserver.C:
11954         * lyxfunc.h:
11955         * lyxfunc.C: rationalise some code by removing verboseDispatch
11956           in favour of a bool argument to dispatch()
11957
11958 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11959
11960         * lyx_main.C (init): make sure to read symlinks as absolute paths
11961
11962 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11963
11964         * lyxfunc.h:
11965         * lyxfunc.C: no need for commandshortcut to be a member
11966
11967 2002-07-15  André Pönitz <poenitz@gmx.net>
11968
11969         * converter.C: add support for $$s (scripts from lib/scripts dir)
11970         * lyx_main.C: white space
11971
11972 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11973
11974         * bufferlist.C:
11975         * lyxrc.h:
11976         * lyxrc.C: remove second exit confirmation
11977
11978 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11979
11980         * BufferView.h:
11981         * BufferView.C:
11982         * BufferView2.C:
11983         * BufferView_pimpl.h:
11984         * BufferView_pimpl.C:
11985         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11986
11987 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * MenuBackend.C (expand): add numeric shortcuts to document menu
11990
11991         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11992
11993 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11994
11995         * lyxfont.C (setLyXFamily):
11996         (setLyXSeries):
11997         (setLyXShape):
11998         (setLyXSize):
11999         (setLyXMisc):
12000         (lyxRead):
12001         * debug.C (value):
12002         * buffer.C (asciiParagraph): use ascii_lowercase
12003
12004 2002-07-15  Mike Fabian  <mfabian@suse.de>
12005
12006         * lyxlex_pimpl.C (search_kw):
12007         * lyxlex.C (getLongString):
12008         * converter.h (operator<):
12009         * converter.C (operator<):
12010         * buffer.C (parseSingleLyXformat2Token):
12011         (asciiParagraph):
12012         * ToolbarDefaults.C (read):
12013         * MenuBackend.C (checkShortcuts):
12014         (read):
12015         * LColor.C (getFromGUIName):
12016         (getFromLyXName): use the compare_ascii_no_case instead of
12017         compare_no_case, because in turkish, 'i' is not the lowercase
12018         version of 'I', and thus turkish locale breaks parsing of tags.
12019
12020 2002-07-16  Angus Leeming  <leeming@lyx.org>
12021
12022         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12023         now takes a Buffer const & argument.
12024
12025 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * BufferView.C (resize): check there's a buffer to resize
12028
12029 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * lyxfunc.C: remove dead code
12032
12033         * lyxserver.h:
12034         * lyxserver.C: use lyx_guii::set_read_callback
12035
12036 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12037
12038         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12039         an inset in a RTL paragraph.
12040
12041 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * lyxfunc.C: repaint after a font size update
12044
12045 2002-07-15  André Pönitz <poenitz@gmx.net>
12046
12047         * lyxlength.C: inBP should be able to return negative values
12048
12049 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12050
12051         * lyxfunc.C: use lyx_gui::update_fonts()
12052
12053 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12054
12055         * lyxfunc.C: use lyx_gui::update_color()
12056
12057 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12058
12059         * bufferlist.C:
12060         * lyxfunc.h:
12061         * lyxfunc.C:
12062         * lyxrc.h:
12063         * lyxrc.C: remove file->new asks for name option, and let
12064           buffer-new take an argument
12065
12066 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12067
12068         * BufferView_pimpl.C: remove unneeded extra repaint()
12069
12070 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12071
12072         * LyXAction.C: allow command-sequence with NoBuffer
12073
12074         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12075
12076 2002-07-10  Angus Leeming  <leeming@lyx.org>
12077
12078         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12079
12080 2002-07-09  Angus Leeming  <leeming@lyx.org>
12081
12082         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12083
12084 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * lengthcommon.h: whitespace
12087
12088         * lyxfunc.C: update scrollbar after goto paragraph
12089
12090         * lyxtext.h: factor out page break drawing, and fix it so
12091           page break/added space paints as selected nicely
12092
12093 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * BufferView_pimpl.C: add FIXMEs, clean up a little
12096
12097 2002-07-09  André Pönitz <poenitz@gmx.net>
12098
12099         * lyxfont.[Ch]: support for wasy symbols
12100
12101 2002-07-08  André Pönitz <poenitz@gmx.net>
12102
12103         * BufferView_pimpl.C: apply John's patch for #93.
12104
12105 2002-07-05  Angus Leeming  <leeming@lyx.org>
12106
12107         * BufferView_pimpl.C (buffer): generate previews if desired.
12108
12109         * LColor.h: add "preview" to the color enum.
12110
12111         * LColor.C (LColor): add a corresponding entry to the items array.
12112
12113         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12114         with this buffer.
12115
12116 2002-07-05  Angus Leeming  <leeming@lyx.org>
12117
12118         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12119         The body of the code is now in the method that is passed an ostream &
12120         rather than a file name.
12121         Pass an additional only_preamble parameter, useful for the forthcoming
12122         preview stuff.
12123
12124 2002-07-03  André Pönitz <poenitz@gmx.net>
12125
12126         * lyxfunc.C: simplify getStatus() a bit for math stuff
12127
12128 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12129
12130         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12131
12132 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12133
12134         * text.C (changeRegionCase): do not change case of all the
12135         document when region ends at paragraph end (bug #461)
12136
12137 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12138
12139         * paragraph.C (startTeXParParams):
12140         (endTeXParParams): add \protect when necessary
12141
12142 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12143
12144         * BufferView_pimpl.C (workAreaExpose): remove warning
12145
12146 2002-06-27  Angus Leeming  <leeming@lyx.org>
12147
12148         * Makefile.am: add lyxlayout_ptr_fwd.h.
12149
12150 2002-06-26  André Pönitz <poenitz@gmx.net>
12151
12152         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12153
12154 2002-06-25  Angus Leeming  <leeming@lyx.org>
12155
12156         * lyxfunc.C (dispatch): Comment out the call to
12157         grfx::GCache::changeDisplay. The method no longer exists now that the
12158         pixmap generation part of the graphics loader has been moved into
12159         InsetGraphics.
12160
12161 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12162
12163         * text2.C: layout as layout
12164
12165         * text.C: layout as layout
12166
12167         * tabular.C (OldFormatRead): layout as layout
12168
12169         * paragraph_pimpl.C (TeXDeeper): layout as layout
12170         (realizeFont): layout as layout
12171
12172         * paragraph.C (writeFile): layout as layout
12173         (validate): layout as layout
12174         (getFont): layout as layout
12175         (getLabelFont): layout as layout
12176         (getLayoutFont): layout as layout
12177         (breakParagraph): layout as layout
12178         (stripLeadingSpaces): layout as layout
12179         (getEndLabel): layout as layout
12180         (getMaxDepthAfter): layout as layout
12181         (applyLayout): layout as layout
12182         (TeXOnePar): layout as layout
12183         (simpleTeXOnePar): layout as layout
12184         (TeXEnvironment): layout as layout
12185         (layout): layout as layout
12186         (layout): layout as layout
12187
12188         * lyxtextclass.C (compare_name): new functor to work with
12189         shared_ptr, layout as layout
12190         (Read): layout as layout
12191         (hasLayout): layout as layout
12192         (operator): layout as layout
12193         (delete_layout): layout as layout
12194         (defaultLayout): layout as layout
12195
12196         * lyxlayout_ptr_fwd.h: new file
12197
12198         * lyxlayout.C (Read): layout as layout
12199
12200         * lyx_cb.C (MenuInsertLabel): layout as layout
12201
12202         * bufferlist.C (newFile): layout as layout
12203
12204         * buffer.C (readLyXformat2): layout as layout
12205         (parseSingleLyXformat2Token): layout as layout
12206         (insertStringAsLines): layout as layout
12207         (asciiParagraph): layout as layout
12208         (latexParagraphs): layout as layout
12209         (makeLinuxDocFile): layout as layout
12210         (simpleLinuxDocOnePar): layout as layout
12211         (makeDocBookFile): layout as layout
12212         (simpleDocBookOnePar): layout as layout
12213         (getLists): layout as layout
12214
12215         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12216
12217         * CutAndPaste.C (cutSelection): layout as layout
12218         (pasteSelection): layout as layout
12219         (SwitchLayoutsBetweenClasses): layout as layout
12220
12221         * BufferView_pimpl.C (Dispatch): layout as layout
12222         (smartQuote): layout as layout
12223
12224         * BufferView2.C (unlockInset): layout as layout
12225
12226 2002-06-24  André Pönitz <poenitz@gmx.net>
12227
12228         * lyxfunc.C: fix #487
12229
12230 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * lyxrc.h:
12233         * lyxrc.C:
12234         * lyxfunc.C: remove display_shortcuts, show_banner
12235
12236 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12237
12238         * Buffer_pimpl.C: oops, update on resize
12239
12240 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * buffer.C:
12243         * converter.C:
12244         * exporter.C:
12245         * lyxfunc.C:
12246         * BufferView.h:
12247         * BufferView.C: use repaint()
12248
12249         * BufferView_pimpl.h:
12250         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12251           as it's a clearer description. Remove superfluous
12252           redraws.
12253
12254 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12255
12256         * text.C: fix bug 488. Not ideal, but getting
12257           getWord() to work properly for the insets that
12258           matter is more difficult ...
12259
12260 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * BufferView_pimpl.C:
12263         * LyXAction.C:
12264         * commandtags.h:
12265         * lyxfunc.C: remove the six million index lyxfuncs to just
12266           one, and DTRT (bug 458)
12267
12268 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * BufferView.h:
12271         * BufferView.C:
12272         * BufferView_pimpl.h:
12273         * BufferView_pimpl.C: clean up resize() stuff,
12274           and unnecessary updateScreen()s
12275
12276 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * BufferView.h:
12279         * BufferView.C:
12280         * BufferView_pimpl.h:
12281         * BufferView_pimpl.C:
12282         * lyxfind.h:
12283         * lyxfind.C:
12284         * minibuffer.C: remove focus management of workarea,
12285           not needed. Use screen's greyOut()
12286
12287 2002-06-17  Herbert Voss  <voss@lyx.org>
12288
12289         * converter.C: (convert) do not post a message, when converting
12290         fails, let the calling function decide what to do in this case
12291
12292 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * lyxfunc.C: tidy up a little
12295
12296 2002-06-16    <alstrup@diku.dk>
12297
12298         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12299         Got rid of FORMS_H_LOCATION include. Now we are
12300         GUII.
12301
12302 2002-06-15  LyX Development team  <lyx@rilke>
12303
12304         * buffer.[Ch] (sgmlOpenTag):
12305         (sgmlCloseTag): Added support for avoiding pernicious mixed
12306         content. Return number of lines written.
12307
12308         (makeLinuxDocFile):
12309         (makeDocBookFile): Fixed calls to sgml*Tag.
12310         Simple white space clean.
12311
12312         (simpleDocBookOnePar): Simple white space clean.
12313
12314         * tabular.[Ch] (docBook): Renamed to docbook and got another
12315         argument to related with the pernicious mixed content.
12316
12317         (docbookRow): Fixed calls for docbook inset method.
12318
12319 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12320
12321         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12322         so it's X11 independent.
12323
12324         * kb*.[Ch]: ditto.
12325
12326         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12327
12328 2002-06-15  Lyx Development team  <lyx@electronia>
12329
12330         * intl.h: Renamed getTrans to getTransManager.
12331
12332 2002-06-14  Angus Leeming  <leeming@lyx.org>
12333
12334         * Makefile.am: nuke forgotten stl_string_fwd.h.
12335
12336 2002-06-12  Angus Leeming  <leeming@lyx.org>
12337
12338         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12339
12340 2002-06-13  Angus Leeming  <leeming@lyx.org>
12341
12342         * LaTeX.C:
12343         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12344
12345 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12346
12347         * kbmap.C (getiso): add support for cyrillic and greek
12348
12349 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * BufferView.h:
12352         * BufferView.C:
12353         * BufferView_pimpl.h:
12354         * BufferView_pimpl.C: move bogus scrolling logic
12355           to xforms
12356
12357 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12358
12359         * lyxfunc.C:
12360         * BufferView_pimpl.C: view->resize() change
12361
12362 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12363
12364         * BufferView_pimpl.C: topCursorVisible
12365           prototype change
12366
12367 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * Makefile.am:
12370         * lyx_gui.h:
12371         * lyx_gui.C: move to frontends/
12372
12373         * main.C:
12374         * lyx_main.h:
12375         * lyx_main.C: changes from above
12376
12377 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * intl.C:
12380         * intl.h:
12381         * kbmap.C:
12382         * kbsequence.C:
12383         * lyx_cb.C:
12384         * lyx_main.C: minor tidy
12385
12386 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * BufferView_pimpl.h:
12389         * BufferView_pimpl.C:
12390         * BufferView.h:
12391         * BufferView.C: make painter() const,
12392           remove dead code
12393
12394         * BufferView2.C: use screen() accessor
12395
12396         * lyx_main.h:
12397         * lyx_main.C: some minor cleanup
12398
12399 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * BufferView_pimpl.h:
12402         * BufferView_pimpl.C: remove enter/leaveView,
12403           use workHeight()
12404
12405 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * BufferView.h:
12408         * BufferView.C:
12409         * BufferView2.C:
12410         * BufferView_pimpl.h:
12411         * BufferView_pimpl.C: only construct screen once,
12412           rename
12413
12414         * lyxrc.C: remove pointless comment
12415
12416 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12417
12418         * BufferView.h:
12419         * BufferView.C: remove active() and belowMouse()
12420
12421         * BufferView_pimpl.h:
12422         * BufferView_pimpl.C: use workarea() not workarea_,
12423           and make it use a scoped_ptr instead
12424
12425 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * lyx_gui.C: add debug message on BadWindow
12428
12429 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12430
12431         * sp_spell.C: fdopen is not part of the C++ standard.
12432
12433         * paragraph.C (InsetIterator): use >= instead of ==
12434
12435 2002-06-07  Angus Leeming  <leeming@lyx.org>
12436
12437         Fixes needed to compile with Compaq cxx 6.5.
12438         * BufferView_pimpl.C:
12439         * DepTable.C:
12440         * buffer.C:
12441         * converter.C:
12442         * encoding.C:
12443         * lyx_gui.C:
12444         * lyx_main.C:
12445         * lyxtextclasslist.C:
12446         * minibuffer.C:
12447         * sp_spell.C:
12448         * tabular_funcs.C:
12449         * vc-backend.C:
12450         all c-library variables have been moved into namespace std. Wrap
12451         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12452
12453         * lyxlength.C:
12454         * tabular-old.C:
12455         * tabular.C:
12456         Add a using std::abs declaration.
12457
12458         * kbmap.h (modifier_pair):
12459         * paragraph.h (InsetTable, InsetList):
12460         * lyxfont.h (FontBits):
12461         type definition made public.
12462
12463         * bufferlist.C (emergencyWriteAll): the compiler complains that
12464         there is more than one possible lyx::class_fun template to choose from.
12465         I re-named the void specialisation as lyx::void_class_fun.
12466
12467         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12468
12469         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12470         the compiler is is unable to find tostr in write_attribute.
12471
12472 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12473
12474         * buffer.C (sgmlError): hide #warning
12475
12476 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12477
12478         * xtl/*: get rid of xtl, which is not in use anyway
12479
12480         * LyXAction.C (init):
12481         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12482         were unimplemented xtl experimentation
12483
12484 2002-06-04  André Pönitz <poenitz@gmx.net>
12485
12486         * lyxfunc.C: disable array operation on simple formulae
12487
12488 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12489
12490         * converter.C: constify a bit
12491
12492 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * lyx_gui.C: check xforms version correctly
12495
12496 2002-04-30  Herbert Voss  <voss@lyx.org>
12497
12498         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12499         "keep" option
12500
12501 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12502
12503         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12504           attempt to register it with a VCS)
12505
12506 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12507
12508         * lyx_main.C (init): honor variables LYX_DIR_13x and
12509         LYX_USERDIR_13x
12510
12511 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12512
12513         * buffer.h:
12514         * buffer.C:
12515         * lyx_main.C: fix a crash on bad command line,
12516           and give a useful exit status on error
12517
12518         * lyxfunc.C (doImport): allow -i lyx to work
12519
12520 2002-03-30  André Pönitz <poenitz@gmx.net>
12521
12522         * lyxfunc.C: mathed font changes
12523
12524 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * LaTeX.C:
12527         * importer.h:
12528         * importer.C:
12529         * lyx_sty.h:
12530         * lyx_sty.C:
12531         * lyxlex.C:
12532         * lyxrow.h:
12533         * lyxtext.h:
12534         * paragraph.h:
12535         * paragraph.C:
12536         * texrow.h:
12537         * texrow.C:
12538         * text.C:
12539         * trans_mgr.h: srcdocs, and some minor cleanups
12540
12541 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12542
12543         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12544         call getFont all the time)
12545
12546 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12547
12548         * switch from SigC signals to boost::signals
12549
12550 2002-05-29  André Pönitz <poenitz@gmx.net>
12551
12552         * paragraph_pimpl.C (getChar): don't call size() too often...
12553
12554 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12555
12556         * paragraph_pimpl.C (insertChar): do not try to update tables when
12557         appending (pos == size())
12558
12559         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12560         in order to reduce drastically the number of comparisons needed to
12561         parse a large document
12562
12563 2002-05-29  André Pönitz <poenitz@gmx.net>
12564
12565         * text.C:
12566         * text2.C:
12567         * lyxtextclass.C:
12568         * sp_pspell.h:
12569         * textclasslist.[Ch]:
12570         * sp_ispell.h: whitespace change
12571
12572 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12573
12574         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12575         lyxaction directly now.
12576
12577 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12578
12579         * trans.C:
12580         * lyxfont.C:
12581         * lyxvc.C: remove unused headers
12582
12583 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12584
12585         * Makefile.am:
12586         * buffer.h:
12587         * undostack.h:
12588         * undostack.C:
12589         * undo_funcs.h:
12590         * undo_funcs.C: some cleanups. Use shared_ptr
12591           and a template for the undo stacks.
12592
12593 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * BufferView_pimpl.h:
12596         * BufferView_pimpl.C:
12597         * kbmap.h:
12598         * kbmap.C:
12599         * kbsequence.h:
12600         * kbsequence.C:
12601         * lyxfunc.h:
12602         * lyxfunc.C:
12603         * text2.C: use key_state/mouse_state
12604
12605 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12606
12607         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12608         and LSubstring
12609
12610         * chset.C: change include order
12611         (loadFile): use boost regex and get rid of LRegex and LSubstring
12612
12613         * Makefile.am (BOOST_LIBS): new variable
12614         (lyx_LDADD): use it
12615
12616         * LaTeX.C: change include order.
12617         (scanAuxFile): use boost regex and get rid of LRegex and
12618         LSubstring
12619         (deplog): ditto
12620
12621 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * ColorHandler.h:
12624         * ColorHandler.C:
12625         * FontInfo.h:
12626         * FontInfo.C: moved to frontends/xforms/
12627
12628         * FontLoader.h:
12629         * FontLoader.C: moved into frontends for GUIIzation
12630
12631         * Makefile.am:
12632         * lyx_gui.C:
12633         * lyxfont.C:
12634         * lyxfunc.C: changes from above
12635
12636 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * LColor.C: remove spurious X include
12639
12640         * BufferView_pimpl.C:
12641         * Makefile.am:
12642         * font.h:
12643         * font.C:
12644         * text.C:
12645         * text2.C: move font metrics to frontends/
12646
12647 2002-05-24  Juergen Vigna  <jug@sad.it>
12648
12649         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12650         setting the undo_cursor.
12651
12652         * ParagraphParameters.h: include local includes first.
12653
12654 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * BufferView_pimpl.C:
12657         * BufferView_pimpl.h:
12658         * Makefile.am:
12659         * WorkArea.h:
12660         * WorkArea.C:
12661         * screen.C: move WorkArea into frontends/
12662
12663         * lyxscreen.h:
12664         * screen.C:
12665         * text.C:
12666         * BufferView.C:
12667         * BufferView2.C: move LyXScreen into frontends/
12668
12669         * lyxlookup.h:
12670         * lyxlookup.C:
12671         * lyx_gui.C: move lyxlookup into frontends/xforms/
12672
12673 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12674
12675         * BufferView2.C:
12676         * BufferView_pimpl.C:
12677         * FontLoader.C:
12678         * LyXView.h:
12679         * LyXView.C:
12680         * Makefile.am:
12681         * WorkArea.C:
12682         * XFormsView.h:
12683         * XFormsView.C:
12684         * buffer.C:
12685         * bufferlist.C:
12686         * bufferview_funcs.C:
12687         * converter.C:
12688         * importer.C:
12689         * lyx_cb.C:
12690         * lyx_gui.C:
12691         * lyx_main.C:
12692         * lyx_find.C:
12693         * lyxfunc.C:
12694         * lyxvc.C:
12695         * minibuffer.C:
12696         * text.C:
12697         * text2.C:
12698         * trans.C:
12699         * vc-backend.C: move LyX/XFormsView into frontends/
12700
12701 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * Makefile.am:
12704         * PainterBase.C:
12705         * PainterBase.h:
12706         * Painter.C:
12707         * Painter.h:
12708         * WorkArea.C:
12709         * WorkArea.h:
12710         * screen.C:
12711         * tabular.C:
12712         * text.C:
12713         * text2.C: move Painter to frontends/
12714
12715 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12716
12717         * buffer.C: comment out some some code that depend upon lyx_format
12718         < 220
12719
12720         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12721         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12722
12723         * buffer.h (NO_COMPABILITY): turn off compability
12724
12725         * ColorHandler.C: include scoped_array.hpp
12726
12727         * font.C: Use more specific smart_ptr header.
12728         * Painter.C: ditto
12729         * gettext.C: ditto
12730         * ShareContainer.h: ditto
12731         * lyx_main.h: ditto
12732         * kbmap.h: ditto
12733         * FontInfo.h: ditto
12734         * BufferView_pimpl.h: ditto
12735         * ColorHandler.h: ditto
12736
12737         * kbmap.C (defkey): change call to shared_ptr::reset
12738
12739 2002-05-21  Juergen Vigna  <jug@sad.it>
12740
12741         * buffer.C (insertErtContents): fix to insert ert asis if it is
12742         non empty. Skip it completely if it contains only whitespaces.
12743
12744 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * BufferView_pimpl.C:
12747         * BufferView2.C: clear selection on paste (bug 393)
12748
12749 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * DepTable.C: include ctime
12752
12753 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12754
12755         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12756
12757 2002-05-14  Juergen Vigna  <jug@sad.it>
12758
12759         * text.C (breakParagraph): fixed function to honor the keepempty
12760         layout in the right maner and also to permit the right breaking
12761         algorithm on empty or non empyt keepempty paragraphs.
12762
12763         * paragraph.C (breakParagraph): we have to check also if the par
12764         is really empty (!size()) for isempty otherwise we do the wrong
12765         paragraph break.
12766
12767 2002-05-10  Juergen Vigna  <jug@sad.it>
12768
12769         * buffer.[Ch] : The following are only changes to the ert
12770         compatibility read reading old LaTeX layout and font stuff and
12771         convert it to ERTInsets.
12772
12773         * buffer.h: added isErtInset().
12774
12775         * buffer.C (struct ErtComp): add a fromlayout bool to check
12776         if we're inside a LaTeX layout.
12777         (isErtInset): new helper function.
12778         (insertErtContents): look for other ert insets before this one
12779         and insert the contents there, so that we don't have subsequent
12780         ERT insets with nothing between them. This way we create only one
12781         inset with multiple paragraphs. Also check if we don't insert only
12782         spaces ' ' as they are ignored anyway afterwards in the .tex file
12783         so if we have only spaces we will ignore this latex part in the
12784         new file.
12785         (parseSingleLyXformat2Token \\layout): better compatibility when
12786         reading layout-latex stuff.
12787         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12788         language tag.
12789         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12790         stuff after reading the inset only get the information back from
12791         the stack.
12792
12793 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12794
12795         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12796
12797         * LaTeXFeatures.C (getBabelOptions): New method.
12798
12799 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * BufferView_pimpl.C (Dispatch): work around missing argument for
12802         'layout'
12803
12804 2002-05-08  Juergen Vigna  <jug@sad.it>
12805
12806         * text.C (leftMargin): handle paragraph leftindent.
12807
12808         * paragraph.C (writeFile): write the new \\leftindent tag.
12809         (validate): handle leftindent code.
12810         (TeXEnvironment): handle paragraphleftindent code again.
12811
12812         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12813
12814         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12815         for paragrap_extra indent code and new token \\leftindent.
12816         (latexParagraphs): handle the leftindent as environment.
12817
12818         * ParameterStruct.h: added leftindent support.
12819
12820         * ParagraphParameters.C (leftIndent): added support functions for
12821         the paragraph left indent.
12822
12823         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12824         more appropriate.
12825
12826 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12827
12828         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12829         inside insetERT.
12830
12831         * text.C (computeBidiTables): No bidi in insetERT.
12832
12833         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12834         in RTL documents.
12835
12836 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12837
12838         * version.C.in: pre 5
12839
12840 2002-05-02  José Matos  <jamatos@fep.up.pt>
12841         * buffer.C (makeDocBookFile): white space changes, add newline to
12842         command styles.
12843         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12844
12845         * tabular.C (docBook): fix typo.
12846
12847 2002-05-03  Juergen Vigna  <jug@sad.it>
12848
12849         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12850         change in LyXText as we can not be sure it was not freed.
12851         (drawOneRow): remove unused code.
12852
12853         * text.C (drawInset): redo the calculation of the need_break_row as
12854         it could have a row which was already freed.
12855         (draw): look at the return value of drawInset and return false if
12856         it also returned false.
12857         (paintRowText): look at the return value of draw and return false if
12858         it also returned false.
12859
12860         * lyxtext.h: added bool return type to drawInset() and draw() so that
12861         if we have a change in the row so that the rowbreak has to be redone
12862         we abort drawing as it will be called again.
12863
12864 2002-05-02  Juergen Vigna  <jug@sad.it>
12865
12866         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12867         a change in the maintext also if we're inside an inset.
12868         (Dispatch): set the cursor again after a break line and after the
12869         screen has been updated as it could be we're in a different row.
12870
12871         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12872         to set the cursor behind the pargraph with > size().
12873         (setCursor): check also for the same paragraph when checking where
12874         to put the cursor if we have a NFR inset.
12875
12876         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12877         parts of layout read further up as it still was in the wrong
12878         position.
12879
12880 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * screen.C (drawFromTo): change sine fullRebreak always return
12883         true.
12884
12885         * buffer.C (parseSingleLyXformat2Token): reindent some
12886
12887         * BufferView_pimpl.C (update): change since fullRebreak always
12888         return true.
12889         (Dispatch): git rid of the last hardcoded "Standard"s.
12890
12891 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12892
12893         * text2.[Ch] (fullRebreak): make it return void now that we always
12894         returned true.
12895
12896 2002-04-30  Juergen Vigna  <jug@sad.it>
12897
12898         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12899         ert compatibility check for "latex" layout.
12900
12901 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12902
12903         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12904         minipages: use col% instead of p%, and also use the current font.
12905         (makeLaTeXFile): Fix use babel condition.
12906         (parseSingleLyXformat2Token): Correct font when reading old floats.
12907
12908 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12909
12910         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12911         inserting list of floats.
12912
12913 2002-04-25  Herbert Voss  <voss@lyx.org>
12914
12915         * MenuBackend.C (expand): don't add the graphics extensions to the
12916         export menu
12917
12918 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12919
12920         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12921         non-existing layout, do not complain if it was the default layout
12922         of the original class (bug #342)
12923
12924 2002-04-24  Juergen Vigna  <jug@sad.it>
12925
12926         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12927         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12928
12929 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12930
12931         * buffer.C (getBibkeyList): If using \bibliography, return the
12932         option field with the reference itself. Enables us to provide natbib
12933         support when using \bibliography.
12934
12935 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12936
12937         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12938
12939         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12940         natbib is provided by the LaTeX class.
12941
12942 2002-04-23  Juergen Vigna  <jug@sad.it>
12943
12944         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12945         Wakeup functions.
12946
12947         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12948
12949 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12950
12951         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12952
12953         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12954         ensuremath around textordmasculine, textordfeminine and
12955         textdegree.
12956
12957 2002-04-19  Juergen Vigna  <jug@sad.it>
12958
12959         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12960         reinitializing the buffer otherwise row-dimensions may be wrong.
12961         (update): reset also the selection cursors if they do exits otherwise
12962         their x/y positions may be wrong.
12963
12964         * text2.C (cursorDown): don't enter the inset if we came from a row
12965         above and are one row over the inset.
12966
12967         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12968         really leaving an inset.
12969
12970 2002-04-18  Juergen Vigna  <jug@sad.it>
12971
12972         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12973         of the selected paragraph does not have the selected layout also if
12974         the last one had!
12975
12976         * text2.C (setLayout): fixed bug which did not change last selected
12977         paragraph.
12978
12979         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12980         changed the read and substituted \\end_float with \\end_inset!
12981
12982         * BufferView_pimpl.C (cursorPrevious):
12983         (cursorNext): fixed to make it work with rows heigher than the work
12984         area without moving the cursor only the draw of the row.
12985         (workAreaMotionNotify): fix jumping over high rows.
12986
12987 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12990         Ressler.
12991
12992 2002-04-16  Juergen Vigna  <jug@sad.it>
12993
12994         * text2.C (setCursor): set also the irow().
12995         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12996         (cursorUp):
12997         (cursorDown): support for locking an inset if the x_fix value goes
12998         inside it. That way I can transverse insets too with cursor up/down.
12999
13000         * lyxrow.h: added irow helper function same as other (i) functions.
13001
13002         * BufferView_pimpl.C (cursorPrevious):
13003         (cursorNext): fixed for insets!
13004
13005 2002-04-15  Juergen Vigna  <jug@sad.it>
13006
13007         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13008         position otherwise it is wrong in some cases.
13009
13010         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13011         inside the inset before the call.
13012
13013 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         * buffer.[Ch] (getBibkeyList): make it const.
13016
13017 2002-04-12  Juergen Vigna  <jug@sad.it>
13018
13019         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13020
13021         * text2.C (getCursorX): new helper function
13022         (setCursor): compute also ix_
13023         (setCursorFromCoordinates): set also ix.
13024
13025         * lyxcursor.h: added ix_ and helper functions.
13026
13027         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13028
13029         * buffer.C (insertStringAsLines): dont break paragraph if the this
13030         paragraph is inside an inset which does not permit it!
13031
13032         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13033         also with no chars on this paragraph.
13034         (paintRowText): only paint stuff if it's inside the workarea!
13035
13036         * paragraph.C (breakParagraph): honor keepempty flag and break the
13037         paragraph always below not above.
13038
13039         * BufferView2.C (unlockInset): update the paragraph layout on inset
13040         unlock as we changed paragraph in such a case.
13041
13042         * lyxfind.C (LyXFind): clear the former selection if not found!
13043
13044         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13045         again called in insertChar().
13046
13047         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13048         an inset which uses the whole row!
13049         (rightMargin): ditto.
13050         (insertChar): force a rebreak if we inserted an inset!
13051
13052 2002-03-28  Herbert Voss  <voss@lyx.org>
13053
13054         * lyxlength.[Ch]: add inBP() to get the right PS-point
13055         units (BigPoint). With inPixels we have rounding errors
13056
13057 2002-04-11  Juergen Vigna  <jug@sad.it>
13058
13059         * text2.C (setCursorFromCoordinates): set iy to the right value.
13060         (setCursor): add check if row->previous exists!
13061
13062         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13063         an old float_type as this was the case in the old code!
13064
13065         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13066
13067         * BufferView2.C (showLockedInsetCursor): use iy
13068         (fitLockedInsetCursor): ditto
13069
13070         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13071         locked insets as there we have the right value now.
13072
13073         * lyxcursor.C: added iy_ variable and iy functions to set to the
13074         baseline of cursor-y of the locked inset.
13075
13076         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13077         (setCursor): fixed for insets which need a full row.
13078
13079         * text.C (rowLastPrintable): don't ignore the last space when before
13080         an inset which needs a full row.
13081         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13082         as last character of a row when before a inset which needs a full row.
13083
13084 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13085
13086         * version.C.in: update date
13087
13088         * text2.C (fullRebreak): try to always return true and see what
13089         happens...
13090
13091 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13092
13093         * MenuBackend.C (expand): use Floating::listName
13094
13095         * FloatList.C (FloatList): add listName argument to the built-in
13096         floats
13097
13098         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13099         text associated with the float.
13100
13101 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13102
13103         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13104
13105 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * ShareContainer.h: add a couple of missing typenames.
13108
13109 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13110
13111         * lyxrc.C (getDescription): use _() correctly rather than N_().
13112
13113 2002-03-28  Herbert Voss  <voss@lyx.org>
13114
13115         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13116         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13117
13118 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13119
13120         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13121         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13122
13123 2002-03-29  Juergen Vigna  <jug@sad.it>
13124
13125         * lyxfunc.C (dispatch): add a missing fitCursor call.
13126
13127         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13128         it was scrolled by a cursor move, so return the bool status.
13129
13130         * BufferView.C (fitCursor): return the bool flag also to the outside
13131         world as this is needed.
13132
13133         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13134
13135         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13136         call the edit() as it is not needed (and wrong) IMO.
13137         (workAreaButtonPress): set the screen_first variable before evt.
13138         unlock the inset as this may change screen_first and then we have
13139         a wrong y position for the click!
13140
13141 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13142
13143         * MenuBackend.C (expand): another translation that I missed
13144
13145 2002-03-28  Juergen Vigna  <jug@sad.it>
13146
13147         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13148
13149         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13150
13151 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13152
13153         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13154
13155         * MenuBackend.C (expand): fix export/view/update when there is no
13156         document open.
13157
13158 2002-03-27  Herbert Voss  <voss@lyx.org>
13159
13160         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13161         and text%
13162
13163 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13164
13165         * bufferview_funcs.C (currentState): only show paragraph number
13166         for is DEVEL_VERSION is set.
13167
13168         * lyxfunc.C (dispatch): put warning in INFO channel
13169
13170         * MenuBackend.C (expand): translate the name of floats
13171
13172         * FloatList.C (FloatList): mark the float names for translation
13173
13174         * converter.C (convert): use LibScriptSearch
13175
13176 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13177
13178         * MenuBackend.C (defaults): fix default menu (we might as well get
13179         rid of it...)
13180
13181 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13184         directory.
13185
13186 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * lyxvc.C: reorder includes.
13189
13190 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13191
13192         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13193           properly
13194
13195 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13196
13197         * CutAndPaste.C: change layouts earlier on paste
13198           to avoid crashing when calling getFont()
13199
13200 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13201
13202         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13203         irritating #error.
13204
13205 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13206
13207         * WorkArea.C: remove 'Pending' debug message.
13208
13209         * most files: ws cleanup
13210
13211         * buffer.[Ch]: ws changes
13212
13213         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13214
13215 2002-03-21  Juergen Vigna  <jug@sad.it>
13216
13217         * tabular.C (SetMultiColumn): collapse also the contents of the
13218         cells and set the last border right. Added a Buffer const * param.
13219
13220 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13221
13222         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13223         linking or not.
13224
13225 2002-03-19  Juergen Vigna  <jug@sad.it>
13226
13227         * text2.C (clearSelection): reset also xsel_cache.
13228
13229         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13230         where it needs to be called (John tells us to do so too :)
13231         (selectionLost): reset sel_cache.
13232
13233         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13234
13235 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13236
13237         * text2.C (setCursorIntern): put debuging code in INSETS channel
13238
13239 2002-03-19  André Pönitz <poenitz@gmx.net>
13240
13241         * lyxfunc.C: tiny whitespace change
13242
13243 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13244
13245         * ToolbarDefaults.C (init):
13246         * LyXAction.C (init):
13247         * commandtags.h:
13248         * BufferView_pimpl.C (Dispatch):
13249         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13250
13251 2002-03-19  Allan Rae  <rae@lyx.org>
13252
13253         * exporter.C (Export): removeAutoInsets before doing anything else.
13254         While I've just introduced a dependency on BufferView this really is
13255         the best place to clean the buffer otherwise you need to cleanup in
13256         a dozen places before calling export or cleanup in a dozen functions
13257         that export calls.
13258
13259         * converter.C (runLaTeX):
13260         (scanLog): Better handling of removeAutoInsets and screen updates.
13261
13262         * lyxfunc.C (dispatch): small whitespace changes
13263
13264 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13265
13266         * WorkArea.C (C_WorkAreaEvent): return a value.
13267         (event_cb): return 1 if we handled the event, 0 otherwise.
13268
13269         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13270
13271 2002-03-18  Juergen Vigna  <jug@sad.it>
13272
13273         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13274         (GetAdditionalWidth): ditto.
13275         (RightLine): ditto.
13276         (LeftLine): ditto.
13277
13278         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13279         inset if we're there actually (probably not used right now but this
13280         is the direction to go for unifying code).
13281         (paste): disable code to clear the selection.
13282
13283         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13284         inside an InsetText and move the check further up as it is in the
13285         wrong place.
13286
13287         * text2.C (pasteSelection): set a selection over the pasted text.
13288
13289 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13290
13291         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13292         and libgraphics to build on Cygwin.
13293
13294 2002-03-15  Juergen Vigna  <jug@sad.it>
13295
13296         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13297         inserting an Inset into the paragraph. I know this is not the best
13298         fix but we already use current_view in CutAndPaste so we will remove
13299         all of it's using at the same time.
13300
13301         * buffer.C (sgmlError): deactivated function till it is rewritten in
13302         the right mode, now it can create problems.
13303
13304         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13305         before accessing it.
13306
13307 2002-03-14  Juergen Vigna  <jug@sad.it>
13308
13309         * undo_funcs.C (textHandleUndo): do the right thing when updating
13310         the inset after the undo/redo.
13311
13312         * text2.C (setCursor): just some testcode for #44 not ready yet.
13313
13314         * undo_funcs.C (textHandleUndo): set the next() and previous()
13315         pointers of the paragraph to 0 before deleting otherwise we have
13316         problems with the Paragraph::[destructor].
13317
13318         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13319         on a paragraph insertion.
13320
13321 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13322
13323         * buffer.C (asciiParagraph): use += operator for char append to
13324         string.
13325
13326         * paragraph.C (getFontSettings): compare >= not just >
13327         (highestFontInRange): ditto
13328         (setFont): ditto
13329
13330 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * paragraph.C: change several algorithm to be more appripriate for
13333         the problem domain. This is lookip in FontList and in the InsetList.
13334
13335 2002-03-13  André Pönitz <poenitz@gmx.net>
13336
13337         * commandtags.h:
13338         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13339
13340 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * commandtags.h:
13343         * LyXAction.C:
13344         * lyxfunc.C:
13345         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13346
13347 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * Painter.C (display): anon helper function, adjust code for this
13350         change.
13351         (pixmap): remove function.
13352
13353         * Painter.h: remove private display variable.
13354
13355         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13356
13357 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13358
13359         * WorkArea.[Ch]: remove figinset_canvas cruft.
13360
13361 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13362
13363         * lyxtextclass.C (operator): add one item cache optimization.
13364
13365         * bufferlist.h: doxy changes
13366
13367         * bufferlist.C: ws changes
13368
13369         * DepTable.[Ch] (ext_exist): place const in the right spot.
13370
13371         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13372         call resizeInsets.
13373         (workAreaExpose): call resizeInsets when the with BufferView changes.
13374         (Dispatch): adjust for protectedBlank removal
13375         (specialChar): call updateInset if the insert went ok.
13376
13377         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13378         specialChar instead.
13379
13380         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13381
13382         * BufferView.h: doxy change
13383
13384         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13385
13386         * lyxtextclass.C (operator[]): remove non-const version
13387         (defaultLayout): remove non-const version
13388
13389 2002-03-12  Juergen Vigna  <jug@sad.it>
13390
13391         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13392         did resize the LyXText too.
13393
13394         * buffer.C (readLyXformat2): set layout information on newly allocated
13395         paragraphs.
13396
13397         * tabular.C (OldFormatRead): set layout information on the paragraph.
13398
13399 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13400
13401         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13402
13403 2002-03-11  Juergen Vigna  <jug@sad.it>
13404
13405         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13406         plainly wrong.
13407         (resizeCurrentBuffer): force also the insets to resize themselfes.
13408         (moveCursorUpdate): fixed up for InsetText.
13409
13410 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13411
13412         * commandtags.h:
13413         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13414         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13415         value of Dialogs::tooltipsEnabled().
13416         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13417
13418 2002-03-08  Juergen Vigna  <jug@sad.it>
13419
13420         * BufferView_pimpl.C (updateInset): update inset inside inset also
13421         if it isn't inside theLockingInset().
13422
13423 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13424
13425         * buffer.C (asciiParagraph): redo some of the word and line length
13426         handling.
13427         (getLists): look for Caption instead of caption.
13428
13429 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13430
13431         * buffer.C (Buffer): initialize niceFile to true
13432         (makeLaTeXFile):
13433         (makeLinuxDocFile):
13434         (makeDocBookFile): make sure niceFile is true on exit
13435
13436 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13437
13438         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13439
13440 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13441
13442         * LyXSendto.C: remove.
13443         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13444         * lyx_gui.C: remove now-redundant comment.
13445         * ColorHandler.h: remove forward declaration of class WorkArea.
13446         * lyxfunc.C: remove #include "WorkArea.h".
13447
13448 2002-03-07  Juergen Vigna  <jug@sad.it>
13449
13450         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13451         got moved away with the DEPM and also set the inset_owner always
13452         right which before could have been omitted.
13453
13454 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13455
13456         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13457         wanted layout is not found.
13458
13459 2002-03-07  Juergen Vigna  <jug@sad.it>
13460
13461         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13462
13463 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13464
13465         * paragraph.C (breakParagraph): use default layout not layout of
13466         prev paragraph.
13467         (Paragraph): clear ParagraphParameters.
13468
13469 2002-03-06  Juergen Vigna  <jug@sad.it>
13470
13471         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13472         otherwise it would not be a valid lenght. Fixed a special case in
13473         the minipage compatibility read where we end the document with a
13474         minipage.
13475
13476         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13477         was set as it could be 0 for InsetTexts first entry.
13478
13479 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13480
13481         * paragraph.C (writeFile): if layout is empty write out
13482         defaultLayoutName().
13483
13484         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13485         file without named layout we set layout to defaultLayoutName().
13486
13487 2002-03-06  Juergen Vigna  <jug@sad.it>
13488
13489         * CutAndPaste.C (copySelection): set layout for new paragraph.
13490
13491         * text.C (prepareToPrint): leave ERT inset left aligned
13492         (leftMargin): don't indent paragraphs inside ERT insets
13493
13494 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13495
13496         * paragraph.C (breakParagraph): dont call clear do the work manually
13497
13498         * paragraph.[Ch] (clear): remove function
13499
13500 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13501
13502         * paragraph.C (Paragraph): dont call clear, the work has already
13503         been done.
13504
13505         * lyxtextclass.C (operator): assert if n is empty
13506
13507         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13508         work manually instead.
13509
13510 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13511
13512         * BufferView_pimpl.C: protect selectionLost against text == 0
13513
13514 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13515
13516         * text.C (breakParagraph): fix a setting layout to '0' problem.
13517
13518 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13519
13520         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13521         final location of file, for the included files, and graphics.
13522
13523 2002-03-05  Juergen Vigna  <jug@sad.it>
13524
13525         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13526
13527 2002-03-04  Juergen Vigna  <jug@sad.it>
13528
13529         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13530
13531         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13532         last column of multicolumn cells.
13533         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13534
13535 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13536
13537         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13538         file if it doesn't go to a temporary file.
13539
13540         * buffer.C (sgmlOpenTag):
13541         (sgmlCloseTag):  remove extra newline insertion.
13542
13543 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13544
13545         * text.C (getRowNearY): comment out debug msg
13546
13547 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13548
13549         * text2.C: first -> first_y
13550
13551         * text.C (getRowNearY): add some attemts at a possible
13552         optimization, not working.
13553
13554         * tabular.[Ch]: add BufferParams to several function so that newly
13555         created paragraph can be initialized to he default layotu for the
13556         buffers textclass.
13557
13558         * tabular-old.C (ReadOld): add buf->params to call of Init
13559
13560         * screen.C: rename text->first to text->first_y
13561
13562         * paragraph.C (breakParagraph): always set layout in the broken
13563         paragraph
13564
13565         * lyxtextclass.C (Read): remove lowercase
13566         (hasLayout): ditto
13567         (operator): ditto
13568         (delete_layout): ditto
13569
13570         * lyxtext.h: rename first -> first_y
13571
13572         * lyxlayout.C (Read): remove lowercase
13573         (name): ditto
13574         (setName): ditto
13575         (obsoleted_by): ditto
13576
13577         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13578
13579         * buffer.C (insertErtContents): add params are to InsetERT
13580         (parseSingleLyXformat2Token): add code to check if a paragraphs
13581         layout really exist.
13582         (parseSingleLyXformat2Token): add params to several inset
13583         constructors
13584         (asciiParagraph): remove lowercase, do the layout comparisons with
13585         no_case
13586
13587         * BufferView_pimpl.C (cursorNext): first -> first_y
13588         (resizeCurrentBuffer): first -> first_y
13589         (updateScrollbar): first -> first_y
13590         (scrollCB): first -> first_y
13591         (workAreaMotionNotify): first -> first_y
13592         (workAreaButtonPress): first -> first_y
13593         (checkInsetHit): first -> first_y
13594         (cursorPrevious): first -> first_y
13595         (cursorNext): first -> first_y
13596         (Dispatch): add buffer_->params to severl inset contructors
13597
13598 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13599
13600         * lyxlayout.C (Read): remove some debug info that I forgot.
13601
13602         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13603         clean up the code slightly.
13604         (makeLinuxDocFile): ditto
13605         (makeDocBookFile): ditto
13606
13607         * text2.C: layout as string
13608
13609         * text.C: layout as string
13610
13611         * paragraph_pimpl.C: layout as string
13612
13613         * paragraph.[Ch]: layout as string
13614
13615         * lyxtextclasslist.[Ch]: layout as string
13616
13617         * lyxtextclass.[Ch]: layout as string
13618
13619         * lyxtext.h: layout as string
13620
13621         * lyxlayout.[Ch]: layout as string
13622
13623         * lyx_cb.C: layout as string
13624
13625         * bufferview_funcs.C: layout as string
13626
13627         * bufferparams.C: layout as string
13628
13629         * buffer.C: layout as string
13630
13631         * LyXView.[Ch]: layout as string
13632
13633         * LaTeXFeatures.[Ch]: layout as string
13634
13635         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13636
13637         * BufferView_pimpl.C: change current_layout to string, remove
13638         lyx::layout_type.
13639         (Dispatch):
13640         (smartQuote):
13641         (insertInset):
13642         (workAreaButtonRelease): layout as string
13643
13644         * BufferView2.C (unlockInset): adjust
13645
13646         * vspace.C (asLatexCommand): use an explict temp variable.
13647
13648 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13649
13650         * Makefile.am: use FRONTEND_*
13651
13652 2002-03-01  Juergen Vigna  <jug@sad.it>
13653
13654         * tabular.C (SetWidthOfMulticolCell): changed to something better
13655         I hope but still work in progress.
13656         (recalculateMulticolumnsOfColumn): renamed function from
13657         recalculateMulticolCells as it is more appropriate now.
13658         (SetWidthOfCell): calculate multicols better.
13659
13660 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13661
13662         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13663
13664         * lyxfunc.C (processKeySym): print sequence also if it is
13665         `deleted' (complete)
13666
13667         * kbsequence.C (print): print sequence even if it is deleted
13668         (complete would be a better word, actually).
13669
13670         * lyxfunc.C (dispatch): print complete options after a prefix key
13671
13672         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13673
13674 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13675
13676         * text2.C (setCharFont): eliminate setCharFont code duplication.
13677
13678 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13679
13680         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13681         LFUN_TABULAR_FEATURE (bug #177)
13682
13683 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13684
13685         * Makefile.am: remove figure.h
13686
13687 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13688
13689         * Bufferview_pimpl.C:
13690         * CutAndPasteC:
13691         * LaTeX.C:
13692         * LyXSendto.C:
13693         * buffer.C:
13694         * bufferlist.C:
13695         * converter.C:
13696         * language.C:
13697         * lyxfunc.C:
13698         * lyxvc.C:
13699         * paragraph.C:
13700         * text.C:
13701         * text2.C: remove #include "lyx_gui_misc.h".
13702
13703         * LaTeX.C: added #include <cstdio>
13704
13705 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13706
13707         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13708         that the paragraph following this one can have.
13709
13710         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13711
13712         * vspace.C (asLatexCommand): fix bogus gcc warning
13713
13714         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13715
13716 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13717
13718         * text2.C (setLayout): get rid of redundant code
13719
13720 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13721
13722         * text2.C (incDepth): make sure depth cannot be increased beyond
13723         reasonable values.
13724
13725 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13726
13727         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13728         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13729
13730         * PainterBase.h (image):
13731         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13732         a LyXImage const *.
13733
13734 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13735
13736         * BufferView.C:
13737         * BufferView.h:
13738         * BufferView_pimpl.C:
13739         * BufferView_pimpl.h:
13740         * LaTeXFeatures.C:
13741         * LyXAction.C:
13742         * LyXView.C:
13743         * Makefile.am:
13744         * UpdateList.h:
13745         * UpdateList.C:
13746         * buffer.C:
13747         * figure.h:
13748         * figureForm.C:
13749         * figureForm.h:
13750         * figure_form.C:
13751         * figure_form.h:
13752         * lyx_cb.C:
13753         * lyx_gui.C:
13754         * lyx_gui_misc.C:
13755         * lyxfunc.C:
13756         * sp_base.h:
13757         * sp_ispell.h:
13758         * sp_pspell.h:
13759         * sp_spell.C: remove fig inset, and the crap house of
13760           cards that follows it
13761
13762 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13763
13764         * Makefile.am:
13765         * lyxserver.C:
13766         * os2_defines.h:
13767         * os2_errortable.h:
13768         * nt_defines.h: move .h into support/
13769
13770         * vms_defines.h: remove
13771
13772         * WorkArea.C: add space in debug output
13773
13774         * text2.C:
13775         * paragraph.C:
13776         * buffer.C: add WITH_WARNINGS
13777
13778         * vc-backend.h:
13779         * vc-backend.C:
13780         * bufferlist.C: s/retrive/retrieve/, add docs
13781
13782         * vspace.h:
13783         * vspace.C:
13784         * kbmap.h:
13785         * lyxlength.h:
13786         * lyxgluelength.h:
13787         * length_common.h:
13788         * chset.h:
13789         * chset.C: add docs
13790
13791         * lyxgui.C: add ID to X error handler
13792
13793         * lyxtestclass.c: fix typo
13794
13795 2002-02-26  Juergen Vigna  <jug@sad.it>
13796
13797         * tabular_funcs.C (write_attribute): changed so that some default
13798         attributes are not written at all.
13799         (getTokenValue): set default values before trying to read the
13800         value so we have the return value always set as default if we don't
13801         find the token we search for.
13802
13803         * tabular.C (Write): write bools as bools not as strings!
13804
13805 2002-02-22  Juergen Vigna  <jug@sad.it>
13806
13807         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13808         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13809
13810         * text.C (leftMargin): don't add an indent for paragraphs inside
13811         tabular cells (fix #208).
13812
13813 2002-02-21  José Matos  <jamatos@fep.up.pt>
13814
13815         * tabular.C (docBook): fixed support for long tables.
13816
13817 2002-02-20  Juergen Vigna  <jug@sad.it>
13818
13819         * text2.C (getFont): get the drawing font of the Inset if this
13820         paragraph is inside an inset (only important for InsetERT for now).
13821
13822         * buffer.C (insertErtContents): use new lanugage params in ERT
13823         constructor.
13824
13825         * CutAndPaste.C: commenting out seemingly uneeded code.
13826
13827 2002-02-19  Allan Rae  <rae@lyx.org>
13828
13829         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13830         Iterators might be simple to use but they also get invalidated.
13831         (removeAutoInsets): renamed saved cursor tracking variables and added
13832         some comments to clarify what everything does.
13833
13834 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13835
13836         * Chktex.C:
13837         * LaTeX.C:
13838         * LyXSendto.C:
13839         * converter.C:
13840         * lyx_cb.C:
13841         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13842         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13843
13844         * lyxfunc.C:
13845         * vc-backend.h: remove #include "support/syscall.h"
13846
13847         * LaTeX.C:
13848         * LyXSendto.C:
13849         * converter.C: rearrange #includes in Lars' approved fashion.
13850
13851         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13852         forward declare class Timeout in the header file.
13853
13854         * XFormsView.C: changes due to the above.
13855
13856         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13857         similar to LyXView.
13858
13859         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13860         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13861
13862 2002-02-18  José Matos  <jamatos@fep.up.pt>
13863
13864         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13865         insets contents.
13866
13867 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13868
13869         * a lot of small ws changes
13870         * add a lot of using std::XXX
13871         * use std construcs some places where approp.
13872         * use some exisint stuff from lyxfunctional where approp.
13873         * Make file changes to use partial linking (lets test this now...)
13874
13875 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13876
13877         * Chktex.C:
13878         * buffer.C:
13879         remove #include "support/syscontr.h" as it's redundant. Always has been.
13880
13881         * Chktex.C:
13882         * LaTeX.C:
13883         * LyXSendto.C:
13884         * converter.C:
13885         * lyx_cb.C:
13886         * vc-backend.C:
13887         change Systemcalls::System to Systemcalls::Wait and
13888         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13889         No change of functionality, just reflects the stripped down Systemcalls
13890         class.
13891
13892 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13893
13894         * debug.[Ch]: add a GRAPHICS type to the enum.
13895
13896 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13897
13898         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13899
13900         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13901         there is an inset.
13902
13903 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13904
13905         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13906         match the changes below.
13907
13908         * text2.C (toggleInset): if there is not editable inset at cursor
13909         position, try to see if cursor is _inside_ a collapsable inset
13910         and close it.
13911
13912 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13913
13914         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13915         document menu has a nice checkbox
13916
13917 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13918
13919         * lyxlength.C (asLatexString): change PW to output as percent of
13920         \textwidth.
13921
13922         * lengthcommon.C: change '%' to 't%'
13923
13924         * lyxfunc.C (dispatch): a few comments from Martin
13925
13926 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13927
13928         * WorkArea.h:
13929         * WorkArea.C:
13930         * BufferView_pimpl.h:
13931         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13932           the X selection.
13933
13934 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13935
13936         * vspace.C (inPixels): fix compiler warning
13937
13938 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13939
13940         * lyxfunc.C (getStatus): fix status message for disabled commands.
13941
13942 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13943
13944         * BufferView_pimpl.C: fix crash on close buffer
13945         during selection (#227)
13946
13947 2002-01-27  Herbert Voss  <voss@lyx.org>
13948
13949         * buffer.C: link old Figure to new graphic inset
13950
13951 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13952
13953         * FontLoader.C (getFontinfo): Change the latex font names in order
13954         to match the names of type1inst.
13955
13956 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13957
13958         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13959
13960         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13961         (extchanged): ditto
13962         (ext_exist): ditto
13963         (remove_files_with_extension): ditto
13964         (remove_file): ditto
13965         (write): ditto
13966
13967         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13968         document is smaller than the work area height. Do not initialize
13969         static variables to 0.
13970
13971 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13972
13973         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13974
13975         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13976         LFUN_LAYOUT_PARAGRAPHS.
13977
13978         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13979         tabular. It is possible to provide a possible cell, which will
13980         typically be the actcell from the corresponding insettabular
13981
13982         * lyxfunc.C (getStatus): small cleanup; disable
13983         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13984         true
13985
13986 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13987
13988         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13989
13990         * paragraph.C (startTeXParParams):
13991         (endTeXParParams): new methods. The LaTeX code to
13992         start/end paragraph formatting
13993         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13994         empty (fixes bug #200)
13995
13996         * vspace.C (inPixels): adapt to the change below
13997         (inPixels): [later] more cleanups (remove unused variables)
13998
13999         * lyxlength.C (inPixels): change to use a width and a height as
14000         parameter.
14001
14002 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14003
14004         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14005         Replaced with \paperwidth
14006
14007         * DepTable.C (insert): add std:: qualifier
14008
14009 2002-01-18  Allan Rae  <rae@lyx.org>
14010
14011         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14012         updated also?
14013
14014         * text.C (drawInset): Turned out I didn't know enough about how
14015         rebreaking worked.  This fixes most of the redraw problems.  I see
14016         an occasional cursor trail when a line is broken now and the cursor
14017         placement can seem out by a few pixels also after a rebreak.
14018
14019 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14020
14021         * buffer.C (parseSingleLyXformat2Token): update because minipage
14022         width is now a LyXLength
14023
14024         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14025
14026         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14027         math insets
14028
14029 2002-01-17  Juergen Vigna  <jug@sad.it>
14030
14031         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14032
14033         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14034         is set correctly and the inset is updated correctly.
14035
14036 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14037
14038         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14039         the beginning of the loop.
14040
14041 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14042
14043         * lyxrc.C: improve help for use_scalable_fonts
14044
14045 2002-01-17  Allan Rae  <rae@lyx.org>
14046
14047         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14048
14049 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14050
14051         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14052         make sure to set their inset_owner to the right value (bug #171)
14053
14054 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14055
14056         * DepTable.h
14057         * DepTable.C: Implement mtime checking to reduce time spent doing
14058         CRCs.
14059
14060 2002-01-16  Juergen Vigna  <jug@sad.it>
14061
14062         * tabular.C (GetAdditionalHeight): one of error fixed.
14063
14064         * lyxrc.C (output): small fix in writing use_pspell.
14065
14066 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14067
14068         * sp_base.h: #include LString.h
14069
14070 2002-01-16  Allan Rae  <rae@lyx.org>
14071
14072         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14073         Can someone check this please?
14074
14075         * text.C (drawInset): It was possible that p.row would be removed by
14076         breakAgainOneRow upsetting a few other settings.  There may be another
14077         small tweak possible by setting need_break_row = 0 when p.row has been
14078         removed but I don't know enough about the logic here.
14079
14080 2002-01-15  Allan Rae  <rae@lyx.org>
14081
14082         * text.C (insertChar): removed conditional truism.
14083
14084         * BufferView2.C (removeAutoInsets): More tweaks.
14085         cur_par_prev could be a stray pointer.  Check for trailing empty line
14086         in case last line was cur_par and only had an error inset on it.
14087
14088 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14089
14090         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14091         absolute
14092
14093         * vc-backend.C (most methods):
14094         * exporter.C (Export):
14095         * converter.C (convert):
14096         (runLaTeX):
14097         * LyXSendto.C (SendtoApplyCB):
14098         * lyxfunc.C (dispatch):
14099         (menuNew):
14100         (open):
14101         (doImport):
14102         * lyx_cb.C (AutoSave):
14103         (InsertAsciiFile):
14104         * BufferView_pimpl.C (MenuInsertLyXFile):
14105         * buffer.C (runChktex): use Buffer::filePath().
14106
14107         * buffer.h: rename filename to filename_; rename filepath to
14108         filepath_ and make it private
14109         (filePath): new method
14110
14111         * buffer.C (writeFile): use fileName()
14112         (getLatexName):
14113
14114         * lyx_main.C (init): fix starting  of LyX when the binary is a
14115         link from so,ewhere else.
14116
14117         * minibuffer.C: include <cctype> for isprint
14118
14119 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14120
14121         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14122         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14123         name clash with InsetCollapsable's width function.
14124
14125 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14126
14127         * lastfiles.C: include <iterator>
14128
14129 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14130
14131         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14132         std::count.
14133
14134         * buffer.C (makeLaTeXFile): ditto.
14135         Also make loop operation more transparent.
14136
14137 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14138
14139         * ToolbarDefaults.C: remove trailing comma closing namespace.
14140
14141         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14142
14143         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14144         as in WorkArea.
14145
14146         * trans.C (Load): comment out unused variable, allowed.
14147
14148 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14149
14150         * minibuffer.[Ch] (append_char): new method to recieve input from the
14151         drop-down completion browser. If a key was pressed, then recieve this
14152         char and append it to the existing string.
14153         (peek_event): modify the positioning data passed to the completion
14154         browser so that it can be placed above the minibuffer rather than below.
14155 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14156
14157         * LyXAction.C (init): alloe error-next for readonly documents.
14158
14159         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14160         count.
14161
14162 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14163
14164         * bufferlist.C (readFile): create the buffer _after_ checking that
14165         the file exists.
14166
14167         * lyxfunc.C (verboseDispatch): fix handling of arguments
14168
14169         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14170
14171         * lyxrc.C: use string::erase() instead of initializing to "".
14172
14173
14174 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14175
14176         * BufferView_pimpl.h:
14177         * BufferView_pimpl.C:
14178         * WorkArea.h:
14179         * WorkArea.C:
14180         * text2.C: tell X when we have made a selection for copying
14181
14182 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14183
14184         * BufferView_pimpl.C (MenuInsertLyXFile):
14185         * lyxfunc.C (menuNew):
14186         (open):
14187         (doImport): add shortcuts to directory buttons
14188
14189         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14190         open a float)
14191
14192         * lyxfunc.C (setStatusMessage):
14193         (getStatusMessage): new methods
14194         (getStatus):use setStatusMessage instead of setErrorMessage
14195         (dispatch): when function is disabled, set error message here
14196         [instead of in getStatus previously]
14197
14198         * BufferView_pimpl.C (workAreaButtonRelease): update
14199         toolbar/menubar here too.
14200
14201 2002-01-13  Allan Rae  <rae@lyx.org>
14202
14203         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14204         Now seems indestructible.  Remaining task is to audit all other
14205         code affected by deleteEmptyParagraphMechanism.  One small quirk
14206         left is that an empty document with an error in the preamble can
14207         be made to report an error but no error box appears.  I don't know
14208         where it goes.
14209         (removeAutoInsets): Improved comments.
14210
14211 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14212
14213         * Thesaurus.h:
14214         * Thesaurus.C: update for Aiksaurus 0.14
14215
14216 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14217
14218         * text2.C (firstParagraph): removed member function, all uses
14219         replaces with ownerParagraph
14220         (redoParagraphs): here
14221         (updateInset): here
14222         (toggleAppendix): here
14223         * BufferView2.C (insertErrors): here
14224         (setCursorFromRow): here
14225
14226 2002-01-13  Allan Rae  <rae@lyx.org>
14227
14228         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14229         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14230         There is still a way to segfault this although you may have to do this
14231         multiple times: Have an InsetERT with an unknown command in it.
14232         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14233         <down-arrow>, <Enter> again, View->DVI, BANG!
14234
14235         * text2.C (setCursor):
14236         (deleteEmptyParagraphMechanism):
14237         * lyxtext.h (setCursor):
14238         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14239         Making use of the return value may help fix other bugs.
14240
14241 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14242
14243         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14244
14245         * LyXView.C (updateMenubar): call MenuBar::update here
14246         (updateToolbar): but not here
14247         (showState): do not update toolbar/menubar
14248
14249         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14250         should need to care about that.
14251
14252         * lyxfunc.C (verboseDispatch): simplify a bit
14253         (getStatus): have a version which takes a pseudoaction, and
14254         another which requires a (kb_action,string).
14255
14256         * LyXAction.C (retrieveActionArg): make it work also when action
14257         is not a pseudo-action.
14258         (getActionName): simplify a bit
14259         (helpText):
14260
14261 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14262
14263         * lyxfunc.C (verboseDispatch): new families of methods with
14264         several ways to specify a command and a bool to indicate whether
14265         the command name and shortcut should be displayed in minibuffer
14266         (eventually, we could extend that to a finer bitmask like
14267         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14268         (dispatch): the pristine dispatch command which just, well,
14269         dispatchs! Note it still sets its result to minibuffer; I'm not
14270         sure we want that.
14271
14272         * lyxfunc.h: remove setHintMessage
14273
14274         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14275
14276 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14277
14278         * BufferView_pimpl.C (specialChar): delete new inset if we have
14279         not been able to insert it.
14280
14281         * kbmap.C: revert to using int instead of kb_action, since all we
14282         are dealing with is pseudo-actions.
14283
14284         * LyXAction.C (searchActionArg): change to return int instead of
14285         kb_action, since the result is a pseudoaction.
14286
14287 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14288
14289         * buffer.C (insertErtContents): Fix (partially) the font bug.
14290
14291 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14292
14293         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14294         as the other one is broken on my machine!
14295
14296 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14297
14298         * commandtags.h:
14299         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14300
14301 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14302
14303         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14304         reflect their actual use. Provide compatibility code for older lyxrc
14305         files.
14306
14307         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14308         FL_NORMAL_STYLE.
14309         change names of popup font variables in line with the changes to lyxrc.C
14310
14311 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14312
14313         * buffer.C (asciiParagraph): avoid outputing a word twice after
14314         an inset.
14315
14316         * lyxrc.C (getDescription): document that document_path and
14317         template_path can be empty.
14318
14319 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14320
14321         * LaTeXFeatures.C (getMacros):
14322         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14323
14324         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14325
14326         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14327         getPackages.
14328         (getPackages): rename feature "floats" to "float". Use an array to
14329         iterate over 'simple' features (i.e. just a \usepackage). Add
14330         handling of "amsmath" (renamed from "amsstyle").
14331
14332 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14333
14334         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14335         features list.
14336
14337 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14338
14339         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14340         FuncStaus::FuncStatus & FuncStaus::some_method().
14341
14342 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14343
14344         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14345         of the func_satus stuff. Edited and massaged in various ways by
14346         JMarc.
14347
14348         * lyxfunc.C (getStatus): use FuncStatus
14349
14350 2002-01-08  Juergen Vigna  <jug@sad.it>
14351
14352         * text.C (nextBreakPoint): use function Inset::isChar().
14353
14354         * paragraph.C (TeXOnePar): use function
14355         Inset::forceDefaultParagraphs.
14356
14357         * buffer.C (latexParagraphs): use function
14358         Inset::forceDefaultParagraphs.
14359
14360 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14361
14362         * lyx_gui.C (init): set the style of the menu popups to
14363         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14364
14365 2002-01-07  Juergen Vigna  <jug@sad.it>
14366
14367         * text.C (setHeightOfRow): small fix
14368         (prepareToPrint): don't look at alignment if we don't have the place
14369         for doing it.
14370
14371 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14372
14373         * box.C: New file. Move the Box methods and functions out of box.h,
14374         following Lars' suggestion.
14375
14376 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14377
14378         * box.h: #include "support/LOstream.h", needed for inlined function.
14379
14380         * lyxtextclass.C:
14381         * lyxtextclasslist.C: added some using std declarations.
14382
14383 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14384
14385         * box.h: make signed dimensions to allow insets wider than
14386           the screen (bug #162)
14387
14388         * BufferView_pimpl.C: add some insetHit debug
14389
14390 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14391
14392         * vc-backend.C: add FIXME
14393
14394 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14395
14396         * lyxfunc.C (getStatus): enable code for showing math font status
14397         in toolbar/menu.
14398
14399 2002-01-07  Juergen Vigna  <jug@sad.it>
14400
14401         * text.C (nextBreakPoint): removed debug output not needed anymore.
14402
14403 2002-01-06  Juergen Vigna  <jug@sad.it>
14404
14405         * text.C (nextBreakPoint): fixed up this function we had this bug
14406         since ever but now hopefully we break row better.
14407         (insertChar): we have to check if an inset is the next char as it
14408         could now happen that a large inset is causing a break.
14409
14410 2002-01-05  Juergen Vigna  <jug@sad.it>
14411
14412         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14413         if it doesn't like to be drawed.
14414
14415 2002-01-04  Juergen Vigna  <jug@sad.it>
14416
14417         * BufferView2.C (lockInset): forgot to set a cursor.
14418
14419         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14420
14421 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14422
14423         * FormMathsPanel.C:
14424         * FormMathsPanel.h
14425         * MathsSymbols.C:
14426         * form_maths_panel.C:
14427         * form_maths_panel.h:
14428         * form_maths_panel.fd: implemented sub- and super- buttons in math
14429         panel.
14430
14431         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14432         (or ^ space) to be used as in TeX (req'd by Andr�.
14433
14434         * lyxfunc.C: Allow ^ and _ again to be used both as
14435         super/subscript (mathed) and as themselves (in text).
14436
14437 2002-01-03  Allan Rae  <rae@lyx.org>
14438
14439         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14440         "LyX" or the filename of the current buffer if it has one.  This is a
14441         modified form of John Levon's patch.
14442
14443         * XFormsView.C (setWindowTitle): also set icon title.
14444
14445         * LyXView.h (setWindowTitle): signature changed.
14446         * XFormsView.h (setWindowTitle): ditto.
14447
14448 2002-01-02  Juergen Vigna  <jug@sad.it>
14449
14450         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14451
14452 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14453
14454         * screen.C (topCursorVisible): introduce a temp var for
14455         text->cursor.row(), handle the case where this row is null. (kindo
14456         hachish)
14457
14458         * text2.C (setCursor): add a couple of asserts.
14459
14460         * paragraph.h (inset_iterator): add -> operator
14461
14462         * paragraph.[Ch] (autoDeleteInsets): remove member function
14463
14464         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14465         cursor pos correctly and handle inset deletion by itself.
14466         (insertErrors): move iterator declaration out of for expression
14467
14468         * lyxtextclass.C: add <algorithm>
14469
14470         * Makefile.am: added the new files to sources, removed layout.C
14471
14472         * layout.C: removed file
14473
14474         * layout.h: remove LYX_DUMMY_LAYOUT
14475
14476         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14477         layout.
14478
14479         * lyxlayout.[Ch]:
14480         * lyxtextclass.[Ch]:
14481         * lyxtextclasslist.[Ch]: new files
14482
14483         * include order changes to a lot of files, also changes because of
14484         the six new files.
14485
14486 2001-12-27  Juergen Vigna  <jug@sad.it>
14487
14488         * buffer.C (asciiParagraph): more fixes.
14489
14490         * tabular.C (ascii): make ascii export support export of only the
14491         data separated by a column-delimiter.
14492         (ascii): better support for ascii export.
14493
14494         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14495
14496 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14497
14498         * tabular_funcs.C: use a "using std::getline" instead of the
14499         previous fix from Angus (necessary for cxx + lyxstring)
14500
14501 2001-12-24  Juergen Vigna  <jug@sad.it>
14502
14503         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14504
14505         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14506         problems. First check a minipage also if we have some ert-contents
14507         (not only on par->size(), second set the right depth of the paragraph
14508         on the relink to the root-paragraph-list!
14509
14510         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14511         which then did not anymore update the main paragraphs on undo/redo!
14512
14513 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14514
14515         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14516         code. Support all font-changing funcs (even those which are not in
14517         menu currently). Support for reporting font settings in
14518         mathed (disabled until Andre provides a function on mathed's side).
14519
14520         * func_status.h (toggle): small helper function to set toggle
14521         state on a flag.
14522
14523 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14524
14525         * tabular_funcs.C: getline -> std::getline
14526
14527 2001-12-21  Juergen Vigna  <jug@sad.it>
14528
14529         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14530         accessed and could be 0 (I couldn't generate this but it seems
14531         Michael could!).
14532
14533 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14534
14535         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14536         * tabular_funcs.h: here and include iosfwd
14537
14538 2001-12-20  Juergen Vigna  <jug@sad.it>
14539
14540         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14541         inside inset but undo_par was.
14542
14543 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14544
14545         * Thesaurus.C: always include <config.h> in sources.
14546
14547         * Painter.h:
14548         * lyxlookup.h:
14549         * box.h: do not include <config.h> in header files
14550
14551         * text.C (paintLastRow): remove unused variable
14552
14553         * text.C (transformChar):
14554         (insertChar):
14555         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14556
14557         * Painter.C (text):
14558         * font.C (width): rewrite to use uppercase() instead of
14559         islower/toupper.
14560
14561         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14562
14563 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14564
14565         * lyxfind.C: clean up of find failure position change
14566
14567 2001-12-20  Juergen Vigna  <jug@sad.it>
14568
14569         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14570
14571         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14572         (TeXRow): added to LaTeX a single tabular row.
14573         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14574         (Latex): simplified and finally good LT-h/f support.
14575         (various_functions): just small adaptions for LT-h/f support.
14576
14577         * tabular_funcs.[hC]: added and moved here all not classfunctions
14578         of LyXTabular.
14579
14580 2001-12-19  Juergen Vigna  <jug@sad.it>
14581
14582         * tabular.[Ch]: better support for longtabular options (not finished
14583         yet!)
14584
14585 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14586
14587         * text.C (paintLastRow): use the label font instead of the font of
14588         the last character to compute the size of *_BOX. This makes more
14589         sense and avoids a crash with empty paragraphs.
14590         Use Painter::rectangle to draw EMPTY_BOX.
14591
14592 2001-12-19  Juergen Vigna  <jug@sad.it>
14593
14594         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14595         the paragraphs if the replaced paragraph is not the first one!
14596         Tried to delete not used paragraphs but does not work yet so for
14597         now it's inside #ifdef's and by default off!
14598
14599 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14600
14601         * MenuBackend.C: include "lyx_main.h" instead of declaring
14602         lastfiles (actually was declared as LastFiles* instead of a
14603         scoped_ptr).
14604
14605 2001-12-17  Juergen Vigna  <jug@sad.it>
14606
14607         * tabular.C (AppendColumn): applied John's fix
14608
14609 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14610
14611         * BufferView.h:
14612         * BufferView.C:
14613         * BufferView_pimpl.h:
14614         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14615
14616         * Makefile.am:
14617         * box.h: new start of class for above
14618
14619         * lyxfunc.C: ignore space-only minibuffer dispatches.
14620           Show the command name when it doesn't exist
14621
14622         * minibuffer.C: don't add empty lines to the history
14623
14624         * minibuffer.C: add a space on dropdown completion
14625
14626 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14627
14628         * text.C: fix line above/below drawing in insets
14629
14630 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14631
14632         * lyxlength.C (LyXLength): Initialize private variables.
14633
14634 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14635
14636         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14637         when inserting error insets.
14638
14639 2001-12-13  Juergen Vigna  <jug@sad.it>
14640
14641         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14642         actually sometimes the before-paragraph.
14643         (setUndo): don't clear the redostack if we're not actually undoing!
14644
14645 2001-12-06  Juergen Vigna  <jug@sad.it>
14646
14647         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14648         and fixed redoing of main paragraph, so we can use it now ;)
14649
14650         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14651
14652 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14653
14654         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14655         Juergen's request
14656
14657 2001-12-13  André Pönitz <poenitz@gmx.net>
14658
14659         * undostack.[Ch]:
14660         * undo_func.C: minor cleanup
14661
14662 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14663
14664         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14665         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14666         font in urw-fonts package which is marked as -urw-fontspecific and
14667         does not work (incidentally, changing the encoding in the
14668         fonts.dir of this package to -adobe-fontspecific fixes the
14669         problem).
14670
14671         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14672         is a crash when undoing first paragraph (Juergen, please take a
14673         look). THis does not mean the undo fix is wrong, just that it
14674         uncovers problems.
14675
14676         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14677         the (Paragraph*) version when needed instead of duplicating the
14678         code.
14679
14680         * text.C (workWidth): use Inset::parOwner to find out where the
14681         inset has been inserted. This is a huge performance gain for large
14682         documents with lots of insets. If Inset::parOwner is not set, fall
14683         back on the brute force method
14684
14685         * paragraph_pimpl.C (insertInset):
14686         * paragraph.C (Paragraph):
14687         (cutIntoMinibuffer): set parOwner of insets when
14688         inserting/removing them
14689
14690         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14691
14692 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14693
14694         * commandtags.h:
14695         * LyXAction.C:
14696         * lyx_main.C:
14697         * lyxfunc.C:
14698         * mathed/formulabase.C:
14699         * mathed/math_cursor.[Ch]:
14700         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14701
14702
14703 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14704
14705         * lyxlength.[Ch] (operator!=): new function
14706
14707 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14708
14709         * text.C (workWidth): use Inset::parOwner to find out where the
14710         inset has been inserted. This is a huge performance gain for large
14711         documents with lots of insets. If Inset::parOwner is not set, fall
14712         back on the brute force method
14713
14714         * paragraph_pimpl.C (insertInset):
14715         * paragraph.C (Paragraph):
14716         (cutIntoMinibuffer): set parOwner of insets when
14717         inserting/removing them
14718
14719         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14720
14721 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14722
14723         * tabular-old.C (getTokenValue):
14724         * tabular.C (getTokenValue):
14725         (write_attribute): new versions for LyXLength
14726         (everywhere): adjust the use of widths
14727
14728         * tabular.h: change the type of widths from string to LyXLength
14729
14730 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14731
14732         * paragraph.C: fixed missing line number count when exporting
14733         Environments to LaTeX file
14734
14735         * buffer.C: added informational message for checking line numbers.
14736
14737 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14738
14739         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14740         paragraph, do the 'double space' part, but not the 'empty
14741         paragraph' one.
14742
14743         * text.C (workWidth): small optimization
14744         (getLengthMarkerHeight): use minimal size for negative lengths.
14745
14746 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14747
14748         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14749
14750         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14751
14752 2001-12-11  André Pönitz <poenitz@gmx.net>
14753
14754         * FontLoader.C:
14755         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14756
14757 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14758
14759         * text2.C: keep selection on a setFont()
14760
14761 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14762
14763         * lyx_cb.C: another bv->text misuse, from insert label
14764
14765 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14766
14767         * kbsequence.h:
14768         * kbsequence.C: re-instate nmodifier mask
14769
14770 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14771
14772         * lyx_main.h: make lyxGUI private.
14773
14774 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14775
14776         * lyxfind.C: place the cursor correctly on failed search
14777
14778 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14779
14780         * text.C (getLengthMarkerHeight): for small heights, the arrows
14781         are not always on top/bottom of the text
14782         (drawLengthMarker): smaller arrows; take the left margin in
14783         account; draw also vfills.
14784         (paintFirstRow):
14785         (paintLastRow): remove special code for vfill and standard spaces,
14786         since everything is handled in drawLengthMarker now.
14787
14788 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14789
14790         * buffer.C (insertErtContents): try to handle font and language
14791         interaction a bit better.g
14792
14793         * ColorHandler.C (updateColor): change the hash to cover the whole
14794         LColor enum, ws cleanup
14795         (getGCLinepars): ditto
14796         (getGCLinepars): only lookup in the linecache once.
14797
14798 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14799
14800         * iterators.C (operator++): Make the iterator more robust
14801
14802         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14803         (John's patch)
14804         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14805
14806 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14807
14808         * lyxtext.h:
14809         * text.C: better added space drawing
14810
14811 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14812
14813         * LyXView.C:
14814         * BufferView2.C: fix layout combo update on inset unlock
14815
14816 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * Makefile.am: don't compile unused files
14819
14820 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14821
14822         * lyxfunc.C:
14823         * commandtags.h:
14824         * LyXAction.C: remove old LFUN_LAYOUTNO
14825
14826 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14827
14828         * paragraph_pimpl.h:
14829         * paragraph_pimpl.C: isTextAt() doesn't need font param
14830
14831 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14832
14833         * lyxlex.h:
14834         * lyxlex.C: little cleanup
14835
14836 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14837
14838         * BufferView_pimpl.C: fix insertAscii for insets
14839
14840 2001-12-05  Juergen Vigna  <jug@sad.it>
14841
14842         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14843         set the right font on the "multi" paragraph paste!
14844
14845 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14846
14847         * trans_decl.h:
14848         * trans_mgr.[Ch]:
14849         * trans.[Ch]:
14850         * lyxgluelength.C:
14851         * lyxlength.C: remove out-commented code.
14852
14853         * BufferView_pimpl:
14854         * CutAndPaste.C:
14855         * DepTable.C:
14856         * buffer.C:
14857         * chset.C:
14858         * lastfiles.C:
14859         * lyxlex.C:
14860         * lyxlex_pimpl.C:
14861         * lyxserver.C:
14862         * screen.C:
14863         * tabular-old.C:
14864         * tabular.C:
14865         * text.C:
14866         * trans_mgr.C:
14867         * vc-backend.C: change "while(" to "while ("
14868
14869         * lyxlength.[Ch]: add zero function to check if length is zero or
14870         not
14871         * lyxgluelength.C: use it
14872
14873 2001-12-05  Allan Rae  <rae@lyx.org>
14874
14875         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14876         Works for 2.95.3, from what I understand of Garst's reports this should
14877         work for other g++ versions.  We're screwed if the abs(int) definition
14878         changed between bugfix releases of gcc.
14879
14880 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14881
14882         * text.C: fix chapter label offset !
14883
14884 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14885
14886         * lyxtext.h:
14887         * text.C: fix hfill at end of line, clean up
14888
14889 2001-12-04  Juergen Vigna  <jug@sad.it>
14890
14891         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14892         that we force an update of the inset and it's owners if neccessary.
14893
14894 2001-12-03  Juergen Vigna  <jug@sad.it>
14895
14896         * text.C (rowLast): simplified code
14897
14898 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14899
14900         * lyxfunc.C: fix show options on timeout
14901
14902 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14903
14904         * screen.C (topCursorVisible): scroll half a page when the cursor
14905         reached top of bottom of screen
14906
14907 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14908
14909         * minibuffer.C: deactivate on loss of focus
14910
14911 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14912
14913         * vspace.[Ch] (operator!=): add operator.
14914
14915 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14916
14917         * BufferView_pimpl.C: refuse to open an inset when
14918         there's a selection.
14919
14920 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * BufferView_pimpl.C: allow to click on RHS of full row insets
14923
14924 2001-11-30  Juergen Vigna  <jug@sad.it>
14925
14926         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14927         insets for undo reasons.
14928
14929 2001-11-28  André Pönitz <poenitz@gmx.net>
14930
14931         * vspace.[Ch]: cosmetical changes
14932
14933 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14934
14935         * LyXAction.h:
14936         * LyXAction.C:
14937         * lyxfunc.h:
14938         * lyxfunc.C:
14939         * kbmap.h:
14940         * kbmap.C:
14941         * lyxrc.C:
14942         * kbsequence.h:
14943         * kbsequence.C: part re-write of old kb code
14944
14945         * Painter.C:
14946         * WorkArea.C: remove Lgb_bug_find_hack
14947
14948 2001-11-30  José Matos <jamatos@fep.up.pt>
14949
14950         * buffer.C (makeDocBookFile): add a comment to point a hack.
14951         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14952         Fixed a double write of labels.
14953
14954 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14955
14956         * LaTeX.C:
14957         * LaTeX.h Fixed bug in LaTeX class where it would not
14958         re-run latex if no depfiles were changed, but the .dvi was removed.
14959
14960 2001-11-28  André Pönitz <poenitz@gmx.net>
14961
14962         * all the files from the change on 2001/11/26:
14963         use lyx::layout_type instead of LyXTextClass::size_type
14964         use lyx::textclass_type instead of LyXTextClassList::size_type
14965
14966 2001-11-29  Juergen Vigna  <jug@sad.it>
14967
14968         * text.C: added support for paragraph::isFreeSpacing()
14969
14970         * buffer.C: same as above
14971
14972         * paragraph.h: inserted isFreeSpacing() function to enable
14973         FreeSpacing inside InsetERT.
14974
14975         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14976         of the paragraph's in the cut/copy buffer to 0!
14977
14978         * text2.C (removeRow): remove the assert as it can!
14979
14980         * lyxtext.h: added helper function firstRow returning firstrow and
14981         made firstrow private again.
14982
14983         * BufferView2.C (lockInset): don't relock if we're already locked!
14984
14985         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14986         the only paragraph.
14987         (removeRow): added Assert::(firstrow)
14988
14989         * debug.C: forgot to add INSETTEXT here.
14990
14991 2001-11-28  Juergen Vigna  <jug@sad.it>
14992
14993         * sp_spell.C (initialize): changed error text to more general
14994         spellchecker command use (not only ispell!)
14995
14996         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14997
14998         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14999
15000 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * vspace.C: initialise lyxgluelength on failure
15003
15004 2001-11-28  Allan Rae  <rae@lyx.org>
15005
15006         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15007         declaration & definition that looks like a function declaration.
15008
15009 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15010
15011         * BufferView2.C (copy):
15012         (copyEnvironment): do not clear the selection when doing a copy.
15013
15014         * text.C (paintFirstRow): compilation fix
15015
15016 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15017
15018         * tabular.C (Latex): correct line count when writing latex.
15019
15020 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15021
15022         * paragraph_pimpl.h:
15023         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15024           bug a bit
15025
15026 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15027
15028         * text.C:
15029         * LColor.h:
15030         * LColor.C: change vfillline->added_space
15031
15032         * text.C: add markers and text for added space
15033
15034         * vspace.C: fix comment
15035
15036 2001-11-28  André Pönitz <poenitz@gmx.net>
15037
15038         * paragraph.C: whitespace changes
15039         * all the other files from the change on 2001/11/26:
15040         change *::pos_type into lyx::pos_type
15041
15042 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15043
15044         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15045         language of the document when inserting error insets.
15046
15047 2001-11-26  André Pönitz <poenitz@gmx.net>
15048
15049         * BufferView_pimpl.[Ch]:
15050         *       CutAndPaste.C:
15051         * buffer.[Ch]:
15052         * lyxcursor.[Ch]:
15053         * lyxfind.C:
15054         * lyxfunc.C:
15055         * lyxrow.[Ch]:
15056         * paragraph.[Ch]:
15057         * paragraph_pimpl.[Ch]:
15058         * sp_spell.C:
15059         * text.C:
15060         * text2.C: reduce header dependencies, introduce type for positions
15061
15062 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15063
15064         * <various>: change to use Alert.h
15065
15066 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15067
15068         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15069         when encountering an unknown token.
15070         (readLyXformat2): Show an error message if there were unknown tokens.
15071
15072 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15073
15074         * BufferView2.C:
15075         * BufferView_pimpl.C:
15076         * buffer.C:
15077         * paragraph.h:
15078         * text.C:
15079         * text2.C: use par->isInset()
15080
15081 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15082
15083         * paragraph_pimpl.h:
15084         * paragraph_pimpl.C: cleanup
15085
15086 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15087
15088         * text2.C (removeRow):
15089         * text.C (setHeightOfRow): remove useless (and costly) call to
15090         getRow.
15091
15092 2001-11-20  Allan Rae  <rae@lyx.org>
15093
15094         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15095         Now need Inset*::checkInsertChar() to return true for appropriate
15096         cases so that the characters in the minibuffer will actually be
15097         inserted.
15098
15099 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15100
15101         * text.C: change the order of the includes.
15102         (workWidth): initialize it at once.
15103         (workWidth): make maxw unsigned
15104         (setHeightOfRow): remove unused variable (inset)
15105         (selectSelectedWord): remove unused variable (inset)
15106         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15107
15108 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15109
15110         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15111         server is not running.
15112         (openConnection):
15113         (closeConnection): add debug info when server is disabled.
15114
15115         * ColorHandler.C (getGCForeground): send debug message to GUI
15116         channel.
15117
15118         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15119
15120         * kbmap.C (bind): modify because return conventions of
15121         kb_sequence::parse have changed.
15122
15123         * kbsequence.C (parse): only ignore spaces and not any stupid
15124         control character. This avoids tests like s[i] <= ' ', which are
15125         guaranteed to fail with 8bit characters and signed chars.
15126         Change return code to string::npos when there have been no error
15127         (0 was a bad idea when error is at first character)
15128
15129 2001-11-14  José Matos  <jamatos@fep.up.pt>
15130
15131         * buffer.h:
15132         * buffer.C (simpleDocBookOnePar): removed unused argument.
15133
15134 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15135
15136         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15137         insets which are part of a word. Paragraph::isLetter takes care of
15138         that now. Use Paragraph::isInset to identify insets.
15139         (selectSelectedWord): do not test for hyphenation break.
15140
15141         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15142         that protected spaces are considered as spaces.
15143
15144         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15145         Inset::isLetter.
15146
15147 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15148
15149         * lyxserver.h:
15150         * lyxserver.C: fix it. and small cleanup.
15151
15152 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15153
15154         * BufferView_pimpl.C: use inline helpers
15155
15156         * LaTeXFeatures.h:
15157         * LaTeXFeatures.C: fix typos
15158
15159         * Spacing.h:
15160         * Spacing.C: move spacing_string into class
15161
15162         * ToolbarDefaults.C: move stuff into namespace anon
15163
15164         * layout.h: update enum
15165
15166         * lyxfunc.C: use better debug
15167
15168         * minibuffer.h: fix typo
15169
15170         * debug.h:
15171         * debug.C:
15172         * WorkArea.C: add and use Debug::WORKAREA
15173
15174         * lyxtext.h:
15175         * text.C:
15176         * text2.C: code re-organisation, inline helpers
15177
15178 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15179
15180         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15181         std::vector.empty().
15182
15183 2001-11-09  Allan Rae  <rae@lyx.org>
15184
15185         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15186         '\n's after tables.  Tabular and ERT inset work now makes this no
15187         longer necessary.
15188
15189 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15190
15191         * minibuffer.h:
15192         * minibuffer.C: fix crash, improve drop-down completion
15193
15194 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * lyxserver.h:
15197         * lyxserver.C: invalidate fd's when doing endPipe()
15198
15199 2001-11-08  José Matos  <jamatos@fep.up.pt>
15200
15201         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15202         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15203
15204         * paragraph.h:
15205         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15206
15207 2001-11-07  José Matos  <jamatos@fep.up.pt>
15208
15209         * buffer.h:
15210         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15211         const qualifier.
15212
15213         * buffer.C (sgmlOpenTag):
15214         * buffer.C (sgmlCloseTag): removed debug info.
15215
15216         * buffer.h (sgmlOpenTag):
15217         * buffer.h (sgmlCloseTag): made public.
15218
15219 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15220
15221         * buffer.C (saveParamsAsDefaults):
15222         * lyx_cb.C (MenuLayoutSave): remove
15223
15224         * LyXAction.C (init):
15225         * commandtags.h:
15226         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15227
15228 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15229
15230         * buffer.C (setPaperStuff): removed from here...
15231
15232         * bufferparams.C (setPaperStuff): ... and moved there.
15233
15234 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15235
15236         * minibuffer.h:
15237         * minibuffer.C:
15238         * XFormsView.C: add support for drop-down completion
15239
15240 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15241
15242         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15243         commands.
15244
15245 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15246
15247         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15248         disabled.
15249
15250 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15251
15252         * lyx_main.C: change ref to known bugs
15253
15254 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15255
15256         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15257         to work around older babel problems.
15258
15259 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15260
15261         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15262
15263 2001-10-24  Juergen Vigna  <jug@sad.it>
15264
15265         * tabular-old.C (ReadOld): below variable changes reflected.
15266
15267         * tabular.[Ch]: added ltType struct for longtable header/footer
15268         defines and changed all instances where they are used. Added
15269         future support for double top/bottom rows.
15270
15271 2001-10-24  José Matos  <jamatos@fep.up.pt>
15272
15273         * buffer.h (docbookHandleCaption):
15274         * buffer.C (docbookHandleCaption): removed unused function.
15275         (makeDocBookFile): moved docbook supported version to v4.1.
15276
15277 2001-10-24  José Matos  <jamatos@fep.up.pt>
15278
15279         * tabular.h:
15280         * tabular.C (docbookRow): new function to export docbook code of a row.
15281         (DocBook): now honors the longtable flags.
15282
15283 2001-10-23  José Matos  <jamatos@fep.up.pt>
15284
15285         * LaTeXFeatures.h:
15286         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15287         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15288
15289         * buffer.C (makeLinuxDocFile):
15290         (makeDocBookFile): reworked the preamble, more clean, and with
15291         support for lyx defined entities. Changed the document declaration
15292         to be more XML friendly.
15293
15294         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15295         if we need to output XML that should be done with a filter.
15296
15297 2001-10-22  Juergen Vigna  <jug@sad.it>
15298
15299         * sp_pspell.h (class PSpell): add alive function needed in the
15300         controller to see if the spellchecker could be started.
15301
15302 2001-10-22  Juergen Vigna  <jug@sad.it>
15303
15304         * buffer.C (insertStringAsLines): modify the font for inserting
15305         chars in certain conditions by calling checkInsertChar(font).
15306
15307 2001-10-19  Juergen Vigna  <jug@sad.it>
15308
15309         * text.C (workWidth): use getRow instead of wrong algorithm.
15310         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15311
15312 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15313
15314         * lyxserver.h:
15315         * lyxserver.C:
15316         * lyx_main.h:
15317         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15318
15319 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15320
15321         * text.C (workWidth): do not search for the exact row when
15322         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15323         optimization for big documents.
15324
15325 2001-10-18  Juergen Vigna  <jug@sad.it>
15326
15327         * text.C (workWidth): new function with added Inset * parameter.
15328
15329 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15330
15331         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15332
15333         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15334         change return type of getColumnNearX.
15335
15336
15337         * text.C (changeRegionCase): use uppercase/lowercase instead of
15338         toupper/tolower.
15339         (leftMargin):
15340         (rightMargin): simplify code by factoring out the uses of
15341         textclasslist.
15342         (labelFill):
15343         (numberOfHfills):
15344         (setHeightOfRow):
15345         (appendParagraph): use Paragraph::size_type
15346
15347 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15348
15349         * vspace.C (asLatexString): add a missing break
15350
15351 2001-10-15  Herbert Voss  <voss@perce.de>
15352
15353         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15354
15355 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15356
15357         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15358         is not available.
15359
15360 2001-10-10  André Pönitz <poenitz@gmx.net>
15361
15362         * lyxfunc.C: removed greek_kb_flag.
15363
15364 2001-10-10  Herbert Voss  <voss@perce.de>
15365
15366         * lyx_main.C: delete global string help_lyxdir.
15367
15368 2001-10-09  Herbert Voss  <voss@perce.de>
15369
15370         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15371
15372         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15373
15374         * lyx_main.C: added global string help_lyxdir.
15375
15376         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15377
15378 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15379
15380         * lyxrc.C (set_font_norm_type): support iso8859-4
15381
15382 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15383
15384         * LaTeX.C (deplog): add another regex for MikTeX
15385
15386 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15387
15388         * lyxrc.C (set_font_norm_type): support iso8859-3
15389
15390 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15391
15392         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15393
15394         * LaTeXFeatures.C: remove special case of french and index
15395
15396         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15397         before \begin{document}). This solves several incompatibilities.
15398
15399 2001-10-03  Garst Reese  <reese@isn.net>
15400
15401         * lyx_cb.C: change CheckTex error msg.
15402
15403 2001-10-03  José Matos  <jamatos@fep.up.pt>
15404
15405         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15406
15407 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15408
15409         * .cvsignore: update
15410
15411         * lyx_main.C (commandLineVersionInfo): use new style version info.
15412
15413         * buffer.C (writeFile):
15414         (makeLaTeXFile):
15415         (makeLinuxDocFile):
15416         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15417
15418         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15419
15420         * version.h: update to use stuff in version.C
15421
15422         * version.C.in: new file. Contains version information determined
15423         at compile time. This is a merging of version.h and
15424         version_info.h.in.
15425
15426 2001-10-03  Juergen Vigna  <jug@sad.it>
15427
15428         * BufferView_pimpl.C (update): don't change "dirty" status in
15429         updateInset call.
15430
15431 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15432
15433         * WorkArea.C (c-tor): re-position version string slightly.
15434
15435 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15436
15437         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15438         revert to previous code.
15439
15440         WorkArea.[Ch]: (show, destroySplash): methods removed.
15441
15442         WorkArea.C: rework code so that it's an amalgam of the codes before and
15443         after the splash screen was moved to WorkArea.
15444
15445 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15446
15447         * lyxrc.C (read):
15448         * vspace.C (inPixels):
15449         (lyx_advance):
15450         * kbmap.C (bind):
15451         * buffer.C (insertStringAsLines):
15452         (asciiParagraph): fix types to be large enough
15453
15454         * lyxlex_pimpl.h: change member status from short to int
15455
15456         * layout.h: fix type of endlabeltype
15457
15458         * kbmap.C (bind):
15459         * kbsequence.C (parse): change return type to string::size_type
15460
15461         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15462         variable
15463
15464         * Bullet.C (bulletSize):
15465         (bulletEntry): do not use short ints as parameters
15466
15467         * BufferView2.C (insertLyXFile): change a char to an int.
15468
15469         * WorkArea.C (WorkArea): remove unneeded floats in computation
15470
15471 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15472
15473         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15474
15475         * paragraph.C (asString): Do not ignore newline/hfill chars when
15476         copying to the clipboard.
15477
15478 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15479
15480         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15481         after a multi-line inset.
15482
15483 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15484
15485         * paragraph.C (validate): Set NeedLyXFootnoteCode
15486
15487 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15488
15489         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15490         and decrease-error to decrease.
15491
15492 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15493
15494         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15495         it more readable (should be equivalent)
15496
15497 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15498
15499         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15500
15501 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15502
15503         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15504         of a cursor (row, etc.) after a character has been deleted
15505         (deleteEmptyParagraphMechanism): call the method above on _all_
15506         cursors held by the LyXText when a double space has been
15507         detected/deleted.
15508
15509 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15510
15511         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15512         pixmap.
15513         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15514
15515         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15516         background. Use greyOut() and the new show() methods to toggle between
15517         the foreground and background. Add code to remove the splash after
15518         its initial showing.
15519
15520         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15521         (create_forms): no longer call Dialogs::showSplash.
15522
15523 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15524
15525         * .cvsignore: add version_info.h
15526
15527 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15528
15529         * version_info.h.in: new file
15530
15531         * Makefile.am: add version_info.h.in
15532
15533         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15534         version_info.h instead of VERSION_INFO
15535
15536 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15537
15538         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15539         The ERT inset now returns string().
15540
15541 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15542
15543         * lyxtext.h, text.C (selectNextWord): renamed as
15544         selectNextWordToSpellcheck.
15545
15546         * text.C (selectNextWordToSpellcheck): Modified to not select
15547         words inside an ERT inset.
15548
15549 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * lyx_cb.C (MenuLayoutSave): change a bit the question
15552
15553         * sp_base.h: include <sys/types.h>
15554
15555 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15556
15557         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15558
15559 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15560
15561         * several files: fix typos in user-visible strings
15562
15563 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15564
15565         * text2.C (pasteSelection): do not set the selection, since it
15566         will be cleared later. Actually, the intent was to fix the way the
15567         selection was set, but I figured rmoving the code was just as good.
15568
15569 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15570
15571         * FontLoader.C (available): Check if font is available without
15572         loading the font.
15573
15574 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15575
15576         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15577
15578 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15579
15580         * lyxrc.[Ch]: added display_graphics variable and associated code.
15581
15582 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15583
15584         * bufferparams.C (hasClassDefaults): new method. Returns true if
15585         the buffer parameters correspond to known class defaults
15586
15587 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15588
15589         * XFormsView.C (show): set minimum size to the main window.
15590
15591 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15592
15593         * text2.C (copySelection):
15594         (cutSelection):
15595         * lyxfind.C (LyXReplace):
15596         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15597         LyXText::selectionAsString.
15598
15599         * paragraph.C (asString): add "label" argument to the second form
15600
15601         * text2.C (selectionAsString): add "label" argument and pass it to
15602         Paragraph::asString.
15603
15604 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15605
15606         * lyx_main.C (commandLineHelp): remove version information
15607
15608 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15609
15610         * lyx_main.C: add -version commandline option
15611
15612 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15613
15614         * paragraph.h: make the optional constructor arg required instead.
15615         some modifications to other files because of this.
15616
15617         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15618
15619         * lyxserver.C (C_LyXComm_callback): make it static
15620
15621         * lyx_main.C (error_handler): make it static
15622
15623         * lyx_gui.C (LyX_XErrHandler): make it static
15624
15625         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15626
15627         * WorkArea.C: make the extern "C" methods static.
15628
15629         * Makefile.am (lyx_LDADD): simplify
15630
15631 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15632
15633         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15634         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15635
15636         * LyXAction.C (init):
15637         * lyxfunc.C (dispatch): associated code removal.
15638
15639 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15640
15641         * lyxfont.h (isSymbolFont): shut off warning
15642
15643         * text.C (setHeightOfRow):
15644         (getVisibleRow): fix crash with empty paragraphs which have a
15645         bottom line
15646
15647 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15648
15649         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15650         code.
15651
15652 2001-09-04  José Matos  <jamatos@fep.up.pt>
15653         * buffer.C
15654         * buffer.h
15655         * tabular.C (docbook): rename docBook method to docbook.
15656
15657 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15658
15659         * Makefile.am: add dependencies to main.o.
15660
15661 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15662
15663         * FontLoader.C (available): Return false if !lyxrc.use_gui
15664
15665 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15666
15667         * FontInfo.C (query):
15668         * converter.C (view):
15669         * importer.C (Import):
15670         * exporter.C (Export): Can not -> cannot.
15671
15672 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15673
15674         * BufferView_pimpl.C: allow to create index inset even if
15675           string is empty
15676
15677 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15678
15679         * buffer.C (getLists): replace boost::tie code with an explicit pair
15680         as boost::tie can break some compilers.
15681
15682         * iterators.h: Added a std:: declaration to the return type of
15683         ParIterator::size.
15684
15685 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15686
15687         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15688           case.
15689
15690 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15691
15692         * iterators.[Ch]: New files. Provide paragraph iterators.
15693
15694         * buffer.C (changeLanguage): Use paragraph iterators.
15695         (isMultiLingual): ditto
15696
15697         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15698
15699 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15700
15701         * FontLoader.C: Support for cmr font.
15702
15703 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15704
15705         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15706         (available): New method.
15707
15708         * FontInfo.C (getFontname): Use scalable fonts even when
15709         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15710         found.
15711
15712 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15713
15714         * converter.C (Formats::view): reverted! Incorrect fix.
15715
15716 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15717
15718         * converter.C (Formats::view): only output the -paper option
15719         if the dvi viewer is xdvi, thereby fixing bug #233429.
15720
15721 2001-08-23  Herbert Voss  <voss@perce>
15722
15723         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15724
15725 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15726
15727         * Spacing.h (Spacing): Set space to Default on in the default
15728         constructor.
15729
15730 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15731
15732         * vc-backend.h (RCS::versionString): add RCS to version
15733         (CVS::versionString): add CVS to version
15734
15735         * vc-backend.C (scanMaster): do not add CVS to version.
15736         (scanMaster): do not add RCS to version
15737
15738         * lyxvc.C (versionString): new method
15739
15740         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15741
15742 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15743
15744         * Spacing.C (set): initialize fval
15745
15746 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15747
15748         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15749         " or \.
15750
15751 2001-08-16  Juergen Vigna  <jug@sad.it>
15752
15753         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15754
15755 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15756
15757         * BufferView_pimpl.C:
15758         * figureForm.C:
15759         * lyxtext.h:
15760         * text2.C: setParagraph takes linespacing now
15761
15762 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15763
15764         * LyxAction.C: add internal LFUN_CITATION_INSERT
15765
15766         * LyXView.C: actually apply fix
15767
15768         * bufferlist.C: fix open non-existent file
15769
15770         * lyxfind.C: fix indentation
15771
15772         * lyxfunc.C: remove unneeded assert, fix typo
15773
15774 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15775
15776         * MenuBackend.C: use "Floatname List"
15777
15778 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15781         when converting LaTeX layout to insetERT.
15782         Generate a non-collapsed float when reading old float
15783
15784 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15785
15786         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15787         ERT insets.
15788
15789 2001-08-13  Juergen Vigna  <jug@sad.it>
15790
15791         * text.C (fill): return 0 instead of 20 as this seems to be the more
15792         correct value.
15793
15794 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15795
15796         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15797         lyxrc.font_norm.
15798
15799 2001-08-13  Juergen Vigna  <jug@sad.it>
15800
15801         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15802         casesensitive off.
15803         (SearchBackward): comment out the unlocking of the inset_owner this
15804         should not be needed!
15805
15806 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15807
15808         * Many files: Remove inherit_language, and add latex_language
15809
15810         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15811         collapsible insets.
15812
15813 2001-08-10  Juergen Vigna  <jug@sad.it>
15814
15815         * text.C (prepareToPrint): fixed hfill-width in draw!
15816
15817         * BufferView2.C (selectLastWord): save the selection cursor as this
15818         now is cleared in the function LyXText::clearSelection!
15819
15820 2001-08-08  Juergen Vigna  <jug@sad.it>
15821
15822         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15823         BACKSPACE type functions.
15824
15825         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15826         is only cutted from the document but not put in the cut-buffer, where
15827         still the old stuff should be.
15828
15829         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15830
15831         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15832
15833         * tabular.C (SetWidthOfCell): fixed special case where the width
15834         was not updated!
15835         (LeftLine): handle '|' in align_special.
15836         (RightLine): ditto
15837         (LeftAlreadyDrawed): ditto
15838         (SetWidthOfCell): ditto
15839
15840 2001-08-07  Juergen Vigna  <jug@sad.it>
15841
15842         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15843
15844 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15845
15846         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15847         * lyxlex.[hC]: ditto
15848
15849 2001-08-06  Juergen Vigna  <jug@sad.it>
15850
15851         * text.C (getVisibleRow): fix up row clearing a bit.
15852
15853 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15854
15855         * minibuffer.C: make sure the X server sees the changes in the input.
15856
15857 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15858
15859         * paragraph.C (getFont): split into...
15860         (getLabelFont): this
15861         (getLayoutFont): and this
15862         * paragraph_pimpl.C (realizeFont): calling this
15863
15864         * text2.C (getFont): split into...
15865         (getLayoutFont): this
15866         (getLabelFont): and this
15867         (realizeFont): all three calling this
15868
15869         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15870         files where used.
15871
15872 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15873
15874         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15875
15876 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15877
15878         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15879         layouts from the Quote inset insertion.
15880
15881 2001-08-03  Juergen Vigna  <jug@sad.it>
15882
15883         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15884
15885         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15886         only if status not is already CHANGED_IN_DRAW (second level).
15887
15888         * text.C (draw): don't set the need_break_row when inside an
15889         InsetText LyXText.
15890
15891 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15892
15893         * buffer.C (parseSingleLyXformat2Token): handle more latex
15894         conversion cases.
15895
15896         * bufferview_funcs.[hC]: change function names to
15897         begin with small char, adjust other files.
15898
15899 2001-08-02  André Pönitz <poenitz@gmx.net>
15900
15901         * lyxfunc.C:
15902         BufferView_pimpl.C: remove broken special code for math-greek
15903
15904 2001-08-02  Juergen Vigna  <jug@sad.it>
15905
15906         * BufferView_pimpl.C (update): redone this function so that we
15907         update the text again if there was a CHANGE_IN_DRAW.
15908
15909         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15910         (drawFromTo): added a new internal bool which is used by draw() and
15911         redraw() function.
15912         (general): some cursor drawing problems fixed.
15913
15914 2001-08-01  Juergen Vigna  <jug@sad.it>
15915
15916         * lyxfind.C (LyXFind): fixed
15917         (SearchForward): ditto
15918         (SearchBackward): ditto
15919
15920         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15921         spurius drawing of the cursor in the main area.
15922
15923         * text2.C (status): small fix which could lead to a segfault!
15924         (clearSelection): remove unneeded BufferView param.
15925
15926 2001-08-01  André Pönitz <poenitz@gmx.net>
15927
15928         * lyxfunc.C: small change due to changed mathed interface
15929
15930 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15931
15932         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15933
15934 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15935
15936         * lyxfunc.c: fail gracefully if file doesn't exist
15937
15938         * LyXSendto.C:
15939         * buffer.C:
15940         * lyxfunc.C:
15941         * BufferView_pimpl.C: IsDirWriteable() proto changed
15942
15943         * LyXView.C: fix updateWindowTitle() to store the last title
15944
15945 2001-07-31  Juergen Vigna  <jug@sad.it>
15946
15947         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15948         the font (wrong since using of Paragraph::highestFontInRange).
15949
15950         * paragraph.C (highestFontInRange): added a default_size parameter.
15951
15952         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15953         (setHeightOfRow): reformat
15954
15955 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15956
15957         * converter.[hC] + affected files: move to (inital-char)lowercase
15958         function names.
15959
15960         * ParagraphParameters.C (ParagraphParameters): remove commented code
15961
15962         * PainterBase.[Ch]: remove commented code
15963
15964         * LaTeXFeatures.h: add "bool floats" for float.sty
15965
15966         * LaTeXFeatures.C (LaTeXFeatures): init floats
15967         (require): handle float
15968         (getPackages): do it with floats
15969
15970 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15971
15972         * BufferView_pimpl.C (Dispatch): improve handling of
15973         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15974
15975         * commandtags.h: #include lyxfont.h here temporarily to avoid
15976         keybinding bug.
15977
15978         * bufferlist.h: include LString.h here.
15979
15980 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15981
15982         * text2.C (getStringToIndex): new method.
15983
15984 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15985
15986         * *: Reduced header file dependencies all over.
15987
15988 2001-07-30  Baruch Even  <baruch@lyx.org>
15989
15990         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15991
15992 2001-07-29  Baruch Even  <baruch@lyx.org>
15993
15994         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15995
15996 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15997
15998         * ParameterStruct.h (endif): add a default constructor to make
15999         sure that all variables is initialized.
16000
16001         * ParagraphParameters.C (ParagraphParameters): adjust
16002
16003 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16004
16005         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16006         index; also, check that there is something to index, and that it
16007         does not span over several paragraphs.
16008         (doubleClick): use WHOLE_WORD_STRICT for double click.
16009
16010         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16011
16012         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16013         scheme.
16014
16015 2001-07-26  Baruch Even  <baruch@lyx.org>
16016
16017         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16018         an InsetFig figure, backwards compatible reading of old figure code.
16019
16020 2001-07-27  Juergen Vigna  <jug@sad.it>
16021
16022         * text2.C: font.realize function adaption.
16023
16024         * text.C (draw): add a warnings lyxerr text if needed.
16025
16026         * layout.C: font.realize function adaption.
16027
16028         * language.C: add inherit_language and implement it's handlings
16029
16030         * bufferview_funcs.C (StyleReset): remove language parameter from
16031         font creation (should be language_inherit now).
16032
16033         * bufferparams.C (writeFile): handle ignore_language.
16034
16035         * paragraph.C (getFontSettings): the language has to be resolved
16036         otherwise we have problems in LyXFont!
16037
16038         * lyxfont.C (lyxWriteChanges): added document_language parameter
16039         (update): removed unneeded language parameter
16040
16041         * paragraph.C (validate): fixed wrong output of color-package when
16042         using interface colors for certain fonts in certain environments,
16043         which should not seen as that on the final output.
16044
16045 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16046
16047         * BufferView_pimpl.C:
16048         * Thesaurus.h:
16049         * Thesaurus.C:
16050         * Makefile.am:
16051         * commandtags.h:
16052         * LyXAction.C: add thesaurus support
16053
16054         * lyxfind.h:
16055         * lyxfind.C: add "once" parameter, for thesaurus, to not
16056           move to the next match
16057
16058 2001-07-26  Juergen Vigna  <jug@sad.it>
16059
16060         * lyxfont.C (realize): honor ignore_language too!
16061         (resolved): ditto.
16062
16063         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16064
16065         * text.C (draw): one place more for ignore_language to not draw
16066         itself!
16067
16068 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16069
16070         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16071
16072 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16073
16074         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16075         the minipage conversion problem.
16076
16077 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16078
16079         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16080         insert an inset.
16081
16082 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16083
16084         * BufferView.h: don't forward declare WorkArea
16085
16086         * BufferView.C: don't include WorkArea.h
16087
16088 2001-07-25  André Pönitz <poenitz@gmx.net>
16089
16090         * commandtags.h:
16091         * LyXAction.C:
16092         * lyxfunc.C:  new LFUN 'math-space'
16093
16094         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16095
16096 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16097
16098         * text2.C (toggleInset): call open/close
16099
16100 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16101
16102         * lyxfunc.C (dispatch): add debug for the disabled case
16103
16104         * font.C (buttonText): make similar to rectText
16105
16106         * buffer.C (readInset): comment out parsing of insetlist and
16107         insttheorem
16108
16109         * PainterBase.C (rectText): small correction
16110
16111         * BufferView_pimpl.C: comment out insettheorem and insetlist
16112         * LyXAction.C: ditto
16113         * commandtags.h: ditto
16114
16115 2001-07-24  Juergen Vigna  <jug@sad.it>
16116
16117         * text.C (draw): honor the ignore_language.
16118
16119         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16120
16121 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16122
16123         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16124         char inset.
16125
16126 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16127
16128         * lyxtext.h: remove unused (and unimplemented) methods
16129
16130 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16131
16132         * text.C (getVisibleRow): honor background color
16133
16134         * PainterBase.h:
16135         * Painter.h: remove default color argument for fillRectangle
16136
16137         * text.C (backgroundColor): new method
16138
16139 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16140
16141         * text.C (getVisibleRow): adjust
16142
16143         * font.[Ch] (rectText): new method, metrics
16144         (buttonText): new method, metrics
16145
16146         * PainterBase.[hC]: make rectText and buttonText always draw and take
16147         fewer paramteres.
16148
16149 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16150
16151         * ToolbarDefaults.C (read):
16152         * MenuBackend.C (read): allow escaping in all strings
16153
16154         * BufferView_pimpl.C (insertAndEditInset): new method.
16155         (Dispatch): use insertAndEditInset whenever appropriate.
16156
16157         * BufferView_pimpl.C (insertNote): removed
16158
16159         * BufferView_pimpl.C (smartQuote): new method, moved from
16160         BufferView; if an insetquote cannot be inserted, insert a '"'
16161         character instead.
16162
16163         * BufferView2.C: remove insertCorrectQuote();
16164
16165         * lyxfunc.C (getStatus): Add support for all remaingin
16166         inset-insert lfuns.
16167
16168         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16169
16170         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16171         command (necessary to pass " as parameter of self-insert.
16172
16173         * text.C (selectWordWhenUnderCursor):
16174         (selectWord): add word_location parameter
16175         (selectWordWhenUnderCursor): same + remove special code for word
16176         boundary.
16177         (selectNextWord): use kind() to guess type of insetspecialchar,
16178         not latex().
16179
16180         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16181         (insertErtContents): create ert insets as collapsed.
16182         (readInset): better compatibility code for Info inset.
16183
16184 2001-07-20  Juergen Vigna  <jug@sad.it>
16185
16186         * lyxfunc.C (dispatch): use always LyXFind now!
16187
16188         * text2.C (init): add a reinit flag so that the LyXText can be
16189         reinited instead of deleted and reallocated (used in InsetText).
16190
16191         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16192
16193         * text.C: ditto
16194
16195         * text2.C: ditto
16196
16197 2001-07-18  Juergen Vigna  <jug@sad.it>
16198
16199         * text.C (selectNextWord): handle insets inside inset by calling
16200         always the bv->text functions so that we can go up the_locking_inset!
16201
16202         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16203         in strange locations when inside an inset!
16204
16205         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16206         handling to include insets.
16207
16208         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16209
16210 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16211
16212         * LyXAction.C (init):
16213         * commandtags.h:
16214         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16215         LIGATURE_BREAK, since the name is so stupid.
16216
16217 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16218
16219         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16220         InsetInfos.
16221
16222         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16223
16224         * sp_form.[Ch]: remove.
16225
16226         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16227
16228         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16229         InsetInfo.
16230
16231         * src/buffer.C (readInset): ditto.
16232
16233 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16234
16235         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16236         menuSeparator(), endOfSentenceDot(), ldots() and
16237         hyphenationPoint(), which are therefore removed.
16238         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16239
16240         * LyXAction.C (init):
16241         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16242
16243         * paragraph.C (getWord): removed.
16244
16245         * BufferView_pimpl.C (Dispatch): use last word or selection for
16246         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16247
16248         * lyx_main.C (queryUserLyXDir): do not ask before creating
16249         user_dir, except if it has been named explicitely.
16250
16251 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16252
16253         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16254         a document of zero size.
16255
16256 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16257
16258         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16259         approriately in the c-tor and in require().
16260         (getPackages): output the appropriate LaTeX for natbib support.
16261
16262         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16263         variables "use_natbib" and "use_numerical_citations" when reading the
16264         LyX file.
16265         (readInset): read the various natbib cite commands.
16266         (validate): white-space change.
16267
16268         * bufferparams.[Ch]: new variables "bool use_natbib" and
16269         "bool use_numerical_citations".
16270         (writeFile): output them in the LyX file.
16271
16272 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16273
16274         * lyxfunc.C (getStatus): add support for all the inset insertion
16275         commands.
16276
16277         * text2.C (insertInset):
16278         * paragraph.C (insetAllowed):
16279         * BufferView_pimpl.C (insertInset): update to take in account the
16280         renaming of insertInsetAllowed
16281
16282         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16283
16284         * text2.C (getInset): new method. returns inset at cursor position.
16285
16286         * BufferView_pimpl.C (Dispatch): changes because of this.
16287
16288         * LyXAction.C (init): rename open-stuff to inset-toggle.
16289
16290         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16291
16292         * text2.C (toggleInset): renamed from openStuff; use
16293         Inset::open().
16294
16295 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16296
16297         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16298
16299         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16300
16301 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16302
16303         * buffer.C (readLyXformat2): Add filename to the error dialog
16304
16305 2001-07-18  Juergen Vigna  <jug@sad.it>
16306
16307         * tabular.C (GetCellNumber): put an assert here instead of the check!
16308
16309 2001-07-17  Juergen Vigna  <jug@sad.it>
16310
16311         * BufferView_pimpl.C (toggleSelection): adapted too.
16312
16313         * text.C (selectNextWord): adapted for use with insets.
16314         (selectSelectedWord): ditto
16315
16316 2001-07-17  Juergen Vigna  <jug@sad.it>
16317
16318         * sp_spell.C (PSpell): fix initialitation order.
16319
16320 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16321
16322         * paragraph.C: spacing
16323
16324 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16325
16326         * sp_spell.C: repair language selection for pspell
16327
16328 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16329
16330         * lyxfunc.h: change more methods to begin with lower char.
16331
16332 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16333
16334         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16335         for unknown layouts.
16336
16337 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16338
16339         * buffer.C (readLyXformat2): Generate an error dialog if there are
16340         unknown layouts.
16341
16342 2001-07-16  Juergen Vigna  <jug@sad.it>
16343
16344         * sp_spell.C: always compile ISpell part.
16345
16346         * lyxrc.C: added use_pspell entry and it's handling.
16347
16348 2001-07-13  Juergen Vigna  <jug@sad.it>
16349
16350         * sp_spell.C: removed double includes.
16351
16352 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16353
16354         Consistent use of Lsstream.h:
16355         * Lsstream.h: added using std::stringstream for consistencies sake.
16356
16357         * buffer.C: removed using std::stringstream
16358
16359         * lyxfont.C (stateText):
16360         * paragraph.C (asString):
16361         * text.C (selectNextWord, selectSelectedWord):
16362         * text2.C (setCounter):
16363         * vspace.C (asString, asLatexString):
16364         std::ostringstream -> ostringstream.
16365
16366 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16367
16368         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16369         * commandtags.h: add LFUN_HELP_ABOUTLYX
16370         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16371
16372 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16373
16374         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16375         cursorToggle()
16376         * lyx_gui_misc.C: remove spellchecker
16377         * lyxfunc.C: showSpellchecker
16378         * sp_base.h: added
16379         * sp_ispell.h: added
16380         * sp_pspell.h: added
16381         * sp_spell.C: added
16382         * sp_form.[Ch]: removed
16383         * spellchecker.[Ch]: removed
16384
16385 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16386
16387         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16388         is set.
16389         (simpleTeXSpecialChars): Simply print the input character without
16390         any special translation if pass_thru is set.
16391
16392         * layout.h: Added bool pass_thru to layout class for being able to
16393         implement pass through of a paragraph for Literate Programming.
16394
16395         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16396         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16397         * layout.C (Read): add "passthru" to list of layout tags and add
16398         code to set the pass_thru boolean when it is read.
16399
16400 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16401
16402         * trans_decl.h: remove allowed from KmodInfo
16403
16404         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16405         remove allowed code
16406         (Load): adjust
16407
16408         * paragraph_pimpl.C (erase): use boost::prior
16409
16410         * Painter.C (text): use data() instead of c_str() when length is
16411         also provided.
16412         * WorkArea.C (putClipboard): ditto
16413         * font.h (width): ditto
16414
16415         * BufferView2.C: use it-> instead of (*it). for iterators
16416         * texrow.C: ditto
16417         * paragraph_pimpl.C: ditto
16418         * paragraph.C: ditto
16419         * minibuffer.C: ditto
16420         * language.C: ditto
16421         * kbmap.C: ditto
16422         * encoding.C: ditto
16423         * counters.C: ditto
16424         * converter.C: ditto
16425         * chset.C: ditto
16426         * Variables.C: ditto
16427         * TextCache.C: ditto
16428         * MenuBackend.C: ditto
16429         * LyXAction.C: ditto
16430         * LColor.C: ditto
16431         * FloatList.C: ditto
16432         * DepTable.C: ditto
16433         * ColorHandler.C (LyXColorHandler): ditto
16434
16435 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16436
16437         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16438
16439         * text2.C (openStuff): reintroduce this method (which had been
16440         nuked in NEW_INSETS frenzy).
16441
16442         * lyxfunc.C (Dispatch): when an action has not been handled, use
16443         its name in the error message, not its number.
16444
16445         * paragraph.C (inInset): change method name to begin with lowercase.
16446
16447         * undo_funcs.C:
16448         * text2.C: updates because of this.
16449
16450 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16451
16452         * ToolbarDefaults.C (add): add spaces in error message
16453
16454 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16455
16456         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16457         (readLyXformat2): rename return_par to first_par, use lyxlex's
16458         pushToken and remove the manual push handling.
16459         (parseSingleLyXformat2Token): add another ert comp. variable:
16460         in_tabular, rename return_par to first_par. handle newlines better
16461
16462 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16463
16464         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16465
16466 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16467
16468         * text2.C (getParFromID): removed
16469
16470         * buffer.C (getParFromID): new method moved form lyxtext.
16471         * BufferView2.C (insertErrors): adjust
16472         (setCursorFromRow): adjust
16473         * BufferView_pimpl.C (restorePosition): adjust
16474         * lyxfunc.C (Dispatch): adjust
16475         * undo_funcs.C (textUndo): adjust
16476         (textRedo): adjust
16477         (textHandleUndo): adjust
16478         (textHandleUndo): adjust
16479
16480 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16481
16482         * buffer.C: up' the LYX_FORMAT
16483
16484         * lyxfont.h: turn NO_LATEX on as default
16485
16486         * buffer.C (insertErtContents): new methods of tex style compability.
16487         (parseSingleLyXformat2Token): use it several places.
16488         * tabular.C (OldFormatRead): and here
16489
16490 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16491
16492         * text2.C: remove some commented code.
16493         reindent file.
16494
16495         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16496         * trans.C: changes because of the above.
16497
16498 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16499
16500         * text2.C (setCounter): Fix counters bug with bibliography layout.
16501
16502 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16503
16504         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16505         own member functions
16506         (simpleTeXSpecialChars): ditto
16507
16508 2001-07-06  Juergen Vigna  <jug@sad.it>
16509
16510         * a lot of files: changed the access to LyXText::status and the
16511         call of undo-functions.
16512
16513         * undo.[Ch]: added a inset_id to the undo informations.
16514
16515         * undo_funcs.[Ch]: added and moved here all undo functions.
16516
16517         * lyxtext.h: give the status enum a weight, made status_ a private
16518         variable and made accessor functions for it, removed the whole bunch
16519         of undo-functions as they are now in their own file, make some
16520         functions publically available. Added function ownerParagraph with
16521         int parameter.
16522
16523         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16524         made InInset() a const function, added getParFromID() function.
16525
16526         * buffer.[Ch]: added const version for inset_iterator functions,
16527         added getInsetFromID() function.
16528
16529         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16530         changed undo functions for new version.
16531
16532 2001-07-05  Juergen Vigna  <jug@sad.it>
16533
16534         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16535         unknow mechanism does not call the proper constructor but only this
16536         one also if I request the other!?
16537
16538 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16539
16540         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16541
16542         * text2.C (LyXText): use initialization lists.
16543
16544         * lyxtext.h (Selection): initialize set_ and mark_
16545         (init): remove method
16546
16547 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16548
16549         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16550
16551 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16552
16553         * screen.[Ch]: change method names to begin with lowercase
16554
16555         * BufferView_pimpl.C (updateScrollbar): simplify further and
16556         hopefully make it a bit faster.
16557
16558 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16559
16560         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16561         calling directly xforms functions.
16562
16563         * Painter.C (Painter):
16564         * lyx_cb.C (MenuWrite):
16565         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16566         fl_display.
16567
16568         * lyx_gui.C: remove bogus guiruntime extern declaration.
16569
16570 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16571
16572         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16573         in NEW_INSETS
16574         (redoDrawingOfParagraph): ditto
16575         (redoParagraphs): ditto
16576         (cutSelection): don't create a object for CutAndPaste use the
16577         static method directly
16578         (pasteSelection): ditto
16579
16580         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16581         LyXview (+ rename)
16582
16583 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16584
16585         * modifications to some other files because of this.
16586
16587         * Makefile.am (lyx_SOURCES): add XFormsView
16588
16589         * XFormsView.[Ch]: new files
16590
16591         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16592         the main window. Move the gui dependent stuff to XFormsView
16593
16594 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16595
16596         * tabular.C (GetCellInset): update cur_cell also in the row/col
16597         version of this function.
16598
16599         * lyxfunc.C: no need to include figure_form.h here.
16600
16601         * FontLoader.h:
16602         * lyxfunc.h:
16603         * lyxscreen.h:
16604         * text2.C:
16605         * lyxvc.C: no need to include forms.h here.
16606
16607 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16608
16609         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16610
16611         * lyxfunc.C (Dispatch):
16612         * Spacing.C (set):
16613         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16614         constructor argument.
16615
16616 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16617
16618         * paragraph.C (Paragraph): dont't clear, and just set layout.
16619         (makeSameLayout): use params's copy contructor.
16620
16621         * ParagraphParameters.[Ch] (makeSame): delete method
16622
16623 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16624
16625         * Variables.[Ch]: fix indentation, rename set to isSet
16626
16627 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16628
16629         * lyxfunc.C (Dispatch): fix typo
16630
16631 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16632
16633         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16634         upper_bound.
16635
16636         * bufferlist.C: include assert.h for emergencyWrite().
16637
16638 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16639
16640         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16641           give up at last (bug #425202) !
16642
16643 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16644
16645         * lyx_gui_misc.C:
16646         * sp_form.h:
16647         * sp_form.C:
16648         * spellchecker.h:
16649         * spellchecker.C: strip spellchecker options and bring up
16650           preferences tab instead
16651
16652 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16653
16654         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16655         the istringstream constructor
16656
16657 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16658
16659         * paragraph.C (getLayout): fix return value
16660
16661         * paragraph.h: do not declare getLayout as inline.
16662
16663         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16664
16665 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16666
16667         * lyxcursor.h (operator<): new func
16668         (operator>): new func
16669         (operator>=): new func
16670         (operator<=): new func
16671
16672         * text.C (changeCase): use selection.start and selection.end
16673         (changeRegionCase): require from to be <= to. Require par to be a
16674         valid paragraph.
16675
16676         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16677
16678 2001-06-27  Juergen Vigna  <jug@sad.it>
16679
16680         * text.C (cursorLeftOneWord): changed to return the cursor and added
16681         overlay with BufferView * parameter which calls this one.
16682         (getWord): added
16683         (selectWord): use new getWord function.
16684         (changeCase): renamed from changeWordCase as and extended to work
16685         also on selections.
16686
16687         * lyxtext.h: added enum word_location
16688
16689         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16690         changeCase as this operates now also on selections.
16691
16692 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16693
16694         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16695
16696         * many files: send debug output to Debug::INFO instead of
16697         Debug::ANY.
16698
16699         * converter.C (View):
16700         (Convert):
16701         (Move): send debug output to Debug::FILES instead of console.
16702
16703 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16704
16705         * lyxfunc.C (getStatus): use func_status
16706
16707         * func_status.h: new header, describing the results of
16708         LyXFunc::getStatus;
16709
16710         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16711         LFUN_MATH_HALIGN.
16712
16713 2001-06-25  The LyX Project  <jug@sad.it>
16714
16715         * buffer.C (sgmlOpenTag):
16716         (sgmlCloseTag):
16717         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16718
16719 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16720
16721         * text2.C: remove some dead code
16722
16723         * tabular.C (GetCellInset): store the last cell checked (gotten)
16724
16725         * tabular.h: add the helper for the speedup
16726
16727         * lyxtext.h: remove some dead code
16728
16729 2001-06-26  The LyX Project  <Asger>
16730
16731         * paragraph.C: Change export to LaTeX of alignment to
16732         \begin{center} and family for better roundtrip work with reLyX.
16733
16734         * Tune the math drawing a bit.
16735
16736 2001-06-25  The LyX Project  <Asger>
16737
16738         * LColor.C (LColor): New color for math background. New color
16739         for buttons.
16740
16741 2001-06-25  The LyX Project  <jug@sad.it>
16742
16743         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16744
16745         * lyxfunc.C (Open):
16746         * bufferlist.C (newFile): do not restrict to files ending with
16747         .lyx
16748
16749         * BufferView_pimpl.C (MenuInsertLyXFile):
16750
16751 2001-06-24  The LyX Project  <jug@sad.it>
16752
16753         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16754         of compare_no_case
16755
16756 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16757
16758         * lyxtext.h: rename most methods to begin with a small char.
16759         Lots of changes because of this.
16760
16761         * paragraph.C (Paragraph): do not call fitToSize
16762         (erase): call Pimpl::erase
16763         (insertChar): call Pimpl::insertChar
16764         (insertInset): call Pipl::insertInset
16765         (breakParagraph): do not call fitToSize
16766         (breakParagraphConservative): do not call fitToSize
16767         (fitToSize): remove method
16768
16769         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16770
16771 2001-06-24  The LyX Project  <Asger>
16772
16773         * Fix Qt compilation^2
16774
16775 2001-06-24  The LyX Project  <jug@sad.it>
16776
16777         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16778         depthHook(getDepth()-1).
16779
16780         * paragraph.h:
16781         * ParagraphParameters.h:
16782         * ParameterStruct.h: change type of depth to unsigned int ==
16783         depth_type. Many adaptations to other files before of that.
16784
16785 2001-06-24  The LyX Project  <Asger>
16786
16787         * Fix Qt compilation.
16788
16789 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16790
16791         * paragraph.h: renamed several methods to begin with small letter.
16792         several changes to many parts of the code because of this.
16793
16794 2001-06-23  The LyX Project  <jug@sad.it>
16795
16796         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16797         rewritten to discard all double spaces when KeepEmpty is off
16798         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16799         to only handle newlines but not fiddle with spaces and friends.
16800
16801         * lyxfunc.C (MenuNew): when doing 'new from template', use
16802         template_path as default directory
16803
16804 2001-06-23  The LyX Project  <Asger>
16805
16806         * Clean-up of header file includes all over
16807         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16808
16809 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16810
16811         * paragraph.h: renamed from lyxparagraph.h
16812
16813 2001-06-23  Asger  <lyx@violet.home.sad.it>
16814
16815         * Buffer.h: Removed Buffer::resize
16816         * BufferList.h: Removed BufferList::resize
16817         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16818         the document lazily when we change the width, or the font settings.
16819
16820 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16821
16822         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16823
16824 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16825
16826         * buffer.h: remove out of date comment
16827
16828 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16829
16830         * lyxscreen.h:
16831         * screen.C: fix "theoretical" GC leak
16832
16833 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16834
16835         * LaTeX.C (scanAuxFile):
16836         (deplog): remove trailing \r when reading stream (useful under
16837         win32)
16838
16839 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16840
16841         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16842         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16843         and BufferView::theLockingInset(Inset*), so should use them and not
16844         access bv_->text->the_locking_inset directly.
16845
16846         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16847
16848 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16849
16850         * Makefile.am:
16851         * tex-defs.h: remove old unused file
16852
16853 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16854
16855         * BufferView_pimpl.C: fix typo, remove minibuffer message
16856           when buffer has loaded
16857
16858 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16859
16860         * lyxfunc.C (Dispatch): use stringstream
16861         (MenuNew): use stringstream
16862         (Open): use stringstream
16863
16864         * importer.C (Import): use stringstream
16865
16866         * bufferview_funcs.C (CurrentState): use stringstream
16867
16868         * LaTeX.C (run): use stringstream
16869
16870         * BufferView_pimpl.C (savePosition): use stringstream
16871         (restorePosition): use stringstream
16872         (MenuInsertLyXFile): use stringstream
16873
16874 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16875
16876         * BufferView.C:
16877         * Bullet.C:
16878         * ColorHandler.C:
16879         * FontInfo.C:
16880         * FontLoader.C:
16881         * LColor.C:
16882         * LaTeXFeatures.C:
16883         * Painter.C:
16884         * gettext.C:
16885         * lyx_gui_misc.C:
16886         * lyxserver.C:
16887         * vspace.C: removed // -*- C++ -*- as first line.
16888
16889         * lyxfind.h:
16890         * version.h: added // -*- C++ -*- as first line.
16891
16892 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16893
16894         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16895
16896         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16897         of string
16898
16899 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16900
16901         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16902         of floats.
16903
16904 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16905
16906         * gettext.C: include LString.h even when --disable-nls is on.
16907
16908 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16909
16910         * converter.h (Get): changed argument type from int to
16911         FormatList::size_type to avoid unnecessary conversion.
16912
16913         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16914         before using it.
16915
16916 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16917
16918         * gettext.h: include LString.h even when --disable-nls is on.
16919
16920 2001-06-07  Juergen Vigna  <jug@sad.it>
16921
16922         * text.C (BreakAgain): subst spaces with tabs.
16923
16924         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16925         (resizeInsetsLyXText): set force on resizeLyXText.
16926
16927 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16928
16929         * gettext.h (gettext_init):
16930         (locale_init): use a real definition instead of a macro
16931
16932 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16933
16934         * Bufferview_pimpl.C:
16935         * LColor.h:
16936         * LColor.C: further lcolor tidies
16937
16938 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16939
16940         * BufferView_pimpl.C (updateScrollbar): simplify.
16941
16942         * BufferView2.C: don't include insets/insetinfo.h, change
16943         prototype for insertInset and call the Pimpl version. let
16944         updateInset call Pimpl version.
16945
16946         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16947         gotoInset to BufferView::Pimpl
16948
16949 2001-06-01  Juergen Vigna  <jug@sad.it>
16950
16951         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16952         inside a LockingInset (is the update needed at all?).
16953
16954 2001-05-31  Juergen Vigna  <jug@sad.it>
16955
16956         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16957         here not the old one otherwise how should we compare it afterwards
16958         if it's the same!
16959
16960 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16961
16962         * lyxfont.C:
16963         * tabular.C:
16964         * tabular-old.C:
16965         * FontInfo.C: bring C functions into global namespace when
16966         necessary
16967
16968 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16969
16970         * LString.h: make sure config.h has been loaded before LString.h.
16971
16972         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16973         (one for each char read by EatLine!).
16974
16975         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16976         variables.
16977
16978 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16979
16980         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16981         to the same as the par we break from
16982
16983 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16984
16985         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16986
16987         * MenuBackend.C (expand): also create menu entries for wide
16988         versions of the floats.
16989
16990         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16991
16992         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16993
16994         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16995         frontends/Makefile.am
16996
16997         * text2.C: adjust
16998         * text.C: adjust
16999
17000
17001         * tabular.C (getTokenValue): add std::
17002
17003         * tabular-old.C (getTokenValue): add std::
17004         (getTokenValue): ditto
17005         (getTokenValue): ditto
17006
17007         * screen.C (ToggleSelection): adjust
17008
17009         * lyxtext.h: put selection cursors inside a Selection struct.
17010
17011         * lyxfunc.C (moveCursorUpdate): adjust
17012
17013         * lyxfont.C (latexWriteStartChanges): add std::
17014
17015         * lyxfind.C: adjust
17016
17017         * font.h: delete with(char const *, LyXFont const &)
17018
17019         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17020
17021         * FontInfo.C (getFontname): add std::
17022
17023         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17024         (workAreaButtonPress): adjust
17025         (tripleClick): adjust
17026         (update): adjust
17027         (moveCursorUpdate): adjust
17028         (Dispatch): adjust
17029
17030         * BufferView2.C (gotoInset): adjust
17031
17032 2001-05-30  Juergen Vigna  <jug@sad.it>
17033
17034         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17035         to check pspell I add this as default as I now have new pspell
17036         libraries and they seem to use this.
17037
17038 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17039
17040         * text2.C (CutSelection): make the cursor valid before the call to
17041         ClearSelection.
17042
17043 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17044
17045         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17046         relied on 0 terminated strings and other horrors. Bug found due to
17047         the new assert in lyxstring!
17048
17049         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17050         KP_ keys.
17051
17052 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17053
17054         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17055         to latinkeys.bind.
17056
17057         * lyxfunc.C (processKeySym): change method of getting to the
17058         self-insert char.
17059
17060         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17061         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17062         * BufferView_pimpl.[Ch]: here as private methods.
17063
17064 2001-05-28  Juergen Vigna  <jug@sad.it>
17065
17066         * text.C (SetHeightOfRow): added the update() call again as it is
17067         needed to initialize inset dimensions!
17068
17069 2001-05-16  Juergen Vigna  <jug@sad.it>
17070
17071         * text2.C (SetCharFont): Add new function with BufferView * and
17072         bool toggleall parameters for setting insets internal fonts.
17073         (SetFont): Freeze the undo as we may change fonts in Insets and
17074         all this change should be inside only one Undo!
17075
17076         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17077         setting font's in insets as for them we have the SetFont function!
17078
17079 2001-05-15  Juergen Vigna  <jug@sad.it>
17080
17081         * text2.C (ClearSelection): to be sure we REALLY don't have any
17082         selection anymore!
17083
17084         * tabular.C (TeXCellPreamble): fixed the left border problem for
17085         multicolumn cells.
17086
17087 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17088
17089         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17090         dependancy file
17091
17092 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17093
17094         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17095         LFUN_BREAKPARAGRAPH.
17096
17097         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17098         help test to "internal only", similar for LFUN_INSERT_URL
17099
17100         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17101         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17102         auto_region_delete and deadkeys.
17103
17104 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17105
17106         * LColor.h:
17107         * LColor.C: remove some dead entries, tidy a little
17108
17109 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17110
17111         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17112         commented code.
17113         (Dispatch): implement LFUN_ESCAPE
17114
17115         * commandtags.h: add LFUN_ESCAPE
17116
17117         * LyXAction.C (init): add entry for LFUN_ESCAPE
17118
17119         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17120         Remove commented code.
17121         (insertNote): moved here
17122         (open_new_inset): moved here
17123
17124         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17125         BufferView_pimpl
17126
17127 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17128
17129         * kbmap.C (findbinding): clean it up and make it work correctly.
17130
17131         * lyx_main.C (init): do not pass argc and argv as parameters
17132
17133 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17134
17135         * buffer.C: fix path for OS/2 & Win32
17136
17137         * lyx_gui.C:
17138         * lyx_main:
17139         * lyx_main.C: Added os:: class.
17140
17141         * os2_defines.h: update
17142
17143 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17144
17145         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17146         better by trying again with reduced state.
17147
17148 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17149
17150         * lyxrc.C (read): print error about invalid key sequence only when
17151         debugging (because not all latinX keysyms are known to some X
17152         servers)
17153
17154         * kbsequence.C (getiso): add a few std:: qualifiers
17155         (getiso): comment out extra return statement.
17156
17157 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17158
17159         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17160         handling.
17161         (Dispatch): enhance the accent inset a bit. (not perfect)
17162
17163 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17164
17165         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17166
17167 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17168
17169         * bufferlist.C (emergencyWrite): fix assert() call
17170
17171 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17172
17173         * text.C (InsertChar): Added trivial patch to only send the "you
17174         can not do multiple spaces this way" message once during a
17175         session.
17176
17177 2001-05-08  Baruch Even  <baruch@lyx.org>
17178
17179         * Makefile.am: Changed order of libraries to get LyX to link properly
17180         with the gnome frontend.
17181
17182 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17183
17184         * LaTeXFeatures.h: add a std:: qualifier
17185
17186 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17187
17188         * paragraph.C (String): use stringstream
17189
17190 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17191
17192         * paragraph.C (writeFile): remove footflag arg
17193
17194         * buffer.C (makeLaTeXFile): use stringstream
17195         (latexParagraphs): remove footnot gurba
17196
17197         * LaTeXFeatures.C (getPackages): use stringstream
17198         (getMacros): likewise
17199         (getTClassPreamble): likewise
17200         (getFloatDefinitions): new method
17201
17202         * paragraph.C (writeFile): reindent
17203         (Erase): reindent
17204
17205         * WorkArea.h: revert the xpos + etc changes.
17206
17207         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17208
17209         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17210
17211         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17212         (pasteSelection): likewise
17213         * text2.C (CreateUndo): likewise
17214
17215 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17216
17217         * minibuffer.C (peek_event): temporarily reduce the functionality
17218         of the minibuffer (to allow args on lfuns)
17219
17220         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17221         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17222
17223         * buffer.C (readInset): add compability reading of old float
17224         lists, add reading of new style float list.
17225         (readInset): avoid reevaluation of inscmd.getCmdName()
17226         (getLists): reindent
17227
17228         * MenuBackend.C (MenuItem): implement parsing of
17229         md_floatlistinsert and md_floatinsert.
17230         (expand::LastFiles): move initalizaton of iterators out of loop,
17231         avoid reevaluation.
17232         (expand::Documents): introduce typdedef vector<string> Strings,
17233         and use it.
17234         (expand::ExportFormats): introduce typedef vector<Format const *>
17235         Formats, and use it.
17236         (expand): implement FloatListInsert and FloatInsert.
17237
17238         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17239         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17240         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17241
17242         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17243         handling.
17244         (Dispatch::LFUN_FLOAT_LIST): implement
17245
17246 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17247
17248         * LaTeX.C (run): Fix problem with --export code.
17249
17250 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17251
17252         * BufferView.[Ch] (workarea): removed.
17253         (getClipboard) new method; wrapper for workarea()->getClipboard()
17254
17255         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17256         bug.
17257
17258         * WorkArea.h (width, height, xpos, ypos): These methods all
17259         returned the dimensions of the work_area sub-area of WorkArea,
17260         resulting in a position error if the WorkArea were resized. Now
17261         return the dimensions of the entire WorkArea.
17262
17263         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17264
17265 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17266
17267         * LaTeX.C (deplog): correct the syntax of regex reg1
17268
17269 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17270
17271         * undo.C: remove !NEW_INSETS cruft
17272
17273 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17274
17275         * text2.C: remove !NEW_INSETS cruft
17276
17277         * text.C: remove !NEW_INSETS cruft
17278
17279         * tabular.C: remove !NEW_INSETS cruft
17280
17281         * spellchecker.C: remove !NEW_INSETS cruft
17282
17283         * lyxtext.h: remove !NEW_INSETS cruft
17284
17285         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17286
17287         * lyxfunc.C: remove !NEW_INSETS cruft
17288
17289         * lyxfind.C: remove !NEW_INSETS cruft
17290
17291         * lyx_cb.C: remove !NEW_INSETS cruft
17292
17293         * figureForm.C: remove  !NEW_INSETS cruft
17294
17295         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17296
17297         * buffer.[Ch]: remove !NEW_INSETS cruft
17298
17299         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17300
17301         * CutAndPaste.C: remove !NEW_INSETS cruft
17302
17303         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17304
17305         * BufferView2.C: remove !NEW_INSETS cruft
17306
17307         * BufferView.h: remove !NEW_INSETS cruft
17308
17309 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17310
17311         * Lsstream.h: include LString.h before the sstream headers to
17312         fix problem with gcc 2.95.3 and lyxstring
17313
17314 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17315
17316         * lyx_main.C: add using directives when needed for C functions
17317         declared in std:: namespace.
17318
17319 2001-04-27  Juergen Vigna  <jug@sad.it>
17320
17321         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17322         (SetHeightOfRow): comment out the update call should not be needed!
17323
17324 2001-04-13  Juergen Vigna  <jug@sad.it>
17325
17326         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17327         (LyXTabular): tried to minimize operator= operations (and realized
17328         hopfully Lars wish).
17329
17330 2001-04-27  Juergen Vigna  <jug@sad.it>
17331
17332         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17333
17334 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17335
17336         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17337
17338         * buffer.C (readInset): hack to make listof algorithm work
17339
17340         * BufferView_pimpl.C: hack to make listof algorithm work
17341
17342 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17343
17344         * LyXAction.C: removed all !NEW_INSETS cruft
17345         (init): moved lfun_item in method
17346
17347         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17348
17349 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17350
17351         * BufferView2.C (theLockingInset): white space.
17352
17353 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17354
17355         * minibuffer.C: include <iostream>
17356
17357         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17358
17359         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17360
17361         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17362
17363         * text.[Ch] (TransposeChars): new method
17364
17365 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17366
17367         * call message directly through LyXView instead of through LyXFunc
17368         * BufferView2.C: adjust
17369         * BufferView_pimpl.C: adjust
17370         * FontLoader.C: adjust
17371         * buffer.C: adjust
17372         * bufferview_funcs.C: adjust
17373         * converter.C: adjust
17374         * figureForm.C: adjust
17375         * importer.C: adjust
17376         * lyx_cb.C: adjust
17377         * lyx_gui_misc.C: adjust
17378         * lyxfunc.C: adjust
17379         * lyxvc.C: adjust
17380         * text2.C: adjust
17381         + more files in subdirs
17382
17383         * lyxparagraph.h (size): move up int file
17384         (GetLayout): ditto
17385
17386         * adjust all uses of Assert to lyx::Assert.
17387
17388         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17389         lyxfunctional in namespace lyx
17390         * layout.C (hasLayout): ditto
17391         (GetLayout): ditto
17392         (GetLayout): ditto
17393         (delete_layout): ditto
17394         (NumberOfClass): ditto
17395         * converter.C (GetFormat): ditto
17396         (GetNumber): ditto
17397         (Add): ditto
17398         (Delete): ditto
17399         (SetViewer): ditto
17400         * bufferlist.C (getFileNames): ditto
17401         (emergencyWriteAll): ditto
17402         (exists): ditto
17403         (getBuffer): ditto
17404         * MenuBackend.C (hasSubmenu): ditto
17405         (hasMenu): ditto
17406         (getMenu): ditto
17407         * BufferView_pimpl.C (getInsetByCode): ditto
17408
17409 2001-04-18  Juergen Vigna  <jug@sad.it>
17410
17411         * vspace.C (asLatexString): fixed the 100% problem.
17412
17413 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17414
17415         * lyxfunc.C (Dispatch):
17416         * minibuffer.C:
17417         * minibuffer.h: add a few std:: qualifiers
17418
17419 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17420
17421         * minibuffer.[Ch]: reimplement so that commands is initiated and
17422         run from lyxfunc, simplified som handling, and made the completion
17423         and history code for complete. wip.
17424
17425         * lyxfunc.C (processKeySym): call message
17426         (miniDispatch): new temporary method
17427         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17428         (LFUN_MESSAGE): implement
17429         (LFUN_MESSAGE_PUSH): implement
17430         (LFUN_MESSAGE_POP): implement
17431         (initMiniBuffer): the initial/defualt minibuffer message.
17432
17433         * lyxfont.[Ch]: inline some more getters
17434
17435         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17436
17437         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17438
17439         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17440         (AutoSave): use LFUN_MESSAGE
17441         (Reconfigure): ditto
17442
17443         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17444
17445         * figureForm.C: use LFUN_MESSAGE
17446
17447         * converter.C (runLaTeX): use LFUN_MESSAGE
17448
17449         * bufferview_funcs.C: use LFUN_MESSAGE
17450         (Melt): ditto
17451         (changeDepth): ditto
17452
17453         * bufferparams.h: use boost::
17454
17455         * bufferlist.h: inherit privately from noncopyable
17456
17457         * bufferlist.C (loadLyXFile): remove some commented code.
17458
17459         * buffer.C (runChktex): use LFUN_MESSAGE
17460
17461         * ShareContainer.h: inherit privately from noncopyable
17462
17463         * ParagraphParameters.[hC] (depth): inline it.
17464
17465         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17466         methods.
17467         (message): new method
17468         (messagePush): ditto
17469         (messagePop): ditto
17470         (show): init minibuffer
17471         (showState): direct call
17472
17473         * LaTeX.[Ch]: inherit privately from noncopyable
17474         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17475         instead of WriteStatus.
17476
17477         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17478
17479         * BufferView_pimpl.C (buffer): don't init minibuffer
17480         (workAreaButtonPress): use LFUN_MESSAGE
17481         (workAreaButtonRelease): ditto
17482         (savePosition): ditto
17483         (restorePosition): ditto
17484         (MenuInsertLyXFile): ditto
17485         (workAreaExpose): don't init minibuffer
17486         (update): remove commented code, simplify
17487
17488         * BufferView2.C (openStuff): use LFUN_MESSAGE
17489         (toggleFloat): ditto
17490         (menuUndo): ditto
17491         (menuRedo): ditto
17492         (copyEnvironment): ditto
17493         (pasteEnvironment): ditto
17494         (copy): ditto
17495         (cut): ditto
17496         (paste): ditto
17497         (gotoInset): ditto
17498         (updateInset): remove some commented code
17499
17500         * lastfiles.h: inherit privately from noncopyable
17501         * layout.h: ditto
17502         * lyx_gui.h: ditto
17503         * lyx_main.h: ditto
17504         * lyxlex.h: ditto
17505         * lyxlex_pimpl.h: ditto
17506
17507         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17508         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17509         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17510
17511         * LyXAction.h: inherit privately from noncopyable, add methods
17512         func_begin, func_end, returning iterators to the func map.
17513
17514         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17515         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17516         (func_begin): new method
17517         (func_end): new method
17518
17519         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17520         and not)
17521         (copySelection): ditto
17522         (pasteSelection): ditto
17523
17524         * BufferView.C: whitespace change
17525         * BufferView.h: inherit privately from noncopyable
17526
17527 2001-04-16  Allan Rae  <rae@lyx.org>
17528
17529         * tabular-old.C (l_getline):
17530         * spellchecker.C (sc_check_word):
17531         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17532         an unrecognised preprocessor directive.  So ensure they're wrapped.
17533
17534 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17535
17536         * src/exporter.C (Export): Give an error message when path to file
17537         contains spaces.
17538
17539 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17540
17541         * LaTeX.C (deplog): Always check that foundfile exists.
17542
17543 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17544
17545         * lyx_main.h:
17546         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17547
17548 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17549
17550         * tabular.[Ch] (getLabelList): implement new method
17551
17552         * minibuffer.h: comment ouf setTiimer
17553
17554         * minibuffer.C (ExecutingCB): constify res
17555         (peek_event): constify s
17556         (Set): constify ntext
17557         (Init): constify nicename
17558
17559         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17560
17561         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17562         (savePosition): use two params to Minibuffer::Set
17563         (restorePosition): ditto
17564
17565 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17566
17567         * lyx_main.C: include language.h
17568
17569         * Makefile.am (lyx_main.o): add language.h
17570
17571 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17572
17573         * exporter.C:
17574         * paragraph.C:
17575         * screen.C:
17576         * tabular.C:
17577         * CutAndPaste.C: include gettext.h
17578
17579         * lyxfont.h: remove old hack with ON and OFF.
17580
17581         * lyxparagraph.h:
17582         * lyxfont.h: do not include language.h...
17583
17584         * BufferView2.C:
17585         * LaTeXFeatures.C:
17586         * Painter.C:
17587         * bufferview_funcs.C:
17588         * font.C:
17589         * lyxfont.C:
17590         * text.C:
17591         * text2.C:
17592         * trans_mgr.C:
17593         * paragraph.C: ... but do it here instead
17594
17595 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17596
17597         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17598
17599         * tabular.C: small reformat
17600
17601         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17602         NEW_INSETS version
17603         (GetChar): ditto
17604         (BreakParagraph): ditto
17605         (SetOnlyLayout): ditto
17606         (SetLayout): ditto
17607
17608         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17609         with one arg less.
17610
17611         * lastfiles.C: removed most using decl, add std:: where needed
17612
17613         * buffer.C: ws changes
17614
17615         * MenuBackend.C (class compare_format): put into anon namespace
17616         (expand): constify label, names, action, action2
17617         (expand):
17618
17619         * text.C (SingleWidth): constify font
17620         (IsBoundary): constify rtl2
17621         (GetVisibleRow): constify ww
17622
17623         * LaTeX.C (deplog): constify logfile
17624
17625         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17626         start_x, end_x
17627         (workAreaExpose): constify widthChange, heightChange
17628
17629         * lyxrow.C (par): moved
17630         (height): moved
17631         (next): moved
17632         * lyxrow.h: as inlines here
17633
17634         * lyxfont.h (shape): moved from lyxfont.C
17635         (emph): moved from lyxfont.C
17636
17637         * lyxfont.C (LyXFont): use initialization list for all
17638         constructors
17639         (shape): move to lyxfont.h as inline
17640         (emph): move to lyxfont.h as inline
17641
17642
17643 2001-04-04  Juergen Vigna  <jug@sad.it>
17644
17645         * vspace.C: had to include stdio.h for use of sscanf
17646
17647 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17648
17649         * BufferView.h:
17650         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17651         independent of xforms.
17652
17653 2001-04-02  Juergen Vigna  <jug@sad.it>
17654
17655         * spellchecker.C: fixed namespace placing!
17656
17657 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17658
17659         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17660         the LyXParagraph * is 0.
17661
17662 2001-03-29  Juergen Vigna  <jug@sad.it>
17663
17664         * vspace.C: added support for %, c%, p%, l%.
17665         (stringFromUnit): added helper function.
17666         (asLatexString): changed to give right results for the %-values.
17667
17668         * buffer.C: convert the widthp in a width%.
17669
17670 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17671
17672         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17673         figureForm.[Ch].
17674
17675         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17676         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17677
17678         * lyx_cb.[Ch]: see above.
17679
17680         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17681         form1.[Ch].
17682
17683         * form1.[Ch]:
17684         * lyx.[Ch]: replaced by figure_form.[Ch].
17685
17686         * lyx_gui.C:
17687         * lyx_gui_misc.C:
17688         * lyxfunc.C: changed headers associated with above changes.
17689
17690 2001-03-27  Juergen Vigna  <jug@sad.it>
17691
17692         * BufferView_pimpl.C: set the temporary cursor right!
17693
17694 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17695
17696         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17697
17698 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17699
17700         * LString.h: removed "using std::getline"!
17701
17702         * BufferView_pimpl.C (Dispatch): changes due to changes in
17703         InsetInclude::Params.
17704
17705         * buffer.C (tag_name): removed redundant break statements as they were
17706         producing lots of warnings with my compiler.
17707
17708 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17709
17710         * LString.h: add "using std::getline" when using the real <string>.
17711
17712 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17713
17714         * buffer.C: removed bitset usage.
17715         PAR_TAG moved to an anonymous name space.
17716         (tag_name): new funtion, also in the anonymous namespace.
17717         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17718         (makeDocBookFile): clean code. Completed transition from string arrays
17719         to string vectors.
17720         (SimpleDocBookOnePar): code clean.
17721
17722 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17723
17724         * tabular.C: add some comments.
17725
17726 2001-03-22  Juergen Vigna  <jug@sad.it>
17727
17728         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17729         compatibility read a bit and fixed bug with minipage in different
17730         depth.
17731
17732 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17733
17734         * buffer.C (pop_tag): removed.
17735         (push_tag): removed.
17736         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17737         array replaced with vector. Added support for CDATA sections.
17738         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17739         at any nest level.
17740         (makeDocBookFile): XML conformant declaration of CDATA section,
17741         fixed bug related to <emphasis> in the first paragraph char.
17742         (sgmlOpenTag): exclude empty tags.
17743         (sgmlCloseTag): ditto.
17744
17745         * buffer.h (pop_tag): removed.
17746         (push_tag): removed.
17747
17748 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17749
17750         * language.h (Languages): added size_type and size().
17751
17752 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17753
17754         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17755         response on compability reading of minipages. One probliem is that
17756         the old usage of minipages was flertydig
17757
17758         * several files here and in subdirs: don't use static at file
17759         scope use anon namespaces instead.
17760
17761 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17762
17763         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17764         LaTeX output. This is necessary for Literate document
17765         processing.
17766
17767 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17768
17769         * buffer.C: insert hfill when needed.
17770
17771         * tabular.C (l_getline): use string::erase, small whitespace change.
17772
17773         * BufferView_pimpl.C: try the anon namespace.
17774         * WorkArea.C: ditto
17775
17776 2001-03-16  Juergen Vigna  <jug@sad.it>
17777
17778         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17779         otherwise it won't open options-dialogs.
17780
17781         * buffer.C: honor pextraWidth(p) on converting minipages.
17782
17783         * tabular.C (l_getline): changed the functions to strip trailing \r.
17784
17785 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17786
17787         * BufferView_pimpl.C:
17788         * minibuffer..C: added "using SigC::slot" declaration.
17789
17790 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17791
17792         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17793
17794         * text2.C: ditto
17795
17796         * text.C: ditto
17797
17798         * paragraph.C: ditto
17799
17800         * lyxtext.h: NO_PEXTRA
17801
17802         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17803
17804         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17805         * ParameterStruct.h: ditto
17806         * ParagraphParameters.h: ditto
17807         * lyxparagraph.h: ditto
17808
17809 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17810
17811         * buffer.C: add compability for minipage alignment.
17812         (latexParagraphs): remove unwanted pextra check.
17813
17814         * several files: remove CXX_WORKING_NAMESPACES
17815
17816         * buffer.C (pop_tag): tie is in namespace boost
17817
17818         * BufferView.h: noncopyable is in namespace boost
17819         * lyxlex.h: ditto
17820         * lyx_main.h: ditto
17821         * lyx_gui.h: ditto
17822         * layout.h: ditto
17823         * lastfiles.h: ditto
17824         * bufferlist.h: ditto
17825         * ShareContainer.h: ditto
17826         * LyXView.h: ditto
17827         * LyXAction.h: ditto
17828         * LaTeX.h: ditto
17829
17830 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17831
17832         * Merging changes from BRANCH_MVC back into HEAD.
17833
17834         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17835
17836 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17837
17838         * BufferView_pimpl.C: change from intl.C
17839
17840         * combox.h:
17841         * combox.C:
17842         * Makefile.am: move combox.*
17843
17844         * form1.h:
17845         * form1.C:
17846         * lyx_gui.C:
17847         * intl.h:
17848         * intl.C: remove dialog (covered by prefs)
17849
17850 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17851
17852         * lyxfunc.C (Dispatch): removed redundant break statement.
17853
17854 2001-03-14  Juergen Vigna  <jug@sad.it>
17855
17856         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17857
17858 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17859
17860         * buffer.C: add hack to fix compability reading of minipages.
17861
17862 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17863
17864         * buffer.C (getLists): Cleanup.
17865
17866 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17867
17868         * lyxfont.C (update): don't honor toggleall on font size.
17869
17870 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17871
17872         * bmtable.c:
17873         * bmtable.h:
17874         * Makefile.am: moved to frontends/xforms/
17875
17876         * lyx_gui_misc.C:
17877         * lyxfunc.C:
17878         * BufferView_pimpl.C: changes for moved mathpanel
17879
17880 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17881
17882         * gettext.h: fix gettext_init() in --disable-nls
17883
17884 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17885
17886         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17887
17888 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17889
17890         * lyx.C:
17891         * lyx.h: strip external form
17892
17893 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17894
17895         * BufferView_pimpl.C: add comment, destroySplash()
17896
17897 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17898
17899         * BufferView_pimpl.C:
17900         * LyXAction.C:
17901         * buffer.C:
17902         * commandtags.h:
17903         * lyxfunc.C: use re-worked insetinclude
17904
17905 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17906
17907         * buffer.C: add using std::stringstream.
17908
17909         * lyx_cb.C: readd using std::ios.
17910
17911         * buffer.C: add using std::map.
17912
17913         * BufferView_pimpl.C: add using std::vector.
17914
17915         * ShareContainer.h: add std:: to swap.
17916
17917         * buffer.h: add some typedefs
17918         * buffer.C (getLists): use them
17919         (getLists): renamed from getTocList.
17920         add a counter for the different float types and use it in the
17921         generated string.
17922         (getLists): use the same counter for the NEW_INSETS and the "non"
17923         NEW_INSETS
17924
17925         * lyx_cb.h: remove unused items, includes, using etc.
17926
17927         * ShareContainer.h: remove some commented code, add more comments
17928         and "documentation".
17929
17930 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17931
17932         * buffer.C (getTocList): make the list also when NEW_INSETS is
17933         defined.
17934
17935         * buffer.h: remove TocType
17936
17937         * buffer.C (getTocList): change to return a map<string,
17938         vector<TocItem> >, implement for dynamic number of list.
17939
17940         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17941         * text2.C (PasteSelection): adjust
17942         * CutAndPaste.C (pasteSelection): adjust
17943
17944         * FloatList.C (FloatList): update from the new_insets branch.
17945         * Floating.[Ch]: ditto
17946         * LaTeXFeatures.C: ditto
17947         * buffer.C: ditto
17948         * lyxlex_pimpl.C: ditto
17949
17950         * paragraph.C (Last): remove when NEW_INSETS is defined.
17951
17952         * other file: changes because of the above.
17953
17954 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17955
17956         * lyxparagraph.h: rename next to next_, previous to previous_,
17957         make them private for NEW_INSETS. Rename Next() to next(),
17958         Previous() to previous().
17959
17960         * other files: changes because of the above.
17961
17962 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17963
17964         * BufferView.h:
17965         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17966         problem.
17967
17968 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17969
17970         * main.C (main): pass lyx_localedir to gettext_init().
17971
17972         * gettext.h: remove locale_init and gettext_init macros
17973
17974         * gettext.C (locale_init): new function
17975         (gettext_init): new function
17976
17977         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17978         setlocale().
17979
17980 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17981
17982         * Moved credits to frontends:
17983         * credits.[Ch]: removed
17984         * credits_form.[Ch]: removed
17985         * lyx_gui_misc.C: remove credits stuff
17986         * Makefile.am:
17987
17988 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17989
17990         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17991
17992         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17993         unneeded destructor.
17994
17995         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17996         a standalone pointer again.
17997
17998         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17999
18000 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18001
18002         * Makefile.am:
18003         * filedlg.h:
18004         * filedlg.C:
18005         * LyXAction.C:
18006         * ToolbarDefaults.C:
18007         * bufferlist.C:
18008         * commandtags.h:
18009         * form1.C:
18010         * form1.h:
18011         * lyx_cb.C:
18012         * lyx_cb.h:
18013         * lyxfunc.h:
18014         * lyxfunc.C:
18015         * BufferView_pimpl.C: use new file dialog in GUII
18016
18017         * lyx_cb.h:
18018         * lyx_cb.C: remove LayoutsCB to Toolbar
18019
18020 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18021
18022         * ShareContainer.h (get): add std:: qualifier
18023
18024 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18025
18026         * ShareContainer.h: define a proper ShareContainer::value_type
18027         type (and use typename to please compaq cxx)
18028
18029 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18030
18031         * lyxparagraph.h: move serveral local vars to
18032         ParameterStruct/ParagraphParameters., use ShareContainer in
18033         FontTable., make vars in FontTable private and add getter and
18034         setter.
18035
18036         * paragraph.C: changes because of the above.
18037
18038         * lyxfont.h: remove copy constructor and copy assignment. (the
18039         default ones is ok), move number inside FontBits. move inlines to
18040         lyxfont.C
18041
18042         * lyxfont.C: add number to initializaton of statics, move several
18043         inlines here. constify several local vars. some whitespace
18044         cleanup. Dont hide outerscope variables.
18045
18046         * Spacing.h: add two new constructors to match the set methods.
18047
18048         * ShareContainer.h: new file, will perhaps be moved to support
18049
18050         * ParameterStruct.h: new file
18051
18052         * ParagraphParameters.h: new file
18053
18054         * ParagraphParameters.C: new file
18055
18056         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18057         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18058
18059         * BufferView_pimpl.C: ParagraphParameter changes.
18060         * buffer.C: Likewise.
18061         * bufferview_funcs.C: Likewise.
18062         * text.C: Likewise.
18063         * text2.C: Likewise.
18064
18065 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18066
18067         * lyxfind.C (LyXReplace): do not redefine default argument in
18068         implementation.
18069         (IsStringInText): ditto
18070         (SearchForward): ditto
18071         (SearchBackward): ditto
18072
18073 2001-03-06  Juergen Vigna  <jug@sad.it>
18074
18075         * lyxfind.C (IsStringInText): put parentes around expressions.
18076
18077 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18078
18079         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18080
18081 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18082
18083         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18084
18085         * stl_string_fwd.h: add comment
18086
18087         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18088
18089         * tabular.h:
18090         * tabular.C: remove unused DocBook methods
18091
18092         * intl.C:
18093         * language.C:
18094         * paragraph.C:
18095         * buffer.C:
18096         killed DO_USE_DEFAULT_LANGUAGE
18097
18098 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18099
18100         * lyx_gui.C: do not include language.h.
18101
18102         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18103         arguments in function implementation.
18104
18105 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18106
18107         * BufferView_pimpl.C: add <ctime>
18108
18109 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18110
18111         * BufferView_pimpl.C: add using std::find_if
18112
18113 2001-02-27  José Matos  <jamatos@fep.up.pt>
18114
18115         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18116         by OnlyPath.
18117
18118 2001-02-11  José Matos  <jamatos@fep.up.pt>
18119
18120         * buffer.C (makeDocBookFile): command styles now have a parameter as
18121         "title" by default.
18122
18123 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18124
18125         * layout_forms.[Ch]: removed
18126         * lyx_cb.[Ch]: out character
18127         * lyx_gui.C: out character
18128         * lyx_gui_misc.C: out character
18129         * bufferview_funcs.C: : out character,
18130         added toggleall as parameter in ToggleAndShow
18131
18132 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18133
18134         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18135
18136         * text2.C (SetCurrentFont): Disable number property at boundary.
18137
18138 2001-02-26  Juergen Vigna  <jug@sad.it>
18139
18140         * lyxfunc.C (getStatus): added a string argument override function so
18141         that this is correctly called from LyXFunc::Dispatch if it contains a
18142         do_not_use_argument which is used!
18143         (Dispatch): added check for "custom" export and call appropriate func.
18144
18145 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18146
18147         * lyxrc.C: Add language_command_local, language_use_babel and
18148         language_global_options.
18149
18150         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18151
18152         * buffer.C (makeLaTeXFile): Use language_use_babel and
18153         language_global_options.
18154
18155 2001-02-23  Juergen Vigna  <jug@sad.it>
18156
18157         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18158         which works with LyXText and putted it inside BufferView. Here now we
18159         only call for that part the BufferView::Dispatch() function.
18160
18161         * BufferView.C (Dispatch): added.
18162
18163         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18164         functions which needs to use a LyXText over from LyXFunc.
18165         (MenuInsertLyXFile): added
18166         (getInsetByCode): added
18167         (moveCursorUpdate): added
18168         (static TEXT): added
18169
18170 2001-02-22  Juergen Vigna  <jug@sad.it>
18171
18172         * BufferView_pimpl.C (update): call a status update to see if LyXText
18173         needs it.
18174
18175 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18176
18177         * vc-backend.C (revert): implement for CVS
18178         (getLog): implement for CVS
18179
18180 2001-02-20  Juergen Vigna  <jug@sad.it>
18181
18182         * text2.C (ClearSelection): added BufferView param for inset_owner call
18183
18184         * lyxfunc.C (TEXT): added this function and use it instead of
18185         directly owner->view()-text of getLyXText().
18186
18187 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18188
18189         * src/layout_forms.C: out preamble
18190         * src/layout_forms.h: out preamble
18191         * src/lyx_cb.C: out preamble
18192         * src/lyx_cb.h: out preamble
18193         * src/lyx_gui.C: out preamble
18194         * src/lyx_gui_misc.C: out preamble
18195         * src/lyxfunc.C: connect with guii preamble
18196
18197 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18198
18199         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18200
18201 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18202
18203         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18204         whether to run bibtex.
18205
18206 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18207
18208         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18209
18210 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18211
18212         * Makefile.am (lyx_SOURCES): removed bibforms.h
18213
18214         * vspace.h: doxygen
18215
18216         * text.C (GetVisibleRow): make several local vars const
18217
18218         * tabular.C: small cleanup.
18219
18220         * lyxserver.C (callback): use compare instead of strncmp
18221
18222         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18223         inlines to after class or to paragraph.C
18224
18225         * lyxfont.h: remove friend operator!=
18226
18227         * converter.h: move friend bool operator< to non friend and after
18228         class def.
18229
18230         * combox.h: small cleanup
18231
18232         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18233         to inlines after class def.
18234
18235         * buffer.C (pop_tag): use string operations instead of strcmp
18236
18237         * bmtable.c: doxygen, small cleanup
18238
18239         * LaTeX.h: remove friend operator==
18240
18241 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18242
18243         * screen.C:
18244         * lyxrc.[Ch]:
18245         * lyxfunc.C:
18246         * lyxfont.[Ch]:
18247         * lyx_cb.C:
18248         * intl.[Ch]:
18249         * commandtags.h:
18250         * buffer.C:
18251         * WorkArea.[Ch]:
18252         * LyXAction.C:
18253         * BufferView_pimpl.C:
18254         * BufferView.[Ch]: remove cruft
18255
18256 2001-02-14  Juergen Vigna  <jug@sad.it>
18257
18258         * lyxfunc.C: removed #if 0 unused code
18259
18260         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18261
18262         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18263
18264         * text2.C (SetSelection): added a BufferView * parameter
18265
18266 2001-02-13  Juergen Vigna  <jug@sad.it>
18267
18268         * lyxfunc.C (Dispatch): fixed protected blank problem.
18269         * BufferView2.C (protectedBlank): added LyxText * parameter.
18270
18271         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18272         (AppendColumn): same as above for column_info.
18273
18274         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18275         (moveCursorUpdate): use a LyXText param for support of InsetText.
18276
18277         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18278         (tripleClick): ditto
18279
18280         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18281
18282         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18283
18284         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18285
18286         * text2.C (SetSelection): set correct update status if inset_owner
18287         (ToggleFree): ditto
18288
18289 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18290
18291         * tabular.C: remove some commented code.
18292
18293 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18294
18295         * BufferView_pimpl.C: call hideSplash()
18296
18297         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18298
18299         * include_form.h:
18300         * bibforms.h: remove
18301
18302         * lyxfunc.C:
18303         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18304           add LFUN_CHILD_CREATE
18305
18306         * counters.h: fix tiny typo
18307
18308         * lyx_cb.C:
18309         * lyx.h:
18310         * lyx_gui.C:
18311         * lyx.C: move splash to frontends/xforms/
18312
18313         * lyx_gui_misc.C: move Include and Bibform to frontends
18314
18315         * lyxvc.h: clarify comment
18316
18317         * vspace.C: tiny housekeeping
18318
18319 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18320
18321         * text.C (PrepareToPrint): RTL Fix.
18322
18323         * paragraph.C (GetUChar): New method.
18324         (String):  Use GetUChar.
18325
18326         * buffer.C (asciiParagraph): Use GetUChar.
18327
18328 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18329
18330         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18331
18332 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18333
18334         * buffer.h:
18335         * buffer.C: rename to getLogName(), handle
18336           build log / latex log nicely
18337
18338 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18339
18340         * MenuBackend.C:
18341         * MenuBackend.h: remove support for reference menuitem type.
18342
18343 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18344
18345         * BufferView_pimpl.C: housekeeping
18346         * BufferView_pimpl.h:
18347         * LyXView.h:
18348         * Makefile.am:
18349         * Timeout.C:
18350         * Timeout.h:
18351         * minibuffer.h: move Timeout GUI-I
18352
18353 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18354
18355         * lyxrc.C (read): Update converters data-structures.
18356
18357 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18358
18359         * LaTeX.h (operator!=): add operator != for Aux_Info
18360
18361 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18362
18363         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18364
18365         * LaTeXLog.C: deleted, useful code moved to Buffer
18366
18367         * buffer.h:
18368         * buffer.C: new function getLatexLogName()
18369
18370         * lyx_gui_misc.C:
18371         * lyx_gui.C:
18372         * lyxvc.C:
18373         * lyxvc.h:
18374         * lyxfunc.C: use frontends for LaTeX and VC logs
18375
18376 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18377
18378         * LaTeX.h: yet another std:: that Allan forgot.
18379
18380         * Variables.C (set): renamed from isset(), because this clashes
18381         with some HP-UX macros (grr).
18382
18383 2001-02-06  Allan Rae  <rae@lyx.org>
18384
18385         * LaTeX.h: Another bug fix.  Missing std:: this time.
18386
18387 2001-02-04  Allan Rae  <rae@lyx.org>
18388
18389         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18390         floats problem. I've left it commented out because it's not quite
18391         correct.  It should also test that the current object is a table or
18392         figure inset.  But I haven't gotten around to figuring out how to do
18393         that.  I *think* it'll be something like: "table" == inset.type()
18394
18395         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18396         bool.
18397
18398 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18399
18400         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18401         all the citation/databases/styles in the auxilary file.
18402         (run): Rerun latex if there was a babel language error.
18403
18404 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18405
18406         * text.C (Backspace): Preserve the font when changing newline char
18407         with a space.
18408         (BreakParagraph): If the cursor is before a space, delete the space.
18409
18410         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18411
18412 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18413
18414         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18415         new argument (code).
18416         (ChangeCitationsIfUnique): New method.
18417
18418         * paragraph.C (GetPositionOfInset): Handle bibkey.
18419
18420 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18421
18422         * BufferView_pimpl.h: change type of Position::par_pos to
18423         LyXParagraph::size_type.
18424
18425 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18426
18427         * BufferView_pimpl.C (savePosition, restorePosition): Write
18428         messages to minibuffer.
18429
18430 2001-01-28  José Matos  <jamatos@fep.up.pt>
18431
18432         * buffer.C (makeDocBookFile): adds support for document language.
18433         A silly restriction on the name of LatexCommand types where removed.
18434         Added support for CDATA sections, allows to chars unescaped, used
18435         among others in code, to avoid escape < and >.
18436
18437 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18438
18439         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18440         saved positions instrad of a stack. Furthermore, a position is
18441         stored using paragraph id/paragraph position.
18442
18443         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18444         Remove LFUN_REF_BACK.
18445
18446 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18447
18448         * converter.C (dvipdfm_options): New method.
18449
18450 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18451
18452         * vspace.C (isValidLength): Fix for empty input string.
18453
18454 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18455
18456         * LyXAction.C (init): change description of LFUN_FIGURE to
18457         "Insert Graphics"
18458
18459 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18460
18461         * LaTeX.C: add using directive
18462
18463 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18464
18465         * MenuBackend.C (expand): Fix the sorting of the formats.
18466
18467 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18468
18469         * lyx_main.C: tiny error message fix
18470
18471 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18472
18473         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18474         calling fl_initialize(). This fixes the problem with ',' as
18475         decimal separator in text files.
18476
18477 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18478
18479         * trans.C (process): Fix the keymap bug.
18480
18481 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18482
18483         * LaTeX.C (scanAuxFiles): New method. Provides support for
18484         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18485         (scanLogFile) Scan for "run BibTeX" messages.
18486
18487         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18488         OT1 font encoding. Also, load the aecompl package if the ae
18489         package is loaded.
18490
18491         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18492
18493 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18494
18495         * texrow.C (increasePos): turn two error messages into debug
18496         messages.
18497
18498 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18499
18500         * LaTeX.C (scanAux): Handle the \@input macro.
18501         (runBibTeX): Use scanAux().
18502
18503         * language.C (latex_options_): New field.
18504
18505         * LaTeXFeatures.C (getMacros): Add language macros.
18506
18507         * buffer.C (makeLaTeXFile): Small fix.
18508
18509 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18510
18511         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18512
18513         * text2.C: add a using directive.
18514
18515 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18516
18517         * BufferView2.C:
18518         * lyx_gui_misc.h:
18519         * lyxfr1.C:
18520         * lyxfunc.C: kill LyXBell.
18521
18522 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18523
18524         * text.C (IsBoundary): Remove the error message
18525
18526         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18527
18528         * lyxrc.C (setDefaults): Correct initialization value for
18529         font_norm_type.
18530
18531 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18532
18533         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18534         gotoError().
18535
18536         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18537         and GotoNextNote().
18538
18539         * src/LyXAction.C: Added reference-next.
18540
18541         * text.C (InsertChar): Use contains instead of strchr.
18542
18543         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18544
18545 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18546
18547         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18548         alignment commands (when needed).
18549
18550         * text.C (InsertChar): Add ':' to number separator chars.