]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix bug 2146
[lyx.git] / src / ChangeLog
1 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text2.C (makeFontEntriesLayoutSpecific): remove.
4         (setLayout): adapt.
5
6         * text.C (insertChar): remove bogus caching of fonts (did not do
7         anything). 
8
9         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
10         ALL_SANE). (bug 2146)
11
12 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13
14         * rowpainter.C (paintFirst): fix centering of
15         LABEL_CENTERED_TOP_ENVIRONMENT. 
16
17 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * BufferView.C (mouseSetCursor): new method. Calls
20         deleteEmptyParagraphMechanism if necessary.
21
22         * lyxtext.h: make deleteEmptyParagraphMechanism public.
23
24         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
25         BufferView::mouseSetCursor (bug 2109).
26         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
27
28 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
29
30         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
31         do not remove it (this inset behaves differently from the others).
32
33 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         Fix bug 2096.
36         
37         * BufferView_pimpl.C (getStatus): it is only possible to insert a
38         file in a text inset.
39
40         * buffer.C (readDocument): remove pit argument and code releated
41         to it; set the inset owner correctly (unrelated, but useful).
42         (readFile): get rid of pit argument.
43
44         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
45         textclass instead of a selection index.
46         (pasteParagraphList): new function.
47         (pasteSelection): make it a wrapper around pasteParagraphList.
48
49         * BufferView_pimpl.C (MenuInsertLyXFile): use
50         cap::pasteParagraphList to insert a file.
51
52 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
53
54         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
55
56 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
57
58         * exporter.C: fix typo in text message
59
60 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
61
62         * text2.C (setLayout): move recUndo call to other setLayout method
63         * tabular.C (toggleFixedWidth): new, handle cell width changes
64         * tabular.C (setColumnPWidth): move some code from insettabular.C here
65         and use toggleFixedWidth
66         * tabular.C (setMColumnPWidth): ditto
67
68 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
69
70         * paragraph.C (asString): use new inset->textString method (fix
71         bug 2089) 
72
73 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * CutAndPaste.C (numberOfSelections): new helper function.
76
77         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
78
79         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
80         LyXFunc::getStatus; implement LFUN_PASTE.
81
82 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
83
84         * dociterator.[Ch]: new member realInset() that returns the cell
85         for tabulars and the inset for the rest (bug 1952).
86         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
87         (bug 1952).
88
89 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
92
93 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
94
95         * lyxfunc.C:
96         * paragraph.C:
97         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
98         argument.
99
100 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
101
102         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
103         line after typing ctrl-enter
104
105 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
106
107         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
108         math insets do not return a proper editable() state yet (bug 2124).
109
110 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
111
112         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
113         docs containing very large paragraphs.
114
115 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
116
117         * cursor.C (selectionBegin, selectionEnd):
118         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
119         cursor at different depths.
120
121 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
122
123         * bufferview_funcs.C (coordOffset): do not call cursorPos
124         for collapsed collapsables (fix bug 2094).
125
126 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * paragraph.C (fontSpan): make sure that the FontSpan does not
129         span across beginOfBody (bug 1947).
130
131 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
134
135 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
136
137         * messages.C: fix crash and localization on MinGW/Windows platform
138
139 2005-11-02  Angus Leeming  <leeming@lyx.org>
140
141         * Bidi.C:
142         * lyxtextclass.C: trivial fixes to some MSVS warnings.
143
144 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * text3.C (getStatus): re-enable disabled code. (bug 2081)
147
148         * BranchList.h (empty): constify.
149
150 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * text3.C (getStatus): 
153         * MenuBackend.C (expandBranches): take the branch list from the
154         master document (bug 2092).
155         
156         * MenuBackend.C (expandBranches): 
157         * bufferparams.C (writeFile): use BranchList type.
158
159 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * text3.C (dispatch, getStatus): 
162         * LyXAction.C (init): 
163         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
164
165 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
168
169 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * text.C (insertChar): do not reset boundary (bug 2061)
172
173 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         * dociterator.C (updateInsets): new method. Updates the inset_
176         cache of all the slices of the iterator.
177
178         * text2.C (deleteEmptyParagraphMechanism): compare also containing
179         insets when comparing pit/pos; pass the right cursor to
180         recordUndo; when a paragraph has been deleted, compare `old.top()' to
181         the right cursor slice of `cur'; use updateInsets on cur to make
182         sure that the inset caches are correct; general cleanup.
183
184 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
187         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
188         containg inset. If this does not work, the same command will be
189         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
190
191         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
192         a dispatch.
193
194 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
195
196         * lyxtextclass.C (Read): convert layout file if the format is wrong
197         * lyxtextclass.C (layout2layout): new, needed for the above
198
199 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * messages.C: do not forget to include <cerrno>.
202
203 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
204
205         * dociterator.h (StableDocIterator): add access to pos().
206         * undo.C (samePar): new method to check if two
207         iterators are in the same paragraph
208         * undo.C (recordUndo): check for samePar instead of cell identity
209         (which includes pos() and is too strict) (fixes bug 2097)
210
211 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * text.C (setCursorFromCoordinates): return a bool telling whether
214         dEPM triggered.
215
216         * text3.C (cursorPrevious): update if needed after
217         setCursorFromCoordinates (when dEPM triggered).
218
219         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
220         (otherwise the anchor may be completely wrong and make dEPM assert).
221
222 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
223
224         * buffer.C: version upgrade to 245.
225         * bufferparams.C: remove \quotes_times (bug 2090).
226         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
227         quotation marks as default.
228
229 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
230
231         * CutAndPaste.C (nrOfParagraphs): remove (unused)
232         * CutAndPaste.C (cutSelection): Remove debug message
233         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
234         undo information and only copy if this is a real cut
235         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
236         call
237         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
238         (bug 2059)
239         * CutAndPaste.C (eraseSelection): prevent cursor corruption
240         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
241         superflous cur.selection() setting
242         * CutAndPaste.[Ch] (grabSelection): take a const cursor
243         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
244
245 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
246
247         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
248         change anything.
249
250 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * BufferView_pimpl.C: comment layout change
253
254 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
255
256         * LyXAction.C:
257         * lfuns.h:
258         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
259         by bibliography managers (bug 2071).
260
261 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
262
263         * BufferView_pimpl.C (update): choose arguments to update call so
264         that single-par update works most times
265         * text3.C (dispatch): carefully tune updating separately for
266         whole-screen and current-paragraph
267         * rowpainter.C (paintText): 1) replace painting by caching for
268         the two extra paragraphs, because we can;
269         2) suppress greying out of areas below/above drawn area in case of
270         single-par refresh
271         * lyxfunc.C (dispatch): remove superfluous update
272         * LyXAction.[Ch]: introduce SingleParUpdate
273
274 2005-10-05  Angus Leeming  <leeming@lyx.org>
275
276         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
277         always initialised before use.
278
279         * text.C (setHeightOfRow): squash warning about comparison
280         of signed and unsigned types.
281
282 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
283
284         * text.C (cursorX): two fixes involving RtL text drawing
285
286 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
289         items, not only large ones (part of bug 2057)
290
291 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
294         argument, use "newcommand".
295
296 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
297
298         * cursor.C (setSelection): do not open collapsable insets;
299         the insets do by themselves now (autoopen).
300
301 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
302
303         * buffer.C: format is up to 244.
304
305 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
306
307         * text.C (redoParagraph): fix calcultation of inset width wrt 
308         leftMargin (bug 1957).
309
310         * text3.C (dispatch): leave inset to the right when hitting ESC 
311         (bug 2034).
312
313 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * text2.C: 
316         * text.C: 
317         * factory.C:
318         * messages.C: include <boost/current_function.hpp> 
319
320 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
321
322         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
323         when command is internal. (bug 1941)
324
325 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
326
327         * text2.C (cursorRight): do not honor boundary when at the end of
328         a paragraph. (bug 2010 again)
329
330 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
333
334 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * rowpainter.C (paintText): fix RtL space width display bug (2029)
337
338 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
339
340         * text2.C (setCursor): remove the unused 'boundary' parameter for
341         the CursorSlice version; adapt the LCursor version.
342
343         * lyxrc.C (write): 
344         * paragraph_pimpl.C (markErased): 
345         * cursor.C (bruteFind2, bruteFond3): fix warnings.
346
347 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
350         as is already done for "chapter".
351
352 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
353
354         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
355         textclass; do not record undo if nothing is changed.
356
357 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
358
359         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
360
361 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
362
363         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
364
365 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
368         combox, it is necessary to search for the topmost paragraph in the
369         cursor stack (bug 1926)
370
371 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
374         end of paragraph. (bug 2010)
375
376 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
377
378         * text.C (leftMargin): check for inInset == 0
379
380 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
381
382         * text.C (leftMargin): test for insetbase's new neverIndent()
383         bool instead of listing each and every inset that does not
384         wish par indendation.
385
386 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
387
388         * buffer_funcs.C (setCounter): put the code to compute enum label
389         here (where it belongs).
390
391         * counters.C (enumLabel): move code to buffer_funcs.C.
392
393 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
394
395         * outputparams.[Ch]: store local_font instead of local_language
396         * paragraph.C (simpleTeXOnePar): adapt to the change above
397
398 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
399
400         * buffer_funcs.C:
401         * counters.[Ch]: clean up special code for Hebrew.
402
403 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
406         than 2.
407
408 2005-09-08  Angus Leeming  <leeming@lyx.org>
409
410         * ispell.C:
411         * lyxrc.C: correct grammar describing invocation of the
412         spellchecker.
413
414 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * text.C (read): remove unused variable.
417         (readParToken): remove static Change variable (never good in
418         recursive settings...); add it as a parameter instead.
419
420         * paragraph_pimpl.C (acceptChange): make debug info conditional.
421
422         * metricsinfo.C (PainterInfo): add new member erased_.
423
424         * rowpainter.C (RowPainter): add erased_ member, initialized from
425         PainterInfo. 
426         (paintInset): pass erased_ to Inset::draw.
427
428         * lyxfunc.C (lookupChange): new function. Tells whether change 
429         tracking is disabled at a given postion.
430         (getStatus): disable some actions when in deleted text with change
431         tracking. 
432
433 2005-08-03  John Levon  <levon@movementarian.org>
434         
435         * tabular.C (appendColumn, setMultiColumn): adapt to change to
436         InsetText::clear().
437
438         * paragraph_pimpl.C (markErased): add bool argument and handle it.
439         Also make sure to mark insets recursively.
440         (rejectChange, erase): be recursive
441
442         * paragraph.C (markErased): add bool argument.
443 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * lyxfind.C (findNextChange): tiny cleanup.
446
447         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
448         change tracking with the cursor in an inset; make sure the first
449         change is not skipped.
450
451 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
452
453         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
454         tabularStackDirty to work around bug 1919 (tabular needs
455         to know whether its own cell paste buffer or the one of 
456         texted is newer.
457         * CutAndPaste.C: mark tabular_stack_ clean after copy.
458
459 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
460
461         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
462
463 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
464
465         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
466         use old deleteion algorithm when changetracking is on.
467
468 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
469
470         * messages.C (get): add debug output.
471
472 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
473
474         * text.C (cursorX): fix bug 1965: cursor movement at
475         line end broken in RtL.
476         (drawSelection): fix bug 1970: drawing of single-line 
477         selection broken for RtL.
478
479 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
480
481         bug 465.
482
483         * dociterator.h (clear, push_back, pop_back): change from
484         protected to public.
485
486         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
487         and changed to just return the value of the item depth; take a
488         ParIterator as argument; take the itemdepth at outer nesting level
489         in account if necessary; cleanup and comment the code.
490         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
491         and changed to just return true if reset is needed; take a
492         ParIterator as argument; cleanup and comment the code.
493         (setCounter): adapt to above changes.
494
495 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         * text3.C (dispatch): make debug message optional
498
499 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
500
501         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
502         inset. (bug 1963)
503
504 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
505
506         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
507
508 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
509
510         * text.C (insertChar):
511         * text2.C (deleteEmptyParagraphMechanism): take care whether 
512         a blank has been deleted (in change tracking mode) (bug 1254).
513
514 2005-07-20  John Levon  <levon@movementarian.org>
515
516         * text2.C (insertStringAsLines): remove old dubious code,
517         fixing bug 1939.
518
519 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
520
521         * MenuBackend.C (expandToc): use Floating::listName() as title of
522         the floats submenus.
523
524 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
525
526         * toc.[Ch]: Do not use translatable strings (bug 1870).
527
528 2005-07-20  John Levon  <levon@movementarian.org>
529
530         * tabular.C: fix 1748 - setting multicolumn adds
531           left line to the first cell
532
533 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
534
535         bug 1920
536         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
537         pars in one go.
538
539 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
540
541         * messages.C: supress some lyxerr messages
542
543 2005-07-18  Juergen Vigna  <jug@lyx.org>
544
545         * text.C (drawSelection): honor boundary when asking for cursorX.
546
547 2005-07-17  José Matos  <jamatos@fc.up.pt>
548
549         * tabular.C (recalculateMulticolumns): fix handling of one column
550         tables.
551
552 2005-07-17  Juergen Vigna  <jug@lyx.org>
553
554         * text.C (Delete, backspace): fixed so that paragraph with the
555         same layout can be merged by Delete/Backspace.
556
557 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
558
559         * text.C (readParToken): fix spelling.
560
561 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
562
563         * text2.C: fix counter update for DEPM problem reported by
564         Georg Baum
565
566 2005-07-17  Juergen Vigna  <jug@lyx.org>
567
568         * BufferView_pimpl.C (setBuffer): save/restore the
569         cursor/selection when switching buffers
570
571         * buffer.h: 
572         * buffer.C (saveCursor): add saveDocumentIterators to save the
573         cursor when switching buffer.
574
575 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
576
577         * debug.C: fix typo
578         * buffer.C: clarify message
579         
580 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
581
582         * dociterator.C (DocIterator): fix initialization order
583
584 2005-07-17  Juergen Vigna  <jug@lyx.org>
585
586         * text2.C (cursorHome): 
587         * text.C (drawSelection, cursorX): 
588         * dociterator.C (textRow): add boundary to getRow() call
589
590         * paragraph.C (getRow): implementation of below
591
592         * paragraph.h: add parameter boundary for getRow() function
593
594 2005-07-17  José Matos  <jamatos@fc.up.pt>
595
596         * buffer.C:
597         * bufferparams.[Ch]:
598         * tex-strings.[Ch]: new file format, remove support for a4.sty,
599         a4wide.sty and a4widemargins.
600
601 2005-07-17  Juergen Vigna  <jug@lyx.org>
602
603         * text2.C (cursorLeft): fix one of error
604
605 2005-07-17  Juergen Vigna  <jug@lyx.org>
606
607         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
608                    cursorEnd):
609         more fixes for boundary handling
610
611         * text3.C (dispatch): don't reset cursor if boundary has changed
612         on cursor movement.
613
614 2005-07-16  Juergen Vigna  <jug@lyx.org>
615
616         * text2.C (getColumnNearX): hopefully got it right now,
617         check if we are on column 0 for special case.
618
619 2005-07-16  Juergen Vigna  <jug@lyx.org>
620
621         * text2.C (getColumnNearX): handle special case Newline Inset
622
623         * text.C (singleWidth): Just remove bogus check
624
625 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
626
627         * funcrequest.C (split): avoid reading uninitialized char c
628
629 2005-07-16  José Matos  <jamatos@fc.up.pt>
630
631         * buffer.C:
632         * converter.C:
633         * lyxrc.C:
634         * paper.h:
635         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
636         single papersize variable.
637
638 2005-07-16  Juergen Vigna  <jug@lyx.org>
639
640         * text3.C (dispatch): honor boundary when checking if a cursor
641         movement has been done
642
643         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
644         (setCursor, setCursorIntern): fix cursor movement with boundary
645
646 2005-07-16  Juergen Vigna  <jug@lyx.org>
647
648         * text.C (currentState): output the actual Boundary
649
650 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
651
652         * factory.C (createInset): fix bad logic for tabular creation
653
654 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
655
656         * lyx_main.C (init): change some reLyX reference to tex2lyx
657
658 2005-07-16  Juergen Vigna  <jug@lyx.org>
659
660         * dociterator.C (DocIterator): initialize boundary
661
662 2005-07-16  Juergen Vigna  <jug@lyx.org>
663
664         * text2.C (getColumnNearX): Consider rows without trailing blank.  
665
666 2005-07-16  André Pönitz  <poenitz@gmx.net>
667
668         * lyxfont.h: Change order of declarations to give the compiler
669         a better chance to inline things
670
671         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
672         questions on unsaved docs for better scritability
673
674 2005-07-16  André Pönitz  <poenitz@gmx.net>
675
676         * paragraph.h (getChar): remove asserts as the same kind of security
677         can be achieved by using a suitable standard library implementation
678         and the function was in the critical path (25.9% in profiler)
679
680 2005-07-16  Juergen Vigna  <jug@lyx.org>
681
682         * cursor.C (bruteFind2):
683         * bufferview_funcs.C (coordOffset): 
684         * text.C (cursorX,cursorY): Handle cursor position after last char
685         in row before a inset which uses a whole row.
686
687 2005-07-15  José Matos <jamatos@lyx.org>
688
689         * output_plaintext.[Ch] (writeFileAscii): control reference title
690         printing.
691         (asciiParagraph): noparbreak was already deal and was incorrectly
692         used.
693
694 2005-07-15  Juergen Vigna <jug@lyx.org>
695
696         * lyxfunc.C (dispatch): save and restore the cursor after a
697         textclass switch.
698
699 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
700
701         * text.C (backspace): bug 806 for empty keepempty paragraphs we
702         change the layout to default before letting DEPM do its thing.
703
704         * paragraph_funcs.C (breakParagraph): dont reset the layout on
705         keepEmpty paragraphs
706
707         * text.C (setCursorFromCoordinates): add a debug statement
708
709         * text2.C (getColumnNearX): bug 1825 make sure that we don't
710         return a pos that is not on the row
711
712         * output_latex.C (TeXDeeper): get rid of potential dereferencing
713         of past the end iterator
714
715 2005-07-14  André Pönitz  <poenitz@gmx.net>
716
717         * undo.C (recordUndoFullBuffer): implement undo for
718         textclass switches
719
720 2005-07-14  André Pönitz  <poenitz@gmx.net>
721
722         * cursor.C (setSelection): open insets when selection is set there
723         to avoid crashs with cold coord cache
724
725 2005-07-14  André Pönitz  <poenitz@gmx.net>
726
727         * trans_mgr.C (insert): move cursor to the right after inserting
728         a char.
729
730 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
731
732         * BufferView_pimpl.C (update): dampen some of the debug blabbering
733         * factory.C (readInset): ditto
734         * text.C, text2.C: ditto
735
736 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
737
738         * buffer.C: format incremented to 242. There is no file format per
739         se, but the "frenchb" language has been removed from lib/language
740         and has to be translated to "french" by lyx2lyx.
741
742 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
743
744         * cursor_slice.h, dociterator.h: add some documentation
745         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
746
747 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
748
749         * text.C (leftMargin): do not add identation to display() style
750         insets, because they are always centered (bug 1293).
751
752 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
753
754         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
755         formatted_time methods in support/lyxtime.
756
757 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
758
759         * toc.[Ch]: new method getGuiName, which is used by the frontends 
760         to set the toc combo (fixes bug 1870). Make TOC string translatable.
761
762 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
763
764         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
765         StableDocIterator const &)
766         * undo.C (recordUndo): use the above instead of cell.size() comparison
767         (fixes bug 1808; instructed by Andr�.
768
769 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
770
771         * cursor_slice.h: 
772         * dociterator.h: Fix the assert when copying rows/cols in math
773
774 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
775
776         * BufferView_pimpl.C:
777         * LyXAction.C:
778         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
779
780         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
781         (findInset): new functions, refactored from goto Inset that return 
782         the position of a certain inset without setting the buffer's cursor
783         (by Jean-Marc); 
784         (gotoInset): rewrite to call findInset and then set the cursor
785         (by Jean-Marc).
786
787 2005-06-16  Angus Leeming  <leeming@lyx.org>
788
789         * lyxrc.C (output, read): wrap all input and output of paths with
790         calls to os::internal_path and os::external_path, respectively.
791         (output): wrap bind_file inside quotes.
792
793         * format.C (view): enable the viewer to use the '$$s' placeholder.
794
795 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
796
797         * LColor.[Ch] (getFromLaTeXName): new
798
799 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
800
801         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
802
803 2005-06-14  Angus Leeming  <leeming@lyx.org>
804
805         * lyx_main.C (init): ensure that the LyX binary dir is the first
806         element in the PATH on non-POSIX builds.
807
808 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
809
810         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
811
812 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * rowpainter.C (paintInset, paintHebrewComposeChar)
815         (paintArabicComposeChar, paintChars): add a LyXFont argument.
816         (paintChars): use getFontSpan to reduce calls to getFont to a
817         minimum; use Paragraph::lookupChange instead of isXXXText.
818         (paintForeignMark): rename LyXFont argument.
819         (paintFromPos): pass a LyXFont object to the various paintXXX
820         methods.
821
822         * FontIterator.C (FontIterator, operator++): use
823         Paragraph::getFontSpan
824
825         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
826         version that returns the font span as a pair.
827
828 2005-06-09  Angus Leeming  <leeming@lyx.org>
829
830         * converter.C (convert): Don't forget "outfile = real_outfile" as
831         the final step in a conversion where the input and output file names
832         are the same. Otherwise, future conversion steps won't work...
833
834 2005-06-09  Angus Leeming  <leeming@lyx.org>
835
836         * lyxsocket.C: remove stub code as it isn't needed by
837         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
838
839 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
840
841         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
842         effectively disabled -x
843
844 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
845
846         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
847         when it actually makes sense.
848
849 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
850
851         * BufferView_pimpl.C: revert to showCursor in connection with
852         Lars's front-end stack
853
854 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
855
856         * text.C (redoParagraph): move cursor right after a bibitem
857         has been inserted.
858
859         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
860
861 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
862
863         * buffer_funcs.C (bufferErrors): fix computation of the end of an
864         error range.
865
866 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
867
868         * BufferView.[Ch] (update):
869         * BufferView_pimpl.[Ch] (update, metrics):
870         * dimension.h (operator==):
871         * lyxfunc.C (dispatch):
872         * metricsinfo.h (ViewMetricsInfo):
873         * rowpainter.C (paintText):
874         * lyxtext.h:
875         * text.C (redoParagraph):
876         * text3.C (dispatch): Make LyX only repaint current paragraph in
877         case of character insert --> speedup. Also fix cursor draw
878         artifacts
879
880 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
881
882         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
883         avoid a crash (bug 1891)
884
885 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
886
887         Fix bug 1892:
888
889         * text2.C (getStringToIndex): constify cur argument.
890
891         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
892         argument has been given
893         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
894         try to invoke LFUN_INSET_APPLY).
895
896         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
897         if no inset was created by doInsertInset
898         (doInsertInset): return true if an inset has been inserted.
899
900 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
901
902         * vspace.C (asGUIName): new method. A version of the space
903         suitable for showing on screen.
904
905 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
906
907         * MenuBackend.C:
908         * lyxrc.C: rename "ASCII" to "Plain Text"
909
910 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
911
912         * buffer_funcs.C (expandLabel): take a Buffer as argument;
913         translate the labelstring.
914         (setCounter): translate labelstring as needed.
915
916         * output_docbook.C (makeCommand): fix expandLabel invokation
917
918 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
919
920         * BufferView.C: fix dialog title
921
922 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
923
924         * lyx_main.C (priv_exec): fix logic error with help from Angus
925         * lyx_main.C (parse_execute): set is_gui = false and remove now
926         obsolete comment about a segfault
927
928 2005-05-18  Angus Leeming  <leeming@lyx.org>
929
930         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
931
932 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
933
934         * tabular.[hC]: added setCellInset to fix tabular paste.
935
936 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
937
938         * buffer.C (save): check if destination is writable before trying
939         to copy a file
940
941 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
942
943         * BufferView_pimpl.C (update): fix processEvents -caused update
944         recursion bug
945
946 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
947
948         * buffer_funcs.C (setCounter): fix test for numbering of
949         environments.
950
951         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
952         depth correctly; use optional argument when it exists
953
954         * lyxtextclass.C: remove unused MaxCounterTags enum
955         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
956         (max_toclevel, min_toclevel): new methods.
957
958         * MenuBackend.C (expandToc2): fix case where depth is smaller than
959         the smallest depth in toc.
960
961         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
962         layouts that should not appear in a table of contents.
963
964 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
965
966         * cursor.h (undispatched, noUpdate): add comments from Andr�
967 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
968
969         * lfuns.h:
970         * LyXAction.C:
971         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
972
973 2005-05-07  André Pönitz  <poenitz@gmx.net>
974
975         * cursor.[Ch] (leaveInset): new function
976
977 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
978
979         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
980
981 2005-05-04  Angus Leeming  <leeming@lyx.org>
982
983         * lyxfunc.C (getStatus): disable the spell checker dialog if
984         none of USE_[AIP]SPELL are defined.
985
986 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
987
988         * tabular.C (setWidthOfCell): remove obsolete comment
989
990 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
991
992         * paragraph.C (bibitem):
993         * buffer_funcs.C (setCounter):
994         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
995
996 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
997
998         * text3.C (getStatus): immediately return after setOnOff
999
1000         * rowpainter.C: fix drawing of appendix start
1001
1002 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1003
1004         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1005         SwitchBetweenClasses and remove the unused return value.
1006         Handle character styles, too
1007
1008 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1009
1010         * factory.C (createInset): handle undefined character styles
1011
1012 2005-05-02  Angus Leeming  <leeming@lyx.org>
1013
1014         * buffer.C: protect the #include of utime.h with a preprocessor
1015         guard.
1016
1017 2005-05-02  Angus Leeming  <leeming@lyx.org>
1018
1019         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1020         function so that auto-saving works, albeit in a blocking manner.
1021
1022         * Makefile.am: make compilation of the client sub directory, of
1023         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1024         on conditionals set at configure time.
1025
1026         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1027         it can be compiled in its own right but has no-op functionality.
1028
1029         * aspell.C, pspell.C: remove preprocessor guards. The files should
1030         be compiled only if the necessary functionality exists.
1031
1032         * lyxserver.C, lyxsocket.C: disable on Windows.
1033
1034 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1035
1036         * text.C (leftMargin): Fix the parindent use bug (1764)
1037         by dirty trick
1038
1039 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1040
1041         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1042         argument.
1043
1044 2005-04-25  Angus Leeming  <leeming@lyx.org>
1045
1046         * Bidi.[Ch]:
1047         * coordcache.[Ch]:
1048         * ispell.C:
1049         * lyxserver.C:
1050         * mover.C:
1051         * pch.h:
1052         include <config.h> in .C files, not .h ones.
1053         add licence blurb.
1054         protect headers inside preprocessor guards.
1055
1056 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1057
1058         * FuncStatus.h (StatusCodes): document
1059
1060 2005-04-21  André Pönitz  <poenitz@gmx.net>
1061
1062         * FuncStatus.h (enabled, onoff): document
1063
1064 2005-04-19  Angus Leeming  <leeming@lyx.org>
1065
1066         * BufferView_pimpl.C (cursorToggle): no longer test whether
1067         any child processes have been reaped before calling
1068         handleCompletedProcesses().
1069
1070 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1071
1072         * text3.C (dispatch): fix, finally fix, the language problem in
1073         new lyxtexts, without disabling on-the-fly font changes (Helge's
1074         bug report)
1075
1076 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1077
1078         * text3.C (dispatch): set cursor on double/triple click events
1079         (bug 1811)
1080
1081 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1082
1083         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1084         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1085
1086         * rowpainter.C (paintFirst): simplify the code a little bit. In
1087         particular, remove the test for secnumdepth.
1088         * text.C (setHeightOfRow): only allocate space for chapter number
1089         when updateCounters provided an actual label, instead of looking
1090         at secnumdepth directly.
1091
1092         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1093
1094         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1095         paragraphs when secnumdepth is large enough or, for environments,
1096         when they are not the first in a sequence.
1097
1098 2005-04-17  Angus Leeming  <leeming@lyx.org>
1099
1100         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1101         containing space and '~' characters with a call to latex_path().
1102
1103 2005-04-17  Angus Leeming  <leeming@lyx.org>
1104
1105         * converter.C (convert): protect all args of convertDefault.sh
1106         script with quotes.
1107
1108 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * text3.C (dispatch): change the layout to "Caption" after inserting
1111         a float.
1112
1113 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * text3.C (dispatch): fix language problem in newly created
1116         textinsets (and main text) in non-english docs
1117
1118 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1119
1120         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1121         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1122         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1123
1124 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1125
1126         * lyxtext.h:
1127         * text.C (metrics):
1128         * text2.C (getFont):
1129         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1130         fonts fix
1131
1132 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1133
1134         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1135         output of \item arguments without trailing text.
1136
1137 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1138
1139         * FontIterator.C (operator*): avoid a copy of the font.
1140
1141 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1142
1143         * rowpainter.C (getFont): fix language bug from previous fix
1144
1145 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1146
1147         * rowpainter.C (RowPainter, getFont): fix font inside inset
1148         (bugs 1766, 1809)
1149
1150 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1151
1152         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1153         preventing inserted font, deco, delim insets jumping to start of
1154         surrounding inset.
1155
1156 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1157
1158         * lyxfunc.C (dispatch): translate message before sending it to the
1159         minibuffer.
1160
1161 2005-03-29  Angus Leeming  <leeming@lyx.org>
1162
1163         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1164         to LyX on the command line.
1165
1166 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1167
1168         * vc-backend.C: use QuoteName to protect file names wherever
1169         necessary.
1170
1171 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * buffer.[Ch]:
1174         * BranchList.h: fix bugs 1844,1845: document settings don't
1175         stick
1176
1177 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1178
1179         * lyxrc.C (setDefaults, read, output, getDescription): add support
1180         for tex_allows_spaces.
1181
1182         * exporter.C (Export): allows files in directory containing spaces
1183         if tex_allows_spaces is true.
1184
1185         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1186         output it in double quotes.
1187
1188 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1189
1190         * rowpainter.C: use default text height for drawing change tracker
1191         strikeout lines.
1192
1193 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1194
1195         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1196
1197 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1198
1199         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1200         directory is missing.
1201
1202 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1203
1204         * text2.C: fixed the fix, extended to other case.
1205
1206 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1207
1208         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1209
1210 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1211
1212         * text2.C (cursorUp): get rid of a crash
1213         * text.C (x2pos): add an assert
1214
1215 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1216
1217         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1218
1219         * text3.C:
1220         * lyxfunc.C:
1221         * dociterator.C: include <boost/current_function.hpp>, which is
1222         needed when assertions are disabled.
1223
1224 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1225
1226         * text2.C: fix for stuck cursor when traversing two
1227         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1228
1229 2005-02-25  Andreas Vox  <avox@arcor.de>
1230
1231         * output_docbook.C (makeParagraph): suppress trailing newline
1232         after a run of paragraphs
1233
1234 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1235
1236         * paragraph.C: fix for confused change tracker when pasting
1237         text that begins with a lineseparator. [bug 1827]
1238         (setChange(0, Change::INSERTED);)
1239
1240         * paragraph_funcs.C: fix for lost changes on triple-paste
1241         in change tracking mode [bug 1827] (par.setChange()).
1242
1243 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1244
1245         * text2.C (updateCounters, setCounter, expandLabel): move to
1246         buffer_funcs.
1247
1248         * buffer_funcs.C (updateCounters): turn into a free standing
1249         function and add a buffer parameter. Remove dead code for tracking
1250         labelstring change.
1251         (setCounter): change into a free-standing function which gets a
1252         dociterator as argument. Use this iterator to fix captions in a
1253         simple way. When no float is found above the caption, use the
1254         labelstring of the caption layout as default.
1255
1256         * text.C (breakParagraph, backspace):
1257         * text2.C (init, setLayout, changeDepth):
1258         * text3.C (dispatch):
1259         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1260         updateCounters.
1261
1262         * dociterator.C (forwardPar): make it much faster by calling
1263         forwardPos() only when really necessary.
1264
1265         * output_docbook.C (makeCommand): adapt to expandLabel move.
1266
1267         * cursor.C: remove unused variable
1268
1269 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1270
1271         * paragraph_funcs.C: fix crash when pasting insets in change
1272         tracking mode [bug 1277] (honour change type in moveItem).
1273
1274 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1275
1276         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1277
1278 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * BufferView.C (setCursor): change to use a DocIterator.
1281         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1282         (putSelectionAt): adapt to BufferView::setCursor change.
1283
1284         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1285         moved here from LyXText and rewritten to use proper cursor
1286         methods. Fixes bug 1787, 616 and 835.
1287
1288         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1289         when inside an inset (part of bug 781).
1290         (dispatch): adapt to change of BufferView::setCursor.
1291         (getStatus, dispatch): handle LFUN_GOTOERROR,
1292         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1293
1294         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1295         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1296         * text3.C (gotoNextInset, gotoInset): removed.
1297
1298 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1301
1302 2005-02-15  Angus Leeming  <leeming@lyx.org>
1303
1304         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1305         can be used meaningfully in a comparison.
1306
1307 2005-02-13  André Pönitz  <poenitz@gmx.net>
1308
1309         * bufferview_funcs.C (coordOffset): improve cursor drawing
1310
1311 2005-02-13  André Pönitz  <poenitz@gmx.net>
1312
1313         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1314         * Cursor.C (dispatch): use fixIfBroken
1315         * lyxfunc.C (getStatus): use fixIfBroken
1316
1317 2005-02-15  Angus Leeming  <leeming@lyx.org>
1318
1319         * lyx_main.C (error_handler):
1320         * lyxfunc.C:
1321         * lyxrc.C (setDefaults):
1322         s/GetEnv/getEnv/.
1323         #include "environment.h".
1324
1325         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1326
1327 2005-02-15  Angus Leeming  <leeming@lyx.org>
1328
1329         * lyxserver.C (startPipe): squash MSVC warning "local variable
1330         'fd' used without having been initialized".
1331
1332 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1333
1334         * BufferView_pimpl.C: revert accidental commit.
1335
1336 2005-02-14  André Pönitz  <poenitz@gmx.net>
1337
1338         * dociterator.[Ch]: new member forwardPosNoDescent(),
1339         which doesn't enter nested insets.
1340         * text2.C (setFont): use forwardPosNoDescent() instead
1341         of ForwardPos() (fixes crash on font change).
1342
1343 2005-02-13  Angus Leeming  <leeming@lyx.org>
1344
1345         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1346         only if lyxrc.path_prefix is not empty.
1347
1348 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1349
1350         * bufferparams.C (readGraphicsDriver): prevent crash
1351
1352 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1353
1354         * text2.C (setCounter): check for inInset() == 0
1355
1356 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1357
1358         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1359         but use update() to get correct screen display; use convert
1360         instead of istringstream.
1361         (getStatus): handle LFUN_GOTO_PARAGRAPH
1362
1363         * lyxfunc.C (dispatch, getStatus): do not handle
1364         LFUN_GOTO_PARAGRAPH here.
1365
1366 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1367
1368         * text3.C (dispatch): size() -> depth()
1369
1370         * text2.C: remove some debug output
1371
1372         * paragraph.C: ws changes only
1373
1374         * lyxfunc.C (getStatus): size() -> depth()
1375
1376         * dociterator.h (clear, push_back, pop_back, internalData,
1377         operator[], resize, empty): new functions
1378         Make StableDocIterator and operator== be friends. Don't inherit
1379         from std::vector use a privat class variable slices_ instead.
1380         Modify to fit.
1381
1382         * dociterator.C: update because of not inheriting from std::vector
1383         anymore. Call explictly to slices_ instead. Use depth() instead of
1384         size() and top() instead of back()
1385
1386         * cursor.C: chagne size() -> depth and back() -> top(). Also
1387         remove some direct operator[](i) calls in favour of foo[i]
1388         (getFont): remove some dead code
1389
1390         * bufferview_funcs.C (coordOffset): size() -> depth()
1391
1392         * buffer.C: ws changes only
1393
1394         * CutAndPaste.C (eraseSelection): back() -> top()
1395
1396         * BufferView_pimpl.C (selectionRequested): back() -> top()
1397
1398         * BufferView.C (setCursor): size() -> depth()
1399
1400 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1401
1402         * text3.C (cursorPrevious): return true if depm changed something
1403         (cursorNext): ditto
1404         (dispatch): rename sl to oldTopSlice, remove moving use the new
1405         NoUpdate func attrib instead. Make sure that needsUpdate is set
1406         for function that have NoUpdate, but where depm might have changed
1407         the buffer anyway.
1408
1409         * text2.C (cursorLeft): make us return true if depm changed
1410         something
1411         (cursorRight): ditto
1412         (cursorUpParagraph): ditto
1413         (curosrDownParagraph): ditto
1414         (cursorUp, cursorDown): ditto, make sure to read comments in code
1415         (deleteEmptyParagraphMechanism): remove an assert, also return
1416         true if just a single char was deleted.
1417
1418         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1419         cursor that we modify, to avoid modifying an active cursor before
1420         we call setCursor. This allows depm to run. Also return true if
1421         depm deleted something.
1422
1423         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1424         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1425         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1426         something was changed in the buffer because of them (ie. depm run)
1427
1428         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1429         debug messages. Make update by default be false. Make sure that
1430         the result of update is retained throught several calls down to
1431         dispatch.
1432
1433         * LyXAction.h: add a new func_attrib: NoUpdate
1434
1435         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1436         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1437         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1438         and LFUN_WORDLEFT
1439         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1440
1441 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1442
1443         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1444         bv_->owner(), bv_->buffer() by direct references to the private
1445         members.
1446         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1447         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1448         (fitCursor): center() is in BufferView::Pimpl.
1449         (getStatus, trackChanges, dispatch): no need for a temporary buf
1450         variable
1451         (fitCursor, workAreaDispatch): use workarea().workheight()
1452
1453 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1454
1455         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1456
1457 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1458
1459         * buffer.C: format up to 241.
1460         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1461         break if pasting into ERT
1462         * lyxfunc.C (getStatus): suppress mathpanel and
1463         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1464
1465 2005-02-01  Angus Leeming  <leeming@lyx.org>
1466
1467         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1468
1469 2005-02-01  Angus Leeming  <leeming@lyx.org>
1470
1471         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1472         calling fs::is_directory().
1473
1474 2005-01-31  Angus Leeming  <leeming@lyx.org>
1475
1476         * lyx_main.C (priv_exec): specify explicitly the relative location
1477         of the top level build directory when run in-place.
1478
1479 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1480
1481         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1482         LyXText containing the cursor, not the top-level one.
1483
1484         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1485         true.
1486         (insertStringAsLines): rename par to pit; use temporary variable
1487         par to hold a Paragraph; do not store par.layout() in a variable,
1488         since the pointer may die when breaking paragraphs; pass pars to
1489         breakParagraph() instead of Buffer::paragraphs().
1490
1491 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1492
1493         * lyxlex_pimpl.h: #include <fstream>.
1494
1495         * BufferView.[Ch] (getLyXText): add a const version.
1496
1497         * BufferView_pimpl.C: add debug aids.
1498
1499         * RowList_fwd.h:
1500         * buffer.h:
1501         * lyxrow.h:
1502         * paragraph_funcs.h: add commentary explaining what the class does.
1503
1504
1505         * coordcache.[Ch]: add lots of commentary.
1506         (startUpdating, doneUpdating): debug aids.
1507         (arrays, insets, parPos, getParPos): accessors to private data.
1508
1509         * cursor_slice.[Ch] (text): add a const version.
1510         * dociterator.[Ch] (text, innerText): add const versions.
1511
1512         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1513         bool.
1514
1515         * paragraph.C (getRow, pos2ros): add asserts.
1516
1517         * paragraph.h: add commentary. Lots of.
1518
1519         * paragraph.[Ch] (metrucs, draw): removed.
1520
1521         * cursor.C:
1522         * rowpainter.[Ch]: const-correct changes.
1523
1524         * text.C: various obvious clean-ups. Removal of ancient cruft.
1525         Bug fixes, even.
1526
1527 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1528
1529         * vc-backend.C (find_file): rewrite to use boost.filesystem
1530         (scanMaster): ditto
1531
1532         * main.C (main): set default name check for boost.filesystem to
1533         no check
1534
1535         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1536         (open): ditto
1537         (doImport): ditto
1538         (actOnUpdatedPrefs): ditto
1539
1540         * lyx_main.C (init): rewrite to use boost.filesystem
1541         (queryUserLyXDir): ditto
1542
1543         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1544         (getContentsOfAsciiFile): ditto
1545
1546         * lastfiles.C (readFile): rewrite to use boost.filesystem
1547
1548         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1549
1550         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1551         (loadLyXFile): ditto
1552
1553         * buffer.C (Buffer): adjust for destroydir
1554         (getLogName): rewrite to use boost.filesystem
1555         (setFileName): ditto
1556         (save): use fs::copy_file (from fs_extras)
1557
1558         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1559
1560         * LaTeX.C (run): rewrite to use boost.filesystem
1561         (scanAuxFiles): ditto
1562         (handleFoundFile): ditto
1563
1564 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1565
1566         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1567
1568         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1569
1570 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1571
1572         * lyxlayout.[Ch]: change some vars from float to double
1573
1574         * buffer.C (readFile): make a local var const
1575
1576         * Several files: use convert<> instead of atoi,strToXXX and friends
1577
1578 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1579
1580         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1581         holds the contents of packages.lst. New functions getAvailable
1582         and isAvailable to parse and check that list, resp.
1583
1584         * LyXAction.C:
1585         * lfuns.h:
1586         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1587
1588         * bufferparams.[Ch]: new param output_changes.
1589
1590         * Buffer.C: increase file format to 240.
1591         Use output_changes and isVailable.
1592
1593         * changes.[Ch]:
1594         * paragraph.C:
1595         * paragraph_pimpl.C: Use output_changes and isVailable.
1596
1597 2005-01-23  Angus Leeming  <leeming@lyx.org>
1598
1599         * output_latex.C: #include "insetbibitem.h", rather than
1600         forward declare function bibitemWidest.
1601
1602 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1603
1604         * lyx_main.C (init): make it compile on the Mac.
1605
1606 2005-01-20  Angus Leeming  <leeming@lyx.org>
1607
1608         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1609         (setLyXMisc): (char string literal) != (char string literal) is
1610         performing a comparison on the addresses. Convert one operand
1611         explicitly to string to guarantee expected behaviour.
1612         From MSVC warning.
1613
1614 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1615
1616         * buffer.C:
1617         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1618
1619         * output_plaintext.C: remove unneeded #include gzstream.h.
1620
1621 2005-01-20  Angus Leeming  <leeming@lyx.org>
1622
1623         * SpellBase.h: rename some of the elements of the Result enum.
1624
1625         * aspell_local.h:
1626         * ispell.h:
1627         * pspell.h:
1628         * aspell.C (check):
1629         * ispell.C (check):
1630         * pspell.C (check): ditto
1631
1632 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1633
1634         * buffer.C: add #include <fstream>.
1635
1636         * lyx_main.C (init): Compile fix.
1637
1638         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1639
1640 2005-01-20  Angus Leeming  <leeming@lyx.org>
1641
1642         * mover.h: change commentary to reflect the changed meaning of
1643         the $$s placeholder.
1644
1645 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1646
1647         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1648
1649         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1650
1651 2005-01-20  Angus Leeming  <leeming@lyx.org>
1652
1653         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1654         printing diagnostic data by not dereferecing an iterator past the
1655         end.
1656
1657 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1658
1659         * buffer.C (readHeader): use "&&" rather than "and".
1660
1661         * lyxserver.h (inPipeName, outPipeName): make these const.
1662
1663 2005-01-19  Angus Leeming  <leeming@lyx.org>
1664
1665         * lyx_main.C (error_handler, init): protect SIGHUP with
1666         #ifdef SIGHUP guards.
1667
1668 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1669
1670         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1671
1672 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1673
1674         * text.C (setHeightOfRow): add a margin at the top and bottom of
1675         the document (bug 1761)
1676
1677 2005-01-17  Angus Leeming  <leeming@lyx.org>
1678
1679         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1680         with "python ". Workaround for a brain-dead Windows.
1681
1682 2005-01-16  Angus Leeming  <leeming@lyx.org>
1683
1684         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1685         for MacOSX and Windows to use prependEnvPath.
1686         Strip out the hard-coded block to add elements to the PATH for
1687         MacOSX and replace it with a call to prependEnvPath using the
1688         contents of LyXRC::path_prefix.
1689         (queryUserLyXDir): strip out the code to run reconfigure, instead
1690         returning a boolean indicating the necessity to do so.
1691         (reconfigureUserLyXDir): contains the code to reconfigure the
1692         user support directory. Is now called after the various LyXRC data
1693         files have been read.
1694
1695         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1696
1697 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1698
1699         * converter.[Ch] (convert): take a new parameter try_default. Use
1700         a default converter (imagemagick) if try_default is true.
1701
1702 2005-01-13  Angus Leeming  <leeming@lyx.org>
1703
1704         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1705         os::cygwin_path_fix.
1706         (write): output LyXRC::cygwin_path_fix as necessary.
1707
1708 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1709
1710         * lyxrc.h:
1711         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1712
1713 2005-01-12  Angus Leeming  <leeming@lyx.org>
1714
1715         * lyx_main.C (init): set the PATH variable to include the
1716         directory containing the LyX binary when running on Mac or Windows.
1717
1718 2005-01-12  Angus Leeming  <leeming@lyx.org>
1719
1720         * lyx_main.C (init): remove cruft that purports to set the locale
1721         dir. It doesn't and is not needed anyway.
1722
1723 2005-01-10  Angus Leeming  <leeming@lyx.org>
1724
1725         * Makefile.am: remove the lyx_main.C special casing.
1726
1727         * BufferView_pimpl.C:
1728         * bufferlist.C:
1729         * exporter.C:
1730         * lyx_cb.C:
1731         * lyx_main.C:
1732         * lyxfunc.C:
1733         * messages.C: use support/package.h to provide the paths to the
1734         various directories used by LyX.
1735
1736 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1737
1738         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1739         layout if pasting into an empty paragraph)
1740
1741 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1742
1743         * tex-accent.C: add <string>
1744
1745 2005-01-06  José Matos  <jamatos@lyx.org>
1746
1747         * ParagraphParameters.C (write): put every parameter in its own line.
1748         * paragraph.C (write): reduce number of consecutive empty lines exported.
1749         * buffer.C (LYX_FORMAT): increase file format to 239.
1750
1751 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1752
1753         * everywhere: change support/tostr.h -> support/convert.h
1754
1755         * tabular.C: make all write_attributes templates, tostr -> convert
1756
1757         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1758         (emptyTag): and -> &&, and fix type for ret from getChar
1759         (getFirstWord): fix type for ret from getChar
1760         (onlyText): and -> &&
1761         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1762         getChar
1763
1764         * toc.C (goTo, action):
1765         * text3.C (dispatch):
1766         * text.C (currentState):
1767         * tex-accent.C (DoAccent):
1768         * sgml.C:
1769         * lyxrc.C:
1770         * lyxfunc.C (menuNew):
1771         * lyxfinc.C (replace):
1772         * counters.C (laberItem):
1773         * bufferview_funcs.C (font2string):
1774         * bufferparams.C (writeFile):
1775         * buffer.C (readFile):
1776         * Spacing.C (set):
1777         * MenuBackend.C: tostr -> convert
1778
1779         * LaTeX.C (runMessage): fix format
1780         (scanAuxFiles): tostr -> convert
1781
1782         * BufferView_pimpl.C (savePosition): fix format
1783         (restorePosition): ditto
1784         (dispatch): ditto
1785
1786 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1787
1788         * Spacing.[Ch]: New method getValueAsString().
1789
1790         * Spacing.[Ch]:
1791         * bufferparams.C:
1792         * ParagraphParameters.C:
1793         * lyxlayout.C:
1794         * text.C:
1795         * text3.C: store/read spacing value as string.
1796
1797         * rowpainter.C: change float value (spacing_val) to double.
1798
1799         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1800         broken custom document spacing).
1801
1802 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1803
1804         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1805         namespace, also more use of temp references and const
1806
1807         * cursor.[Ch] (getStatus): move to lyxfunc.C
1808
1809         * bufferparams.C: reformat slightly
1810
1811         * bufferview_funcs.C (font2string): constify arg
1812
1813         * changes.C:
1814         * converter.C:
1815         * counters.C:
1816         * bufferlist.C:
1817         * buffer_funcs.C: (many funcs): constify arg on function
1818         definitions, also make more local vars const, also add ASSERTS on
1819         pointer args.
1820
1821         * buffer.C (LYX_FORMAT): put const in correct place
1822         (many funcs): constify arg on function definitions, also make
1823         more local vars const
1824
1825         * aspell_local.h: remove "struct" from typdef setup
1826
1827         * aspell.C (check): make word_ok const
1828         (nextMiss): simplify slightly
1829         (error): ditto
1830
1831 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1832
1833         * lyxrc.[Ch]: store all float values as strings.
1834         use int (not float) for lyxrc.dpi.
1835
1836 2005-01-04  Angus Leeming  <leeming@lyx.org>
1837
1838         * lyx_cb.C (Reconfigure):
1839         * lyx_main.C (queryUserLyXDir):
1840         to run the <system_lyxdir>/configure correctly on Windows, prefix
1841         the path to the script with "sh " when generating the string that
1842         is passed to system().
1843
1844 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1845
1846         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1847
1848 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1849
1850         * lyxlength.C (asLatexString): get rid of setprecision
1851
1852 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1853
1854         * text2.C (setLayout): remove unused variable endpit.
1855         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1856
1857         * paragraph.C (onlyText): remove unused variable style.
1858
1859         * cursor.C (bruteFind): remove unused variables beg and end.
1860
1861         * Makefile.am (dist_noinset_DATA): not needed anymore
1862
1863         * cheaders/*: remove.
1864
1865 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1866
1867         * text3.C: fix LFUN_MATH_MODE.
1868
1869 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1870
1871         * buffer_funcs.C (countWords): new function. Counts words between
1872         two iterators.
1873
1874         * BufferView_pimpl.C (getStatus, dispatch): handle
1875         LFUN_WORDS_COUNT.
1876
1877         * LyXAction.C (init):
1878         * lfuns.h: add LFUN_WORDS_COUNT.
1879
1880 2004-12-19  Angus Leeming  <leeming@lyx.org>
1881
1882         * buffer.C (save): s/slashify_path/internal_path/.
1883
1884 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1885
1886         * lyxfind.C (findChange): do not search for end of pars, because
1887         the change tracker cannot handle this (fixes bug 1719).
1888
1889 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1890
1891         * paragraph.[Ch] (autoBreakRows): remove
1892
1893         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1894
1895         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1896         avoid using the paragraph one
1897
1898         * text2.C (LyXText, insertStringAsLines): adjust
1899
1900 2004-12-16  Angus Leeming  <leeming@lyx.org>
1901
1902         * bufferlist.C:
1903         * lyx_main.C:
1904         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1905
1906 2004-12-14  Angus Leeming  <leeming@lyx.org>
1907
1908         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1909
1910         * bufferlist.C (emergencyWrite):
1911         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1912         GetEnvPath("HOME").
1913
1914 2004-12-14  Angus Leeming  <leeming@lyx.org>
1915
1916         * main.C: (main): no longer pass pointers to os::init.
1917
1918 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1919
1920         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1921         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1922
1923 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1924
1925         * lyxfunc.C:
1926         * text3.C: remove selection_possible global flag
1927
1928 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1929
1930         * text2.C (getSelectionSpan): remove
1931         (changeDepth, changeDepthAllowed): adjust
1932
1933 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1934
1935         * Makefile.am (BOOST_LIBS): use boost variables
1936
1937 2004-12-03  José Matos  <jamatos@lyx.org>
1938
1939         * buffer.C: format up to 238.
1940
1941 2004-12-03  José Matos  <jamatos@lyx.org>
1942
1943         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1944
1945 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1946
1947         * cursor.C (goUpDown): remove call to idxUpDown2
1948
1949 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1950
1951         * tabular.[Ch]: use size_t-like types for cell, row and column
1952         indices
1953
1954 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1955
1956         * lyxfunc.C (getStatus): do not lose previous information when
1957         calling BufferView::getStatus; do not set a default "Command
1958         disabled" message at the beginning, but just before returning.
1959
1960 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1961
1962         * cursor.h (getStatus): add better comment from src/cursor.C
1963
1964 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1965
1966         * text3.C (getStatus): return false when the lfun is not handled
1967
1968 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1969
1970         * broken_headers.h: remove
1971
1972         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1973
1974 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1977         offset_ref accessors
1978
1979         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1980         top_y_, merge fitcursor with update
1981         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1982         coord scheme
1983         (metrics): introduce
1984         (workAreaDispatch): adapt to new coord scheme
1985         (redoCurrentBuffer): remove
1986
1987         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1988
1989         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1990         CurStatus enum.
1991
1992         * coordcache.[Ch]: add paragraph cache and helpers
1993
1994         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1995         adjust everywhere
1996
1997         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1998         (targetX, setTargetX): introduce
1999
2000         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2001         baseline -> ascent, as the rest of lyx
2002
2003         * lyxtext.h: remove redoParagraphs, updateParPositions,
2004         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2005         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2006         have ascent/descent (ascent is ascent of first par)
2007
2008         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2009         step of BufferView
2010
2011         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2012
2013         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2014
2015         * pariterator.C: fix infinite loop introduced in par->pit renaming
2016
2017         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2018         in insets and LyXText, draw two off-screen paragraphs using
2019         NullPainter, and adapt to new coord scheme
2020
2021         * text.C:
2022         * text2.C:
2023         * text3.C: adapt lfun handlers to the new coord scheme, which
2024         means: there's only guaranteed coord information for onscreen pars
2025         plus one above and one below. This implies that one can do search
2026         from y coordinates in the range [-1,workHeight]
2027
2028 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2029
2030         * rename a lot of InsetOld to InsetBase
2031
2032 2004-11-25  Angus Leeming  <leeming@lyx.org>
2033
2034         * BufferView_pimpl.C:
2035         * lyx_cb.C:
2036         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2037
2038 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2039
2040         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2041         call BufferView::getStatus if LCursor::getStatus did nothing
2042         (setStatusMessage, getStatusMessage): removed.
2043
2044         * FuncStatus.C (message): new methods. Used to provide an error
2045         message indicating why a command is disabled.
2046         (clear, |=, FuncStatus): update for message.
2047
2048 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2049
2050         * lyxfunc.C (dispatch): always call sendDispatchMessage
2051
2052 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2053
2054         * BufferView.C:
2055         * BufferView_pimpl.C:
2056         * CutAndPaste.C:
2057         * FontIterator.C:
2058         * buffer.C:
2059         * cursor.C:
2060         * cursor_slice.[Ch]:
2061         * dociterator.[Ch]:
2062         * lyxfind.C:
2063         * paragraph_funcs.C:
2064         * pariterator.C:
2065         * rowpainter.C:
2066         * text.C:
2067         * text2.C:
2068         * text3.C:
2069         * undo.C: par->pit renaming
2070
2071 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2072
2073         * tabular.C (cellstruct): use initialization, store a shared_ptr
2074         to insettext instead of the insettext directly, adjust to fit.
2075         (operator=):  new function
2076         (swap): new function
2077         (rowstruct): use initialization
2078         (columnstruct): use initialization
2079         (ltType): use initialization
2080
2081
2082         * lyxlength.h (swap): new function
2083
2084         * LColor.[Ch] (operator=): use the common semantics
2085
2086 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2087
2088         * lyxfind.C (findNextChange): update the bufferview after setting
2089         the selection.
2090
2091 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2094         number of InsetOptArgs has already been inserted.
2095
2096         * output_latex.C (latexOptArgInsets): new method. This outputs all
2097         the optarg insets, up to the limit defined in the layout file.
2098         (optArgInset): removed
2099         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2100
2101 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2102
2103         * paragraph.C (isLetter): remove special spellchecker-related
2104         code; return true also for digits
2105         (isWord, isKomma): remove
2106
2107         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2108         * lyxfind.C (MatchString()): use isLetter instead of isWord
2109
2110 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2111
2112         * pariterator.h (operatir=): comment out un-implemented member
2113         function.
2114
2115         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2116         static cast.
2117
2118 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2119
2120         * lyxfont.h: include LColor.h to satisfy concept checks.
2121
2122 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2123
2124         * pariterator.h: add typdefs for value_type, difference_type,
2125         pointer and reference to satisfy concept checks. Also add default
2126         constructor for same reason.
2127
2128         * pariterator.C (operator++): add post-increment operator to
2129         satisfy concept checks.
2130
2131         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2132         checks.
2133
2134         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2135
2136         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2137         checks. Also rename base_type to BaseType to follow naming
2138         standard better.
2139
2140         * FloatList.h: include Floating.h to satisfy concept checks.
2141
2142 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         * lyxfunc.C (getStatus): when the origin of the request is menu or
2145         toolbar, and the LyXView does not have focus, do as if there was
2146         no buffer (bug 1720)
2147
2148         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2149         FuncRequest to individual entries of LFUN_SEQUENCE
2150
2151 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * output_latex.C (TeXOnePar): override runparams.moving_arg
2154         according to the needprotect value of the current paragraph (bug
2155         1739)
2156
2157         * paragraph.C (simpleTeXOnePar): no need to override
2158         runparams.moving_args here
2159
2160 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2161
2162         * vspace.C: fix off-by-one-error, related to fix #1682
2163
2164 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2165
2166         * lengthcommon.C: a more general fix for bug 1682
2167
2168 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2169
2170         * text.C (backspace): fix crash
2171
2172 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2173
2174         * format.[Ch] (getFormatFromFile): new method
2175         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2176
2177 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2178
2179         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2180
2181 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2182
2183         * lyxfunc.C (dispatch): remove the verbose argument
2184         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2185         instead
2186
2187         * kbmap.C (defkey): set the origin of func to KEYBOARD
2188
2189         * MenuBackend.C (MenuItem):
2190         * ToolbarBackend.C (add): set the origin of func to UI
2191
2192         * funcrequest.[Ch]: add origin member, which indicates which part
2193         of LyX requests an action
2194
2195 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2196
2197         * converter.C (move): don't lie in the error message
2198         * converter.h (isReachable, move): document
2199
2200 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2201
2202         * buffer.C: remove unused using lyx::support::atoi
2203         * paragraph_funcs.C: ditto
2204
2205 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * bufferlist.C (exists): use bind and equal_to instead of
2208         compare_memfun
2209         (getBuffer): ditto
2210         * lyxtextclasslist.C (NumberOfClass): ditto
2211
2212         * cursor.C (insert): use for_each instead of explicit for loop
2213
2214         * bufferlist.C (getFileNames): use std::transform and
2215         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2216
2217         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2218         for loop
2219
2220         * buffer.C (changeLanguage): use for_each instead of explicit for
2221         loop
2222         (hasParWithID): implement using getParFromID
2223
2224         * LaTeXFeatures.C: ws change only
2225
2226         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2227         to cleanup a bit.
2228
2229         * BufferView_pimpl.C (trackChanges): use for_each instead of
2230         expilicit for loop
2231
2232 2004-11-04  André Pönitz  <poenitz@gmx.net>
2233
2234         * undo.h:
2235         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2236
2237         * dociterator.C (asDocIterator): use hard assert again.
2238
2239 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2240
2241         * lyxlength.C (asLatexString): rewrite so that it does not use
2242         snprintf anymore
2243
2244 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2245
2246         * text3.C (specialChar, dispatch): make sure cursor moves to the
2247         right after inserting an inset
2248
2249 2004-11-02  José Matos  <jamatos@lyx.org>
2250
2251         * output_docbook.C (docbook):
2252         * paragraph.C (getID):
2253         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2254         garantee that the output is always legal.
2255
2256         * tabular.C (docbook):
2257         * outputprams.[Ch]: remove mixed contents.
2258
2259 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2260
2261         * text2.C (setCounter): prevent endless loop
2262
2263 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2264
2265         * exporter.C (copyFile): use the mover instead of support::copy()
2266         * exporter.C (Export): pass format and latex name to copyFile()
2267         * exporter.h (addExternalFile): document
2268         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2269
2270 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2271
2272         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2273
2274 2004-10-30  José Matos  <jamatos@lyx.org>
2275
2276         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2277         text and no inset or font change. This allows to use CDATA
2278         sections just for the whole paragraph.
2279
2280 2004-10-30  José Matos  <jamatos@lyx.org>
2281
2282         * paragraph.C (getFirstWord): remove unused variable.
2283
2284 2004-10-30  José Matos  <jamatos@lyx.org>
2285
2286         * paragraph.C (getFirstWord): the content should always be escaped
2287         there.
2288         (simpleDocBookOnePar):
2289         * output_docbook.C (makeEnvironment): replace reference to CDATA
2290         to style pass_thru.
2291
2292 2004-10-30  José Matos  <jamatos@lyx.org>
2293
2294         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2295
2296 2004-10-30  José Matos  <jamatos@lyx.org>
2297
2298         * output_docbook.C (makeParagraphs):
2299         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2300         standard paragraph has only a given type of content drop the wrapper.
2301
2302 2004-10-29  José Matos  <jamatos@lyx.org>
2303
2304         * output_docbook.C (makeEnvironment):
2305         * sgml.C (openTag):
2306         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2307
2308 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2309
2310         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2311         (cleanID): sanitize any id.
2312
2313 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2314
2315         * buffer.C, lyxlex_pimpl.C:
2316         * lyxlex_pimpl.C (setFile):
2317         s/getExtFromContents/getFormatFromContents/
2318
2319 2004-10-28  José Matos  <jamatos@lyx.org>
2320
2321         * output_docbook.C (makeEnvironment): move id to broadest possible
2322         scope.
2323
2324         * sgml.C (openTag): apply substitution of <> for all attributes.
2325
2326 2004-10-28  José Matos  <jamatos@lyx.org>
2327
2328         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2329         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2330         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2331
2332         * sgml.[Ch]: new version for open and closeTag for paragraph and
2333         for strings. Now they handle the ids of paragraphs.
2334
2335 2004-10-26  Angus Leeming  <leeming@lyx.org>
2336
2337         * Makefile.am: add mover.[Ch].
2338
2339         * converter.C (convert, move): use the new Movers to move external
2340         files to the temp directory.
2341
2342         * lyx_main.C (init): ensure that the global system_movers data
2343         is initialised.
2344
2345         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2346         preferences file.
2347
2348         * mover.[Ch]: new files, defining a Mover as a utility to move an
2349         external file between directories and, if necessary, manipulate this
2350         file using a helper script.
2351
2352 2004-10-25  José Matos  <jamatos@lyx.org>
2353
2354         * output_docbook.C (makeCommand): merge two if's that tested the
2355         same condition.
2356
2357 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2358
2359         * sgml.C (escapeString): fix warning in a better way
2360
2361 2004-10-25  José Matos  <jamatos@lyx.org>
2362
2363         * sgml.C (escapeString): import the require boosts header file for
2364         tie, and avoid a signed unsigned comparison.
2365
2366 2004-10-25  José Matos  <jamatos@lyx.org>
2367
2368         * sgml.h: add #include <string>
2369
2370 2004-10-25  José Matos  <jamatos@lyx.org>
2371
2372         * sgml.[Ch] (escapeString): new function to escape all the string.
2373
2374 2004-10-24  José Matos  <jamatos@lyx.org>
2375
2376         * paragraph.[Ch] (getFirstWord): new function to get the first
2377         word. Useful for description.
2378         (simpleDocBookOnePar): remove depth argument, add another that
2379         says where to start the paragraph.
2380
2381         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2382         use the new functions to fix cleanly the support for descriptions.
2383
2384 2004-10-24  José Matos  <jamatos@lyx.org>
2385
2386         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2387         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2388         * output_linuxdoc.C (linuxdocParagraphs):
2389         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2390         add buffer as argument.
2391
2392 2004-10-24  José Matos  <jamatos@lyx.org>
2393
2394         * output_docbook.C (makeEnvironment, searchEnvironment): place
2395         CDATA inside paragraphs and fix scope for listitems.
2396
2397 2004-10-24  José Matos  <jamatos@lyx.org>
2398
2399         * output_docbook.C: remove using statement for stack.
2400
2401 2004-10-23  José Matos  <jamatos@lyx.org>
2402
2403         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2404         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2405         docbook. The new scheme is recursive and makes use of iterators, the
2406         same as latex export works.
2407         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2408         directly with the paragraph contents. This code was moved up to
2409         output_docbook.C (docbookParagraphs).
2410         * sgml.C (openTag, closeTag): removed unneeded newlines.
2411         (closeEnvTags) removed.
2412
2413 2004-10-23  André Pönitz  <poenitz@gmx.net>
2414
2415         * undo.C (textUndoOrRedo):
2416         * dociterator.C (asDocIterator): work around crash
2417
2418         * cursor.C (getStatus): replace ASSERT by more verbose error message
2419           and manual correction of the problem. Should increase stability
2420           while providing more sensible information.
2421
2422 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2423
2424         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2425
2426         * bufferlist.C (previous, next): new methods
2427
2428         * lfuns.h:
2429         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2430
2431 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2432
2433         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2434         entities to preamble.
2435
2436 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2437
2438         * messages.C (Pimpl): strip off translation context information
2439
2440 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2441
2442         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2443         the cursor is correct (bug 1694)
2444
2445 2004-10-13  José Matos  <jamatos@lyx.org>
2446
2447         * output_docbook.C (docbookParagraphs): fix closing tags in the
2448         end of the document.
2449
2450 2004-10-09  José Matos  <jamatos@lyx.org>
2451
2452         * buffer.C: format up to 237.
2453         * bufferparams.C (write): use tostr to convert booleans to strings.
2454
2455 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2456
2457         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2458
2459 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2460
2461         * LaTeX.C: implement use of babel language in xindy.
2462
2463 2004-10-05  José Matos  <jamatos@lyx.org>
2464
2465         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2466         Add new translators to help reading and writing the lyx file.
2467
2468 2004-10-05  José Matos  <jamatos@lyx.org>
2469
2470         * ParagraphParameters.C (read):
2471         * text.C (readParToken): replace nexToken by more appropriate lex
2472         methods.
2473
2474 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2475
2476         * LaTeX.C (runMakeIndex):
2477         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2478         (usually 'makeindex') configurable.
2479
2480         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2481         with a variable rather than with a number.
2482
2483 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2484
2485         * output_latex.C (TeXOnePar): make sure font setting is the first
2486         thing that gets output (and the last at the end). Should fix bug
2487         1404.
2488
2489 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2490
2491         * pch.h: use proper signal include
2492
2493         * LaTeX.h: Use preferred calling of Boost.Signal
2494         * buffer.h: ditto
2495
2496 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * pch.h: dont include <boost/function/function0.hpp>
2499
2500         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2501
2502         * paragraph_pimpl.h: remove usage of ShareContainer
2503
2504         * paragraph_pimpl.C: remove initialization of ShareContainer.
2505
2506 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2507
2508         Fix bug #1666
2509
2510         * BufferView.C (putSelectionAt): change the semantics when
2511         backwards == true: now, this just swaps cursor and anchor wrt the
2512         forward case
2513
2514         * BufferView.h (putSelectionAt): add some documentation
2515
2516         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2517         make sure backwardChar is done at least once (to avoid getting
2518         stuck)
2519         (findNextChange): use putSelectionAt in the forward direction
2520         (operator()): use Paragraph::isWord
2521
2522 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2523
2524         * Spacing.C (set): c_str fix
2525
2526 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2527
2528         * lyx_cb.C (Reconfigure): quote the name of configure script in
2529         case it contains spaces
2530
2531 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2532
2533         * client: new dir
2534
2535         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2536         (BOOST_LIBS): use top_buildir when looking for the file
2537
2538 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2539
2540         * pch.h: do not use include boost/format.hpp, multiple symbols
2541                 will result (gcc bug)
2542
2543
2544 2004-08-23  José Matos  <jamatos@lyx.org>
2545
2546         * bufferparams.C (readToken): fix reading of the author field.
2547
2548 2004-08-20  José Matos  <jamatos@lyx.org>
2549
2550         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2551
2552 2004-08-20  José Matos  <jamatos@lyx.org>
2553
2554         * lyxlex.[Ch] (findToken): remove function.
2555
2556         * ParagraphParameters.C (findToken):
2557         * bufferparams.C (findToken): replace call for previous function
2558         with local copy. This local function has one more argument, the
2559         read string argument.
2560
2561 2004-08-16  José Matos  <jamatos@lyx.org>
2562
2563         * ParagraphParameters.C (write):
2564         * Spacing.C (writeFile):
2565         * bufferparams.C (writeLaTeX):
2566         * lyx_cb.C (Reconfigure):
2567         * paragraph.C (write):
2568         * tabular.C (write): remove unnecessary space at end of line.
2569
2570
2571 2004-08-16  José Matos  <jamatos@lyx.org>
2572
2573         * text.C (readParagraph): remove debug message.
2574
2575 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2576
2577         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2578         crash
2579
2580         * output_plaintext.C (asciiParagraph): set depth correctly
2581
2582         * outputparams.h: add member depth
2583
2584         * paragraph_funcs.C (ownerPar): remove.
2585
2586         * text2.C (setCounter): remove first_pit; comment out some
2587         non-working code that uses ownerPar
2588
2589         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2590         uses ownerPar
2591
2592 2004-08-16  José Matos  <jamatos@lyx.org>
2593
2594         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2595         For the same level of importance use the same chanel to report problems.
2596         (read): add code to deal with \begin_body and \end_body.
2597
2598
2599 2004-08-15  José Matos  <jamatos@lyx.org>
2600
2601         * lyxlex.C (getString): fix comment, buffer::readBody is now
2602         buffer:readDocument.
2603
2604         * tex-strings.C (string_papersize): Default -> default,
2605         Custom -> custom, for consistency with other options.
2606
2607 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2608
2609         * pch.h: new file
2610
2611         * Makefile.am: support pch
2612
2613 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2614
2615         * text.C (readParToken): remove the static LyXFont variable and
2616         pass it as a parameter instead. This fixes a nasty bug where an
2617         inset will be inserted with a bad font in some situations
2618         (readParagraph): adapt
2619
2620         * text2.C (setCounter): reduce number of calls to pars_[pit]
2621
2622         * text.C (singleWidth): add an assert, fix a test
2623
2624         * rowpainter.C (paintText): reduce number of calls to singleWidth
2625
2626         * paragraph.C (isHfill):
2627         (isNewline): ws only
2628
2629 2004-08-14  André Pönitz  <poenitz@gmx.net>
2630
2631         * text.C:
2632         * text2.C:
2633         * rowpainter.C:
2634         * lyxtext.h (several functions): use a Paragraph & argument
2635         instead of par_type
2636
2637 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2638
2639         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2640
2641         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2642
2643         * text.C (singleWidth): remove useless test
2644
2645 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2646
2647         * tabular.h: remove bogus comments
2648
2649         * tabular.C (getDescentOfRow):
2650         (isPartOfMultiColumn): add assertions
2651
2652         * lyxlength.C (inPixels): remove #warning
2653
2654 2004-08-14  André Pönitz  <poenitz@gmx.net>
2655
2656         * paragraph.h: inline getChar()
2657
2658         * BufferView.h: remove unused declarations
2659
2660 2004-08-14  José Matos  <jamatos@lyx.org>
2661
2662         * Buffer.[Ch] (readDocument): new name for old readBody.
2663         * Buffer.C: new file format, new keywords: \begin_document,
2664         \begin_header, \begin_body, \end_body.
2665
2666         * bufferparams.C (readToken): replace all calls to lex.nextToken
2667         by lex.next(). Do the same to eatLine except where really needed.
2668
2669         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2670         line when writing to the lyx file.
2671
2672         * output_plaintext.C (asciiParagraph): fix Bibliography style
2673         handling.
2674
2675         * text.C (read): fix end of file handling.
2676
2677 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2678
2679         * MenuBackend.C (Menu::operator[]): new method to access
2680         individual menu items
2681         (Menu::hasFunc): new method. search for an item that corresponds
2682         to a given func
2683         (MenuBackend::specialMenu): new method
2684         (MenuBackend::expand): if a special menu has been set, skip
2685         entries whose func() appears in this menu
2686
2687 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2688
2689         * text3.C: use Debug::DEBUG a bit more
2690
2691         * text.C (leftMargin): try to simplify a tiny bit change var x to
2692         l_margin. Dont output the wide margins always.
2693         (rightMargin): no margin in inner texts
2694
2695         * rowpainter.h (nestMargin): new func
2696         (changebarMargin): new func
2697         (rightMargin): new func
2698
2699         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2700         now functions.
2701         (paintLast): ditto
2702
2703         * factory.C (createInset): modify setDrawFrame
2704
2705         * cursor.C: use Debug::DEBUG a bit more
2706
2707 2004-08-14  André Pönitz  <poenitz@gmx.net>
2708
2709         * coordcache.[Ch]:
2710         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2711         cache for all insets in (at least partially) visible (top-level)
2712         paragraphs.
2713
2714         * BufferView_pimpl.C: reset external coord cache before every update.
2715         This means the coord cache only contains valid entries.
2716
2717 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2718
2719         bug 1096
2720         * BufferView_pimpl.C (getInsetByCode): move function out of class
2721         and change in to a template in anon namespace. Also fix to do what
2722         suits us better.
2723
2724 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2725
2726         bug 1305
2727         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2728         of char
2729         (breakParagraph): rename par to par_offset and use a local
2730         reference. Add code to keep the language over a rebreak.
2731         (breakParagraphConservative): rename par to par_offset, use a
2732         local reference
2733         (mergeParagraph): ditto
2734         (outerHook): ditto
2735         (isFirstInSequence): ditto
2736         (outerFont): rename pit to par_offset
2737
2738         * paragraph.C: ws change
2739         * paragraph.h: ditto
2740         * text3.C: ditto
2741         * text.C: ditto
2742
2743 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2744
2745         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2746         treatment for ']'
2747
2748         * paragraph.C (simpleTeXOnePar): when we have a \item with
2749         optional argument, enclose the argument with curly brackets (in
2750         case it contains a closing square bracket)
2751
2752         * text2.C (editXY):
2753         * text2.C (editXY):
2754         * text3.C (checkInsetHit): constify
2755
2756 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2757
2758         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2759         documents (bug 1629)
2760
2761 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2762
2763         Fix toggling of collapsable insets with the mouse (bug 1558)
2764
2765         * lyxfunc.C (dispatch): adapt to LCursor changes
2766
2767         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2768         make sure that dispatch is not invoked twice
2769
2770         * cursor.C (needsUpdate): new method
2771         (dispatch): return void
2772         (result): new method, to access the DispatchResult of the cursor.
2773
2774 2004-08-13  José Matos  <jamatos@lyx.org>
2775
2776         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2777
2778 2004-08-13  André Pönitz  <poenitz@gmx.net>
2779
2780         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2781
2782         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2783           multiple cells
2784
2785 2004-08-12  André Pönitz  <poenitz@gmx.net>
2786
2787         * text3.C: take out the 'cursor right' form insertInset and only
2788         do it in those places when it is really needed. Fixes crash on
2789         C-m...
2790
2791 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2792
2793         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2794
2795         * BufferView_pimpl.C (setBuffer): initialize the current font of
2796         the underlying LyXText
2797
2798 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2799
2800         * kbsequence.C (print): use UI native formatting for menu
2801         shortcuts
2802
2803         * text.C (insertChar): call Paragraph::insertChar with a font
2804         argument (cosmetic)
2805
2806         * paragraph.C (insertInset, insertChar): the version that takes a
2807         LyXFont argument is now a wrapper around the other one (the
2808         opposite used to be true).
2809
2810         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2811         argument. Font setting is done in Paragraph now.
2812
2813 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2814
2815         * outputparams.h: add new members intitle and lang.
2816
2817         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2818         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2819
2820 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2821
2822         * text3.C (dispatch): remove special handling of button 4 and 5,
2823         it is now taken care of in the frontend code.
2824
2825 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2826
2827         * Spacing.h: add <string> (STLPort compile fix)
2828
2829 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2830
2831         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2832
2833 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2834
2835         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2836         to bool.
2837
2838         * converter.C (showMessage): inherit from unary_function, make
2839         operator() const.
2840
2841         * buffer.C (writeFile): initialize retval
2842
2843         * InsetList.h: rename private variable list to list_
2844         * InsetList.[Ch]: adjust accordingly.
2845
2846 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2849         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2850         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2851         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2852         * ParagraphParameters.C, LaTeXFeatures.C: replace
2853         "support/std_sstream.h" with <sstream>
2854
2855 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2856
2857         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2858         * lyxsocket.C (LyXServerSocket): ditto
2859         (serverCallback): ditto
2860
2861 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2862
2863         * LaTeXFeatures.C: check release date when loading jurabib.
2864
2865 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * lyxserver.C (startPipe): call register_socket_callback
2868         (endPipe): call unregister_socket_callback
2869
2870 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2871
2872         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2873         (LyXServerSocket): register the callback
2874         (LyXServerSocket): unregister the callback
2875         (fd): delete function
2876         (serverCallback): improve error checking and setup the callbacks.
2877         (dataCallback): change arg to fd.
2878         (writeln): new func (copied fro the client socket) used for server
2879         write to client.
2880         (LyXDataSocket): simplify
2881         (~LyXDataSocket): close ann unregiser callback
2882         (server): delete function
2883         (fd): delete function
2884         (readln): small changes, improve some std::string usage
2885         (writeln): constify a bit
2886
2887 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2888
2889         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2890         Qt frontend
2891
2892 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2893
2894         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2895         after it has been populated
2896
2897 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2898
2899         * text2.C (insertInset): move cursor when inserting inset.
2900
2901 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2902
2903         * kbmap.C (findbindings): a couple of new methods. returns a
2904         container of kb_sequence objects. The real work is done by the
2905         private recursive version
2906         (printbindings): uses findbindings to print out a bracketed list
2907         of bindings (renamed from findbinding).
2908
2909         * MenuBackend.C (binding): use kb_keymap::findbindings
2910
2911         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2912
2913 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2914
2915         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2916
2917 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2918
2919         * paragraph.C (isWord): return true on insets that report
2920         isLetter().
2921
2922         * text.C (getWord): use Paragraph::isWord to decide what is in a
2923         word and what is not; fix bug 1609.
2924
2925 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2926
2927         * tex-strings.C: add "none" to string_paperpackages[], fixes
2928         off-by-one-error in the paperpackage selection.
2929
2930         * lyxlex.[Ch]:
2931         * tex-strings.[Ch]: char const * string[n]
2932         -> char const * const string[]
2933
2934 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2935
2936         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2937         command, return early.
2938
2939 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2940
2941         * debug.h: add DEBUG to enum and fix size of ANY.
2942
2943         * debug.C: add support for Debug::DEBUG
2944         (showTags): cast errorTags.level to unsigned int
2945
2946         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2947         (redoCurrentBuffer): ditto
2948         (updateScrollbar): ditto
2949         * cursor.C (dispatch): ditto
2950         * text2.C (setLayout): ditto
2951         (setFont): ditto
2952         (updateCounters): ditto
2953         (editXY): ditto
2954         (deleteEmptyParagraphMechanism): ditto
2955
2956 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2957
2958         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2959         annotations to cleanup the Makefile slightly.
2960
2961 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2962
2963         * lyxrc.C: do not set user_email to a default value but use empty
2964         instead. The entry used to be translated, which does not work
2965         since at the point where lyxrc is constructed there is no
2966         translation service available
2967
2968         * messages.C (getLocaleDir): remove and use directly
2969         lyx_localedir() instead
2970
2971 2004-06-02  Angus Leeming  <leeming@lyx.org>
2972
2973         Fix crash caused by dereferencing null pointer 'exportdata' in
2974         OutputParams by creating a new ExportData variable on the heap,
2975         storing it in a boost::shared_ptr.
2976         The crash was triggered when generating an Instant Preview
2977         of an external inset.
2978
2979         * Makefile.am: add outputparams.C
2980
2981         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2982         (c-tor): allocate memory to it.
2983
2984         * exporter.C (c-tor): associated changes.
2985
2986 2004-06-01  Angus Leeming  <leeming@lyx.org>
2987
2988         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2989         contains data before calling isInset(0). (Bug 1513.)
2990
2991 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2992
2993         * exporter.C (checkOverwrite): new method
2994         * exporter.C (copyFile): new method
2995         * exporter.C (Export): copy referenced files to the document dir
2996         * exporter.[Ch]: new class ExportedFile
2997         * exporter.[Ch]: new class ExportData. Contains currently the
2998         names of referenced external files
2999         * outputparams.h: add exportdata member.
3000
3001 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3002
3003         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3004         version.C-tmp
3005
3006 2004-05-19  Angus Leeming  <leeming@lyx.org>
3007
3008         * LaTeXFeatures.C:
3009         * ToolbarBackend.C:
3010         * bufferparams.C:
3011         * lyxfunc.C: small changes due to the introduction of namespace
3012         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3013
3014 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3015
3016         * text3.C (dispatch): supress update when only moving the cursor
3017         * cursor.C (selHandle): remove commented code
3018
3019 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3020
3021         * paragraph.C (startTeXParParams): correct column count
3022         * CutAndPaste.C (pasteSelection): remove const_cast
3023         * output_docbook.C (docbookParagraphs): remove const_cast
3024         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3025         const_cast and return ParagraphList::const_iterator
3026         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3027         * output_plaintext.C (writeFileAscii): remove const_cast
3028         * paragraph.[Ch] (simpleTeXOnePar): make const
3029         * paragraph_funcs.C (outerPar): use const iterators
3030         * paragraph_pimpl.C (validate): use const iterators
3031         * text.C (setHeightOfRow): use const iterators
3032
3033 2004-05-17  Angus Leeming  <leeming@lyx.org>
3034
3035         * lfuns.h:
3036         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3037
3038         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3039         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3040         if the citation engine has changed.
3041
3042 2004-05-14  José Matos  <jamatos@lyx.org>
3043
3044         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3045         if the textclass does not provide it. Have it different for sgml and
3046         xml.
3047         support the language of document.
3048         * output_docbook.C (docbookParagraphs):
3049         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3050         first anchor as the id of the paragraph, remove special case code.
3051         * sgml.C (escapeChar): escape only < & >.
3052
3053 2004-05-14  Angus Leeming  <leeming@lyx.org>
3054
3055         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3056         dependencies on src/frontends/controllers/biblio.h. Define a
3057         CiteEngine_enum wrapper class to enable the enum to be forward
3058         declared.
3059
3060 2004-05-12  Angus Leeming  <leeming@lyx.org>
3061
3062         * buffer.C: up LYX_FORMAT to 234.
3063         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3064         use_numerical_citations with a single biblio::CiteEngine cite_engine
3065         variable.
3066         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3067
3068 2004-05-13  José Matos  <jamatos@lyx.org>
3069
3070         * converter.h:
3071         * converter.C (Converter, readFlags): add xml member.
3072         * outputparams.h: add XML flavor.
3073         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3074
3075 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3076
3077         * lyxfunc.C (dispatch):
3078         (getStatus): fix handling of LFUN_SEQUENCE
3079
3080 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3081
3082         * debug.C (showLevel): do not forget the end-of-line marker
3083
3084 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3085
3086         * kbmap.C (read): do not stop parsing a bind file when an error
3087         occurs (bug 1575)
3088
3089 2004-04-29  Angus Leeming  <leeming@lyx.org>
3090
3091         * cursor.C:
3092         * factory.C:
3093         * pariterator.C:
3094         * text2.C: wrap a bunch of #warning statements
3095         inside #ifdef WITH_WARNINGS blocks.
3096
3097 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3098
3099         * buffer.C: increment format to 233.
3100
3101 2004-04-28  Angus Leeming  <leeming@lyx.org>
3102
3103         * BufferView_pimpl.C:
3104         * lyxfunc.C:
3105         * text3.C:
3106         s/updateToolbar()/updateToolbars()/
3107         s/Toolbar.h/Toolbars.h/
3108
3109 2004-04-28  Angus Leeming  <leeming@lyx.org>
3110
3111         * BufferView.[Ch] (c-tor):
3112         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3113         No longer passes these data to the WorkArea generator.
3114
3115 2004-04-28  Angus Leeming  <leeming@lyx.org>
3116
3117         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3118
3119 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3120
3121         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3122
3123 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3124
3125         * output_latex.C (TeXEnvironment): make sure that there is a line
3126         break before \end{foo} for the last paragraph of a document
3127         (TeXOnePar): if the paragraph is at the end of the document (or
3128         inset) and the language has to be reset, then make sure that the
3129         line break is _before_ the language command, not after (fixes bug
3130         1225); also make sure that the language reset command is the first
3131         thing after the paragraph (to ensure proper nesting of
3132         environments and thus fix bug 1404)
3133
3134 2004-04-21  John Levon  <levon@movementarian.org>
3135
3136         * ToolbarBackend.h:
3137         * ToolbarBackend.C: make "name" be a programmatic name
3138         and a gui_name field.
3139
3140         * lyxfunc.C: display the minibuffer on M-x
3141
3142 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3143
3144         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3145         (bug 1526)
3146
3147 2004-04-19  Angus Leeming  <leeming@lyx.org>
3148
3149         * BufferView_pimpl.C (setBuffer): changed preview interface.
3150
3151         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3152         possible values.
3153
3154 2004-04-19  John Levon  <levon@movementarian.org>
3155
3156         * BufferView_pimpl.C:
3157         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3158
3159 2004-04-05  Angus Leeming  <leeming@lyx.org>
3160
3161         * text.C (redoParagraphs): add call to updateCounters(), thereby
3162         fixing the missing "Figure #:" label from the caption of a
3163         figure float.
3164
3165 2004-04-13  Angus Leeming  <leeming@lyx.org>
3166
3167         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3168         cursor is clicked out of an inset.
3169
3170 2004-04-13  Angus Leeming  <leeming@lyx.org>
3171
3172         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3173         than an InsetOld one.
3174
3175 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3176
3177         * format.[Ch]: add editor to Format
3178         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3179         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3180
3181 2004-04-08  André Pönitz  <poenitz@gmx.net>
3182
3183         * metricsinfo.h: remove PainterInfo::width member
3184
3185 2004-04-08  Angus Leeming  <leeming@lyx.org>
3186
3187         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3188         "\providecommand" rather than "\newcommand", thereby preventing
3189         clashes with packages that define "\boldsymbol" themselves.
3190         Eg, beamer.
3191
3192 2004-04-08  Angus Leeming  <leeming@lyx.org>
3193
3194         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3195         thereby squashing an unnecessary warning.
3196
3197 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3198
3199         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3200         setBuffer()
3201
3202 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3203
3204         * BufferView.C (setCursor): call redoParagraph (some insets could
3205         have been opened)
3206         (putSelectionAt): remove the 'double update' trick
3207
3208         * BufferView_pimpl.C (fitCursor): call refreshPar
3209         (workAreaDispatch): remove an uneeded update call
3210         (dispatch): remove some manual update calls
3211
3212         * cursor.[Ch]: remove cached_y_, updatePos
3213         (selHandle): set noUpdate when appropriate
3214
3215         * lyxfunc.C (dispatch): track if we need an update
3216
3217         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3218
3219         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3220         (paintSelection): cheap optimization, do not call cursorX when not
3221         needed
3222         (paintPars): change signature
3223         (refreshPar): add
3224         (paintText): adjust
3225         (paintTextInset): adjust
3226
3227         * text.C: adjust
3228
3229 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3230
3231         * lengthcommon.C: compilation fix: remove explicit array size from
3232         unit_name[] and friends
3233
3234 2004-04-05  Angus Leeming  <leeming@lyx.org>
3235
3236         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3237
3238         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3239         present only for the preferences dialog.
3240         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3241
3242 2004-04-05  Angus Leeming  <leeming@lyx.org>
3243
3244         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3245         to enable the frontends to export changes to lyxrc correctly.
3246
3247         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3248
3249 2004-04-07  André Pönitz  <poenitz@gmx.net>
3250
3251         * cursor.[Ch] (selClear, adjust): remove math
3252
3253         * cursor_slice.C: more agressive assert
3254
3255         * lyxfunc.C:
3256         * BufferView_pimpl.C: rework mouse event dispatch
3257
3258         * dociterator.C:
3259         * paragraph.C:
3260         * text2.C:
3261         * text3.C: adjust
3262
3263 2004-04-05  André Pönitz  <poenitz@gmx.net>
3264
3265         * cursor.[Ch] (valign, halign...): remove unneeded functions
3266
3267 2004-04-05  Angus Leeming  <leeming@lyx.org>
3268
3269         * lyxlength.[Ch] (unit_name et al.): const-correct.
3270
3271 2004-04-05  Angus Leeming  <leeming@lyx.org>
3272
3273         * BufferView_pimpl.C:
3274         * buffer.C:
3275         * counters.C:
3276         * cursor.C:
3277         * lyxfunc.C
3278         * paragraph.C:
3279         * pariterator.C:
3280         * text.C:
3281         * text2.C:
3282         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3283
3284 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3285
3286         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3287
3288 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3289
3290         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3291         * BufferView_pimpl.[Ch] (getStatus)
3292         * BufferView.[Ch] (getStatus): add
3293         * lyxfunc.C (getStatus): move lfuns handled in
3294         BufferView::dispatch to te function above
3295         * Cursor.C (setSelection): set selection() = true
3296
3297 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3298
3299         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3300
3301 2004-03-31  Angus Leeming  <leeming@lyx.org>
3302
3303         * lyxfunc.C (dispatch): Fall through to the generic
3304         Dialogs::show("preamble").
3305
3306 2004-03-31  Angus Leeming  <leeming@lyx.org>
3307
3308         * lyxfunc.C (dispatch): Fall through to the generic
3309         Dialogs::show("spellchecker").
3310
3311 2004-03-31  Angus Leeming  <leeming@lyx.org>
3312
3313         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3314         preferences dialog.
3315
3316 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3317
3318         * BufferView.C
3319         * cursor.[Ch]
3320         * dociterator.[Ch]:
3321         * insetiterator.[Ch]:
3322         * lyxfind.C:
3323         * lyxfunc.C:
3324         * pariterator.[Ch]:
3325         * text2.C:
3326         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3327
3328 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3329
3330         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3331         insets where we are putting the cursor.
3332
3333 2004-03-31  Angus Leeming  <leeming@lyx.org>
3334
3335         * lfuns.h:
3336         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3337
3338         * lyxrc.[Ch] (read, write): overloaded member functions taking
3339         a std::[io]stream arguments.
3340
3341         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3342
3343 2004-03-31  Angus Leeming  <leeming@lyx.org>
3344
3345         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3346         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3347
3348         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3349         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3350
3351 2004-03-31  Angus Leeming  <leeming@lyx.org>
3352
3353         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3354         the LFUN_ALL_INSETS_TOGGLE code.
3355
3356 2004-03-30  Angus Leeming  <leeming@lyx.org>
3357
3358         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3359         has died. Fall through to the generic Dialogs::show("document").
3360
3361 2004-03-30  Angus Leeming  <leeming@lyx.org>
3362
3363         * lfuns.h:
3364         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3365         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3366
3367         * lyxfunc.C (getStatus, dispatch): define the actions for these
3368         lfuns. Little more than a cut and pste job from ControlDocument.C
3369
3370         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3371
3372 2004-03-30  Angus Leeming  <leeming@lyx.org>
3373
3374         * lfuns.h:
3375         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3376         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3377
3378         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3379         open/closed state of ollapsable insets. Usage:
3380
3381         all-inset-toggle <state> <name>, where
3382         <state> == "open" || "closed" || "toggle" and
3383         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3384
3385         * lyxtext.h, text2.C (toggleInset): removed.
3386
3387         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3388         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3389         now passes LFUN_INSET_TOGGLE to the found inset.
3390
3391         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3392         is now invoked as "all-insets-toggle toggle branch".
3393
3394 2004-03-30  Angus Leeming  <leeming@lyx.org>
3395
3396         * dociterator.C:
3397         * insetiterator.C:
3398         * pariterator.[Ch]: added/corrected header blurb.
3399
3400 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3401
3402         * dociterator.[Ch]: add an inset_ member
3403         (backwardPos): implemented
3404         (backwardPos, forwardPos): use inset_ when the stack is empty.
3405         (doc_iterator_begin, doc_iterator_end): implemented
3406         * pariterator.[Ch]: adjust, add begin, end
3407         * insetiterator.[Ch]: adjust, add begin, end
3408         * cursor.C:
3409         * document.C:
3410         * BufferView.C:
3411         * BufferView_pimpl.C:
3412         * CutAndPaste.C: adjust
3413
3414 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3415
3416         * buffer.C: increment file format to 232.
3417         * LaTeXFeatures.C: add bibtopic package.
3418         * bufferparams.[Ch]: param \use_bibtopic.
3419
3420         * lyxrc.[Ch]: add lyxrc bibtex_command
3421         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3422
3423         * buffer.C: increment file format to 231.
3424
3425 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3426
3427         * dociterator.C: implement forwardPar
3428         * iterators.[Ch]: remove, replaced by
3429         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3430         * BufferView.C:
3431         * BufferView_pimpl.C:
3432         * CutAndPaste.C:
3433         * buffer.C:
3434         * bufferview_funcs.C:
3435         * cursor.C:
3436         * lyxfind.C
3437         * lyxfunc.C
3438         * paragraph_funcs.C
3439         * toc.C:
3440         * Makefile.am: adjust
3441
3442 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3443
3444         * CutAndPaste.C (pasteSelection): fix 2 crashes
3445         (eraseSelection): fix a crash
3446         * paragraph_funcs.C: remove a warning
3447
3448 2004-03-28  Angus Leeming  <leeming@lyx.org>
3449
3450         * lfuns.h:
3451         * LyXAction.C (init): new LFUN_PRINT.
3452
3453         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3454
3455 2004-03-27  Angus Leeming  <leeming@lyx.org>
3456
3457         * lfuns.h:
3458         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3459
3460         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3461
3462 2004-03-27  Angus Leeming  <leeming@lyx.org>
3463
3464         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3465         insetlist always contains non-null pointers to insets.
3466
3467 2004-03-26  Angus Leeming  <leeming@lyx.org>
3468
3469         * src/BufferView_pimpl.C:
3470         * src/CutAndPaste.C:
3471         * src/buffer.C:
3472         * src/iterators.C:
3473         * src/output_plaintext.C:
3474         * src/outputparams.h:
3475         * src/paragraph_funcs.C:
3476         * src/rowpainter.C:
3477         * src/text.C:
3478         * src/text2.C:
3479         * src/frontends/controllers/ControlErrorList.C:
3480         * src/frontends/gtk/FileDialogPrivate.C:
3481         * src/frontends/gtk/GPainter.C:
3482         * src/frontends/gtk/GToolbar.C:
3483         * src/frontends/qt2/QRef.C:
3484         * src/mathed/math_scriptinset.C: squash compiler warnings.
3485
3486 2004-03-26  Angus Leeming  <leeming@lyx.org>
3487
3488         * ispell.C (LaunchIspell::start):
3489         * lyx_cb.C (AutoSaveBuffer::start):
3490         invoke run(DontWait) rather than runNonBlocking().
3491
3492 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3493
3494         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3495
3496 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3497
3498         * kbsequence.C (print): adjust
3499
3500         * kbmap.C (printKeySym): rename and change signature
3501         (printKey): use LyXKeySym::print()
3502
3503 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3504
3505         * undo.C: add using std::advance to compile for stlport
3506
3507 2004-03-24  Angus Leeming  <leeming@lyx.org>
3508
3509         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3510         it leads to a crash when no buffer is present.
3511
3512 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3513             Martin Vermeer  <martin.vermeer@hut.fi>
3514
3515         * lyxfunc.C (dispatch):
3516         * bufferparams.C (readToken): use the new LColor::setColor
3517
3518         * LColor.[Ch] (setColor): new version that takes two strings as
3519         argument and creates a new color entry if necessary
3520
3521 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3522
3523         * buffer.C (makeLaTeXFile): if the main latex file that is
3524         processed is usually a subdocument of some master, then pretend
3525         for a while that it is actually the master
3526
3527 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3528
3529         * buffer.C (getLabelList):
3530         (getBibkeyList): use getMasterBuffer()
3531         (getMasterBuffer): new method. Returns the main document in the
3532         case where one is using included documents.
3533
3534 2004-03-25  André Pönitz  <poenitz@gmx.net>
3535
3536         * Makefile.am:
3537         * iterators.[Ch]:
3538         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3539
3540         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3541
3542         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3543         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3544
3545         * ParameterStruct.h: merge with ParagraphParameters
3546
3547         * lyxtext.h: remove LyXText::parOffset() and getPar()
3548
3549         * text3.C: Remove all 'manual' update calls. We do now one per user
3550         interaction which is completely sufficient.
3551
3552         * Bidi.C:
3553         * BufferView.[Ch]:
3554         * BufferView_pimpl.C:
3555         * FontIterator.[Ch]:
3556         * MenuBackend.C:
3557         * ParagraphParameters.[Ch]:
3558         * buffer.C:
3559         * buffer.h:
3560         * bufferlist.C:
3561         * cursor.[Ch]:
3562         * cursor_slice.[Ch]:
3563         * dociterator.[Ch]:
3564         * errorlist.[Ch]:
3565         * factory.C:
3566         * lfuns.h:
3567         * lyxfind.C:
3568         * lyxfunc.C:
3569         * output_docbook.[Ch]:
3570         * output_latex.[Ch]:
3571         * output_linuxdoc.[Ch]:
3572         * output_plaintext.[Ch]:
3573         * paragraph.[Ch]:
3574         * paragraph_funcs.[Ch]:
3575         * paragraph_pimpl.[Ch]:
3576         * rowpainter.C:
3577         * tabular.[Ch]:
3578         * text.C:
3579         * text2.C:
3580         * toc.C:
3581         * undo.[Ch]: adjust
3582
3583         * frontends/controllers/ControlDocument.C:
3584         * frontends/controllers/ControlErrorList.C:
3585         * frontends/controllers/ControlSpellchecker.C:
3586         * insets/inset.C:
3587         * insets/inset.h:
3588         * insets/insetbase.h:
3589         * insets/insetbibitem.C:
3590         * insets/insetbox.C:
3591         * insets/insetbranch.C:
3592         * insets/insetcaption.C:
3593         * insets/insetcharstyle.C:
3594         * insets/insetcharstyle.h:
3595         * insets/insetcollapsable.C:
3596         * insets/insetcollapsable.h:
3597         * insets/insetert.C:
3598         * insets/insetfloat.C:
3599         * insets/insetfoot.C:
3600         * insets/insetmarginal.C:
3601         * insets/insetnote.C:
3602         * insets/insetoptarg.C:
3603         * insets/insettabular.C:
3604         * insets/insettext.C:
3605         * insets/insettext.h:
3606         * insets/insetwrap.C:
3607         * mathed/math_mboxinset.C:
3608         * mathed/math_nestinset.C:
3609         * mathed/math_scriptinset.C:
3610         * mathed/math_scriptinset.h:
3611         * support/types.h:
3612
3613 2004-03-24  Angus Leeming  <leeming@lyx.org>
3614
3615         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3616         deal with any child processes that have finished but are waiting to
3617         communicate this fact to the rest of LyX.
3618
3619 2004-03-24  Angus Leeming  <leeming@lyx.org>
3620
3621         64-bit compile fixes.
3622
3623         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3624         (c-tor): pass lyx::pos_types rather than ints.
3625
3626         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3627         lyx::pos_type.
3628
3629         * text.C (Delete): compile fix.
3630         (getPar): ensure that function declaration is the same as that in
3631         the header file.
3632
3633 2004-03-23  Angus Leeming  <leeming@lyx.org>
3634
3635         * ispell.C (LaunchIspell):
3636         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3637         a boost::shred_ptr rather than a std::auto_ptr.
3638
3639 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3640
3641         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3642         handle LFUN_FILE_INSERT_*
3643
3644         * lyxrc.C (setDefaults, getDescription, output, read):
3645         * lyxrc.h: remove ps_command
3646
3647 2004-03-22  Angus Leeming  <leeming@lyx.org>
3648
3649         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3650         Ensure that error_handler is processed once only and that all data
3651         is saved before attempting to output any warning messages.
3652
3653         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3654
3655 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3656
3657         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3658
3659 2004-03-19  André Pönitz  <poenitz@gmx.net>
3660
3661         * cursor.[Ch] (reset): take main text inset as argument
3662
3663         * BufferView: adjust
3664         * BufferView_pimpl.C: adjust
3665
3666         * paragraph.[Ch]: fix completely broken operator=()
3667
3668 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3669
3670         * LColor.C (getFromLyXName): make sure that the color name is used
3671         as lowercase.
3672
3673 2004-03-17  Angus Leeming  <leeming@lyx.org>
3674
3675         * lfuns.h:
3676         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3677
3678         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3679         dialog and to kill a forked process.
3680
3681 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3682
3683         * text2.C (setCursorFromCoordinates): fix font problem
3684
3685 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3686
3687         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3688         bogus "rebuild cursor" code
3689
3690 2004-03-11  André Pönitz  <poenitz@gmx.net>
3691
3692         * buffer.[Ch]: use InsetText instead of LyXText as container for
3693         the main lyx text.
3694
3695         * dociterator.[Ch]: drop the BufferView * member which is not needed
3696         anymore after the change to buffer.C
3697
3698         * paragraph_funcs.C:
3699         * text.C:
3700         * text2.C:
3701         * BufferView.[Ch]:
3702         * BufferView_pimpl.[Ch]:
3703         * cursor.[Ch]:
3704         * cursor_slice.[Ch]: adjust
3705
3706         * text3.C: fix bug in mathDispatch
3707
3708 2004-03-08  André Pönitz  <poenitz@gmx.net>
3709
3710         * undo.[Ch]: use 'StableDocumentIterator' as base for
3711         the Undo struct.
3712
3713 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3714
3715         * LaTeXFeatures.C:
3716         * bufferparams.[Ch]: add jurabib support and param.
3717
3718         * LaTeX.C: add FIXME/comment.
3719
3720 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3721
3722         * buffer.C: increment file format to 230.
3723
3724 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3725
3726         * cursor.C (dispatch): avoid infinite loops
3727
3728 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3729
3730         * rowpainter.C (paintSelection): fix x coordinates
3731
3732 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3733
3734         * text.C (rowBreakPoint): fix breaking before displayed insets
3735
3736 2004-03-01  André Pönitz  <poenitz@gmx.net>
3737
3738         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3739
3740         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3741
3742         * Makefile.am:
3743         * BufferView.C:
3744         * BufferView_pimpl.C:
3745         * buffer.C:
3746         * lyxfind.C:
3747         * lyxfunc.C:
3748         * text.C:
3749         * text2.C:
3750         * text3.C: adjust
3751
3752 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3753
3754         * lyxtext.h:
3755         * text.C:
3756         * text2.C:
3757         * rowpainter.C:
3758         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3759         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3760
3761 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3762
3763         * Bidi.[Ch] (computeTables): const correctness
3764         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3765         fill_hfill, fill_label_hfill and x from Row
3766         * lyxtext.h: prepareToPrint returns a RowMetrics
3767         * rowPainter.C: adjust
3768         * text.C (prepareToPrint): use width, not textWidth. adjust
3769         (redoParagraphInternal, cursorX): adjust
3770         * text2.C (getColumnNearX): adjust
3771         (init): put a default value to the top LyXText::width
3772
3773 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3774
3775         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3776
3777 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3778
3779         * lyxtext.h: add FontIterator class
3780
3781         * text.C (FontIterator, operator*, operator->, operator++): add
3782         (rowBreakPoint, setRowWidth): adjust (fixing a
3783         rebreaking bug)
3784
3785 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3786
3787         * BufferView_pimpl.C (workAreaDispatch): allow also
3788         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3789
3790 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3791
3792         * text.C (rowBreakPoint): fix a bug showing with very large insets
3793
3794 2004-02-25  André Pönitz  <poenitz@gmx.net>
3795
3796         * text3.C:
3797         * cursor.[Ch]: move some mathed specific code to mathed
3798
3799 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3800
3801         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3802         use_tempdir in preferences
3803         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3804         tempfile creation
3805         * lyx_main.C: ensure that tempdir is valid
3806         * lyxlex.h: correct typo
3807         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3808         * paragraph.[Ch] (isMultiLingual): make const
3809         * cursor.[Ch] (openable): make const
3810
3811 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3812
3813         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3814
3815 2004-02-20  André Pönitz  <poenitz@gmx.net>
3816
3817         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3818
3819         * cursor.[Ch]: prepare for localized getStatus()
3820
3821         * lyxtext.h:
3822         * tabular.C:
3823         * text.C:
3824         * text2.C:
3825         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3826
3827 2004-02-20  André Pönitz  <poenitz@gmx.net>
3828
3829         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3830
3831 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3832
3833         * text2.C (setCursorFromCoordinates): switch to absolute coords
3834         (cursorUp): adjust
3835         (cursorDown): adjust
3836         * text3.C (dispatch): adjust
3837
3838 2004-02-16  André Pönitz  <poenitz@gmx.net>
3839
3840         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3841           insets/ChangeLog)
3842
3843         * cursor_slice.[Ch]: remove unneeded acessor function
3844
3845         * lyxtext.h: rename rtl() to isRTL()
3846
3847         * rowpainter.C:
3848         * tabular.C:
3849         * text.C:
3850         * text2.C:
3851         * text3.C: adjust
3852
3853 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3854
3855         * rowpainter.C (paintSelection): coord fix
3856
3857 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3858
3859         * Spacing.C: compile fix
3860
3861 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3862
3863         * cursor.C (dispatch): restore current_ before returning
3864
3865 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3866
3867         * text2.C (cursorUp, cursorDown): fix coords
3868         (moveUp): fix crash
3869
3870 2004-02-12  André Pönitz  <poenitz@gmx.net>
3871
3872         * lyxtext.h:
3873         * text.C:
3874         * text2.C:
3875         * text3.C: add LCursor & parameter to most cursor movement functions
3876           remove usage of LyXText::cursorRow() and cursorPar()
3877
3878         * cursor.[Ch]: add textRow() needed members
3879
3880         * BufferView.C:
3881         * BufferView_pimpl.C:
3882         * paragraph.[Ch]:
3883         * BufferView.C:
3884         * BufferView_pimpl.C: adjust
3885
3886 2004-02-11  André Pönitz  <poenitz@gmx.net>
3887
3888         * lyxfunc.C:
3889         * BufferView.[Ch]:
3890         * BufferView_pimpl.C: shift undo/redo handling
3891
3892         * cursor.[Ch]: fix mathed crash
3893
3894         * lyxfind.C:
3895         * lyxtext.h: move selectionAsText to LCursor
3896
3897         * output_latex.C:
3898         * paragraph.C:
3899         * text.C:
3900         * text2.C:
3901         * text3.C: adjust
3902
3903         * rowpainter.C: fix excessive drawing
3904
3905 2004-02-06  André Pönitz  <poenitz@gmx.net>
3906
3907         * BufferView.[Ch]:
3908         * BufferView_pimpl.[Ch]:
3909         * text3.C: move some text specific LFUN handling
3910
3911 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3912
3913         * text3.C (checkInsetHit): adjust coords
3914         * text2.C (getColumnNearX): adjust coords
3915         (edit): adjust coords
3916         * text.C (getRowNearY): add two asserts
3917
3918 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3919
3920         * converter.C:
3921         * format.C: add using std::distance to compile on gcc 2.95/stlport
3922
3923 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3924
3925         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3926
3927 2004-02-04  André Pönitz  <poenitz@gmx.net>
3928
3929         * BufferView.[Ch] (insertInset):
3930         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3931
3932         * text2.C:
3933         * text3.C: adjust
3934
3935 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3936
3937         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3938         on the default clause of the switch
3939         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3940         wasn't catched by LCursor::dispatch
3941
3942 2004-02-03  André Pönitz  <poenitz@gmx.net>
3943
3944         * BufferView.C:
3945         * cursor.[Ch]: some additional asserts
3946
3947         * undo.[Ch]: remove LyXText dependency in interface
3948
3949         * lyxfunc.C: adjust
3950
3951         * lyxtext.h (firstPar, lastPar): remove dead functions
3952
3953         * text.C:
3954         * text2.C:
3955         * text3.C:
3956         * paragraph.[Ch]: adjust
3957
3958 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3959
3960         * lyxfind.C (find): fix argument order in call to ::find
3961
3962 2004-02-02  André Pönitz  <poenitz@gmx.net>
3963
3964         * cursor.[Ch]: remove direct access to anchor
3965
3966         * text.C: remove findText() hack
3967
3968 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3969
3970         * iterators.[Ch] (lockPath): remove in favour of...
3971         * BufferView.[Ch] (setCursor): this addition
3972         * BufferView.C (putSelectionAt): adjust
3973         * undo.C (performUndoOrRedo): adjust
3974         * lyxfunc.C (dispatch): adjust
3975
3976 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3977
3978         * iterators.C (lockPath): add a missing slice
3979         * undo.C (performUndoOrRedo): remove redundant positioning code
3980
3981 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3982
3983         * vc-backend.C (scanMaster): ";" -> ';'
3984
3985 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3988         std::binary_function
3989
3990         * lyxtextclass.C (compare_name): rename to...
3991         (LayoutNamesEqual): ...this
3992
3993         * lyxlex_pimpl.C (compare_tags): inherit from
3994         std::binary_function, put back into anon namespace
3995
3996         * lyxfind.C (MatchString): inherig from std::binary_function
3997         (findChange): use empty() istead of !size()
3998
3999         * format.C (FormatNamesEqual): new functor
4000         (getFormat): use it
4001         (getNumber): use it
4002         (add): use it
4003         (erase): use it
4004         (setViewer): use it
4005
4006         * converter.C (compare_Converter): rename to...
4007         (ConverterEqual): ...this, and fixup a bit.
4008         (getConverter): use it, and make function const
4009         (getNumber): use it, and make function const
4010         (add): use it
4011         (erase): use it:
4012
4013         * bufferlist.C: add using boost::bind
4014
4015         * MenuBackend.C (MenuNamesEqual): new functor
4016         (hasMenu): use it, and make function const
4017         (hasSubmenu): use nested bind to get rid of compare_memfun.
4018
4019 2004-01-30  André Pönitz  <poenitz@gmx.net>
4020
4021         * BufferView_pimpl.C:
4022         * cursor.C:
4023         * cursor.h:
4024         * cursor_slice.[Ch]:
4025         * lyxfunc.C:
4026         * lyxtext.h:
4027         * paragraph_funcs.C:
4028         * paragraph_funcs.h:
4029         * rowpainter.C:
4030         * text.C:
4031         * text2.C:
4032         * text3.C: move some of the edit(x,y) handling to the insets
4033         some coordinate changes.
4034
4035 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4036
4037         * text.C: add using statements for std::advance and std::distance
4038
4039         * paragraph.C: add using statement for std::distance
4040
4041         * lyxfind.C: add using statement for std::advance
4042
4043         * cursor.C (region): remove std:: from swap
4044         (openable): use nucleus in stead of operator->
4045
4046         * BufferView.C: add using statements for std::distance and std::swap
4047
4048 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4049
4050         * iterators.C: Remove the pimple, move the needed structures to
4051         the header file. Create accessor for the positions stack.
4052         (asPosIterator): remove function
4053
4054         * PosIterator.C (PosIterator): move constructors to top of file
4055         (PosIterator): reimplement the constructor taking a ParIterator in
4056         terms of setFrom.
4057         (setFrom): new function
4058         (operator!=): inline it
4059
4060 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * lyxfind.C (replaceAll): use std::advance
4063
4064         * iterators.h: inherit from std::iterator.
4065
4066         * PosIterator.C (advance, distance): remove
4067         * PosIterator.h: interit from std::iterator.
4068
4069 2004-01-26  André Pönitz  <poenitz@gmx.net>
4070
4071         * BufferView.[Ch]:
4072         * BufferView_pimpl.[Ch]:
4073         * InsetList.[Ch]:
4074         * PosIterator.[Ch]:
4075         * buffer.h:
4076         * bufferview_funcs.C:
4077         * cursor.[Ch]:
4078         * cursor_slice.h:
4079         * factory.[Ch]:
4080         * iterators.[Ch]:
4081         * lyxfind.C:
4082         * lyxfunc.C:
4083         * lyxtext.h:
4084         * output_docbook.C:
4085         * output_latex.C:
4086         * output_linuxdoc.C:
4087         * output_plaintext.C:
4088         * paragraph.[Ch]:
4089         * paragraph_funcs.[Ch]:
4090         * paragraph_pimpl.[Ch]:
4091         * rowpainter.C:
4092         * tabular.C:
4093         * tabular.h:
4094         * text.C:
4095         * text2.C:
4096         * text3.C: more IU:  dumps most of the rest of the mathcursor
4097     implementation into cursor.[Ch]; "globalize" a bit of it.
4098
4099 2004-01-25  Angus Leeming  <leeming@lyx.org>
4100
4101         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4102
4103 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4104
4105         * LaTeXFeatures.h: add nice_ and nice() const
4106         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4107
4108 2004-01-20  André Pönitz  <poenitz@gmx.net>
4109
4110         * BufferView.[Ch]:
4111         * BufferView_pimpl.C:
4112         * PosIterator.C:
4113         * bufferview_funcs.C:
4114         * cursor.[Ch]:
4115         * cursor_slice.[Ch]:
4116         * factory.C:
4117         * iterators.C:
4118         * lyx_cb.C:
4119         * lyxfind.C:
4120         * lyxfunc.C:
4121         * lyxtext.h:
4122         * rowpainter.C:
4123         * text.C:
4124         * text2.C:
4125         * text3.C:
4126         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4127           LCursor and mathcursor parts to LCursor and InsetBase.
4128
4129 2004-01-15  André Pönitz  <poenitz@gmx.net>
4130
4131         * cursor_slice.[Ch]: add a few covienience functions
4132
4133         * funcrequest.[Ch]: remove BufferView * member
4134
4135         * BufferView_pimpl.C:
4136         * cursor.C:
4137         * factory.[Ch]:
4138         * lyxfind.[Ch]:
4139         * lyxfunc.C:
4140         * lyxtext.h:
4141         * text3.C:
4142         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4143
4144 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4145
4146         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4147         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4148
4149 2004-01-13  André Pönitz  <poenitz@gmx.net>
4150
4151         * textcursor.[Ch]:
4152         * lyxtext.h: hide cursor and selection anchor behind accessor function
4153
4154         * BufferView.C:
4155         * BufferView_pimpl.[Ch]:
4156         * PosIterator.C:
4157         * bufferview_funcs.C:
4158         * cursor.h:
4159         * lyxfind.C:
4160         * lyxfunc.C:
4161         * text.C:
4162         * text2.C:
4163         * text3.C:
4164         * undo.C: adjust
4165
4166         * cursor.h:
4167         * cursor_slice.[Ch]: some integer type changes for inset unification
4168
4169         * lyxcursor.[hC]: remove, it's CursorSlice now.
4170
4171         * Makefile.am:
4172         * BufferView_pimpl.[Ch]:
4173         * bufferview_funcs.C:
4174         * cursor_slice.C:
4175         * lyxtext.h:
4176         * text.C:
4177         * text2.C:
4178         * text3.C:
4179         * textcursor.[Ch]: adjust
4180
4181 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4182
4183         * text2.C (undoSpan): add and use
4184         * text.C (breakParagraph): use undoSpan (fix bug 578)
4185         * lyxtext.h: adjust
4186
4187 2004-01-08  Angus Leeming  <leeming@lyx.org>
4188
4189         * BufferView_pimpl.C (MenuInsertLyXFile):
4190         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4191         * lyxfunc.C (menuNew, open, doImport):
4192         FileFilterList change to the FileDialog open and save functions.
4193
4194 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * ShareContainer.h: make isEqual and isUnique adaptable
4197
4198         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4199
4200 2004-01-07  Angus Leeming  <leeming@lyx.org>
4201
4202         * LyXAction.C:
4203         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4204
4205         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4206
4207         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4208         functions replacing find, replace and replaceAll.
4209
4210         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4211         LFUN_WORDFIND(FORWARD|BACKWARD).
4212
4213 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4214
4215         * text.C (breakParagraph): remove an outdated #warning
4216
4217 2004-01-07  André Pönitz  <poenitz@gmx.net>
4218
4219         * lyxfind.C: somewhat clearer logic
4220
4221         * text.C: prevent crash in cursorX on unitialized row cache
4222
4223 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4224
4225         * lyxcursor.[Ch] (operator>): add
4226         * textcursor.C (selStart, selEnd): use std::min and std::max
4227
4228 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * Chktex.C: include boost/format.hpp
4231
4232 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4233
4234         * InsetList.C: replace functor MathcIt with adaptable functor
4235         InsetTablePosLess
4236         (insetIterator): modify accordingly
4237
4238         * BranchList.h: move the BranchNamesEqual functor here from...
4239         * BranchList.C: ... to here
4240
4241         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4242         SameName and match.
4243         (add): replace a finding loop with std::find_if.
4244
4245 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4246
4247         * output_docbook.C: moving LatexParam functionality into
4248         .layout files
4249
4250 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4251
4252         * buffer.C: increment format to 229.
4253
4254 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4255
4256         * LaTeXFeatures.C:
4257         * lyx_sty.[Ch]: remove minipageindent_def
4258
4259         * LyXAction.C:
4260         * factory.C:
4261         * lfuns.h:
4262         * lyxfunc.C:
4263         * text3.C: remove LFUN_INSET_MINIPAGE
4264
4265 2003-12-28  Angus Leeming  <leeming@lyx.org>
4266
4267         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4268
4269 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4270
4271         * text2.C (setParagraph): fix off-by-one crash
4272
4273 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4274
4275         * output_docbook.C: header stuff for AGU
4276
4277 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4278
4279         * text2.C (redoCursor): remove
4280         * text.C:
4281         * text3.C:
4282         * BufferView_pimpl.C: remove calls to redoCursor and
4283         setCursor(cursor.par(), cursor.pos()) all around
4284
4285 2003-12-15  Angus Leeming  <leeming@lyx.org>
4286
4287         * buffer.C: up the format to 228.
4288
4289 2003-12-15  André Pönitz  <poenitz@gmx.net>
4290
4291         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4292         slices
4293
4294         * Makefile.am:
4295
4296         * BufferView_pimpl.C:
4297         * cursor.[Ch]:
4298         * lyxcursor.[Ch]:
4299         * rowpainter.[Ch]:
4300         * lyxtext.h:
4301         * text.C:
4302         * text2.C:
4303         * text3.C: adjust
4304
4305 2003-12-15  Angus Leeming  <leeming@lyx.org>
4306
4307         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4308         than getFromGUIName to manipulate the color.
4309
4310 2003-12-14  Angus Leeming  <leeming@lyx.org>
4311
4312         * BranchList.[Ch]: minimize the API.
4313         (Branch::getBranch, getColor): now return a 'const &'.
4314         (Branch::setSelected) now returns a bool set to true if the
4315         selection status changes.
4316         (BranchList::clear, size, getColor, setColor, setSelected,
4317         allBranches, allSelected, separator): removed.
4318         (BranchList::find): new functions, returning the Branch with
4319         the given name.
4320         (BranchList::add, remove): return a bool indicating that
4321         the operation was successful.
4322
4323         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4324         new InsetBranch::isBranchSlected member function.
4325
4326         * LColor.[Ch]: mimimize the API.
4327         (fill): renamed as addColor and made private.
4328         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4329         versions of these functions taking a string arg have been removed.
4330
4331         * bufferparams.C (readToken):
4332         * lyxfunc.C (dispatch):
4333         * lyxrc.C (read): changes due to the altered BranchList and
4334         LColor APIs.
4335
4336         * factory.C (createInset, readInset): changes due to altered
4337         InsetBranch c-tor.
4338
4339 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4340
4341         * factory.C:
4342         * lyxfunc.C: remove insetminipage. "minipage-insert"
4343         now produces a frameless minipage box inset.
4344
4345 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4346
4347         * textcursor.[Ch] (selStart,selEnd): add new methods
4348         remove selection::start, end, use LyXCursor::operator<
4349         * lyxcursor.[Ch] (operator<): add
4350         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4351         * BufferView.[Ch] (unsetXSel): add
4352         * text2.C (clearSelection): use unsetXSel,adjust
4353         * text.C: adjust
4354         * text3.C: adjust
4355         * rowpainter.C: adjust
4356         * bufferview_funcs.C (put_selection_at): adjust
4357
4358 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4359
4360         * BufferView_pimpl.C: small coord. correction
4361
4362 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4363
4364         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4365         dragging over the splash screen.
4366
4367 2003-12-11  Angus Leeming  <leeming@lyx.org>
4368
4369         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4370         as it is now handled in LyXText::dispatch.
4371
4372         * text3.C (doInsertInset): remove a level of nesting.
4373
4374 2003-12-11  Angus Leeming  <leeming@lyx.org>
4375
4376         * factory.C (createInset): changes due to the changed interface to
4377         InsetCommandMailer::string2params.
4378
4379 2003-12-10  Angus Leeming  <leeming@lyx.org>
4380
4381         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4382         'dialog-show-new-inset <inset name>'
4383
4384 2003-12-10  Angus Leeming  <leeming@lyx.org>
4385
4386         * buffer.C: up the format to 227.
4387
4388         * factory.C: the box inset is now identified simply by 'Box'.
4389
4390 2003-12-10  Angus Leeming  <leeming@lyx.org>
4391
4392         * buffer.C: up the format to 226.
4393
4394         * factory.C: the note inset is now identified simply by 'Note'.
4395
4396 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4397
4398         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4399         when a pit is enough. Standarize a couple of loops.
4400
4401 2003-12-05  Angus Leeming  <leeming@lyx.org>
4402
4403         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4404         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4405         data to the re-worked "log" dialog.
4406
4407 2003-12-03  André Pönitz  <poenitz@gmx.net>
4408
4409         * PosIterator.C:
4410         * iterators.C:
4411         * lyxtext.h:
4412         * output_latex.C:
4413         * paragraph_funcs.C:
4414         * text.C:
4415         * text2.C: use Inset::getText instead of Inset::getParagraph
4416
4417 2003-12-03  André Pönitz  <poenitz@gmx.net>
4418
4419         * buffer.[Ch]:
4420         * lyxtext.h:
4421         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4422         InsetText::read() as LyXText::read()
4423
4424 2003-12-02  Angus Leeming  <leeming@lyx.org>
4425
4426         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4427         type. Add a comment in the implementation that the function uses
4428         the stream's bad() function rather than fail() as the std::streams
4429         would do.
4430
4431 2003-12-02  André Pönitz  <poenitz@gmx.net>
4432
4433         * lyxlex.[Ch]: make interface more similar to std::stream
4434
4435         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4436
4437 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4438
4439         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4440
4441 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4442
4443         * vspace.[Ch]: remove VSpace::NONE
4444
4445 2003-12-01  André Pönitz  <poenitz@gmx.net>
4446
4447         * buffer.[Ch]:
4448         * lyxtext.h: move ParagraphList member to LyXText
4449         rename LyXText::ownerParagraphs to LyXText::paragraph
4450
4451         * CutAndPaste.C:
4452         * bufferview_funcs.C:
4453         * iterators.[Ch]:
4454         * lyx_cb.C:
4455         * paragraph.C:
4456         * rowpainter.C:
4457         * tabular.C:
4458         * text.C:
4459         * text2.C:
4460         * text3.C: adjust
4461
4462         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4463
4464         * undo.C: fix cursor positioning
4465
4466 2003-12-01  John Levon  <levon@movementarian.org>
4467
4468         * BufferView_pimpl.C: fix a crash on exit with
4469         a buffer open
4470
4471 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4472
4473         * BranchList.C: fix setSelected() method.
4474
4475 2003-11-28  André Pönitz  <poenitz@gmx.net>
4476
4477         * ParagraphParameters.[Ch]:
4478         * ParameterStruct.h: remove space above/below from Paragraph to
4479          InsetVSpace
4480
4481         * BufferView_pimpl.C:
4482         * factory.C:
4483         * lyxfunc.C:
4484         * lyxtext.h:
4485         * output_latex.C:
4486         * paragraph.C:
4487         * paragraph_funcs.C:
4488         * rowpainter.[Ch]:
4489         * text.C:
4490         * text2.C:
4491         * text3.C: adjust
4492
4493 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4494
4495         * factory.C: Syntax change for CharStyles
4496
4497 2003-11-28  André Pönitz  <poenitz@gmx.net>
4498
4499         * BufferView.[Ch]:
4500         * BufferView.[Ch]:
4501         * buffer.[Ch]:
4502         * buffer.[Ch]: move LyXText member
4503
4504 2003-11-28  André Pönitz  <poenitz@gmx.net>
4505
4506         * BufferView.[Ch]: make LyXText * text a private member
4507
4508         * BufferView_pimpl.C:
4509         * cursor.C:
4510         * iterators.C:
4511         * lyx_cb.C:
4512         * lyxfind.C:
4513         * lyxtext.h:
4514         * rowpainter.[Ch]:
4515         * text.C:
4516         * text2.C:
4517         * undo.C: adjust
4518
4519         * output_plaintext.C: cleanup
4520
4521 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4522
4523         * buffer.C:
4524         * lyxtextclass.[Ch]: parametrize SGML document header
4525
4526 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4527
4528         * converter.[Ch]:
4529         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4530         getFlavor().
4531
4532 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4533
4534         * text2.C (setFont): rework using PosIterator (no more recursive)
4535         (setCharFont): no more needed
4536         (setLayout): no more selection cursors fiddling (done by redoCursor)
4537         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4538         destroy remaining ones)
4539
4540 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4541
4542         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4543         * lyxtext.h: ditto
4544         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4545         selection cursors
4546         * lyxfunc.C: adjust
4547         * text3.C: adjust + re-allow multi par depth changes
4548         * textcursor.C: simplify a bit
4549
4550 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4551
4552         * src/buffer.C:
4553         * src/lyxlayout.C:
4554         * src/lyxlayout.h:
4555         * src/lyxtext.h:
4556         * src/output_docbook.C:
4557         * src/output_latex.C:
4558         * src/paragraph.C:
4559         * src/paragraph.h:
4560         * src/sgml.C:
4561         * src/sgml.h:
4562         * src/text2.C: Introducing a number of tags parametrizing various
4563         XML formats that we may want to support
4564
4565 2003-11-25  André Pönitz  <poenitz@gmx.net>
4566
4567         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4568
4569         * lyxtext.h (leftMargin/rightMargin): simplify interface
4570
4571         * rowpainter.C:
4572         * text.C:
4573         * text2.C:
4574         * text3.C: adjust
4575
4576 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4577
4578         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4579         master file to any child files. Fixes bug 546.
4580
4581 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4582
4583         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4584
4585 2003-11-24  André Pönitz  <poenitz@gmx.net>
4586
4587         * rowpainter.C: simplification
4588
4589         * text2.C (updateCounters): remove call to redoParagraph on
4590         changed labels as this is far too expensive.
4591
4592 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4593
4594         * converter.C (convert): fix a crash: this function gets
4595         called with buffer == 0 from importer code.
4596
4597 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * text3.C (cursorPrevious): make sure that we do not compare
4600         iterators form different containers.
4601         (cursorNext): ditto
4602
4603         * rowpainter.C (paintSelection): make sure that we do not compare
4604         iterators from different containers.
4605
4606         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4607         iterators from different ParagraphList containers.
4608         [NEXT] ditto
4609
4610         * text2.C (LyXText): change order of initialization slightly
4611         (operator=): new function. copy all variables except cache_par_
4612         (moveUp): make sure that we do not compare iterators from
4613         different ParagraphList constainers.
4614         (moveDown): ditto
4615
4616         * text.C (firstPar): new function
4617         (lastPar): new function
4618         (endPar): new function
4619
4620         * lyxtext.h: move things around and group public functions, public
4621         variables, private functions, private variables
4622
4623 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4624
4625         * factory.C: change call to InsetERT constructor to avoid
4626         additional invocation of method status
4627         * text2.C (toggleInset): remove redundant update() call
4628         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4629         instead of a Bufferview pointer
4630
4631 2003-11-21  André Pönitz  <poenitz@gmx.net>
4632
4633         * rowpainter.C: simplification
4634
4635 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4636
4637         * text3.C (dispatch): make possible to extend a word/row selection
4638         with the mouse
4639
4640 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4641
4642         * lyxtext.h: x0_,y0_ -> xo_,yo_
4643         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4644         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4645         * rowpainter.C (paintRows): paint full paragraphs
4646
4647 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4648
4649         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4650         screen coordinates)
4651
4652 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4653
4654         * lyxtext.h: add x0_, y0_
4655         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4656         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4657
4658 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4659
4660         * text2.C (setCursorIntern): move the x_target update here *
4661         * text3.C: change some bv() to true/false in calls to
4662         cursorUp/Down/Right/Left
4663         * cursor.C: use helper function.
4664
4665 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4666
4667         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4668         * paragraph_funcs.[Ch]: correct comment
4669         * rowpainter.C: do not paint selections away from bv->cursor()
4670         Fix a long standing selection painting bug.
4671         * text3.C: generalize mouse-selection code to LyXTexts other that
4672         top one
4673         * textcursor.C: do not use y coords if we can use par offsets
4674
4675 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4676
4677         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4678         cursor position after e.g. inset insert)
4679
4680 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4681
4682         * lyxfind.C (replace): adjust to locking removal + some
4683         code simplification
4684
4685 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4686
4687         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4688         of the path
4689
4690 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4691
4692         * lyxlayout.[Ch]:
4693         * output_docbook.C: XML sanitation: new layout
4694         parameters InnerTag and CommandDepth
4695
4696 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4697
4698         * BufferView_pimpl.C:
4699         * factory.C:
4700         * text3.C: Fix the insertion and modification of button-style
4701         insets
4702
4703 2003-11-13  André Pönitz  <poenitz@gmx.net>
4704
4705         * InsetList.[Ch]: remove deleteLyXText
4706
4707         * paragraph.[Ch]: cache beginOfBody position
4708
4709         * Bidi.C:
4710         * text.C:
4711         * text2.C:
4712         * text3.C: remove superfluous update() calls
4713
4714         * vspace.C: cleanup
4715
4716 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4717
4718         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4719         * BufferView.C (fitLockedInsetCursor): remove
4720         * cursor.[Ch] (getDim): add
4721         * text.C (getRowNearY): add faster version
4722         * text3.C: remove some update calls
4723
4724 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4725
4726         * LaTeXFeatures.C:
4727         * LyXAction.C:
4728         * MenuBackend.C:
4729         * MenuBackend.h:
4730         * dispatchresult.h:
4731         * factory.C:
4732         * lfuns.h:
4733         * lyxfunc.C:
4734         * lyxtextclass.C:
4735         * lyxtextclass.h:
4736         * text3.C: The Character Style /XML short element patch.
4737
4738 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4739
4740         * text3.C:
4741         * factory.C: Small step to solving 'unable to insert some insets'
4742         problem
4743
4744 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4745
4746         * cursor.[Ch] (updatePos): new function for updating the y
4747         position of the tip inset
4748         * bufferview_funcs.C (put_selection_at):
4749         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4750
4751 2003-11-11  André Pönitz  <poenitz@gmx.net>
4752
4753         * text.C: remove big comment on invalid Paragraph pointers as it is
4754         not valid anymore
4755
4756 2003-11-11  André Pönitz  <poenitz@gmx.net>
4757
4758         * text_funcs.[Ch]: merge with ...
4759
4760         * text.C: ... this
4761
4762         * lyxtext.h:
4763         * text2.C:
4764         * text3.C: adjust
4765
4766         * Makefile.am: remove text_funcs.[Ch]
4767
4768 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4769
4770         * cursor.C (getPos): return absolute cached y coord
4771
4772         * BufferView_pimpl.C (fitCursor): new simplistic code
4773         (workAreaDispatch): add a fitCursor call
4774
4775 2003-11-10  André Pönitz  <poenitz@gmx.net>
4776
4777         * BufferView.[Ch]:
4778         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4779
4780 2003-11-10  André Pönitz  <poenitz@gmx.net>
4781
4782         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4783         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4784         indicate that the cursor needs to leave an inset
4785
4786         * lyxtext.h: remove inset locking
4787
4788         * cursor.[Ch]: re-implement functionality provided by inset locking
4789
4790         * BufferView.[Ch]:
4791         * BufferView_pimpl.[Ch]:
4792         * LyXAction.C:
4793         * bufferview_funcs.[Ch]:
4794         * factory.C:
4795         * funcrequest.[Ch]:
4796         * iterators.C:
4797         * lyx_cb.C:
4798         * lyxfind.C:
4799         * lyxfunc.C:
4800         * text.C:
4801         * text2.C:
4802         * text3.C:
4803         * undo.C: adjust
4804
4805 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4806
4807         * PosIterator.[Ch]: replace the stack with a vector, add inset
4808         accesor
4809         * iterators.[C]: adjust
4810
4811 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4812
4813         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4814         replaced
4815         * paragraph_funcs.C (readParToken): put the correct id in the
4816         error item, not the id of the top paragraph
4817
4818 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4819
4820         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4821         * bufferview_funcs.C (put_selection_at): use the above
4822
4823 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4824
4825         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4826
4827 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4828
4829         * output_linuxdoc.h:
4830         * output_plaintext.h:
4831         * output.h:
4832         * output_docbook.h: add #include statements
4833
4834 2003-11-05  José Matos  <jamatos@lyx.org>
4835
4836         * output_docbook.[Ch]:
4837         * output_latex.[Ch]:
4838         * output_linuxdoc.[Ch]:
4839         * output_plaintext.[Ch]: New files for output formats.
4840         * output.[Ch]: New file for helper functions.
4841
4842         * buffer.[Ch]:
4843         * paragraph_funcs.[Ch]: output functions moved to new files.
4844
4845         * outputparams.h: rename of latexrunparams.h
4846
4847         * LaTeX.[Ch]:
4848         * buffer.[Ch]:
4849         * bufferlist.[Ch]:
4850         * converter.[Ch]:
4851         * exporter.C:
4852         * paragraph.[Ch]:
4853         * paragraph_funcs.[Ch]:
4854         * paragraph_pimpl.[Ch]:
4855         * tabular.[Ch]: rename ascii to plaintext
4856         and LatexRunParams to OutputParams.
4857
4858 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4859
4860         * iterators.[Ch] (text): require bv argument
4861         * undo.C (recordUndo):
4862         * lyxfunc.C (dispatch):
4863         * bufferview_funcs.C (put_selection_at): adjust
4864
4865 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4866
4867         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4868
4869 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4870
4871         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4872         nestings
4873
4874 2003-11-04  André Pönitz  <poenitz@gmx.net>
4875
4876         * cursor.[Ch]: restructure
4877
4878         * BufferView.[Ch]:
4879         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4880
4881         * iterators.[Ch] (asCursor): remove
4882
4883         * lfuns.h: remove LFUN_INSET_EDIT
4884
4885         * lyxfunc.C:
4886         * tabular.C:
4887         * text.C:
4888         * text2.C:
4889         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4890
4891 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4892
4893         * lyxfind.[Ch]: complete overhaul
4894         * BufferView_pimpl.C:
4895         * lyxfunc.C: adjust
4896         * paragraph.[Ch] (insert): add
4897
4898 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4899
4900         * BufferView.[Ch]:
4901         * lyxtext.h:
4902         * text.C: remove dead spellcheck code
4903
4904 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * dispatchresult.h: add a val setter
4907
4908         * cursor.C (dispatch): use a tempvar for data_[i]
4909
4910 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4911
4912         * PosIterator.[Ch]: compile fix
4913
4914 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4915
4916         * text.C (cursorPar): deactivate the cursor cache
4917
4918 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4919
4920         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4921
4922 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * text3.C (dispatch): adjust for new DisptchResult semantics.
4925
4926         * lyxfunc.C (dispatch): handle update when return from
4927         Cursor::dispatch, adjust for new DispatchResult semantics.
4928
4929         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4930         DispatchResult(true) mean to not update. Add class functions for
4931         setting dispatched and update, as well as reading.
4932
4933         * cursor.C (dispatch): don't handle update here
4934
4935 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4938         * trans_mgr.C: adjust
4939
4940         * paragraph_funcs.C (readParToken): exception safety
4941
4942         * lyxvc.h: store the vcs pointer in a scoped_ptr
4943         * lyxvc.C: adjust
4944
4945         * lyxsocket.C (serverCallback): exception safety
4946
4947         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4948
4949         * ispell.C (clone): make it return a auto_ptr
4950
4951         * factory.C (createInset): exception safety
4952         (readInset): exception safety
4953
4954         * bufferlist.C (newBuffer): exception safety
4955
4956         * Thesaurus.C (Thesaurus): use initialization for aik_
4957
4958         * MenuBackend.C (expandToc): exception safety.
4959
4960 2003-11-03  André Pönitz  <poenitz@gmx.net>
4961
4962         * buffer.C:
4963         * buffer.h:
4964         * bufferview_funcs.C: remove getInsetFromId()
4965
4966         * lyxcursor.[Ch]:
4967         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4968
4969         * lyxfunc.C:
4970         * text2.C:
4971         * text3.C: adjust
4972
4973 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * PosIterator.C (distance, advance): new
4976         * bufferview_funcs.[Ch] (put_selection_at): new
4977         * iterators.[Ch] (lockPath): new
4978
4979 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4980
4981         * iterators.[Ch] (asPosIterator): added
4982         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4983         * PosIterator.[Ch]: added
4984
4985 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * text3.C:
4988         * lyxfunc.C:
4989         * cursor.C (dispatch):
4990         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4991
4992         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4993         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4994         contructor, add a class function dispatched. Remove operator>=
4995
4996 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4997
4998         * debug.C: only use the default constructor for debugstream
4999         (lyxerr) here.
5000
5001         * main.C (main): include debug.h and setup the lyxerr streambuf
5002         here.
5003
5004 2003-10-31  José Matos  <jamatos@lyx.org>
5005
5006         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5007
5008         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5009         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5010         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5011         * paragraph_pimpl.C (simpleTeXSpecialC):
5012         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5013         add LatexRunParams argument.
5014
5015         * exporter.C (Export): change call accordingly.
5016
5017         * latexrunparams.h: add new member to take care of the other backends.
5018 2003-10-30  José Matos  <jamatos@lyx.org>
5019
5020         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5021         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5022         factorise code for paragraph output.
5023         * buffer.[Ch]:
5024         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5025         move functions.
5026
5027 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * text3.C (dispatch):
5030         * lyxfunc.C (dispatch):
5031         * cursor.C (dispatch):
5032         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5033
5034         * dispatchresult.h: make the dispatch_result_t ctor explicit
5035
5036 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5037
5038         * sgml.[Ch]:
5039         * buffer.C: small refactoring of docbook stuff
5040
5041 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5042
5043         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5044         meaning.
5045
5046 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5049         operator dispatch_result_t, and operators for == != and >=
5050
5051         * cursor.C (dispatch): adjust for operator dispatch_result_t
5052         removal. comment out call to update
5053
5054         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5055
5056 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * text3.C:
5059         * text2.C:
5060         * text.C:
5061         * lyxtext.h:
5062         * lyxfunc.C:
5063         * cursor.C:
5064         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5065         (dispatch):
5066
5067         * dispatchresult.h: new file, DispatchResult broken out of
5068         insets/insetbase.h
5069
5070         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5071
5072 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * text.C (rowBreakPoint): put a hack inside #if 0
5075
5076 2003-10-28  André Pönitz  <poenitz@gmx.net>
5077
5078         * lyxtext.h:
5079         * metricsinfo.C:
5080         * paragraph_funcs.C:
5081         * rowpainter.C:
5082         * text.C:
5083         * text2.C: general cleanup (lots of small stuff)
5084
5085 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5086
5087         * text2.C (cursorEnd): simple fix to the "end key goes to one
5088         before the end on last row" bug
5089
5090 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5091
5092         * text.C (backspace): fix the "zombie characters"
5093
5094 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5097
5098 2003-10-27  André Pönitz  <poenitz@gmx.net>
5099
5100         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5101
5102         * factory.C: handle new InsetPagebreak, InsetLine
5103
5104         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5105         and move handling into new InsetPagebreak, InsetLine
5106
5107         * BufferView_pimpl.C:
5108         * LyXAction.C:
5109         * ParagraphParameters.C:
5110         * ParameterStruct.h:
5111         * lyxfunc.C:
5112         * lyxtext.h:
5113         * paragraph.C:
5114         * paragraph.h:
5115         * paragraph_funcs.C:
5116         * paragraph_pimpl.C:
5117         * rowpainter.C:
5118         * text.C:
5119         * text2.C:
5120         * text3.C: adjust
5121
5122 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5123
5124         * text.C:
5125         * lyxrow_funcs.[Ch]:
5126         * Bidi.C:
5127         * paragraph.C:
5128         * lyxtext.h:
5129         * rowpainter.C:
5130         * text2.C:
5131         * text3.C: remove lastPos uses in favour of Row::endpos
5132
5133 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5134
5135         * undo.C (performUndoOrRedo): fix two crashes by setting a
5136         cursor by hand and reordering some calls. Use bv->lockInset instead
5137         of inset->edit because the latter loses cursor information
5138
5139 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5140
5141         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5142         by Martin
5143         (rowBreakPoint): fix width. change point to point + 1.
5144         Add a missing check.
5145
5146 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5147
5148         * MenuBackend.C:
5149         * lyxfunc.C: fix (at least partly) the problems
5150         with the Nav menu and headers inside branch insets
5151         reported by Kayvan
5152
5153 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5154
5155         * paragraph.C (getChar): add strong asserts
5156
5157         * lyxrow_funcs.C (lastPos): remove hideous hack
5158
5159         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5160         (fill): adjust to that (avoid an infinite loop)
5161
5162 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5163
5164         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5165
5166 2003-10-23  André Pönitz  <poenitz@gmx.net>
5167
5168         * RowList_fwd.h: change list<> to vector<> to gain speed
5169         after suggestion from Alfredo
5170
5171 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5172
5173         * lyxtext.h: move the bidi stuff from here...
5174         * text.C: and here
5175         * text2.C: and here
5176         * Bidi.[Ch]: ... to here
5177
5178 2003-10-23  André Pönitz  <poenitz@gmx.net>
5179
5180         * lyxtext.h:
5181         * text.C (isLastRow, isFirstRow): new functions
5182
5183         * paragraph.h: new width cache member
5184
5185         * rowpainter.C: replace RowList::iterator with Row & where possible
5186
5187         * lyxfunc.C: replace several view()->text with a single call
5188
5189         * toc.C: fix 'unused' warning
5190
5191 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5194         when woring with stream::pos_type
5195         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5196
5197 2003-10-22  André Pönitz  <poenitz@gmx.net>
5198
5199         * lyxtext.h:
5200         * text.C: use Row & instead of RowList::iterator
5201
5202         * lyxrow.h: rename end() to endpos()
5203
5204         * rowpainter.C:
5205         * text.C:
5206         * text2.C: adjust
5207
5208 2003-10-22  Angus Leeming  <leeming@lyx.org>
5209
5210         * buffer.[Ch] (fully_loaded): new member function, returning true
5211         only when the file has been loaded fully.
5212         Used to prevent the premature generation of previews and by the
5213         citation inset to prevent computation of the natbib-style label.
5214
5215         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5216         templates are all set up.
5217
5218         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5219
5220 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5221
5222         * text.C: fixed an "oops" in the "is a bit silly"
5223         bug fix
5224
5225 2003-10-21  André Pönitz  <poenitz@gmx.net>
5226
5227         * FuncStatus.[Ch]: small stuff, whitespace
5228
5229         * lyxfont.[Ch]: operator<<() for debug reasons
5230
5231         * lyxfunc.C:
5232         * lyxrow_funcs.C:
5233         * lyxtext.h: whitespace, spelling
5234
5235         * paragraph.C: naming of variables
5236
5237         * text.C:
5238         * text2.C: small stuff
5239
5240
5241 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5242
5243         * text.C: (1) finish off the inset display() work;
5244         (2) fix the "is a bit silly" bug (accessing char
5245         past end of par).
5246
5247 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5248
5249         * text.C: re-introduce display() for insets, fixing the
5250         various bugs (stretch of line above, math inset
5251         positioning, ...)
5252
5253 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5254
5255         * text.C (rightMargin): remove spurious semicolon
5256
5257         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5258         1415)
5259
5260 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5261
5262         * text3.C: fix one crash due to wrong cursor def
5263
5264 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * vc-backend.C (scanMaster): make the regex static
5267
5268         * LaTeX.C (scanAuxFile): make the regexs static
5269
5270         * text3.C (doInsertInset, dispatch, dispatch):
5271         * text2.C (cursorUp, cursorDown):
5272         * text.C (selectNextWordToSpellcheck):
5273         * BufferView_pimpl.C (dispatch):
5274         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5275
5276 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5277
5278         * lyxsocket.C: include <cerrno>
5279
5280 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * lyxfunc.C (dispatch): remove textcache stuff
5283
5284         * bufferlist.C (release): remove textcache stuff
5285         (closeAll): ditto
5286
5287         * TextCache.C: delete file
5288         * TextCache.h: delete file
5289
5290         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5291
5292         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5293         delete of the bv_->text.
5294         (resizeCurrentBuffer): remove texcache stuff
5295         (workAreaResize): ditto
5296
5297 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5298
5299         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5300         action.
5301
5302 2003-10-16  André Pönitz  <poenitz@gmx.net>
5303
5304         * lyxrow.[Ch]:
5305         * paragraph.h:
5306         * rowpainter.C:
5307         * text.C:
5308         * text2.C:
5309         * text3.C: speed up by storing y positions per paragraph plus per-row
5310         offset instead of having a 'full' y position in the row.
5311
5312 2003-10-15  André Pönitz  <poenitz@gmx.net>
5313
5314         * iterators.[Ch]:
5315         * iterators.[Ch]:
5316         * undo.[Ch]: make undo aware of inner insets
5317
5318 2003-10-14  Angus Leeming  <leeming@lyx.org>
5319
5320         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5321         static member functions LyX::ref() and LyX::cref.
5322         (lastfiles): new accessor functions for the new lastfiles_ member var.
5323         (addLyXView, views_): add a new LyXView to the list of views_.
5324         (updateInset): loop over all LyXViews to call their own updateInset
5325         member function, returning a pointer to the Buffer owning the inset.
5326
5327         * BufferView_pimpl.C (loadLyXFile):
5328         * MenuBackend.C (expandLastfiles):
5329         * bufferlist.C (MenuWrite, QuitLyX):
5330         lastfiles is no longer a global variable.
5331         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5332
5333         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5334         static function. Access through LyX::cref().emergencyCleanup().
5335
5336 2003-10-14  André Pönitz  <poenitz@gmx.net>
5337
5338         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5339
5340         * undo.[Ch]: restoring part of 'undo in insets'
5341
5342         * Makefile.am:
5343         * undo_funcs.[Ch]: merge with undo.[Ch]
5344
5345         * tabular.C: small cleansing stuff
5346
5347 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5348
5349         * paragraph_funcs.C (readParToken): report unknown insets as error
5350         boxes. Use the outer paragraph as location (also for unknown
5351         tokens).
5352
5353         * factory.C (readInset): do not abort on reading an unknown inset.
5354         Eat it and return 0.
5355
5356 2003-10-13  Angus Leeming  <leeming@lyx.org>
5357
5358         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5359
5360         * lyxrc.C: displayTranslator is now a function,
5361         declared in GraphicsTypes.h.
5362
5363 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5364
5365         * format.C: new placeholder $$a to pass the socket address.
5366
5367         * bufferlist.[Ch]: new function getBufferFromTmp.
5368
5369         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5370           files in the temporary dir.
5371
5372 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5373
5374         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5375
5376         * Makefile.am: add lyxsocket.[Ch].
5377
5378         * lyx_main.C (error_handler): handle SIGPIPE.
5379
5380 2003-10-13  André Pönitz  <poenitz@gmx.net>
5381
5382         * BufferView_pimpl.C:
5383         * lyxtext.h:
5384         * text.C:
5385         * text2.C:
5386         * text3.C:
5387         * undo_funcs.[Ch]: use paroffset_type instead of
5388           ParagraphList::iterators to prevent multiple conversion
5389           (and get a more robust interface)
5390
5391 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5394         * lyxtext.h: ditto
5395         * text3.C (dispatch): ditto
5396
5397 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5398
5399         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5400         move the onlyfile, use onlyfile instead of foundfile in a couple
5401         of places.
5402
5403         * DepTable.C (update): flush the error stream a bit more
5404
5405 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * lyxserver.C (callback): adjust
5408
5409         * lyxfunc.C (getStatus): add a missing brace in commented code
5410         (ensureBufferClean): reindent
5411         (dispatch): delete version taking a string
5412
5413 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * LaTeX.C (deplog): move found file handlig from here...
5416         (handleFoundFile): .. to new function here.
5417         (deplog): make sure to discover several files mentioned on the
5418         same log line.
5419
5420 2003-10-10  André Pönitz  <poenitz@gmx.net>
5421
5422         * lyxfunc.C:
5423         * lyxtext.h:
5424         * tabular.C:
5425         * text.C:
5426         * text2.C:
5427         * text3.C: fix some of the tabular crashes
5428
5429 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5430
5431         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5432
5433         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5434
5435 2003-10-09  André Pönitz  <poenitz@gmx.net>
5436
5437         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5438
5439         * BufferView.C:
5440         * BufferView_pimpl.C:
5441         * bufferview_funcs.C:
5442         * lyx_cb.C:
5443         * lyxcursor.C:
5444         * lyxfind.C:
5445         * lyxfunc.C:
5446         * lyxtext.h:
5447         * text.C:
5448         * text2.C:
5449         * text3.C:
5450         * text_funcs.[Ch]:
5451         * textcursor.[Ch]:
5452         * undo_funcs.C: adjust
5453
5454 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5455
5456         * text2.C (incrementItemDepth): new function, use a backtracking
5457         algorithm to discover the correct item depth.
5458         (resetEnumCounterIfNeeded): new function, use a backtracking
5459         algorithm to discover if counter reset is needed.
5460         (setCounter): use them. Simplify a bit. Add different labels for
5461         different item depths for itemize.
5462
5463         * paragraph.C (Paragraph): remove initialization of enumdepth
5464         (operator=): ditto
5465
5466         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5467         enumerate and itemize. Change the type of itemdepth to signed char.
5468
5469 2003-10-08  André Pönitz  <poenitz@gmx.net>
5470
5471         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5472           thing assignable.
5473         * text.C:
5474         * text2.C: adjust
5475
5476         * tabular.[Ch]: fix crash after 'row-insert'
5477
5478 2003-10-08  Angus Leeming  <leeming@lyx.org>
5479
5480         Fix doxygen warnings.
5481
5482         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5483         Remove CutAndPaste:: prefix from header file declaration.
5484
5485         * LColor.h (fill): remove LColor:: prefix from declaration.
5486
5487         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5488         use lyx::depth_type rather than Paragraph::depth_type so that
5489         header file and .C file match.
5490
5491         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5492
5493         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5494         * aspell.C: \file aspell_local.C -> \file aspell.C
5495         * gettext.C: \file gettext.C -> \file src/gettext.C
5496         * gettext.h: \file gettext.h -> \file src/gettext.h
5497         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5498         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5499         * text.C: \file text.C -> \file src/text.C
5500
5501         * toc.C: move comment so that doxygen is not confused.
5502
5503 2003-10-07  Angus Leeming  <leeming@lyx.org>
5504
5505         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5506
5507 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5508
5509         * aspell.C:
5510         * aspell_local.h: add forgotten std::string's.
5511
5512 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5513
5514         * LaTeXFeatures.C:
5515         * LyXAction.C:
5516         * factory.C:
5517         * lfuns.h:
5518         * lyxfunc.C:
5519         * text3.C: The Box patch. Fancybox support, minipage, parbox
5520
5521 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5522
5523         * CutAndPaste.h:
5524         * DepTable.h:
5525         * FloatList.h:
5526         * LaTeXFeatures.h:
5527         * ParagraphParameters.h:
5528         * TextCache.h:
5529         * Thesaurus.h:
5530         * bufferlist.h:
5531         * exporter.h:
5532         * importer.h:
5533         * lastfiles.h:
5534         * lyxfind.h:
5535         * lyxfont.h:
5536         * lyxlex.h:
5537         * lyxtextclasslist.h:
5538         * messages.h:
5539         * paragraph.h:
5540         * paragraph_pimpl.C:
5541         * textcursor.h: add <string> and other small fixes to make Lars'
5542         std::string patch compile with STLport.
5543
5544 2003-10-06  Angus Leeming  <leeming@lyx.org>
5545
5546         * LColor.h: Add missing #include <string>.
5547
5548 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5549
5550         * All most all file in all subdirs: Make <string> be the prefered
5551         way of getting to std::string, add using declarations.
5552
5553 2003-10-06  André Pönitz  <poenitz@gmx.net>
5554
5555         * metricsinfo.C: initialize LyXFont before changing attribute.
5556         (fixes the 'math in \emph is upright' bug)
5557
5558 2003-10-06  André Pönitz  <poenitz@gmx.net>
5559
5560         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5561
5562 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5563
5564         * graph.C:
5565         * paragraph_pimpl.C: Small fixes to build using STLport
5566
5567 2003-10-02  André Pönitz  <poenitz@gmx.net>
5568
5569         * lyxfunc.C:
5570         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5571
5572 2003-10-01  André Pönitz  <poenitz@gmx.net>
5573
5574         * factory.C: assert early
5575
5576 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5577
5578         * lyx_main.C: remove the global debug object
5579
5580         * debug.h: adjust for new debugstream
5581
5582         * debug.C: adjust for new debugstream and keep the global debug
5583         object here.
5584
5585 2003-09-22  Angus Leeming  <leeming@lyx.org>
5586
5587         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5588         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5589         an incomplete class LyXFont.
5590
5591 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5592
5593         * factory.C: bug fix in branches
5594
5595 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * lyxfunc.C (processKeySym): adjust
5598         (dispatch): adjust
5599         (dispatch): change arg name from ev to func, adjust
5600         (sendDispatchMessage): ditto
5601
5602         * lyx_main.C (defaultKeyBindings): adjust keybindings
5603         (deadKeyBindings): ditto
5604
5605         * kbsequence.C (addkey): return a FuncRequest
5606
5607         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5608
5609         * kbmap.C (bind): take a FuncRequest as arg, adjust
5610         (read): adjust
5611         (lookup): adjust
5612         (defkey): change to take a FuncRequest as arg, adjust
5613         (findbinding): take a FuncRequest as arg, adjust.
5614
5615         * funcrequest.h (operator=): added
5616
5617         * funcrequest.C (FuncRequest): default kb_action changed from
5618         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5619
5620         * buffer.C (dispatch): simplify
5621         (dispatch): adjust to take a FuncRequest as arg, adjust
5622
5623         * boost.C (assertion_failed): change assertion message slightly
5624
5625         * ToolbarBackend.C (read): simplify
5626
5627         * MenuBackend.C (binding): adjust call to findbinding, add a
5628         message if no binding is found.
5629         (read): simplify
5630         (expandToc): correct by adding a empty FuncRequest
5631
5632         * LyXAction.C: include <boost/assert.hpp>
5633         (isPseudoAction): delete function
5634         (LookupFunc): change name to...
5635         (lookupFunc): this. change return type to FuncRequest.
5636         (getActionName): take kb_action as arg, simplify
5637         (funcHasFlag): add an assert, simplify.
5638
5639 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5640
5641         * toc.C (action): return a FuncRequest, simplify
5642
5643         * lyxfunc.C (processKeySym): adjust
5644         (getStatus): delete version that takes an int.
5645         (getStatus): adjust
5646         (dispatch): delete version that takes action as int
5647         (dispatch): adjust
5648         (sendDispatchMessage): simplify and adjust
5649
5650         * funcrequest.C (getArg): take unsigned int as arg
5651
5652         * ToolbarBackend.C (read): adjust
5653         (add): delete version that takes func as a string.
5654         (getIton): take a FuncRequest as arg
5655
5656         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5657         action.
5658
5659         * MenuBackend.C (MenuItem): add a new construct that only takes a
5660         Kind, simplify the constructor use for submenus.
5661         (add): adjust
5662         (expandLastfiles): adjust
5663         (expandDocuments): adjust
5664         (expandFormats): adjust
5665         (expandFloatListInsert): adjust
5666         (expandFloatInsert): adjust
5667         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5668
5669         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5670         Remove class variables lyx_pseudo_map and lyx_arg_map
5671
5672         * LyXAction.C (searchActionArg): delete function
5673         (getPseudoAction): delete function
5674         (retrieveActionArg): delete function
5675         (LookupFunc): make it return kb_action, simplify.
5676         (getActionName): simplify
5677
5678         * factory.C (createInset): fix new bug
5679
5680 2003-09-19  Angus Leeming  <leeming@lyx.org>
5681
5682         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5683         masterFilename_ parameter in the include inset.
5684
5685         * factory.C (createInset): changes due to the changes to InsetInclude.
5686
5687 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5688
5689         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5690
5691 2003-09-18  Angus Leeming  <leeming@lyx.org>
5692
5693         * buffer.C:
5694         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5695         Inset::fillWithBibKeys.
5696         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5697
5698 2003-09-18  Angus Leeming  <leeming@lyx.org>
5699
5700         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5701         variables.
5702         (ctor): pass and store a 'Buffer const &'
5703         (buffer): new member function.
5704
5705         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5706         '*this' to the LaTeXFeatures ctor.
5707
5708 2003-09-18  Angus Leeming  <leeming@lyx.org>
5709
5710         * LColor.h:
5711         * lyxfont.C:
5712         * lyxfont.h:
5713         * lyxtext.h:
5714         * text.C: rename EnumLColor as LColor_color.
5715
5716 2003-09-18  Angus Leeming  <leeming@lyx.org>
5717
5718         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5719         remove #include "insets/insetbase.h" from cursor.h.
5720
5721 2003-09-18  Angus Leeming  <leeming@lyx.org>
5722
5723         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5724         InsetOld_code to remove #include "inset.h".
5725
5726         * iterators.C: add #include "insets/inset.h"
5727
5728 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5729
5730         * BufferView.C: remove more locking stuff that apparently doesn't
5731         do anything sensible.
5732
5733 2003-09-16  André Pönitz  <poenitz@gmx.net>
5734
5735         * paragraph.[Ch]:
5736         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5737           performance boost.
5738
5739 2003-09-16  Angus Leeming  <leeming@lyx.org>
5740
5741         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5742
5743         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5744         arg/return type.
5745
5746         * paragraph.h: remove #include "lyxfont.h". Forward declare
5747         LyXFont_size.
5748
5749 2003-09-16  Angus Leeming  <leeming@lyx.org>
5750
5751         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5752         of support/textutils.h.
5753         (isWord): move the contents of support/textutils.h's IsWordChar here.
5754
5755         * buffer.C:
5756         * lyxfind.C:
5757         * rowpainter.C:
5758         * text.C:
5759         * text2.C: add #include "paragraph.h".
5760
5761         * rowpainter.C:
5762         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5763
5764 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5765
5766         * main.C:
5767         * lyx_main.C:
5768         * lyx_cb.C:
5769         * buffer.C:
5770         * LaTeX.C: use namespace alias for lyx::support::os
5771
5772 2003-09-16  Angus Leeming  <leeming@lyx.org>
5773
5774         * bufferparams.C:
5775         * bufferview_funcs.C:
5776         * factory.C:
5777         * lyxfunc.C:
5778         * paragraph_pimpl.C:
5779         * rowpainter.C:
5780         * text.C: add #include "LColor.h".
5781
5782 2003-09-16  Angus Leeming  <leeming@lyx.org>
5783
5784         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5785         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5786         return LyXFont &.
5787         Store the FontBits::color variable as an int rather than as an
5788         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5789         file.
5790
5791         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5792         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5793         string calls together.
5794
5795         * lyxrc.C: add #include "LColor.h".
5796
5797 2003-09-15  Angus Leeming  <leeming@lyx.org>
5798
5799         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5800         a cow_ptr.
5801
5802 2003-09-15  Angus Leeming  <leeming@lyx.org>
5803
5804         * LColor.h: add an EnumLColor wrapper for LColor::color.
5805
5806         * lyxfont.[Ch] (color, setColor, realColor):
5807         * lyxtext.h, text.C (backgroundColor):
5808         pass EnumLColor args to/from the functions, rather than LColor::color
5809         ones.
5810
5811         * lyxfont.h:
5812         * lyxtext.h: forward declare EnumLColor.
5813
5814         * lyx_main.C: add #include "LColor.h".
5815
5816 2003-09-15  Angus Leeming  <leeming@lyx.org>
5817
5818         * .cvsignore: add lyx-gtk.
5819
5820 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * Chktex.C
5823         * LaTeX.C
5824         * LaTeXFeatures.C
5825         * ParagraphParameters.C
5826         * Spacing.C
5827         * buffer.C
5828         * bufferparams.C
5829         * bufferview_funcs.C
5830         * chset.C
5831         * counters.C
5832         * funcrequest.C
5833         * lyxfont.C
5834         * lyxgluelength.C
5835         * lyxlength.C
5836         * paragraph.C
5837         * paragraph_funcs.C
5838         * text3.C
5839         * vc-backend.C: remove usage of STRCONV
5840
5841 2003-09-15  Angus Leeming  <leeming@lyx.org>
5842
5843         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5844         explicitly define the color passed to the painter.
5845
5846 2003-09-15  Angus Leeming  <leeming@lyx.org>
5847
5848         * bufferparams.C (BufferParams): reorder member initializers to avoid
5849         compiler warning.
5850
5851 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5852
5853         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5854         * text.C (updateRowPositions): remove an unusual nop
5855
5856 2003-09-12  André Pönitz  <poenitz@gmx.net>
5857
5858         * BufferView_pimpl.C:
5859         * Bullet.C:
5860         * layout.h:
5861         * lyxfunc.C:
5862         * lyxlayout.[Ch]:
5863         * lyxtextclass.C:
5864         * rowpainter.C:
5865         * text.C:
5866         * text2.C:
5867         * Counters.[Ch]: finish the 'automatic counters' job
5868
5869 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5870
5871         * aspell.C: include <boost/assert.cpp> (compile fix)
5872
5873 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5874
5875         * boost.C (assertion_failed): use lyx::support::abort instead of
5876         assert.
5877
5878 2003-09-10  Angus Leeming  <leeming@lyx.org>
5879
5880         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5881         with their _fwd progeny.
5882
5883 2003-09-09  Angus Leeming  <leeming@lyx.org>
5884
5885         134 files throughtout the source tree: replace 'using namespace abc;'
5886         directives with the appropriate 'using abc::xyz;' declarations.
5887
5888 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5889
5890         * boost.C (emergencyCleanup): moved here from LAssert.c
5891         (assertion_failed): new function, called by BOOST_ASSERT
5892
5893         * several files: change Assert to BOOST_ASSERT
5894
5895 2003-09-09  Angus Leeming  <leeming@lyx.org>
5896
5897         * buffer.[Ch]: Add an Impl class and move Buffer's member
5898         variables into it. As a result move several header files out of
5899         buffer.h.
5900
5901         Add header files to lots of .C files all over the tree as a result.
5902
5903 2003-09-09  Angus Leeming  <leeming@lyx.org>
5904
5905         * buffer.[Ch]: make Buffer's member variables private. Add
5906         accessor functions.
5907
5908         Lots of changes all over the tree as a result.
5909
5910 2003-09-08  Angus Leeming  <leeming@lyx.org>
5911
5912         * graph.C: #include <config.h>.
5913
5914 2003-09-08  Angus Leeming  <leeming@lyx.org>
5915
5916         * BranchList.C:
5917         * BufferView.C:
5918         * BufferView_pimpl.C:
5919         * CutAndPaste.C:
5920         * DepTable.C:
5921         * LaTeX.C:
5922         * LaTeXFeatures.C:
5923         * LyXAction.C:
5924         * MenuBackend.C:
5925         * TextCache.C:
5926         * aspell.C:
5927         * buffer.C:
5928         * bufferlist.C:
5929         * changes.C:
5930         * chset.C:
5931         * converter.C:
5932         * counters.C:
5933         * debug.C:
5934         * graph.C:
5935         * ispell.C:
5936         * lyx_cb.C:
5937         * lyxfind.C:
5938         * lyxfunc.C:
5939         * lyxlex_pimpl.C:
5940         * lyxrc.C:
5941         * lyxrow.C:
5942         * paragraph.C:
5943         * rowpainter.C:
5944         * texrow.C:
5945         * text.C:
5946         * text2.C:
5947         * toc.C: remove redundant using directives.
5948
5949 2003-09-07  Angus Leeming  <leeming@lyx.org>
5950
5951         * LaTeXFeatures.h: remove #include "support/types.h".
5952         * ToolbarBackend.h: remove #include <algorithm>.
5953         * changes.h: remove #include <ctime>.
5954         * debug.h: remove #include <iosfwd>.
5955         * graph.h: remove #include "support/std_string.h".
5956         * lyx_main.h: remove #include <csignal>.
5957         * lyxlex_pimpl.h: remove #include <fstream>.
5958         * sgml.h: remove #include <algorithm>, <utility>.
5959         * toc.h: remove #include "support/std_ostream.h".
5960         Add #include <iosfwd>.
5961
5962 2003-09-07  Angus Leeming  <leeming@lyx.org>
5963
5964         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5965
5966         * converter.h: forward declare LatexRunParams.
5967         * encoding.h: remove #include "lyxrc.h".
5968         * lyxtext.h: remove #include "LColor.h".
5969         * lyxtextclass.h: remove #include "support/types.h".
5970         * trans.h: remove #include "tex-accent.h".
5971         * trans_mgr.h: remove #include "tex-accent.h".
5972         * insets/inset.h: remove #include "support/types.h", <vector>.
5973         * insets/insetcollapsable.h: remove #include "LColor.h".
5974         * insets/insetinclude.h: remove #include "dimension.h".
5975         * insets/insetlatexaccent.h: remove #include "dimension.h".
5976         * insets/insetoptarg.h:: remove #include "insettext.h".
5977         * insets/insettext.h: remove #include "dimension.h",
5978         <boost/shared_ptr.hpp>
5979
5980         * insets/renderers.h: add #include "dimension.h".
5981         * insets/updatableinset.h: add #include "support/types.h".
5982
5983         * many .C files: Associated changes.
5984
5985 2003-09-06  Angus Leeming  <leeming@lyx.org>
5986
5987         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5988         one, inside testInvariant.
5989
5990         * PrinterParams.C: new file.
5991         * PrinterParams.[Ch]: move the function bodies out of line.
5992
5993 2003-09-06  Angus Leeming  <leeming@lyx.org>
5994
5995         * ParagraphParameters.h: forward declare ParameterStruct rather than
5996         including its header file.
5997         (depth): moved out-of-line.
5998
5999 2003-09-06  Angus Leeming  <leeming@lyx.org>
6000
6001         * BufferView_pimpl.h:
6002         * kbmap.h:
6003         * kbsequence.h:
6004         * lyxfunc.h: forward declare LyXKeySym rather than
6005         #include "frontends/LyXKeySym.h".
6006
6007         * BufferView_pimpl.C:
6008         * kbmap.C:
6009         * kbsequence.C:
6010         * lyxfunc.C: associated changes.
6011
6012 2003-09-06  Angus Leeming  <leeming@lyx.org>
6013
6014         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6015         As a result, can remove the #include "insets/inset.h" from BufferView.h
6016
6017 2003-09-06  Angus Leeming  <leeming@lyx.org>
6018
6019         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6020         As a result, can remove the #include "insets/inset.h" from BufferView.h
6021
6022 2003-09-06  Angus Leeming  <leeming@lyx.org>
6023
6024         * buffer_funcs.C:
6025         * buffer.h:
6026         * bufferlist.C:
6027         * BufferView.C:
6028         * bufferview_funcs.C:
6029         * BufferView_pimpl.C:
6030         * CutAndPaste.C:
6031         * lyx_cb.C:
6032         * lyxfunc.C:
6033         * paragraph.h:
6034         * ParagraphParameters.C:
6035         * tabular.C:
6036         * text3.C:
6037         * toc.C:
6038         * undo_funcs.C:
6039         * frontends/controllers/ControlDocument.C:
6040         * insets/insetcaption.C: rearrange the #includes into some sort of
6041         coherent order.
6042
6043         * buffer.h: remove #includes ErrorList.h, undo.h
6044
6045 2003-09-06  Angus Leeming  <leeming@lyx.org>
6046
6047         * support/types.h: add a 'depth_type' typedef, used to store the
6048         nesting depth of a paragraph.
6049
6050         * paragraph.h:
6051         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6052         defining explicitly.
6053
6054         * buffer.h:
6055         * paragraph_funcs.h:
6056         * ParagraphParameters.h:
6057         * sgml.h: use lyx::depth_type rather than Paragraph or
6058         ParameterStruct's depth_type.
6059
6060         * buffer.h
6061         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6062
6063         * BufferView.C:
6064         * BufferView_pimpl.C:
6065         * CutAndPaste.C:
6066         * ParagraphParameters.C:
6067         * buffer_funcs.C:
6068         * bufferlist.C:
6069         * bufferview_funcs.C:
6070         * lyx_cb.C:
6071         * lyxfunc.C:
6072         * tabular.C:
6073         * text3.C:
6074         * toc.C:
6075         * undo_funcs.C:
6076         * frontends/LyXView.C:
6077         * frontends/controllers/ControlDocument.C:
6078         * frontends/controllers/ControlErrorList.C:
6079         * insets/insetbibitem.C:
6080         * insets/insetbranch.C:
6081         * insets/insetcaption.C:
6082         * insets/insetcollapsable.C:
6083         * insets/insetenv.C:
6084         * insets/insetert.C:
6085         * insets/insetfloat.C:
6086         * insets/insetfoot.C:
6087         * insets/insetfootlike.C:
6088         * insets/insetnewline.C:
6089         * insets/insetquotes.C:
6090         * insets/insettabular.C:
6091         * insets/insettext.C:
6092         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6093
6094         * frontends/controllers/ControlChanges.C: #include "changes.h".
6095
6096 2003-09-06  Angus Leeming  <leeming@lyx.org>
6097
6098         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6099         than #including paragraph.h.
6100
6101         * ParagraphList.h:
6102         * RowList.h: deleted. Superfluous.
6103
6104         * CutAndPaste.h:
6105         * iterators.h:
6106         * lyxcursor.h:
6107         * lyxtext.h:
6108         * text_funcs.h:
6109         * undo.h:
6110         * undo_funcs.h:
6111         * insets/inset.h:
6112         * insets/insettext.h: use ParagraphList_fwd.h rather than
6113         ParagraphList.h.
6114
6115         * paragraph.h: don't forward declare ParagraphList.
6116
6117         * buffer.h:
6118         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6119         rather than ParagraphList.h. paragraph.h is still needed for the
6120         Paragraph::depth_type parameters.
6121
6122         * textcursor.h: enable it to compile stand-alone in light of the
6123         above changes.
6124
6125         * bufferview_funcs.C:
6126         * iterators.C:
6127         * lyxfunc.C:
6128         * lyxrow_funcs.C:
6129         * paragraph.C:
6130         * rowpainter.C:
6131         * text.C:
6132         * text2.C:
6133         * text3.C:
6134         * text_funcs.C:
6135         * textcursor.C:
6136         * undo.C:
6137         * frontends/controllers/ControlParagraph.C:
6138         * frontends/controllers/ControlTabular.C:
6139         * insets/insetmarginal.C:
6140         * insets/insetminipage.C:
6141         * insets/insetnote.C:
6142         * insets/insetoptarg.C: add header files needed to compile again.
6143
6144 2003-09-06  Angus Leeming  <leeming@lyx.org>
6145
6146         * RowList_fwd.h: new file, forward-declaring Row rather than
6147         #including lyxrow.h.
6148
6149         * lyxrow_funcs.h:
6150         * lyxtext.h:
6151         * paragraph.h:
6152         * insets/insettext.h: use it instead of RowList.h
6153
6154         * bufferview_funcs.C:
6155         * lyxfunc.C:
6156         * lyxrow_funcs.C:
6157         * paragraph.C:
6158         * rowpainter.C:
6159         * text.C:
6160         * text2.C:
6161         * text3.C: #include "RowList.h".
6162
6163 2003-09-05  Angus Leeming  <leeming@lyx.org>
6164
6165         * factory.C (createInset):
6166         * vspace.C (c-tor): replace sscanf call with an istringstream.
6167         * ispell.C: re-add missing HP/UX headers.
6168         * lyxserver.C: re-add missing  os2 headers.
6169
6170 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6171
6172         * BranchList.C:
6173         * graph.C:
6174         * ispell.C:
6175         * lastfiles.C:
6176         * lyx_cb.C:
6177         * lyxserver.C:
6178         * texrow.C:
6179         * text3.C: re-add missing system headers, needed for 2.95.2.
6180
6181 2003-09-05  Angus Leeming  <leeming@lyx.org>
6182
6183         Changes most place everywhere due to the removal of using directives
6184         from support/std_sstream.h.
6185
6186 2003-09-05  Angus Leeming  <leeming@lyx.org>
6187
6188         Replace LString.h with support/std_string.h,
6189         Lsstream.h with support/std_sstream.h,
6190         support/LIstream.h with support/std_istream.h,
6191         support/LOstream.h with support/std_ostream.h.
6192
6193         Changes resulting throughout the tree.
6194
6195 2003-09-05  Angus Leeming  <leeming@lyx.org>
6196
6197         * sgml.h: ensure that the header file can be compiled stand-alone.
6198         * *.C: strip out redundant #includes. (320 in total.)
6199
6200 2003-09-04  Angus Leeming  <leeming@lyx.org>
6201
6202         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6203         here (from getPackages).
6204
6205         * debug.[Ch]: add a new EXTERNAL tag.
6206
6207 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6208
6209         * text2.C (cursorEnd): simplify
6210         (setCursor): adjust
6211         (getColumnNearX): adjust
6212
6213         * text.C (computeBidiTables): adjust
6214         (fill): adjust
6215
6216         * rowpainter.C (paintChars): adjust
6217         (paintSelection): adjust
6218         (paintChangeBar): adjust
6219         (paintText): adjust
6220
6221         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6222         lastPos instead.
6223         (numberOfSeparators): adjust
6224
6225 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6226
6227         * LyXAction.C:
6228         * box.[Ch]:
6229         * lfuns.h:
6230         * lyxfunc.C:
6231         * text3.C: Restricts the mouse click functionality
6232         of insets like bibtex, include, toc and floatlist to the visible
6233         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6234         up the dialogs. Cursor has to be in front of the inset (i.e.
6235         start of row) for this to function.
6236
6237 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6238
6239         * bufferview_funcs.C (currentState): output row information
6240
6241 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6242
6243         * bufferview_funcs.C (currentState): output paragraph position
6244
6245 2003-09-04  Angus Leeming  <leeming@lyx.org>
6246
6247         * FloatList.h: move out #include "Floating.h".
6248         * LaTeX.h: move out #include "DepTable.h".
6249         * LyXAction.h: move out #include "funcrequest.h".
6250         * buffer.h: move out #include "author.h", "iterators.h".
6251         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6252         * lyx_main.h: move out #include "errorlist.h".
6253         * lyxfunc.h: move out #include "FuncStatus.h".
6254         * lyxtext: move out #include "lyxcursor.h".
6255         * paragraph_pimpl.h: move out #include "counters.h".
6256
6257 2003-09-03  Angus Leeming  <leeming@lyx.org>
6258
6259         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6260         preamble_snippets list, enabling us to add snippets to the preamble
6261         only if the snippet was not there already.
6262
6263 2003-09-04  Angus Leeming  <leeming@lyx.org>
6264
6265         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6266
6267 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6270         update
6271
6272 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6273
6274         * BranchList.C: point fix, earlier forgotten
6275
6276 2003-09-02  Angus Leeming  <leeming@lyx.org>
6277
6278         * box.C (contains): renamed from 'contained' after a fantastic
6279         amount of hot air.
6280
6281 2003-09-02  John Levon  <levon@movementarian.org>
6282
6283         * BufferView.C:
6284         * lyxcursor.h:
6285         * lyxcursor.C:
6286         * lyxfunc.C:
6287         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6288
6289 2003-09-02  John Levon  <levon@movementarian.org>
6290
6291         * text2.C: simplification of cursorEnd(), including partial
6292         fix for bug 1376
6293
6294 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6295
6296         * buffer.C (readFile): add a space
6297
6298 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6299
6300         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6301
6302 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * buffer.C (readFile): new function, take a filename and a
6305         ParagraphList::iterator
6306         (readFile): adjust
6307         (readFile): adjust, make it private. don't use setStream, make
6308         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6309         always contain the filename.
6310
6311         * BufferView.C (insertLyXFile): simplify and make it work for
6312         gzipped files.
6313
6314 2003-08-30  John Levon  <levon@movementarian.org>
6315
6316         * Makefile.am: fix dist (from Kayvan)
6317
6318 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6319
6320         * most files: change to use const Buffer refs
6321
6322 2003-08-27  André Pönitz  <poenitz@gmx.net>
6323
6324         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6325         on top of ownerPar().
6326
6327 2003-08-27  John Levon  <levon@movementarian.org>
6328
6329         * funcrequest.C: properly initialise POD members
6330
6331 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6332
6333         * lyxtext.h (top_y): move top_y from here
6334         * text.C:
6335         * text2.C:
6336         * text3.C:
6337         * BufferView.[Ch]:
6338         * BufferView_pimpl.[Ch]: to here
6339         * frontends/screen.C:
6340         * insets/insettabular.C:
6341         * insets/insettext.C: adjust
6342         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6343
6344 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6345
6346         * BufferView.[Ch]:
6347         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6348
6349 2003-08-26  André Pönitz  <poenitz@gmx.net>
6350
6351         * paragraph_func.[Ch] (outerPar): new function
6352
6353         * paragraph.C:
6354         * paragraph_funcs.C:
6355         * paragraph_funcs.h:
6356         * paragraph_pimpl.C:
6357         * text2.C: remove Inset::par_owner
6358
6359 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6360
6361         * lyxrow_funcs.C:
6362         * lyxtext.h:
6363         * text.C:
6364         * text2.C: eliminates the needFullRow/display() stuff
6365         altogether, putting the logic in metrics/draw in the insets.
6366
6367 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6368
6369         * text2.C (redoParagraphInternal, redoParagraphs):
6370         * text.C (redoParagraph): add a call to updateRowPositions at the
6371         end of each 'metrics-like' call. Remove all others.
6372         (getRow): remove the 'y-computing' version.
6373         (getRowNearY): do not compute nor return the real y. Solve the
6374         'y < 0' problem and simplify.
6375
6376 2003-08-22  Angus Leeming  <leeming@lyx.org>
6377
6378         * *.[Ch]: clean-up of licence and author blurbs.
6379         Also move config.h out of a few .h files and into a few .C files.
6380
6381 2003-08-22  André Pönitz  <poenitz@gmx.net>
6382
6383         * lyxrow.[Ch]: add x_ and *fill_ members
6384
6385         * lyxtext.h:
6386         * text.C:
6387         * rowpainter.C:
6388         * text2.C: adjust/remove prepareToPrint() calls
6389
6390 2003-08-22  André Pönitz  <poenitz@gmx.net>
6391
6392         * lyxrow.[Ch]: add  end_ member
6393
6394         * lyxrow_funcs.C: use LyXRow::end_
6395
6396         * lyxtext.h (singleWidth): add LyXFont parameter
6397
6398         * rowpainter.C:
6399         * text2.C: adjust LyXText::singleWidth() calls
6400
6401         * text.C (redoParagraph): simplify row breaking logic
6402
6403
6404 2003-08-19  André Pönitz  <poenitz@gmx.net>
6405
6406         * funcrequest.C: initialize button_ member
6407
6408         * text3.C:
6409         * rowpainter.[Ch]: interface consolidation
6410
6411 2003-08-18  André Pönitz  <poenitz@gmx.net>
6412
6413         * BufferView.C:
6414         * BufferView_pimpl.C:
6415         * lyxfind.C:
6416         * paragraph_funcs.C:
6417         * rowpainter.C:
6418         * text3.C: remove LyXScreen::draw() and fitCursor calls
6419
6420         * BranchList.h: remove spurious semicolons
6421
6422         * MenuBackend.C: fix branchlist related crash
6423
6424 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6425
6426         * BranchList.[Ch]:
6427         * InsetList.[Ch]:
6428         * LColor.[Ch]:
6429         * LyXAction.C:
6430         * Makefile.am:
6431         * MenuBackend.[Ch]:
6432         * bufferparams.[Ch]:
6433         * factory.C:
6434         * lfuns.h:
6435         * lyxfunc.C:
6436         * text3.C: implements the 'branch inset'
6437         idea. This allows the output of various versions of a document
6438         from a single source version, selectively outputing or suppressing
6439         output of parts of the text.
6440         This implementation contains a 'branch list editor' in a separate
6441         tab of the document settings dialog. Branches are user definable
6442         and have a "display colour" to distinguish them on-screen.
6443
6444         ColorHandler was somewhat cleaned up.
6445         (1) make possible a dynamically growing LColor list by allowing
6446         the graphic context cache to grow along (vector);
6447         (2) eliminate an IMHO unnecessary step in colour allocation.
6448
6449 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6450
6451         * BufferView_pimpl.C: compile fix
6452
6453 2003-08-15  André Pönitz  <poenitz@gmx.net>
6454
6455         * rowpainter.C: remove extra metrics calls
6456
6457         * lyxtext.h: merge the two constructors into a single one,
6458           pass reference to owner's par list
6459
6460         * BufferView_pimpl.C:
6461         * text.C:
6462         * text2.C: adjust
6463
6464 2003-08-15  André Pönitz  <poenitz@gmx.net>
6465
6466         * lyxrow_funcs.[Ch]:
6467         * lyxtext.h:
6468         * paragraph.h:
6469         * paragraph_funcs.C:
6470         * rowpainter.C:
6471         * text.C:
6472         * text2.C:
6473         * text3.C:
6474         * text_funcs.C: split LyXText::rowlist_ into individual
6475         Paragraph::rows_ chunks
6476
6477         * BufferView.[Ch]:
6478         * BufferView_pimpl.[Ch]:
6479         * lyxfind.C:
6480         * lyxtext.h:
6481         * text3.C: remove toggleSelection()
6482
6483 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6484
6485         * bufferlist.C: beautify two alerts (shorter text of buttons)
6486         * buffer.C: Remove redundant ' ' from message
6487         * tabular.h:
6488         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6489         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6490         rename VALIGN_CENTER to VALIGN_MIDDLE
6491
6492 2003-08-11  André Pönitz  <poenitz@gmx.net>
6493
6494         * lyxtext.h (getPar):
6495         * text.C: new function
6496
6497 2003-08-11  André Pönitz  <poenitz@gmx.net>
6498
6499         * Makefile.am:
6500         * tracer.[Ch]: remove unneeded files
6501
6502         * InsetList.[Ch]: remove resizeInsetsLyXText()
6503
6504         * lyxtext.h:
6505         * text.C:
6506         * text2.C:
6507         * text3.C: merge insertParagraphs() and appendParagraph()
6508         remove breakAgain(), update()
6509
6510         * BufferView_pimpl.[Ch]:
6511         * bufferview_funcs.[Ch]:
6512         * lyxfunc.C:
6513         * paragraph.[Ch]:
6514         * rowpainter.C:
6515         * tabular.C: adjust after text & InsetList changes.
6516
6517 2003-08-08  André Pönitz  <poenitz@gmx.net>
6518
6519         * text.C (insertChar, backspace): replace rowlist fiddling
6520         with rebreak of full par
6521
6522         * lyxtext.h:
6523         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6524         checkParagraph, updateInset): removed
6525
6526 2003-08-07  André Pönitz  <poenitz@gmx.net>
6527
6528         * paragraph.C:
6529         * text3.C: merge some LFUN handlers, remove dead code
6530
6531 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6532
6533         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6534
6535 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6536
6537         * text2.C (DEPM): fix part of bug 1255 and 1256
6538
6539 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6540
6541         * BufferView_pimpl.C (workAreaDispatch): change to use
6542         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6543         that are no mouse related.
6544
6545 2003-08-05  André Pönitz  <poenitz@gmx.net>
6546
6547         * BufferView.[Ch]:
6548         * BufferView_pimpl.[Ch]:
6549         * bufferview_funcs.C:
6550         * text2.C:
6551         * text3.C: rip out "deep update"
6552
6553         * textcursor.[Ch] (last_sel_cursor): remove unused member
6554
6555 2003-08-04  André Pönitz  <poenitz@gmx.net>
6556
6557         * BufferView.[Ch]:
6558         * BufferView_pimpl.[Ch]:
6559         * ParagraphParameters.C:
6560         * bufferview_funcs.C:
6561         * lyx_cb.C:
6562         * lyxfind.C:
6563         * lyxfunc.C:
6564         * text.C:
6565         * text2.C:
6566         * text3.C: replace "complicated" BufferView::update(...) calls with
6567         simpler ones.
6568
6569         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6570
6571 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6572
6573         * Makefile.am (lyx_SOURCES): add paper.h
6574
6575 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6576
6577         * Makefile.am: move things around so that both lyx-qt and
6578         lyx-xforms can be built (according to --with-frontend). Then lyx
6579         is a symbolic link to lyx-[firstfrontend]
6580
6581 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6582
6583         * Always use std::endl with lyxerr
6584
6585 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6586
6587         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6588
6589 2003-08-01  André Pönitz  <poenitz@gmx.net>
6590
6591         * BufferView.[Ch]:
6592         * BufferView_pimpl.[Ch]:
6593         * lyxfunc.C:
6594         * text3.C: merge BufferView::repaint() and BufferView::update()
6595
6596 2003-08-01  José Matos  <jamatos@lyx.org>
6597
6598         * buffer.[Ch]: file_format is no longer a buffer data element.
6599
6600 2003-08-01  André Pönitz  <poenitz@gmx.net>
6601
6602         * BufferView.C:
6603         * lyxtext.h:
6604         * text.C:
6605         * text2.C: make redoParagraph more independent of current cursor
6606
6607         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6608         * text.C:
6609         * text2.C: remove unneeded members
6610
6611 2003-07-30  André Pönitz  <poenitz@gmx.net>
6612
6613         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6614
6615         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6616           create a single function...
6617
6618         * paragraph_funcs.C (moveItem): ... here.
6619
6620         * text.C:
6621           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6622
6623 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6624
6625         * LColor.[Ch]: Add comment and greyedout logical colors.
6626
6627 2003-07-30  André Pönitz  <poenitz@gmx.net>
6628
6629         * tabular.C: don't use Assert too heavily. This crashes where it
6630           shouldn't
6631
6632 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6633
6634         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6635         is disabled (bug 1232)
6636
6637 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6638
6639         * factory.C: limited 'arg' scope
6640
6641 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6642
6643         * factory.C: fixed Note submenu issues
6644
6645 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6646
6647         * factory.C: submenu for Note/Comment/Greyedout
6648
6649 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6650
6651         * lyx_main.C (LyX):
6652         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6653
6654 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6655
6656         * LaTeXFeatures.C:
6657         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6658         greyedout. Patch provided by Jürgen Spitzmüller.
6659
6660 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6661
6662         * kbmap.C (read): fix error message when reading bind files
6663
6664 2003-07-29  Angus Leeming  <leeming@lyx.org>
6665
6666         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6667         certainly does not do what it purports to do. I am doing it, and
6668         us, a favour by killing it.
6669
6670 2003-07-28  José Matos  <jamatos@lyx.org>
6671
6672         * buffer.C (readBody, do_writeFile):
6673         * paragraph.C(readParagraph): \end_document replaces \the_end.
6674
6675 2003-07-29  André Pönitz  <poenitz@gmx.net>
6676
6677         * BufferView.[Ch]:
6678         * BufferView_pimpl.[Ch]:
6679         * lyxfunc.C:
6680         * text2.C:
6681         * text3.C:
6682         * textcursor.[Ch]: remove toggleToggle & Co
6683
6684 2003-07-28  José Matos  <jamatos@fep.up.pt>
6685
6686         * buffer.C (readParagraph):
6687         * params_func (readParToken, readParagraph):
6688         * paragraph.C (write): \layout -> \begin_layout.
6689
6690 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * lyxlex_pimpl.C (setFile): clean up slightly.
6693
6694         * bufferparams.h: add compressed var
6695
6696         * buffer_funcs.C (readFile): adjust for LyXLex change
6697         (newFile): ditto + simplify
6698
6699         * buffer.C (writeFile): handle writing of compressed files
6700
6701         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6702         Check if the file is compressed and set a bufferparm if so.
6703
6704         * Makefile.am (lyx_LDADD): remove explicit -lz
6705
6706 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6707
6708         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6709         makeDocBookFile): put the real LyX version in the first line of
6710         the file
6711
6712         * version.h:
6713         * version.C.in: remove lyx_docversion
6714
6715         * tabular.C (write_attribute): add a template-based version to
6716         write enums properly
6717
6718 2003-07-28  André Pönitz  <poenitz@gmx.net>
6719
6720         * lyxtext.h:
6721         * text.C:
6722         * text2.C:
6723         * text3.C: use doubles again for x-coordinates. They are needed.
6724
6725 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * messages.C (getLocaleDir): use lyx_localedir()
6728
6729         * lyxlex_pimpl.C (setFile): compress stuff
6730
6731         * buffer.C (writeFile): add some compression stuff
6732         (do_writeFile): new func, dont call expliti close... will this
6733         breake anything?
6734
6735         * Makefile.am (lyx_LDADD): add -lz
6736
6737 2003-07-28  José Matos  <jamatos@fep.up.pt>
6738
6739         * buffer.C: increment file format.
6740         * paragraph_funcs (readParagraph, readParToken):
6741         * paragraph.C (readParagraph): add \end_layout.
6742
6743 2003-07-27  Angus Leeming  <leeming@lyx.org>
6744
6745         * Makefile.am: remove special casing for configure-time setting of
6746         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6747
6748         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6749         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6750
6751 2003-07-26  André Pönitz  <poenitz@gmx.net>
6752
6753         * paragraph_func.[Ch]:
6754         * paragraph.C (realizeFont): inline it whereever it is used
6755
6756         * rowpainter.C:
6757         * text.C:
6758         * text2.C:
6759         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6760
6761
6762 2003-07-26  André Pönitz  <poenitz@gmx.net>
6763
6764         *       lyxtext.h:
6765         * text.C:
6766         * text2.C: get rid of LyXText::need_break_row
6767
6768 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6769
6770         * toc.[Ch]: put namespace toc inside namespace lyx
6771
6772         * MenuBackend.C (expandToc2): adjust for lyx::toc
6773         (expandToc): ditto
6774
6775         * lyxfunc.C (dispatch): adjust for lyx::find
6776
6777         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6778         lyx::find instead. Reorganize a bit.
6779         (LyXReplace): rename to replace
6780         (LyXFind): rename to find
6781
6782         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6783         (dispatch): ditto
6784
6785 2003-07-26  André Pönitz  <poenitz@gmx.net>
6786
6787         * text.C (setHeightOfRow): restrict scope of temporary variable
6788
6789         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6790           code (never has been used?)
6791
6792 2003-07-27  Asger Alstrup  <alstrup@local>
6793
6794         * text.C (fill): Optimise algorithm to exploit that we can reuse
6795         the LyXFont for many characters.
6796         (setHeightOfRow): Same thing.
6797         (rowBreakPoint): Same thing.
6798
6799 2003-07-26  Asger Alstrup  <alstrup@local>
6800
6801         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6802
6803         * text.C (singleWidth): Spurious font copying in hot-spot
6804         singleWidth avoided. Reorder tests for arabic for efficiency.
6805
6806         * text.C (fill): handle empty paragraphs better.
6807
6808 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6809
6810         * ispell.C:
6811         * encoding.h: add includes
6812
6813         * lyxrc.C: remove reading of bind files
6814
6815         * lyx_main.C (init): setup bindings and menus only if we have a
6816         gui.
6817
6818         * kbmap.C (read): new method. Do the actual reading of bind
6819         files.
6820
6821         * converter.C (dvipdfm_options):
6822         * bufferparams.C:
6823         * lyxrc.C (read):
6824         (output): adapt PAPER_* enums.
6825
6826         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6827
6828         * bufferparams.h: remove paper-related enums from there
6829
6830         * paper.h: New file. A trivial header file to hold paper-related
6831         enums. It should later expand to contain many paper-related
6832         horrors access.
6833
6834         * lyxrc.C: declare extern displayTranslator
6835
6836 2003-07-27  José Matos  <jamatos@fep.up.pt>
6837
6838         * tabular.[Ch] (linuxdoc): add support for tables and figures
6839         (linuxdoc).
6840
6841 2003-07-27  José Matos  <jamatos@fep.up.pt>
6842
6843         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6844         consistency in both functions.
6845         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6846
6847 2003-07-26  Asger Alstrup  <alstrup@local>
6848
6849         * rowpainter.C (paintRows): Change algorithm to work directly on
6850         the insets rather than asking every character in the document
6851         whether its an inset.
6852
6853 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6854
6855         * buffer.C (openFileWrite): factorize some code
6856
6857 2003-07-26  Angus Leeming  <leeming@lyx.org>
6858
6859         * lyx_cb.C:
6860         * lyx_main.[Ch]: replace occurances of system_tempdir with
6861         os::getTmpDir().
6862
6863 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6864
6865         * rename Inset to InsetOld
6866
6867 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6868
6869         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6870         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6871         which I think is a bit clearer. EDIT is gone, since it was
6872         premature optimisation, and broken for mathed anyway.
6873         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6874         with cursor positioning in insets as well (math insets still do not
6875         work, but that's a different story anyway.) It mysteriously
6876         crashes sometimes with undo in the first paragraph, but I'm fairly
6877         confident that this is a compiler bug.
6878
6879 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6880
6881         * paragraph.C (Paragraph): adjust for new clone return type
6882         (operator==): ditto
6883         (copyIntoMinibuffer): ditto
6884
6885 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6886
6887         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6888         by not having a special case, and always doing a full rebreak of
6889         the document after undo.
6890
6891 2003-07-23  Angus Leeming  <leeming@lyx.org>
6892
6893         * factory.C (createInset): InsetExternal::setParams now takes a
6894         Buffer const * arg.
6895
6896 2003-07-23  Angus Leeming  <leeming@lyx.org>
6897
6898         * factory.C (createInset): changed interface to the external and
6899         graphics mailers' string2params functions.
6900
6901 2003-07-23  Angus Leeming  <leeming@lyx.org>
6902
6903         * factory.C (createInset): pass a
6904         Buffer const * parameter to InsetExternalMailer's string2params.
6905
6906 2003-07-22  John Levon  <levon@movementarian.org>
6907
6908         * Thesaurus.h: include the right aiksaurus header
6909
6910 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6911
6912         * MenuBackend.C (expand): check menu shortcuts unconditionally
6913
6914 2003-07-21  Angus Leeming  <leeming@lyx.org>
6915
6916         * factory.C (createInset): pass a
6917         buffer_path parameter to InsetGraphicsMailer's string2params.
6918
6919 2003-07-21  Angus Leeming  <leeming@lyx.org>
6920
6921         * BufferView_pimpl.C (buffer):
6922         * buffer.C (d-tor):
6923         * lyx_main.C (LyX):
6924         * lyxfunc.C (dispatch):
6925         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6926         rather than the grfx shortcut.
6927
6928 2003-07-21  André Pönitz  <poenitz@gmx.net>
6929
6930         * rowpainter.C: remove unused variables
6931
6932         * tabular_funcs.C:
6933         * tabular_funcs.h: move to tabular.C
6934         * Makefile.am: adjust
6935
6936         * tabular.[Ch]: basic optical cleaning
6937
6938         * author.h: pass references, not values
6939
6940 2003-07-18  André Pönitz  <poenitz@gmx.net>
6941
6942         * lyxtext.h:
6943         * metricsinfo.C:
6944         * metricsinfo.h:
6945         * rowpainter.C:
6946         * text.C:
6947         * text2.C:
6948         * text3.C: two-phase drawing for InsetText and InsetTabular
6949         some float -> int changes.
6950
6951 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6952
6953         * lyx_main.C: fix the fix
6954
6955 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6956
6957         * lyx_main.C: fix a crash in batch mode if no files specified
6958         * converter.C: ws
6959
6960 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6961
6962         * format.[Ch] (papersize): moved to BufferParams
6963         * converter.[Ch] (dvips_options): moved to BufferParams
6964         (dvipdfm_options): moved to anon namespace
6965         * bufferparams.[Ch]: added above functions.
6966
6967 2003-07-17  André Pönitz  <poenitz@gmx.net>
6968
6969         * lyxtext.h:
6970         * rowpainter.C:
6971         * text2.C: don't call inset->update() anymore
6972
6973         * metricsinfo.[Ch]: add convenience constructor
6974
6975 2003-07-16  André Pönitz  <poenitz@gmx.net>
6976
6977         * lyxcursor.[Ch]:
6978         * lyxfunc.[Ch]:
6979         * text.C:
6980         * text2.C: replace the LyXCursor::irow_ member with
6981          on-demand computation of the value
6982
6983 2003-07-16  John Levon  <levon@movementarian.org>
6984
6985         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6986
6987 2003-07-15  André Pönitz  <poenitz@gmx.net>
6988
6989         * text.C:
6990         * text2.C: remove no more needed refresh_row
6991
6992 2003-07-15  André Pönitz  <poenitz@gmx.net>
6993
6994         * lyxtext.h:
6995         * rowpainter.C:
6996         * text2.C:
6997         * text3.C: refresh_status tristate -> need_update bool
6998
6999 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7000
7001         * lyxtext.h (init): remove reinit argument (act as if always true)
7002         * text2.C: adjust to that
7003
7004 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7005
7006         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7007         * text3.C: use it to delete selections in some cases
7008         (bugs 441, 673, 702, 954).
7009
7010 2003-07-14  André Pönitz  <poenitz@gmx.net>
7011
7012         * rowpainter.[Ch]: reduce interface
7013
7014 2003-07-14  André Pönitz  <poenitz@gmx.net>
7015
7016         * BufferView_pimpl.C:
7017         * text2.C: adjust after removing unused BufferView * argument
7018
7019 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7020
7021         * text2.C (init): fix a crash fired on resize
7022
7023 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7024
7025         * buffer.[Ch]: added new closing signal
7026         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7027         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7028         BufferView::Pimpl via the closing the signal
7029
7030 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7031
7032         * buffer.[Ch]: take out all bv-related from buffer
7033         * BufferView.C:
7034         * BufferView_pimpl.[Ch]: connect to new signals
7035         * CutAndPaste.C: removed useless asserts
7036         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7037         * lyxvc.[Ch]:
7038         * vc-backend.[Ch]:
7039         * lyxfunc.C: moved view-related funciontality from vc here
7040         * paragraph.C: removed outdated comments
7041         * text.C: ws
7042
7043 2003-07-10  André Pönitz  <poenitz@gmx.net>
7044
7045         * BufferView_pimpl.C:
7046         * tabular.h:
7047         * tabular_funcs.C:
7048         * text.C:
7049         * text2.C: remove InsetText::InnerCache, clean up consequences
7050
7051 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7052
7053         * ispell.C: fix two typos in error messages
7054
7055 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7056
7057         * Extend Note inset to other forms of annotation like Comment
7058         and Greyedout. Right button click gives dialog.
7059
7060         Files modified or added (+):
7061
7062         * insetnote.[Ch]
7063         * FormNote.[Ch]      +
7064         * ControlNote.[Ch]   +
7065         * form_note.fd       +
7066         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7067         frontends/controllers
7068         * xforms/Dialogs.C
7069         * factory.C
7070
7071 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7072
7073         * aspell.C: add missing namespace lyx::support
7074
7075 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7076
7077         * BufferView.[Ch] (newFile): Add
7078         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7079         * LaTeX.[Ch] (message): added this signal and use it
7080         * buffer.[Ch] (busy, message): added these signals and use them
7081         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7082         * converter.C:
7083         * exporter.C:
7084         * format.C:
7085         * importer.C: use buffer signals instead of direct bv calling
7086         * lyx_cb.[Ch] (ShowMessage): removed
7087         * lyx_main.C:
7088         * lyxfunc.C:
7089         * paragraph_funcs.C:
7090         * text2.C: use buffer signals
7091
7092 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7093
7094         * introduce namespace lyx::graphics
7095
7096 2003-07-02  André Pönitz  <poenitz@gmx.net>
7097
7098         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7099
7100 2003-07-01  André Pönitz  <poenitz@gmx.net>
7101
7102         * text.C:
7103         * text2.C:
7104         * text3.C:
7105         * text_funcs.[Ch]:
7106         * textcursor.h:
7107         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7108           text*.C to text_func.C
7109
7110 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * introduce namespace lyx::support
7113
7114 2003-06-30  André Pönitz  <poenitz@gmx.net>
7115
7116         * Chktex.C:
7117         * funcrequest.C:
7118         * lyxtext.h:
7119         * text.C: re-enable --with-included-string
7120
7121 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * textcursor.C: add <config.h>
7124
7125         * text.C (getWord): remove const from word_location arg
7126
7127         * lyxvc.C (getLogFile): fix const type order
7128
7129         * lyxtext.h: remove const from word_location arg, add arg name
7130
7131         * lyxlayout.h: currect type on labeltype.
7132
7133         * importer.C: correct \file
7134
7135         * converter.C (intToFormat): use std:: on ret val, ws changes
7136
7137         * bufferlist.h: correct \file
7138
7139         * buffer.C (makeLinuxDocFile): fix const type order
7140         (makeDocBookFile): ditto
7141         (fillWithBibKeys): use std:: on stdlib args.
7142
7143         * CutAndPaste.C: fix authors.
7144         (availableSelections): use std:: on return vector
7145
7146 2003-06-27  André Pönitz  <poenitz@gmx.net>
7147
7148         * BufferView_pimpl.C:
7149         * bufferview_funcs.C:
7150         * lyxcursor.C:
7151         * lyxcursor.h:
7152         * lyxfunc.C:
7153         * lyxtext.h:
7154         * rowpainter.C:
7155         * text.C:
7156         * text2.C:
7157         * text3.C: remove LyXCursor::row_ member
7158
7159         * lyxtext.h:
7160         * text.C: rename fullRebreak() to partialRebreak() and implement
7161           a fullRebreak() that really bereks fully
7162
7163         * textcursor.h: new struct for cursor-related data
7164
7165 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7166
7167         * lyx_main.C (LyX): get full path of document loaded on the
7168         command line
7169
7170 2003-06-26  André Pönitz  <poenitz@gmx.net>
7171
7172         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7173           remove unused/broken operator>,<,>=.
7174
7175         *       text.C: remove only use of broken operator<= in an Assert().
7176
7177 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7178
7179         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7180         moved errorlist_.clear to showErrorList
7181
7182 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7183
7184         * converter.C (scanLog, runLaTeX):
7185         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7186         move the bv->showErrorList call to the callers
7187         * lyxfunc.C: i.e. here...
7188         * text2.C: and here
7189         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7190         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7191         namespace, the second to...
7192         * buffer_funcs (BufferFormat, parseErrors): added
7193         * errorlist.C (ErrorList(TeXErrors const &)): removed
7194
7195 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7196
7197         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7198
7199 2003-06-24  "Garst R. Reese" <reese@isn.net>
7200
7201         * debug.C: fix typo
7202
7203 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7204
7205         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7206
7207         * version.C.in: change docversion to 1.4
7208
7209 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7210
7211         * buffer.C: fix a bug just introduced
7212
7213 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7214
7215         * buffer.[Ch]: added the parseError signal and use it, removed
7216         sgmlError
7217         * BufferView.[Ch] (addError): moved to ...
7218         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7219         to the Buffer::parseError signal to catch (guess what) parse errors
7220         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7221
7222 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7223
7224         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7225         ability to create a buffer and to return an existing one from
7226         the list. Moved these functions to...
7227         * buffer_funcs.[Ch]: added
7228         * BufferView.[Ch] (loadLyXFile): added
7229         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7230         job removed from bufferlist::loadLyXFile.
7231         * buffer.C (setReadOnly): make it work without view
7232         (i.e added an if (users))
7233
7234 2003-06-19  Angus Leeming  <leeming@lyx.org>
7235
7236         * lfuns.h:
7237         * LyXAction.C (init):
7238         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7239         with LFUN_DIALOG_SHOW <name> <data>.
7240
7241 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7242
7243         * CutAndPaste.C (availableSelections): small compilation fix for
7244         ancient (gcc 2.9x) compilers
7245
7246 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * text3.C (cursorNext): add tmp var
7249
7250         * text2.C (updateCounters): for function calling out of for clause
7251         (replaceSelectionWithString): ditto
7252         (insertStringAsParagraphs): ditto
7253         (getColumnNearX): add tmp var
7254         (setCursorFromCoordinates): add tmp var
7255         (cursorDownParagraph): add tmp var
7256         (deleteEmptyParagraphMechanism): add tmp var
7257
7258         * text.C (insertChar): add tmp var
7259
7260         * rowpainter.C (paintDepthBar): add tmp var
7261
7262         * CutAndPaste.C (availableSelections): potentially check all
7263         paragraphs in a cut to fill the shown strings.
7264
7265 2003-06-18  André Pönitz  <poenitz@gmx.net>
7266
7267         * kbmap.[Ch]: use vector<> instead of list<>
7268
7269 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7270
7271         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7272         pasteSelection with index
7273
7274         * text2.C (pasteSelection): modify, call pasteSelection with index
7275
7276         * paragraph.C (asString): reimplement version with no interval to
7277         call the one with interval.
7278
7279         * lyxtext.h: add index arg to pasteSelection
7280
7281         * MenuBackend.C (MenuItem): handle PasteRecent
7282         (Menu::read::Menutags): add md_pasterecent
7283         (read): handle it
7284         (expandPasteRecent): new function
7285         (expand): use it
7286
7287         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7288
7289         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7290         the limited stack
7291         (availableSelections): new function
7292
7293 2003-06-17  Angus Leeming  <leeming@lyx.org>
7294
7295         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7296
7297 2003-06-17  Angus Leeming  <leeming@lyx.org>
7298
7299         * lfuns.h:
7300         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7301
7302         * lyxfunc.C (dispatch): invoke it.
7303
7304 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7305
7306         * iterators.C (operator++, ParPosition): reintroduce some
7307         const_cast for the benefit of older compilers.
7308
7309 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7310
7311         * text3.C (dispatch): do not modify clipboard when doing
7312         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7313         LFUN_DELETE_SKIP on a selection selection
7314
7315 2003-06-16  André Pönitz  <poenitz@gmx.net>
7316
7317         * BufferView.C:
7318         * buffer.C:
7319         * buffer.h:
7320         * paragraph.C:
7321         * tabular.[Ch]: IU of clone() and getLabelList();
7322
7323 2003-06-13  André Pönitz  <poenitz@gmx.net>
7324
7325         * tabular.h: compactification
7326
7327 2003-06-12  André Pönitz  <poenitz@gmx.net>
7328
7329         * tabular.C:
7330         * tabular.h:
7331         * tabular_funcs.h: some renaming plus whitespace
7332
7333 2003-06-12  André Pönitz  <poenitz@gmx.net>
7334
7335         * BufferView.C:
7336         * BufferView_pimpl.C:
7337         * CutAndPaste.C:
7338         * buffer.C:
7339         * iterators.[Ch]:
7340         * lyxfunc.C:
7341         * text.C:
7342         * toc.C: Return a Paragraph & for ParIterator::operator*()
7343
7344 2003-06-11  John Levon  <levon@movementarian.org>
7345
7346         * lyx_main.C:
7347         * ToolbarBackend.h:
7348         * ToolbarBackend.C: add "Toolbars" section and
7349         put the flags there
7350
7351 2003-06-10  Angus Leeming  <leeming@lyx.org>
7352
7353         * lfuns.h:
7354         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7355
7356         * lyxfunc.C (dispatch): invoke it.
7357
7358 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359
7360         * main.C: protect <ios> with HAVE_IOS
7361         (main): protect sync_with_stdio with HAVE_IOS
7362
7363 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7364
7365         * text2.C (cutSelection): adjust
7366         (pasteSelection): adjust
7367
7368         * messages.C: handle get of empty string
7369
7370         * main.C (main): use sync_with_stdio(false)
7371
7372         * lyxfunc.C (dispatch): adjust
7373
7374         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7375         (WriteAs): remove unneeded BufferView arg.
7376
7377         * bufferparams.h: use correct types on papersize, papersize2 and
7378         paperpackage.
7379
7380         * bufferparams.C (readToken): adjust for type
7381         (writeLaTeX): add missing cases to switch.
7382
7383         * bufferlist.C (quitWriteBuffer): adjust
7384         (close): adjust
7385
7386         * buffer.C (asciiParagraph): remove some commented code.
7387
7388         * CutAndPaste.C: remove current_view extern variable.
7389         (cutSelection): add BufferParams arg.
7390         (eraseSelection): add BufferParams arg.
7391         (pasteSelection): add Buffer const & arg
7392
7393 2003-06-07  John Levon  <levon@movementarian.org>
7394
7395         * buffer.C:
7396         * paragraph_funcs.C:
7397         * paragraph_pimpl.C:
7398         * text.C:
7399         * text2.C:
7400         * paragraph.h:
7401         * paragraph.C: allow InsetERT to freely space lines,
7402         and some consolidation of code
7403
7404 2003-06-06  José Matos  <jamatos@fep.up.pt>
7405
7406         * buffer.C (makeDocBookFile): fix bug #821
7407
7408 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7409
7410         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7411
7412 2003-06-04  Angus Leeming  <leeming@lyx.org>
7413
7414         * buffer.C: bump format to 224.
7415
7416 2003-06-05  André Pönitz  <poenitz@gmx.net>
7417
7418         * text2.C (redoParagraphs): remove two const_cast<>
7419
7420 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7421
7422         * ParagraphList.h: remove last remnants of NO_STD_LIST
7423
7424 2003-06-03  Angus Leeming  <leeming@lyx.org>
7425
7426         * factory.C (createInset): small change to the way InsetExternal's params
7427         are set.
7428
7429 2003-06-04  André Pönitz  <poenitz@gmx.net>
7430
7431         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7432
7433         * paragraph_pimpl.h:
7434         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7435
7436         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7437
7438         * undo_funcs.C: make some simple cases of undo work again
7439
7440 2003-06-03  John Levon  <levon@movementarian.org>
7441
7442         * ispell.C: HPUX doesn't have sys/select.h
7443         (from Albert Chin)
7444
7445 2003-06-03  John Levon  <levon@movementarian.org>
7446
7447         * CutAndPaste.C: update tabular and include inset
7448         buffer references
7449
7450         * buffer.h:
7451         * paragraph.h:
7452         * paragraph.C: remove owningBuffer(), don't pass Buffer
7453         to clone()
7454
7455         * factory.C: insetGraphicsParams changed
7456
7457 2003-06-02  John Levon  <levon@movementarian.org>
7458
7459         * LyXAction.C:
7460         * factory.C:
7461         * lfuns.h:
7462         * lyxfunc.C:
7463         * text3.C: remove insetparent
7464
7465 2003-06-02  John Levon  <levon@movementarian.org>
7466
7467         * buffer.h:
7468         * buffer.C: fix inset_iterator.end(), move out of line
7469         (bug 1149)
7470
7471 2003-06-01  John Levon  <levon@movementarian.org>
7472
7473         * text3.C: use a proper cut/paste when doing inset
7474         insert (from Jürgen Spitzmüller)
7475
7476 2003-06-01  John Levon  <levon@movementarian.org>
7477
7478         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7479
7480 2003-05-30  André Pönitz  <poenitz@gmx.net>
7481
7482         * rowpainter.C: unify second drawing phase
7483
7484 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * trans_mgr.C: remove one case of current_view
7487
7488         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7489
7490         * paragraph_funcs.h: remove paragraph.h include
7491
7492         * paragraph.h: delete NO_STD_LIST stuff
7493
7494         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7495
7496         * buffer.h: remove paragraph.h include
7497
7498         * ParagraphList.C: delete file
7499
7500         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7501
7502         * toc.C (getTocList): adjust
7503
7504         * paragraph_pimpl.C (validate): adjust
7505
7506         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7507
7508         * paragraph.C (Paragraph): adjust
7509         (getPositionOfInset): use const_iterator, adjust
7510         (bibitem): use const_iterator, adjust
7511         (setInsetOwner): adjust
7512
7513         * iterators.C (operator++): adjust
7514
7515         * InsetList.[Ch]: Replace selfmade iterator with standard
7516         vector::iterator also introduce const_iterator. Remove getPos,
7517         getInset and setInset from InsetTable. Adjust accordingly.
7518
7519         * BufferView.C (lockInset): adjust
7520         (ChangeInsets): adjust
7521
7522         * tabular.[Ch]: delete commented same_id functions
7523
7524 2003-05-28  John Levon  <levon@movementarian.org>
7525
7526         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7527
7528 2003-05-28  André Pönitz  <poenitz@gmx.net>
7529
7530         * metricsinfo.[Ch]: remove 'fullredraw' member
7531
7532 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7533
7534         * lyxtextclass.C (operator): remove caching.
7535
7536 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7537
7538         * text3.C: adjust
7539
7540         * text2.C (cursorBottom): adjust
7541         (setCounter): use ParagraphList::find, adjust
7542
7543         * text.C (workWidth): use ParagraphList::find, adjust
7544
7545         * lyxcursor.C (LyXCursor): adjust
7546
7547         * buffer.C (inset_iterator): adjust
7548
7549         * ParagraphList.h: make iterator(value_type) private, make
7550         ParagraphList a friend of iterator.
7551
7552         * ParagraphList.C (find): new function
7553
7554         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7555
7556 2003-05-27  André Pönitz  <poenitz@gmx.net>
7557
7558         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7559
7560 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7561
7562         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7563
7564 2003-05-26  John Levon  <levon@movementarian.org>
7565
7566         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7567
7568 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7569
7570         * remove same_id from function signatures, adjust.
7571
7572 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7575
7576         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7577
7578         * paragraph.C (Paragraph): get rid of same_ids parameter
7579
7580         * ParagraphList.C (insert): adjust
7581         (push_back): adjust
7582
7583 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * paragraph_funcs.C (breakParagraph): adjust
7586         (breakParagraphConservative): adjust
7587
7588         * buffer.C (readParagraph): adjust
7589
7590         * ParagraphList.C (insert): take a reference instead of a pointer
7591         (insert): adjust
7592
7593         * paragraph.[Ch] (id): new function
7594
7595         * bufferlist.C (newFile): adjust
7596
7597         * ParagraphList.C (ParagraphList): adjust
7598         (assign): adjust
7599         (push_back): take a reference instead of a pointer.
7600
7601         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7602
7603         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7604         instead.
7605
7606         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7607         set else use old code.
7608
7609         * ParagraphList.C: remove all NO_NEXT code and only compile this
7610         code of NO_STD_LIST is set.
7611
7612 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7613
7614         * BufferView_pimpl.C:
7615         * TextCache.C:
7616         * TextCache.h:
7617         * bufferlist.C:
7618         * errorlist.h:
7619         * format.C:
7620         * format.h:
7621         * graph.C:
7622         * lyxfunc.C:
7623         * lyxrc.C:
7624         * graphics/GraphicsConverter.C:
7625         * graphics/PreviewLoader.C: header adjustment
7626
7627 2003-05-23  Angus Leeming  <leeming@lyx.org>
7628
7629         * LaTeXFeatures.[Ch] (useBabel): new method.
7630         * bufferparams.C (writeLaTeX): use it.
7631
7632 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7633
7634         * ParagraphList.h (set): remove unused function.
7635
7636 2003-05-23  André Pönitz  <poenitz@gmx.net>
7637
7638         * BufferView.C:
7639         * BufferView_pimpl.C:
7640         * buffer.C:
7641         * buffer.h:
7642         * lyxfunc.C:
7643         * undo_funcs.C: setUndo reworked
7644
7645         * iterators.[Ch]: add access to topmost ParagraphList
7646
7647         * lyxtext.[Ch] (workWidth): add a const
7648
7649 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7650
7651         * texrow.[Ch] (increasePos): remove function
7652         * exporter.C (export): removed unused var and outdated comment
7653
7654 2003-05-23  Angus Leeming  <leeming@lyx.org>
7655
7656         * latexrunparams.h: rename fragile as moving_arg.
7657         * paragraph.C (simpleTeXOnePar): ditto.
7658         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7659
7660 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7663         (createUndo): ditto
7664         (textUndoOrRedo): comment out a currently unused var.
7665
7666         * paragraph.h (NO_NEXT): enable NO_NEXT
7667
7668         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7669
7670         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7671
7672         * exporter.C (Export): adjust for removeAutoInsets removal.
7673
7674         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7675
7676         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7677
7678         * BufferView.[Ch] (removeAutoInsets): delete function
7679
7680 2003-05-22  Angus Leeming  <leeming@lyx.org>
7681
7682         * latexrunparams.h: add a free_spacing variable.
7683
7684         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7685         to pass moving_arg, as the data is stored in runparams.fragile.
7686
7687         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7688         to Inset::latexOptional or to simpleTeXOnePar.
7689
7690         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7691         free_spacing arg to Inset::latexOptional.
7692
7693         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7694         free_spacing arg.
7695
7696 2003-05-22  Angus Leeming  <leeming@lyx.org>
7697
7698         * latexrunparams.h: add fragile and use_babel variables.
7699
7700         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7701         * buffer.C (makeLaTeXFile): store this returned value in
7702         runparams.use_babel, thus passing it to the inset::latex methods.
7703
7704         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7705         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7706
7707         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7708         longer has a fragile arg, as it is stored in runparams.fragile.
7709
7710         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7711         moving_arg parameter as the data is stored in runparams.fragile.
7712
7713         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7714         a fragile parameter as the data is stored in runparams.fragile.
7715
7716 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7717
7718         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7719
7720 2003-05-22  Angus Leeming  <leeming@lyx.org>
7721
7722         * latexrunparams.h: add a 'bool nice' which defaults to false.
7723
7724         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7725         now encapsulated within runparams.
7726
7727         * bufferlist.C (updateIncludedTeXfiles):
7728         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7729
7730 2003-05-22  Angus Leeming  <leeming@lyx.org>
7731
7732         * latexrunparams.h: new file containing struct LatexRunParams.
7733         * Makefile.am: add new file.
7734
7735         * LaTeX.[Ch] (c-tor, run):
7736         * buffer.[Ch] (makeLaTeXFile):
7737         * bufferlist.[Ch] (updateIncludedTeXfiles):
7738         * converter.C (convert, scanLog):
7739         * converter.[Ch] (runLaTeX):
7740         * exporter.C (Export):
7741         * paragraph.[Ch] (simpleTeXOnePar):
7742         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7743         * paragraph_funcs.[Ch] (latexParagraphs):
7744         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7745         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7746         pass around a LatexRunParams parameter.
7747
7748 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * paragraph.[Ch]: remove unused constructor
7751
7752         * ParagraphList.C (erase): new function, taking two iterators
7753
7754 2003-05-22  André Pönitz  <poenitz@gmx.net>
7755
7756         * undo_funcs.C: remove duplicated code
7757
7758         * iterator.[Ch]: operator=
7759
7760 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * tabular.C (SetMultiColumn): ws changes
7763
7764         * rowpainter.C (paintFirst): get rid of a ->previous
7765
7766         * lyx_cb.C (getPossibleLabel): parlist simplification
7767
7768         * BufferView.C (ChangeInsets): simplify slightly.
7769
7770 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7771
7772         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7773         * lfuns.h: new LFUN_SPACE
7774         * lyxfunc.C: protected space has a new lfun
7775         * paragraph_funcs.C: read new space insets
7776         * text3.C:
7777         * factory.C: handle new space insets
7778
7779 2003-05-22  André Pönitz  <poenitz@gmx.net>
7780
7781         * BufferView.C:
7782         * BufferView_pimpl.C:
7783         * buffer.[Ch]:
7784         * lyxfunc.C:
7785         * undo_funcs.C: return a ParIterator from getParFromID.
7786
7787         * iterators.[Ch]: add two const's
7788
7789 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7790
7791         * toc.C (getTocList): adjust
7792
7793         * iterators.[Ch]: rework for parlist
7794
7795         * buffer.C (par_iterator_begin): adjust
7796         (par_iterator_end): adjust
7797
7798         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7799
7800         * BufferView.C (removeAutoInsets): adjust
7801         (ChangeInsets): adjust
7802
7803 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7804
7805         * text.C (top_y): fix bug 1110
7806
7807 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7808
7809         * errorlist.[Ch]: added
7810         * buffer.C:
7811         * BufferView.[Ch]:
7812         * BufferView_pimpl.C:
7813         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7814         instead
7815
7816 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7817
7818         * Makefile.am: ensure that lyx is relinked upon changes to the
7819         various "convenience" libs.
7820
7821 2003-05-20  Angus Leeming  <leeming@lyx.org>
7822
7823         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7824         files are compiled in alphabetical order again.
7825
7826         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7827
7828 2003-05-19  Angus Leeming  <leeming@lyx.org>
7829
7830         * gettext.[Ch]: remove "char const * _(char const *)".
7831
7832 2003-05-19  André Pönitz  <poenitz@gmx.net>
7833
7834         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7835
7836         * Makefile.am:
7837         * BufferView.C:
7838         * DepTable.h:
7839         * LaTeXFeatures.C:
7840         * buffer.C:
7841         * lyxfont.C:
7842         * lyxlex.h:
7843         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7844
7845 2003-05-19  André Pönitz  <poenitz@gmx.net>
7846
7847         * buffer.C:
7848         * lyxlayout.[Ch]:
7849         * lyxtextclass.[Ch]:
7850         * paragraph.C:
7851         * paragraph_funcs.[Ch]:
7852         * text2.C:
7853         * text3.C: more insetenv work
7854
7855 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7856
7857         * ParagraphParameters.C (params2string): small bug fixed
7858
7859 2003-05-16  André Pönitz  <poenitz@gmx.net>
7860
7861         * debug.C:
7862         * bufferview_funcs.C: patch from Kornel Benko to prevent
7863           crash when _(...) is called twice in a statement
7864
7865 2003-05-16  André Pönitz  <poenitz@gmx.net>
7866
7867         * BufferView.C:
7868         * lyxfunc.C:
7869         * text.C:
7870         * text2.C:
7871         * text3.C:
7872         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7873
7874 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7875
7876         * lyx_main.C (init): remove spurious static_cast
7877
7878 2003-05-14  André Pönitz  <poenitz@gmx.net>
7879
7880         * BufferView.C: fix format string
7881
7882 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7883
7884         * BufferView.[Ch] (insertErrors): removed
7885         * BufferView.[Ch] (showErrorList): added
7886         * buffer.C (runChkTeX):
7887         * converter.C (scanLog): call showErrorList instead of inserterrors
7888
7889 2003-05-13  André Pönitz  <poenitz@gmx.net>
7890
7891         * BufferView_pimpl.C:
7892         * buffer.C:
7893         * bufferview_func.C:
7894         * MenuBackend.C:
7895         * lyxfunc.C:
7896         * lyxrc.C:
7897         * tex-accent.C:
7898         * text3.C:
7899         * toc.C:
7900         * tabular_funcs.h: tostr() from its own header
7901
7902         * ParagraphParameters.C:
7903         * ToolbarBackend.C:
7904         * bufferparams.C:
7905         * format.C:
7906         * lyxlex_pimpl.C:
7907         * text3.C: STRCONV()
7908
7909 2003-05-12  André Pönitz  <poenitz@gmx.net>
7910
7911         * BufferView.C:
7912         * BufferView_pimpl.C:
7913         * CutAndPaste.C:
7914         * LaTeX.C:
7915         * LaTeXFeatures.C:
7916         * ParagraphParameters.C:
7917         * buffer.C:
7918         * bufferlist.C:
7919         * bufferparams.C:
7920         * bufferview_funcs.C:
7921         * converter.C:
7922         * counters.C:
7923         * debug.C:
7924         * exporter.C:
7925         * format.C:
7926         * importer.C:
7927         * lyx_cb.C:
7928         * lyx_main.C:
7929         * lyxfont.C:
7930         * lyxfunc.C:
7931         * lyxvc.C:
7932         * paragraph.C:
7933         * paragraph_funcs.C:
7934         * tabular.C:
7935         * tabular_funcs.C:
7936         * text2.C:
7937         * text3.C:  boost::format -> bformat  all over the place
7938
7939
7940 2003-05-09  André Pönitz  <poenitz@gmx.net>
7941
7942         * LColor.[Ch]: Pimpl the #include <map> away
7943
7944 2003-05-09  John Levon  <levon@movementarian.org>
7945
7946         * bufferlist.C: never remove emergency saves
7947
7948 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7949
7950         * Makefile.am: better lib building
7951
7952 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7953
7954         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7955         instead.
7956         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7957         (simpleTeXSpecialChars): adjust
7958         (simpleTeXSpecialChars): adjust
7959         * paragraph.C (simpleTeXOnePar): adjust
7960         * buffer.C (makeLaTeXFile): adjust
7961
7962         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7963
7964         * text2.C (changeDepth): parlist cleanup
7965         (getColumnNearX): ditto
7966
7967         * rowpainter.C (getLabelFont): parlist cleanup
7968
7969         * bufferlist.C (newFile): parlist cleanup
7970
7971         * CutAndPaste.C (eraseSelection): parlist cleanup
7972
7973         * BufferView_pimpl.C (trackChanges): parlist cleanup
7974         (dispatch): ditto
7975
7976         * BufferView.C (lockInset): parlist cleanup.
7977         (ChangeInsets): ditto
7978
7979 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * CutAndPaste.h: Update file header.
7982
7983         * CutAndPaste.C: Update file header.
7984         Store the parts cut out of the Document in a limited_stack.
7985         (copySelection): adjust
7986         (pasteSelection): new function, takes the index in the limited stack.
7987         (nrOfParagraphs): adjust
7988         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7989         simplify error inset insertion.
7990         (checkPastePossible): adjust
7991
7992 2003-05-06  John Levon  <levon@movementarian.org>
7993
7994         * text2.C: don't cast wrap inset to float
7995
7996 2003-05-05  André Pönitz  <poenitz@gmx.net>
7997
7998         * iterator.C:
7999         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8000
8001         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8002           few naked Paragraph *.
8003
8004 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8005
8006         * bufferparams.C: Output warning if a document with missing
8007         TeX document class is loaded
8008         * exporter.C: Disable TeX exports if the document class is missing
8009         * lyxtextclass.C:
8010         * lyxtextclass.h:
8011         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8012         isTeXClassAvailable()
8013
8014 2003-05-03  John Levon  <levon@movementarian.org>
8015
8016         * BufferView.h:
8017         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8018         explicit cursor show/hide
8019
8020         * BufferView_pimpl.h:
8021         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8022         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8023
8024         * lyxfunc.C: hide cursor before dispatching.
8025
8026         * lyx_cb.C:
8027         * lyxfind.C:
8028         * text.C:
8029         * text3.C: remove explicit cursor hides
8030
8031 2003-05-02  André Pönitz  <poenitz@gmx.net>
8032
8033         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8034
8035         * undo_funcs.C:
8036         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8037           linked lists
8038
8039         * text2.C: tiny whitespace
8040
8041 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8042
8043         * undo_funcs.C: almost only ws changes.
8044
8045         * ParagraphList.C (splice): just return if pl is empty.
8046
8047 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * ParagraphList.C (splice): new function.
8050
8051         * CutAndPaste.C (pasteSelection): use it
8052
8053 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8054
8055         * CutAndPaste.C (pasteSelection): remove the last next and
8056         previous from this file.
8057
8058 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8059
8060         * CutAndPaste.C (pasteSelection): more clean up, user proper
8061         ParagraphList functions for pasteing.
8062
8063         * ParagraphList.C (insert): new function, three arg insert
8064
8065 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * ParagraphList.C (insert): new function, three arg insert
8068
8069         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8070         not on paragraphs.
8071
8072 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8073
8074         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8075
8076 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8077
8078         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8079
8080 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8083         (copySelection): clean up a bit.
8084         (pasteSelection): use make_pair
8085
8086         * ParagraphList.C (ParagraphList): implement copy constructor
8087         (operator=): implement, base on copy constructor.
8088         (assign): new func
8089
8090         * paragraph.C (erase): return a bool
8091
8092         * paragraph_pimpl.C (erasePos): remove function, move contents...
8093         (erase): ... here. Return a bool.
8094         (erase): call erase instead of erasePos.
8095
8096 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8097
8098         * ParagraphList.h: define PitPosPair
8099         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8100         ParagraphList, fix a bug on pasting multiple pars
8101         * text2.C: change interface to C&P
8102
8103 2003-04-30  André Pönitz  <poenitz@gmx.net>
8104
8105         * undo_func.C: revert part of yesterday's patch 2
8106
8107 2003-04-30  John Levon  <levon@movementarian.org>
8108
8109         * LColor.C: s/tabular/table/
8110
8111 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8112
8113         * text3.C (dispatch): do not convert iterator -> pointer
8114         * undo_funcs.C (setCursorParUndo): ditto
8115         * text_funcs.C (transposeChars): ditto
8116
8117         * text2.C (setLayout): ws changes only
8118
8119         * text.C (breakParagraph): do not convert iterator -> pointer
8120         (insertChar): ditto
8121         (acceptChange): ditto
8122         (rejectChange): ditto
8123         (changeCase): ditto
8124         (Delete): ditto
8125         (backspace): ditto
8126
8127         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8128         pointer
8129
8130 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8131
8132         * text3.C (gotoInset): YABG (yet another bad getChar)
8133
8134 2003-04-29  André Pönitz  <poenitz@gmx.net>
8135
8136         * paragraph.h: make operator= private unimplemented as long as
8137           it is unusable
8138
8139         * ParagraphList.C: whitespace
8140
8141         * paragraph.[Ch]:
8142         * paragraph_pimpl.[Ch]:
8143         * paragraph_funcs.C:
8144         * CutAndPaste.C:
8145         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8146
8147         * text2.C:
8148           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8149
8150 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8151
8152         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8153         * paragraph.[Ch] (erase):
8154         * paragraph_pimpl.[Ch] (erase): change return type and value
8155         * text2.C (cutSelection): some rework
8156
8157 2003-04-28  John Levon  <levon@movementarian.org>
8158
8159         * bufferlist.C: changes for unsaved changes dialog
8160
8161 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * bufferlist.C (newFile): set language (messages_) for new
8164         documents also.
8165
8166         * buffer.C (readFile): ws changes only.
8167
8168 2003-04-28  André Pönitz  <poenitz@gmx.net>
8169
8170         * undo_funcs.C:
8171         * lyxfunc.C:
8172         * buffer.[Ch]:
8173         * BufferView_pimpl.C:
8174         * BufferView.C: getParFromID related ParagraphList::iterator changes
8175
8176 2003-04-28  André Pönitz  <poenitz@gmx.net>
8177
8178         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8179           Changes
8180
8181 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * messages.C: remove one more localedir class variable.
8184
8185 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8186
8187         * messages.C (getLocaleDir): singleton generation function
8188         (Pimpl): use it.
8189         (Messages): add a default constructor.
8190
8191         * main.C (main): do not setup localedir here, do not call
8192         gettext_init.
8193
8194         * gettext.C (_): use it.
8195         (gettext_init): delete funciton
8196
8197 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8198
8199         * gettext.C (getLyXMessages): new singleton generating function.
8200
8201         * buffer.C (updateDocLang): adjust
8202
8203         * Makefile.am (messages.o): add target
8204         (main.o): remove target
8205
8206 2003-04-27  John Levon  <levon@movementarian.org>
8207
8208         * bufferlist.C:
8209         * lyx_cb.C:
8210         * lyxfunc.C:
8211         * lyxvc.C: specify cancel button in Alert::prompt
8212
8213 2003-04-26  John Levon  <levon@movementarian.org>
8214
8215         * text3.C:
8216         * lyxfunc.C:
8217         * lfuns.h:
8218         * LyXAction.C: add LFUN_INSET_SETTINGS
8219
8220         * lyxfunc.C: don't enable tabular-feature when there's
8221         just any locking inset
8222
8223 2003-04-26  John Levon  <levon@movementarian.org>
8224
8225         * bufferlist.C: re-add Cancel to buffer close question
8226
8227         * lyxfunc.C: fix import UI a bit
8228
8229 2003-04-25  John Levon  <levon@movementarian.org>
8230
8231         * gettext.C: remove the broken asserts for now
8232
8233 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8234
8235         * messages.C: make case where setlocale cannot comply work better.
8236
8237         * buffer.C (updateDocLang): new function
8238         (changeLanguage): use it
8239         (readFile): use it
8240
8241         * text2.C (setCounter): use B_ a bit.
8242
8243         * lyxlayout.C (Read): be sure to trim the label strings.
8244
8245         * messages.C (Messages): fix typo in comment
8246
8247         * buffer.C (readFile): set message_ after file is loaded.
8248         (makeDocBookFile): remove double return
8249         (changeLanguage): reset message_ upon language change.
8250         (B_): new func, use this to get translated buffer strings.
8251
8252         * main.C: add myself and Jean Marc as authors.
8253
8254 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8255
8256         * messages.[hC]: pimplify Messages, and three different pimpls to be
8257         used in different circumstances.
8258
8259         * gettext.[Ch]: change for use with new message code.
8260
8261 2003-04-24 André Pönitz <poenitz@gmx.net>
8262
8263         * factory.C: support for eqref
8264
8265 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8266
8267         * messages.[Ch]: add missing char
8268
8269         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8270
8271         * messages.[Ch]: New files
8272
8273 2003-04-18  John Levon  <levon@movementarian.org>
8274
8275         * BufferView.h:
8276         * BufferView.C:
8277         * BufferView_pimpl.C:
8278         * lfuns.h:
8279         * LyXAction.C:
8280         * lyxtext.h:
8281         * text2.C: remove layout-copy/paste (bug 778)
8282
8283 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8284
8285         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8286
8287 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8288
8289         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8290         if they succeed. Act accordingly.
8291
8292 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8293
8294         * text2.C (setCharFont): adjust
8295         (setCounter): adjust
8296         (insertStringAsLines): adjust
8297
8298         * text.C (leftMargin): adjust
8299         (setHeightOfRow): adjust
8300
8301         * rowpainter.C (paintFirst): adjust
8302         (paintLast): adjust
8303
8304         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8305         (outerHook): ditto
8306         (isFirstInSequence): ditto
8307         (getEndLabel): ditto
8308         (outerFont): adjust
8309
8310         * paragraph.C (getParLanguage): comment out some hard stuff.
8311
8312         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8313         (sgmlError): ditto
8314         (simpleDocBookOnePar): ditto
8315         (makeDocBookFile): use ParagraphList::iterator
8316
8317         * CutAndPaste.C (pasteSelection): adjust
8318
8319 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8320
8321         * text2.C (getFont): adjust
8322         (getLayoutFont): adjust
8323         (getLabelFont): adjust
8324
8325         * paragraph_funcs.C (TeXOnePar): adjust
8326
8327         * buffer.C (simpleLinuxDocOnePar): adjust
8328         (simpleDocBookOnePar): adjust
8329
8330         * CutAndPaste.C (pasteSelection): adjust
8331
8332         * BufferView.C (getEncoding): adjust
8333
8334         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8335
8336 2003-04-16  John Levon  <levon@movementarian.org>
8337
8338         * lyxfind.C: use parlist stuff for search/changes
8339
8340 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8341
8342         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8343
8344         * text2.C (deleteEmptyParagraphMechanism): adjust
8345
8346         * text2.[Ch] (ownerParagraph): delete func (both of them
8347
8348 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8349
8350         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8351
8352 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8353
8354         * ParagraphList.C: prepare for NO_NEXT
8355
8356 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8357
8358         * text2.C (getFont): adjust
8359         (getLayoutFont): adjust
8360         (getLabelFont): adjust
8361
8362         * paragraph.C (getFont): adjust
8363         (getLabelFont): adjust
8364         (getLayoutFont): adjust
8365
8366         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8367
8368 2003-04-15  John Levon  <levon@movementarian.org>
8369
8370         From Angus Leeming
8371
8372         * lyx_main.C: handle Include in .ui files
8373
8374 2003-04-15  John Levon  <levon@movementarian.org>
8375
8376         * MenuBackend.C: make the doc files length shorter
8377
8378         * ToolbarBackend.h:
8379         * ToolbarBackend.C: handle toolbar placement flags,
8380         Minibuffer
8381
8382 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8383
8384         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8385         adjust
8386
8387         * paragraph_funcs.C (TeXOnePar): adjust
8388
8389         * paragraph.C (getLabelFont): add outerfont arg, adjust
8390         (getLayoutFont): ditto
8391         (simpleTeXOnePar): adjust
8392
8393         * paragraph_pimpl.C (realizeFont): delete func
8394
8395 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8396
8397         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8398         row argument, constify cur argument.
8399
8400 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8401
8402         * text2.C (getFont): adjust
8403         (getLayoutFont): adjust
8404         (getLabelFont): adjust
8405
8406         * paragraph_funcs.C (TeXOnePar): adjust
8407         (outerFont): new func...
8408         (realizeFont): ...moved out from here, changed this to facilitate
8409         transition
8410
8411         * paragraph.C (getFont): take outerfont as arg, adjust
8412         (simpleTeXOnePar): add outerfont arg, adjust
8413
8414         * buffer.C (simpleLinuxDocOnePar): adjust
8415         (simpleDocBookOnePar): adjust
8416
8417         * CutAndPaste.C (pasteSelection): adjust
8418
8419         * BufferView.C (getEncoding): adjust
8420
8421 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8422
8423         * text2.C (setCharFont): adjust
8424         (setCounter): adjust
8425
8426         * text.C (leftMargin): adjust
8427         (setHeightOfRow): adjust
8428
8429         * rowpainter.C (paintFirst): adjust
8430         (paintLast): adjust
8431
8432         * paragraph_pimpl.C (realizeFont): adjust
8433
8434         * paragraph.C (isFirstInSequence): move from here...
8435         * paragraph_funcs.C (isFirstInSequence): ...to here
8436
8437         * paragraph.C (outerHook): move from here...
8438         * paragraph_funcs.C (outerHook): ...to here
8439
8440         * paragraph.C (depthHook): move from here...
8441         * paragraph_funcs.C (depthHook): ...to here
8442
8443         * paragraph.C (getEndLabel): move from here...
8444         * paragraph_funcs.C (getEndLabel): ...to here
8445
8446         * text2.C (realizeFont): move from here...
8447         * paragraph_funcs.C (realizeFont): ...to here
8448
8449 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8450
8451         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8452
8453 2003-04-14  Angus Leeming  <leeming@lyx.org>
8454
8455         * LColor.[Ch]: scrap LColor mathcursor.
8456
8457 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8458
8459         * lyxlex.[Ch] (text): delete function
8460         * trans.C (Load): adjust
8461         * paragraph_funcs.C (readParToken): adjust
8462
8463 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8464
8465         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8466         vector<char> instead of a char[].
8467
8468         * lyxlex_pimpl.C (getString): adjust
8469         (next): adjust
8470         (lex): use getString
8471         (eatLine): adjust
8472         (nextToken): adjust
8473
8474         * lyxlex.C (text): use pimpl_->getString()
8475         (getBool): ditto
8476         (findToken): ditto
8477
8478 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8481         (makeFontEntriesLayoutSpecific): temp var for par.size()
8482         (setLayout): temp var for ownerParagraphs().end()
8483         (fullRebreak): temp var for rows().end()
8484         (selectionAsString): temp var for boost::next(startpit), realize
8485         that the while really is a regular for loop.
8486         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8487         setCursor in one place.
8488         (setParagraph): temp vr for ownerParagraphs().end()
8489         (updateCounters): make the while loop a for loop
8490         (cutSelection): temp var for ownerParagraphs().end()
8491         (updateInset): make the do {} while() a regular for loop
8492         (getCursorX): use temp vars
8493         (setCurrentFont): use temp vars
8494         (getColumnNearX): use temp vars
8495
8496 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8497
8498         * text.C (transformChar): use temp var for getChar
8499         (computeBidiTables): use temp var for row->par()
8500         (fill): move temp vars for row->par() and pit->layout() earlier in
8501         the function.
8502         (labelFill): use temp var for row->par()
8503         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8504         asc and desc, realize that pit never changes and that firstpit is
8505         just a duplicate and not needed. Exchange rit->par() with pit in a
8506         lot of places.
8507         (breakAgain): use a temp var for boost::next(rit)
8508         (breakAgainOneRow): ditto
8509         (breakParagraph): use a temp var for rows().begin()
8510         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8511         (cursorRightOneWord): use temp var for cursor.par() and
8512         cursor.pos(), remove usage of tmpcursor.
8513         (cursorLeftOneWord): use temp var for cursor.par() and
8514         cursor.pos() only set cur at end of function.
8515
8516 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8517
8518         * text.C, text2.C: exchange all usage of Paragraph::next with
8519         boost::next(ParagraphList::iterator)
8520
8521         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8522
8523         * text2.C (cursorTop): simplify implementation
8524         (cursorBottom): ditto
8525         (setParagraph): use ParagraphList::iterator
8526         (setCurrentFont): adjust
8527         (getColumnNearX): adjust
8528         (cursorRight): adjust
8529         (cursorLeft): remove usage of Paragraph::previous
8530         (cursorUpParagraph): ditto
8531         (deleteEmptyParagraphMechanism): slight cleanup
8532
8533         * text.C (isBoundary): take a Paragraph const & instead of a
8534         pointer as arg.
8535         (addressBreakPoint): ditto
8536         (leftMargin): remove usage of Paragraph::previous.
8537         (setHeightOfRow): ditto
8538         (cursorLeftOneWord): ditto
8539         (selectNextWordToSpellcheck): ditto
8540         (Delete): ditto
8541         (backspace): ditto
8542         (breakParagraph): remove one usage of Paragraph::next
8543         (redoParagraph): ditto
8544         (acceptChange): ditto
8545         (insertChar): adjust
8546         (rowBreakPoint): adjust
8547
8548         * bufferview_funcs.C (toggleAndShow): adjust
8549
8550 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8551
8552         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8553         methods to access it.
8554         * lyxtext.h:
8555         * text.C: Added updateRowPositions to compute all row positions.
8556         Make top_y and getRowNearY() to use the cached y position
8557
8558 2003-04-11  John Levon  <levon@movementarian.org>
8559
8560         * text.C (rowBreakPoint): reintroduce the labelEnd
8561         checks, code copied from the row fill stuff. Deep voodoo.
8562
8563         * text.C (fill): add a comment and debugging for the
8564         next poor soul.
8565
8566 2003-04-11  John Levon  <levon@movementarian.org>
8567
8568         * text.C: make sure fullrow insets get wrapped to the next line,
8569         even when they're in a manual label
8570
8571 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8572
8573         * text2.C (insertParagraph): make it take ParagraphList::iterator
8574         as arg.
8575         (setLayout): make it return ParagraphList::iterator
8576         (redoParagraphs): ditto
8577         (setCounter): ditto
8578         (checkParagraph): ditto
8579
8580         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8581
8582         * text2.C: adjust several funcs.
8583         (realizeFont): take a ParagraphList::iterator as arg.
8584         (getLayoutFont): ditto
8585         (getLabelFont): ditto
8586         (setCharFont): ditto
8587
8588         * text.C: adjust several funcs.
8589
8590 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8591
8592         * text.C (selectNextWordToSpellcheck): don't accidentally
8593         skip insets
8594
8595 2003-04-10  John Levon  <levon@movementarian.org>
8596
8597         * ToolbarBackend.C (getIcon): special handling for
8598         LFUN_MATH_DELIM
8599
8600 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8601
8602         * text2.C (cursorRight): a getChar assert fixed
8603
8604 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8605
8606         * text2.C (getFont): change to take a ParagraphList::iterator
8607         instead of Paragraph*
8608         Adjust several functions.
8609
8610         * text.C (transformChar): change to take a ParagraphList::iterator
8611         instead of Paragraph*
8612         (singleWidth): ditto
8613         Adjust several functions.
8614
8615         * rowpainter.C: adjust several functions
8616         * rowpainter.h:store a ParagraphList::iterator and not a
8617         Paragraph&.
8618
8619
8620 2003-04-09  John Levon  <levon@movementarian.org>
8621
8622         * lyxfunc.C:
8623         * lfuns.h:
8624         * LyXAction.h:
8625         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8626         and the "help" bits as well
8627
8628 2003-04-09  John Levon  <levon@movementarian.org>
8629
8630         * ToolbarBackend.h:
8631         * ToolbarBackend.C: allow multiple toolbars
8632
8633 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8634
8635         * undo_funcs.C (setCursorParUndo): adjust
8636
8637         * text_funcs.C (transposeChars): adjust
8638
8639         * text3.C (gotoNextInset): adjust
8640         (dispatch): adjust
8641
8642         * text2.C (setLayout): adjust
8643         (changeDepth): adjust
8644         (setFont): adjust
8645         (redoParagraphs): adjust
8646         (selectionAsString): adjust
8647         (setParagraph): adjust
8648         (insertInset): adjust
8649         (cutSelection): adjust
8650         (copySelection): adjust
8651         (pasteSelection): adjust
8652         (insertStringAsLines): adjust
8653         (updateInset): adjust
8654         (setCursor): change to take a ParagraphList::iterator parameter
8655         (setCursorIntern): change to take a ParagraphList::iterator parameter
8656         (setCurrentFont): adjust
8657         (cursorLeft): adjust
8658         (cursorRight): adjust
8659         (deleteEmptyParagraphMechanism): adjust
8660
8661         * text.C (breakParagraph): adjust
8662         (insertChar): adjust
8663         (acceptChange): adjust
8664         (rejectChange): adjust
8665         (selectNextWordToSpellcheck): adjust
8666         (changeCase): adjust
8667         (Delete): adjust
8668         (backspace): adjust
8669
8670         * lyxfind.C (SearchForward): adjust
8671         (SearchBackward): adjust
8672         (nextChange): adjust
8673
8674         * lyxcursor.C (par): adjust
8675
8676         * lyxcursor.h: store a ParagraphList::iterator instead of a
8677         Paragraph*
8678
8679         * lyx_cb.C (getPossibleLabel): adjust
8680
8681         * bufferview_funcs.C (toggleAndShow): adjust
8682
8683         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8684         (dispatch): adjust
8685
8686         * BufferView.C (removeAutoInsets): adjust
8687         (lockedInsetStoreUndo): adjust
8688
8689 2003-04-09  John Levon  <levon@movementarian.org>
8690
8691         * ToolbarBackend.C: try icon without argument
8692         if with argument fails
8693
8694 2003-04-08  John Levon  <levon@movementarian.org>
8695
8696         * ToolbarBackend.h:
8697         * ToolbarBackend.C: add getIcon(), handle tooltip,
8698         and change from "Icon" to "Item".
8699
8700 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8701
8702         * BufferView.C (lockInset): another bad getchar crunched
8703
8704 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8705
8706         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8707         again)
8708
8709 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8710
8711         * lyxfind.C (searchForward, searchBackwards): bug 782
8712
8713 2003-04-07  John Levon  <levon@movementarian.org>
8714
8715         * paragraph.C: remove dead comment
8716
8717         * text.C: remove troublesome depth-fiddling code
8718         in leftMargin() and rightMargin() (bug 1017)
8719
8720         * text.C: fix breaking of rows in nested lists
8721         (bug 1004)
8722
8723         * text2.C (updateCounters): fix up depth values
8724         (bug 1013)
8725
8726 2003-04-07  John Levon  <levon@movementarian.org>
8727
8728         * BufferView_pimpl.C: clear message when doc finishes resizing,
8729         and after a mouse event
8730
8731         * lyxfunc.C: clear message after exiting inset
8732
8733 2003-04-07  John Levon  <levon@movementarian.org>
8734
8735         * bufferview_funcs.C: show math status not outside
8736         status in the statusbar
8737
8738 2003-04-07  John Levon  <levon@movementarian.org>
8739
8740         * lyxfunc.C: note status changed after a depth change
8741
8742 2003-04-04  Angus Leeming  <leeming@lyx.org>
8743
8744         * LaTeX.h: move AuxInfo operator==, != out of line.
8745         Remove LaTeX virtual destructor; nothing derives from it.
8746         Move operator()() out of public area and rename it startscript().
8747         Change protected for private.
8748
8749 2003-04-04  Angus Leeming  <leeming@lyx.org>
8750
8751         * lyxfunc.C:
8752         * text2.C: remove unneeded #includes.
8753
8754 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8755
8756         * text2.C (dEPM): fix the heigth of the next row
8757
8758 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8759
8760         * text.C: squashed an invalid getChar requester + some ws changes
8761
8762 2003-04-03  John Levon  <levon@movementarian.org>
8763
8764         * bufferview_funcs.h:
8765         * bufferview_funcs.C:
8766         * lyxfunc.C:
8767         * lyxtext.h:
8768         * text2.C: make getStatus work for the env depth lfuns
8769
8770 2003-04-03  John Levon  <levon@movementarian.org>
8771
8772         * bufferview_funcs.h:
8773         * bufferview_funcs.C:
8774         * lyxfunc.C:
8775         * lyxtext.h:
8776         * text2.C: parlistize decDepth(), by merging it with incDepth()
8777
8778 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8779
8780         * lyxrow.h: store a ParagraphList::iterator instead of a
8781         Paragraph* and adjust other class functions to suit.
8782
8783         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8784         above.
8785
8786 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8787
8788         * text2.C (setCursor): do not anchor to cursor row for the time being
8789
8790 2003-04-02  John Levon  <levon@movementarian.org>
8791
8792         * LyXAction.C:
8793         * lfuns.h:
8794         * lyx_main.C:
8795         * lyxtext.h:
8796         * text.C:
8797         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8798
8799 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8800
8801         * paragraph.h: make ParagraphList and ParagraphList::iterator
8802         friends of Paragraph.
8803
8804         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8805
8806         * ParagraphList.C: Use the private next_ and previous_ from
8807         Paragraph.
8808
8809 2003-04-01  John Levon  <levon@movementarian.org>
8810
8811         * ToolbarBackend.h:
8812         * ToolbarBackend.C:
8813         * Makefile.am: rename, remove defaults gunk
8814
8815         * MenuBackend.h:
8816         * MenuBackend.C: remove defaults gunk
8817
8818         * Languages.h:
8819         * Languages.C: remove defaults gunk
8820
8821         * lyx_main.h:
8822         * lyx_main.C: error out if files couldn't be found.
8823
8824 2003-04-02  John Levon  <levon@movementarian.org>
8825
8826         * text2.C: make incDepth() use parlist
8827
8828 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8829
8830         * undo_funcs.C (firstUndoParagraph): adjust
8831
8832         * text3.C (gotoInset): adjust
8833         (dispatch): adjust, and rewrite loop.
8834
8835         * text2.C (init): adjust, and rewrite loop.
8836         (redoParagraphs): adjust
8837         (updateInset): adjust, and rewrite loop.
8838         (deleteEmptyParagraphMechanism): adjust
8839
8840         * tabular.C (LyXTabular): adjust
8841         (SetMultiColumn): adjust
8842         (TeXRow): adjust
8843
8844         * lyxtext.[Ch] (ownerParagraph): delete function
8845         (ownerParagraphs): new function returns a ParagraphList.
8846
8847         * BufferView.C (removeAutoInsets): adjust
8848         (insertErrors): adjust
8849         (setCursorFromRow): adjust
8850
8851 2003-04-01  Angus Leeming  <leeming@lyx.org>
8852
8853         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8854         in the frontends.
8855
8856 2003-04-02  John Levon  <levon@movementarian.org>
8857
8858         * lyxtext.h:
8859         * text.C:
8860         * Makefile.am:
8861         * text_funcs.h:
8862         * text_funcs.C: make transposeChars a free function
8863
8864         * lyxrow_funcs.C: remove wrong comment
8865
8866 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8867
8868         * lyxtext.h: adjust
8869         * rowpainter.C: adjust
8870         * text.C: adjust
8871         * text2.C: adjust
8872         * text3.C: adjust
8873
8874         * lyxrow_funcs. [Ch]: new files
8875
8876         * lyxrow.[Ch]: remove next and previous pointers
8877         (next,previous): remove accessor functions
8878         (isParEnd): move to lyxrow_funcs
8879         (lastPos): move to lyxrow_funcs
8880         (nextRowIsAllInset): move to lyxrow_funcs
8881         (lastPrintablePos): move to lyxrow_funcs
8882         (numberOfSeparators): move to lyxrow_funcs
8883         (numberOfHfills): move to lyxrow_funcs
8884         (numberOfLabelHfills): move to lyxrow_funcs
8885         (hfillExpansion): move to lyxrow_funcs
8886
8887         * lyxfunc.C: adjust
8888
8889         * bufferview_funcs.C (toggleAndShow): adjust
8890
8891         * RowList.h: Remove class RowList from file leave just a
8892         std::list<Row>.
8893
8894         * RowList.C: delete file
8895
8896         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8897         and lyxrow_funcs.h
8898
8899 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8900
8901         * text3.C (cursorPrevious): adjust
8902         (cursorNext): adjust
8903         (dispatch): adjust
8904
8905         * text2.C (redoHeightOfParagraph): adjust
8906         (redoDrawingOfParagraph): adjust
8907         (setCursor): adjust
8908
8909         * text.C (breakParagraph): adjust
8910         (insertChar): adjust
8911         (backspace): adjust
8912
8913         * rowpainter.C (RowPainter): adjust
8914         (leftMargin): simplify and adjust
8915         (most rowpainter functions): adjust.
8916
8917         * rowpainter.h: store the row as RowList::iterator not as Row*
8918
8919         * lyxcursor.C (row): taka RowList::iterator as arg
8920         (irow): ditto
8921
8922         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8923         of Row*.
8924
8925 2003-04-01  Angus Leeming  <leeming@lyx.org>
8926
8927         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8928         stuff like bool Bool.
8929
8930 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8931
8932         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8933         rewrite a loop
8934
8935 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8936
8937         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8938         RowList::iterator.
8939
8940         * lyxtext.h (rows): drop one version and leve a const variant that
8941         returns a RowList::iterator.
8942
8943 2003-03-31  Angus Leeming  <leeming@lyx.org>
8944
8945         * text.C (fill): ensure that the signature is the same as that in the
8946         header file.
8947
8948 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8949
8950         * text2.C (redoParagraphs): adjust
8951         (updateCounters): adjust
8952         (checkParagraph): adjust
8953         (getColumnNearX): adjust and reformat a bit.
8954
8955         * text.C (top_y): adjust
8956         (workWidth): adjust
8957         (leftMargin): adjust
8958         (prepareToPrint): adjust
8959         (getRow): adjust
8960         (getRowNearY): adjust
8961
8962         * lyxtext.h: make rowlist_ mutable.
8963
8964         * RowList.h: add const_iterator
8965         * RowList.C: adjust for RowList::const_iterator.
8966
8967         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8968         adjust.
8969
8970 2003-03-31  John Levon  <levon@movementarian.org>
8971
8972         * lyxrc.h:
8973         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8974
8975         * lyx_main.C: set default fonts from using lyx_gui funcs
8976
8977         * exporter.C: pdf_mode moved from lyxrc
8978
8979         * lyx_cb.C:
8980         * lyxfunc.C: changes from above
8981
8982 2003-03-31  John Levon  <levon@movementarian.org>
8983
8984         * lyx_main.C: fix to the last fix
8985
8986 2003-03-31  John Levon  <levon@movementarian.org>
8987
8988         * bufferlist.C: "Load original" -> "Load Original"
8989
8990         * converter.C:
8991         * exporter.C:
8992         * importer.C:
8993         * lyx_main.C:
8994         * format.C: more Alert cleanups
8995
8996 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8997
8998         * text2.C (removeParagraph): make it take a RowList::iterator as
8999         arg, adjust.
9000         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9001         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9002
9003         * text.C (anchor_row): make it take a RowList::iterator as arg,
9004         adjust.
9005         (computeBidiTables): make it take a const reference to Row instead
9006         of Row pointer, adjust.
9007         (leftMargin): make it take a RowList::iterator as arg, adjust.
9008         (rowBreakPoint): adjust
9009         (breakAgainOneRow): make it take a RowList::iterator as arg,
9010         adjust.
9011         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9012
9013         * bufferview_funcs.C (toggleAndShow): adjust
9014
9015 2003-03-30  John Levon  <levon@movementarian.org>
9016
9017         * Makefile.am:
9018         * BoostFormat.h:
9019         * boost-inst.C: moved to support
9020
9021         * several files: changes as a result
9022
9023 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9024
9025         * text2.C (LyXText): adjust.
9026         (init): adjust
9027         (removeRow): make it take a RowList::iterator as arg, adjust.
9028         (fullRebreak): adjust
9029         (deleteEmptyParagraphMechanism): adjust
9030         (clearPaint): adjust
9031         (postPaint): adjust
9032
9033         * text.C (top_y): adjust
9034         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9035         (breakAgain): make it take a RowList::iterator as arg, adjust.
9036         (breakParagraph): adjust
9037         (insertChar): adjust
9038         (backspace): adjust
9039
9040         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9041         need_break_row, and refresh_row.
9042
9043         * text3.C (dispatch): adjust
9044
9045         * text2.C (checkParagraph): adjust
9046         (setCursor): adjust
9047         (setCursorFromCoordinates): adjust
9048
9049         * text.C (top_y): adjust
9050         (workWidth): adjust
9051         (getRow): make it return a RowList::iterator, adjust
9052         (getRowNearY): make it return a RowList::iterator, adjust
9053
9054         * text2.C (init): adjust
9055         (insertRow): remove function
9056         (insertParagraph): adjust
9057         (redoParagraphs): adjust
9058         (fullRebreak): adjust
9059         (updateCounters): adjust
9060
9061         * text.C (top_y): rewrite to use RowList iterators.
9062         (top_y): adjust
9063         (setHeightOfRow): rewrite to sue RowList iterators.
9064         (appendParagraph): adjust
9065         (breakAgain): adjust
9066         (breakAgainOneRow): adjust
9067         (breakParagraph): adjust
9068         (getRow): adjust
9069         (getRowNearY): adjust, and remove commented code.
9070
9071         * lyxtext.h (firstRow): delete function
9072         (lastRow): delete function
9073         (rows): new function (const and non-const versions.)
9074         (insertRow): delete function
9075
9076         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9077
9078 2003-03-29  John Levon  <levon@movementarian.org>
9079
9080         * BufferView_pimpl.C: always update scrollbar top
9081         because pasting text when we're anchored could mean we
9082         miss an update altogether
9083
9084 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9085
9086         * text2.C (init): use rowlist_.end() and not 0.
9087         (insertRow): change to take a RowList::iterator as arg, adjust
9088         for this.
9089         (insertParagraph): change to take a RowList::iterator as arg,
9090         adjust for this.
9091         (redoParagraphs): remove some debug msgs.
9092
9093         * text.C (appendParagraph): change to take a RowList::iterator
9094         arg, adjust for this.
9095         (breakAgain): add an assert
9096         (breakAgainOneRow): ditto
9097
9098 2003-03-29  John Levon  <levon@movementarian.org>
9099
9100         * text2.C: do not clear selection after inc/decDepth
9101         (bug 550)
9102
9103 2003-03-29  John Levon  <levon@movementarian.org>
9104
9105         * BufferView.C:
9106         * buffer.C: fix broken strerrors according to Lars
9107
9108 2003-03-29  John Levon  <levon@movementarian.org>
9109
9110         * converters.C: more Alert cleanups
9111
9112 2003-03-29  John Levon  <levon@movementarian.org>
9113
9114         * bufferview_funcs.C: remove pointless Alert
9115
9116         * buffer.C: fix confusing error message when
9117         a template is chmoded 000
9118
9119 2003-03-29  John Levon  <levon@movementarian.org>
9120
9121         * BufferView.C:
9122         * BufferView.h:
9123         * BufferView_pimpl.C: Alert fixes
9124
9125         * Makefile.am:
9126         * tabular.C:
9127         * tabular-old.C: remove unused table compat reading
9128
9129 2003-03-29  John Levon  <levon@movementarian.org>
9130
9131         * BufferView.C:
9132         * buffer.C:
9133         * lyx_cb.h:
9134         * lyx_cb.C: more Alert cleanups
9135
9136         * lyxfunc.C: don't allow chktex if not latex document
9137
9138 2003-03-29  John Levon  <levon@movementarian.org>
9139
9140         * lyx_cb.C:
9141         * BufferView.C:
9142         * buffer.C: warnings pushed down from support/,
9143         kill err_alert
9144
9145 2003-03-29  John Levon  <levon@movementarian.org>
9146
9147         * lyxfunc.C: safety check for C-r (revert)
9148
9149 2003-03-29  John Levon  <levon@movementarian.org>
9150
9151         * bufferlist.h:
9152         * bufferlist.C: several UI fixes using Alert::prompt.
9153         Fix the pointless looping quit code. Fix stupid revert
9154         behaviour (bug 938)
9155
9156         * lyxvc.h:
9157         * lyxvc.C:
9158         * lyx_cb.C: use Alert::prompt
9159
9160         * lyx_main.C: remove a silly question
9161
9162         * lyxfunc.C: remove a couple of silly questions,
9163         use Alert::prompt
9164
9165 2003-03-28  John Levon  <levon@movementarian.org>
9166
9167         * text2.C: fix bug 974 (End on empty par)
9168
9169 2003-03-28  John Levon  <levon@movementarian.org>
9170
9171         * BufferView_pimpl.C:
9172         * LyXAction.C:
9173         * lfuns.h: remove do-nothing math greek lfuns
9174
9175 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9176
9177         * lyxgluelength.h (isValidGlueLength): add default arg on
9178         parameter 2. Remove default arg from friend in class.
9179
9180         * lyxlength.h (isValidLength): add default arg on parameter 2.
9181         Remove default arg from friend in class.
9182
9183         * text2.C (LyXText): adjust, initialize refresh_row.
9184         (init): adjust
9185         (removeRow): adjust
9186         (insertRow): adjust
9187         (insertParagraph): adjst
9188         (redoParagraphs): adjust
9189         (fullRebreak): adjust
9190         (updateCounters): adjust
9191         (deleteEmptyParagraphMechanism): first attempt at fixing a
9192         crashing bug.
9193
9194         * text.C (top_y): adjust
9195         (setHeightOfRow): adjust
9196         (getRow): adjust
9197         (getRowNearY): adjust
9198
9199         * lyxtext.h: include RowList.h
9200         (~LyXText): not needed anymore, deleted.
9201         (firstRow): modify for RowList
9202         (lastRow): new function
9203         Delete firstrow and lastrow class variables, add a Rowlist
9204         rowlist_ class variable.
9205
9206         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9207         paragraph is empty.
9208
9209         * RowList.C (insert): fix case where it == begin().
9210
9211 2003-03-26  Angus Leeming  <leeming@lyx.org>
9212
9213         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9214         the thesaurus dialog.
9215
9216 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9217
9218         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9219
9220         * RowList.[Ch]: new files
9221
9222         * ParagraphList.C (erase): handle the case where it == begin
9223         correctly.
9224
9225 2003-03-25  John Levon  <levon@movementarian.org>
9226
9227         * Makefile.am:
9228         * aspell_local.h:
9229         * aspell.C: add new aspell support
9230
9231         * lyxrc.h:
9232         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9233         have it accessible.
9234
9235 2003-03-25  Angus Leeming  <leeming@lyx.org>
9236
9237         * lfuns.h:
9238         * LyXAction.C (init): new LFUN_INSET_INSERT.
9239
9240         * BufferView_pimpl.C (dispatch): split out part of the
9241         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9242
9243         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9244         LFUN_INSET_APPLY.
9245
9246 2003-03-25  Angus Leeming  <leeming@lyx.org>
9247
9248         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9249
9250 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9251
9252         * text2.C:
9253         * text3.C: remove useless row->height(0)
9254
9255 2003-03-25  John Levon  <levon@movementarian.org>
9256
9257         * lyxtext.h:
9258         * text2.C:
9259         * text3.C: rename the refreshing stuff to better names
9260
9261 2003-03-24  John Levon  <levon@movementarian.org>
9262
9263         * BufferView_pimpl.h:
9264         * BufferView_pimpl.C: update layout choice on a mouse
9265         press/release
9266
9267 2003-03-23  John Levon  <levon@movementarian.org>
9268
9269         * Makefile.am: fix commandtags.h reference
9270
9271 2003-03-22  John Levon  <levon@movementarian.org>
9272
9273         * BufferView_pimpl.C:
9274         * lyxtext.h:
9275         * rowpainter.C:
9276         * rowpainter.h:
9277         * text.C:
9278         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9279
9280 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9281
9282         * lyxtext.h:
9283         * text.C: take the rtl methods out of line
9284
9285 2003-03-21 André Pönitz <poenitz@gmx.net>
9286
9287         * metricsinfo.[Ch]: new files containing structures to be passed around
9288         during the two-phase-drawing...
9289
9290 2003-03-21 André Pönitz <poenitz@gmx.net>
9291
9292         * lyxtextclass.C: read 'environment' tag.
9293
9294 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9295
9296         * text2.C (removeRow): fix bug 964
9297
9298 2003-03-20  John Levon  <levon@movementarian.org>
9299
9300         * rowpainter.C:
9301         * text.C:
9302         * text2.C: paint cleanups. Inset::update() dropped font
9303         parameter
9304
9305 2003-03-19  John Levon  <levon@movementarian.org>
9306
9307         * lyxfunc.C: only fitcursor/markDirty if available()
9308
9309 2003-03-19  John Levon  <levon@movementarian.org>
9310
9311         * commandtags.h: rename to ...
9312
9313         * lfuns.h: ... this, and renumber / cleanup
9314
9315 2003-03-19  John Levon  <levon@movementarian.org>
9316
9317         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9318         fit the cursor after an lfun
9319
9320         * BufferView.h:
9321         * BufferView.C:
9322         * BufferView_pimpl.h:
9323         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9324
9325         * LyXAction.C: layout-character should have ReadOnly
9326
9327         * ParagraphParameters.C:
9328         * buffer.C:
9329         * bufferview_funcs.C:
9330         * lyx_cb.C:
9331         * lyxfind.C:
9332         * lyxtext.h:
9333         * text.C:
9334         * text2.C:
9335         * text3.C:
9336         * undo_funcs.C: changes from above
9337
9338 2003-03-18  John Levon  <levon@movementarian.org>
9339
9340         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9341         remove it from update()
9342
9343         * lyxfunc.C: update layout choice after an lfun
9344
9345         * text3.C: remove extra updateLayoutChoice()s
9346
9347 2003-03-18  John Levon  <levon@movementarian.org>
9348
9349         * text.C: top_y change means full repaint, fix
9350         a drawing bug with cursor movement
9351
9352 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9353
9354         * lyxtext.h:
9355         * text.C:
9356         * text2.C: anchor row on setCursor
9357
9358 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9359
9360         * lyxtext.h: remove almost all mutable keywords
9361         * text.C:
9362         * text2.C:
9363         * text3.C: remove const keywords accordingly
9364
9365 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9366
9367         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9368         anon namespace
9369         (TeXEnvironment): ditto
9370         (TeXOnePar): ditto
9371
9372 2003-03-17  John Levon  <levon@movementarian.org>
9373
9374         * text.C (rowBreakPoint): remove attempt to fix displayed
9375         math insets inside a manual label
9376
9377 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9378
9379         * lyxtext.h: remove BufferView* as first arg from almost all class
9380         functions.
9381         * other files: adjust.
9382
9383 2003-03-17  John Levon  <levon@movementarian.org>
9384
9385         * lyxtext.h:
9386         * undo_funcs.C:
9387         * text2.C: more paint cleanups
9388
9389         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9390
9391         * rowpainter.h:
9392         * rowpainter.C: remove "smart" background painting code
9393
9394 2003-03-16  John Levon  <levon@movementarian.org>
9395
9396         * lyxtext.h:
9397         * text.C:
9398         * text2.C:
9399         * text3.C: add helper functions for setting refresh_row/y
9400
9401 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9402
9403         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9404         newline inset which *can* get inserted in the pass_thru layouts.
9405         This is primarily for literate documents.
9406
9407 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9408
9409         * buffer.C: increment LYX_FORMAT to 223
9410
9411 2003-03-14 André Pönitz <poenitz@gmx.net>
9412
9413         * textclass.h: prepare for environment handling, ws changes
9414         * lyxlayout.C: read latexheader and latexfooter tags
9415
9416 2003-03-14  John Levon  <levon@movementarian.org>
9417
9418         * text2.C: rewrite ::status() a bit
9419
9420 2003-03-13  John Levon  <levon@movementarian.org>
9421
9422         * lyxtext.h: add some docs
9423
9424 2003-03-13  John Levon  <levon@movementarian.org>
9425
9426         * lyxtext.h:
9427         * text.C:
9428         * text2.C:
9429         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9430
9431 2003-03-13  John Levon  <levon@movementarian.org>
9432
9433         * text3.C: fix appendix redrawing
9434
9435 2003-03-13  John Levon  <levon@movementarian.org>
9436
9437         * text.C (setHeightOfRow):
9438         * rowpainter.h:
9439         * rowpainter.C: make appendix mark have the text
9440           "Appendix" so the user knows what it is
9441
9442         * LColor.h:
9443         * LColor.C: s/appendixline/appendix/ from above
9444
9445 2003-03-13  John Levon  <levon@movementarian.org>
9446
9447         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9448
9449         * text.C: fix a getChar(pos) bug properly
9450
9451 2003-03-13  Angus Leeming  <leeming@lyx.org>
9452
9453         * commandtags.h:
9454         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9455         Probably only temporary. Let's see how things pan out.
9456
9457         * BufferView.C (unlockInset):
9458         * BufferView_pimpl.C (fitCursor):
9459         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9460
9461         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9462         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9463
9464         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9465         new functions that convert ParagraphParameters to and from a string.
9466
9467         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9468         BufferView::Pimpl's dispatch.
9469         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9470
9471 2003-03-13 André Pönitz <poenitz@gmx.net>
9472
9473         * lyxfunc.C:
9474         * text3.C:
9475         * factory.C: make it aware of InsetEnv
9476
9477 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9478
9479         * text2.C (setCursor): never ask for one past last
9480         (setCursor): add some debugging messages.
9481
9482         * text.C (singleWidth): never ask for one past last
9483         (singleWidth): ditto
9484         (leftMargin): ditto
9485         (rightMargin): ditto
9486         (rowBreakPoint): ditto
9487         (setHeightOfRow): ditto
9488         (prepareToPrint): ditto
9489
9490         * rowpainter.C (paintBackground): never ask for one past last
9491         (paintText): never ask for one past last
9492
9493         * paragraph_pimpl.C (getChar): make the assert stricter, never
9494         allow the one past last pos to be taken
9495
9496         * paragraph.C (getChar): ws changes only
9497
9498         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9499         (numberOfSeparators): ditto
9500         (numberOfHfills): ditto
9501
9502 2003-03-12  John Levon  <levon@movementarian.org>
9503
9504         * author.h:
9505         * author.C:
9506         * bufferparams.h:
9507         * bufferparams.C:
9508         * paragraph_funcs.C: fix per-buffer authorlists
9509
9510 2003-03-12  John Levon  <levon@movementarian.org>
9511
9512         * text.C: fix newline in right address
9513
9514 2003-03-12  Angus Leeming  <leeming@lyx.org>
9515
9516         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9517         duplicate those in LyXFunc::dispatch.
9518
9519         * commandtags.h:
9520         * LyXAction.C:
9521         * ToolbarDefaults.C:
9522         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9523         Add LFUN_FONTFREE_UPDATE.
9524
9525         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9526         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9527
9528         * bufferview_func.[Ch]: several new functions to facilliate
9529         transfer of data to and from the character dialog.
9530
9531 2003-03-12  John Levon  <levon@movementarian.org>
9532
9533         * buffer.C:
9534         * paragraph.h:
9535         * paragraph.C:
9536         * paragraph_funcs.C:
9537         * paragraph_pimpl.C:
9538         * sgml.C:
9539         * tabular.C:
9540         * text.C:
9541         * text3.C: remove META_NEWLINE in favour of an inset
9542
9543         * rowpainter.h:
9544         * rowpainter.C: remove paintNewline (done by inset)
9545
9546 2003-03-12  John Levon  <levon@movementarian.org>
9547
9548         * paragraph_pimpl.C: complain about bad getChar()s
9549         for a while at least
9550
9551 2003-03-12  John Levon  <levon@movementarian.org>
9552
9553         * buffer.h:
9554         * buffer.C: move paragraph read into a separate function,
9555         a little renaming to reflect that.
9556
9557         * bufferparams.h:
9558         * bufferparams.C: remove the author_ids map, not necessary now
9559
9560         * factory.h:
9561         * factory.C: moved Buffer::readInset to here
9562
9563         * paragraph_funcs.h:
9564         * paragraph_funcs.C: readParagraph free function moved from
9565         buffer.C
9566
9567         * tabular.C: name change
9568
9569 2003-03-12  John Levon  <levon@movementarian.org>
9570
9571         * buffer.C:
9572         * ParagraphParameters.C: move par params input to
9573         a read() method
9574
9575         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9576         behave like a normal read from the stream wrt reading
9577         a line vs. a \\token
9578
9579 2003-03-12  John Levon  <levon@movementarian.org>
9580
9581         * paragraph.C:
9582         * ParagraphParameters.h:
9583         * ParagraphParameters.C: move output code to a
9584         ::write() method
9585
9586 2003-03-12  John Levon  <levon@movementarian.org>
9587
9588         * BufferView.C (insertLyXFile):
9589         * buffer.h:
9590         * buffer.C:
9591         * tabular.C: use a parlist iterator for creating the
9592           document.
9593
9594 2003-03-12  John Levon  <levon@movementarian.org>
9595
9596         * buffer.C: make current_change static local not
9597           static file-scope
9598
9599 2003-03-12  John Levon  <levon@movementarian.org>
9600
9601         * buffer.C: fix insertStringAsLines for change tracking
9602
9603 2003-03-12  John Levon  <levon@movementarian.org>
9604
9605         * BufferView.C:
9606         * tabular.C:
9607         * buffer.h:
9608         * buffer.C:
9609         * bufferparams.h:
9610         * bufferparams.C: move author list into params. Rename some
9611           functions. Move the header reading into a separate token
9612           loop. Move the header token reading into BufferParams.
9613
9614 2003-03-12  John Levon  <levon@movementarian.org>
9615
9616         * changes.C: put debug inside lyxerr.debugging() checks
9617
9618 2003-03-11 André Pönitz <poenitz@gmx.net>
9619
9620         * factory.C: make it aware of InsetHFill
9621
9622 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9623
9624         * buffer.C (latexParagraphs): move function from here...
9625         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9626         args.
9627
9628 2003-03-10  Angus Leeming  <leeming@lyx.org>
9629
9630         * LyXAction.C (init): fix bug in poplating array with multiple entries
9631         with the same LFUN (spotted by JMarc).
9632
9633 2003-03-10  John Levon  <levon@movementarian.org>
9634
9635         * text.C:
9636         * text2.C: move getColumnNearX() near its
9637         only call site
9638
9639 2003-03-10  John Levon  <levon@movementarian.org>
9640
9641         * text.C: fix break before a minipage
9642
9643 2003-03-10  John Levon  <levon@movementarian.org>
9644
9645         * text.C: fix the last commit
9646
9647 2003-03-09  John Levon  <levon@movementarian.org>
9648
9649         * lyxtext.h:
9650         * text.C:
9651         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9652         bug 365 (don't break before insets unless needed). Don't
9653         return a value > last under any circumstances.
9654
9655 2003-03-09  Angus Leeming  <leeming@lyx.org>
9656
9657         * BufferView_pimpl.C (trackChanges, dispatch): call
9658         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9659
9660 2003-03-09  Angus Leeming  <leeming@lyx.org>
9661
9662         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9663         than Dialogs::showAboutlyx().
9664
9665 2003-03-09  Angus Leeming  <leeming@lyx.org>
9666
9667         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9668         than Dialogs::showTabularCreate().
9669
9670 2003-03-09  John Levon  <levon@movementarian.org>
9671
9672         * lyxtext.h:
9673         * text.C:
9674         * text2.C: 3rd arg to nextBreakPoint was always the same.
9675           Use references.
9676
9677 2003-03-08  John Levon  <levon@movementarian.org>
9678
9679         * lyxrow.C:
9680         * paragraph.C:
9681         * paragraph.h:
9682         * rowpainter.C:
9683         * text.C:
9684         * text2.C: Remove the "main" bit from the "main body"
9685           notion.
9686
9687 2003-03-08  John Levon  <levon@movementarian.org>
9688
9689         * text.C (leftMargin): The left margin of an empty
9690         manual label paragraph should not include the label width
9691         string length.
9692
9693         * text.C (prepareToPrint): don't attempt to measure hfills
9694         for empty manual label paragraphs - the answer should be 0
9695
9696 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9697
9698         * CutAndPaste.C: remove commented code and reindent.
9699
9700 2003-03-08  John Levon  <levon@movementarian.org>
9701
9702         * lyxfunc.h:
9703         * lyxfunc.C: move reloadBuffer()
9704
9705         * BufferView.h:
9706         * BufferView.C: to here
9707
9708         * lyxvc.C: add comment
9709
9710         * vc-backend.h:
9711         * vc-backend.C: call bv->reload() to avoid
9712           getStatus() check on MENURELOAD
9713
9714 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9715
9716         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9717         to an old format .dep file.
9718
9719 2003-03-07  Angus Leeming  <leeming@lyx.org>
9720
9721         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9722         when the LFUN_MOUSE_RELEASE should have been handled by
9723         inset->localDispatch.
9724
9725 2003-03-07  Angus Leeming  <leeming@lyx.org>
9726
9727         * BufferView_pimpl.C (dispatch):
9728         * LyXAction.C (init):
9729         * ToolbarDefaults.C (init):
9730         * commandtags.h:
9731         * lyxfunc.C (getStatus):
9732         remove LFUN_INSET_GRAPHICS.
9733
9734         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9735
9736 2003-03-07  Angus Leeming  <leeming@lyx.org>
9737
9738         * commandtags.h:
9739         * LyXAction.C (init):
9740         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9741
9742         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9743
9744         * commandtags.h:
9745         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9746
9747         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9748         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9749
9750 2003-03-07  Angus Leeming  <leeming@lyx.org>
9751
9752         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9753         remove "ert".
9754
9755 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9756
9757         * ParagraphList.C (front): new function
9758         (back): implement
9759
9760 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9761
9762         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9763         and top_row_offset_. removed var first_y.
9764         * text.C (top_y):
9765         * text2.C (LyXText, removeRow):
9766         * text3.C:
9767         * BufferView_pimpl.C:
9768         use these methods instead of using first_y
9769
9770 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9771
9772         * text2.C (pasteSelection): adjust for checkPastePossible
9773
9774         * CutAndPaste.C: remove Paragraph * buf and replace with
9775         ParagraphList paragraphs.
9776         (DeleteBuffer): delete
9777         (cutSelection): change the tc type to textclass_type
9778         (copySelection): change the tc type to textclass_type
9779         (copySelection): adjust for ParagraphList
9780         (pasteSelection): change the tc type to textclass_type
9781         (pasteSelection): adjust for Paragraphlist
9782         (nrOfParagraphs): simplify for ParagraphList
9783         (checkPastePossible): simplify for ParagraphList
9784         (checkPastePossible): remove unused arg
9785
9786         * ParagraphList.C (insert): handle the case where there are no
9787         paragraphs yet.
9788
9789         * CutAndPaste.h: make CutAndPaste a namespace.
9790
9791         * text3.C (dispatch): adjust
9792
9793         * text.C (breakParagraph): add a ParagraphList as arg
9794
9795         * paragraph_funcs.C (breakParagraph): change to take a
9796         BufferParams and a ParagraphList as args.
9797         (breakParagraphConservative): ditto
9798         (mergeParagraph): ditto
9799         (TeXDeeper): add a ParagraphList arg
9800         (TeXEnvironment): ditto
9801         (TeXOnePar): ditto
9802
9803         * buffer.C (readLyXformat2): adjust
9804         (insertStringAsLines): adjust
9805         (latexParagraphs): adjust
9806
9807         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9808         (cutSelection): adjust
9809         (pasteSelection): adjust
9810
9811         * BufferView_pimpl.C (insertInset): adjust
9812
9813 2003-03-05  Angus Leeming  <leeming@lyx.org>
9814
9815         * commandtags.h:
9816         * LyXAction.C (init):
9817         * BufferView_pimpl.C (dispatch):
9818         * lyxfunc.C (getStatus):
9819         remove LFUN_CHILD_INSERT.
9820
9821         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9822
9823 2003-03-05  Angus Leeming  <leeming@lyx.org>
9824
9825         * commandtags.h:
9826         * LyXAction.C (init):
9827         * src/factory.C (createInset):
9828         * lyxfunc.C (getStatus):
9829         * text3.C (dispatch):
9830         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9831
9832         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9833
9834 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9835
9836         * ParagraphList.C (insert): handle insert right before end()
9837         (erase): fix cases where it can be first or last paragraph.
9838
9839 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9840
9841         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9842         Paragraph::next and Paragraph::previous
9843         (TeXOnePar): ditto
9844
9845         * text.C (breakParagraph): adjust
9846
9847         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9848         BufferParams& as arg.
9849         (breakParagraph): use ParagraphList::insert
9850         (breakParagraphConservative): take a Buffer* instead of a
9851         BufferParams& as arg.
9852         (breakParagraphConservative): use ParagraphList::insert.
9853
9854         * buffer.C (insertStringAsLines): un-const it
9855         (insertStringAsLines): adjust
9856
9857         * ParagraphList.C (insert): new function
9858
9859         * CutAndPaste.C (pasteSelection): adjust
9860
9861         * text.C (backspace): adjust
9862
9863         * tabular.C (SetMultiColumn): adjust
9864
9865         * CutAndPaste.C (cutSelection): adjust
9866         (pasteSelection): adjust
9867
9868         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9869         Buffer const * as arg
9870
9871         * ParagraphList.C (erase): new function
9872         * paragraph_funcs.C (mergeParagraph): use it
9873         (mergeParagraph): make it take a Buffer* instead of a
9874         BufferParams* as arg
9875
9876         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9877         as arg
9878         (breakParagraphConservative): ditto
9879
9880         * paragraph.h: remove the breakParagraph friend
9881
9882         * paragraph.C (eraseIntern): new function
9883         (setChange): new function
9884
9885         * paragraph_funcs.C (mergeParagraph): make it take a
9886         ParagraphList::iterator instead of a Paragraph *, adjust
9887         accordingly.
9888
9889         * paragraph.h: move an #endif so that the change tracking stuff
9890         also works in the NO_NEXT case.
9891
9892 2003-03-04  Angus Leeming  <leeming@lyx.org>
9893
9894         * commandtags.h:
9895         * LyXAction.C: new LFUN_INSET_MODIFY.
9896
9897         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9898         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9899
9900 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9901
9902         * several files: ws changes only
9903
9904         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9905         (TeXEnvironment): ditto
9906         (TeXDeeper): ditto
9907
9908         * buffer.C (makeLaTeXFile): adjust
9909         (latexParagraphs): make it take ParagraphList::iterator as args
9910
9911 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9912
9913         * buffer.C (latexParagraphs): adjust
9914
9915         * paragraph.C (TeXOnePar): move function...
9916         (optArgInset): move function...
9917         (TeXEnvironment): move function...
9918         * paragraph_pimpl.C (TeXDeeper): move function...
9919         * paragraph_funcs.C: ...here
9920
9921         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9922
9923 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9924
9925         * buffer.C (readInset): remove compability code for old Figure and
9926         InsetInfo insets
9927
9928 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9929
9930         * buffer.C: ws changes
9931         (readInset):
9932
9933         * BufferView_pimpl.C: ditto
9934         * author.C: ditto
9935         * buffer.h: ditto
9936         * bufferlist.h: ditto
9937         * changes.h: ditto
9938         * lyxfunc.C: ditto
9939
9940 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9941
9942         * converter.[Ch]: split into itself +
9943         * graph.[Ch]
9944         * format.[Ch]
9945         * Makefile.am: += graph.[Ch] + format.[Ch]
9946         * MenuBackend.C
9947         * buffer.C
9948         * exporter.C
9949         * importer.C
9950         * lyx_main.C
9951         * lyxfunc.C
9952         * lyxrc.C: added #include "format.h"
9953
9954 2003-02-27  Angus Leeming  <leeming@lyx.org>
9955
9956         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9957           a label.
9958
9959         * factory.C (createInset): add "label" to the factory.
9960
9961         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9962           string and do no more.
9963
9964 2003-02-27  Angus Leeming  <leeming@lyx.org>
9965
9966         * commandtags.h:
9967         * LyXAction.C (init):
9968         * factory.C (createInset):
9969         * BufferView_pimpl.C (dispatch):
9970           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9971
9972         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9973
9974         * lyxfunc.C (dispatch):
9975         * text3.C (dispatch): pass name to params2string.
9976
9977 2003-02-26  Angus Leeming  <leeming@lyx.org>
9978
9979         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9980           blocks together.
9981           Rearrange the ~includes. Strip out the unnecessary ones.
9982
9983         * factory.C (createInset): reformat.
9984           create new insets for the various LFUN_XYZ_APPLY lfuns.
9985
9986 2003-02-26  John Levon  <levon@movementarian.org>
9987
9988         * lyxrow.h:
9989         * lyxrow.C: add isParStart,isParEnd helpers
9990
9991         * paragraph.h: make isInserted/DeletedText take refs
9992
9993         * paragraph_funcs.h:
9994         * paragraph_funcs.C: remove #if 0'd code
9995
9996         * lyxtext.h:
9997         * text3.C:
9998         * text2.C:
9999         * text.C: use lyxrow helpers above.
10000           Move draw and paint routines to RowPainter.
10001           Make several methods use refs not pointers.
10002           Make backgroundColor() const.
10003           Add markChangeInDraw(), isInInset().
10004           Merge changeRegionCase into changeCase.
10005           Make workWidth() shouldn't-happen code into an Assert.
10006
10007         * rowpainter.h:
10008         * rowpainter.C: new class for painting a row.
10009
10010         * vspace.h:
10011         * vspace.C: make inPixels take a ref
10012
10013 2003-02-26  Angus Leeming  <leeming@lyx.org>
10014
10015         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10016         LFUN_REF_APPLY.
10017
10018 2003-02-25  John Levon  <levon@movementarian.org>
10019
10020         * ispell.C: give the forked command a more accurate name
10021
10022 2003-02-22  John Levon  <levon@movementarian.org>
10023
10024         * toc.h:
10025         * toc.C: make TocItem store an id not a Paragraph *
10026           (bug #913)
10027
10028 2003-02-21  Angus Leeming  <leeming@lyx.org>
10029
10030         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10031           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10032           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10033           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10034           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10035           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10036
10037         * BufferView_pimpl.C (dispatch):
10038         * LyXAction.C (init):
10039         * factory.C (createInset):
10040         * lyxfunc.C (getStatus, dispatch):
10041         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10042
10043 2003-02-21  Angus Leeming  <leeming@lyx.org>
10044
10045         * BufferView_pimpl.C (MenuInsertLyXFile):
10046         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10047         * lyxfunc.C (menuNew, open, doImport):
10048           no longer pass a LyXView & to fileDlg.
10049
10050 2003-02-21  Angus Leeming  <leeming@lyx.org>
10051
10052         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10053         * LyXAction.C: change, BIBKEY to BIBITEM.
10054         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10055         Change InsetBibKey to InsetBibitem.
10056         Change BIBKEY_CODE to BIBITEM_CODE.
10057         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10058         * factory.C: replace insetbib.h with insetbibitem.h.
10059         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10060         * paragraph.C: replace insetbib.h with insetbibitem.h.
10061         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10062         Change bibkey() to bibitem().
10063         * text.C: remove insetbib.h.
10064         * text2.C: replace insetbib.h with insetbibitem.h.
10065         change bibkey() to bibitem().
10066         * text3.C: remove insetbib.h.
10067         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10068
10069 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10070
10071         * lyxrc.C (output): enclose user email in quotes (in case there are
10072         several words)
10073
10074 2003-02-18  John Levon  <levon@movementarian.org>
10075
10076         * buffer.h: add std::
10077
10078 2003-02-17  John Levon  <levon@movementarian.org>
10079
10080         * SpellBase.h:
10081         * ispell.h:
10082         * ispell.C:
10083         * pspell.h:
10084         * pspell.C: reworking. Especially in ispell, a large
10085           number of clean ups and bug fixes.
10086
10087         * lyxfunc.C: fix revert to behave sensibly
10088
10089 2003-02-17 André Pönitz <poenitz@gmx.net>
10090
10091         * LyXAction.C:
10092         * commandtags.h: new LFUN_INSERT_BIBKEY
10093
10094         * layout.h:
10095         * lyxlayout.C:
10096         * buffer.C:
10097         * factory.C:
10098         * text.C:
10099         * text2.C:
10100         * text3.C:
10101         * paragraph.[Ch]:
10102         * paragraph_func.C: remove special bibkey handling
10103
10104 2003-02-17  John Levon  <levon@movementarian.org>
10105
10106         * text.C (Delete): fix case where delete at the end of
10107           the very first paragraph would not merge the pars
10108
10109 2003-02-17  John Levon  <levon@movementarian.org>
10110
10111         * lyxrow.C: fix lastPrintablePos()
10112
10113 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10114
10115         * bufferparams.C (writeLaTeX): add a std:here
10116
10117         * buffer.C: and remove a using directive there
10118
10119 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10120
10121         * buffer.C (makeLaTeXFile): move the code that generates the
10122           preamble...
10123
10124         * bufferparams.C (writeLaTeX): ... in this new method
10125
10126         * LaTeXFeatures.C (getEncodingSet): make const
10127           (getLanguages): make const
10128
10129         * MenuBackend.C (binding): returns the binding associated to this
10130           action
10131           (add): sets the status of each item by calling getStatus. Adds
10132           some intelligence.
10133           (read): add support for OptSubMenu
10134           (expand): remove extra separator at the end of expanded menu
10135
10136 2003-02-15  John Levon  <levon@movementarian.org>
10137
10138         * BufferView.C:
10139         * BufferView_pimpl.C:
10140         * bufferlist.h:
10141         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10142           inset code that had no actual effect. Remove unneeded status
10143           code.
10144
10145 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10146
10147         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10148           in preamble
10149
10150 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10151
10152         * text.C (drawLengthMarker): also draw an arrow marker for
10153           symbolic lengths (medskip...)
10154
10155 2003-02-14  John Levon  <levon@movementarian.org>
10156
10157         * tabular.h:
10158         * tabular.C: better method names
10159
10160 2003-02-14  John Levon  <levon@movementarian.org>
10161
10162         * BufferView_pimpl.C:
10163         * bufferlist.C:
10164         * buffer.C:
10165         * converter.C:
10166         * lyx_cb.C:
10167         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10168           it's a more accurate name. Remove some pointless uses.
10169
10170 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10171
10172         * text2.C (LyXText): change order of initilizers to shut off
10173           warnings
10174
10175 2003-02-14  John Levon  <levon@movementarian.org>
10176
10177         * buffer.C: use ParIterator for getParFromID()
10178
10179         * paragraph.h:
10180         * paragraph.C:
10181         * paragraph_pimpl.h:
10182         * paragraph_pimpl.C: remove unused getParFromID()
10183
10184 2003-02-14  John Levon  <levon@movementarian.org>
10185
10186         * buffer.C: remove some very old #if 0'd parse code
10187
10188 2003-02-13  John Levon  <levon@movementarian.org>
10189
10190         * text.h:
10191         * text.C:
10192         * text2.C: move hfillExpansion(), numberOfSeparators(),
10193           rowLast(), rowLastPrintable(), numberofHfills(),
10194           numberOfLabelHfills() ...
10195
10196         * lyxrow.h:
10197         * lyxrow.C: ... to member functions here.
10198
10199         * paragraph.h:
10200         * paragraph.C:
10201         * lyxtext.h:
10202         * text.C: remove LyXText::beginningOfMainBody(), and call
10203           p->beginningOfMainBody() directly. Move the check for
10204           LABEL_MANUAL into the latter.
10205
10206         * text.h:
10207         * text.C:
10208         * text2.C:
10209         * vspace.C:
10210         * BufferView.h:
10211         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10212
10213         * text.h:
10214         * text.C:
10215         * text2.C:
10216         * text3.C:
10217         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10218           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10219
10220 2003-02-13  John Levon  <levon@movementarian.org>
10221
10222         * CutAndPaste.C: remove debug
10223
10224 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10225
10226         * paragraph.C (asString): remove two unused variables
10227
10228         * lyxtextclass.C (readTitleType):
10229           (Read):
10230           (LyXTextClass): handle new members titletype_ and titlename_
10231
10232         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10233
10234 2003-02-09  John Levon  <levon@movementarian.org>
10235
10236         * buffer.h:
10237         * buffer.C: replace hand-coded list with a map for the dep clean
10238
10239 2003-02-08  John Levon  <levon@movementarian.org>
10240
10241         * LaTeX.C: consolidate code into showRunMessage() helper
10242
10243 2003-02-08  John Levon  <levon@movementarian.org>
10244
10245         * lyxfind.C:
10246         * lyxtext.h:
10247         * text2.C:
10248         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10249           and pass the size in explicitly
10250
10251         * BufferView_pimpl.h:
10252         * BufferView_pimpl.C:
10253         * BufferView.h:
10254         * BufferView.C: add getCurrentChange()
10255
10256         * BufferView_pimpl.h:
10257         * BufferView_pimpl.C: handle change lfuns
10258
10259         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10260           for changes. Mark pasted paragraphs as new.
10261
10262         * support/lyxtime.h:
10263         * support/lyxtime.C:
10264         * DepTable.C: abstract time_t as lyx::time_type
10265
10266         * LColor.h:
10267         * LColor.C: add colours for new text, deleted text, changebars
10268
10269         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10270           package use "usenames" option.
10271
10272         * commandtags.h:
10273         * lyxfunc.C:
10274         * LyXAction.C: add change lfuns
10275
10276         * Makefile.am:
10277         * author.h:
10278         * author.C: author handling
10279
10280         * buffer.h:
10281         * buffer.C: add a per-buffer author list, with first entry as
10282           current author. Handle new .lyx tokens for change tracking. Output
10283           author list to .lyx file. Output dvipost stuff to .tex preamble.
10284           Bump lyx format to 222.
10285
10286         * bufferlist.h:
10287         * bufferlist.C: add setCurrentAuthor() to reset current author details
10288           in all buffers.
10289
10290         * bufferparams.h:
10291         * bufferparams.C: add param for tracking
10292
10293         * bufferview_funcs.C: output change info in minibuffer
10294
10295         * Makefile.am:
10296         * changes.h:
10297         * changes.C: add change-tracking structure
10298
10299         * debug.h:
10300         * debug.C: add CHANGES debug flag
10301
10302         * lyxfind.h:
10303         * lyxfind.C: add code for finding the next change piece
10304
10305         * lyxrc.h:
10306         * lyxrc.C: add user_name and user_email
10307
10308         * lyxrow.h:
10309         * lyxrow.C: add a metric for the top of the text line
10310
10311         * lyxtext.h:
10312         * text.C: implement accept/rejectChange()
10313
10314         * lyxtext.h:
10315         * text.C: paint changebars. Paint new/deleted text in the chosen
10316         colours. Strike through deleted text.
10317
10318         * paragraph.h:
10319         * paragraph.C:
10320         * paragraph_pimpl.h:
10321         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10322           in the current change to the insert functions. Rework erase to
10323           mark text as deleted, adding an eraseIntern() and a range-based
10324           erase(). Implement per-paragraph change lookup and
10325           accept/reject.
10326
10327         * paragraph_funcs.C: Fixup paste for change tracking.
10328
10329         * tabular.C: mark added row/columns as new.
10330
10331         * text.C: fix rowLast() to never return -1. Don't allow
10332           spellchecking of deleted text. Track transpose changes. Don't
10333           allow paragraph break or merge where appropriate.
10334
10335         * text2.C: leave cursor at end of selection after a cut.
10336
10337 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10338
10339         * text.C (getLengthMarkerHeight):
10340         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10341         visible on screen too.
10342
10343 2003-02-07  John Levon  <levon@movementarian.org>
10344
10345         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10346
10347 2003-02-05  Angus Leeming  <leeming@lyx.org>
10348
10349         * lyxserver.C (read_ready): revert my patch of 11 September last year
10350         as it sends PC cpu through the roof. Presumably this means that
10351         the lyxserver will no longer run on an Alpha...
10352
10353 2003-01-30  Angus Leeming  <leeming@lyx.org>
10354
10355         * factory.C (createInset): create an InsetCommandParam of type "index"
10356         and use it to 'do the right thing'.
10357
10358         * text2.C (getStringToIndex): ensure that cursor position is always
10359         reset to the reset_cursor position.
10360
10361 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10362
10363         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10364         disabled.
10365
10366 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10367
10368         * bufferview.C:
10369         * lyxcb.C:
10370         * lyxfunc.C: Output messages with identical spelling, punctuation,
10371         and spaces
10372
10373 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10374
10375         * MenuBackend.C (expandFormats): List only viewable export formats
10376         in "View" menu
10377
10378         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10379         message
10380
10381         * lyxfunc.C (getStatus): Make sure that formats other than
10382         "fax" can also be disabled
10383
10384 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10385
10386         * text3.C (dispatch): put the lfuns that insert insets in 3
10387         groups, and call doInsertInset with appropriate arguments.
10388         (doInsertInset): new function, that creates an inset and inserts
10389         it according to some boolean parameters.
10390
10391 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10392
10393         * buffer.C (readFile): remember to pass on 'par' when calling
10394         readFile recursively.
10395
10396 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10397
10398         * MenuBackend.C (expandFormats): add "..." to import formats.
10399
10400 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10401
10402         * paragraph.C (asString): Remove XForms RTL hacks.
10403
10404 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10405         * buffer.C: fix typo
10406
10407 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10408
10409         * Makefile.am (LIBS): delete var
10410         (lyx_LDADD): add @LIBS@ here instead.
10411
10412 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10413
10414         * Clarify the meaning of "wheel mouse jump"
10415
10416 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10417
10418         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10419         tabular in a float
10420
10421 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10422
10423         * importer.C (Loaders): do not preallocate 3 elements in the
10424         vector, since one ends up with 6 elements otherwise
10425
10426 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10427
10428         * DepTable.C (write): write the file name as last element of the
10429         .dep file (because it may contain spaces)
10430         (read): read info in the right order
10431
10432 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10433
10434         * paragraph_pimpl.C (simpleTeXBlanks):
10435         (simpleTeXSpecialChars):
10436         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10437
10438         * tabular.C (latex): add some missing case statements. Reindent.
10439
10440         * MenuBackend.C (expandToc): remove unused variable.
10441
10442 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10443
10444         * LColor.C:
10445         * LaTeX.C:
10446         * LyXAction.C:
10447         * MenuBackend.C:
10448         * buffer.C:
10449         * exporter.C:
10450         * lyxfunc.C:
10451         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10452         and the like.
10453
10454 2003-01-05  John Levon  <levon@movementarian.org>
10455
10456         * BufferView.h:
10457         * BufferView.C: add getEncoding()
10458
10459         * kbsequence.h:
10460         * kbsequence.C: do not store last keypress
10461
10462         * lyxfunc.h:
10463         * lyxfunc.C: store last keypress here instead. Pass encoding
10464           to getISOEncoded()
10465
10466 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10467
10468         * lyx_main.C (init): remove annoying error message when following
10469         symbolic links (bug #780)
10470
10471 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10472
10473         * text.C (insertChar):
10474         * lyxrc.C (getDescription): remove extra spaces
10475
10476 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10477
10478         * lyxrc.C (getDescription): remove extra spaces
10479
10480 2002-12-20  John Levon  <levon@movementarian.org>
10481
10482         * text3.C: hack fix for page up/down across tall rows
10483
10484 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10487         not been invoked
10488
10489 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10490
10491         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10492         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10493         thesaurus is not compiled in
10494
10495 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10496
10497         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10498
10499 2002-12-16  Angus Leeming  <leeming@lyx.org>
10500
10501         * lyxrc.[Ch]:
10502         * lyx_main.C (init): remove override_x_deadkeys stuff.
10503
10504 2002-12-12  John Levon  <levon@movementarian.org>
10505
10506         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10507           insert. Only remove shift modifier under strict
10508           circumstances.
10509
10510 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10511
10512         * MenuBackend.C (expandToc): fix crash.
10513
10514 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10515
10516         * MenuBackend.C (expandToc): gettext on float names.
10517
10518 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10519
10520         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10521         implement bool empty() [bug 490]
10522
10523 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10524
10525         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10526
10527 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10528
10529         * several files: ws changes
10530
10531 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10532
10533         * text2.C (setCounter): clean up a bit, use boost.format.
10534         (updateCounters): initialize par upon declaration.
10535
10536         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10537         if the layout exists. We do not just store the layout any more.
10538         (SwitchLayoutsBetweenClasses): use boost.format
10539
10540 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10541
10542         * converter.C (convert): if from and to files are the same, use a
10543         temporary files as intermediary
10544
10545 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10546
10547         * commandtags.h:
10548         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10549
10550 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10551
10552         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10553
10554 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10555
10556         * tabular.C (asciiPrintCell): use string(size, char) instead of
10557         explicit loop.
10558
10559         * sgml.C (openTag): fix order of arguments to string constructor
10560         (closeTag): ditto
10561
10562         * lyxfunc.C (dispatch): use boost.format
10563
10564         * lots of files: change "c" -> 'c'
10565
10566 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10567
10568         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10569
10570 2002-11-25  Angus Leeming  <leeming@lyx.org>
10571
10572         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10573
10574         * lyx_main.C (init): compile fix.
10575
10576 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10577
10578         * lyx_cb.C (start): boost.formatify
10579         do not include <iostream>
10580
10581         * lengthcommon.C: ws only
10582
10583         * boost-inst.C,BoostFormat.h: add more explict instantations
10584
10585 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10586
10587         * lots of files: handle USE_BOOST_FORMAT
10588
10589 2002-11-21  John Levon  <levon@movementarian.org>
10590
10591         * pspell.C: fix compile
10592
10593 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10594
10595         * lyxfunc.C (dispatch): use boost::format
10596         (open): ditto
10597         (doImport): ditto
10598
10599         * lyxfont.C (stateText): use boost::format
10600
10601         * lyx_main.C (LyX): use boost::format
10602         (init): ditto
10603         (queryUserLyXDir): ditto
10604         (readRcFile): ditto
10605         (parse_dbg): ditto
10606         (typedef boost::function): use the recommened syntax.
10607
10608         * importer.C (Import): use boost::format
10609
10610         * debug.C (showLevel): use boost::format
10611
10612         * converter.C (view): use boost::format
10613         (convert): ditto
10614         (move): ditto
10615         (scanLog): ditto
10616
10617         * bufferview_funcs.C (currentState): use boost::format
10618
10619         * bufferlist.C (emergencyWrite): use boost::format
10620
10621         * buffer.C (readLyXformat2): use boost::format
10622         (parseSingleLyXformat2Token): ditto
10623
10624         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10625
10626         * LaTeX.C (run): use boost::format
10627
10628         * Chktex.C (scanLogFile): use boost::format
10629
10630         * BufferView_pimpl.C (savePosition): use boost::format
10631         (restorePosition): ditto
10632         (MenuInsertLyXFile): ditto
10633
10634         * BoostFormat.h: help file for explicit instation.
10635
10636 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10637
10638         * tabular.C (latex): Support for block alignment in fixed width
10639         columns.
10640
10641 2002-11-17  John Levon  <levon@movementarian.org>
10642
10643         * BufferView_pimpl.C:
10644         * lyx_cb.C:
10645         * lyxfunc.C: split filedialog into open/save
10646
10647 2002-11-08  Juergen Vigna  <jug@sad.it>
10648
10649         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10650         by my last patch (hopefully).
10651
10652 2002-11-08  John Levon  <levon@movementarian.org>
10653
10654         * iterators.h:
10655         * iterators.C:
10656         * buffer.h:
10657         * buffer.C:
10658         * paragraph.h:
10659         * paragraph.C:
10660         * toc.h:
10661         * toc.C: ParConstIterator, and use it (from Lars)
10662
10663 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10664
10665         * lyxtextclass.[Ch]: revise and add doxygen comments
10666
10667 2002-11-07  John Levon  <levon@movementarian.org>
10668
10669         * text.C: fix progress value for spellchecker
10670
10671         * toc.C: fix navigate menu for insetwrap inside minipage
10672
10673         * paragraph_funcs.C: added FIXME for suspect code
10674
10675 2002-11-07  John Levon  <levon@movementarian.org>
10676
10677         * BufferView_pimpl.C: fix redrawing of insets
10678           on buffer switch
10679
10680 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10681
10682         * text2.C (updateCounters): fix bug 668
10683
10684 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10685
10686         * text3.C (dispatch): Do not make the buffer dirty when moving the
10687         cursor.
10688
10689 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10690
10691         * vc-backend.C: STRCONV
10692         (scanMaster): ditto
10693
10694         * text2.C (setCounter): STRCONV
10695
10696         * paragraph.C (asString): STRCONV
10697
10698         * lyxlength.C (asString): STRCONV
10699         (asLatexString): ditto
10700
10701         * lyxgluelength.C (asString): STRCONV
10702         (asLatexString): ditto
10703
10704         * lyxfunc.C (dispatch): STRCONV
10705         (open): ditto
10706
10707         * lyxfont.C (stateText): STRCONV
10708
10709         * importer.C (Import): STRCONV
10710
10711         * counters.C (labelItem): STRCONV
10712         (numberLabel): ditto
10713         (numberLabel): remove unused ostringstream o
10714
10715         * chset.C: STRCONV
10716         (loadFile): ditto
10717
10718         * bufferview_funcs.C (currentState): STRCONV
10719
10720         * buffer.C (readFile): STRCONV
10721         (asciiParagraph): ditto
10722         (makeLaTeXFile): ditto
10723
10724         * Spacing.C (writeEnvirBegin): STRCONV
10725
10726         * LaTeXFeatures.C (getLanguages): STRCONV
10727         (getPackages): ditto
10728         (getMacros): ditto
10729         (getBabelOptions): ditto
10730         (getTClassPreamble): ditto
10731         (getLyXSGMLEntities): ditto
10732         (getIncludedFiles): ditto
10733
10734         * LaTeX.C: STRCONV
10735         (run): ditto
10736         (scanAuxFile): ditto
10737         (deplog): ditto
10738
10739         * LString.h: add the STRCONV macros
10740
10741         * BufferView_pimpl.C (savePosition): STRCONV
10742         (restorePosition): ditto
10743         (MenuInsertLyXFile): ditto
10744
10745         * vc-backend.C (scanMaster): change from submatch[...] to
10746         submatch.str(...)
10747
10748         * funcrequest.C: include config.h
10749
10750         * factory.C: include config.h
10751
10752         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10753
10754         * box.C: include config.h
10755
10756         * LaTeX.C (scanAuxFile): change from submatch[...] to
10757         submatch.str(...)
10758         (deplog): ditto
10759
10760 2002-10-25  Angus Leeming  <leeming@lyx.org>
10761
10762         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10763
10764         * ispell.[Ch] (setError): new method.
10765         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10766         Use setError() insetead of goto END.
10767
10768         * lyx_cb.C (AutoSave): move out child process into new class
10769         AutoSaveBuffer.
10770
10771 2002-10-30  John Levon  <levon@movementarian.org>
10772
10773         * text3.C: make start appendix undoable
10774
10775 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10776
10777         * lyxlength.C (inPixels): Fix returned value.
10778
10779         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10780         environment.
10781
10782 2002-10-24  Angus Leeming  <leeming@lyx.org>
10783
10784         * lyxgluelength.h: no need to forward declare BufferParams
10785         or BufferView, so don't.
10786
10787 2002-10-21  John Levon  <levon@movementarian.org>
10788
10789         * BufferView.C: menuUndo ->undo, redo
10790
10791         * BufferView.h: document, remove dead, make some methods private
10792
10793         * paragraph_funcs.h:
10794         * paragraph_funcs.C:
10795         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10796
10797         * buffer.h:
10798         * buffer.C:
10799         * sgml.h:
10800         * sgml.C: move sgml open/close tag into sgml.C
10801
10802         * bufferview_funcs.h: unused prototype
10803
10804         * lyxfunc.h:
10805         * lyxfunc.C: remove unused
10806
10807         * lyxtext.h:
10808         * text.C: remove unused
10809
10810 2002-10-21  John Levon  <levon@movementarian.org>
10811
10812         * BufferView.h:
10813         * BufferView.C:
10814         * BufferView_pimpl.h:
10815         * BufferView_pimpl.C: fix mouse wheel handling based on
10816           patch from Darren Freeman
10817
10818 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10819
10820         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10821
10822 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10823
10824         * lyxlength.C (inPixels): Fix hanfling of negative length.
10825         Fix LyXLength::MU case.
10826
10827 2002-10-16  John Levon  <levon@movementarian.org>
10828
10829         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10830
10831 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10832
10833         * converter.C (view): add support for $$i (file name) and $$p
10834         (file path) for the viewer command. If $$i is not specified, then
10835         it is appended to the command (for compatibility with old syntax)
10836
10837 2002-10-14  Juergen Vigna  <jug@sad.it>
10838
10839         * undo_funcs.C (textHandleUndo): alter the order in which the
10840         new undopar is added to the LyXText, as we have to set first
10841         the right prev/next and then add it as otherwise the rebuild of
10842         LyXText is not correct. Also reset the cursor to the right paragraph,
10843         with this IMO we could remove the hack in "redoParagraphs()".
10844
10845 2002-10-09  Angus Leeming  <leeming@lyx.org>
10846
10847         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10848         to turn off an optimisation if a new inset is to be inserted.
10849
10850 2002-10-11 André Pönitz <poenitz@gmx.net>
10851
10852         * lyxtext.h: make some functions public to allow access
10853         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10854
10855 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10856
10857         * text3.C (dispatch): when changing layout, avoid an infinite loop
10858         [bug #652]
10859
10860 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10861
10862         * lyxrc.C (read): treat a viewer or converter command of "none" as
10863         if it were empty.
10864
10865         * MenuBackend.C (expandFormats): for an update, also allow the
10866         formats that are not viewable
10867
10868         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10869         script if it is newer than the lyxrc.defaults in user directory
10870
10871 2002-10-07 André Pönitz <poenitz@gmx.net>
10872
10873         * text.C: Vitaly Lipatov's small i18n fix
10874
10875 2002-09-25  Angus Leeming  <leeming@lyx.org>
10876
10877         * ispell.h: doxygen fix.
10878
10879 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10880
10881         * buffer.h (readFile): Add a new argument to the method, to allow
10882         reading of old-format templates.
10883
10884 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10885
10886         * toc.C (getTocList): Get TOC from InsetWrap.
10887
10888 2002-09-16  John Levon  <levon@movementarian.org>
10889
10890         * lyxfunc.C: check tabular for cut/copy too
10891
10892 2002-09-12  John Levon  <levon@movementarian.org>
10893
10894         * LyXAction.C: tidy
10895
10896         * factory.h:
10897         * factory.C: add header
10898
10899         * paragraph_funcs.h:
10900         * paragraph_funcs.C: cleanup
10901
10902 2002-09-11  John Levon  <levon@movementarian.org>
10903
10904         * PrinterParams.h: odd/even default to true
10905
10906 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10907
10908         * PrinterParams.h: update printer parameters for new xforms dialog
10909
10910 2002-09-11  Angus Leeming  <leeming@lyx.org>
10911
10912         * lyxserver.C (read_ready): re-write to make it more transparent
10913         and to make it work in coherent fashion under Tru64 Unix.
10914
10915 2002-09-11  André Pönitz <poenitz@gmx.net>
10916
10917         * commandtags.h:
10918         * LyXAction.C:
10919         * text3.C: implement LFUN_WORDSEL
10920
10921 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10922
10923         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10924         make floatlist_ a boost::shared_ptr<FloatList>
10925
10926         * lyxtextclass.C: include FloatList.h
10927         (LyXTextClass): initialize floatlist_
10928         (TextClassTags): add TC_NOFLOAT
10929         (Read): match "nofloat" to TC_NOFLOAT and use it.
10930         (readFloat): modify call to floatlist_
10931         (floats): ditto
10932         (floats): ditto
10933
10934         * FloatList.[Ch] (FloatList): remove commented out float
10935         initialization.
10936         (erase): new function
10937
10938 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10939
10940         * MenuBackend.C (expandToc): fix crash when there is no document
10941         open
10942
10943 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10944
10945         * many files: Add insetwrap.
10946
10947 2002-09-09  John Levon  <levon@movementarian.org>
10948
10949         * text2.C: remove confusing and awkward depth wraparound
10950
10951 2002-09-09  John Levon  <levon@movementarian.org>
10952
10953         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10954
10955         * buffer.h:
10956         * buffer.C: remove getIncludeonlyList()
10957
10958         * paragraph.C:
10959         * lyxfunc.C: remove headers
10960
10961 2002-09-09  Juergen Vigna  <jug@sad.it>
10962
10963         * text.C (getColumnNearX): fix form Michael this is most
10964         probably a cut&paste bug.
10965
10966 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10967
10968         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10969
10970         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10971         references, ws changes.
10972
10973         * text2.C (init): update counters after init
10974         (insertParagraph): no need to set counter on idividual paragraphs.
10975         (setCounter): access the counters object in the textclass object
10976         on in the buffer object.
10977         (updateCounters): ditto
10978
10979         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10980         shared_ptr<Counters> to avoid loading counters.h in all
10981         compilation units.
10982         (LyXTextClass): initialize ctrs_
10983         (TextClassTags): add TC_COUNTER, and ...
10984         (Read): use it here.
10985         (CounterTags): new tags
10986         (readCounter): new function
10987         (counters): new funtion
10988         (defaultLayoutName): return a const reference
10989
10990         * counters.C (Counters): remove contructor
10991         (newCounter): remove a couple of unneeded statements.
10992         (newCounter): simplify a bit.
10993         (numberLabel): some small formatting changes.
10994
10995         * buffer.[Ch]: remove all traces of counters, move the Counters
10996         object to the LyXTextClass.
10997
10998 2002-09-06  Alain Castera  <castera@in2p3.fr>
10999
11000         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11001         package to set the horizontal alignment on fixed width columns.
11002
11003         * lyx_sty.C:
11004         * lyx_sty.h: added tabularnewline macro def.
11005
11006         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11007
11008 2002-09-06  John Levon  <levon@movementarian.org>
11009
11010         * LyXAction.C: tooltips for sub/superscript
11011
11012         * MenuBackend.C: a bit more verbose
11013
11014         * lyxfunc.C: tiny clean
11015
11016         * undo_funcs.C: document undo_frozen
11017
11018 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11019
11020         * counters.C (Counters): add missing algorithm counter.
11021
11022         * text2.C (setCounter): lookup the counter with layouts latexname
11023         instead of by section number.
11024         (setCounter): use a hackish way to lookup the correct enum
11025         counter.
11026         a float name->type change
11027         reset enum couners with counter name directly instead of depth value.
11028
11029         * counters.C (Counters): remove the push_backs, change to use the
11030         float type not the float name.
11031         (labelItem): remove unused string, float name->type change
11032
11033         * counters.h: don't include vector, loose the enums and sects vectors
11034
11035 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11036
11037         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11038         (Read): add float->TC_FLOAT to textclassTags
11039         (Read): and handle it in the switch
11040         (readFloat): new function
11041
11042         * FloatList.C (FloatList): comment out the hardcoded float
11043         definitions.
11044
11045         * lyxlayout.h: ws change.
11046
11047 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11048
11049         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11050
11051 2002-09-03  Angus Leeming  <leeming@lyx.org>
11052
11053         * BufferView_pimpl.h: qualified name is not allowed in member
11054         declaration: WorkArea & Pimpl::workarea() const;
11055
11056         * factory.C: added using std::endl directive.
11057
11058         * text3.C: added using std::find and std::vector directives.
11059
11060 2002-08-29  André Pönitz <poenitz@gmx.net>
11061
11062         * lyxtext.h:
11063         * text2.C: remove unused member number_of_rows
11064
11065         * Makefile.am:
11066         * BufferView2.C: remove file, move contents to...
11067         * BufferView.C: ... here
11068
11069         * BufferView_pimpl.C:
11070         * factory.C: move more inset creation to factory
11071
11072         * vspace.C: avoid direct usage of LyXText, ws changes
11073
11074         * BufferView.[Ch]:
11075                 don't provide direct access to WorkArea, use two simple
11076                 acessors haveSelction() and workHeight() instead
11077
11078
11079 2002-08-29  John Levon  <levon@movementarian.org>
11080
11081         * BufferView_pimpl.C (dispatch): do not continue when
11082           no buffer
11083
11084 2002-08-28  André Pönitz <poenitz@gmx.net>
11085
11086         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11087
11088         * BufferView.h:
11089         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11090
11091 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11092
11093         * buffer.C: increment LYX_FORMAT to 221
11094
11095         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11096         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11097
11098         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11099
11100         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11101
11102 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11103
11104         * factory.C (createInset): use LyXTextClass::floats
11105
11106         * MenuBackend.C (expandFloatListInsert):
11107         (expandFloatInsert):
11108         (expandToc):
11109
11110         * text2.C (setCounter):
11111
11112         * LaTeXFeatures.C (useFloat):
11113         (getFloatDefinitions):
11114
11115         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11116
11117         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11118         floatlist_, with accessor floats().
11119
11120         * FloatList.h: remove global FloatList
11121
11122 2002-08-26  André Pönitz <poenitz@gmx.net>
11123
11124         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11125
11126         * BufferView.h:
11127         * BufferView2.C:
11128         * BufferView_pimpl.C:
11129         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11130
11131 2002-08-25  John Levon  <levon@movementarian.org>
11132
11133         * LyXAction.C: fix margin note description
11134
11135 2002-08-24  John Levon  <levon@movementarian.org>
11136
11137         * buffer.C:
11138         * bufferlist.C:
11139         * bufferview_funcs.C:
11140         * lyxfont.C:
11141         * undo_funcs.C: cleanups
11142
11143         * lyxfunc.C: disable CUT/COPY when no selection
11144
11145 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11146
11147         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11148         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11149
11150         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11151         Add backward compatibility to "mono", "gray" and "no".
11152
11153 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11154
11155         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11156         (and file_format >= 200).
11157
11158 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11161
11162 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11163
11164         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11165
11166 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11167
11168         * BufferView_pimpl.C:
11169         * LyXAction.C:
11170         * buffer.C:
11171         * commandtags.h:
11172         * lyxfunc.C:
11173         * paragraph.[Ch]:
11174         * text2.C:
11175         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11176         inset and code to make it  work with the paragraph code. The inset
11177         can be anywhere in the paragraph, but will only do the expected
11178         thing in LaTeX if the layout file contains the parameter line
11179                         OptionalArgs    1
11180         (or more generally, a nonzero value) for that layout.
11181
11182 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11183
11184         * paragraph.h: remove the declaration of undefined counters class
11185         function.
11186
11187 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11188
11189         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11190         Dr. Richard Hawkins.
11191
11192 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * paragraph_funcs.h: remove some unneeded includes
11195
11196         * text.C (backspace): pasteParagraph now in global scipe
11197
11198         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11199         (pasteSelection): ditto
11200
11201         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11202         * paragraph_funcs.C (pasteParagraph): ... here
11203
11204 2002-08-20  André Pönitz <poenitz@gmx.net>
11205
11206         * commandtags.h: new LFUNs for swapping/copying table row/colums
11207
11208         * LyXAction.C:
11209         * lyxfunc.C: support for new lfuns
11210
11211 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11212
11213         * tabular.C:
11214         * buffer.[Ch]: remove NO_COMPABILITY stuff
11215
11216 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11217
11218         * boost.C (throw_exception): new file, with helper function for
11219         boost compiled without exceptions.
11220
11221         * paragraph.h:
11222         * lyxlength.C:
11223         * buffer.C:
11224         * ParameterStruct.h:
11225         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11226
11227         * bufferlist.C (emergencyWriteAll): use boost bind
11228
11229         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11230
11231         * text.C: include paragraph_funcs.h
11232         (breakParagraph): breakParagraph is now in global scope
11233
11234         * paragraph_funcs.[Ch]: new files
11235
11236         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11237         global scope
11238
11239         * buffer.C: include paragraph_funcs.h
11240         (insertStringAsLines): breakParagraph is now in global scope
11241
11242         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11243         paragraph_funcs.C
11244
11245         * CutAndPaste.C: include paragraph_funcs.h
11246         (cutSelection): breakParagraphConservative is now in global scope
11247         (pasteSelection): ditto
11248
11249         * buffer.h: declare oprator== and operator!= for
11250         Buffer::inset_iterator
11251
11252         * bufferlist.C (emergencyWrite): don't use fmt(...)
11253
11254         * text3.C: add using std::endl
11255
11256         * BufferView.C (moveCursorUpdate): remove default arg
11257
11258 2002-08-20  André Pönitz <poenitz@gmx.net>
11259
11260         * buffer.[Ch]: move inline functions to .C
11261
11262         * BufferView2.C:
11263         * BufferView_pimpl.C:
11264         * text.C:
11265         * buffer.[Ch]: use improved inset_iterator
11266
11267         * buffer.C:
11268         * paragraph.[Ch]: write one paragraph at a time
11269
11270 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11271
11272         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11273         style if style is not specified.
11274
11275 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11276
11277         * text2.C (setCounter): when searching for right label for a
11278         caption, make sure to recurse to parent insets (so that a caption
11279         in a minipage in a figure float works) (bug #568)
11280
11281 2002-08-20  André Pönitz <poenitz@gmx.net>
11282
11283         * text3.C: new file for LyXText::dispatch() and helpers
11284
11285         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11286
11287         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11288
11289 2002-08-19  André Pönitz <poenitz@gmx.net>
11290
11291         * lyxtext.h:
11292         * text.C: new LyXText::dispatch()
11293
11294         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11295
11296 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11297
11298         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11299
11300         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11301         Hebrew text.
11302
11303 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * Makefile.am: use $(variables) instead of @substitutions@
11306
11307 2002-08-15  André Pönitz <poenitz@gmx.net>
11308
11309         * lyxfunc.C:
11310         * BufferView_pimpl.C: streamlining mathed <-> outer world
11311         interaction
11312
11313         * commandtags.h:
11314         * LyXAction.C: remove unused LFUN_MATH
11315
11316 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11317
11318         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11319
11320 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11321
11322         * paragraph.C (Paragraph): reformat a bit
11323         (cutIntoMinibuffer): use builtin InsetList function instad of
11324         doing it manually.
11325         (getInset): ditto
11326
11327         * buffer.C: include boost/bind.hpp, add using std::for_each
11328         (writeFileAscii): use ParagraphList iterators
11329         (validate): use for_each for validate traversal of paragraphs
11330         (getBibkeyList): use ParagraphList iterators
11331         (resizeInsets): use for_each to resizeInsetsLyXText for all
11332         paragraphs.
11333         (getParFromID): use ParagraphList iterators
11334
11335         * BufferView2.C (lockInset): use paragraph list and iterators
11336
11337 2002-08-14  John Levon  <levon@movementarian.org>
11338
11339         * lyxserver.C: remove spurious xforms include
11340
11341 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11342
11343         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11344
11345 2002-08-13  André Pönitz <poenitz@gmx.net>
11346
11347         * LyXAction.[Ch]:
11348         * lyxfunc.C: further cleaning
11349
11350 2002-08-13  André Pönitz <poenitz@gmx.net>
11351
11352         * funcrequest.h: new constructor
11353
11354         * funcrequest.C: move stuff here from .h
11355
11356         * Makefile.am:
11357         * BufferView_pimpl.C:
11358         * LyXAction.C:
11359         * toc.C:
11360         * lyxfunc.C: subsequent changes
11361
11362         * lyxfunc.h: new view() member function
11363
11364         * lyxfunc.C: subsequent changes
11365
11366 2002-08-13  Angus Leeming  <leeming@lyx.org>
11367
11368         * BufferView2.C:
11369         * BufferView_pimpl.C:
11370         * buffer.C:
11371         * converter.C:
11372         * importer.C:
11373         * lyxfunc.C:
11374         * lyxvc.C:
11375         * toc.C:
11376         * vc-backend.C:
11377         changes due to the changed LyXView interface that now returns references
11378         to member variables not pointers.
11379
11380 2002-08-13  Angus Leeming  <leeming@lyx.org>
11381
11382         * WordLangTuple (word, lang_code): return references to strings,
11383         not strings.
11384
11385         * BufferView.h:
11386         * SpellBase.h:
11387         * lyxtext.h: forward-declare WordLangTuple.
11388
11389         * BufferView2.C:
11390         * ispell.C:
11391         * pspell.C:
11392         * text.C: #include "WordLangTuple.h".
11393
11394         * lyxtext.h:
11395         * text.C: (selectNextWordToSpellcheck): constify return type.
11396
11397 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11398
11399         * buffer.C:
11400         * buffer.h:
11401         * lyxtext.h:
11402         * paragraph.C:
11403         * paragraph_pimpl.h:
11404         * text.C:
11405         * text2.C:
11406         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11407         suggested by Angus.
11408         Made updateCounter always count from start of buffer, and removed
11409         second argument (par).
11410         Reverted floats number display to '#'. Perhaps I'll try again when the
11411         code base is sanitized a bit.
11412
11413 2002-08-12  Angus Leeming  <leeming@lyx.org>
11414
11415         * buffer.[Ch] (getLabelList): constify.
11416
11417 2002-08-07  André Pönitz <poenitz@gmx.net>
11418
11419         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11420
11421         * funcrequest.h: extension to keep mouse (x,y) position
11422
11423 2002-08-12  Juergen Vigna  <jug@sad.it>
11424
11425         * BufferView2.C (insertErrors): forbid undo when inserting error
11426         insets.
11427
11428         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11429
11430 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11431
11432         * ParagraphList.[Ch]: new files
11433
11434         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11435
11436         * BufferView2.C (lockInset): ParagraphList changes
11437         * toc.C: ditto
11438         * text2.C: ditto
11439         * bufferlist.C: ditto
11440         * buffer.h: ditto
11441         * buffer.C: ditto
11442
11443 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11444
11445         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11446         unused class variable counter_,
11447
11448         * paragraph.[Ch] (getFirstCounter): delete unused function
11449
11450         * counters.C: include LAssert.h
11451         (reset): add a new function with no arg, change other version to
11452         not have def. arg and to not allow empty arg.
11453
11454         * text2.C (setCounter): remove empty arg from call to Counters::reset
11455
11456 2002-08-11  John Levon  <levon@movementarian.org>
11457
11458         * Makefile.am: add WordLangTuple.h
11459
11460 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11461
11462         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11463         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11464
11465         * insets/insettext.C: InsetList changes
11466
11467         * graphics/GraphicsSupport.C (operator()): InsetList changes
11468
11469         * toc.C (getTocList): InsetList changes
11470
11471         * paragraph_pimpl.[Ch]: InsetList changes
11472
11473         * paragraph.[Ch]: InsetList changes
11474
11475         * buffer.C (inset_iterator): InsetList changes
11476         (setParagraph): ditto
11477         * buffer.h (inset_iterator): ditto
11478         * iterators.C (operator++): ditto
11479         * iterators.h: ditto
11480
11481         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11482
11483         * InsetList.[Ch]: new files, most InsetList handling moved out of
11484         paragraph.C.
11485
11486         * BufferView2.C (removeAutoInsets): InsetList changes
11487         (lockInset): ditto
11488         (ChangeInsets): ditto
11489
11490 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11491
11492         * paragraph_pimpl.h (empty): new function
11493
11494         * paragraph.[Ch] (empty): new function
11495
11496         * other files: use the new Paragraph::empty function
11497
11498 2002-08-09  John Levon  <levon@movementarian.org>
11499
11500         * lyxtext.h: remove unused refresh_height
11501
11502 2002-08-09  John Levon  <levon@movementarian.org>
11503
11504         * Makefile.am:
11505         * sgml.h:
11506         * sgml.C:
11507         * buffer.C:
11508         * paragraph.h:
11509         * paragraph.C: move sgml char escaping out of paragraph
11510
11511         * paragraph.h:
11512         * paragraph.C: remove id setter
11513
11514         * buffer.C:
11515         * paragraph.C:
11516         * paragraph_pimpl.C: remove dead tex_code_break_column
11517
11518         * bufferview_funcs.C: small cleanup
11519
11520         * lyxfunc.C: remove dead proto
11521
11522         * lyxtext.h: make some stuff private. Remove some dead stuff.
11523
11524         * lyxgluelength.C: make as[LyX]String() readable
11525
11526 2002-08-08  John Levon  <levon@movementarian.org>
11527
11528         * LyXAction.h:
11529         * LyXAction.C:
11530         * MenuBackend.C:
11531         * ToolbarDefaults.C:
11532         * lyxfunc.C:
11533         * lyxrc.C:
11534         * toc.C: lyxaction cleanup
11535
11536 2002-08-08  John Levon  <levon@movementarian.org>
11537
11538         * BufferView2.C: small cleanup
11539
11540         * lyxfind.h:
11541         * lyxfind.C: move unnecessary header into the .C
11542
11543 2002-08-08  John Levon  <levon@movementarian.org>
11544
11545         * funcrequest.h: just tedious nonsense
11546
11547         * lyx_main.h:
11548         * lyx_main.C: cleanups
11549
11550         * buffer.C:
11551         * vspace.C: remove dead header lyx_main.h
11552
11553 2002-08-07  Angus Leeming  <leeming@lyx.org>
11554
11555         * Paragraph.[Ch]:
11556         * paragraph_pimpl.h:
11557         Forward declare class Counters in paragraph.h by moving the ctrs member
11558         variable into Paragraph::Pimpl.
11559         (counters): new method, returning a reference to pimpl_->ctrs.
11560
11561         * text2.C: ensuing changes.
11562
11563 2002-08-07  John Levon  <levon@movementarian.org>
11564
11565         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11566
11567         * BufferView_pimpl.C: announce X selection on double/triple
11568           click
11569
11570         * lyx_main.C: use correct bool in batch dispatch
11571
11572         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11573
11574 2002-08-07  André Pönitz <poenitz@gmx.net>
11575
11576         * funcrequest.h: new class to wrap a kb_action and its argument
11577
11578         * BufferView.[Ch]:
11579         * BufferView_pimpl[Ch]:
11580         * LaTeX.C:
11581         * LyXAction.[Ch]:
11582         * lyxfunc.[Ch]:
11583         * lyxrc.C: subsequent changes
11584
11585
11586 2002-08-07  John Levon  <levon@movementarian.org>
11587
11588         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11589           document options change.
11590
11591 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11592
11593         * counters.[Ch]
11594         * text2.C
11595         * paragraph.[Ch]
11596         * makefile.am: move counters functionality over from
11597         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11598
11599 2002-08-06  John Levon  <levon@movementarian.org>
11600
11601         * WordLangTuple.h: new file for word + language code tuple
11602
11603         * SpellBase.h:
11604         * pspell.h:
11605         * pspell.C:
11606         * ispell.h:
11607         * ispell.C:
11608         * lyxtext.h:
11609         * text.C:
11610         * text2.C:
11611         * BufferView.h:
11612         * BufferView2.C: use WordLangTuple
11613
11614         * layout.h:
11615         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11616
11617 2002-08-06  John Levon  <levon@movementarian.org>
11618
11619         * lyx_main.C: fix cmdline batch handling
11620
11621 2002-08-06  André Pönitz <poenitz@gmx.net>
11622
11623         * lyxrc.C: set default for show_banner to true
11624
11625 2002-08-06  John Levon  <levon@movementarian.org>
11626
11627         * pspell.C: fix a crash, and allow new aspell to work
11628
11629 2002-08-06  John Levon  <levon@movementarian.org>
11630
11631         * lyxfunc.C:
11632         * kbmap.C: small cleanup
11633
11634         * vspace.h:
11635         * vspace.C: add const
11636
11637 2002-08-05  John Levon  <levon@movementarian.org>
11638
11639         * LyXAction.C: back to tabular-insert
11640
11641 2002-08-04  John Levon  <levon@movementarian.org>
11642
11643         * BufferView.h:
11644         * BufferView.C: cosmetic change
11645
11646         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11647
11648         * bufferlist.C:
11649         * buffer.h:
11650         * buffer.C:
11651         * lyxcb.h:
11652         * lyxcb.C:
11653         * lyxserver.C:
11654         * lyxvc.C:
11655         * vc-backend.C:
11656         * BufferView2.C: purge all "Lyx" not "LyX" strings
11657
11658         * lyxcursor.h:
11659         * lyxcursor.C: attempt to add some documentation
11660
11661         * lyxfunc.C:
11662         * commandtags.h:
11663         * LyXAction.C:
11664         * ToolbarDefaults.C:
11665         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11666           merge with LFUN_TABULAR_INSERT
11667
11668         * Makefile.am:
11669         * SpellBase.h:
11670         * ispell.h:
11671         * ispell.C:
11672         * pspell.h:
11673         * pspell.C: split up i/pspell implementations into separate
11674           files, many cleanups
11675
11676         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11677
11678         * text2.C: some cleanup
11679
11680         * lyxfunc.C: don't check for isp_command == "none" any more, it
11681           didn't make any sense
11682
11683 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11684
11685         * counters.[Ch]
11686         * text2.C
11687         * paragraph.[Ch]
11688         * makefile.am: move counters functionality over
11689         from text2.C/paragraph.[Ch] to counters.[Ch], and
11690         make proper C++.
11691 2002-08-02  John Levon  <levon@movementarian.org>
11692
11693         * buffer.C: s/lyxconvert/lyx2lyx/
11694
11695 2002-08-02  Angus Leeming  <leeming@lyx.org>
11696
11697         * lyxlex.C: revert John's change as it breaks reading of the user
11698         preamble.
11699
11700 2002-08-02  Angus Leeming  <leeming@lyx.org>
11701
11702         * importer.C (Import):
11703         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11704         changes due to LyXView::view() now returning a boost::shared_ptr.
11705
11706 2002-08-02  John Levon  <levon@movementarian.org>
11707
11708         * lyxlex.C: small cleanup
11709
11710 2002-08-02  John Levon  <levon@movementarian.org>
11711
11712         * text2.C (status): small cleanup, no logic change
11713
11714 2002-08-01  John Levon  <levon@movementarian.org>
11715
11716         * buffer.h:
11717         * buffer.C (writeFile): don't output alerts, caller
11718           handles this
11719
11720         * bufferlist.C:
11721         * lyx_cb.C: from above
11722
11723         * lyxfunc.C: allow to open non-existent files
11724
11725 2002-07-31  John Levon  <levon@movementarian.org>
11726
11727         * lyxserver.C: don't let incidental errors get
11728           in the way (errno)
11729
11730 2002-07-30  John Levon  <levon@movementarian.org>
11731
11732         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11733
11734 2002-07-30  John Levon  <levon@movementarian.org>
11735
11736         * lyxserver.h:
11737         * lyxserver.C: remove I/O callback too
11738
11739 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11740
11741         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11742         log.
11743
11744 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11745
11746         * many files: strip,frontStrip -> trim,ltrim,rtrim
11747
11748 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11749
11750         * PrinterParams.h: remove extern containsOnly, and include
11751         support/lstrings.h instead.
11752
11753         * LaTeX.C (scanAuxFile): modify because of strip changes
11754         (deplog): ditto
11755         * buffer.C (makeLaTeXFile): ditto
11756         * bufferparams.C (writeFile): ditt
11757         * lyxfont.C (stateText): ditto
11758         * lyxserver.C (read_ready): ditto
11759         * vc-backend.C (scanMaster): ditto
11760
11761         * BufferView_pimpl.h: ws changes
11762
11763         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11764
11765 2002-07-26  André Pönitz <poenitz@gmx.net>
11766
11767         * kb_sequence.C: remove unnedred usings
11768
11769 2002-07-26  Juergen Vigna  <jug@sad.it>
11770
11771         * lyxfind.C (LyXReplace): we have to check better if the returned
11772         text is not of theLockingInset()->getLockingInset().
11773
11774 2002-07-25  Juergen Vigna  <jug@sad.it>
11775
11776         * lyxfind.C (LyXReplace): don't replace if we don't get the
11777         right LyXText.
11778
11779         * undo_funcs.C (createUndo): remove debugging code.
11780
11781 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11782
11783         * buffer.C (parseSingleLyXformat2Token): Use default placement
11784         when reading old floats.
11785
11786         * FloatList.C (FloatList): Change the default placement of figure
11787         and tables to "tbp".
11788
11789 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * MenuBackend.C: using std::max
11792
11793 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11794
11795         * MenuBackend.C (expandToc):
11796         (expandToc2): code moved from xforms menu frontend. It is now
11797         generic and TOCs are transparent to menu frontends.
11798
11799 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * toc.C (getTocList): protect against buf=0
11802
11803         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11804         Menu as first parameter. Now, this calls itself recursively to
11805         expand a whole tree (this will be useful for TOC handling)
11806         (expandFloatInsert): remove 'wide' version of floats
11807
11808         * MenuBackend.h (submenuname): returns the name of the submenu.
11809         (submenu): returns the submenu itself, provided it has been
11810         created by MenuBackend::expand
11811
11812 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11813
11814         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11815         insets which have noFontChange == true. (bug #172)
11816
11817 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11818
11819         * BufferView_pimpl.C: add connection objects and use them...
11820         (Pimpl): here.
11821
11822 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11823
11824         * MenuBackend.C (expandLastfiles):
11825         (expandDocuments):
11826         (expandFormats):
11827         (expandFloatListInsert):
11828         (expandFloatInsert):
11829         (expand): split expand in parts
11830
11831 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11832
11833         * lyx_gui.C: use lyx_gui::exit()
11834
11835 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11836
11837         * LyXAction.C: show the failing pseudo action
11838
11839 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11840
11841         * buffer.C (readFile): Run the lyxconvert script in order to read
11842         old files.
11843
11844 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11845
11846         * LyXAction.C:
11847         * commandtags.h:
11848         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11849
11850 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * LyXAction.C:
11853         * commandtags.h:
11854         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11855
11856 2002-07-22  Herbert Voss  <voss@lyx.org>
11857
11858         * lengthcommon.C:
11859         * lyxlength.[Ch]: add support for the vertical lengths
11860
11861 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * toc.[Ch]: std:: fixes
11864
11865 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11866
11867         * lyxrc.C: do not include lyx_main.h
11868
11869         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11870         for layouts
11871
11872         * lyxrc.C:
11873         * encoding.C:
11874         * bufferlist.C:
11875         * BufferView2.C: include "lyxlex.h"
11876
11877         * tabular.h:
11878         * bufferparams.h: do not #include "lyxlex.h"
11879
11880         * lyxtextclasslist.C (Add): remove method
11881         (classlist): renamed to classlist_
11882
11883         * paragraph_pimpl.C:
11884         * paragraph.C:
11885         * text2.C:
11886         * CutAndPaste.C:
11887         * bufferview_funcs.C:
11888         * bufferlist.C:
11889         * text.C:
11890         * LaTeXFeatures.C:
11891         * buffer.C:
11892         * toc.C (getTocList): use BufferParams::getLyXTextClass
11893
11894         * toc.C (getTocList): use InsetFloat::addToToc
11895
11896         * toc.[Ch]: new files, containing helper functions to handle table
11897         of contents
11898
11899         * lyxfunc.C (dispatch): no need to remove spaces around command
11900         given as a string
11901         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11902         first command of the sequence; it is not very clever, but I do not
11903         have a better idea, actually
11904
11905         * LyXAction.C (LookupFunc): make sure to remove space at the
11906         beginning and end of the command
11907
11908 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11909
11910         * MenuBackend.C (getMenubar): new method: return the menubar of
11911         this menu set
11912         (read): treat differently reading of menu and menubar (in
11913         particular, the menubar has no name now)
11914         (Menu::menubar): remove
11915
11916         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11917         saving is finished
11918
11919 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11920
11921         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11922         a bibitem inset in a RTL paragraph.
11923
11924 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11925
11926         * paragraph_pimpl.C: constify
11927
11928         * BufferView_pimpl.C:
11929         * LaTeX.C:
11930         * lyxfunc.C: fix dispatch in a nicer way
11931
11932 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11933
11934         * lyxfunc.C (dispatch):
11935         * BufferView_pimpl.C:
11936         * BufferView_pimpl.h:
11937         * BufferView.C:
11938         * BufferView.h: rename Dispatch() to dispatch()
11939
11940         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11941
11942         * lyxlayout.C (Read): honor DependsOn tag
11943
11944         * lyxlayout.[Ch] (depends_on): new method
11945
11946         * version.C.in: update lyx_docversion
11947
11948         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11949
11950         * paragraph.C (validate): remove from here...
11951         * paragraph_pimpl.C (validate): ... and move here
11952         (isTextAt): make it const
11953
11954         * buffer.C (getLists): ws cleanup
11955
11956 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11957
11958         * language.C (read): Use iso8859-1 encoding in latex_lang
11959         (this prevents LyX from crashing when using iso10646-1 encoding).
11960
11961 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11962
11963         * text2.C (toggleInset): if cursor is inside an inset, close the
11964         inset and leave cursor _after_ it
11965
11966 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * lyxfunc.C: move minibuffer completion handling out of here
11969
11970 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * BufferView_pimpl.C:
11973         * LaTeX.C: fix dispatch calls
11974
11975 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11976
11977         * text.C (drawChars): Fix Arabic text rendering.
11978
11979 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * LyXAction.C:
11982         * commandtags.h:
11983         * lyxfunc.C: remove message-push/pop
11984
11985         * lyxserver.C:
11986         * lyxfunc.h:
11987         * lyxfunc.C: rationalise some code by removing verboseDispatch
11988           in favour of a bool argument to dispatch()
11989
11990 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11991
11992         * lyx_main.C (init): make sure to read symlinks as absolute paths
11993
11994 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11995
11996         * lyxfunc.h:
11997         * lyxfunc.C: no need for commandshortcut to be a member
11998
11999 2002-07-15  André Pönitz <poenitz@gmx.net>
12000
12001         * converter.C: add support for $$s (scripts from lib/scripts dir)
12002         * lyx_main.C: white space
12003
12004 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12005
12006         * bufferlist.C:
12007         * lyxrc.h:
12008         * lyxrc.C: remove second exit confirmation
12009
12010 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12011
12012         * BufferView.h:
12013         * BufferView.C:
12014         * BufferView2.C:
12015         * BufferView_pimpl.h:
12016         * BufferView_pimpl.C:
12017         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12018
12019 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12020
12021         * MenuBackend.C (expand): add numeric shortcuts to document menu
12022
12023         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12024
12025 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12026
12027         * lyxfont.C (setLyXFamily):
12028         (setLyXSeries):
12029         (setLyXShape):
12030         (setLyXSize):
12031         (setLyXMisc):
12032         (lyxRead):
12033         * debug.C (value):
12034         * buffer.C (asciiParagraph): use ascii_lowercase
12035
12036 2002-07-15  Mike Fabian  <mfabian@suse.de>
12037
12038         * lyxlex_pimpl.C (search_kw):
12039         * lyxlex.C (getLongString):
12040         * converter.h (operator<):
12041         * converter.C (operator<):
12042         * buffer.C (parseSingleLyXformat2Token):
12043         (asciiParagraph):
12044         * ToolbarDefaults.C (read):
12045         * MenuBackend.C (checkShortcuts):
12046         (read):
12047         * LColor.C (getFromGUIName):
12048         (getFromLyXName): use the compare_ascii_no_case instead of
12049         compare_no_case, because in turkish, 'i' is not the lowercase
12050         version of 'I', and thus turkish locale breaks parsing of tags.
12051
12052 2002-07-16  Angus Leeming  <leeming@lyx.org>
12053
12054         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12055         now takes a Buffer const & argument.
12056
12057 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12058
12059         * BufferView.C (resize): check there's a buffer to resize
12060
12061 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * lyxfunc.C: remove dead code
12064
12065         * lyxserver.h:
12066         * lyxserver.C: use lyx_guii::set_read_callback
12067
12068 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12069
12070         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12071         an inset in a RTL paragraph.
12072
12073 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12074
12075         * lyxfunc.C: repaint after a font size update
12076
12077 2002-07-15  André Pönitz <poenitz@gmx.net>
12078
12079         * lyxlength.C: inBP should be able to return negative values
12080
12081 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12082
12083         * lyxfunc.C: use lyx_gui::update_fonts()
12084
12085 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * lyxfunc.C: use lyx_gui::update_color()
12088
12089 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * bufferlist.C:
12092         * lyxfunc.h:
12093         * lyxfunc.C:
12094         * lyxrc.h:
12095         * lyxrc.C: remove file->new asks for name option, and let
12096           buffer-new take an argument
12097
12098 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * BufferView_pimpl.C: remove unneeded extra repaint()
12101
12102 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * LyXAction.C: allow command-sequence with NoBuffer
12105
12106         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12107
12108 2002-07-10  Angus Leeming  <leeming@lyx.org>
12109
12110         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12111
12112 2002-07-09  Angus Leeming  <leeming@lyx.org>
12113
12114         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12115
12116 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12117
12118         * lengthcommon.h: whitespace
12119
12120         * lyxfunc.C: update scrollbar after goto paragraph
12121
12122         * lyxtext.h: factor out page break drawing, and fix it so
12123           page break/added space paints as selected nicely
12124
12125 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * BufferView_pimpl.C: add FIXMEs, clean up a little
12128
12129 2002-07-09  André Pönitz <poenitz@gmx.net>
12130
12131         * lyxfont.[Ch]: support for wasy symbols
12132
12133 2002-07-08  André Pönitz <poenitz@gmx.net>
12134
12135         * BufferView_pimpl.C: apply John's patch for #93.
12136
12137 2002-07-05  Angus Leeming  <leeming@lyx.org>
12138
12139         * BufferView_pimpl.C (buffer): generate previews if desired.
12140
12141         * LColor.h: add "preview" to the color enum.
12142
12143         * LColor.C (LColor): add a corresponding entry to the items array.
12144
12145         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12146         with this buffer.
12147
12148 2002-07-05  Angus Leeming  <leeming@lyx.org>
12149
12150         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12151         The body of the code is now in the method that is passed an ostream &
12152         rather than a file name.
12153         Pass an additional only_preamble parameter, useful for the forthcoming
12154         preview stuff.
12155
12156 2002-07-03  André Pönitz <poenitz@gmx.net>
12157
12158         * lyxfunc.C: simplify getStatus() a bit for math stuff
12159
12160 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12163
12164 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12165
12166         * text.C (changeRegionCase): do not change case of all the
12167         document when region ends at paragraph end (bug #461)
12168
12169 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12170
12171         * paragraph.C (startTeXParParams):
12172         (endTeXParParams): add \protect when necessary
12173
12174 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12175
12176         * BufferView_pimpl.C (workAreaExpose): remove warning
12177
12178 2002-06-27  Angus Leeming  <leeming@lyx.org>
12179
12180         * Makefile.am: add lyxlayout_ptr_fwd.h.
12181
12182 2002-06-26  André Pönitz <poenitz@gmx.net>
12183
12184         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12185
12186 2002-06-25  Angus Leeming  <leeming@lyx.org>
12187
12188         * lyxfunc.C (dispatch): Comment out the call to
12189         grfx::GCache::changeDisplay. The method no longer exists now that the
12190         pixmap generation part of the graphics loader has been moved into
12191         InsetGraphics.
12192
12193 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12194
12195         * text2.C: layout as layout
12196
12197         * text.C: layout as layout
12198
12199         * tabular.C (OldFormatRead): layout as layout
12200
12201         * paragraph_pimpl.C (TeXDeeper): layout as layout
12202         (realizeFont): layout as layout
12203
12204         * paragraph.C (writeFile): layout as layout
12205         (validate): layout as layout
12206         (getFont): layout as layout
12207         (getLabelFont): layout as layout
12208         (getLayoutFont): layout as layout
12209         (breakParagraph): layout as layout
12210         (stripLeadingSpaces): layout as layout
12211         (getEndLabel): layout as layout
12212         (getMaxDepthAfter): layout as layout
12213         (applyLayout): layout as layout
12214         (TeXOnePar): layout as layout
12215         (simpleTeXOnePar): layout as layout
12216         (TeXEnvironment): layout as layout
12217         (layout): layout as layout
12218         (layout): layout as layout
12219
12220         * lyxtextclass.C (compare_name): new functor to work with
12221         shared_ptr, layout as layout
12222         (Read): layout as layout
12223         (hasLayout): layout as layout
12224         (operator): layout as layout
12225         (delete_layout): layout as layout
12226         (defaultLayout): layout as layout
12227
12228         * lyxlayout_ptr_fwd.h: new file
12229
12230         * lyxlayout.C (Read): layout as layout
12231
12232         * lyx_cb.C (MenuInsertLabel): layout as layout
12233
12234         * bufferlist.C (newFile): layout as layout
12235
12236         * buffer.C (readLyXformat2): layout as layout
12237         (parseSingleLyXformat2Token): layout as layout
12238         (insertStringAsLines): layout as layout
12239         (asciiParagraph): layout as layout
12240         (latexParagraphs): layout as layout
12241         (makeLinuxDocFile): layout as layout
12242         (simpleLinuxDocOnePar): layout as layout
12243         (makeDocBookFile): layout as layout
12244         (simpleDocBookOnePar): layout as layout
12245         (getLists): layout as layout
12246
12247         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12248
12249         * CutAndPaste.C (cutSelection): layout as layout
12250         (pasteSelection): layout as layout
12251         (SwitchLayoutsBetweenClasses): layout as layout
12252
12253         * BufferView_pimpl.C (Dispatch): layout as layout
12254         (smartQuote): layout as layout
12255
12256         * BufferView2.C (unlockInset): layout as layout
12257
12258 2002-06-24  André Pönitz <poenitz@gmx.net>
12259
12260         * lyxfunc.C: fix #487
12261
12262 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * lyxrc.h:
12265         * lyxrc.C:
12266         * lyxfunc.C: remove display_shortcuts, show_banner
12267
12268 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * Buffer_pimpl.C: oops, update on resize
12271
12272 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * buffer.C:
12275         * converter.C:
12276         * exporter.C:
12277         * lyxfunc.C:
12278         * BufferView.h:
12279         * BufferView.C: use repaint()
12280
12281         * BufferView_pimpl.h:
12282         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12283           as it's a clearer description. Remove superfluous
12284           redraws.
12285
12286 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12287
12288         * text.C: fix bug 488. Not ideal, but getting
12289           getWord() to work properly for the insets that
12290           matter is more difficult ...
12291
12292 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * BufferView_pimpl.C:
12295         * LyXAction.C:
12296         * commandtags.h:
12297         * lyxfunc.C: remove the six million index lyxfuncs to just
12298           one, and DTRT (bug 458)
12299
12300 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12301
12302         * BufferView.h:
12303         * BufferView.C:
12304         * BufferView_pimpl.h:
12305         * BufferView_pimpl.C: clean up resize() stuff,
12306           and unnecessary updateScreen()s
12307
12308 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * BufferView.h:
12311         * BufferView.C:
12312         * BufferView_pimpl.h:
12313         * BufferView_pimpl.C:
12314         * lyxfind.h:
12315         * lyxfind.C:
12316         * minibuffer.C: remove focus management of workarea,
12317           not needed. Use screen's greyOut()
12318
12319 2002-06-17  Herbert Voss  <voss@lyx.org>
12320
12321         * converter.C: (convert) do not post a message, when converting
12322         fails, let the calling function decide what to do in this case
12323
12324 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * lyxfunc.C: tidy up a little
12327
12328 2002-06-16    <alstrup@diku.dk>
12329
12330         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12331         Got rid of FORMS_H_LOCATION include. Now we are
12332         GUII.
12333
12334 2002-06-15  LyX Development team  <lyx@rilke>
12335
12336         * buffer.[Ch] (sgmlOpenTag):
12337         (sgmlCloseTag): Added support for avoiding pernicious mixed
12338         content. Return number of lines written.
12339
12340         (makeLinuxDocFile):
12341         (makeDocBookFile): Fixed calls to sgml*Tag.
12342         Simple white space clean.
12343
12344         (simpleDocBookOnePar): Simple white space clean.
12345
12346         * tabular.[Ch] (docBook): Renamed to docbook and got another
12347         argument to related with the pernicious mixed content.
12348
12349         (docbookRow): Fixed calls for docbook inset method.
12350
12351 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12352
12353         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12354         so it's X11 independent.
12355
12356         * kb*.[Ch]: ditto.
12357
12358         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12359
12360 2002-06-15  Lyx Development team  <lyx@electronia>
12361
12362         * intl.h: Renamed getTrans to getTransManager.
12363
12364 2002-06-14  Angus Leeming  <leeming@lyx.org>
12365
12366         * Makefile.am: nuke forgotten stl_string_fwd.h.
12367
12368 2002-06-12  Angus Leeming  <leeming@lyx.org>
12369
12370         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12371
12372 2002-06-13  Angus Leeming  <leeming@lyx.org>
12373
12374         * LaTeX.C:
12375         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12376
12377 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12378
12379         * kbmap.C (getiso): add support for cyrillic and greek
12380
12381 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12382
12383         * BufferView.h:
12384         * BufferView.C:
12385         * BufferView_pimpl.h:
12386         * BufferView_pimpl.C: move bogus scrolling logic
12387           to xforms
12388
12389 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * lyxfunc.C:
12392         * BufferView_pimpl.C: view->resize() change
12393
12394 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * BufferView_pimpl.C: topCursorVisible
12397           prototype change
12398
12399 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * Makefile.am:
12402         * lyx_gui.h:
12403         * lyx_gui.C: move to frontends/
12404
12405         * main.C:
12406         * lyx_main.h:
12407         * lyx_main.C: changes from above
12408
12409 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * intl.C:
12412         * intl.h:
12413         * kbmap.C:
12414         * kbsequence.C:
12415         * lyx_cb.C:
12416         * lyx_main.C: minor tidy
12417
12418 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12419
12420         * BufferView_pimpl.h:
12421         * BufferView_pimpl.C:
12422         * BufferView.h:
12423         * BufferView.C: make painter() const,
12424           remove dead code
12425
12426         * BufferView2.C: use screen() accessor
12427
12428         * lyx_main.h:
12429         * lyx_main.C: some minor cleanup
12430
12431 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12432
12433         * BufferView_pimpl.h:
12434         * BufferView_pimpl.C: remove enter/leaveView,
12435           use workHeight()
12436
12437 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * BufferView.h:
12440         * BufferView.C:
12441         * BufferView2.C:
12442         * BufferView_pimpl.h:
12443         * BufferView_pimpl.C: only construct screen once,
12444           rename
12445
12446         * lyxrc.C: remove pointless comment
12447
12448 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * BufferView.h:
12451         * BufferView.C: remove active() and belowMouse()
12452
12453         * BufferView_pimpl.h:
12454         * BufferView_pimpl.C: use workarea() not workarea_,
12455           and make it use a scoped_ptr instead
12456
12457 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * lyx_gui.C: add debug message on BadWindow
12460
12461 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12462
12463         * sp_spell.C: fdopen is not part of the C++ standard.
12464
12465         * paragraph.C (InsetIterator): use >= instead of ==
12466
12467 2002-06-07  Angus Leeming  <leeming@lyx.org>
12468
12469         Fixes needed to compile with Compaq cxx 6.5.
12470         * BufferView_pimpl.C:
12471         * DepTable.C:
12472         * buffer.C:
12473         * converter.C:
12474         * encoding.C:
12475         * lyx_gui.C:
12476         * lyx_main.C:
12477         * lyxtextclasslist.C:
12478         * minibuffer.C:
12479         * sp_spell.C:
12480         * tabular_funcs.C:
12481         * vc-backend.C:
12482         all c-library variables have been moved into namespace std. Wrap
12483         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12484
12485         * lyxlength.C:
12486         * tabular-old.C:
12487         * tabular.C:
12488         Add a using std::abs declaration.
12489
12490         * kbmap.h (modifier_pair):
12491         * paragraph.h (InsetTable, InsetList):
12492         * lyxfont.h (FontBits):
12493         type definition made public.
12494
12495         * bufferlist.C (emergencyWriteAll): the compiler complains that
12496         there is more than one possible lyx::class_fun template to choose from.
12497         I re-named the void specialisation as lyx::void_class_fun.
12498
12499         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12500
12501         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12502         the compiler is is unable to find tostr in write_attribute.
12503
12504 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12505
12506         * buffer.C (sgmlError): hide #warning
12507
12508 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12509
12510         * xtl/*: get rid of xtl, which is not in use anyway
12511
12512         * LyXAction.C (init):
12513         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12514         were unimplemented xtl experimentation
12515
12516 2002-06-04  André Pönitz <poenitz@gmx.net>
12517
12518         * lyxfunc.C: disable array operation on simple formulae
12519
12520 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * converter.C: constify a bit
12523
12524 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * lyx_gui.C: check xforms version correctly
12527
12528 2002-04-30  Herbert Voss  <voss@lyx.org>
12529
12530         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12531         "keep" option
12532
12533 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12534
12535         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12536           attempt to register it with a VCS)
12537
12538 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12539
12540         * lyx_main.C (init): honor variables LYX_DIR_13x and
12541         LYX_USERDIR_13x
12542
12543 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * buffer.h:
12546         * buffer.C:
12547         * lyx_main.C: fix a crash on bad command line,
12548           and give a useful exit status on error
12549
12550         * lyxfunc.C (doImport): allow -i lyx to work
12551
12552 2002-03-30  André Pönitz <poenitz@gmx.net>
12553
12554         * lyxfunc.C: mathed font changes
12555
12556 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * LaTeX.C:
12559         * importer.h:
12560         * importer.C:
12561         * lyx_sty.h:
12562         * lyx_sty.C:
12563         * lyxlex.C:
12564         * lyxrow.h:
12565         * lyxtext.h:
12566         * paragraph.h:
12567         * paragraph.C:
12568         * texrow.h:
12569         * texrow.C:
12570         * text.C:
12571         * trans_mgr.h: srcdocs, and some minor cleanups
12572
12573 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12574
12575         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12576         call getFont all the time)
12577
12578 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12579
12580         * switch from SigC signals to boost::signals
12581
12582 2002-05-29  André Pönitz <poenitz@gmx.net>
12583
12584         * paragraph_pimpl.C (getChar): don't call size() too often...
12585
12586 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12587
12588         * paragraph_pimpl.C (insertChar): do not try to update tables when
12589         appending (pos == size())
12590
12591         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12592         in order to reduce drastically the number of comparisons needed to
12593         parse a large document
12594
12595 2002-05-29  André Pönitz <poenitz@gmx.net>
12596
12597         * text.C:
12598         * text2.C:
12599         * lyxtextclass.C:
12600         * sp_pspell.h:
12601         * textclasslist.[Ch]:
12602         * sp_ispell.h: whitespace change
12603
12604 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12605
12606         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12607         lyxaction directly now.
12608
12609 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * trans.C:
12612         * lyxfont.C:
12613         * lyxvc.C: remove unused headers
12614
12615 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * Makefile.am:
12618         * buffer.h:
12619         * undostack.h:
12620         * undostack.C:
12621         * undo_funcs.h:
12622         * undo_funcs.C: some cleanups. Use shared_ptr
12623           and a template for the undo stacks.
12624
12625 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * BufferView_pimpl.h:
12628         * BufferView_pimpl.C:
12629         * kbmap.h:
12630         * kbmap.C:
12631         * kbsequence.h:
12632         * kbsequence.C:
12633         * lyxfunc.h:
12634         * lyxfunc.C:
12635         * text2.C: use key_state/mouse_state
12636
12637 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12638
12639         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12640         and LSubstring
12641
12642         * chset.C: change include order
12643         (loadFile): use boost regex and get rid of LRegex and LSubstring
12644
12645         * Makefile.am (BOOST_LIBS): new variable
12646         (lyx_LDADD): use it
12647
12648         * LaTeX.C: change include order.
12649         (scanAuxFile): use boost regex and get rid of LRegex and
12650         LSubstring
12651         (deplog): ditto
12652
12653 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12654
12655         * ColorHandler.h:
12656         * ColorHandler.C:
12657         * FontInfo.h:
12658         * FontInfo.C: moved to frontends/xforms/
12659
12660         * FontLoader.h:
12661         * FontLoader.C: moved into frontends for GUIIzation
12662
12663         * Makefile.am:
12664         * lyx_gui.C:
12665         * lyxfont.C:
12666         * lyxfunc.C: changes from above
12667
12668 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12669
12670         * LColor.C: remove spurious X include
12671
12672         * BufferView_pimpl.C:
12673         * Makefile.am:
12674         * font.h:
12675         * font.C:
12676         * text.C:
12677         * text2.C: move font metrics to frontends/
12678
12679 2002-05-24  Juergen Vigna  <jug@sad.it>
12680
12681         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12682         setting the undo_cursor.
12683
12684         * ParagraphParameters.h: include local includes first.
12685
12686 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12687
12688         * BufferView_pimpl.C:
12689         * BufferView_pimpl.h:
12690         * Makefile.am:
12691         * WorkArea.h:
12692         * WorkArea.C:
12693         * screen.C: move WorkArea into frontends/
12694
12695         * lyxscreen.h:
12696         * screen.C:
12697         * text.C:
12698         * BufferView.C:
12699         * BufferView2.C: move LyXScreen into frontends/
12700
12701         * lyxlookup.h:
12702         * lyxlookup.C:
12703         * lyx_gui.C: move lyxlookup into frontends/xforms/
12704
12705 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * BufferView2.C:
12708         * BufferView_pimpl.C:
12709         * FontLoader.C:
12710         * LyXView.h:
12711         * LyXView.C:
12712         * Makefile.am:
12713         * WorkArea.C:
12714         * XFormsView.h:
12715         * XFormsView.C:
12716         * buffer.C:
12717         * bufferlist.C:
12718         * bufferview_funcs.C:
12719         * converter.C:
12720         * importer.C:
12721         * lyx_cb.C:
12722         * lyx_gui.C:
12723         * lyx_main.C:
12724         * lyx_find.C:
12725         * lyxfunc.C:
12726         * lyxvc.C:
12727         * minibuffer.C:
12728         * text.C:
12729         * text2.C:
12730         * trans.C:
12731         * vc-backend.C: move LyX/XFormsView into frontends/
12732
12733 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12734
12735         * Makefile.am:
12736         * PainterBase.C:
12737         * PainterBase.h:
12738         * Painter.C:
12739         * Painter.h:
12740         * WorkArea.C:
12741         * WorkArea.h:
12742         * screen.C:
12743         * tabular.C:
12744         * text.C:
12745         * text2.C: move Painter to frontends/
12746
12747 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12748
12749         * buffer.C: comment out some some code that depend upon lyx_format
12750         < 220
12751
12752         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12753         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12754
12755         * buffer.h (NO_COMPABILITY): turn off compability
12756
12757         * ColorHandler.C: include scoped_array.hpp
12758
12759         * font.C: Use more specific smart_ptr header.
12760         * Painter.C: ditto
12761         * gettext.C: ditto
12762         * ShareContainer.h: ditto
12763         * lyx_main.h: ditto
12764         * kbmap.h: ditto
12765         * FontInfo.h: ditto
12766         * BufferView_pimpl.h: ditto
12767         * ColorHandler.h: ditto
12768
12769         * kbmap.C (defkey): change call to shared_ptr::reset
12770
12771 2002-05-21  Juergen Vigna  <jug@sad.it>
12772
12773         * buffer.C (insertErtContents): fix to insert ert asis if it is
12774         non empty. Skip it completely if it contains only whitespaces.
12775
12776 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12777
12778         * BufferView_pimpl.C:
12779         * BufferView2.C: clear selection on paste (bug 393)
12780
12781 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12782
12783         * DepTable.C: include ctime
12784
12785 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12786
12787         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12788
12789 2002-05-14  Juergen Vigna  <jug@sad.it>
12790
12791         * text.C (breakParagraph): fixed function to honor the keepempty
12792         layout in the right maner and also to permit the right breaking
12793         algorithm on empty or non empyt keepempty paragraphs.
12794
12795         * paragraph.C (breakParagraph): we have to check also if the par
12796         is really empty (!size()) for isempty otherwise we do the wrong
12797         paragraph break.
12798
12799 2002-05-10  Juergen Vigna  <jug@sad.it>
12800
12801         * buffer.[Ch] : The following are only changes to the ert
12802         compatibility read reading old LaTeX layout and font stuff and
12803         convert it to ERTInsets.
12804
12805         * buffer.h: added isErtInset().
12806
12807         * buffer.C (struct ErtComp): add a fromlayout bool to check
12808         if we're inside a LaTeX layout.
12809         (isErtInset): new helper function.
12810         (insertErtContents): look for other ert insets before this one
12811         and insert the contents there, so that we don't have subsequent
12812         ERT insets with nothing between them. This way we create only one
12813         inset with multiple paragraphs. Also check if we don't insert only
12814         spaces ' ' as they are ignored anyway afterwards in the .tex file
12815         so if we have only spaces we will ignore this latex part in the
12816         new file.
12817         (parseSingleLyXformat2Token \\layout): better compatibility when
12818         reading layout-latex stuff.
12819         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12820         language tag.
12821         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12822         stuff after reading the inset only get the information back from
12823         the stack.
12824
12825 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12826
12827         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12828
12829         * LaTeXFeatures.C (getBabelOptions): New method.
12830
12831 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12832
12833         * BufferView_pimpl.C (Dispatch): work around missing argument for
12834         'layout'
12835
12836 2002-05-08  Juergen Vigna  <jug@sad.it>
12837
12838         * text.C (leftMargin): handle paragraph leftindent.
12839
12840         * paragraph.C (writeFile): write the new \\leftindent tag.
12841         (validate): handle leftindent code.
12842         (TeXEnvironment): handle paragraphleftindent code again.
12843
12844         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12845
12846         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12847         for paragrap_extra indent code and new token \\leftindent.
12848         (latexParagraphs): handle the leftindent as environment.
12849
12850         * ParameterStruct.h: added leftindent support.
12851
12852         * ParagraphParameters.C (leftIndent): added support functions for
12853         the paragraph left indent.
12854
12855         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12856         more appropriate.
12857
12858 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12859
12860         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12861         inside insetERT.
12862
12863         * text.C (computeBidiTables): No bidi in insetERT.
12864
12865         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12866         in RTL documents.
12867
12868 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12869
12870         * version.C.in: pre 5
12871
12872 2002-05-02  José Matos  <jamatos@fep.up.pt>
12873         * buffer.C (makeDocBookFile): white space changes, add newline to
12874         command styles.
12875         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12876
12877         * tabular.C (docBook): fix typo.
12878
12879 2002-05-03  Juergen Vigna  <jug@sad.it>
12880
12881         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12882         change in LyXText as we can not be sure it was not freed.
12883         (drawOneRow): remove unused code.
12884
12885         * text.C (drawInset): redo the calculation of the need_break_row as
12886         it could have a row which was already freed.
12887         (draw): look at the return value of drawInset and return false if
12888         it also returned false.
12889         (paintRowText): look at the return value of draw and return false if
12890         it also returned false.
12891
12892         * lyxtext.h: added bool return type to drawInset() and draw() so that
12893         if we have a change in the row so that the rowbreak has to be redone
12894         we abort drawing as it will be called again.
12895
12896 2002-05-02  Juergen Vigna  <jug@sad.it>
12897
12898         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12899         a change in the maintext also if we're inside an inset.
12900         (Dispatch): set the cursor again after a break line and after the
12901         screen has been updated as it could be we're in a different row.
12902
12903         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12904         to set the cursor behind the pargraph with > size().
12905         (setCursor): check also for the same paragraph when checking where
12906         to put the cursor if we have a NFR inset.
12907
12908         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12909         parts of layout read further up as it still was in the wrong
12910         position.
12911
12912 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * screen.C (drawFromTo): change sine fullRebreak always return
12915         true.
12916
12917         * buffer.C (parseSingleLyXformat2Token): reindent some
12918
12919         * BufferView_pimpl.C (update): change since fullRebreak always
12920         return true.
12921         (Dispatch): git rid of the last hardcoded "Standard"s.
12922
12923 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * text2.[Ch] (fullRebreak): make it return void now that we always
12926         returned true.
12927
12928 2002-04-30  Juergen Vigna  <jug@sad.it>
12929
12930         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12931         ert compatibility check for "latex" layout.
12932
12933 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12934
12935         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12936         minipages: use col% instead of p%, and also use the current font.
12937         (makeLaTeXFile): Fix use babel condition.
12938         (parseSingleLyXformat2Token): Correct font when reading old floats.
12939
12940 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12941
12942         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12943         inserting list of floats.
12944
12945 2002-04-25  Herbert Voss  <voss@lyx.org>
12946
12947         * MenuBackend.C (expand): don't add the graphics extensions to the
12948         export menu
12949
12950 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12951
12952         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12953         non-existing layout, do not complain if it was the default layout
12954         of the original class (bug #342)
12955
12956 2002-04-24  Juergen Vigna  <jug@sad.it>
12957
12958         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12959         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12960
12961 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12962
12963         * buffer.C (getBibkeyList): If using \bibliography, return the
12964         option field with the reference itself. Enables us to provide natbib
12965         support when using \bibliography.
12966
12967 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12968
12969         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12970
12971         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12972         natbib is provided by the LaTeX class.
12973
12974 2002-04-23  Juergen Vigna  <jug@sad.it>
12975
12976         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12977         Wakeup functions.
12978
12979         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12980
12981 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12982
12983         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12984
12985         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12986         ensuremath around textordmasculine, textordfeminine and
12987         textdegree.
12988
12989 2002-04-19  Juergen Vigna  <jug@sad.it>
12990
12991         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12992         reinitializing the buffer otherwise row-dimensions may be wrong.
12993         (update): reset also the selection cursors if they do exits otherwise
12994         their x/y positions may be wrong.
12995
12996         * text2.C (cursorDown): don't enter the inset if we came from a row
12997         above and are one row over the inset.
12998
12999         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13000         really leaving an inset.
13001
13002 2002-04-18  Juergen Vigna  <jug@sad.it>
13003
13004         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13005         of the selected paragraph does not have the selected layout also if
13006         the last one had!
13007
13008         * text2.C (setLayout): fixed bug which did not change last selected
13009         paragraph.
13010
13011         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13012         changed the read and substituted \\end_float with \\end_inset!
13013
13014         * BufferView_pimpl.C (cursorPrevious):
13015         (cursorNext): fixed to make it work with rows heigher than the work
13016         area without moving the cursor only the draw of the row.
13017         (workAreaMotionNotify): fix jumping over high rows.
13018
13019 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13020
13021         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13022         Ressler.
13023
13024 2002-04-16  Juergen Vigna  <jug@sad.it>
13025
13026         * text2.C (setCursor): set also the irow().
13027         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13028         (cursorUp):
13029         (cursorDown): support for locking an inset if the x_fix value goes
13030         inside it. That way I can transverse insets too with cursor up/down.
13031
13032         * lyxrow.h: added irow helper function same as other (i) functions.
13033
13034         * BufferView_pimpl.C (cursorPrevious):
13035         (cursorNext): fixed for insets!
13036
13037 2002-04-15  Juergen Vigna  <jug@sad.it>
13038
13039         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13040         position otherwise it is wrong in some cases.
13041
13042         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13043         inside the inset before the call.
13044
13045 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13046
13047         * buffer.[Ch] (getBibkeyList): make it const.
13048
13049 2002-04-12  Juergen Vigna  <jug@sad.it>
13050
13051         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13052
13053         * text2.C (getCursorX): new helper function
13054         (setCursor): compute also ix_
13055         (setCursorFromCoordinates): set also ix.
13056
13057         * lyxcursor.h: added ix_ and helper functions.
13058
13059         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13060
13061         * buffer.C (insertStringAsLines): dont break paragraph if the this
13062         paragraph is inside an inset which does not permit it!
13063
13064         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13065         also with no chars on this paragraph.
13066         (paintRowText): only paint stuff if it's inside the workarea!
13067
13068         * paragraph.C (breakParagraph): honor keepempty flag and break the
13069         paragraph always below not above.
13070
13071         * BufferView2.C (unlockInset): update the paragraph layout on inset
13072         unlock as we changed paragraph in such a case.
13073
13074         * lyxfind.C (LyXFind): clear the former selection if not found!
13075
13076         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13077         again called in insertChar().
13078
13079         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13080         an inset which uses the whole row!
13081         (rightMargin): ditto.
13082         (insertChar): force a rebreak if we inserted an inset!
13083
13084 2002-03-28  Herbert Voss  <voss@lyx.org>
13085
13086         * lyxlength.[Ch]: add inBP() to get the right PS-point
13087         units (BigPoint). With inPixels we have rounding errors
13088
13089 2002-04-11  Juergen Vigna  <jug@sad.it>
13090
13091         * text2.C (setCursorFromCoordinates): set iy to the right value.
13092         (setCursor): add check if row->previous exists!
13093
13094         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13095         an old float_type as this was the case in the old code!
13096
13097         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13098
13099         * BufferView2.C (showLockedInsetCursor): use iy
13100         (fitLockedInsetCursor): ditto
13101
13102         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13103         locked insets as there we have the right value now.
13104
13105         * lyxcursor.C: added iy_ variable and iy functions to set to the
13106         baseline of cursor-y of the locked inset.
13107
13108         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13109         (setCursor): fixed for insets which need a full row.
13110
13111         * text.C (rowLastPrintable): don't ignore the last space when before
13112         an inset which needs a full row.
13113         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13114         as last character of a row when before a inset which needs a full row.
13115
13116 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13117
13118         * version.C.in: update date
13119
13120         * text2.C (fullRebreak): try to always return true and see what
13121         happens...
13122
13123 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13124
13125         * MenuBackend.C (expand): use Floating::listName
13126
13127         * FloatList.C (FloatList): add listName argument to the built-in
13128         floats
13129
13130         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13131         text associated with the float.
13132
13133 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13134
13135         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13136
13137 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13138
13139         * ShareContainer.h: add a couple of missing typenames.
13140
13141 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13142
13143         * lyxrc.C (getDescription): use _() correctly rather than N_().
13144
13145 2002-03-28  Herbert Voss  <voss@lyx.org>
13146
13147         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13148         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13149
13150 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13151
13152         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13153         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13154
13155 2002-03-29  Juergen Vigna  <jug@sad.it>
13156
13157         * lyxfunc.C (dispatch): add a missing fitCursor call.
13158
13159         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13160         it was scrolled by a cursor move, so return the bool status.
13161
13162         * BufferView.C (fitCursor): return the bool flag also to the outside
13163         world as this is needed.
13164
13165         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13166
13167         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13168         call the edit() as it is not needed (and wrong) IMO.
13169         (workAreaButtonPress): set the screen_first variable before evt.
13170         unlock the inset as this may change screen_first and then we have
13171         a wrong y position for the click!
13172
13173 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13174
13175         * MenuBackend.C (expand): another translation that I missed
13176
13177 2002-03-28  Juergen Vigna  <jug@sad.it>
13178
13179         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13180
13181         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13182
13183 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13184
13185         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13186
13187         * MenuBackend.C (expand): fix export/view/update when there is no
13188         document open.
13189
13190 2002-03-27  Herbert Voss  <voss@lyx.org>
13191
13192         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13193         and text%
13194
13195 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13196
13197         * bufferview_funcs.C (currentState): only show paragraph number
13198         for is DEVEL_VERSION is set.
13199
13200         * lyxfunc.C (dispatch): put warning in INFO channel
13201
13202         * MenuBackend.C (expand): translate the name of floats
13203
13204         * FloatList.C (FloatList): mark the float names for translation
13205
13206         * converter.C (convert): use LibScriptSearch
13207
13208 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13209
13210         * MenuBackend.C (defaults): fix default menu (we might as well get
13211         rid of it...)
13212
13213 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13214
13215         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13216         directory.
13217
13218 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13219
13220         * lyxvc.C: reorder includes.
13221
13222 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13223
13224         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13225           properly
13226
13227 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13228
13229         * CutAndPaste.C: change layouts earlier on paste
13230           to avoid crashing when calling getFont()
13231
13232 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13233
13234         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13235         irritating #error.
13236
13237 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13238
13239         * WorkArea.C: remove 'Pending' debug message.
13240
13241         * most files: ws cleanup
13242
13243         * buffer.[Ch]: ws changes
13244
13245         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13246
13247 2002-03-21  Juergen Vigna  <jug@sad.it>
13248
13249         * tabular.C (SetMultiColumn): collapse also the contents of the
13250         cells and set the last border right. Added a Buffer const * param.
13251
13252 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13253
13254         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13255         linking or not.
13256
13257 2002-03-19  Juergen Vigna  <jug@sad.it>
13258
13259         * text2.C (clearSelection): reset also xsel_cache.
13260
13261         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13262         where it needs to be called (John tells us to do so too :)
13263         (selectionLost): reset sel_cache.
13264
13265         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13266
13267 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13268
13269         * text2.C (setCursorIntern): put debuging code in INSETS channel
13270
13271 2002-03-19  André Pönitz <poenitz@gmx.net>
13272
13273         * lyxfunc.C: tiny whitespace change
13274
13275 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13276
13277         * ToolbarDefaults.C (init):
13278         * LyXAction.C (init):
13279         * commandtags.h:
13280         * BufferView_pimpl.C (Dispatch):
13281         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13282
13283 2002-03-19  Allan Rae  <rae@lyx.org>
13284
13285         * exporter.C (Export): removeAutoInsets before doing anything else.
13286         While I've just introduced a dependency on BufferView this really is
13287         the best place to clean the buffer otherwise you need to cleanup in
13288         a dozen places before calling export or cleanup in a dozen functions
13289         that export calls.
13290
13291         * converter.C (runLaTeX):
13292         (scanLog): Better handling of removeAutoInsets and screen updates.
13293
13294         * lyxfunc.C (dispatch): small whitespace changes
13295
13296 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13297
13298         * WorkArea.C (C_WorkAreaEvent): return a value.
13299         (event_cb): return 1 if we handled the event, 0 otherwise.
13300
13301         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13302
13303 2002-03-18  Juergen Vigna  <jug@sad.it>
13304
13305         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13306         (GetAdditionalWidth): ditto.
13307         (RightLine): ditto.
13308         (LeftLine): ditto.
13309
13310         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13311         inset if we're there actually (probably not used right now but this
13312         is the direction to go for unifying code).
13313         (paste): disable code to clear the selection.
13314
13315         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13316         inside an InsetText and move the check further up as it is in the
13317         wrong place.
13318
13319         * text2.C (pasteSelection): set a selection over the pasted text.
13320
13321 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13322
13323         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13324         and libgraphics to build on Cygwin.
13325
13326 2002-03-15  Juergen Vigna  <jug@sad.it>
13327
13328         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13329         inserting an Inset into the paragraph. I know this is not the best
13330         fix but we already use current_view in CutAndPaste so we will remove
13331         all of it's using at the same time.
13332
13333         * buffer.C (sgmlError): deactivated function till it is rewritten in
13334         the right mode, now it can create problems.
13335
13336         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13337         before accessing it.
13338
13339 2002-03-14  Juergen Vigna  <jug@sad.it>
13340
13341         * undo_funcs.C (textHandleUndo): do the right thing when updating
13342         the inset after the undo/redo.
13343
13344         * text2.C (setCursor): just some testcode for #44 not ready yet.
13345
13346         * undo_funcs.C (textHandleUndo): set the next() and previous()
13347         pointers of the paragraph to 0 before deleting otherwise we have
13348         problems with the Paragraph::[destructor].
13349
13350         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13351         on a paragraph insertion.
13352
13353 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * buffer.C (asciiParagraph): use += operator for char append to
13356         string.
13357
13358         * paragraph.C (getFontSettings): compare >= not just >
13359         (highestFontInRange): ditto
13360         (setFont): ditto
13361
13362 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13363
13364         * paragraph.C: change several algorithm to be more appripriate for
13365         the problem domain. This is lookip in FontList and in the InsetList.
13366
13367 2002-03-13  André Pönitz <poenitz@gmx.net>
13368
13369         * commandtags.h:
13370         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13371
13372 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13373
13374         * commandtags.h:
13375         * LyXAction.C:
13376         * lyxfunc.C:
13377         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13378
13379 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13380
13381         * Painter.C (display): anon helper function, adjust code for this
13382         change.
13383         (pixmap): remove function.
13384
13385         * Painter.h: remove private display variable.
13386
13387         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13388
13389 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13390
13391         * WorkArea.[Ch]: remove figinset_canvas cruft.
13392
13393 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13394
13395         * lyxtextclass.C (operator): add one item cache optimization.
13396
13397         * bufferlist.h: doxy changes
13398
13399         * bufferlist.C: ws changes
13400
13401         * DepTable.[Ch] (ext_exist): place const in the right spot.
13402
13403         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13404         call resizeInsets.
13405         (workAreaExpose): call resizeInsets when the with BufferView changes.
13406         (Dispatch): adjust for protectedBlank removal
13407         (specialChar): call updateInset if the insert went ok.
13408
13409         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13410         specialChar instead.
13411
13412         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13413
13414         * BufferView.h: doxy change
13415
13416         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13417
13418         * lyxtextclass.C (operator[]): remove non-const version
13419         (defaultLayout): remove non-const version
13420
13421 2002-03-12  Juergen Vigna  <jug@sad.it>
13422
13423         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13424         did resize the LyXText too.
13425
13426         * buffer.C (readLyXformat2): set layout information on newly allocated
13427         paragraphs.
13428
13429         * tabular.C (OldFormatRead): set layout information on the paragraph.
13430
13431 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13432
13433         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13434
13435 2002-03-11  Juergen Vigna  <jug@sad.it>
13436
13437         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13438         plainly wrong.
13439         (resizeCurrentBuffer): force also the insets to resize themselfes.
13440         (moveCursorUpdate): fixed up for InsetText.
13441
13442 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13443
13444         * commandtags.h:
13445         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13446         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13447         value of Dialogs::tooltipsEnabled().
13448         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13449
13450 2002-03-08  Juergen Vigna  <jug@sad.it>
13451
13452         * BufferView_pimpl.C (updateInset): update inset inside inset also
13453         if it isn't inside theLockingInset().
13454
13455 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13456
13457         * buffer.C (asciiParagraph): redo some of the word and line length
13458         handling.
13459         (getLists): look for Caption instead of caption.
13460
13461 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13462
13463         * buffer.C (Buffer): initialize niceFile to true
13464         (makeLaTeXFile):
13465         (makeLinuxDocFile):
13466         (makeDocBookFile): make sure niceFile is true on exit
13467
13468 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13469
13470         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13471
13472 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13473
13474         * LyXSendto.C: remove.
13475         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13476         * lyx_gui.C: remove now-redundant comment.
13477         * ColorHandler.h: remove forward declaration of class WorkArea.
13478         * lyxfunc.C: remove #include "WorkArea.h".
13479
13480 2002-03-07  Juergen Vigna  <jug@sad.it>
13481
13482         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13483         got moved away with the DEPM and also set the inset_owner always
13484         right which before could have been omitted.
13485
13486 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13487
13488         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13489         wanted layout is not found.
13490
13491 2002-03-07  Juergen Vigna  <jug@sad.it>
13492
13493         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13494
13495 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13496
13497         * paragraph.C (breakParagraph): use default layout not layout of
13498         prev paragraph.
13499         (Paragraph): clear ParagraphParameters.
13500
13501 2002-03-06  Juergen Vigna  <jug@sad.it>
13502
13503         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13504         otherwise it would not be a valid lenght. Fixed a special case in
13505         the minipage compatibility read where we end the document with a
13506         minipage.
13507
13508         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13509         was set as it could be 0 for InsetTexts first entry.
13510
13511 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * paragraph.C (writeFile): if layout is empty write out
13514         defaultLayoutName().
13515
13516         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13517         file without named layout we set layout to defaultLayoutName().
13518
13519 2002-03-06  Juergen Vigna  <jug@sad.it>
13520
13521         * CutAndPaste.C (copySelection): set layout for new paragraph.
13522
13523         * text.C (prepareToPrint): leave ERT inset left aligned
13524         (leftMargin): don't indent paragraphs inside ERT insets
13525
13526 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * paragraph.C (breakParagraph): dont call clear do the work manually
13529
13530         * paragraph.[Ch] (clear): remove function
13531
13532 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13533
13534         * paragraph.C (Paragraph): dont call clear, the work has already
13535         been done.
13536
13537         * lyxtextclass.C (operator): assert if n is empty
13538
13539         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13540         work manually instead.
13541
13542 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * BufferView_pimpl.C: protect selectionLost against text == 0
13545
13546 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * text.C (breakParagraph): fix a setting layout to '0' problem.
13549
13550 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13551
13552         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13553         final location of file, for the included files, and graphics.
13554
13555 2002-03-05  Juergen Vigna  <jug@sad.it>
13556
13557         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13558
13559 2002-03-04  Juergen Vigna  <jug@sad.it>
13560
13561         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13562
13563         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13564         last column of multicolumn cells.
13565         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13566
13567 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13568
13569         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13570         file if it doesn't go to a temporary file.
13571
13572         * buffer.C (sgmlOpenTag):
13573         (sgmlCloseTag):  remove extra newline insertion.
13574
13575 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13576
13577         * text.C (getRowNearY): comment out debug msg
13578
13579 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13580
13581         * text2.C: first -> first_y
13582
13583         * text.C (getRowNearY): add some attemts at a possible
13584         optimization, not working.
13585
13586         * tabular.[Ch]: add BufferParams to several function so that newly
13587         created paragraph can be initialized to he default layotu for the
13588         buffers textclass.
13589
13590         * tabular-old.C (ReadOld): add buf->params to call of Init
13591
13592         * screen.C: rename text->first to text->first_y
13593
13594         * paragraph.C (breakParagraph): always set layout in the broken
13595         paragraph
13596
13597         * lyxtextclass.C (Read): remove lowercase
13598         (hasLayout): ditto
13599         (operator): ditto
13600         (delete_layout): ditto
13601
13602         * lyxtext.h: rename first -> first_y
13603
13604         * lyxlayout.C (Read): remove lowercase
13605         (name): ditto
13606         (setName): ditto
13607         (obsoleted_by): ditto
13608
13609         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13610
13611         * buffer.C (insertErtContents): add params are to InsetERT
13612         (parseSingleLyXformat2Token): add code to check if a paragraphs
13613         layout really exist.
13614         (parseSingleLyXformat2Token): add params to several inset
13615         constructors
13616         (asciiParagraph): remove lowercase, do the layout comparisons with
13617         no_case
13618
13619         * BufferView_pimpl.C (cursorNext): first -> first_y
13620         (resizeCurrentBuffer): first -> first_y
13621         (updateScrollbar): first -> first_y
13622         (scrollCB): first -> first_y
13623         (workAreaMotionNotify): first -> first_y
13624         (workAreaButtonPress): first -> first_y
13625         (checkInsetHit): first -> first_y
13626         (cursorPrevious): first -> first_y
13627         (cursorNext): first -> first_y
13628         (Dispatch): add buffer_->params to severl inset contructors
13629
13630 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13631
13632         * lyxlayout.C (Read): remove some debug info that I forgot.
13633
13634         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13635         clean up the code slightly.
13636         (makeLinuxDocFile): ditto
13637         (makeDocBookFile): ditto
13638
13639         * text2.C: layout as string
13640
13641         * text.C: layout as string
13642
13643         * paragraph_pimpl.C: layout as string
13644
13645         * paragraph.[Ch]: layout as string
13646
13647         * lyxtextclasslist.[Ch]: layout as string
13648
13649         * lyxtextclass.[Ch]: layout as string
13650
13651         * lyxtext.h: layout as string
13652
13653         * lyxlayout.[Ch]: layout as string
13654
13655         * lyx_cb.C: layout as string
13656
13657         * bufferview_funcs.C: layout as string
13658
13659         * bufferparams.C: layout as string
13660
13661         * buffer.C: layout as string
13662
13663         * LyXView.[Ch]: layout as string
13664
13665         * LaTeXFeatures.[Ch]: layout as string
13666
13667         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13668
13669         * BufferView_pimpl.C: change current_layout to string, remove
13670         lyx::layout_type.
13671         (Dispatch):
13672         (smartQuote):
13673         (insertInset):
13674         (workAreaButtonRelease): layout as string
13675
13676         * BufferView2.C (unlockInset): adjust
13677
13678         * vspace.C (asLatexCommand): use an explict temp variable.
13679
13680 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13681
13682         * Makefile.am: use FRONTEND_*
13683
13684 2002-03-01  Juergen Vigna  <jug@sad.it>
13685
13686         * tabular.C (SetWidthOfMulticolCell): changed to something better
13687         I hope but still work in progress.
13688         (recalculateMulticolumnsOfColumn): renamed function from
13689         recalculateMulticolCells as it is more appropriate now.
13690         (SetWidthOfCell): calculate multicols better.
13691
13692 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13693
13694         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13695
13696         * lyxfunc.C (processKeySym): print sequence also if it is
13697         `deleted' (complete)
13698
13699         * kbsequence.C (print): print sequence even if it is deleted
13700         (complete would be a better word, actually).
13701
13702         * lyxfunc.C (dispatch): print complete options after a prefix key
13703
13704         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13705
13706 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13707
13708         * text2.C (setCharFont): eliminate setCharFont code duplication.
13709
13710 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13711
13712         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13713         LFUN_TABULAR_FEATURE (bug #177)
13714
13715 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13716
13717         * Makefile.am: remove figure.h
13718
13719 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13720
13721         * Bufferview_pimpl.C:
13722         * CutAndPasteC:
13723         * LaTeX.C:
13724         * LyXSendto.C:
13725         * buffer.C:
13726         * bufferlist.C:
13727         * converter.C:
13728         * language.C:
13729         * lyxfunc.C:
13730         * lyxvc.C:
13731         * paragraph.C:
13732         * text.C:
13733         * text2.C: remove #include "lyx_gui_misc.h".
13734
13735         * LaTeX.C: added #include <cstdio>
13736
13737 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13738
13739         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13740         that the paragraph following this one can have.
13741
13742         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13743
13744         * vspace.C (asLatexCommand): fix bogus gcc warning
13745
13746         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13747
13748 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13749
13750         * text2.C (setLayout): get rid of redundant code
13751
13752 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13753
13754         * text2.C (incDepth): make sure depth cannot be increased beyond
13755         reasonable values.
13756
13757 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13758
13759         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13760         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13761
13762         * PainterBase.h (image):
13763         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13764         a LyXImage const *.
13765
13766 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13767
13768         * BufferView.C:
13769         * BufferView.h:
13770         * BufferView_pimpl.C:
13771         * BufferView_pimpl.h:
13772         * LaTeXFeatures.C:
13773         * LyXAction.C:
13774         * LyXView.C:
13775         * Makefile.am:
13776         * UpdateList.h:
13777         * UpdateList.C:
13778         * buffer.C:
13779         * figure.h:
13780         * figureForm.C:
13781         * figureForm.h:
13782         * figure_form.C:
13783         * figure_form.h:
13784         * lyx_cb.C:
13785         * lyx_gui.C:
13786         * lyx_gui_misc.C:
13787         * lyxfunc.C:
13788         * sp_base.h:
13789         * sp_ispell.h:
13790         * sp_pspell.h:
13791         * sp_spell.C: remove fig inset, and the crap house of
13792           cards that follows it
13793
13794 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13795
13796         * Makefile.am:
13797         * lyxserver.C:
13798         * os2_defines.h:
13799         * os2_errortable.h:
13800         * nt_defines.h: move .h into support/
13801
13802         * vms_defines.h: remove
13803
13804         * WorkArea.C: add space in debug output
13805
13806         * text2.C:
13807         * paragraph.C:
13808         * buffer.C: add WITH_WARNINGS
13809
13810         * vc-backend.h:
13811         * vc-backend.C:
13812         * bufferlist.C: s/retrive/retrieve/, add docs
13813
13814         * vspace.h:
13815         * vspace.C:
13816         * kbmap.h:
13817         * lyxlength.h:
13818         * lyxgluelength.h:
13819         * length_common.h:
13820         * chset.h:
13821         * chset.C: add docs
13822
13823         * lyxgui.C: add ID to X error handler
13824
13825         * lyxtestclass.c: fix typo
13826
13827 2002-02-26  Juergen Vigna  <jug@sad.it>
13828
13829         * tabular_funcs.C (write_attribute): changed so that some default
13830         attributes are not written at all.
13831         (getTokenValue): set default values before trying to read the
13832         value so we have the return value always set as default if we don't
13833         find the token we search for.
13834
13835         * tabular.C (Write): write bools as bools not as strings!
13836
13837 2002-02-22  Juergen Vigna  <jug@sad.it>
13838
13839         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13840         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13841
13842         * text.C (leftMargin): don't add an indent for paragraphs inside
13843         tabular cells (fix #208).
13844
13845 2002-02-21  José Matos  <jamatos@fep.up.pt>
13846
13847         * tabular.C (docBook): fixed support for long tables.
13848
13849 2002-02-20  Juergen Vigna  <jug@sad.it>
13850
13851         * text2.C (getFont): get the drawing font of the Inset if this
13852         paragraph is inside an inset (only important for InsetERT for now).
13853
13854         * buffer.C (insertErtContents): use new lanugage params in ERT
13855         constructor.
13856
13857         * CutAndPaste.C: commenting out seemingly uneeded code.
13858
13859 2002-02-19  Allan Rae  <rae@lyx.org>
13860
13861         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13862         Iterators might be simple to use but they also get invalidated.
13863         (removeAutoInsets): renamed saved cursor tracking variables and added
13864         some comments to clarify what everything does.
13865
13866 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13867
13868         * Chktex.C:
13869         * LaTeX.C:
13870         * LyXSendto.C:
13871         * converter.C:
13872         * lyx_cb.C:
13873         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13874         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13875
13876         * lyxfunc.C:
13877         * vc-backend.h: remove #include "support/syscall.h"
13878
13879         * LaTeX.C:
13880         * LyXSendto.C:
13881         * converter.C: rearrange #includes in Lars' approved fashion.
13882
13883         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13884         forward declare class Timeout in the header file.
13885
13886         * XFormsView.C: changes due to the above.
13887
13888         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13889         similar to LyXView.
13890
13891         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13892         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13893
13894 2002-02-18  José Matos  <jamatos@fep.up.pt>
13895
13896         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13897         insets contents.
13898
13899 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13900
13901         * a lot of small ws changes
13902         * add a lot of using std::XXX
13903         * use std construcs some places where approp.
13904         * use some exisint stuff from lyxfunctional where approp.
13905         * Make file changes to use partial linking (lets test this now...)
13906
13907 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13908
13909         * Chktex.C:
13910         * buffer.C:
13911         remove #include "support/syscontr.h" as it's redundant. Always has been.
13912
13913         * Chktex.C:
13914         * LaTeX.C:
13915         * LyXSendto.C:
13916         * converter.C:
13917         * lyx_cb.C:
13918         * vc-backend.C:
13919         change Systemcalls::System to Systemcalls::Wait and
13920         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13921         No change of functionality, just reflects the stripped down Systemcalls
13922         class.
13923
13924 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13925
13926         * debug.[Ch]: add a GRAPHICS type to the enum.
13927
13928 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13929
13930         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13931
13932         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13933         there is an inset.
13934
13935 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13936
13937         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13938         match the changes below.
13939
13940         * text2.C (toggleInset): if there is not editable inset at cursor
13941         position, try to see if cursor is _inside_ a collapsable inset
13942         and close it.
13943
13944 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13945
13946         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13947         document menu has a nice checkbox
13948
13949 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13950
13951         * lyxlength.C (asLatexString): change PW to output as percent of
13952         \textwidth.
13953
13954         * lengthcommon.C: change '%' to 't%'
13955
13956         * lyxfunc.C (dispatch): a few comments from Martin
13957
13958 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13959
13960         * WorkArea.h:
13961         * WorkArea.C:
13962         * BufferView_pimpl.h:
13963         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13964           the X selection.
13965
13966 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13967
13968         * vspace.C (inPixels): fix compiler warning
13969
13970 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13971
13972         * lyxfunc.C (getStatus): fix status message for disabled commands.
13973
13974 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13975
13976         * BufferView_pimpl.C: fix crash on close buffer
13977         during selection (#227)
13978
13979 2002-01-27  Herbert Voss  <voss@lyx.org>
13980
13981         * buffer.C: link old Figure to new graphic inset
13982
13983 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13984
13985         * FontLoader.C (getFontinfo): Change the latex font names in order
13986         to match the names of type1inst.
13987
13988 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13989
13990         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13991
13992         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13993         (extchanged): ditto
13994         (ext_exist): ditto
13995         (remove_files_with_extension): ditto
13996         (remove_file): ditto
13997         (write): ditto
13998
13999         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14000         document is smaller than the work area height. Do not initialize
14001         static variables to 0.
14002
14003 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14004
14005         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14006
14007         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14008         LFUN_LAYOUT_PARAGRAPHS.
14009
14010         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14011         tabular. It is possible to provide a possible cell, which will
14012         typically be the actcell from the corresponding insettabular
14013
14014         * lyxfunc.C (getStatus): small cleanup; disable
14015         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14016         true
14017
14018 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14019
14020         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14021
14022         * paragraph.C (startTeXParParams):
14023         (endTeXParParams): new methods. The LaTeX code to
14024         start/end paragraph formatting
14025         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14026         empty (fixes bug #200)
14027
14028         * vspace.C (inPixels): adapt to the change below
14029         (inPixels): [later] more cleanups (remove unused variables)
14030
14031         * lyxlength.C (inPixels): change to use a width and a height as
14032         parameter.
14033
14034 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14035
14036         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14037         Replaced with \paperwidth
14038
14039         * DepTable.C (insert): add std:: qualifier
14040
14041 2002-01-18  Allan Rae  <rae@lyx.org>
14042
14043         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14044         updated also?
14045
14046         * text.C (drawInset): Turned out I didn't know enough about how
14047         rebreaking worked.  This fixes most of the redraw problems.  I see
14048         an occasional cursor trail when a line is broken now and the cursor
14049         placement can seem out by a few pixels also after a rebreak.
14050
14051 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14052
14053         * buffer.C (parseSingleLyXformat2Token): update because minipage
14054         width is now a LyXLength
14055
14056         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14057
14058         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14059         math insets
14060
14061 2002-01-17  Juergen Vigna  <jug@sad.it>
14062
14063         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14064
14065         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14066         is set correctly and the inset is updated correctly.
14067
14068 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14069
14070         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14071         the beginning of the loop.
14072
14073 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14074
14075         * lyxrc.C: improve help for use_scalable_fonts
14076
14077 2002-01-17  Allan Rae  <rae@lyx.org>
14078
14079         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14080
14081 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14082
14083         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14084         make sure to set their inset_owner to the right value (bug #171)
14085
14086 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14087
14088         * DepTable.h
14089         * DepTable.C: Implement mtime checking to reduce time spent doing
14090         CRCs.
14091
14092 2002-01-16  Juergen Vigna  <jug@sad.it>
14093
14094         * tabular.C (GetAdditionalHeight): one of error fixed.
14095
14096         * lyxrc.C (output): small fix in writing use_pspell.
14097
14098 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14099
14100         * sp_base.h: #include LString.h
14101
14102 2002-01-16  Allan Rae  <rae@lyx.org>
14103
14104         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14105         Can someone check this please?
14106
14107         * text.C (drawInset): It was possible that p.row would be removed by
14108         breakAgainOneRow upsetting a few other settings.  There may be another
14109         small tweak possible by setting need_break_row = 0 when p.row has been
14110         removed but I don't know enough about the logic here.
14111
14112 2002-01-15  Allan Rae  <rae@lyx.org>
14113
14114         * text.C (insertChar): removed conditional truism.
14115
14116         * BufferView2.C (removeAutoInsets): More tweaks.
14117         cur_par_prev could be a stray pointer.  Check for trailing empty line
14118         in case last line was cur_par and only had an error inset on it.
14119
14120 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14121
14122         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14123         absolute
14124
14125         * vc-backend.C (most methods):
14126         * exporter.C (Export):
14127         * converter.C (convert):
14128         (runLaTeX):
14129         * LyXSendto.C (SendtoApplyCB):
14130         * lyxfunc.C (dispatch):
14131         (menuNew):
14132         (open):
14133         (doImport):
14134         * lyx_cb.C (AutoSave):
14135         (InsertAsciiFile):
14136         * BufferView_pimpl.C (MenuInsertLyXFile):
14137         * buffer.C (runChktex): use Buffer::filePath().
14138
14139         * buffer.h: rename filename to filename_; rename filepath to
14140         filepath_ and make it private
14141         (filePath): new method
14142
14143         * buffer.C (writeFile): use fileName()
14144         (getLatexName):
14145
14146         * lyx_main.C (init): fix starting  of LyX when the binary is a
14147         link from so,ewhere else.
14148
14149         * minibuffer.C: include <cctype> for isprint
14150
14151 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14152
14153         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14154         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14155         name clash with InsetCollapsable's width function.
14156
14157 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14158
14159         * lastfiles.C: include <iterator>
14160
14161 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14162
14163         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14164         std::count.
14165
14166         * buffer.C (makeLaTeXFile): ditto.
14167         Also make loop operation more transparent.
14168
14169 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14170
14171         * ToolbarDefaults.C: remove trailing comma closing namespace.
14172
14173         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14174
14175         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14176         as in WorkArea.
14177
14178         * trans.C (Load): comment out unused variable, allowed.
14179
14180 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14181
14182         * minibuffer.[Ch] (append_char): new method to recieve input from the
14183         drop-down completion browser. If a key was pressed, then recieve this
14184         char and append it to the existing string.
14185         (peek_event): modify the positioning data passed to the completion
14186         browser so that it can be placed above the minibuffer rather than below.
14187 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14188
14189         * LyXAction.C (init): alloe error-next for readonly documents.
14190
14191         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14192         count.
14193
14194 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14195
14196         * bufferlist.C (readFile): create the buffer _after_ checking that
14197         the file exists.
14198
14199         * lyxfunc.C (verboseDispatch): fix handling of arguments
14200
14201         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14202
14203         * lyxrc.C: use string::erase() instead of initializing to "".
14204
14205
14206 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14207
14208         * BufferView_pimpl.h:
14209         * BufferView_pimpl.C:
14210         * WorkArea.h:
14211         * WorkArea.C:
14212         * text2.C: tell X when we have made a selection for copying
14213
14214 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14215
14216         * BufferView_pimpl.C (MenuInsertLyXFile):
14217         * lyxfunc.C (menuNew):
14218         (open):
14219         (doImport): add shortcuts to directory buttons
14220
14221         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14222         open a float)
14223
14224         * lyxfunc.C (setStatusMessage):
14225         (getStatusMessage): new methods
14226         (getStatus):use setStatusMessage instead of setErrorMessage
14227         (dispatch): when function is disabled, set error message here
14228         [instead of in getStatus previously]
14229
14230         * BufferView_pimpl.C (workAreaButtonRelease): update
14231         toolbar/menubar here too.
14232
14233 2002-01-13  Allan Rae  <rae@lyx.org>
14234
14235         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14236         Now seems indestructible.  Remaining task is to audit all other
14237         code affected by deleteEmptyParagraphMechanism.  One small quirk
14238         left is that an empty document with an error in the preamble can
14239         be made to report an error but no error box appears.  I don't know
14240         where it goes.
14241         (removeAutoInsets): Improved comments.
14242
14243 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14244
14245         * Thesaurus.h:
14246         * Thesaurus.C: update for Aiksaurus 0.14
14247
14248 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14249
14250         * text2.C (firstParagraph): removed member function, all uses
14251         replaces with ownerParagraph
14252         (redoParagraphs): here
14253         (updateInset): here
14254         (toggleAppendix): here
14255         * BufferView2.C (insertErrors): here
14256         (setCursorFromRow): here
14257
14258 2002-01-13  Allan Rae  <rae@lyx.org>
14259
14260         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14261         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14262         There is still a way to segfault this although you may have to do this
14263         multiple times: Have an InsetERT with an unknown command in it.
14264         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14265         <down-arrow>, <Enter> again, View->DVI, BANG!
14266
14267         * text2.C (setCursor):
14268         (deleteEmptyParagraphMechanism):
14269         * lyxtext.h (setCursor):
14270         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14271         Making use of the return value may help fix other bugs.
14272
14273 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14274
14275         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14276
14277         * LyXView.C (updateMenubar): call MenuBar::update here
14278         (updateToolbar): but not here
14279         (showState): do not update toolbar/menubar
14280
14281         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14282         should need to care about that.
14283
14284         * lyxfunc.C (verboseDispatch): simplify a bit
14285         (getStatus): have a version which takes a pseudoaction, and
14286         another which requires a (kb_action,string).
14287
14288         * LyXAction.C (retrieveActionArg): make it work also when action
14289         is not a pseudo-action.
14290         (getActionName): simplify a bit
14291         (helpText):
14292
14293 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14294
14295         * lyxfunc.C (verboseDispatch): new families of methods with
14296         several ways to specify a command and a bool to indicate whether
14297         the command name and shortcut should be displayed in minibuffer
14298         (eventually, we could extend that to a finer bitmask like
14299         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14300         (dispatch): the pristine dispatch command which just, well,
14301         dispatchs! Note it still sets its result to minibuffer; I'm not
14302         sure we want that.
14303
14304         * lyxfunc.h: remove setHintMessage
14305
14306         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14307
14308 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14309
14310         * BufferView_pimpl.C (specialChar): delete new inset if we have
14311         not been able to insert it.
14312
14313         * kbmap.C: revert to using int instead of kb_action, since all we
14314         are dealing with is pseudo-actions.
14315
14316         * LyXAction.C (searchActionArg): change to return int instead of
14317         kb_action, since the result is a pseudoaction.
14318
14319 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14320
14321         * buffer.C (insertErtContents): Fix (partially) the font bug.
14322
14323 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14324
14325         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14326         as the other one is broken on my machine!
14327
14328 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14329
14330         * commandtags.h:
14331         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14332
14333 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14334
14335         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14336         reflect their actual use. Provide compatibility code for older lyxrc
14337         files.
14338
14339         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14340         FL_NORMAL_STYLE.
14341         change names of popup font variables in line with the changes to lyxrc.C
14342
14343 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14344
14345         * buffer.C (asciiParagraph): avoid outputing a word twice after
14346         an inset.
14347
14348         * lyxrc.C (getDescription): document that document_path and
14349         template_path can be empty.
14350
14351 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14352
14353         * LaTeXFeatures.C (getMacros):
14354         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14355
14356         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14357
14358         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14359         getPackages.
14360         (getPackages): rename feature "floats" to "float". Use an array to
14361         iterate over 'simple' features (i.e. just a \usepackage). Add
14362         handling of "amsmath" (renamed from "amsstyle").
14363
14364 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14365
14366         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14367         features list.
14368
14369 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14370
14371         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14372         FuncStaus::FuncStatus & FuncStaus::some_method().
14373
14374 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14375
14376         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14377         of the func_satus stuff. Edited and massaged in various ways by
14378         JMarc.
14379
14380         * lyxfunc.C (getStatus): use FuncStatus
14381
14382 2002-01-08  Juergen Vigna  <jug@sad.it>
14383
14384         * text.C (nextBreakPoint): use function Inset::isChar().
14385
14386         * paragraph.C (TeXOnePar): use function
14387         Inset::forceDefaultParagraphs.
14388
14389         * buffer.C (latexParagraphs): use function
14390         Inset::forceDefaultParagraphs.
14391
14392 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14393
14394         * lyx_gui.C (init): set the style of the menu popups to
14395         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14396
14397 2002-01-07  Juergen Vigna  <jug@sad.it>
14398
14399         * text.C (setHeightOfRow): small fix
14400         (prepareToPrint): don't look at alignment if we don't have the place
14401         for doing it.
14402
14403 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14404
14405         * box.C: New file. Move the Box methods and functions out of box.h,
14406         following Lars' suggestion.
14407
14408 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14409
14410         * box.h: #include "support/LOstream.h", needed for inlined function.
14411
14412         * lyxtextclass.C:
14413         * lyxtextclasslist.C: added some using std declarations.
14414
14415 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14416
14417         * box.h: make signed dimensions to allow insets wider than
14418           the screen (bug #162)
14419
14420         * BufferView_pimpl.C: add some insetHit debug
14421
14422 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14423
14424         * vc-backend.C: add FIXME
14425
14426 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14427
14428         * lyxfunc.C (getStatus): enable code for showing math font status
14429         in toolbar/menu.
14430
14431 2002-01-07  Juergen Vigna  <jug@sad.it>
14432
14433         * text.C (nextBreakPoint): removed debug output not needed anymore.
14434
14435 2002-01-06  Juergen Vigna  <jug@sad.it>
14436
14437         * text.C (nextBreakPoint): fixed up this function we had this bug
14438         since ever but now hopefully we break row better.
14439         (insertChar): we have to check if an inset is the next char as it
14440         could now happen that a large inset is causing a break.
14441
14442 2002-01-05  Juergen Vigna  <jug@sad.it>
14443
14444         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14445         if it doesn't like to be drawed.
14446
14447 2002-01-04  Juergen Vigna  <jug@sad.it>
14448
14449         * BufferView2.C (lockInset): forgot to set a cursor.
14450
14451         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14452
14453 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14454
14455         * FormMathsPanel.C:
14456         * FormMathsPanel.h
14457         * MathsSymbols.C:
14458         * form_maths_panel.C:
14459         * form_maths_panel.h:
14460         * form_maths_panel.fd: implemented sub- and super- buttons in math
14461         panel.
14462
14463         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14464         (or ^ space) to be used as in TeX (req'd by Andr�.
14465
14466         * lyxfunc.C: Allow ^ and _ again to be used both as
14467         super/subscript (mathed) and as themselves (in text).
14468
14469 2002-01-03  Allan Rae  <rae@lyx.org>
14470
14471         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14472         "LyX" or the filename of the current buffer if it has one.  This is a
14473         modified form of John Levon's patch.
14474
14475         * XFormsView.C (setWindowTitle): also set icon title.
14476
14477         * LyXView.h (setWindowTitle): signature changed.
14478         * XFormsView.h (setWindowTitle): ditto.
14479
14480 2002-01-02  Juergen Vigna  <jug@sad.it>
14481
14482         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14483
14484 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14485
14486         * screen.C (topCursorVisible): introduce a temp var for
14487         text->cursor.row(), handle the case where this row is null. (kindo
14488         hachish)
14489
14490         * text2.C (setCursor): add a couple of asserts.
14491
14492         * paragraph.h (inset_iterator): add -> operator
14493
14494         * paragraph.[Ch] (autoDeleteInsets): remove member function
14495
14496         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14497         cursor pos correctly and handle inset deletion by itself.
14498         (insertErrors): move iterator declaration out of for expression
14499
14500         * lyxtextclass.C: add <algorithm>
14501
14502         * Makefile.am: added the new files to sources, removed layout.C
14503
14504         * layout.C: removed file
14505
14506         * layout.h: remove LYX_DUMMY_LAYOUT
14507
14508         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14509         layout.
14510
14511         * lyxlayout.[Ch]:
14512         * lyxtextclass.[Ch]:
14513         * lyxtextclasslist.[Ch]: new files
14514
14515         * include order changes to a lot of files, also changes because of
14516         the six new files.
14517
14518 2001-12-27  Juergen Vigna  <jug@sad.it>
14519
14520         * buffer.C (asciiParagraph): more fixes.
14521
14522         * tabular.C (ascii): make ascii export support export of only the
14523         data separated by a column-delimiter.
14524         (ascii): better support for ascii export.
14525
14526         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14527
14528 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14529
14530         * tabular_funcs.C: use a "using std::getline" instead of the
14531         previous fix from Angus (necessary for cxx + lyxstring)
14532
14533 2001-12-24  Juergen Vigna  <jug@sad.it>
14534
14535         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14536
14537         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14538         problems. First check a minipage also if we have some ert-contents
14539         (not only on par->size(), second set the right depth of the paragraph
14540         on the relink to the root-paragraph-list!
14541
14542         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14543         which then did not anymore update the main paragraphs on undo/redo!
14544
14545 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14546
14547         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14548         code. Support all font-changing funcs (even those which are not in
14549         menu currently). Support for reporting font settings in
14550         mathed (disabled until Andre provides a function on mathed's side).
14551
14552         * func_status.h (toggle): small helper function to set toggle
14553         state on a flag.
14554
14555 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14556
14557         * tabular_funcs.C: getline -> std::getline
14558
14559 2001-12-21  Juergen Vigna  <jug@sad.it>
14560
14561         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14562         accessed and could be 0 (I couldn't generate this but it seems
14563         Michael could!).
14564
14565 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14566
14567         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14568         * tabular_funcs.h: here and include iosfwd
14569
14570 2001-12-20  Juergen Vigna  <jug@sad.it>
14571
14572         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14573         inside inset but undo_par was.
14574
14575 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14576
14577         * Thesaurus.C: always include <config.h> in sources.
14578
14579         * Painter.h:
14580         * lyxlookup.h:
14581         * box.h: do not include <config.h> in header files
14582
14583         * text.C (paintLastRow): remove unused variable
14584
14585         * text.C (transformChar):
14586         (insertChar):
14587         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14588
14589         * Painter.C (text):
14590         * font.C (width): rewrite to use uppercase() instead of
14591         islower/toupper.
14592
14593         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14594
14595 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14596
14597         * lyxfind.C: clean up of find failure position change
14598
14599 2001-12-20  Juergen Vigna  <jug@sad.it>
14600
14601         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14602
14603         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14604         (TeXRow): added to LaTeX a single tabular row.
14605         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14606         (Latex): simplified and finally good LT-h/f support.
14607         (various_functions): just small adaptions for LT-h/f support.
14608
14609         * tabular_funcs.[hC]: added and moved here all not classfunctions
14610         of LyXTabular.
14611
14612 2001-12-19  Juergen Vigna  <jug@sad.it>
14613
14614         * tabular.[Ch]: better support for longtabular options (not finished
14615         yet!)
14616
14617 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14618
14619         * text.C (paintLastRow): use the label font instead of the font of
14620         the last character to compute the size of *_BOX. This makes more
14621         sense and avoids a crash with empty paragraphs.
14622         Use Painter::rectangle to draw EMPTY_BOX.
14623
14624 2001-12-19  Juergen Vigna  <jug@sad.it>
14625
14626         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14627         the paragraphs if the replaced paragraph is not the first one!
14628         Tried to delete not used paragraphs but does not work yet so for
14629         now it's inside #ifdef's and by default off!
14630
14631 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14632
14633         * MenuBackend.C: include "lyx_main.h" instead of declaring
14634         lastfiles (actually was declared as LastFiles* instead of a
14635         scoped_ptr).
14636
14637 2001-12-17  Juergen Vigna  <jug@sad.it>
14638
14639         * tabular.C (AppendColumn): applied John's fix
14640
14641 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14642
14643         * BufferView.h:
14644         * BufferView.C:
14645         * BufferView_pimpl.h:
14646         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14647
14648         * Makefile.am:
14649         * box.h: new start of class for above
14650
14651         * lyxfunc.C: ignore space-only minibuffer dispatches.
14652           Show the command name when it doesn't exist
14653
14654         * minibuffer.C: don't add empty lines to the history
14655
14656         * minibuffer.C: add a space on dropdown completion
14657
14658 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14659
14660         * text.C: fix line above/below drawing in insets
14661
14662 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14663
14664         * lyxlength.C (LyXLength): Initialize private variables.
14665
14666 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14667
14668         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14669         when inserting error insets.
14670
14671 2001-12-13  Juergen Vigna  <jug@sad.it>
14672
14673         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14674         actually sometimes the before-paragraph.
14675         (setUndo): don't clear the redostack if we're not actually undoing!
14676
14677 2001-12-06  Juergen Vigna  <jug@sad.it>
14678
14679         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14680         and fixed redoing of main paragraph, so we can use it now ;)
14681
14682         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14683
14684 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14685
14686         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14687         Juergen's request
14688
14689 2001-12-13  André Pönitz <poenitz@gmx.net>
14690
14691         * undostack.[Ch]:
14692         * undo_func.C: minor cleanup
14693
14694 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14695
14696         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14697         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14698         font in urw-fonts package which is marked as -urw-fontspecific and
14699         does not work (incidentally, changing the encoding in the
14700         fonts.dir of this package to -adobe-fontspecific fixes the
14701         problem).
14702
14703         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14704         is a crash when undoing first paragraph (Juergen, please take a
14705         look). THis does not mean the undo fix is wrong, just that it
14706         uncovers problems.
14707
14708         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14709         the (Paragraph*) version when needed instead of duplicating the
14710         code.
14711
14712         * text.C (workWidth): use Inset::parOwner to find out where the
14713         inset has been inserted. This is a huge performance gain for large
14714         documents with lots of insets. If Inset::parOwner is not set, fall
14715         back on the brute force method
14716
14717         * paragraph_pimpl.C (insertInset):
14718         * paragraph.C (Paragraph):
14719         (cutIntoMinibuffer): set parOwner of insets when
14720         inserting/removing them
14721
14722         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14723
14724 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14725
14726         * commandtags.h:
14727         * LyXAction.C:
14728         * lyx_main.C:
14729         * lyxfunc.C:
14730         * mathed/formulabase.C:
14731         * mathed/math_cursor.[Ch]:
14732         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14733
14734
14735 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14736
14737         * lyxlength.[Ch] (operator!=): new function
14738
14739 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14740
14741         * text.C (workWidth): use Inset::parOwner to find out where the
14742         inset has been inserted. This is a huge performance gain for large
14743         documents with lots of insets. If Inset::parOwner is not set, fall
14744         back on the brute force method
14745
14746         * paragraph_pimpl.C (insertInset):
14747         * paragraph.C (Paragraph):
14748         (cutIntoMinibuffer): set parOwner of insets when
14749         inserting/removing them
14750
14751         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14752
14753 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14754
14755         * tabular-old.C (getTokenValue):
14756         * tabular.C (getTokenValue):
14757         (write_attribute): new versions for LyXLength
14758         (everywhere): adjust the use of widths
14759
14760         * tabular.h: change the type of widths from string to LyXLength
14761
14762 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14763
14764         * paragraph.C: fixed missing line number count when exporting
14765         Environments to LaTeX file
14766
14767         * buffer.C: added informational message for checking line numbers.
14768
14769 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14770
14771         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14772         paragraph, do the 'double space' part, but not the 'empty
14773         paragraph' one.
14774
14775         * text.C (workWidth): small optimization
14776         (getLengthMarkerHeight): use minimal size for negative lengths.
14777
14778 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14779
14780         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14781
14782         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14783
14784 2001-12-11  André Pönitz <poenitz@gmx.net>
14785
14786         * FontLoader.C:
14787         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14788
14789 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14790
14791         * text2.C: keep selection on a setFont()
14792
14793 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14794
14795         * lyx_cb.C: another bv->text misuse, from insert label
14796
14797 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14798
14799         * kbsequence.h:
14800         * kbsequence.C: re-instate nmodifier mask
14801
14802 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14803
14804         * lyx_main.h: make lyxGUI private.
14805
14806 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14807
14808         * lyxfind.C: place the cursor correctly on failed search
14809
14810 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14811
14812         * text.C (getLengthMarkerHeight): for small heights, the arrows
14813         are not always on top/bottom of the text
14814         (drawLengthMarker): smaller arrows; take the left margin in
14815         account; draw also vfills.
14816         (paintFirstRow):
14817         (paintLastRow): remove special code for vfill and standard spaces,
14818         since everything is handled in drawLengthMarker now.
14819
14820 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14821
14822         * buffer.C (insertErtContents): try to handle font and language
14823         interaction a bit better.g
14824
14825         * ColorHandler.C (updateColor): change the hash to cover the whole
14826         LColor enum, ws cleanup
14827         (getGCLinepars): ditto
14828         (getGCLinepars): only lookup in the linecache once.
14829
14830 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14831
14832         * iterators.C (operator++): Make the iterator more robust
14833
14834         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14835         (John's patch)
14836         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14837
14838 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14839
14840         * lyxtext.h:
14841         * text.C: better added space drawing
14842
14843 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14844
14845         * LyXView.C:
14846         * BufferView2.C: fix layout combo update on inset unlock
14847
14848 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14849
14850         * Makefile.am: don't compile unused files
14851
14852 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14853
14854         * lyxfunc.C:
14855         * commandtags.h:
14856         * LyXAction.C: remove old LFUN_LAYOUTNO
14857
14858 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14859
14860         * paragraph_pimpl.h:
14861         * paragraph_pimpl.C: isTextAt() doesn't need font param
14862
14863 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14864
14865         * lyxlex.h:
14866         * lyxlex.C: little cleanup
14867
14868 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14869
14870         * BufferView_pimpl.C: fix insertAscii for insets
14871
14872 2001-12-05  Juergen Vigna  <jug@sad.it>
14873
14874         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14875         set the right font on the "multi" paragraph paste!
14876
14877 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14878
14879         * trans_decl.h:
14880         * trans_mgr.[Ch]:
14881         * trans.[Ch]:
14882         * lyxgluelength.C:
14883         * lyxlength.C: remove out-commented code.
14884
14885         * BufferView_pimpl:
14886         * CutAndPaste.C:
14887         * DepTable.C:
14888         * buffer.C:
14889         * chset.C:
14890         * lastfiles.C:
14891         * lyxlex.C:
14892         * lyxlex_pimpl.C:
14893         * lyxserver.C:
14894         * screen.C:
14895         * tabular-old.C:
14896         * tabular.C:
14897         * text.C:
14898         * trans_mgr.C:
14899         * vc-backend.C: change "while(" to "while ("
14900
14901         * lyxlength.[Ch]: add zero function to check if length is zero or
14902         not
14903         * lyxgluelength.C: use it
14904
14905 2001-12-05  Allan Rae  <rae@lyx.org>
14906
14907         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14908         Works for 2.95.3, from what I understand of Garst's reports this should
14909         work for other g++ versions.  We're screwed if the abs(int) definition
14910         changed between bugfix releases of gcc.
14911
14912 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14913
14914         * text.C: fix chapter label offset !
14915
14916 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14917
14918         * lyxtext.h:
14919         * text.C: fix hfill at end of line, clean up
14920
14921 2001-12-04  Juergen Vigna  <jug@sad.it>
14922
14923         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14924         that we force an update of the inset and it's owners if neccessary.
14925
14926 2001-12-03  Juergen Vigna  <jug@sad.it>
14927
14928         * text.C (rowLast): simplified code
14929
14930 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14931
14932         * lyxfunc.C: fix show options on timeout
14933
14934 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14935
14936         * screen.C (topCursorVisible): scroll half a page when the cursor
14937         reached top of bottom of screen
14938
14939 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14940
14941         * minibuffer.C: deactivate on loss of focus
14942
14943 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14944
14945         * vspace.[Ch] (operator!=): add operator.
14946
14947 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14948
14949         * BufferView_pimpl.C: refuse to open an inset when
14950         there's a selection.
14951
14952 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14953
14954         * BufferView_pimpl.C: allow to click on RHS of full row insets
14955
14956 2001-11-30  Juergen Vigna  <jug@sad.it>
14957
14958         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14959         insets for undo reasons.
14960
14961 2001-11-28  André Pönitz <poenitz@gmx.net>
14962
14963         * vspace.[Ch]: cosmetical changes
14964
14965 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * LyXAction.h:
14968         * LyXAction.C:
14969         * lyxfunc.h:
14970         * lyxfunc.C:
14971         * kbmap.h:
14972         * kbmap.C:
14973         * lyxrc.C:
14974         * kbsequence.h:
14975         * kbsequence.C: part re-write of old kb code
14976
14977         * Painter.C:
14978         * WorkArea.C: remove Lgb_bug_find_hack
14979
14980 2001-11-30  José Matos <jamatos@fep.up.pt>
14981
14982         * buffer.C (makeDocBookFile): add a comment to point a hack.
14983         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14984         Fixed a double write of labels.
14985
14986 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14987
14988         * LaTeX.C:
14989         * LaTeX.h Fixed bug in LaTeX class where it would not
14990         re-run latex if no depfiles were changed, but the .dvi was removed.
14991
14992 2001-11-28  André Pönitz <poenitz@gmx.net>
14993
14994         * all the files from the change on 2001/11/26:
14995         use lyx::layout_type instead of LyXTextClass::size_type
14996         use lyx::textclass_type instead of LyXTextClassList::size_type
14997
14998 2001-11-29  Juergen Vigna  <jug@sad.it>
14999
15000         * text.C: added support for paragraph::isFreeSpacing()
15001
15002         * buffer.C: same as above
15003
15004         * paragraph.h: inserted isFreeSpacing() function to enable
15005         FreeSpacing inside InsetERT.
15006
15007         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15008         of the paragraph's in the cut/copy buffer to 0!
15009
15010         * text2.C (removeRow): remove the assert as it can!
15011
15012         * lyxtext.h: added helper function firstRow returning firstrow and
15013         made firstrow private again.
15014
15015         * BufferView2.C (lockInset): don't relock if we're already locked!
15016
15017         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15018         the only paragraph.
15019         (removeRow): added Assert::(firstrow)
15020
15021         * debug.C: forgot to add INSETTEXT here.
15022
15023 2001-11-28  Juergen Vigna  <jug@sad.it>
15024
15025         * sp_spell.C (initialize): changed error text to more general
15026         spellchecker command use (not only ispell!)
15027
15028         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15029
15030         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15031
15032 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15033
15034         * vspace.C: initialise lyxgluelength on failure
15035
15036 2001-11-28  Allan Rae  <rae@lyx.org>
15037
15038         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15039         declaration & definition that looks like a function declaration.
15040
15041 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15042
15043         * BufferView2.C (copy):
15044         (copyEnvironment): do not clear the selection when doing a copy.
15045
15046         * text.C (paintFirstRow): compilation fix
15047
15048 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15049
15050         * tabular.C (Latex): correct line count when writing latex.
15051
15052 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15053
15054         * paragraph_pimpl.h:
15055         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15056           bug a bit
15057
15058 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15059
15060         * text.C:
15061         * LColor.h:
15062         * LColor.C: change vfillline->added_space
15063
15064         * text.C: add markers and text for added space
15065
15066         * vspace.C: fix comment
15067
15068 2001-11-28  André Pönitz <poenitz@gmx.net>
15069
15070         * paragraph.C: whitespace changes
15071         * all the other files from the change on 2001/11/26:
15072         change *::pos_type into lyx::pos_type
15073
15074 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15075
15076         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15077         language of the document when inserting error insets.
15078
15079 2001-11-26  André Pönitz <poenitz@gmx.net>
15080
15081         * BufferView_pimpl.[Ch]:
15082         *       CutAndPaste.C:
15083         * buffer.[Ch]:
15084         * lyxcursor.[Ch]:
15085         * lyxfind.C:
15086         * lyxfunc.C:
15087         * lyxrow.[Ch]:
15088         * paragraph.[Ch]:
15089         * paragraph_pimpl.[Ch]:
15090         * sp_spell.C:
15091         * text.C:
15092         * text2.C: reduce header dependencies, introduce type for positions
15093
15094 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15095
15096         * <various>: change to use Alert.h
15097
15098 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15099
15100         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15101         when encountering an unknown token.
15102         (readLyXformat2): Show an error message if there were unknown tokens.
15103
15104 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15105
15106         * BufferView2.C:
15107         * BufferView_pimpl.C:
15108         * buffer.C:
15109         * paragraph.h:
15110         * text.C:
15111         * text2.C: use par->isInset()
15112
15113 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15114
15115         * paragraph_pimpl.h:
15116         * paragraph_pimpl.C: cleanup
15117
15118 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15119
15120         * text2.C (removeRow):
15121         * text.C (setHeightOfRow): remove useless (and costly) call to
15122         getRow.
15123
15124 2001-11-20  Allan Rae  <rae@lyx.org>
15125
15126         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15127         Now need Inset*::checkInsertChar() to return true for appropriate
15128         cases so that the characters in the minibuffer will actually be
15129         inserted.
15130
15131 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * text.C: change the order of the includes.
15134         (workWidth): initialize it at once.
15135         (workWidth): make maxw unsigned
15136         (setHeightOfRow): remove unused variable (inset)
15137         (selectSelectedWord): remove unused variable (inset)
15138         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15139
15140 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15141
15142         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15143         server is not running.
15144         (openConnection):
15145         (closeConnection): add debug info when server is disabled.
15146
15147         * ColorHandler.C (getGCForeground): send debug message to GUI
15148         channel.
15149
15150         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15151
15152         * kbmap.C (bind): modify because return conventions of
15153         kb_sequence::parse have changed.
15154
15155         * kbsequence.C (parse): only ignore spaces and not any stupid
15156         control character. This avoids tests like s[i] <= ' ', which are
15157         guaranteed to fail with 8bit characters and signed chars.
15158         Change return code to string::npos when there have been no error
15159         (0 was a bad idea when error is at first character)
15160
15161 2001-11-14  José Matos  <jamatos@fep.up.pt>
15162
15163         * buffer.h:
15164         * buffer.C (simpleDocBookOnePar): removed unused argument.
15165
15166 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15167
15168         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15169         insets which are part of a word. Paragraph::isLetter takes care of
15170         that now. Use Paragraph::isInset to identify insets.
15171         (selectSelectedWord): do not test for hyphenation break.
15172
15173         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15174         that protected spaces are considered as spaces.
15175
15176         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15177         Inset::isLetter.
15178
15179 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15180
15181         * lyxserver.h:
15182         * lyxserver.C: fix it. and small cleanup.
15183
15184 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15185
15186         * BufferView_pimpl.C: use inline helpers
15187
15188         * LaTeXFeatures.h:
15189         * LaTeXFeatures.C: fix typos
15190
15191         * Spacing.h:
15192         * Spacing.C: move spacing_string into class
15193
15194         * ToolbarDefaults.C: move stuff into namespace anon
15195
15196         * layout.h: update enum
15197
15198         * lyxfunc.C: use better debug
15199
15200         * minibuffer.h: fix typo
15201
15202         * debug.h:
15203         * debug.C:
15204         * WorkArea.C: add and use Debug::WORKAREA
15205
15206         * lyxtext.h:
15207         * text.C:
15208         * text2.C: code re-organisation, inline helpers
15209
15210 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15211
15212         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15213         std::vector.empty().
15214
15215 2001-11-09  Allan Rae  <rae@lyx.org>
15216
15217         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15218         '\n's after tables.  Tabular and ERT inset work now makes this no
15219         longer necessary.
15220
15221 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15222
15223         * minibuffer.h:
15224         * minibuffer.C: fix crash, improve drop-down completion
15225
15226 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15227
15228         * lyxserver.h:
15229         * lyxserver.C: invalidate fd's when doing endPipe()
15230
15231 2001-11-08  José Matos  <jamatos@fep.up.pt>
15232
15233         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15234         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15235
15236         * paragraph.h:
15237         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15238
15239 2001-11-07  José Matos  <jamatos@fep.up.pt>
15240
15241         * buffer.h:
15242         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15243         const qualifier.
15244
15245         * buffer.C (sgmlOpenTag):
15246         * buffer.C (sgmlCloseTag): removed debug info.
15247
15248         * buffer.h (sgmlOpenTag):
15249         * buffer.h (sgmlCloseTag): made public.
15250
15251 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15252
15253         * buffer.C (saveParamsAsDefaults):
15254         * lyx_cb.C (MenuLayoutSave): remove
15255
15256         * LyXAction.C (init):
15257         * commandtags.h:
15258         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15259
15260 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15261
15262         * buffer.C (setPaperStuff): removed from here...
15263
15264         * bufferparams.C (setPaperStuff): ... and moved there.
15265
15266 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15267
15268         * minibuffer.h:
15269         * minibuffer.C:
15270         * XFormsView.C: add support for drop-down completion
15271
15272 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15273
15274         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15275         commands.
15276
15277 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15278
15279         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15280         disabled.
15281
15282 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15283
15284         * lyx_main.C: change ref to known bugs
15285
15286 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15287
15288         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15289         to work around older babel problems.
15290
15291 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15292
15293         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15294
15295 2001-10-24  Juergen Vigna  <jug@sad.it>
15296
15297         * tabular-old.C (ReadOld): below variable changes reflected.
15298
15299         * tabular.[Ch]: added ltType struct for longtable header/footer
15300         defines and changed all instances where they are used. Added
15301         future support for double top/bottom rows.
15302
15303 2001-10-24  José Matos  <jamatos@fep.up.pt>
15304
15305         * buffer.h (docbookHandleCaption):
15306         * buffer.C (docbookHandleCaption): removed unused function.
15307         (makeDocBookFile): moved docbook supported version to v4.1.
15308
15309 2001-10-24  José Matos  <jamatos@fep.up.pt>
15310
15311         * tabular.h:
15312         * tabular.C (docbookRow): new function to export docbook code of a row.
15313         (DocBook): now honors the longtable flags.
15314
15315 2001-10-23  José Matos  <jamatos@fep.up.pt>
15316
15317         * LaTeXFeatures.h:
15318         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15319         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15320
15321         * buffer.C (makeLinuxDocFile):
15322         (makeDocBookFile): reworked the preamble, more clean, and with
15323         support for lyx defined entities. Changed the document declaration
15324         to be more XML friendly.
15325
15326         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15327         if we need to output XML that should be done with a filter.
15328
15329 2001-10-22  Juergen Vigna  <jug@sad.it>
15330
15331         * sp_pspell.h (class PSpell): add alive function needed in the
15332         controller to see if the spellchecker could be started.
15333
15334 2001-10-22  Juergen Vigna  <jug@sad.it>
15335
15336         * buffer.C (insertStringAsLines): modify the font for inserting
15337         chars in certain conditions by calling checkInsertChar(font).
15338
15339 2001-10-19  Juergen Vigna  <jug@sad.it>
15340
15341         * text.C (workWidth): use getRow instead of wrong algorithm.
15342         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15343
15344 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15345
15346         * lyxserver.h:
15347         * lyxserver.C:
15348         * lyx_main.h:
15349         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15350
15351 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15352
15353         * text.C (workWidth): do not search for the exact row when
15354         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15355         optimization for big documents.
15356
15357 2001-10-18  Juergen Vigna  <jug@sad.it>
15358
15359         * text.C (workWidth): new function with added Inset * parameter.
15360
15361 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15362
15363         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15364
15365         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15366         change return type of getColumnNearX.
15367
15368
15369         * text.C (changeRegionCase): use uppercase/lowercase instead of
15370         toupper/tolower.
15371         (leftMargin):
15372         (rightMargin): simplify code by factoring out the uses of
15373         textclasslist.
15374         (labelFill):
15375         (numberOfHfills):
15376         (setHeightOfRow):
15377         (appendParagraph): use Paragraph::size_type
15378
15379 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * vspace.C (asLatexString): add a missing break
15382
15383 2001-10-15  Herbert Voss  <voss@perce.de>
15384
15385         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15386
15387 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15388
15389         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15390         is not available.
15391
15392 2001-10-10  André Pönitz <poenitz@gmx.net>
15393
15394         * lyxfunc.C: removed greek_kb_flag.
15395
15396 2001-10-10  Herbert Voss  <voss@perce.de>
15397
15398         * lyx_main.C: delete global string help_lyxdir.
15399
15400 2001-10-09  Herbert Voss  <voss@perce.de>
15401
15402         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15403
15404         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15405
15406         * lyx_main.C: added global string help_lyxdir.
15407
15408         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15409
15410 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15411
15412         * lyxrc.C (set_font_norm_type): support iso8859-4
15413
15414 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15415
15416         * LaTeX.C (deplog): add another regex for MikTeX
15417
15418 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15419
15420         * lyxrc.C (set_font_norm_type): support iso8859-3
15421
15422 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15423
15424         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15425
15426         * LaTeXFeatures.C: remove special case of french and index
15427
15428         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15429         before \begin{document}). This solves several incompatibilities.
15430
15431 2001-10-03  Garst Reese  <reese@isn.net>
15432
15433         * lyx_cb.C: change CheckTex error msg.
15434
15435 2001-10-03  José Matos  <jamatos@fep.up.pt>
15436
15437         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15438
15439 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15440
15441         * .cvsignore: update
15442
15443         * lyx_main.C (commandLineVersionInfo): use new style version info.
15444
15445         * buffer.C (writeFile):
15446         (makeLaTeXFile):
15447         (makeLinuxDocFile):
15448         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15449
15450         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15451
15452         * version.h: update to use stuff in version.C
15453
15454         * version.C.in: new file. Contains version information determined
15455         at compile time. This is a merging of version.h and
15456         version_info.h.in.
15457
15458 2001-10-03  Juergen Vigna  <jug@sad.it>
15459
15460         * BufferView_pimpl.C (update): don't change "dirty" status in
15461         updateInset call.
15462
15463 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15464
15465         * WorkArea.C (c-tor): re-position version string slightly.
15466
15467 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15468
15469         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15470         revert to previous code.
15471
15472         WorkArea.[Ch]: (show, destroySplash): methods removed.
15473
15474         WorkArea.C: rework code so that it's an amalgam of the codes before and
15475         after the splash screen was moved to WorkArea.
15476
15477 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15478
15479         * lyxrc.C (read):
15480         * vspace.C (inPixels):
15481         (lyx_advance):
15482         * kbmap.C (bind):
15483         * buffer.C (insertStringAsLines):
15484         (asciiParagraph): fix types to be large enough
15485
15486         * lyxlex_pimpl.h: change member status from short to int
15487
15488         * layout.h: fix type of endlabeltype
15489
15490         * kbmap.C (bind):
15491         * kbsequence.C (parse): change return type to string::size_type
15492
15493         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15494         variable
15495
15496         * Bullet.C (bulletSize):
15497         (bulletEntry): do not use short ints as parameters
15498
15499         * BufferView2.C (insertLyXFile): change a char to an int.
15500
15501         * WorkArea.C (WorkArea): remove unneeded floats in computation
15502
15503 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15504
15505         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15506
15507         * paragraph.C (asString): Do not ignore newline/hfill chars when
15508         copying to the clipboard.
15509
15510 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15511
15512         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15513         after a multi-line inset.
15514
15515 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15516
15517         * paragraph.C (validate): Set NeedLyXFootnoteCode
15518
15519 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15520
15521         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15522         and decrease-error to decrease.
15523
15524 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15525
15526         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15527         it more readable (should be equivalent)
15528
15529 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15530
15531         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15532
15533 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15534
15535         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15536         of a cursor (row, etc.) after a character has been deleted
15537         (deleteEmptyParagraphMechanism): call the method above on _all_
15538         cursors held by the LyXText when a double space has been
15539         detected/deleted.
15540
15541 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15542
15543         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15544         pixmap.
15545         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15546
15547         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15548         background. Use greyOut() and the new show() methods to toggle between
15549         the foreground and background. Add code to remove the splash after
15550         its initial showing.
15551
15552         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15553         (create_forms): no longer call Dialogs::showSplash.
15554
15555 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15556
15557         * .cvsignore: add version_info.h
15558
15559 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15560
15561         * version_info.h.in: new file
15562
15563         * Makefile.am: add version_info.h.in
15564
15565         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15566         version_info.h instead of VERSION_INFO
15567
15568 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15569
15570         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15571         The ERT inset now returns string().
15572
15573 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15574
15575         * lyxtext.h, text.C (selectNextWord): renamed as
15576         selectNextWordToSpellcheck.
15577
15578         * text.C (selectNextWordToSpellcheck): Modified to not select
15579         words inside an ERT inset.
15580
15581 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15582
15583         * lyx_cb.C (MenuLayoutSave): change a bit the question
15584
15585         * sp_base.h: include <sys/types.h>
15586
15587 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15588
15589         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15590
15591 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15592
15593         * several files: fix typos in user-visible strings
15594
15595 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15596
15597         * text2.C (pasteSelection): do not set the selection, since it
15598         will be cleared later. Actually, the intent was to fix the way the
15599         selection was set, but I figured rmoving the code was just as good.
15600
15601 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15602
15603         * FontLoader.C (available): Check if font is available without
15604         loading the font.
15605
15606 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15607
15608         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15609
15610 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15611
15612         * lyxrc.[Ch]: added display_graphics variable and associated code.
15613
15614 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15615
15616         * bufferparams.C (hasClassDefaults): new method. Returns true if
15617         the buffer parameters correspond to known class defaults
15618
15619 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15620
15621         * XFormsView.C (show): set minimum size to the main window.
15622
15623 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15624
15625         * text2.C (copySelection):
15626         (cutSelection):
15627         * lyxfind.C (LyXReplace):
15628         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15629         LyXText::selectionAsString.
15630
15631         * paragraph.C (asString): add "label" argument to the second form
15632
15633         * text2.C (selectionAsString): add "label" argument and pass it to
15634         Paragraph::asString.
15635
15636 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15637
15638         * lyx_main.C (commandLineHelp): remove version information
15639
15640 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15641
15642         * lyx_main.C: add -version commandline option
15643
15644 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15645
15646         * paragraph.h: make the optional constructor arg required instead.
15647         some modifications to other files because of this.
15648
15649         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15650
15651         * lyxserver.C (C_LyXComm_callback): make it static
15652
15653         * lyx_main.C (error_handler): make it static
15654
15655         * lyx_gui.C (LyX_XErrHandler): make it static
15656
15657         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15658
15659         * WorkArea.C: make the extern "C" methods static.
15660
15661         * Makefile.am (lyx_LDADD): simplify
15662
15663 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15664
15665         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15666         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15667
15668         * LyXAction.C (init):
15669         * lyxfunc.C (dispatch): associated code removal.
15670
15671 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15672
15673         * lyxfont.h (isSymbolFont): shut off warning
15674
15675         * text.C (setHeightOfRow):
15676         (getVisibleRow): fix crash with empty paragraphs which have a
15677         bottom line
15678
15679 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15680
15681         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15682         code.
15683
15684 2001-09-04  José Matos  <jamatos@fep.up.pt>
15685         * buffer.C
15686         * buffer.h
15687         * tabular.C (docbook): rename docBook method to docbook.
15688
15689 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15690
15691         * Makefile.am: add dependencies to main.o.
15692
15693 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15694
15695         * FontLoader.C (available): Return false if !lyxrc.use_gui
15696
15697 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15698
15699         * FontInfo.C (query):
15700         * converter.C (view):
15701         * importer.C (Import):
15702         * exporter.C (Export): Can not -> cannot.
15703
15704 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15705
15706         * BufferView_pimpl.C: allow to create index inset even if
15707           string is empty
15708
15709 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15710
15711         * buffer.C (getLists): replace boost::tie code with an explicit pair
15712         as boost::tie can break some compilers.
15713
15714         * iterators.h: Added a std:: declaration to the return type of
15715         ParIterator::size.
15716
15717 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15718
15719         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15720           case.
15721
15722 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15723
15724         * iterators.[Ch]: New files. Provide paragraph iterators.
15725
15726         * buffer.C (changeLanguage): Use paragraph iterators.
15727         (isMultiLingual): ditto
15728
15729         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15730
15731 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15732
15733         * FontLoader.C: Support for cmr font.
15734
15735 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15736
15737         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15738         (available): New method.
15739
15740         * FontInfo.C (getFontname): Use scalable fonts even when
15741         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15742         found.
15743
15744 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15745
15746         * converter.C (Formats::view): reverted! Incorrect fix.
15747
15748 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15749
15750         * converter.C (Formats::view): only output the -paper option
15751         if the dvi viewer is xdvi, thereby fixing bug #233429.
15752
15753 2001-08-23  Herbert Voss  <voss@perce>
15754
15755         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15756
15757 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15758
15759         * Spacing.h (Spacing): Set space to Default on in the default
15760         constructor.
15761
15762 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15763
15764         * vc-backend.h (RCS::versionString): add RCS to version
15765         (CVS::versionString): add CVS to version
15766
15767         * vc-backend.C (scanMaster): do not add CVS to version.
15768         (scanMaster): do not add RCS to version
15769
15770         * lyxvc.C (versionString): new method
15771
15772         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15773
15774 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15775
15776         * Spacing.C (set): initialize fval
15777
15778 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15781         " or \.
15782
15783 2001-08-16  Juergen Vigna  <jug@sad.it>
15784
15785         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15786
15787 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15788
15789         * BufferView_pimpl.C:
15790         * figureForm.C:
15791         * lyxtext.h:
15792         * text2.C: setParagraph takes linespacing now
15793
15794 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15795
15796         * LyxAction.C: add internal LFUN_CITATION_INSERT
15797
15798         * LyXView.C: actually apply fix
15799
15800         * bufferlist.C: fix open non-existent file
15801
15802         * lyxfind.C: fix indentation
15803
15804         * lyxfunc.C: remove unneeded assert, fix typo
15805
15806 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15807
15808         * MenuBackend.C: use "Floatname List"
15809
15810 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15811
15812         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15813         when converting LaTeX layout to insetERT.
15814         Generate a non-collapsed float when reading old float
15815
15816 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15817
15818         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15819         ERT insets.
15820
15821 2001-08-13  Juergen Vigna  <jug@sad.it>
15822
15823         * text.C (fill): return 0 instead of 20 as this seems to be the more
15824         correct value.
15825
15826 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15827
15828         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15829         lyxrc.font_norm.
15830
15831 2001-08-13  Juergen Vigna  <jug@sad.it>
15832
15833         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15834         casesensitive off.
15835         (SearchBackward): comment out the unlocking of the inset_owner this
15836         should not be needed!
15837
15838 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15839
15840         * Many files: Remove inherit_language, and add latex_language
15841
15842         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15843         collapsible insets.
15844
15845 2001-08-10  Juergen Vigna  <jug@sad.it>
15846
15847         * text.C (prepareToPrint): fixed hfill-width in draw!
15848
15849         * BufferView2.C (selectLastWord): save the selection cursor as this
15850         now is cleared in the function LyXText::clearSelection!
15851
15852 2001-08-08  Juergen Vigna  <jug@sad.it>
15853
15854         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15855         BACKSPACE type functions.
15856
15857         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15858         is only cutted from the document but not put in the cut-buffer, where
15859         still the old stuff should be.
15860
15861         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15862
15863         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15864
15865         * tabular.C (SetWidthOfCell): fixed special case where the width
15866         was not updated!
15867         (LeftLine): handle '|' in align_special.
15868         (RightLine): ditto
15869         (LeftAlreadyDrawed): ditto
15870         (SetWidthOfCell): ditto
15871
15872 2001-08-07  Juergen Vigna  <jug@sad.it>
15873
15874         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15875
15876 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15877
15878         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15879         * lyxlex.[hC]: ditto
15880
15881 2001-08-06  Juergen Vigna  <jug@sad.it>
15882
15883         * text.C (getVisibleRow): fix up row clearing a bit.
15884
15885 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15886
15887         * minibuffer.C: make sure the X server sees the changes in the input.
15888
15889 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15890
15891         * paragraph.C (getFont): split into...
15892         (getLabelFont): this
15893         (getLayoutFont): and this
15894         * paragraph_pimpl.C (realizeFont): calling this
15895
15896         * text2.C (getFont): split into...
15897         (getLayoutFont): this
15898         (getLabelFont): and this
15899         (realizeFont): all three calling this
15900
15901         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15902         files where used.
15903
15904 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15905
15906         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15907
15908 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15909
15910         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15911         layouts from the Quote inset insertion.
15912
15913 2001-08-03  Juergen Vigna  <jug@sad.it>
15914
15915         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15916
15917         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15918         only if status not is already CHANGED_IN_DRAW (second level).
15919
15920         * text.C (draw): don't set the need_break_row when inside an
15921         InsetText LyXText.
15922
15923 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15924
15925         * buffer.C (parseSingleLyXformat2Token): handle more latex
15926         conversion cases.
15927
15928         * bufferview_funcs.[hC]: change function names to
15929         begin with small char, adjust other files.
15930
15931 2001-08-02  André Pönitz <poenitz@gmx.net>
15932
15933         * lyxfunc.C:
15934         BufferView_pimpl.C: remove broken special code for math-greek
15935
15936 2001-08-02  Juergen Vigna  <jug@sad.it>
15937
15938         * BufferView_pimpl.C (update): redone this function so that we
15939         update the text again if there was a CHANGE_IN_DRAW.
15940
15941         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15942         (drawFromTo): added a new internal bool which is used by draw() and
15943         redraw() function.
15944         (general): some cursor drawing problems fixed.
15945
15946 2001-08-01  Juergen Vigna  <jug@sad.it>
15947
15948         * lyxfind.C (LyXFind): fixed
15949         (SearchForward): ditto
15950         (SearchBackward): ditto
15951
15952         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15953         spurius drawing of the cursor in the main area.
15954
15955         * text2.C (status): small fix which could lead to a segfault!
15956         (clearSelection): remove unneeded BufferView param.
15957
15958 2001-08-01  André Pönitz <poenitz@gmx.net>
15959
15960         * lyxfunc.C: small change due to changed mathed interface
15961
15962 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15963
15964         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15965
15966 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15967
15968         * lyxfunc.c: fail gracefully if file doesn't exist
15969
15970         * LyXSendto.C:
15971         * buffer.C:
15972         * lyxfunc.C:
15973         * BufferView_pimpl.C: IsDirWriteable() proto changed
15974
15975         * LyXView.C: fix updateWindowTitle() to store the last title
15976
15977 2001-07-31  Juergen Vigna  <jug@sad.it>
15978
15979         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15980         the font (wrong since using of Paragraph::highestFontInRange).
15981
15982         * paragraph.C (highestFontInRange): added a default_size parameter.
15983
15984         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15985         (setHeightOfRow): reformat
15986
15987 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15988
15989         * converter.[hC] + affected files: move to (inital-char)lowercase
15990         function names.
15991
15992         * ParagraphParameters.C (ParagraphParameters): remove commented code
15993
15994         * PainterBase.[Ch]: remove commented code
15995
15996         * LaTeXFeatures.h: add "bool floats" for float.sty
15997
15998         * LaTeXFeatures.C (LaTeXFeatures): init floats
15999         (require): handle float
16000         (getPackages): do it with floats
16001
16002 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16003
16004         * BufferView_pimpl.C (Dispatch): improve handling of
16005         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16006
16007         * commandtags.h: #include lyxfont.h here temporarily to avoid
16008         keybinding bug.
16009
16010         * bufferlist.h: include LString.h here.
16011
16012 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16013
16014         * text2.C (getStringToIndex): new method.
16015
16016 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16017
16018         * *: Reduced header file dependencies all over.
16019
16020 2001-07-30  Baruch Even  <baruch@lyx.org>
16021
16022         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16023
16024 2001-07-29  Baruch Even  <baruch@lyx.org>
16025
16026         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16027
16028 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16029
16030         * ParameterStruct.h (endif): add a default constructor to make
16031         sure that all variables is initialized.
16032
16033         * ParagraphParameters.C (ParagraphParameters): adjust
16034
16035 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16036
16037         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16038         index; also, check that there is something to index, and that it
16039         does not span over several paragraphs.
16040         (doubleClick): use WHOLE_WORD_STRICT for double click.
16041
16042         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16043
16044         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16045         scheme.
16046
16047 2001-07-26  Baruch Even  <baruch@lyx.org>
16048
16049         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16050         an InsetFig figure, backwards compatible reading of old figure code.
16051
16052 2001-07-27  Juergen Vigna  <jug@sad.it>
16053
16054         * text2.C: font.realize function adaption.
16055
16056         * text.C (draw): add a warnings lyxerr text if needed.
16057
16058         * layout.C: font.realize function adaption.
16059
16060         * language.C: add inherit_language and implement it's handlings
16061
16062         * bufferview_funcs.C (StyleReset): remove language parameter from
16063         font creation (should be language_inherit now).
16064
16065         * bufferparams.C (writeFile): handle ignore_language.
16066
16067         * paragraph.C (getFontSettings): the language has to be resolved
16068         otherwise we have problems in LyXFont!
16069
16070         * lyxfont.C (lyxWriteChanges): added document_language parameter
16071         (update): removed unneeded language parameter
16072
16073         * paragraph.C (validate): fixed wrong output of color-package when
16074         using interface colors for certain fonts in certain environments,
16075         which should not seen as that on the final output.
16076
16077 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16078
16079         * BufferView_pimpl.C:
16080         * Thesaurus.h:
16081         * Thesaurus.C:
16082         * Makefile.am:
16083         * commandtags.h:
16084         * LyXAction.C: add thesaurus support
16085
16086         * lyxfind.h:
16087         * lyxfind.C: add "once" parameter, for thesaurus, to not
16088           move to the next match
16089
16090 2001-07-26  Juergen Vigna  <jug@sad.it>
16091
16092         * lyxfont.C (realize): honor ignore_language too!
16093         (resolved): ditto.
16094
16095         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16096
16097         * text.C (draw): one place more for ignore_language to not draw
16098         itself!
16099
16100 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16101
16102         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16103
16104 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16105
16106         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16107         the minipage conversion problem.
16108
16109 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16110
16111         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16112         insert an inset.
16113
16114 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16115
16116         * BufferView.h: don't forward declare WorkArea
16117
16118         * BufferView.C: don't include WorkArea.h
16119
16120 2001-07-25  André Pönitz <poenitz@gmx.net>
16121
16122         * commandtags.h:
16123         * LyXAction.C:
16124         * lyxfunc.C:  new LFUN 'math-space'
16125
16126         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16127
16128 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16129
16130         * text2.C (toggleInset): call open/close
16131
16132 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16133
16134         * lyxfunc.C (dispatch): add debug for the disabled case
16135
16136         * font.C (buttonText): make similar to rectText
16137
16138         * buffer.C (readInset): comment out parsing of insetlist and
16139         insttheorem
16140
16141         * PainterBase.C (rectText): small correction
16142
16143         * BufferView_pimpl.C: comment out insettheorem and insetlist
16144         * LyXAction.C: ditto
16145         * commandtags.h: ditto
16146
16147 2001-07-24  Juergen Vigna  <jug@sad.it>
16148
16149         * text.C (draw): honor the ignore_language.
16150
16151         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16152
16153 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16154
16155         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16156         char inset.
16157
16158 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16159
16160         * lyxtext.h: remove unused (and unimplemented) methods
16161
16162 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16163
16164         * text.C (getVisibleRow): honor background color
16165
16166         * PainterBase.h:
16167         * Painter.h: remove default color argument for fillRectangle
16168
16169         * text.C (backgroundColor): new method
16170
16171 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16172
16173         * text.C (getVisibleRow): adjust
16174
16175         * font.[Ch] (rectText): new method, metrics
16176         (buttonText): new method, metrics
16177
16178         * PainterBase.[hC]: make rectText and buttonText always draw and take
16179         fewer paramteres.
16180
16181 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16182
16183         * ToolbarDefaults.C (read):
16184         * MenuBackend.C (read): allow escaping in all strings
16185
16186         * BufferView_pimpl.C (insertAndEditInset): new method.
16187         (Dispatch): use insertAndEditInset whenever appropriate.
16188
16189         * BufferView_pimpl.C (insertNote): removed
16190
16191         * BufferView_pimpl.C (smartQuote): new method, moved from
16192         BufferView; if an insetquote cannot be inserted, insert a '"'
16193         character instead.
16194
16195         * BufferView2.C: remove insertCorrectQuote();
16196
16197         * lyxfunc.C (getStatus): Add support for all remaingin
16198         inset-insert lfuns.
16199
16200         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16201
16202         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16203         command (necessary to pass " as parameter of self-insert.
16204
16205         * text.C (selectWordWhenUnderCursor):
16206         (selectWord): add word_location parameter
16207         (selectWordWhenUnderCursor): same + remove special code for word
16208         boundary.
16209         (selectNextWord): use kind() to guess type of insetspecialchar,
16210         not latex().
16211
16212         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16213         (insertErtContents): create ert insets as collapsed.
16214         (readInset): better compatibility code for Info inset.
16215
16216 2001-07-20  Juergen Vigna  <jug@sad.it>
16217
16218         * lyxfunc.C (dispatch): use always LyXFind now!
16219
16220         * text2.C (init): add a reinit flag so that the LyXText can be
16221         reinited instead of deleted and reallocated (used in InsetText).
16222
16223         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16224
16225         * text.C: ditto
16226
16227         * text2.C: ditto
16228
16229 2001-07-18  Juergen Vigna  <jug@sad.it>
16230
16231         * text.C (selectNextWord): handle insets inside inset by calling
16232         always the bv->text functions so that we can go up the_locking_inset!
16233
16234         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16235         in strange locations when inside an inset!
16236
16237         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16238         handling to include insets.
16239
16240         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16241
16242 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16243
16244         * LyXAction.C (init):
16245         * commandtags.h:
16246         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16247         LIGATURE_BREAK, since the name is so stupid.
16248
16249 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16250
16251         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16252         InsetInfos.
16253
16254         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16255
16256         * sp_form.[Ch]: remove.
16257
16258         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16259
16260         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16261         InsetInfo.
16262
16263         * src/buffer.C (readInset): ditto.
16264
16265 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16266
16267         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16268         menuSeparator(), endOfSentenceDot(), ldots() and
16269         hyphenationPoint(), which are therefore removed.
16270         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16271
16272         * LyXAction.C (init):
16273         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16274
16275         * paragraph.C (getWord): removed.
16276
16277         * BufferView_pimpl.C (Dispatch): use last word or selection for
16278         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16279
16280         * lyx_main.C (queryUserLyXDir): do not ask before creating
16281         user_dir, except if it has been named explicitely.
16282
16283 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16284
16285         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16286         a document of zero size.
16287
16288 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16289
16290         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16291         approriately in the c-tor and in require().
16292         (getPackages): output the appropriate LaTeX for natbib support.
16293
16294         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16295         variables "use_natbib" and "use_numerical_citations" when reading the
16296         LyX file.
16297         (readInset): read the various natbib cite commands.
16298         (validate): white-space change.
16299
16300         * bufferparams.[Ch]: new variables "bool use_natbib" and
16301         "bool use_numerical_citations".
16302         (writeFile): output them in the LyX file.
16303
16304 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16305
16306         * lyxfunc.C (getStatus): add support for all the inset insertion
16307         commands.
16308
16309         * text2.C (insertInset):
16310         * paragraph.C (insetAllowed):
16311         * BufferView_pimpl.C (insertInset): update to take in account the
16312         renaming of insertInsetAllowed
16313
16314         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16315
16316         * text2.C (getInset): new method. returns inset at cursor position.
16317
16318         * BufferView_pimpl.C (Dispatch): changes because of this.
16319
16320         * LyXAction.C (init): rename open-stuff to inset-toggle.
16321
16322         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16323
16324         * text2.C (toggleInset): renamed from openStuff; use
16325         Inset::open().
16326
16327 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16328
16329         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16330
16331         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16332
16333 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16334
16335         * buffer.C (readLyXformat2): Add filename to the error dialog
16336
16337 2001-07-18  Juergen Vigna  <jug@sad.it>
16338
16339         * tabular.C (GetCellNumber): put an assert here instead of the check!
16340
16341 2001-07-17  Juergen Vigna  <jug@sad.it>
16342
16343         * BufferView_pimpl.C (toggleSelection): adapted too.
16344
16345         * text.C (selectNextWord): adapted for use with insets.
16346         (selectSelectedWord): ditto
16347
16348 2001-07-17  Juergen Vigna  <jug@sad.it>
16349
16350         * sp_spell.C (PSpell): fix initialitation order.
16351
16352 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16353
16354         * paragraph.C: spacing
16355
16356 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16357
16358         * sp_spell.C: repair language selection for pspell
16359
16360 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16361
16362         * lyxfunc.h: change more methods to begin with lower char.
16363
16364 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16365
16366         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16367         for unknown layouts.
16368
16369 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16370
16371         * buffer.C (readLyXformat2): Generate an error dialog if there are
16372         unknown layouts.
16373
16374 2001-07-16  Juergen Vigna  <jug@sad.it>
16375
16376         * sp_spell.C: always compile ISpell part.
16377
16378         * lyxrc.C: added use_pspell entry and it's handling.
16379
16380 2001-07-13  Juergen Vigna  <jug@sad.it>
16381
16382         * sp_spell.C: removed double includes.
16383
16384 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16385
16386         Consistent use of Lsstream.h:
16387         * Lsstream.h: added using std::stringstream for consistencies sake.
16388
16389         * buffer.C: removed using std::stringstream
16390
16391         * lyxfont.C (stateText):
16392         * paragraph.C (asString):
16393         * text.C (selectNextWord, selectSelectedWord):
16394         * text2.C (setCounter):
16395         * vspace.C (asString, asLatexString):
16396         std::ostringstream -> ostringstream.
16397
16398 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16399
16400         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16401         * commandtags.h: add LFUN_HELP_ABOUTLYX
16402         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16403
16404 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16405
16406         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16407         cursorToggle()
16408         * lyx_gui_misc.C: remove spellchecker
16409         * lyxfunc.C: showSpellchecker
16410         * sp_base.h: added
16411         * sp_ispell.h: added
16412         * sp_pspell.h: added
16413         * sp_spell.C: added
16414         * sp_form.[Ch]: removed
16415         * spellchecker.[Ch]: removed
16416
16417 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16418
16419         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16420         is set.
16421         (simpleTeXSpecialChars): Simply print the input character without
16422         any special translation if pass_thru is set.
16423
16424         * layout.h: Added bool pass_thru to layout class for being able to
16425         implement pass through of a paragraph for Literate Programming.
16426
16427         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16428         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16429         * layout.C (Read): add "passthru" to list of layout tags and add
16430         code to set the pass_thru boolean when it is read.
16431
16432 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16433
16434         * trans_decl.h: remove allowed from KmodInfo
16435
16436         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16437         remove allowed code
16438         (Load): adjust
16439
16440         * paragraph_pimpl.C (erase): use boost::prior
16441
16442         * Painter.C (text): use data() instead of c_str() when length is
16443         also provided.
16444         * WorkArea.C (putClipboard): ditto
16445         * font.h (width): ditto
16446
16447         * BufferView2.C: use it-> instead of (*it). for iterators
16448         * texrow.C: ditto
16449         * paragraph_pimpl.C: ditto
16450         * paragraph.C: ditto
16451         * minibuffer.C: ditto
16452         * language.C: ditto
16453         * kbmap.C: ditto
16454         * encoding.C: ditto
16455         * counters.C: ditto
16456         * converter.C: ditto
16457         * chset.C: ditto
16458         * Variables.C: ditto
16459         * TextCache.C: ditto
16460         * MenuBackend.C: ditto
16461         * LyXAction.C: ditto
16462         * LColor.C: ditto
16463         * FloatList.C: ditto
16464         * DepTable.C: ditto
16465         * ColorHandler.C (LyXColorHandler): ditto
16466
16467 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16468
16469         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16470
16471         * text2.C (openStuff): reintroduce this method (which had been
16472         nuked in NEW_INSETS frenzy).
16473
16474         * lyxfunc.C (Dispatch): when an action has not been handled, use
16475         its name in the error message, not its number.
16476
16477         * paragraph.C (inInset): change method name to begin with lowercase.
16478
16479         * undo_funcs.C:
16480         * text2.C: updates because of this.
16481
16482 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16483
16484         * ToolbarDefaults.C (add): add spaces in error message
16485
16486 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16487
16488         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16489         (readLyXformat2): rename return_par to first_par, use lyxlex's
16490         pushToken and remove the manual push handling.
16491         (parseSingleLyXformat2Token): add another ert comp. variable:
16492         in_tabular, rename return_par to first_par. handle newlines better
16493
16494 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16495
16496         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16497
16498 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16499
16500         * text2.C (getParFromID): removed
16501
16502         * buffer.C (getParFromID): new method moved form lyxtext.
16503         * BufferView2.C (insertErrors): adjust
16504         (setCursorFromRow): adjust
16505         * BufferView_pimpl.C (restorePosition): adjust
16506         * lyxfunc.C (Dispatch): adjust
16507         * undo_funcs.C (textUndo): adjust
16508         (textRedo): adjust
16509         (textHandleUndo): adjust
16510         (textHandleUndo): adjust
16511
16512 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16513
16514         * buffer.C: up' the LYX_FORMAT
16515
16516         * lyxfont.h: turn NO_LATEX on as default
16517
16518         * buffer.C (insertErtContents): new methods of tex style compability.
16519         (parseSingleLyXformat2Token): use it several places.
16520         * tabular.C (OldFormatRead): and here
16521
16522 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16523
16524         * text2.C: remove some commented code.
16525         reindent file.
16526
16527         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16528         * trans.C: changes because of the above.
16529
16530 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16531
16532         * text2.C (setCounter): Fix counters bug with bibliography layout.
16533
16534 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16535
16536         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16537         own member functions
16538         (simpleTeXSpecialChars): ditto
16539
16540 2001-07-06  Juergen Vigna  <jug@sad.it>
16541
16542         * a lot of files: changed the access to LyXText::status and the
16543         call of undo-functions.
16544
16545         * undo.[Ch]: added a inset_id to the undo informations.
16546
16547         * undo_funcs.[Ch]: added and moved here all undo functions.
16548
16549         * lyxtext.h: give the status enum a weight, made status_ a private
16550         variable and made accessor functions for it, removed the whole bunch
16551         of undo-functions as they are now in their own file, make some
16552         functions publically available. Added function ownerParagraph with
16553         int parameter.
16554
16555         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16556         made InInset() a const function, added getParFromID() function.
16557
16558         * buffer.[Ch]: added const version for inset_iterator functions,
16559         added getInsetFromID() function.
16560
16561         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16562         changed undo functions for new version.
16563
16564 2001-07-05  Juergen Vigna  <jug@sad.it>
16565
16566         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16567         unknow mechanism does not call the proper constructor but only this
16568         one also if I request the other!?
16569
16570 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16571
16572         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16573
16574         * text2.C (LyXText): use initialization lists.
16575
16576         * lyxtext.h (Selection): initialize set_ and mark_
16577         (init): remove method
16578
16579 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16580
16581         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16582
16583 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16584
16585         * screen.[Ch]: change method names to begin with lowercase
16586
16587         * BufferView_pimpl.C (updateScrollbar): simplify further and
16588         hopefully make it a bit faster.
16589
16590 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16591
16592         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16593         calling directly xforms functions.
16594
16595         * Painter.C (Painter):
16596         * lyx_cb.C (MenuWrite):
16597         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16598         fl_display.
16599
16600         * lyx_gui.C: remove bogus guiruntime extern declaration.
16601
16602 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16603
16604         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16605         in NEW_INSETS
16606         (redoDrawingOfParagraph): ditto
16607         (redoParagraphs): ditto
16608         (cutSelection): don't create a object for CutAndPaste use the
16609         static method directly
16610         (pasteSelection): ditto
16611
16612         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16613         LyXview (+ rename)
16614
16615 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16616
16617         * modifications to some other files because of this.
16618
16619         * Makefile.am (lyx_SOURCES): add XFormsView
16620
16621         * XFormsView.[Ch]: new files
16622
16623         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16624         the main window. Move the gui dependent stuff to XFormsView
16625
16626 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16627
16628         * tabular.C (GetCellInset): update cur_cell also in the row/col
16629         version of this function.
16630
16631         * lyxfunc.C: no need to include figure_form.h here.
16632
16633         * FontLoader.h:
16634         * lyxfunc.h:
16635         * lyxscreen.h:
16636         * text2.C:
16637         * lyxvc.C: no need to include forms.h here.
16638
16639 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16640
16641         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16642
16643         * lyxfunc.C (Dispatch):
16644         * Spacing.C (set):
16645         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16646         constructor argument.
16647
16648 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16649
16650         * paragraph.C (Paragraph): dont't clear, and just set layout.
16651         (makeSameLayout): use params's copy contructor.
16652
16653         * ParagraphParameters.[Ch] (makeSame): delete method
16654
16655 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16656
16657         * Variables.[Ch]: fix indentation, rename set to isSet
16658
16659 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16660
16661         * lyxfunc.C (Dispatch): fix typo
16662
16663 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16664
16665         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16666         upper_bound.
16667
16668         * bufferlist.C: include assert.h for emergencyWrite().
16669
16670 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16671
16672         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16673           give up at last (bug #425202) !
16674
16675 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16676
16677         * lyx_gui_misc.C:
16678         * sp_form.h:
16679         * sp_form.C:
16680         * spellchecker.h:
16681         * spellchecker.C: strip spellchecker options and bring up
16682           preferences tab instead
16683
16684 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16685
16686         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16687         the istringstream constructor
16688
16689 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16690
16691         * paragraph.C (getLayout): fix return value
16692
16693         * paragraph.h: do not declare getLayout as inline.
16694
16695         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16696
16697 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16698
16699         * lyxcursor.h (operator<): new func
16700         (operator>): new func
16701         (operator>=): new func
16702         (operator<=): new func
16703
16704         * text.C (changeCase): use selection.start and selection.end
16705         (changeRegionCase): require from to be <= to. Require par to be a
16706         valid paragraph.
16707
16708         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16709
16710 2001-06-27  Juergen Vigna  <jug@sad.it>
16711
16712         * text.C (cursorLeftOneWord): changed to return the cursor and added
16713         overlay with BufferView * parameter which calls this one.
16714         (getWord): added
16715         (selectWord): use new getWord function.
16716         (changeCase): renamed from changeWordCase as and extended to work
16717         also on selections.
16718
16719         * lyxtext.h: added enum word_location
16720
16721         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16722         changeCase as this operates now also on selections.
16723
16724 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16725
16726         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16727
16728         * many files: send debug output to Debug::INFO instead of
16729         Debug::ANY.
16730
16731         * converter.C (View):
16732         (Convert):
16733         (Move): send debug output to Debug::FILES instead of console.
16734
16735 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16736
16737         * lyxfunc.C (getStatus): use func_status
16738
16739         * func_status.h: new header, describing the results of
16740         LyXFunc::getStatus;
16741
16742         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16743         LFUN_MATH_HALIGN.
16744
16745 2001-06-25  The LyX Project  <jug@sad.it>
16746
16747         * buffer.C (sgmlOpenTag):
16748         (sgmlCloseTag):
16749         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16750
16751 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16752
16753         * text2.C: remove some dead code
16754
16755         * tabular.C (GetCellInset): store the last cell checked (gotten)
16756
16757         * tabular.h: add the helper for the speedup
16758
16759         * lyxtext.h: remove some dead code
16760
16761 2001-06-26  The LyX Project  <Asger>
16762
16763         * paragraph.C: Change export to LaTeX of alignment to
16764         \begin{center} and family for better roundtrip work with reLyX.
16765
16766         * Tune the math drawing a bit.
16767
16768 2001-06-25  The LyX Project  <Asger>
16769
16770         * LColor.C (LColor): New color for math background. New color
16771         for buttons.
16772
16773 2001-06-25  The LyX Project  <jug@sad.it>
16774
16775         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16776
16777         * lyxfunc.C (Open):
16778         * bufferlist.C (newFile): do not restrict to files ending with
16779         .lyx
16780
16781         * BufferView_pimpl.C (MenuInsertLyXFile):
16782
16783 2001-06-24  The LyX Project  <jug@sad.it>
16784
16785         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16786         of compare_no_case
16787
16788 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16789
16790         * lyxtext.h: rename most methods to begin with a small char.
16791         Lots of changes because of this.
16792
16793         * paragraph.C (Paragraph): do not call fitToSize
16794         (erase): call Pimpl::erase
16795         (insertChar): call Pimpl::insertChar
16796         (insertInset): call Pipl::insertInset
16797         (breakParagraph): do not call fitToSize
16798         (breakParagraphConservative): do not call fitToSize
16799         (fitToSize): remove method
16800
16801         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16802
16803 2001-06-24  The LyX Project  <Asger>
16804
16805         * Fix Qt compilation^2
16806
16807 2001-06-24  The LyX Project  <jug@sad.it>
16808
16809         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16810         depthHook(getDepth()-1).
16811
16812         * paragraph.h:
16813         * ParagraphParameters.h:
16814         * ParameterStruct.h: change type of depth to unsigned int ==
16815         depth_type. Many adaptations to other files before of that.
16816
16817 2001-06-24  The LyX Project  <Asger>
16818
16819         * Fix Qt compilation.
16820
16821 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16822
16823         * paragraph.h: renamed several methods to begin with small letter.
16824         several changes to many parts of the code because of this.
16825
16826 2001-06-23  The LyX Project  <jug@sad.it>
16827
16828         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16829         rewritten to discard all double spaces when KeepEmpty is off
16830         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16831         to only handle newlines but not fiddle with spaces and friends.
16832
16833         * lyxfunc.C (MenuNew): when doing 'new from template', use
16834         template_path as default directory
16835
16836 2001-06-23  The LyX Project  <Asger>
16837
16838         * Clean-up of header file includes all over
16839         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16840
16841 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16842
16843         * paragraph.h: renamed from lyxparagraph.h
16844
16845 2001-06-23  Asger  <lyx@violet.home.sad.it>
16846
16847         * Buffer.h: Removed Buffer::resize
16848         * BufferList.h: Removed BufferList::resize
16849         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16850         the document lazily when we change the width, or the font settings.
16851
16852 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16853
16854         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16855
16856 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16857
16858         * buffer.h: remove out of date comment
16859
16860 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16861
16862         * lyxscreen.h:
16863         * screen.C: fix "theoretical" GC leak
16864
16865 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16866
16867         * LaTeX.C (scanAuxFile):
16868         (deplog): remove trailing \r when reading stream (useful under
16869         win32)
16870
16871 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16872
16873         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16874         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16875         and BufferView::theLockingInset(Inset*), so should use them and not
16876         access bv_->text->the_locking_inset directly.
16877
16878         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16879
16880 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16881
16882         * Makefile.am:
16883         * tex-defs.h: remove old unused file
16884
16885 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16886
16887         * BufferView_pimpl.C: fix typo, remove minibuffer message
16888           when buffer has loaded
16889
16890 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16891
16892         * lyxfunc.C (Dispatch): use stringstream
16893         (MenuNew): use stringstream
16894         (Open): use stringstream
16895
16896         * importer.C (Import): use stringstream
16897
16898         * bufferview_funcs.C (CurrentState): use stringstream
16899
16900         * LaTeX.C (run): use stringstream
16901
16902         * BufferView_pimpl.C (savePosition): use stringstream
16903         (restorePosition): use stringstream
16904         (MenuInsertLyXFile): use stringstream
16905
16906 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16907
16908         * BufferView.C:
16909         * Bullet.C:
16910         * ColorHandler.C:
16911         * FontInfo.C:
16912         * FontLoader.C:
16913         * LColor.C:
16914         * LaTeXFeatures.C:
16915         * Painter.C:
16916         * gettext.C:
16917         * lyx_gui_misc.C:
16918         * lyxserver.C:
16919         * vspace.C: removed // -*- C++ -*- as first line.
16920
16921         * lyxfind.h:
16922         * version.h: added // -*- C++ -*- as first line.
16923
16924 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16925
16926         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16927
16928         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16929         of string
16930
16931 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16932
16933         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16934         of floats.
16935
16936 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16937
16938         * gettext.C: include LString.h even when --disable-nls is on.
16939
16940 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16941
16942         * converter.h (Get): changed argument type from int to
16943         FormatList::size_type to avoid unnecessary conversion.
16944
16945         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16946         before using it.
16947
16948 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16949
16950         * gettext.h: include LString.h even when --disable-nls is on.
16951
16952 2001-06-07  Juergen Vigna  <jug@sad.it>
16953
16954         * text.C (BreakAgain): subst spaces with tabs.
16955
16956         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16957         (resizeInsetsLyXText): set force on resizeLyXText.
16958
16959 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16960
16961         * gettext.h (gettext_init):
16962         (locale_init): use a real definition instead of a macro
16963
16964 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16965
16966         * Bufferview_pimpl.C:
16967         * LColor.h:
16968         * LColor.C: further lcolor tidies
16969
16970 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16971
16972         * BufferView_pimpl.C (updateScrollbar): simplify.
16973
16974         * BufferView2.C: don't include insets/insetinfo.h, change
16975         prototype for insertInset and call the Pimpl version. let
16976         updateInset call Pimpl version.
16977
16978         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16979         gotoInset to BufferView::Pimpl
16980
16981 2001-06-01  Juergen Vigna  <jug@sad.it>
16982
16983         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16984         inside a LockingInset (is the update needed at all?).
16985
16986 2001-05-31  Juergen Vigna  <jug@sad.it>
16987
16988         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16989         here not the old one otherwise how should we compare it afterwards
16990         if it's the same!
16991
16992 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16993
16994         * lyxfont.C:
16995         * tabular.C:
16996         * tabular-old.C:
16997         * FontInfo.C: bring C functions into global namespace when
16998         necessary
16999
17000 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17001
17002         * LString.h: make sure config.h has been loaded before LString.h.
17003
17004         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17005         (one for each char read by EatLine!).
17006
17007         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17008         variables.
17009
17010 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17011
17012         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17013         to the same as the par we break from
17014
17015 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17016
17017         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17018
17019         * MenuBackend.C (expand): also create menu entries for wide
17020         versions of the floats.
17021
17022         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17023
17024         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17025
17026         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17027         frontends/Makefile.am
17028
17029         * text2.C: adjust
17030         * text.C: adjust
17031
17032
17033         * tabular.C (getTokenValue): add std::
17034
17035         * tabular-old.C (getTokenValue): add std::
17036         (getTokenValue): ditto
17037         (getTokenValue): ditto
17038
17039         * screen.C (ToggleSelection): adjust
17040
17041         * lyxtext.h: put selection cursors inside a Selection struct.
17042
17043         * lyxfunc.C (moveCursorUpdate): adjust
17044
17045         * lyxfont.C (latexWriteStartChanges): add std::
17046
17047         * lyxfind.C: adjust
17048
17049         * font.h: delete with(char const *, LyXFont const &)
17050
17051         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17052
17053         * FontInfo.C (getFontname): add std::
17054
17055         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17056         (workAreaButtonPress): adjust
17057         (tripleClick): adjust
17058         (update): adjust
17059         (moveCursorUpdate): adjust
17060         (Dispatch): adjust
17061
17062         * BufferView2.C (gotoInset): adjust
17063
17064 2001-05-30  Juergen Vigna  <jug@sad.it>
17065
17066         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17067         to check pspell I add this as default as I now have new pspell
17068         libraries and they seem to use this.
17069
17070 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17071
17072         * text2.C (CutSelection): make the cursor valid before the call to
17073         ClearSelection.
17074
17075 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17076
17077         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17078         relied on 0 terminated strings and other horrors. Bug found due to
17079         the new assert in lyxstring!
17080
17081         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17082         KP_ keys.
17083
17084 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17085
17086         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17087         to latinkeys.bind.
17088
17089         * lyxfunc.C (processKeySym): change method of getting to the
17090         self-insert char.
17091
17092         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17093         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17094         * BufferView_pimpl.[Ch]: here as private methods.
17095
17096 2001-05-28  Juergen Vigna  <jug@sad.it>
17097
17098         * text.C (SetHeightOfRow): added the update() call again as it is
17099         needed to initialize inset dimensions!
17100
17101 2001-05-16  Juergen Vigna  <jug@sad.it>
17102
17103         * text2.C (SetCharFont): Add new function with BufferView * and
17104         bool toggleall parameters for setting insets internal fonts.
17105         (SetFont): Freeze the undo as we may change fonts in Insets and
17106         all this change should be inside only one Undo!
17107
17108         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17109         setting font's in insets as for them we have the SetFont function!
17110
17111 2001-05-15  Juergen Vigna  <jug@sad.it>
17112
17113         * text2.C (ClearSelection): to be sure we REALLY don't have any
17114         selection anymore!
17115
17116         * tabular.C (TeXCellPreamble): fixed the left border problem for
17117         multicolumn cells.
17118
17119 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17120
17121         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17122         dependancy file
17123
17124 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17125
17126         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17127         LFUN_BREAKPARAGRAPH.
17128
17129         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17130         help test to "internal only", similar for LFUN_INSERT_URL
17131
17132         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17133         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17134         auto_region_delete and deadkeys.
17135
17136 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17137
17138         * LColor.h:
17139         * LColor.C: remove some dead entries, tidy a little
17140
17141 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17142
17143         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17144         commented code.
17145         (Dispatch): implement LFUN_ESCAPE
17146
17147         * commandtags.h: add LFUN_ESCAPE
17148
17149         * LyXAction.C (init): add entry for LFUN_ESCAPE
17150
17151         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17152         Remove commented code.
17153         (insertNote): moved here
17154         (open_new_inset): moved here
17155
17156         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17157         BufferView_pimpl
17158
17159 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17160
17161         * kbmap.C (findbinding): clean it up and make it work correctly.
17162
17163         * lyx_main.C (init): do not pass argc and argv as parameters
17164
17165 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17166
17167         * buffer.C: fix path for OS/2 & Win32
17168
17169         * lyx_gui.C:
17170         * lyx_main:
17171         * lyx_main.C: Added os:: class.
17172
17173         * os2_defines.h: update
17174
17175 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17176
17177         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17178         better by trying again with reduced state.
17179
17180 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17181
17182         * lyxrc.C (read): print error about invalid key sequence only when
17183         debugging (because not all latinX keysyms are known to some X
17184         servers)
17185
17186         * kbsequence.C (getiso): add a few std:: qualifiers
17187         (getiso): comment out extra return statement.
17188
17189 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17190
17191         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17192         handling.
17193         (Dispatch): enhance the accent inset a bit. (not perfect)
17194
17195 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17196
17197         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17198
17199 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17200
17201         * bufferlist.C (emergencyWrite): fix assert() call
17202
17203 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17204
17205         * text.C (InsertChar): Added trivial patch to only send the "you
17206         can not do multiple spaces this way" message once during a
17207         session.
17208
17209 2001-05-08  Baruch Even  <baruch@lyx.org>
17210
17211         * Makefile.am: Changed order of libraries to get LyX to link properly
17212         with the gnome frontend.
17213
17214 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17215
17216         * LaTeXFeatures.h: add a std:: qualifier
17217
17218 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17219
17220         * paragraph.C (String): use stringstream
17221
17222 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17223
17224         * paragraph.C (writeFile): remove footflag arg
17225
17226         * buffer.C (makeLaTeXFile): use stringstream
17227         (latexParagraphs): remove footnot gurba
17228
17229         * LaTeXFeatures.C (getPackages): use stringstream
17230         (getMacros): likewise
17231         (getTClassPreamble): likewise
17232         (getFloatDefinitions): new method
17233
17234         * paragraph.C (writeFile): reindent
17235         (Erase): reindent
17236
17237         * WorkArea.h: revert the xpos + etc changes.
17238
17239         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17240
17241         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17242
17243         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17244         (pasteSelection): likewise
17245         * text2.C (CreateUndo): likewise
17246
17247 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17248
17249         * minibuffer.C (peek_event): temporarily reduce the functionality
17250         of the minibuffer (to allow args on lfuns)
17251
17252         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17253         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17254
17255         * buffer.C (readInset): add compability reading of old float
17256         lists, add reading of new style float list.
17257         (readInset): avoid reevaluation of inscmd.getCmdName()
17258         (getLists): reindent
17259
17260         * MenuBackend.C (MenuItem): implement parsing of
17261         md_floatlistinsert and md_floatinsert.
17262         (expand::LastFiles): move initalizaton of iterators out of loop,
17263         avoid reevaluation.
17264         (expand::Documents): introduce typdedef vector<string> Strings,
17265         and use it.
17266         (expand::ExportFormats): introduce typedef vector<Format const *>
17267         Formats, and use it.
17268         (expand): implement FloatListInsert and FloatInsert.
17269
17270         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17271         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17272         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17273
17274         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17275         handling.
17276         (Dispatch::LFUN_FLOAT_LIST): implement
17277
17278 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17279
17280         * LaTeX.C (run): Fix problem with --export code.
17281
17282 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17283
17284         * BufferView.[Ch] (workarea): removed.
17285         (getClipboard) new method; wrapper for workarea()->getClipboard()
17286
17287         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17288         bug.
17289
17290         * WorkArea.h (width, height, xpos, ypos): These methods all
17291         returned the dimensions of the work_area sub-area of WorkArea,
17292         resulting in a position error if the WorkArea were resized. Now
17293         return the dimensions of the entire WorkArea.
17294
17295         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17296
17297 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17298
17299         * LaTeX.C (deplog): correct the syntax of regex reg1
17300
17301 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17302
17303         * undo.C: remove !NEW_INSETS cruft
17304
17305 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17306
17307         * text2.C: remove !NEW_INSETS cruft
17308
17309         * text.C: remove !NEW_INSETS cruft
17310
17311         * tabular.C: remove !NEW_INSETS cruft
17312
17313         * spellchecker.C: remove !NEW_INSETS cruft
17314
17315         * lyxtext.h: remove !NEW_INSETS cruft
17316
17317         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17318
17319         * lyxfunc.C: remove !NEW_INSETS cruft
17320
17321         * lyxfind.C: remove !NEW_INSETS cruft
17322
17323         * lyx_cb.C: remove !NEW_INSETS cruft
17324
17325         * figureForm.C: remove  !NEW_INSETS cruft
17326
17327         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17328
17329         * buffer.[Ch]: remove !NEW_INSETS cruft
17330
17331         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17332
17333         * CutAndPaste.C: remove !NEW_INSETS cruft
17334
17335         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17336
17337         * BufferView2.C: remove !NEW_INSETS cruft
17338
17339         * BufferView.h: remove !NEW_INSETS cruft
17340
17341 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17342
17343         * Lsstream.h: include LString.h before the sstream headers to
17344         fix problem with gcc 2.95.3 and lyxstring
17345
17346 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17347
17348         * lyx_main.C: add using directives when needed for C functions
17349         declared in std:: namespace.
17350
17351 2001-04-27  Juergen Vigna  <jug@sad.it>
17352
17353         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17354         (SetHeightOfRow): comment out the update call should not be needed!
17355
17356 2001-04-13  Juergen Vigna  <jug@sad.it>
17357
17358         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17359         (LyXTabular): tried to minimize operator= operations (and realized
17360         hopfully Lars wish).
17361
17362 2001-04-27  Juergen Vigna  <jug@sad.it>
17363
17364         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17365
17366 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17367
17368         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17369
17370         * buffer.C (readInset): hack to make listof algorithm work
17371
17372         * BufferView_pimpl.C: hack to make listof algorithm work
17373
17374 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17375
17376         * LyXAction.C: removed all !NEW_INSETS cruft
17377         (init): moved lfun_item in method
17378
17379         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17380
17381 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17382
17383         * BufferView2.C (theLockingInset): white space.
17384
17385 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17386
17387         * minibuffer.C: include <iostream>
17388
17389         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17390
17391         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17392
17393         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17394
17395         * text.[Ch] (TransposeChars): new method
17396
17397 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17398
17399         * call message directly through LyXView instead of through LyXFunc
17400         * BufferView2.C: adjust
17401         * BufferView_pimpl.C: adjust
17402         * FontLoader.C: adjust
17403         * buffer.C: adjust
17404         * bufferview_funcs.C: adjust
17405         * converter.C: adjust
17406         * figureForm.C: adjust
17407         * importer.C: adjust
17408         * lyx_cb.C: adjust
17409         * lyx_gui_misc.C: adjust
17410         * lyxfunc.C: adjust
17411         * lyxvc.C: adjust
17412         * text2.C: adjust
17413         + more files in subdirs
17414
17415         * lyxparagraph.h (size): move up int file
17416         (GetLayout): ditto
17417
17418         * adjust all uses of Assert to lyx::Assert.
17419
17420         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17421         lyxfunctional in namespace lyx
17422         * layout.C (hasLayout): ditto
17423         (GetLayout): ditto
17424         (GetLayout): ditto
17425         (delete_layout): ditto
17426         (NumberOfClass): ditto
17427         * converter.C (GetFormat): ditto
17428         (GetNumber): ditto
17429         (Add): ditto
17430         (Delete): ditto
17431         (SetViewer): ditto
17432         * bufferlist.C (getFileNames): ditto
17433         (emergencyWriteAll): ditto
17434         (exists): ditto
17435         (getBuffer): ditto
17436         * MenuBackend.C (hasSubmenu): ditto
17437         (hasMenu): ditto
17438         (getMenu): ditto
17439         * BufferView_pimpl.C (getInsetByCode): ditto
17440
17441 2001-04-18  Juergen Vigna  <jug@sad.it>
17442
17443         * vspace.C (asLatexString): fixed the 100% problem.
17444
17445 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17446
17447         * lyxfunc.C (Dispatch):
17448         * minibuffer.C:
17449         * minibuffer.h: add a few std:: qualifiers
17450
17451 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17452
17453         * minibuffer.[Ch]: reimplement so that commands is initiated and
17454         run from lyxfunc, simplified som handling, and made the completion
17455         and history code for complete. wip.
17456
17457         * lyxfunc.C (processKeySym): call message
17458         (miniDispatch): new temporary method
17459         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17460         (LFUN_MESSAGE): implement
17461         (LFUN_MESSAGE_PUSH): implement
17462         (LFUN_MESSAGE_POP): implement
17463         (initMiniBuffer): the initial/defualt minibuffer message.
17464
17465         * lyxfont.[Ch]: inline some more getters
17466
17467         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17468
17469         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17470
17471         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17472         (AutoSave): use LFUN_MESSAGE
17473         (Reconfigure): ditto
17474
17475         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17476
17477         * figureForm.C: use LFUN_MESSAGE
17478
17479         * converter.C (runLaTeX): use LFUN_MESSAGE
17480
17481         * bufferview_funcs.C: use LFUN_MESSAGE
17482         (Melt): ditto
17483         (changeDepth): ditto
17484
17485         * bufferparams.h: use boost::
17486
17487         * bufferlist.h: inherit privately from noncopyable
17488
17489         * bufferlist.C (loadLyXFile): remove some commented code.
17490
17491         * buffer.C (runChktex): use LFUN_MESSAGE
17492
17493         * ShareContainer.h: inherit privately from noncopyable
17494
17495         * ParagraphParameters.[hC] (depth): inline it.
17496
17497         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17498         methods.
17499         (message): new method
17500         (messagePush): ditto
17501         (messagePop): ditto
17502         (show): init minibuffer
17503         (showState): direct call
17504
17505         * LaTeX.[Ch]: inherit privately from noncopyable
17506         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17507         instead of WriteStatus.
17508
17509         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17510
17511         * BufferView_pimpl.C (buffer): don't init minibuffer
17512         (workAreaButtonPress): use LFUN_MESSAGE
17513         (workAreaButtonRelease): ditto
17514         (savePosition): ditto
17515         (restorePosition): ditto
17516         (MenuInsertLyXFile): ditto
17517         (workAreaExpose): don't init minibuffer
17518         (update): remove commented code, simplify
17519
17520         * BufferView2.C (openStuff): use LFUN_MESSAGE
17521         (toggleFloat): ditto
17522         (menuUndo): ditto
17523         (menuRedo): ditto
17524         (copyEnvironment): ditto
17525         (pasteEnvironment): ditto
17526         (copy): ditto
17527         (cut): ditto
17528         (paste): ditto
17529         (gotoInset): ditto
17530         (updateInset): remove some commented code
17531
17532         * lastfiles.h: inherit privately from noncopyable
17533         * layout.h: ditto
17534         * lyx_gui.h: ditto
17535         * lyx_main.h: ditto
17536         * lyxlex.h: ditto
17537         * lyxlex_pimpl.h: ditto
17538
17539         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17540         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17541         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17542
17543         * LyXAction.h: inherit privately from noncopyable, add methods
17544         func_begin, func_end, returning iterators to the func map.
17545
17546         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17547         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17548         (func_begin): new method
17549         (func_end): new method
17550
17551         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17552         and not)
17553         (copySelection): ditto
17554         (pasteSelection): ditto
17555
17556         * BufferView.C: whitespace change
17557         * BufferView.h: inherit privately from noncopyable
17558
17559 2001-04-16  Allan Rae  <rae@lyx.org>
17560
17561         * tabular-old.C (l_getline):
17562         * spellchecker.C (sc_check_word):
17563         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17564         an unrecognised preprocessor directive.  So ensure they're wrapped.
17565
17566 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17567
17568         * src/exporter.C (Export): Give an error message when path to file
17569         contains spaces.
17570
17571 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17572
17573         * LaTeX.C (deplog): Always check that foundfile exists.
17574
17575 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17576
17577         * lyx_main.h:
17578         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17579
17580 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17581
17582         * tabular.[Ch] (getLabelList): implement new method
17583
17584         * minibuffer.h: comment ouf setTiimer
17585
17586         * minibuffer.C (ExecutingCB): constify res
17587         (peek_event): constify s
17588         (Set): constify ntext
17589         (Init): constify nicename
17590
17591         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17592
17593         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17594         (savePosition): use two params to Minibuffer::Set
17595         (restorePosition): ditto
17596
17597 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17598
17599         * lyx_main.C: include language.h
17600
17601         * Makefile.am (lyx_main.o): add language.h
17602
17603 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17604
17605         * exporter.C:
17606         * paragraph.C:
17607         * screen.C:
17608         * tabular.C:
17609         * CutAndPaste.C: include gettext.h
17610
17611         * lyxfont.h: remove old hack with ON and OFF.
17612
17613         * lyxparagraph.h:
17614         * lyxfont.h: do not include language.h...
17615
17616         * BufferView2.C:
17617         * LaTeXFeatures.C:
17618         * Painter.C:
17619         * bufferview_funcs.C:
17620         * font.C:
17621         * lyxfont.C:
17622         * text.C:
17623         * text2.C:
17624         * trans_mgr.C:
17625         * paragraph.C: ... but do it here instead
17626
17627 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17628
17629         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17630
17631         * tabular.C: small reformat
17632
17633         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17634         NEW_INSETS version
17635         (GetChar): ditto
17636         (BreakParagraph): ditto
17637         (SetOnlyLayout): ditto
17638         (SetLayout): ditto
17639
17640         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17641         with one arg less.
17642
17643         * lastfiles.C: removed most using decl, add std:: where needed
17644
17645         * buffer.C: ws changes
17646
17647         * MenuBackend.C (class compare_format): put into anon namespace
17648         (expand): constify label, names, action, action2
17649         (expand):
17650
17651         * text.C (SingleWidth): constify font
17652         (IsBoundary): constify rtl2
17653         (GetVisibleRow): constify ww
17654
17655         * LaTeX.C (deplog): constify logfile
17656
17657         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17658         start_x, end_x
17659         (workAreaExpose): constify widthChange, heightChange
17660
17661         * lyxrow.C (par): moved
17662         (height): moved
17663         (next): moved
17664         * lyxrow.h: as inlines here
17665
17666         * lyxfont.h (shape): moved from lyxfont.C
17667         (emph): moved from lyxfont.C
17668
17669         * lyxfont.C (LyXFont): use initialization list for all
17670         constructors
17671         (shape): move to lyxfont.h as inline
17672         (emph): move to lyxfont.h as inline
17673
17674
17675 2001-04-04  Juergen Vigna  <jug@sad.it>
17676
17677         * vspace.C: had to include stdio.h for use of sscanf
17678
17679 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17680
17681         * BufferView.h:
17682         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17683         independent of xforms.
17684
17685 2001-04-02  Juergen Vigna  <jug@sad.it>
17686
17687         * spellchecker.C: fixed namespace placing!
17688
17689 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17690
17691         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17692         the LyXParagraph * is 0.
17693
17694 2001-03-29  Juergen Vigna  <jug@sad.it>
17695
17696         * vspace.C: added support for %, c%, p%, l%.
17697         (stringFromUnit): added helper function.
17698         (asLatexString): changed to give right results for the %-values.
17699
17700         * buffer.C: convert the widthp in a width%.
17701
17702 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17703
17704         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17705         figureForm.[Ch].
17706
17707         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17708         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17709
17710         * lyx_cb.[Ch]: see above.
17711
17712         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17713         form1.[Ch].
17714
17715         * form1.[Ch]:
17716         * lyx.[Ch]: replaced by figure_form.[Ch].
17717
17718         * lyx_gui.C:
17719         * lyx_gui_misc.C:
17720         * lyxfunc.C: changed headers associated with above changes.
17721
17722 2001-03-27  Juergen Vigna  <jug@sad.it>
17723
17724         * BufferView_pimpl.C: set the temporary cursor right!
17725
17726 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17727
17728         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17729
17730 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17731
17732         * LString.h: removed "using std::getline"!
17733
17734         * BufferView_pimpl.C (Dispatch): changes due to changes in
17735         InsetInclude::Params.
17736
17737         * buffer.C (tag_name): removed redundant break statements as they were
17738         producing lots of warnings with my compiler.
17739
17740 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17741
17742         * LString.h: add "using std::getline" when using the real <string>.
17743
17744 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17745
17746         * buffer.C: removed bitset usage.
17747         PAR_TAG moved to an anonymous name space.
17748         (tag_name): new funtion, also in the anonymous namespace.
17749         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17750         (makeDocBookFile): clean code. Completed transition from string arrays
17751         to string vectors.
17752         (SimpleDocBookOnePar): code clean.
17753
17754 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17755
17756         * tabular.C: add some comments.
17757
17758 2001-03-22  Juergen Vigna  <jug@sad.it>
17759
17760         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17761         compatibility read a bit and fixed bug with minipage in different
17762         depth.
17763
17764 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17765
17766         * buffer.C (pop_tag): removed.
17767         (push_tag): removed.
17768         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17769         array replaced with vector. Added support for CDATA sections.
17770         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17771         at any nest level.
17772         (makeDocBookFile): XML conformant declaration of CDATA section,
17773         fixed bug related to <emphasis> in the first paragraph char.
17774         (sgmlOpenTag): exclude empty tags.
17775         (sgmlCloseTag): ditto.
17776
17777         * buffer.h (pop_tag): removed.
17778         (push_tag): removed.
17779
17780 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17781
17782         * language.h (Languages): added size_type and size().
17783
17784 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17785
17786         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17787         response on compability reading of minipages. One probliem is that
17788         the old usage of minipages was flertydig
17789
17790         * several files here and in subdirs: don't use static at file
17791         scope use anon namespaces instead.
17792
17793 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17794
17795         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17796         LaTeX output. This is necessary for Literate document
17797         processing.
17798
17799 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17800
17801         * buffer.C: insert hfill when needed.
17802
17803         * tabular.C (l_getline): use string::erase, small whitespace change.
17804
17805         * BufferView_pimpl.C: try the anon namespace.
17806         * WorkArea.C: ditto
17807
17808 2001-03-16  Juergen Vigna  <jug@sad.it>
17809
17810         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17811         otherwise it won't open options-dialogs.
17812
17813         * buffer.C: honor pextraWidth(p) on converting minipages.
17814
17815         * tabular.C (l_getline): changed the functions to strip trailing \r.
17816
17817 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17818
17819         * BufferView_pimpl.C:
17820         * minibuffer..C: added "using SigC::slot" declaration.
17821
17822 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17823
17824         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17825
17826         * text2.C: ditto
17827
17828         * text.C: ditto
17829
17830         * paragraph.C: ditto
17831
17832         * lyxtext.h: NO_PEXTRA
17833
17834         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17835
17836         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17837         * ParameterStruct.h: ditto
17838         * ParagraphParameters.h: ditto
17839         * lyxparagraph.h: ditto
17840
17841 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17842
17843         * buffer.C: add compability for minipage alignment.
17844         (latexParagraphs): remove unwanted pextra check.
17845
17846         * several files: remove CXX_WORKING_NAMESPACES
17847
17848         * buffer.C (pop_tag): tie is in namespace boost
17849
17850         * BufferView.h: noncopyable is in namespace boost
17851         * lyxlex.h: ditto
17852         * lyx_main.h: ditto
17853         * lyx_gui.h: ditto
17854         * layout.h: ditto
17855         * lastfiles.h: ditto
17856         * bufferlist.h: ditto
17857         * ShareContainer.h: ditto
17858         * LyXView.h: ditto
17859         * LyXAction.h: ditto
17860         * LaTeX.h: ditto
17861
17862 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17863
17864         * Merging changes from BRANCH_MVC back into HEAD.
17865
17866         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17867
17868 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17869
17870         * BufferView_pimpl.C: change from intl.C
17871
17872         * combox.h:
17873         * combox.C:
17874         * Makefile.am: move combox.*
17875
17876         * form1.h:
17877         * form1.C:
17878         * lyx_gui.C:
17879         * intl.h:
17880         * intl.C: remove dialog (covered by prefs)
17881
17882 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17883
17884         * lyxfunc.C (Dispatch): removed redundant break statement.
17885
17886 2001-03-14  Juergen Vigna  <jug@sad.it>
17887
17888         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17889
17890 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17891
17892         * buffer.C: add hack to fix compability reading of minipages.
17893
17894 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17895
17896         * buffer.C (getLists): Cleanup.
17897
17898 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17899
17900         * lyxfont.C (update): don't honor toggleall on font size.
17901
17902 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17903
17904         * bmtable.c:
17905         * bmtable.h:
17906         * Makefile.am: moved to frontends/xforms/
17907
17908         * lyx_gui_misc.C:
17909         * lyxfunc.C:
17910         * BufferView_pimpl.C: changes for moved mathpanel
17911
17912 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17913
17914         * gettext.h: fix gettext_init() in --disable-nls
17915
17916 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17917
17918         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17919
17920 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17921
17922         * lyx.C:
17923         * lyx.h: strip external form
17924
17925 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17926
17927         * BufferView_pimpl.C: add comment, destroySplash()
17928
17929 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17930
17931         * BufferView_pimpl.C:
17932         * LyXAction.C:
17933         * buffer.C:
17934         * commandtags.h:
17935         * lyxfunc.C: use re-worked insetinclude
17936
17937 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17938
17939         * buffer.C: add using std::stringstream.
17940
17941         * lyx_cb.C: readd using std::ios.
17942
17943         * buffer.C: add using std::map.
17944
17945         * BufferView_pimpl.C: add using std::vector.
17946
17947         * ShareContainer.h: add std:: to swap.
17948
17949         * buffer.h: add some typedefs
17950         * buffer.C (getLists): use them
17951         (getLists): renamed from getTocList.
17952         add a counter for the different float types and use it in the
17953         generated string.
17954         (getLists): use the same counter for the NEW_INSETS and the "non"
17955         NEW_INSETS
17956
17957         * lyx_cb.h: remove unused items, includes, using etc.
17958
17959         * ShareContainer.h: remove some commented code, add more comments
17960         and "documentation".
17961
17962 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17963
17964         * buffer.C (getTocList): make the list also when NEW_INSETS is
17965         defined.
17966
17967         * buffer.h: remove TocType
17968
17969         * buffer.C (getTocList): change to return a map<string,
17970         vector<TocItem> >, implement for dynamic number of list.
17971
17972         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17973         * text2.C (PasteSelection): adjust
17974         * CutAndPaste.C (pasteSelection): adjust
17975
17976         * FloatList.C (FloatList): update from the new_insets branch.
17977         * Floating.[Ch]: ditto
17978         * LaTeXFeatures.C: ditto
17979         * buffer.C: ditto
17980         * lyxlex_pimpl.C: ditto
17981
17982         * paragraph.C (Last): remove when NEW_INSETS is defined.
17983
17984         * other file: changes because of the above.
17985
17986 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17987
17988         * lyxparagraph.h: rename next to next_, previous to previous_,
17989         make them private for NEW_INSETS. Rename Next() to next(),
17990         Previous() to previous().
17991
17992         * other files: changes because of the above.
17993
17994 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17995
17996         * BufferView.h:
17997         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17998         problem.
17999
18000 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18001
18002         * main.C (main): pass lyx_localedir to gettext_init().
18003
18004         * gettext.h: remove locale_init and gettext_init macros
18005
18006         * gettext.C (locale_init): new function
18007         (gettext_init): new function
18008
18009         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18010         setlocale().
18011
18012 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18013
18014         * Moved credits to frontends:
18015         * credits.[Ch]: removed
18016         * credits_form.[Ch]: removed
18017         * lyx_gui_misc.C: remove credits stuff
18018         * Makefile.am:
18019
18020 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18021
18022         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18023
18024         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18025         unneeded destructor.
18026
18027         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18028         a standalone pointer again.
18029
18030         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18031
18032 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18033
18034         * Makefile.am:
18035         * filedlg.h:
18036         * filedlg.C:
18037         * LyXAction.C:
18038         * ToolbarDefaults.C:
18039         * bufferlist.C:
18040         * commandtags.h:
18041         * form1.C:
18042         * form1.h:
18043         * lyx_cb.C:
18044         * lyx_cb.h:
18045         * lyxfunc.h:
18046         * lyxfunc.C:
18047         * BufferView_pimpl.C: use new file dialog in GUII
18048
18049         * lyx_cb.h:
18050         * lyx_cb.C: remove LayoutsCB to Toolbar
18051
18052 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18053
18054         * ShareContainer.h (get): add std:: qualifier
18055
18056 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18057
18058         * ShareContainer.h: define a proper ShareContainer::value_type
18059         type (and use typename to please compaq cxx)
18060
18061 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18062
18063         * lyxparagraph.h: move serveral local vars to
18064         ParameterStruct/ParagraphParameters., use ShareContainer in
18065         FontTable., make vars in FontTable private and add getter and
18066         setter.
18067
18068         * paragraph.C: changes because of the above.
18069
18070         * lyxfont.h: remove copy constructor and copy assignment. (the
18071         default ones is ok), move number inside FontBits. move inlines to
18072         lyxfont.C
18073
18074         * lyxfont.C: add number to initializaton of statics, move several
18075         inlines here. constify several local vars. some whitespace
18076         cleanup. Dont hide outerscope variables.
18077
18078         * Spacing.h: add two new constructors to match the set methods.
18079
18080         * ShareContainer.h: new file, will perhaps be moved to support
18081
18082         * ParameterStruct.h: new file
18083
18084         * ParagraphParameters.h: new file
18085
18086         * ParagraphParameters.C: new file
18087
18088         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18089         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18090
18091         * BufferView_pimpl.C: ParagraphParameter changes.
18092         * buffer.C: Likewise.
18093         * bufferview_funcs.C: Likewise.
18094         * text.C: Likewise.
18095         * text2.C: Likewise.
18096
18097 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18098
18099         * lyxfind.C (LyXReplace): do not redefine default argument in
18100         implementation.
18101         (IsStringInText): ditto
18102         (SearchForward): ditto
18103         (SearchBackward): ditto
18104
18105 2001-03-06  Juergen Vigna  <jug@sad.it>
18106
18107         * lyxfind.C (IsStringInText): put parentes around expressions.
18108
18109 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18110
18111         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18112
18113 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18114
18115         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18116
18117         * stl_string_fwd.h: add comment
18118
18119         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18120
18121         * tabular.h:
18122         * tabular.C: remove unused DocBook methods
18123
18124         * intl.C:
18125         * language.C:
18126         * paragraph.C:
18127         * buffer.C:
18128         killed DO_USE_DEFAULT_LANGUAGE
18129
18130 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18131
18132         * lyx_gui.C: do not include language.h.
18133
18134         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18135         arguments in function implementation.
18136
18137 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18138
18139         * BufferView_pimpl.C: add <ctime>
18140
18141 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18142
18143         * BufferView_pimpl.C: add using std::find_if
18144
18145 2001-02-27  José Matos  <jamatos@fep.up.pt>
18146
18147         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18148         by OnlyPath.
18149
18150 2001-02-11  José Matos  <jamatos@fep.up.pt>
18151
18152         * buffer.C (makeDocBookFile): command styles now have a parameter as
18153         "title" by default.
18154
18155 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18156
18157         * layout_forms.[Ch]: removed
18158         * lyx_cb.[Ch]: out character
18159         * lyx_gui.C: out character
18160         * lyx_gui_misc.C: out character
18161         * bufferview_funcs.C: : out character,
18162         added toggleall as parameter in ToggleAndShow
18163
18164 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18165
18166         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18167
18168         * text2.C (SetCurrentFont): Disable number property at boundary.
18169
18170 2001-02-26  Juergen Vigna  <jug@sad.it>
18171
18172         * lyxfunc.C (getStatus): added a string argument override function so
18173         that this is correctly called from LyXFunc::Dispatch if it contains a
18174         do_not_use_argument which is used!
18175         (Dispatch): added check for "custom" export and call appropriate func.
18176
18177 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18178
18179         * lyxrc.C: Add language_command_local, language_use_babel and
18180         language_global_options.
18181
18182         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18183
18184         * buffer.C (makeLaTeXFile): Use language_use_babel and
18185         language_global_options.
18186
18187 2001-02-23  Juergen Vigna  <jug@sad.it>
18188
18189         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18190         which works with LyXText and putted it inside BufferView. Here now we
18191         only call for that part the BufferView::Dispatch() function.
18192
18193         * BufferView.C (Dispatch): added.
18194
18195         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18196         functions which needs to use a LyXText over from LyXFunc.
18197         (MenuInsertLyXFile): added
18198         (getInsetByCode): added
18199         (moveCursorUpdate): added
18200         (static TEXT): added
18201
18202 2001-02-22  Juergen Vigna  <jug@sad.it>
18203
18204         * BufferView_pimpl.C (update): call a status update to see if LyXText
18205         needs it.
18206
18207 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18208
18209         * vc-backend.C (revert): implement for CVS
18210         (getLog): implement for CVS
18211
18212 2001-02-20  Juergen Vigna  <jug@sad.it>
18213
18214         * text2.C (ClearSelection): added BufferView param for inset_owner call
18215
18216         * lyxfunc.C (TEXT): added this function and use it instead of
18217         directly owner->view()-text of getLyXText().
18218
18219 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18220
18221         * src/layout_forms.C: out preamble
18222         * src/layout_forms.h: out preamble
18223         * src/lyx_cb.C: out preamble
18224         * src/lyx_cb.h: out preamble
18225         * src/lyx_gui.C: out preamble
18226         * src/lyx_gui_misc.C: out preamble
18227         * src/lyxfunc.C: connect with guii preamble
18228
18229 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18230
18231         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18232
18233 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18234
18235         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18236         whether to run bibtex.
18237
18238 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18239
18240         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18241
18242 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18243
18244         * Makefile.am (lyx_SOURCES): removed bibforms.h
18245
18246         * vspace.h: doxygen
18247
18248         * text.C (GetVisibleRow): make several local vars const
18249
18250         * tabular.C: small cleanup.
18251
18252         * lyxserver.C (callback): use compare instead of strncmp
18253
18254         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18255         inlines to after class or to paragraph.C
18256
18257         * lyxfont.h: remove friend operator!=
18258
18259         * converter.h: move friend bool operator< to non friend and after
18260         class def.
18261
18262         * combox.h: small cleanup
18263
18264         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18265         to inlines after class def.
18266
18267         * buffer.C (pop_tag): use string operations instead of strcmp
18268
18269         * bmtable.c: doxygen, small cleanup
18270
18271         * LaTeX.h: remove friend operator==
18272
18273 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18274
18275         * screen.C:
18276         * lyxrc.[Ch]:
18277         * lyxfunc.C:
18278         * lyxfont.[Ch]:
18279         * lyx_cb.C:
18280         * intl.[Ch]:
18281         * commandtags.h:
18282         * buffer.C:
18283         * WorkArea.[Ch]:
18284         * LyXAction.C:
18285         * BufferView_pimpl.C:
18286         * BufferView.[Ch]: remove cruft
18287
18288 2001-02-14  Juergen Vigna  <jug@sad.it>
18289
18290         * lyxfunc.C: removed #if 0 unused code
18291
18292         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18293
18294         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18295
18296         * text2.C (SetSelection): added a BufferView * parameter
18297
18298 2001-02-13  Juergen Vigna  <jug@sad.it>
18299
18300         * lyxfunc.C (Dispatch): fixed protected blank problem.
18301         * BufferView2.C (protectedBlank): added LyxText * parameter.
18302
18303         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18304         (AppendColumn): same as above for column_info.
18305
18306         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18307         (moveCursorUpdate): use a LyXText param for support of InsetText.
18308
18309         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18310         (tripleClick): ditto
18311
18312         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18313
18314         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18315
18316         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18317
18318         * text2.C (SetSelection): set correct update status if inset_owner
18319         (ToggleFree): ditto
18320
18321 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18322
18323         * tabular.C: remove some commented code.
18324
18325 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18326
18327         * BufferView_pimpl.C: call hideSplash()
18328
18329         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18330
18331         * include_form.h:
18332         * bibforms.h: remove
18333
18334         * lyxfunc.C:
18335         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18336           add LFUN_CHILD_CREATE
18337
18338         * counters.h: fix tiny typo
18339
18340         * lyx_cb.C:
18341         * lyx.h:
18342         * lyx_gui.C:
18343         * lyx.C: move splash to frontends/xforms/
18344
18345         * lyx_gui_misc.C: move Include and Bibform to frontends
18346
18347         * lyxvc.h: clarify comment
18348
18349         * vspace.C: tiny housekeeping
18350
18351 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18352
18353         * text.C (PrepareToPrint): RTL Fix.
18354
18355         * paragraph.C (GetUChar): New method.
18356         (String):  Use GetUChar.
18357
18358         * buffer.C (asciiParagraph): Use GetUChar.
18359
18360 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18361
18362         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18363
18364 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18365
18366         * buffer.h:
18367         * buffer.C: rename to getLogName(), handle
18368           build log / latex log nicely
18369
18370 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18371
18372         * MenuBackend.C:
18373         * MenuBackend.h: remove support for reference menuitem type.
18374
18375 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18376
18377         * BufferView_pimpl.C: housekeeping
18378         * BufferView_pimpl.h:
18379         * LyXView.h:
18380         * Makefile.am:
18381         * Timeout.C:
18382         * Timeout.h:
18383         * minibuffer.h: move Timeout GUI-I
18384
18385 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18386
18387         * lyxrc.C (read): Update converters data-structures.
18388
18389 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18390
18391         * LaTeX.h (operator!=): add operator != for Aux_Info
18392
18393 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18394
18395         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18396
18397         * LaTeXLog.C: deleted, useful code moved to Buffer
18398
18399         * buffer.h:
18400         * buffer.C: new function getLatexLogName()
18401
18402         * lyx_gui_misc.C:
18403         * lyx_gui.C:
18404         * lyxvc.C:
18405         * lyxvc.h:
18406         * lyxfunc.C: use frontends for LaTeX and VC logs
18407
18408 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18409
18410         * LaTeX.h: yet another std:: that Allan forgot.
18411
18412         * Variables.C (set): renamed from isset(), because this clashes
18413         with some HP-UX macros (grr).
18414
18415 2001-02-06  Allan Rae  <rae@lyx.org>
18416
18417         * LaTeX.h: Another bug fix.  Missing std:: this time.
18418
18419 2001-02-04  Allan Rae  <rae@lyx.org>
18420
18421         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18422         floats problem. I've left it commented out because it's not quite
18423         correct.  It should also test that the current object is a table or
18424         figure inset.  But I haven't gotten around to figuring out how to do
18425         that.  I *think* it'll be something like: "table" == inset.type()
18426
18427         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18428         bool.
18429
18430 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18431
18432         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18433         all the citation/databases/styles in the auxilary file.
18434         (run): Rerun latex if there was a babel language error.
18435
18436 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18437
18438         * text.C (Backspace): Preserve the font when changing newline char
18439         with a space.
18440         (BreakParagraph): If the cursor is before a space, delete the space.
18441
18442         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18443
18444 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18445
18446         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18447         new argument (code).
18448         (ChangeCitationsIfUnique): New method.
18449
18450         * paragraph.C (GetPositionOfInset): Handle bibkey.
18451
18452 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18453
18454         * BufferView_pimpl.h: change type of Position::par_pos to
18455         LyXParagraph::size_type.
18456
18457 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18458
18459         * BufferView_pimpl.C (savePosition, restorePosition): Write
18460         messages to minibuffer.
18461
18462 2001-01-28  José Matos  <jamatos@fep.up.pt>
18463
18464         * buffer.C (makeDocBookFile): adds support for document language.
18465         A silly restriction on the name of LatexCommand types where removed.
18466         Added support for CDATA sections, allows to chars unescaped, used
18467         among others in code, to avoid escape < and >.
18468
18469 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18470
18471         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18472         saved positions instrad of a stack. Furthermore, a position is
18473         stored using paragraph id/paragraph position.
18474
18475         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18476         Remove LFUN_REF_BACK.
18477
18478 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18479
18480         * converter.C (dvipdfm_options): New method.
18481
18482 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18483
18484         * vspace.C (isValidLength): Fix for empty input string.
18485
18486 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18487
18488         * LyXAction.C (init): change description of LFUN_FIGURE to
18489         "Insert Graphics"
18490
18491 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18492
18493         * LaTeX.C: add using directive
18494
18495 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18496
18497         * MenuBackend.C (expand): Fix the sorting of the formats.
18498
18499 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18500
18501         * lyx_main.C: tiny error message fix
18502
18503 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18504
18505         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18506         calling fl_initialize(). This fixes the problem with ',' as
18507         decimal separator in text files.
18508
18509 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18510
18511         * trans.C (process): Fix the keymap bug.
18512
18513 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18514
18515         * LaTeX.C (scanAuxFiles): New method. Provides support for
18516         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18517         (scanLogFile) Scan for "run BibTeX" messages.
18518
18519         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18520         OT1 font encoding. Also, load the aecompl package if the ae
18521         package is loaded.
18522
18523         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18524
18525 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18526
18527         * texrow.C (increasePos): turn two error messages into debug
18528         messages.
18529
18530 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18531
18532         * LaTeX.C (scanAux): Handle the \@input macro.
18533         (runBibTeX): Use scanAux().
18534
18535         * language.C (latex_options_): New field.
18536
18537         * LaTeXFeatures.C (getMacros): Add language macros.
18538
18539         * buffer.C (makeLaTeXFile): Small fix.
18540
18541 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18542
18543         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18544
18545         * text2.C: add a using directive.
18546
18547 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18548
18549         * BufferView2.C:
18550         * lyx_gui_misc.h:
18551         * lyxfr1.C:
18552         * lyxfunc.C: kill LyXBell.
18553
18554 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18555
18556         * text.C (IsBoundary): Remove the error message
18557
18558         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18559
18560         * lyxrc.C (setDefaults): Correct initialization value for
18561         font_norm_type.
18562
18563 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18564
18565         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18566         gotoError().
18567
18568         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18569         and GotoNextNote().
18570
18571         * src/LyXAction.C: Added reference-next.
18572
18573         * text.C (InsertChar): Use contains instead of strchr.
18574
18575         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18576
18577 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18578
18579         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18580         alignment commands (when needed).
18581
18582         * text.C (InsertChar): Add ':' to number separator chars.