]> git.lyx.org Git - features.git/blob - src/ChangeLog
41742be6f076f59dfda95d25f0daa2ef91d9606c
[features.git] / src / ChangeLog
1 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
4         without X support.
5
6 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * exporter.C (Export): Don't try to copy a file if it does not exist
9         (bug 1888)
10
11 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * text2.C (makeFontEntriesLayoutSpecific): remove.
14         (setLayout): adapt.
15
16         * text.C (insertChar): remove bogus caching of fonts (did not do
17         anything). 
18
19         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
20         ALL_SANE). (bug 2146)
21
22 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * rowpainter.C (paintFirst): fix centering of
25         LABEL_CENTERED_TOP_ENVIRONMENT. 
26
27 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * BufferView.C (mouseSetCursor): new method. Calls
30         deleteEmptyParagraphMechanism if necessary.
31
32         * lyxtext.h: make deleteEmptyParagraphMechanism public.
33
34         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
35         BufferView::mouseSetCursor (bug 2109).
36         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
37
38 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
39
40         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
41         do not remove it (this inset behaves differently from the others).
42
43 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         Fix bug 2096.
46         
47         * BufferView_pimpl.C (getStatus): it is only possible to insert a
48         file in a text inset.
49
50         * buffer.C (readDocument): remove pit argument and code releated
51         to it; set the inset owner correctly (unrelated, but useful).
52         (readFile): get rid of pit argument.
53
54         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
55         textclass instead of a selection index.
56         (pasteParagraphList): new function.
57         (pasteSelection): make it a wrapper around pasteParagraphList.
58
59         * BufferView_pimpl.C (MenuInsertLyXFile): use
60         cap::pasteParagraphList to insert a file.
61
62 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
63
64         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
65
66 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
67
68         * exporter.C: fix typo in text message
69
70 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
71
72         * text2.C (setLayout): move recUndo call to other setLayout method
73         * tabular.C (toggleFixedWidth): new, handle cell width changes
74         * tabular.C (setColumnPWidth): move some code from insettabular.C here
75         and use toggleFixedWidth
76         * tabular.C (setMColumnPWidth): ditto
77
78 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
79
80         * paragraph.C (asString): use new inset->textString method (fix
81         bug 2089) 
82
83 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * CutAndPaste.C (numberOfSelections): new helper function.
86
87         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
88
89         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
90         LyXFunc::getStatus; implement LFUN_PASTE.
91
92 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
93
94         * dociterator.[Ch]: new member realInset() that returns the cell
95         for tabulars and the inset for the rest (bug 1952).
96         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
97         (bug 1952).
98
99 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
102
103 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
104
105         * lyxfunc.C:
106         * paragraph.C:
107         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
108         argument.
109
110 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
111
112         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
113         line after typing ctrl-enter
114
115 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
116
117         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
118         math insets do not return a proper editable() state yet (bug 2124).
119
120 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
123         docs containing very large paragraphs.
124
125 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
126
127         * cursor.C (selectionBegin, selectionEnd):
128         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
129         cursor at different depths.
130
131 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
132
133         * bufferview_funcs.C (coordOffset): do not call cursorPos
134         for collapsed collapsables (fix bug 2094).
135
136 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * paragraph.C (fontSpan): make sure that the FontSpan does not
139         span across beginOfBody (bug 1947).
140
141 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
144
145 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
146
147         * messages.C: fix crash and localization on MinGW/Windows platform
148
149 2005-11-02  Angus Leeming  <leeming@lyx.org>
150
151         * Bidi.C:
152         * lyxtextclass.C: trivial fixes to some MSVS warnings.
153
154 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * text3.C (getStatus): re-enable disabled code. (bug 2081)
157
158         * BranchList.h (empty): constify.
159
160 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
161
162         * text3.C (getStatus): 
163         * MenuBackend.C (expandBranches): take the branch list from the
164         master document (bug 2092).
165         
166         * MenuBackend.C (expandBranches): 
167         * bufferparams.C (writeFile): use BranchList type.
168
169 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * text3.C (dispatch, getStatus): 
172         * LyXAction.C (init): 
173         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
174
175 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
178
179 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * text.C (insertChar): do not reset boundary (bug 2061)
182
183 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * dociterator.C (updateInsets): new method. Updates the inset_
186         cache of all the slices of the iterator.
187
188         * text2.C (deleteEmptyParagraphMechanism): compare also containing
189         insets when comparing pit/pos; pass the right cursor to
190         recordUndo; when a paragraph has been deleted, compare `old.top()' to
191         the right cursor slice of `cur'; use updateInsets on cur to make
192         sure that the inset caches are correct; general cleanup.
193
194 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
197         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
198         containg inset. If this does not work, the same command will be
199         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
200
201         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
202         a dispatch.
203
204 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
205
206         * lyxtextclass.C (Read): convert layout file if the format is wrong
207         * lyxtextclass.C (layout2layout): new, needed for the above
208
209 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * messages.C: do not forget to include <cerrno>.
212
213 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
214
215         * dociterator.h (StableDocIterator): add access to pos().
216         * undo.C (samePar): new method to check if two
217         iterators are in the same paragraph
218         * undo.C (recordUndo): check for samePar instead of cell identity
219         (which includes pos() and is too strict) (fixes bug 2097)
220
221 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * text.C (setCursorFromCoordinates): return a bool telling whether
224         dEPM triggered.
225
226         * text3.C (cursorPrevious): update if needed after
227         setCursorFromCoordinates (when dEPM triggered).
228
229         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
230         (otherwise the anchor may be completely wrong and make dEPM assert).
231
232 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
233
234         * buffer.C: version upgrade to 245.
235         * bufferparams.C: remove \quotes_times (bug 2090).
236         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
237         quotation marks as default.
238
239 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
240
241         * CutAndPaste.C (nrOfParagraphs): remove (unused)
242         * CutAndPaste.C (cutSelection): Remove debug message
243         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
244         undo information and only copy if this is a real cut
245         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
246         call
247         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
248         (bug 2059)
249         * CutAndPaste.C (eraseSelection): prevent cursor corruption
250         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
251         superflous cur.selection() setting
252         * CutAndPaste.[Ch] (grabSelection): take a const cursor
253         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
254
255 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
256
257         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
258         change anything.
259
260 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
261
262         * BufferView_pimpl.C: comment layout change
263
264 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
265
266         * LyXAction.C:
267         * lfuns.h:
268         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
269         by bibliography managers (bug 2071).
270
271 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
272
273         * BufferView_pimpl.C (update): choose arguments to update call so
274         that single-par update works most times
275         * text3.C (dispatch): carefully tune updating separately for
276         whole-screen and current-paragraph
277         * rowpainter.C (paintText): 1) replace painting by caching for
278         the two extra paragraphs, because we can;
279         2) suppress greying out of areas below/above drawn area in case of
280         single-par refresh
281         * lyxfunc.C (dispatch): remove superfluous update
282         * LyXAction.[Ch]: introduce SingleParUpdate
283
284 2005-10-05  Angus Leeming  <leeming@lyx.org>
285
286         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
287         always initialised before use.
288
289         * text.C (setHeightOfRow): squash warning about comparison
290         of signed and unsigned types.
291
292 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
293
294         * text.C (cursorX): two fixes involving RtL text drawing
295
296 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
297
298         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
299         items, not only large ones (part of bug 2057)
300
301 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
302
303         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
304         argument, use "newcommand".
305
306 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
307
308         * cursor.C (setSelection): do not open collapsable insets;
309         the insets do by themselves now (autoopen).
310
311 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
312
313         * buffer.C: format is up to 244.
314
315 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
316
317         * text.C (redoParagraph): fix calcultation of inset width wrt 
318         leftMargin (bug 1957).
319
320         * text3.C (dispatch): leave inset to the right when hitting ESC 
321         (bug 2034).
322
323 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
324
325         * text2.C: 
326         * text.C: 
327         * factory.C:
328         * messages.C: include <boost/current_function.hpp> 
329
330 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
333         when command is internal. (bug 1941)
334
335 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
336
337         * text2.C (cursorRight): do not honor boundary when at the end of
338         a paragraph. (bug 2010 again)
339
340 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
343
344 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
345
346         * rowpainter.C (paintText): fix RtL space width display bug (2029)
347
348 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
349
350         * text2.C (setCursor): remove the unused 'boundary' parameter for
351         the CursorSlice version; adapt the LCursor version.
352
353         * lyxrc.C (write): 
354         * paragraph_pimpl.C (markErased): 
355         * cursor.C (bruteFind2, bruteFond3): fix warnings.
356
357 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
360         as is already done for "chapter".
361
362 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
365         textclass; do not record undo if nothing is changed.
366
367 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
368
369         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
370
371 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
372
373         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
374
375 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
378         combox, it is necessary to search for the topmost paragraph in the
379         cursor stack (bug 1926)
380
381 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
382
383         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
384         end of paragraph. (bug 2010)
385
386 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
387
388         * text.C (leftMargin): check for inInset == 0
389
390 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
391
392         * text.C (leftMargin): test for insetbase's new neverIndent()
393         bool instead of listing each and every inset that does not
394         wish par indendation.
395
396 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * buffer_funcs.C (setCounter): put the code to compute enum label
399         here (where it belongs).
400
401         * counters.C (enumLabel): move code to buffer_funcs.C.
402
403 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
404
405         * outputparams.[Ch]: store local_font instead of local_language
406         * paragraph.C (simpleTeXOnePar): adapt to the change above
407
408 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
409
410         * buffer_funcs.C:
411         * counters.[Ch]: clean up special code for Hebrew.
412
413 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
416         than 2.
417
418 2005-09-08  Angus Leeming  <leeming@lyx.org>
419
420         * ispell.C:
421         * lyxrc.C: correct grammar describing invocation of the
422         spellchecker.
423
424 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
425
426         * text.C (read): remove unused variable.
427         (readParToken): remove static Change variable (never good in
428         recursive settings...); add it as a parameter instead.
429
430         * paragraph_pimpl.C (acceptChange): make debug info conditional.
431
432         * metricsinfo.C (PainterInfo): add new member erased_.
433
434         * rowpainter.C (RowPainter): add erased_ member, initialized from
435         PainterInfo. 
436         (paintInset): pass erased_ to Inset::draw.
437
438         * lyxfunc.C (lookupChange): new function. Tells whether change 
439         tracking is disabled at a given postion.
440         (getStatus): disable some actions when in deleted text with change
441         tracking. 
442
443 2005-08-03  John Levon  <levon@movementarian.org>
444         
445         * tabular.C (appendColumn, setMultiColumn): adapt to change to
446         InsetText::clear().
447
448         * paragraph_pimpl.C (markErased): add bool argument and handle it.
449         Also make sure to mark insets recursively.
450         (rejectChange, erase): be recursive
451
452         * paragraph.C (markErased): add bool argument.
453 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * lyxfind.C (findNextChange): tiny cleanup.
456
457         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
458         change tracking with the cursor in an inset; make sure the first
459         change is not skipped.
460
461 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
462
463         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
464         tabularStackDirty to work around bug 1919 (tabular needs
465         to know whether its own cell paste buffer or the one of 
466         texted is newer.
467         * CutAndPaste.C: mark tabular_stack_ clean after copy.
468
469 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
470
471         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
472
473 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
474
475         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
476         use old deleteion algorithm when changetracking is on.
477
478 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
479
480         * messages.C (get): add debug output.
481
482 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
483
484         * text.C (cursorX): fix bug 1965: cursor movement at
485         line end broken in RtL.
486         (drawSelection): fix bug 1970: drawing of single-line 
487         selection broken for RtL.
488
489 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         bug 465.
492
493         * dociterator.h (clear, push_back, pop_back): change from
494         protected to public.
495
496         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
497         and changed to just return the value of the item depth; take a
498         ParIterator as argument; take the itemdepth at outer nesting level
499         in account if necessary; cleanup and comment the code.
500         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
501         and changed to just return true if reset is needed; take a
502         ParIterator as argument; cleanup and comment the code.
503         (setCounter): adapt to above changes.
504
505 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * text3.C (dispatch): make debug message optional
508
509 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
512         inset. (bug 1963)
513
514 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
515
516         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
517
518 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
519
520         * text.C (insertChar):
521         * text2.C (deleteEmptyParagraphMechanism): take care whether 
522         a blank has been deleted (in change tracking mode) (bug 1254).
523
524 2005-07-20  John Levon  <levon@movementarian.org>
525
526         * text2.C (insertStringAsLines): remove old dubious code,
527         fixing bug 1939.
528
529 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
530
531         * MenuBackend.C (expandToc): use Floating::listName() as title of
532         the floats submenus.
533
534 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
535
536         * toc.[Ch]: Do not use translatable strings (bug 1870).
537
538 2005-07-20  John Levon  <levon@movementarian.org>
539
540         * tabular.C: fix 1748 - setting multicolumn adds
541           left line to the first cell
542
543 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
544
545         bug 1920
546         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
547         pars in one go.
548
549 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
550
551         * messages.C: supress some lyxerr messages
552
553 2005-07-18  Juergen Vigna  <jug@lyx.org>
554
555         * text.C (drawSelection): honor boundary when asking for cursorX.
556
557 2005-07-17  José Matos  <jamatos@fc.up.pt>
558
559         * tabular.C (recalculateMulticolumns): fix handling of one column
560         tables.
561
562 2005-07-17  Juergen Vigna  <jug@lyx.org>
563
564         * text.C (Delete, backspace): fixed so that paragraph with the
565         same layout can be merged by Delete/Backspace.
566
567 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
568
569         * text.C (readParToken): fix spelling.
570
571 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
572
573         * text2.C: fix counter update for DEPM problem reported by
574         Georg Baum
575
576 2005-07-17  Juergen Vigna  <jug@lyx.org>
577
578         * BufferView_pimpl.C (setBuffer): save/restore the
579         cursor/selection when switching buffers
580
581         * buffer.h: 
582         * buffer.C (saveCursor): add saveDocumentIterators to save the
583         cursor when switching buffer.
584
585 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
586
587         * debug.C: fix typo
588         * buffer.C: clarify message
589         
590 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
591
592         * dociterator.C (DocIterator): fix initialization order
593
594 2005-07-17  Juergen Vigna  <jug@lyx.org>
595
596         * text2.C (cursorHome): 
597         * text.C (drawSelection, cursorX): 
598         * dociterator.C (textRow): add boundary to getRow() call
599
600         * paragraph.C (getRow): implementation of below
601
602         * paragraph.h: add parameter boundary for getRow() function
603
604 2005-07-17  José Matos  <jamatos@fc.up.pt>
605
606         * buffer.C:
607         * bufferparams.[Ch]:
608         * tex-strings.[Ch]: new file format, remove support for a4.sty,
609         a4wide.sty and a4widemargins.
610
611 2005-07-17  Juergen Vigna  <jug@lyx.org>
612
613         * text2.C (cursorLeft): fix one of error
614
615 2005-07-17  Juergen Vigna  <jug@lyx.org>
616
617         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
618                    cursorEnd):
619         more fixes for boundary handling
620
621         * text3.C (dispatch): don't reset cursor if boundary has changed
622         on cursor movement.
623
624 2005-07-16  Juergen Vigna  <jug@lyx.org>
625
626         * text2.C (getColumnNearX): hopefully got it right now,
627         check if we are on column 0 for special case.
628
629 2005-07-16  Juergen Vigna  <jug@lyx.org>
630
631         * text2.C (getColumnNearX): handle special case Newline Inset
632
633         * text.C (singleWidth): Just remove bogus check
634
635 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
636
637         * funcrequest.C (split): avoid reading uninitialized char c
638
639 2005-07-16  José Matos  <jamatos@fc.up.pt>
640
641         * buffer.C:
642         * converter.C:
643         * lyxrc.C:
644         * paper.h:
645         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
646         single papersize variable.
647
648 2005-07-16  Juergen Vigna  <jug@lyx.org>
649
650         * text3.C (dispatch): honor boundary when checking if a cursor
651         movement has been done
652
653         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
654         (setCursor, setCursorIntern): fix cursor movement with boundary
655
656 2005-07-16  Juergen Vigna  <jug@lyx.org>
657
658         * text.C (currentState): output the actual Boundary
659
660 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
661
662         * factory.C (createInset): fix bad logic for tabular creation
663
664 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
665
666         * lyx_main.C (init): change some reLyX reference to tex2lyx
667
668 2005-07-16  Juergen Vigna  <jug@lyx.org>
669
670         * dociterator.C (DocIterator): initialize boundary
671
672 2005-07-16  Juergen Vigna  <jug@lyx.org>
673
674         * text2.C (getColumnNearX): Consider rows without trailing blank.  
675
676 2005-07-16  André Pönitz  <poenitz@gmx.net>
677
678         * lyxfont.h: Change order of declarations to give the compiler
679         a better chance to inline things
680
681         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
682         questions on unsaved docs for better scritability
683
684 2005-07-16  André Pönitz  <poenitz@gmx.net>
685
686         * paragraph.h (getChar): remove asserts as the same kind of security
687         can be achieved by using a suitable standard library implementation
688         and the function was in the critical path (25.9% in profiler)
689
690 2005-07-16  Juergen Vigna  <jug@lyx.org>
691
692         * cursor.C (bruteFind2):
693         * bufferview_funcs.C (coordOffset): 
694         * text.C (cursorX,cursorY): Handle cursor position after last char
695         in row before a inset which uses a whole row.
696
697 2005-07-15  José Matos <jamatos@lyx.org>
698
699         * output_plaintext.[Ch] (writeFileAscii): control reference title
700         printing.
701         (asciiParagraph): noparbreak was already deal and was incorrectly
702         used.
703
704 2005-07-15  Juergen Vigna <jug@lyx.org>
705
706         * lyxfunc.C (dispatch): save and restore the cursor after a
707         textclass switch.
708
709 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
710
711         * text.C (backspace): bug 806 for empty keepempty paragraphs we
712         change the layout to default before letting DEPM do its thing.
713
714         * paragraph_funcs.C (breakParagraph): dont reset the layout on
715         keepEmpty paragraphs
716
717         * text.C (setCursorFromCoordinates): add a debug statement
718
719         * text2.C (getColumnNearX): bug 1825 make sure that we don't
720         return a pos that is not on the row
721
722         * output_latex.C (TeXDeeper): get rid of potential dereferencing
723         of past the end iterator
724
725 2005-07-14  André Pönitz  <poenitz@gmx.net>
726
727         * undo.C (recordUndoFullBuffer): implement undo for
728         textclass switches
729
730 2005-07-14  André Pönitz  <poenitz@gmx.net>
731
732         * cursor.C (setSelection): open insets when selection is set there
733         to avoid crashs with cold coord cache
734
735 2005-07-14  André Pönitz  <poenitz@gmx.net>
736
737         * trans_mgr.C (insert): move cursor to the right after inserting
738         a char.
739
740 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
741
742         * BufferView_pimpl.C (update): dampen some of the debug blabbering
743         * factory.C (readInset): ditto
744         * text.C, text2.C: ditto
745
746 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * buffer.C: format incremented to 242. There is no file format per
749         se, but the "frenchb" language has been removed from lib/language
750         and has to be translated to "french" by lyx2lyx.
751
752 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
753
754         * cursor_slice.h, dociterator.h: add some documentation
755         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
756
757 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
758
759         * text.C (leftMargin): do not add identation to display() style
760         insets, because they are always centered (bug 1293).
761
762 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
763
764         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
765         formatted_time methods in support/lyxtime.
766
767 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
768
769         * toc.[Ch]: new method getGuiName, which is used by the frontends 
770         to set the toc combo (fixes bug 1870). Make TOC string translatable.
771
772 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
773
774         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
775         StableDocIterator const &)
776         * undo.C (recordUndo): use the above instead of cell.size() comparison
777         (fixes bug 1808; instructed by Andr�.
778
779 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
780
781         * cursor_slice.h: 
782         * dociterator.h: Fix the assert when copying rows/cols in math
783
784 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
785
786         * BufferView_pimpl.C:
787         * LyXAction.C:
788         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
789
790         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
791         (findInset): new functions, refactored from goto Inset that return 
792         the position of a certain inset without setting the buffer's cursor
793         (by Jean-Marc); 
794         (gotoInset): rewrite to call findInset and then set the cursor
795         (by Jean-Marc).
796
797 2005-06-16  Angus Leeming  <leeming@lyx.org>
798
799         * lyxrc.C (output, read): wrap all input and output of paths with
800         calls to os::internal_path and os::external_path, respectively.
801         (output): wrap bind_file inside quotes.
802
803         * format.C (view): enable the viewer to use the '$$s' placeholder.
804
805 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
806
807         * LColor.[Ch] (getFromLaTeXName): new
808
809 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
810
811         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
812
813 2005-06-14  Angus Leeming  <leeming@lyx.org>
814
815         * lyx_main.C (init): ensure that the LyX binary dir is the first
816         element in the PATH on non-POSIX builds.
817
818 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
819
820         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
821
822 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * rowpainter.C (paintInset, paintHebrewComposeChar)
825         (paintArabicComposeChar, paintChars): add a LyXFont argument.
826         (paintChars): use getFontSpan to reduce calls to getFont to a
827         minimum; use Paragraph::lookupChange instead of isXXXText.
828         (paintForeignMark): rename LyXFont argument.
829         (paintFromPos): pass a LyXFont object to the various paintXXX
830         methods.
831
832         * FontIterator.C (FontIterator, operator++): use
833         Paragraph::getFontSpan
834
835         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
836         version that returns the font span as a pair.
837
838 2005-06-09  Angus Leeming  <leeming@lyx.org>
839
840         * converter.C (convert): Don't forget "outfile = real_outfile" as
841         the final step in a conversion where the input and output file names
842         are the same. Otherwise, future conversion steps won't work...
843
844 2005-06-09  Angus Leeming  <leeming@lyx.org>
845
846         * lyxsocket.C: remove stub code as it isn't needed by
847         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
848
849 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
850
851         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
852         effectively disabled -x
853
854 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
855
856         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
857         when it actually makes sense.
858
859 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
860
861         * BufferView_pimpl.C: revert to showCursor in connection with
862         Lars's front-end stack
863
864 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
865
866         * text.C (redoParagraph): move cursor right after a bibitem
867         has been inserted.
868
869         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
870
871 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * buffer_funcs.C (bufferErrors): fix computation of the end of an
874         error range.
875
876 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
877
878         * BufferView.[Ch] (update):
879         * BufferView_pimpl.[Ch] (update, metrics):
880         * dimension.h (operator==):
881         * lyxfunc.C (dispatch):
882         * metricsinfo.h (ViewMetricsInfo):
883         * rowpainter.C (paintText):
884         * lyxtext.h:
885         * text.C (redoParagraph):
886         * text3.C (dispatch): Make LyX only repaint current paragraph in
887         case of character insert --> speedup. Also fix cursor draw
888         artifacts
889
890 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
891
892         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
893         avoid a crash (bug 1891)
894
895 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
896
897         Fix bug 1892:
898
899         * text2.C (getStringToIndex): constify cur argument.
900
901         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
902         argument has been given
903         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
904         try to invoke LFUN_INSET_APPLY).
905
906         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
907         if no inset was created by doInsertInset
908         (doInsertInset): return true if an inset has been inserted.
909
910 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
911
912         * vspace.C (asGUIName): new method. A version of the space
913         suitable for showing on screen.
914
915 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
916
917         * MenuBackend.C:
918         * lyxrc.C: rename "ASCII" to "Plain Text"
919
920 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
921
922         * buffer_funcs.C (expandLabel): take a Buffer as argument;
923         translate the labelstring.
924         (setCounter): translate labelstring as needed.
925
926         * output_docbook.C (makeCommand): fix expandLabel invokation
927
928 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
929
930         * BufferView.C: fix dialog title
931
932 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
933
934         * lyx_main.C (priv_exec): fix logic error with help from Angus
935         * lyx_main.C (parse_execute): set is_gui = false and remove now
936         obsolete comment about a segfault
937
938 2005-05-18  Angus Leeming  <leeming@lyx.org>
939
940         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
941
942 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
943
944         * tabular.[hC]: added setCellInset to fix tabular paste.
945
946 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
947
948         * buffer.C (save): check if destination is writable before trying
949         to copy a file
950
951 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
952
953         * BufferView_pimpl.C (update): fix processEvents -caused update
954         recursion bug
955
956 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * buffer_funcs.C (setCounter): fix test for numbering of
959         environments.
960
961         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
962         depth correctly; use optional argument when it exists
963
964         * lyxtextclass.C: remove unused MaxCounterTags enum
965         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
966         (max_toclevel, min_toclevel): new methods.
967
968         * MenuBackend.C (expandToc2): fix case where depth is smaller than
969         the smallest depth in toc.
970
971         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
972         layouts that should not appear in a table of contents.
973
974 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
975
976         * cursor.h (undispatched, noUpdate): add comments from Andr�
977 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
978
979         * lfuns.h:
980         * LyXAction.C:
981         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
982
983 2005-05-07  André Pönitz  <poenitz@gmx.net>
984
985         * cursor.[Ch] (leaveInset): new function
986
987 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
988
989         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
990
991 2005-05-04  Angus Leeming  <leeming@lyx.org>
992
993         * lyxfunc.C (getStatus): disable the spell checker dialog if
994         none of USE_[AIP]SPELL are defined.
995
996 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
997
998         * tabular.C (setWidthOfCell): remove obsolete comment
999
1000 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1001
1002         * paragraph.C (bibitem):
1003         * buffer_funcs.C (setCounter):
1004         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1005
1006 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1007
1008         * text3.C (getStatus): immediately return after setOnOff
1009
1010         * rowpainter.C: fix drawing of appendix start
1011
1012 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1013
1014         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1015         SwitchBetweenClasses and remove the unused return value.
1016         Handle character styles, too
1017
1018 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1019
1020         * factory.C (createInset): handle undefined character styles
1021
1022 2005-05-02  Angus Leeming  <leeming@lyx.org>
1023
1024         * buffer.C: protect the #include of utime.h with a preprocessor
1025         guard.
1026
1027 2005-05-02  Angus Leeming  <leeming@lyx.org>
1028
1029         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1030         function so that auto-saving works, albeit in a blocking manner.
1031
1032         * Makefile.am: make compilation of the client sub directory, of
1033         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1034         on conditionals set at configure time.
1035
1036         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1037         it can be compiled in its own right but has no-op functionality.
1038
1039         * aspell.C, pspell.C: remove preprocessor guards. The files should
1040         be compiled only if the necessary functionality exists.
1041
1042         * lyxserver.C, lyxsocket.C: disable on Windows.
1043
1044 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1045
1046         * text.C (leftMargin): Fix the parindent use bug (1764)
1047         by dirty trick
1048
1049 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1050
1051         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1052         argument.
1053
1054 2005-04-25  Angus Leeming  <leeming@lyx.org>
1055
1056         * Bidi.[Ch]:
1057         * coordcache.[Ch]:
1058         * ispell.C:
1059         * lyxserver.C:
1060         * mover.C:
1061         * pch.h:
1062         include <config.h> in .C files, not .h ones.
1063         add licence blurb.
1064         protect headers inside preprocessor guards.
1065
1066 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1067
1068         * FuncStatus.h (StatusCodes): document
1069
1070 2005-04-21  André Pönitz  <poenitz@gmx.net>
1071
1072         * FuncStatus.h (enabled, onoff): document
1073
1074 2005-04-19  Angus Leeming  <leeming@lyx.org>
1075
1076         * BufferView_pimpl.C (cursorToggle): no longer test whether
1077         any child processes have been reaped before calling
1078         handleCompletedProcesses().
1079
1080 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1081
1082         * text3.C (dispatch): fix, finally fix, the language problem in
1083         new lyxtexts, without disabling on-the-fly font changes (Helge's
1084         bug report)
1085
1086 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1087
1088         * text3.C (dispatch): set cursor on double/triple click events
1089         (bug 1811)
1090
1091 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1092
1093         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1094         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1095
1096         * rowpainter.C (paintFirst): simplify the code a little bit. In
1097         particular, remove the test for secnumdepth.
1098         * text.C (setHeightOfRow): only allocate space for chapter number
1099         when updateCounters provided an actual label, instead of looking
1100         at secnumdepth directly.
1101
1102         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1103
1104         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1105         paragraphs when secnumdepth is large enough or, for environments,
1106         when they are not the first in a sequence.
1107
1108 2005-04-17  Angus Leeming  <leeming@lyx.org>
1109
1110         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1111         containing space and '~' characters with a call to latex_path().
1112
1113 2005-04-17  Angus Leeming  <leeming@lyx.org>
1114
1115         * converter.C (convert): protect all args of convertDefault.sh
1116         script with quotes.
1117
1118 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1119
1120         * text3.C (dispatch): change the layout to "Caption" after inserting
1121         a float.
1122
1123 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1124
1125         * text3.C (dispatch): fix language problem in newly created
1126         textinsets (and main text) in non-english docs
1127
1128 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1129
1130         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1131         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1132         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1133
1134 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1135
1136         * lyxtext.h:
1137         * text.C (metrics):
1138         * text2.C (getFont):
1139         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1140         fonts fix
1141
1142 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1143
1144         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1145         output of \item arguments without trailing text.
1146
1147 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * FontIterator.C (operator*): avoid a copy of the font.
1150
1151 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1152
1153         * rowpainter.C (getFont): fix language bug from previous fix
1154
1155 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1156
1157         * rowpainter.C (RowPainter, getFont): fix font inside inset
1158         (bugs 1766, 1809)
1159
1160 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1161
1162         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1163         preventing inserted font, deco, delim insets jumping to start of
1164         surrounding inset.
1165
1166 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1167
1168         * lyxfunc.C (dispatch): translate message before sending it to the
1169         minibuffer.
1170
1171 2005-03-29  Angus Leeming  <leeming@lyx.org>
1172
1173         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1174         to LyX on the command line.
1175
1176 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1177
1178         * vc-backend.C: use QuoteName to protect file names wherever
1179         necessary.
1180
1181 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1182
1183         * buffer.[Ch]:
1184         * BranchList.h: fix bugs 1844,1845: document settings don't
1185         stick
1186
1187 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1188
1189         * lyxrc.C (setDefaults, read, output, getDescription): add support
1190         for tex_allows_spaces.
1191
1192         * exporter.C (Export): allows files in directory containing spaces
1193         if tex_allows_spaces is true.
1194
1195         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1196         output it in double quotes.
1197
1198 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1199
1200         * rowpainter.C: use default text height for drawing change tracker
1201         strikeout lines.
1202
1203 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1204
1205         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1206
1207 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1208
1209         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1210         directory is missing.
1211
1212 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1213
1214         * text2.C: fixed the fix, extended to other case.
1215
1216 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1217
1218         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1219
1220 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1221
1222         * text2.C (cursorUp): get rid of a crash
1223         * text.C (x2pos): add an assert
1224
1225 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1226
1227         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1228
1229         * text3.C:
1230         * lyxfunc.C:
1231         * dociterator.C: include <boost/current_function.hpp>, which is
1232         needed when assertions are disabled.
1233
1234 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1235
1236         * text2.C: fix for stuck cursor when traversing two
1237         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1238
1239 2005-02-25  Andreas Vox  <avox@arcor.de>
1240
1241         * output_docbook.C (makeParagraph): suppress trailing newline
1242         after a run of paragraphs
1243
1244 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1245
1246         * paragraph.C: fix for confused change tracker when pasting
1247         text that begins with a lineseparator. [bug 1827]
1248         (setChange(0, Change::INSERTED);)
1249
1250         * paragraph_funcs.C: fix for lost changes on triple-paste
1251         in change tracking mode [bug 1827] (par.setChange()).
1252
1253 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1254
1255         * text2.C (updateCounters, setCounter, expandLabel): move to
1256         buffer_funcs.
1257
1258         * buffer_funcs.C (updateCounters): turn into a free standing
1259         function and add a buffer parameter. Remove dead code for tracking
1260         labelstring change.
1261         (setCounter): change into a free-standing function which gets a
1262         dociterator as argument. Use this iterator to fix captions in a
1263         simple way. When no float is found above the caption, use the
1264         labelstring of the caption layout as default.
1265
1266         * text.C (breakParagraph, backspace):
1267         * text2.C (init, setLayout, changeDepth):
1268         * text3.C (dispatch):
1269         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1270         updateCounters.
1271
1272         * dociterator.C (forwardPar): make it much faster by calling
1273         forwardPos() only when really necessary.
1274
1275         * output_docbook.C (makeCommand): adapt to expandLabel move.
1276
1277         * cursor.C: remove unused variable
1278
1279 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1280
1281         * paragraph_funcs.C: fix crash when pasting insets in change
1282         tracking mode [bug 1277] (honour change type in moveItem).
1283
1284 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1285
1286         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1287
1288 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1289
1290         * BufferView.C (setCursor): change to use a DocIterator.
1291         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1292         (putSelectionAt): adapt to BufferView::setCursor change.
1293
1294         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1295         moved here from LyXText and rewritten to use proper cursor
1296         methods. Fixes bug 1787, 616 and 835.
1297
1298         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1299         when inside an inset (part of bug 781).
1300         (dispatch): adapt to change of BufferView::setCursor.
1301         (getStatus, dispatch): handle LFUN_GOTOERROR,
1302         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1303
1304         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1305         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1306         * text3.C (gotoNextInset, gotoInset): removed.
1307
1308 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1311
1312 2005-02-15  Angus Leeming  <leeming@lyx.org>
1313
1314         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1315         can be used meaningfully in a comparison.
1316
1317 2005-02-13  André Pönitz  <poenitz@gmx.net>
1318
1319         * bufferview_funcs.C (coordOffset): improve cursor drawing
1320
1321 2005-02-13  André Pönitz  <poenitz@gmx.net>
1322
1323         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1324         * Cursor.C (dispatch): use fixIfBroken
1325         * lyxfunc.C (getStatus): use fixIfBroken
1326
1327 2005-02-15  Angus Leeming  <leeming@lyx.org>
1328
1329         * lyx_main.C (error_handler):
1330         * lyxfunc.C:
1331         * lyxrc.C (setDefaults):
1332         s/GetEnv/getEnv/.
1333         #include "environment.h".
1334
1335         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1336
1337 2005-02-15  Angus Leeming  <leeming@lyx.org>
1338
1339         * lyxserver.C (startPipe): squash MSVC warning "local variable
1340         'fd' used without having been initialized".
1341
1342 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1343
1344         * BufferView_pimpl.C: revert accidental commit.
1345
1346 2005-02-14  André Pönitz  <poenitz@gmx.net>
1347
1348         * dociterator.[Ch]: new member forwardPosNoDescent(),
1349         which doesn't enter nested insets.
1350         * text2.C (setFont): use forwardPosNoDescent() instead
1351         of ForwardPos() (fixes crash on font change).
1352
1353 2005-02-13  Angus Leeming  <leeming@lyx.org>
1354
1355         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1356         only if lyxrc.path_prefix is not empty.
1357
1358 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1359
1360         * bufferparams.C (readGraphicsDriver): prevent crash
1361
1362 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1363
1364         * text2.C (setCounter): check for inInset() == 0
1365
1366 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1367
1368         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1369         but use update() to get correct screen display; use convert
1370         instead of istringstream.
1371         (getStatus): handle LFUN_GOTO_PARAGRAPH
1372
1373         * lyxfunc.C (dispatch, getStatus): do not handle
1374         LFUN_GOTO_PARAGRAPH here.
1375
1376 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1377
1378         * text3.C (dispatch): size() -> depth()
1379
1380         * text2.C: remove some debug output
1381
1382         * paragraph.C: ws changes only
1383
1384         * lyxfunc.C (getStatus): size() -> depth()
1385
1386         * dociterator.h (clear, push_back, pop_back, internalData,
1387         operator[], resize, empty): new functions
1388         Make StableDocIterator and operator== be friends. Don't inherit
1389         from std::vector use a privat class variable slices_ instead.
1390         Modify to fit.
1391
1392         * dociterator.C: update because of not inheriting from std::vector
1393         anymore. Call explictly to slices_ instead. Use depth() instead of
1394         size() and top() instead of back()
1395
1396         * cursor.C: chagne size() -> depth and back() -> top(). Also
1397         remove some direct operator[](i) calls in favour of foo[i]
1398         (getFont): remove some dead code
1399
1400         * bufferview_funcs.C (coordOffset): size() -> depth()
1401
1402         * buffer.C: ws changes only
1403
1404         * CutAndPaste.C (eraseSelection): back() -> top()
1405
1406         * BufferView_pimpl.C (selectionRequested): back() -> top()
1407
1408         * BufferView.C (setCursor): size() -> depth()
1409
1410 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1411
1412         * text3.C (cursorPrevious): return true if depm changed something
1413         (cursorNext): ditto
1414         (dispatch): rename sl to oldTopSlice, remove moving use the new
1415         NoUpdate func attrib instead. Make sure that needsUpdate is set
1416         for function that have NoUpdate, but where depm might have changed
1417         the buffer anyway.
1418
1419         * text2.C (cursorLeft): make us return true if depm changed
1420         something
1421         (cursorRight): ditto
1422         (cursorUpParagraph): ditto
1423         (curosrDownParagraph): ditto
1424         (cursorUp, cursorDown): ditto, make sure to read comments in code
1425         (deleteEmptyParagraphMechanism): remove an assert, also return
1426         true if just a single char was deleted.
1427
1428         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1429         cursor that we modify, to avoid modifying an active cursor before
1430         we call setCursor. This allows depm to run. Also return true if
1431         depm deleted something.
1432
1433         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1434         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1435         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1436         something was changed in the buffer because of them (ie. depm run)
1437
1438         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1439         debug messages. Make update by default be false. Make sure that
1440         the result of update is retained throught several calls down to
1441         dispatch.
1442
1443         * LyXAction.h: add a new func_attrib: NoUpdate
1444
1445         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1446         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1447         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1448         and LFUN_WORDLEFT
1449         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1450
1451 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1454         bv_->owner(), bv_->buffer() by direct references to the private
1455         members.
1456         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1457         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1458         (fitCursor): center() is in BufferView::Pimpl.
1459         (getStatus, trackChanges, dispatch): no need for a temporary buf
1460         variable
1461         (fitCursor, workAreaDispatch): use workarea().workheight()
1462
1463 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1464
1465         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1466
1467 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1468
1469         * buffer.C: format up to 241.
1470         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1471         break if pasting into ERT
1472         * lyxfunc.C (getStatus): suppress mathpanel and
1473         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1474
1475 2005-02-01  Angus Leeming  <leeming@lyx.org>
1476
1477         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1478
1479 2005-02-01  Angus Leeming  <leeming@lyx.org>
1480
1481         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1482         calling fs::is_directory().
1483
1484 2005-01-31  Angus Leeming  <leeming@lyx.org>
1485
1486         * lyx_main.C (priv_exec): specify explicitly the relative location
1487         of the top level build directory when run in-place.
1488
1489 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1490
1491         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1492         LyXText containing the cursor, not the top-level one.
1493
1494         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1495         true.
1496         (insertStringAsLines): rename par to pit; use temporary variable
1497         par to hold a Paragraph; do not store par.layout() in a variable,
1498         since the pointer may die when breaking paragraphs; pass pars to
1499         breakParagraph() instead of Buffer::paragraphs().
1500
1501 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1502
1503         * lyxlex_pimpl.h: #include <fstream>.
1504
1505         * BufferView.[Ch] (getLyXText): add a const version.
1506
1507         * BufferView_pimpl.C: add debug aids.
1508
1509         * RowList_fwd.h:
1510         * buffer.h:
1511         * lyxrow.h:
1512         * paragraph_funcs.h: add commentary explaining what the class does.
1513
1514
1515         * coordcache.[Ch]: add lots of commentary.
1516         (startUpdating, doneUpdating): debug aids.
1517         (arrays, insets, parPos, getParPos): accessors to private data.
1518
1519         * cursor_slice.[Ch] (text): add a const version.
1520         * dociterator.[Ch] (text, innerText): add const versions.
1521
1522         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1523         bool.
1524
1525         * paragraph.C (getRow, pos2ros): add asserts.
1526
1527         * paragraph.h: add commentary. Lots of.
1528
1529         * paragraph.[Ch] (metrucs, draw): removed.
1530
1531         * cursor.C:
1532         * rowpainter.[Ch]: const-correct changes.
1533
1534         * text.C: various obvious clean-ups. Removal of ancient cruft.
1535         Bug fixes, even.
1536
1537 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1538
1539         * vc-backend.C (find_file): rewrite to use boost.filesystem
1540         (scanMaster): ditto
1541
1542         * main.C (main): set default name check for boost.filesystem to
1543         no check
1544
1545         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1546         (open): ditto
1547         (doImport): ditto
1548         (actOnUpdatedPrefs): ditto
1549
1550         * lyx_main.C (init): rewrite to use boost.filesystem
1551         (queryUserLyXDir): ditto
1552
1553         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1554         (getContentsOfAsciiFile): ditto
1555
1556         * lastfiles.C (readFile): rewrite to use boost.filesystem
1557
1558         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1559
1560         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1561         (loadLyXFile): ditto
1562
1563         * buffer.C (Buffer): adjust for destroydir
1564         (getLogName): rewrite to use boost.filesystem
1565         (setFileName): ditto
1566         (save): use fs::copy_file (from fs_extras)
1567
1568         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1569
1570         * LaTeX.C (run): rewrite to use boost.filesystem
1571         (scanAuxFiles): ditto
1572         (handleFoundFile): ditto
1573
1574 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1575
1576         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1577
1578         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1579
1580 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1581
1582         * lyxlayout.[Ch]: change some vars from float to double
1583
1584         * buffer.C (readFile): make a local var const
1585
1586         * Several files: use convert<> instead of atoi,strToXXX and friends
1587
1588 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1589
1590         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1591         holds the contents of packages.lst. New functions getAvailable
1592         and isAvailable to parse and check that list, resp.
1593
1594         * LyXAction.C:
1595         * lfuns.h:
1596         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1597
1598         * bufferparams.[Ch]: new param output_changes.
1599
1600         * Buffer.C: increase file format to 240.
1601         Use output_changes and isVailable.
1602
1603         * changes.[Ch]:
1604         * paragraph.C:
1605         * paragraph_pimpl.C: Use output_changes and isVailable.
1606
1607 2005-01-23  Angus Leeming  <leeming@lyx.org>
1608
1609         * output_latex.C: #include "insetbibitem.h", rather than
1610         forward declare function bibitemWidest.
1611
1612 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1613
1614         * lyx_main.C (init): make it compile on the Mac.
1615
1616 2005-01-20  Angus Leeming  <leeming@lyx.org>
1617
1618         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1619         (setLyXMisc): (char string literal) != (char string literal) is
1620         performing a comparison on the addresses. Convert one operand
1621         explicitly to string to guarantee expected behaviour.
1622         From MSVC warning.
1623
1624 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1625
1626         * buffer.C:
1627         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1628
1629         * output_plaintext.C: remove unneeded #include gzstream.h.
1630
1631 2005-01-20  Angus Leeming  <leeming@lyx.org>
1632
1633         * SpellBase.h: rename some of the elements of the Result enum.
1634
1635         * aspell_local.h:
1636         * ispell.h:
1637         * pspell.h:
1638         * aspell.C (check):
1639         * ispell.C (check):
1640         * pspell.C (check): ditto
1641
1642 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1643
1644         * buffer.C: add #include <fstream>.
1645
1646         * lyx_main.C (init): Compile fix.
1647
1648         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1649
1650 2005-01-20  Angus Leeming  <leeming@lyx.org>
1651
1652         * mover.h: change commentary to reflect the changed meaning of
1653         the $$s placeholder.
1654
1655 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1656
1657         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1658
1659         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1660
1661 2005-01-20  Angus Leeming  <leeming@lyx.org>
1662
1663         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1664         printing diagnostic data by not dereferecing an iterator past the
1665         end.
1666
1667 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1668
1669         * buffer.C (readHeader): use "&&" rather than "and".
1670
1671         * lyxserver.h (inPipeName, outPipeName): make these const.
1672
1673 2005-01-19  Angus Leeming  <leeming@lyx.org>
1674
1675         * lyx_main.C (error_handler, init): protect SIGHUP with
1676         #ifdef SIGHUP guards.
1677
1678 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1679
1680         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1681
1682 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1683
1684         * text.C (setHeightOfRow): add a margin at the top and bottom of
1685         the document (bug 1761)
1686
1687 2005-01-17  Angus Leeming  <leeming@lyx.org>
1688
1689         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1690         with "python ". Workaround for a brain-dead Windows.
1691
1692 2005-01-16  Angus Leeming  <leeming@lyx.org>
1693
1694         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1695         for MacOSX and Windows to use prependEnvPath.
1696         Strip out the hard-coded block to add elements to the PATH for
1697         MacOSX and replace it with a call to prependEnvPath using the
1698         contents of LyXRC::path_prefix.
1699         (queryUserLyXDir): strip out the code to run reconfigure, instead
1700         returning a boolean indicating the necessity to do so.
1701         (reconfigureUserLyXDir): contains the code to reconfigure the
1702         user support directory. Is now called after the various LyXRC data
1703         files have been read.
1704
1705         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1706
1707 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1708
1709         * converter.[Ch] (convert): take a new parameter try_default. Use
1710         a default converter (imagemagick) if try_default is true.
1711
1712 2005-01-13  Angus Leeming  <leeming@lyx.org>
1713
1714         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1715         os::cygwin_path_fix.
1716         (write): output LyXRC::cygwin_path_fix as necessary.
1717
1718 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1719
1720         * lyxrc.h:
1721         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1722
1723 2005-01-12  Angus Leeming  <leeming@lyx.org>
1724
1725         * lyx_main.C (init): set the PATH variable to include the
1726         directory containing the LyX binary when running on Mac or Windows.
1727
1728 2005-01-12  Angus Leeming  <leeming@lyx.org>
1729
1730         * lyx_main.C (init): remove cruft that purports to set the locale
1731         dir. It doesn't and is not needed anyway.
1732
1733 2005-01-10  Angus Leeming  <leeming@lyx.org>
1734
1735         * Makefile.am: remove the lyx_main.C special casing.
1736
1737         * BufferView_pimpl.C:
1738         * bufferlist.C:
1739         * exporter.C:
1740         * lyx_cb.C:
1741         * lyx_main.C:
1742         * lyxfunc.C:
1743         * messages.C: use support/package.h to provide the paths to the
1744         various directories used by LyX.
1745
1746 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1747
1748         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1749         layout if pasting into an empty paragraph)
1750
1751 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1752
1753         * tex-accent.C: add <string>
1754
1755 2005-01-06  José Matos  <jamatos@lyx.org>
1756
1757         * ParagraphParameters.C (write): put every parameter in its own line.
1758         * paragraph.C (write): reduce number of consecutive empty lines exported.
1759         * buffer.C (LYX_FORMAT): increase file format to 239.
1760
1761 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1762
1763         * everywhere: change support/tostr.h -> support/convert.h
1764
1765         * tabular.C: make all write_attributes templates, tostr -> convert
1766
1767         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1768         (emptyTag): and -> &&, and fix type for ret from getChar
1769         (getFirstWord): fix type for ret from getChar
1770         (onlyText): and -> &&
1771         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1772         getChar
1773
1774         * toc.C (goTo, action):
1775         * text3.C (dispatch):
1776         * text.C (currentState):
1777         * tex-accent.C (DoAccent):
1778         * sgml.C:
1779         * lyxrc.C:
1780         * lyxfunc.C (menuNew):
1781         * lyxfinc.C (replace):
1782         * counters.C (laberItem):
1783         * bufferview_funcs.C (font2string):
1784         * bufferparams.C (writeFile):
1785         * buffer.C (readFile):
1786         * Spacing.C (set):
1787         * MenuBackend.C: tostr -> convert
1788
1789         * LaTeX.C (runMessage): fix format
1790         (scanAuxFiles): tostr -> convert
1791
1792         * BufferView_pimpl.C (savePosition): fix format
1793         (restorePosition): ditto
1794         (dispatch): ditto
1795
1796 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1797
1798         * Spacing.[Ch]: New method getValueAsString().
1799
1800         * Spacing.[Ch]:
1801         * bufferparams.C:
1802         * ParagraphParameters.C:
1803         * lyxlayout.C:
1804         * text.C:
1805         * text3.C: store/read spacing value as string.
1806
1807         * rowpainter.C: change float value (spacing_val) to double.
1808
1809         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1810         broken custom document spacing).
1811
1812 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1813
1814         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1815         namespace, also more use of temp references and const
1816
1817         * cursor.[Ch] (getStatus): move to lyxfunc.C
1818
1819         * bufferparams.C: reformat slightly
1820
1821         * bufferview_funcs.C (font2string): constify arg
1822
1823         * changes.C:
1824         * converter.C:
1825         * counters.C:
1826         * bufferlist.C:
1827         * buffer_funcs.C: (many funcs): constify arg on function
1828         definitions, also make more local vars const, also add ASSERTS on
1829         pointer args.
1830
1831         * buffer.C (LYX_FORMAT): put const in correct place
1832         (many funcs): constify arg on function definitions, also make
1833         more local vars const
1834
1835         * aspell_local.h: remove "struct" from typdef setup
1836
1837         * aspell.C (check): make word_ok const
1838         (nextMiss): simplify slightly
1839         (error): ditto
1840
1841 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1842
1843         * lyxrc.[Ch]: store all float values as strings.
1844         use int (not float) for lyxrc.dpi.
1845
1846 2005-01-04  Angus Leeming  <leeming@lyx.org>
1847
1848         * lyx_cb.C (Reconfigure):
1849         * lyx_main.C (queryUserLyXDir):
1850         to run the <system_lyxdir>/configure correctly on Windows, prefix
1851         the path to the script with "sh " when generating the string that
1852         is passed to system().
1853
1854 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1855
1856         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1857
1858 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1859
1860         * lyxlength.C (asLatexString): get rid of setprecision
1861
1862 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1863
1864         * text2.C (setLayout): remove unused variable endpit.
1865         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1866
1867         * paragraph.C (onlyText): remove unused variable style.
1868
1869         * cursor.C (bruteFind): remove unused variables beg and end.
1870
1871         * Makefile.am (dist_noinset_DATA): not needed anymore
1872
1873         * cheaders/*: remove.
1874
1875 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1876
1877         * text3.C: fix LFUN_MATH_MODE.
1878
1879 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1880
1881         * buffer_funcs.C (countWords): new function. Counts words between
1882         two iterators.
1883
1884         * BufferView_pimpl.C (getStatus, dispatch): handle
1885         LFUN_WORDS_COUNT.
1886
1887         * LyXAction.C (init):
1888         * lfuns.h: add LFUN_WORDS_COUNT.
1889
1890 2004-12-19  Angus Leeming  <leeming@lyx.org>
1891
1892         * buffer.C (save): s/slashify_path/internal_path/.
1893
1894 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1895
1896         * lyxfind.C (findChange): do not search for end of pars, because
1897         the change tracker cannot handle this (fixes bug 1719).
1898
1899 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1900
1901         * paragraph.[Ch] (autoBreakRows): remove
1902
1903         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1904
1905         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1906         avoid using the paragraph one
1907
1908         * text2.C (LyXText, insertStringAsLines): adjust
1909
1910 2004-12-16  Angus Leeming  <leeming@lyx.org>
1911
1912         * bufferlist.C:
1913         * lyx_main.C:
1914         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1915
1916 2004-12-14  Angus Leeming  <leeming@lyx.org>
1917
1918         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1919
1920         * bufferlist.C (emergencyWrite):
1921         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1922         GetEnvPath("HOME").
1923
1924 2004-12-14  Angus Leeming  <leeming@lyx.org>
1925
1926         * main.C: (main): no longer pass pointers to os::init.
1927
1928 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1929
1930         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1931         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1932
1933 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1934
1935         * lyxfunc.C:
1936         * text3.C: remove selection_possible global flag
1937
1938 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1939
1940         * text2.C (getSelectionSpan): remove
1941         (changeDepth, changeDepthAllowed): adjust
1942
1943 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1944
1945         * Makefile.am (BOOST_LIBS): use boost variables
1946
1947 2004-12-03  José Matos  <jamatos@lyx.org>
1948
1949         * buffer.C: format up to 238.
1950
1951 2004-12-03  José Matos  <jamatos@lyx.org>
1952
1953         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1954
1955 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1956
1957         * cursor.C (goUpDown): remove call to idxUpDown2
1958
1959 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1960
1961         * tabular.[Ch]: use size_t-like types for cell, row and column
1962         indices
1963
1964 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1965
1966         * lyxfunc.C (getStatus): do not lose previous information when
1967         calling BufferView::getStatus; do not set a default "Command
1968         disabled" message at the beginning, but just before returning.
1969
1970 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1971
1972         * cursor.h (getStatus): add better comment from src/cursor.C
1973
1974 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1975
1976         * text3.C (getStatus): return false when the lfun is not handled
1977
1978 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1979
1980         * broken_headers.h: remove
1981
1982         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1983
1984 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1985
1986         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1987         offset_ref accessors
1988
1989         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1990         top_y_, merge fitcursor with update
1991         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1992         coord scheme
1993         (metrics): introduce
1994         (workAreaDispatch): adapt to new coord scheme
1995         (redoCurrentBuffer): remove
1996
1997         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1998
1999         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2000         CurStatus enum.
2001
2002         * coordcache.[Ch]: add paragraph cache and helpers
2003
2004         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2005         adjust everywhere
2006
2007         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2008         (targetX, setTargetX): introduce
2009
2010         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2011         baseline -> ascent, as the rest of lyx
2012
2013         * lyxtext.h: remove redoParagraphs, updateParPositions,
2014         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2015         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2016         have ascent/descent (ascent is ascent of first par)
2017
2018         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2019         step of BufferView
2020
2021         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2022
2023         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2024
2025         * pariterator.C: fix infinite loop introduced in par->pit renaming
2026
2027         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2028         in insets and LyXText, draw two off-screen paragraphs using
2029         NullPainter, and adapt to new coord scheme
2030
2031         * text.C:
2032         * text2.C:
2033         * text3.C: adapt lfun handlers to the new coord scheme, which
2034         means: there's only guaranteed coord information for onscreen pars
2035         plus one above and one below. This implies that one can do search
2036         from y coordinates in the range [-1,workHeight]
2037
2038 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2039
2040         * rename a lot of InsetOld to InsetBase
2041
2042 2004-11-25  Angus Leeming  <leeming@lyx.org>
2043
2044         * BufferView_pimpl.C:
2045         * lyx_cb.C:
2046         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2047
2048 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2049
2050         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2051         call BufferView::getStatus if LCursor::getStatus did nothing
2052         (setStatusMessage, getStatusMessage): removed.
2053
2054         * FuncStatus.C (message): new methods. Used to provide an error
2055         message indicating why a command is disabled.
2056         (clear, |=, FuncStatus): update for message.
2057
2058 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2059
2060         * lyxfunc.C (dispatch): always call sendDispatchMessage
2061
2062 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2063
2064         * BufferView.C:
2065         * BufferView_pimpl.C:
2066         * CutAndPaste.C:
2067         * FontIterator.C:
2068         * buffer.C:
2069         * cursor.C:
2070         * cursor_slice.[Ch]:
2071         * dociterator.[Ch]:
2072         * lyxfind.C:
2073         * paragraph_funcs.C:
2074         * pariterator.C:
2075         * rowpainter.C:
2076         * text.C:
2077         * text2.C:
2078         * text3.C:
2079         * undo.C: par->pit renaming
2080
2081 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * tabular.C (cellstruct): use initialization, store a shared_ptr
2084         to insettext instead of the insettext directly, adjust to fit.
2085         (operator=):  new function
2086         (swap): new function
2087         (rowstruct): use initialization
2088         (columnstruct): use initialization
2089         (ltType): use initialization
2090
2091
2092         * lyxlength.h (swap): new function
2093
2094         * LColor.[Ch] (operator=): use the common semantics
2095
2096 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2097
2098         * lyxfind.C (findNextChange): update the bufferview after setting
2099         the selection.
2100
2101 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2102
2103         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2104         number of InsetOptArgs has already been inserted.
2105
2106         * output_latex.C (latexOptArgInsets): new method. This outputs all
2107         the optarg insets, up to the limit defined in the layout file.
2108         (optArgInset): removed
2109         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2110
2111 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2112
2113         * paragraph.C (isLetter): remove special spellchecker-related
2114         code; return true also for digits
2115         (isWord, isKomma): remove
2116
2117         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2118         * lyxfind.C (MatchString()): use isLetter instead of isWord
2119
2120 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2121
2122         * pariterator.h (operatir=): comment out un-implemented member
2123         function.
2124
2125         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2126         static cast.
2127
2128 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2129
2130         * lyxfont.h: include LColor.h to satisfy concept checks.
2131
2132 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2133
2134         * pariterator.h: add typdefs for value_type, difference_type,
2135         pointer and reference to satisfy concept checks. Also add default
2136         constructor for same reason.
2137
2138         * pariterator.C (operator++): add post-increment operator to
2139         satisfy concept checks.
2140
2141         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2142         checks.
2143
2144         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2145
2146         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2147         checks. Also rename base_type to BaseType to follow naming
2148         standard better.
2149
2150         * FloatList.h: include Floating.h to satisfy concept checks.
2151
2152 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2153
2154         * lyxfunc.C (getStatus): when the origin of the request is menu or
2155         toolbar, and the LyXView does not have focus, do as if there was
2156         no buffer (bug 1720)
2157
2158         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2159         FuncRequest to individual entries of LFUN_SEQUENCE
2160
2161 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * output_latex.C (TeXOnePar): override runparams.moving_arg
2164         according to the needprotect value of the current paragraph (bug
2165         1739)
2166
2167         * paragraph.C (simpleTeXOnePar): no need to override
2168         runparams.moving_args here
2169
2170 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2171
2172         * vspace.C: fix off-by-one-error, related to fix #1682
2173
2174 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2175
2176         * lengthcommon.C: a more general fix for bug 1682
2177
2178 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2179
2180         * text.C (backspace): fix crash
2181
2182 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2183
2184         * format.[Ch] (getFormatFromFile): new method
2185         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2186
2187 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2188
2189         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2190
2191 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2192
2193         * lyxfunc.C (dispatch): remove the verbose argument
2194         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2195         instead
2196
2197         * kbmap.C (defkey): set the origin of func to KEYBOARD
2198
2199         * MenuBackend.C (MenuItem):
2200         * ToolbarBackend.C (add): set the origin of func to UI
2201
2202         * funcrequest.[Ch]: add origin member, which indicates which part
2203         of LyX requests an action
2204
2205 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2206
2207         * converter.C (move): don't lie in the error message
2208         * converter.h (isReachable, move): document
2209
2210 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2211
2212         * buffer.C: remove unused using lyx::support::atoi
2213         * paragraph_funcs.C: ditto
2214
2215 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2216
2217         * bufferlist.C (exists): use bind and equal_to instead of
2218         compare_memfun
2219         (getBuffer): ditto
2220         * lyxtextclasslist.C (NumberOfClass): ditto
2221
2222         * cursor.C (insert): use for_each instead of explicit for loop
2223
2224         * bufferlist.C (getFileNames): use std::transform and
2225         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2226
2227         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2228         for loop
2229
2230         * buffer.C (changeLanguage): use for_each instead of explicit for
2231         loop
2232         (hasParWithID): implement using getParFromID
2233
2234         * LaTeXFeatures.C: ws change only
2235
2236         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2237         to cleanup a bit.
2238
2239         * BufferView_pimpl.C (trackChanges): use for_each instead of
2240         expilicit for loop
2241
2242 2004-11-04  André Pönitz  <poenitz@gmx.net>
2243
2244         * undo.h:
2245         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2246
2247         * dociterator.C (asDocIterator): use hard assert again.
2248
2249 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2250
2251         * lyxlength.C (asLatexString): rewrite so that it does not use
2252         snprintf anymore
2253
2254 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2255
2256         * text3.C (specialChar, dispatch): make sure cursor moves to the
2257         right after inserting an inset
2258
2259 2004-11-02  José Matos  <jamatos@lyx.org>
2260
2261         * output_docbook.C (docbook):
2262         * paragraph.C (getID):
2263         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2264         garantee that the output is always legal.
2265
2266         * tabular.C (docbook):
2267         * outputprams.[Ch]: remove mixed contents.
2268
2269 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2270
2271         * text2.C (setCounter): prevent endless loop
2272
2273 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2274
2275         * exporter.C (copyFile): use the mover instead of support::copy()
2276         * exporter.C (Export): pass format and latex name to copyFile()
2277         * exporter.h (addExternalFile): document
2278         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2279
2280 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2281
2282         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2283
2284 2004-10-30  José Matos  <jamatos@lyx.org>
2285
2286         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2287         text and no inset or font change. This allows to use CDATA
2288         sections just for the whole paragraph.
2289
2290 2004-10-30  José Matos  <jamatos@lyx.org>
2291
2292         * paragraph.C (getFirstWord): remove unused variable.
2293
2294 2004-10-30  José Matos  <jamatos@lyx.org>
2295
2296         * paragraph.C (getFirstWord): the content should always be escaped
2297         there.
2298         (simpleDocBookOnePar):
2299         * output_docbook.C (makeEnvironment): replace reference to CDATA
2300         to style pass_thru.
2301
2302 2004-10-30  José Matos  <jamatos@lyx.org>
2303
2304         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2305
2306 2004-10-30  José Matos  <jamatos@lyx.org>
2307
2308         * output_docbook.C (makeParagraphs):
2309         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2310         standard paragraph has only a given type of content drop the wrapper.
2311
2312 2004-10-29  José Matos  <jamatos@lyx.org>
2313
2314         * output_docbook.C (makeEnvironment):
2315         * sgml.C (openTag):
2316         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2317
2318 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2319
2320         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2321         (cleanID): sanitize any id.
2322
2323 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2324
2325         * buffer.C, lyxlex_pimpl.C:
2326         * lyxlex_pimpl.C (setFile):
2327         s/getExtFromContents/getFormatFromContents/
2328
2329 2004-10-28  José Matos  <jamatos@lyx.org>
2330
2331         * output_docbook.C (makeEnvironment): move id to broadest possible
2332         scope.
2333
2334         * sgml.C (openTag): apply substitution of <> for all attributes.
2335
2336 2004-10-28  José Matos  <jamatos@lyx.org>
2337
2338         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2339         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2340         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2341
2342         * sgml.[Ch]: new version for open and closeTag for paragraph and
2343         for strings. Now they handle the ids of paragraphs.
2344
2345 2004-10-26  Angus Leeming  <leeming@lyx.org>
2346
2347         * Makefile.am: add mover.[Ch].
2348
2349         * converter.C (convert, move): use the new Movers to move external
2350         files to the temp directory.
2351
2352         * lyx_main.C (init): ensure that the global system_movers data
2353         is initialised.
2354
2355         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2356         preferences file.
2357
2358         * mover.[Ch]: new files, defining a Mover as a utility to move an
2359         external file between directories and, if necessary, manipulate this
2360         file using a helper script.
2361
2362 2004-10-25  José Matos  <jamatos@lyx.org>
2363
2364         * output_docbook.C (makeCommand): merge two if's that tested the
2365         same condition.
2366
2367 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2368
2369         * sgml.C (escapeString): fix warning in a better way
2370
2371 2004-10-25  José Matos  <jamatos@lyx.org>
2372
2373         * sgml.C (escapeString): import the require boosts header file for
2374         tie, and avoid a signed unsigned comparison.
2375
2376 2004-10-25  José Matos  <jamatos@lyx.org>
2377
2378         * sgml.h: add #include <string>
2379
2380 2004-10-25  José Matos  <jamatos@lyx.org>
2381
2382         * sgml.[Ch] (escapeString): new function to escape all the string.
2383
2384 2004-10-24  José Matos  <jamatos@lyx.org>
2385
2386         * paragraph.[Ch] (getFirstWord): new function to get the first
2387         word. Useful for description.
2388         (simpleDocBookOnePar): remove depth argument, add another that
2389         says where to start the paragraph.
2390
2391         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2392         use the new functions to fix cleanly the support for descriptions.
2393
2394 2004-10-24  José Matos  <jamatos@lyx.org>
2395
2396         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2397         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2398         * output_linuxdoc.C (linuxdocParagraphs):
2399         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2400         add buffer as argument.
2401
2402 2004-10-24  José Matos  <jamatos@lyx.org>
2403
2404         * output_docbook.C (makeEnvironment, searchEnvironment): place
2405         CDATA inside paragraphs and fix scope for listitems.
2406
2407 2004-10-24  José Matos  <jamatos@lyx.org>
2408
2409         * output_docbook.C: remove using statement for stack.
2410
2411 2004-10-23  José Matos  <jamatos@lyx.org>
2412
2413         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2414         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2415         docbook. The new scheme is recursive and makes use of iterators, the
2416         same as latex export works.
2417         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2418         directly with the paragraph contents. This code was moved up to
2419         output_docbook.C (docbookParagraphs).
2420         * sgml.C (openTag, closeTag): removed unneeded newlines.
2421         (closeEnvTags) removed.
2422
2423 2004-10-23  André Pönitz  <poenitz@gmx.net>
2424
2425         * undo.C (textUndoOrRedo):
2426         * dociterator.C (asDocIterator): work around crash
2427
2428         * cursor.C (getStatus): replace ASSERT by more verbose error message
2429           and manual correction of the problem. Should increase stability
2430           while providing more sensible information.
2431
2432 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2433
2434         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2435
2436         * bufferlist.C (previous, next): new methods
2437
2438         * lfuns.h:
2439         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2440
2441 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2442
2443         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2444         entities to preamble.
2445
2446 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2447
2448         * messages.C (Pimpl): strip off translation context information
2449
2450 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2451
2452         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2453         the cursor is correct (bug 1694)
2454
2455 2004-10-13  José Matos  <jamatos@lyx.org>
2456
2457         * output_docbook.C (docbookParagraphs): fix closing tags in the
2458         end of the document.
2459
2460 2004-10-09  José Matos  <jamatos@lyx.org>
2461
2462         * buffer.C: format up to 237.
2463         * bufferparams.C (write): use tostr to convert booleans to strings.
2464
2465 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2466
2467         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2468
2469 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2470
2471         * LaTeX.C: implement use of babel language in xindy.
2472
2473 2004-10-05  José Matos  <jamatos@lyx.org>
2474
2475         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2476         Add new translators to help reading and writing the lyx file.
2477
2478 2004-10-05  José Matos  <jamatos@lyx.org>
2479
2480         * ParagraphParameters.C (read):
2481         * text.C (readParToken): replace nexToken by more appropriate lex
2482         methods.
2483
2484 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2485
2486         * LaTeX.C (runMakeIndex):
2487         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2488         (usually 'makeindex') configurable.
2489
2490         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2491         with a variable rather than with a number.
2492
2493 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2494
2495         * output_latex.C (TeXOnePar): make sure font setting is the first
2496         thing that gets output (and the last at the end). Should fix bug
2497         1404.
2498
2499 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2500
2501         * pch.h: use proper signal include
2502
2503         * LaTeX.h: Use preferred calling of Boost.Signal
2504         * buffer.h: ditto
2505
2506 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2507
2508         * pch.h: dont include <boost/function/function0.hpp>
2509
2510         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2511
2512         * paragraph_pimpl.h: remove usage of ShareContainer
2513
2514         * paragraph_pimpl.C: remove initialization of ShareContainer.
2515
2516 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2517
2518         Fix bug #1666
2519
2520         * BufferView.C (putSelectionAt): change the semantics when
2521         backwards == true: now, this just swaps cursor and anchor wrt the
2522         forward case
2523
2524         * BufferView.h (putSelectionAt): add some documentation
2525
2526         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2527         make sure backwardChar is done at least once (to avoid getting
2528         stuck)
2529         (findNextChange): use putSelectionAt in the forward direction
2530         (operator()): use Paragraph::isWord
2531
2532 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2533
2534         * Spacing.C (set): c_str fix
2535
2536 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2537
2538         * lyx_cb.C (Reconfigure): quote the name of configure script in
2539         case it contains spaces
2540
2541 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2542
2543         * client: new dir
2544
2545         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2546         (BOOST_LIBS): use top_buildir when looking for the file
2547
2548 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2549
2550         * pch.h: do not use include boost/format.hpp, multiple symbols
2551                 will result (gcc bug)
2552
2553
2554 2004-08-23  José Matos  <jamatos@lyx.org>
2555
2556         * bufferparams.C (readToken): fix reading of the author field.
2557
2558 2004-08-20  José Matos  <jamatos@lyx.org>
2559
2560         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2561
2562 2004-08-20  José Matos  <jamatos@lyx.org>
2563
2564         * lyxlex.[Ch] (findToken): remove function.
2565
2566         * ParagraphParameters.C (findToken):
2567         * bufferparams.C (findToken): replace call for previous function
2568         with local copy. This local function has one more argument, the
2569         read string argument.
2570
2571 2004-08-16  José Matos  <jamatos@lyx.org>
2572
2573         * ParagraphParameters.C (write):
2574         * Spacing.C (writeFile):
2575         * bufferparams.C (writeLaTeX):
2576         * lyx_cb.C (Reconfigure):
2577         * paragraph.C (write):
2578         * tabular.C (write): remove unnecessary space at end of line.
2579
2580
2581 2004-08-16  José Matos  <jamatos@lyx.org>
2582
2583         * text.C (readParagraph): remove debug message.
2584
2585 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2586
2587         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2588         crash
2589
2590         * output_plaintext.C (asciiParagraph): set depth correctly
2591
2592         * outputparams.h: add member depth
2593
2594         * paragraph_funcs.C (ownerPar): remove.
2595
2596         * text2.C (setCounter): remove first_pit; comment out some
2597         non-working code that uses ownerPar
2598
2599         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2600         uses ownerPar
2601
2602 2004-08-16  José Matos  <jamatos@lyx.org>
2603
2604         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2605         For the same level of importance use the same chanel to report problems.
2606         (read): add code to deal with \begin_body and \end_body.
2607
2608
2609 2004-08-15  José Matos  <jamatos@lyx.org>
2610
2611         * lyxlex.C (getString): fix comment, buffer::readBody is now
2612         buffer:readDocument.
2613
2614         * tex-strings.C (string_papersize): Default -> default,
2615         Custom -> custom, for consistency with other options.
2616
2617 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2618
2619         * pch.h: new file
2620
2621         * Makefile.am: support pch
2622
2623 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2624
2625         * text.C (readParToken): remove the static LyXFont variable and
2626         pass it as a parameter instead. This fixes a nasty bug where an
2627         inset will be inserted with a bad font in some situations
2628         (readParagraph): adapt
2629
2630         * text2.C (setCounter): reduce number of calls to pars_[pit]
2631
2632         * text.C (singleWidth): add an assert, fix a test
2633
2634         * rowpainter.C (paintText): reduce number of calls to singleWidth
2635
2636         * paragraph.C (isHfill):
2637         (isNewline): ws only
2638
2639 2004-08-14  André Pönitz  <poenitz@gmx.net>
2640
2641         * text.C:
2642         * text2.C:
2643         * rowpainter.C:
2644         * lyxtext.h (several functions): use a Paragraph & argument
2645         instead of par_type
2646
2647 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2648
2649         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2650
2651         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2652
2653         * text.C (singleWidth): remove useless test
2654
2655 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2656
2657         * tabular.h: remove bogus comments
2658
2659         * tabular.C (getDescentOfRow):
2660         (isPartOfMultiColumn): add assertions
2661
2662         * lyxlength.C (inPixels): remove #warning
2663
2664 2004-08-14  André Pönitz  <poenitz@gmx.net>
2665
2666         * paragraph.h: inline getChar()
2667
2668         * BufferView.h: remove unused declarations
2669
2670 2004-08-14  José Matos  <jamatos@lyx.org>
2671
2672         * Buffer.[Ch] (readDocument): new name for old readBody.
2673         * Buffer.C: new file format, new keywords: \begin_document,
2674         \begin_header, \begin_body, \end_body.
2675
2676         * bufferparams.C (readToken): replace all calls to lex.nextToken
2677         by lex.next(). Do the same to eatLine except where really needed.
2678
2679         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2680         line when writing to the lyx file.
2681
2682         * output_plaintext.C (asciiParagraph): fix Bibliography style
2683         handling.
2684
2685         * text.C (read): fix end of file handling.
2686
2687 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2688
2689         * MenuBackend.C (Menu::operator[]): new method to access
2690         individual menu items
2691         (Menu::hasFunc): new method. search for an item that corresponds
2692         to a given func
2693         (MenuBackend::specialMenu): new method
2694         (MenuBackend::expand): if a special menu has been set, skip
2695         entries whose func() appears in this menu
2696
2697 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2698
2699         * text3.C: use Debug::DEBUG a bit more
2700
2701         * text.C (leftMargin): try to simplify a tiny bit change var x to
2702         l_margin. Dont output the wide margins always.
2703         (rightMargin): no margin in inner texts
2704
2705         * rowpainter.h (nestMargin): new func
2706         (changebarMargin): new func
2707         (rightMargin): new func
2708
2709         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2710         now functions.
2711         (paintLast): ditto
2712
2713         * factory.C (createInset): modify setDrawFrame
2714
2715         * cursor.C: use Debug::DEBUG a bit more
2716
2717 2004-08-14  André Pönitz  <poenitz@gmx.net>
2718
2719         * coordcache.[Ch]:
2720         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2721         cache for all insets in (at least partially) visible (top-level)
2722         paragraphs.
2723
2724         * BufferView_pimpl.C: reset external coord cache before every update.
2725         This means the coord cache only contains valid entries.
2726
2727 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2728
2729         bug 1096
2730         * BufferView_pimpl.C (getInsetByCode): move function out of class
2731         and change in to a template in anon namespace. Also fix to do what
2732         suits us better.
2733
2734 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2735
2736         bug 1305
2737         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2738         of char
2739         (breakParagraph): rename par to par_offset and use a local
2740         reference. Add code to keep the language over a rebreak.
2741         (breakParagraphConservative): rename par to par_offset, use a
2742         local reference
2743         (mergeParagraph): ditto
2744         (outerHook): ditto
2745         (isFirstInSequence): ditto
2746         (outerFont): rename pit to par_offset
2747
2748         * paragraph.C: ws change
2749         * paragraph.h: ditto
2750         * text3.C: ditto
2751         * text.C: ditto
2752
2753 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2754
2755         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2756         treatment for ']'
2757
2758         * paragraph.C (simpleTeXOnePar): when we have a \item with
2759         optional argument, enclose the argument with curly brackets (in
2760         case it contains a closing square bracket)
2761
2762         * text2.C (editXY):
2763         * text2.C (editXY):
2764         * text3.C (checkInsetHit): constify
2765
2766 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2767
2768         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2769         documents (bug 1629)
2770
2771 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2772
2773         Fix toggling of collapsable insets with the mouse (bug 1558)
2774
2775         * lyxfunc.C (dispatch): adapt to LCursor changes
2776
2777         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2778         make sure that dispatch is not invoked twice
2779
2780         * cursor.C (needsUpdate): new method
2781         (dispatch): return void
2782         (result): new method, to access the DispatchResult of the cursor.
2783
2784 2004-08-13  José Matos  <jamatos@lyx.org>
2785
2786         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2787
2788 2004-08-13  André Pönitz  <poenitz@gmx.net>
2789
2790         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2791
2792         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2793           multiple cells
2794
2795 2004-08-12  André Pönitz  <poenitz@gmx.net>
2796
2797         * text3.C: take out the 'cursor right' form insertInset and only
2798         do it in those places when it is really needed. Fixes crash on
2799         C-m...
2800
2801 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2802
2803         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2804
2805         * BufferView_pimpl.C (setBuffer): initialize the current font of
2806         the underlying LyXText
2807
2808 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2809
2810         * kbsequence.C (print): use UI native formatting for menu
2811         shortcuts
2812
2813         * text.C (insertChar): call Paragraph::insertChar with a font
2814         argument (cosmetic)
2815
2816         * paragraph.C (insertInset, insertChar): the version that takes a
2817         LyXFont argument is now a wrapper around the other one (the
2818         opposite used to be true).
2819
2820         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2821         argument. Font setting is done in Paragraph now.
2822
2823 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2824
2825         * outputparams.h: add new members intitle and lang.
2826
2827         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2828         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2829
2830 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * text3.C (dispatch): remove special handling of button 4 and 5,
2833         it is now taken care of in the frontend code.
2834
2835 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2836
2837         * Spacing.h: add <string> (STLPort compile fix)
2838
2839 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2840
2841         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2842
2843 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2844
2845         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2846         to bool.
2847
2848         * converter.C (showMessage): inherit from unary_function, make
2849         operator() const.
2850
2851         * buffer.C (writeFile): initialize retval
2852
2853         * InsetList.h: rename private variable list to list_
2854         * InsetList.[Ch]: adjust accordingly.
2855
2856 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2857
2858         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2859         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2860         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2861         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2862         * ParagraphParameters.C, LaTeXFeatures.C: replace
2863         "support/std_sstream.h" with <sstream>
2864
2865 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2868         * lyxsocket.C (LyXServerSocket): ditto
2869         (serverCallback): ditto
2870
2871 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2872
2873         * LaTeXFeatures.C: check release date when loading jurabib.
2874
2875 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2876
2877         * lyxserver.C (startPipe): call register_socket_callback
2878         (endPipe): call unregister_socket_callback
2879
2880 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2883         (LyXServerSocket): register the callback
2884         (LyXServerSocket): unregister the callback
2885         (fd): delete function
2886         (serverCallback): improve error checking and setup the callbacks.
2887         (dataCallback): change arg to fd.
2888         (writeln): new func (copied fro the client socket) used for server
2889         write to client.
2890         (LyXDataSocket): simplify
2891         (~LyXDataSocket): close ann unregiser callback
2892         (server): delete function
2893         (fd): delete function
2894         (readln): small changes, improve some std::string usage
2895         (writeln): constify a bit
2896
2897 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2898
2899         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2900         Qt frontend
2901
2902 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2903
2904         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2905         after it has been populated
2906
2907 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2908
2909         * text2.C (insertInset): move cursor when inserting inset.
2910
2911 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2912
2913         * kbmap.C (findbindings): a couple of new methods. returns a
2914         container of kb_sequence objects. The real work is done by the
2915         private recursive version
2916         (printbindings): uses findbindings to print out a bracketed list
2917         of bindings (renamed from findbinding).
2918
2919         * MenuBackend.C (binding): use kb_keymap::findbindings
2920
2921         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2922
2923 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2924
2925         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2926
2927 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2928
2929         * paragraph.C (isWord): return true on insets that report
2930         isLetter().
2931
2932         * text.C (getWord): use Paragraph::isWord to decide what is in a
2933         word and what is not; fix bug 1609.
2934
2935 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2936
2937         * tex-strings.C: add "none" to string_paperpackages[], fixes
2938         off-by-one-error in the paperpackage selection.
2939
2940         * lyxlex.[Ch]:
2941         * tex-strings.[Ch]: char const * string[n]
2942         -> char const * const string[]
2943
2944 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2945
2946         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2947         command, return early.
2948
2949 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2950
2951         * debug.h: add DEBUG to enum and fix size of ANY.
2952
2953         * debug.C: add support for Debug::DEBUG
2954         (showTags): cast errorTags.level to unsigned int
2955
2956         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2957         (redoCurrentBuffer): ditto
2958         (updateScrollbar): ditto
2959         * cursor.C (dispatch): ditto
2960         * text2.C (setLayout): ditto
2961         (setFont): ditto
2962         (updateCounters): ditto
2963         (editXY): ditto
2964         (deleteEmptyParagraphMechanism): ditto
2965
2966 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2967
2968         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2969         annotations to cleanup the Makefile slightly.
2970
2971 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2972
2973         * lyxrc.C: do not set user_email to a default value but use empty
2974         instead. The entry used to be translated, which does not work
2975         since at the point where lyxrc is constructed there is no
2976         translation service available
2977
2978         * messages.C (getLocaleDir): remove and use directly
2979         lyx_localedir() instead
2980
2981 2004-06-02  Angus Leeming  <leeming@lyx.org>
2982
2983         Fix crash caused by dereferencing null pointer 'exportdata' in
2984         OutputParams by creating a new ExportData variable on the heap,
2985         storing it in a boost::shared_ptr.
2986         The crash was triggered when generating an Instant Preview
2987         of an external inset.
2988
2989         * Makefile.am: add outputparams.C
2990
2991         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2992         (c-tor): allocate memory to it.
2993
2994         * exporter.C (c-tor): associated changes.
2995
2996 2004-06-01  Angus Leeming  <leeming@lyx.org>
2997
2998         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2999         contains data before calling isInset(0). (Bug 1513.)
3000
3001 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3002
3003         * exporter.C (checkOverwrite): new method
3004         * exporter.C (copyFile): new method
3005         * exporter.C (Export): copy referenced files to the document dir
3006         * exporter.[Ch]: new class ExportedFile
3007         * exporter.[Ch]: new class ExportData. Contains currently the
3008         names of referenced external files
3009         * outputparams.h: add exportdata member.
3010
3011 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3012
3013         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3014         version.C-tmp
3015
3016 2004-05-19  Angus Leeming  <leeming@lyx.org>
3017
3018         * LaTeXFeatures.C:
3019         * ToolbarBackend.C:
3020         * bufferparams.C:
3021         * lyxfunc.C: small changes due to the introduction of namespace
3022         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3023
3024 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3025
3026         * text3.C (dispatch): supress update when only moving the cursor
3027         * cursor.C (selHandle): remove commented code
3028
3029 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3030
3031         * paragraph.C (startTeXParParams): correct column count
3032         * CutAndPaste.C (pasteSelection): remove const_cast
3033         * output_docbook.C (docbookParagraphs): remove const_cast
3034         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3035         const_cast and return ParagraphList::const_iterator
3036         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3037         * output_plaintext.C (writeFileAscii): remove const_cast
3038         * paragraph.[Ch] (simpleTeXOnePar): make const
3039         * paragraph_funcs.C (outerPar): use const iterators
3040         * paragraph_pimpl.C (validate): use const iterators
3041         * text.C (setHeightOfRow): use const iterators
3042
3043 2004-05-17  Angus Leeming  <leeming@lyx.org>
3044
3045         * lfuns.h:
3046         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3047
3048         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3049         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3050         if the citation engine has changed.
3051
3052 2004-05-14  José Matos  <jamatos@lyx.org>
3053
3054         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3055         if the textclass does not provide it. Have it different for sgml and
3056         xml.
3057         support the language of document.
3058         * output_docbook.C (docbookParagraphs):
3059         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3060         first anchor as the id of the paragraph, remove special case code.
3061         * sgml.C (escapeChar): escape only < & >.
3062
3063 2004-05-14  Angus Leeming  <leeming@lyx.org>
3064
3065         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3066         dependencies on src/frontends/controllers/biblio.h. Define a
3067         CiteEngine_enum wrapper class to enable the enum to be forward
3068         declared.
3069
3070 2004-05-12  Angus Leeming  <leeming@lyx.org>
3071
3072         * buffer.C: up LYX_FORMAT to 234.
3073         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3074         use_numerical_citations with a single biblio::CiteEngine cite_engine
3075         variable.
3076         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3077
3078 2004-05-13  José Matos  <jamatos@lyx.org>
3079
3080         * converter.h:
3081         * converter.C (Converter, readFlags): add xml member.
3082         * outputparams.h: add XML flavor.
3083         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3084
3085 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3086
3087         * lyxfunc.C (dispatch):
3088         (getStatus): fix handling of LFUN_SEQUENCE
3089
3090 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3091
3092         * debug.C (showLevel): do not forget the end-of-line marker
3093
3094 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3095
3096         * kbmap.C (read): do not stop parsing a bind file when an error
3097         occurs (bug 1575)
3098
3099 2004-04-29  Angus Leeming  <leeming@lyx.org>
3100
3101         * cursor.C:
3102         * factory.C:
3103         * pariterator.C:
3104         * text2.C: wrap a bunch of #warning statements
3105         inside #ifdef WITH_WARNINGS blocks.
3106
3107 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3108
3109         * buffer.C: increment format to 233.
3110
3111 2004-04-28  Angus Leeming  <leeming@lyx.org>
3112
3113         * BufferView_pimpl.C:
3114         * lyxfunc.C:
3115         * text3.C:
3116         s/updateToolbar()/updateToolbars()/
3117         s/Toolbar.h/Toolbars.h/
3118
3119 2004-04-28  Angus Leeming  <leeming@lyx.org>
3120
3121         * BufferView.[Ch] (c-tor):
3122         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3123         No longer passes these data to the WorkArea generator.
3124
3125 2004-04-28  Angus Leeming  <leeming@lyx.org>
3126
3127         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3128
3129 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3130
3131         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3132
3133 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3134
3135         * output_latex.C (TeXEnvironment): make sure that there is a line
3136         break before \end{foo} for the last paragraph of a document
3137         (TeXOnePar): if the paragraph is at the end of the document (or
3138         inset) and the language has to be reset, then make sure that the
3139         line break is _before_ the language command, not after (fixes bug
3140         1225); also make sure that the language reset command is the first
3141         thing after the paragraph (to ensure proper nesting of
3142         environments and thus fix bug 1404)
3143
3144 2004-04-21  John Levon  <levon@movementarian.org>
3145
3146         * ToolbarBackend.h:
3147         * ToolbarBackend.C: make "name" be a programmatic name
3148         and a gui_name field.
3149
3150         * lyxfunc.C: display the minibuffer on M-x
3151
3152 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3153
3154         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3155         (bug 1526)
3156
3157 2004-04-19  Angus Leeming  <leeming@lyx.org>
3158
3159         * BufferView_pimpl.C (setBuffer): changed preview interface.
3160
3161         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3162         possible values.
3163
3164 2004-04-19  John Levon  <levon@movementarian.org>
3165
3166         * BufferView_pimpl.C:
3167         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3168
3169 2004-04-05  Angus Leeming  <leeming@lyx.org>
3170
3171         * text.C (redoParagraphs): add call to updateCounters(), thereby
3172         fixing the missing "Figure #:" label from the caption of a
3173         figure float.
3174
3175 2004-04-13  Angus Leeming  <leeming@lyx.org>
3176
3177         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3178         cursor is clicked out of an inset.
3179
3180 2004-04-13  Angus Leeming  <leeming@lyx.org>
3181
3182         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3183         than an InsetOld one.
3184
3185 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3186
3187         * format.[Ch]: add editor to Format
3188         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3189         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3190
3191 2004-04-08  André Pönitz  <poenitz@gmx.net>
3192
3193         * metricsinfo.h: remove PainterInfo::width member
3194
3195 2004-04-08  Angus Leeming  <leeming@lyx.org>
3196
3197         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3198         "\providecommand" rather than "\newcommand", thereby preventing
3199         clashes with packages that define "\boldsymbol" themselves.
3200         Eg, beamer.
3201
3202 2004-04-08  Angus Leeming  <leeming@lyx.org>
3203
3204         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3205         thereby squashing an unnecessary warning.
3206
3207 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3208
3209         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3210         setBuffer()
3211
3212 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3213
3214         * BufferView.C (setCursor): call redoParagraph (some insets could
3215         have been opened)
3216         (putSelectionAt): remove the 'double update' trick
3217
3218         * BufferView_pimpl.C (fitCursor): call refreshPar
3219         (workAreaDispatch): remove an uneeded update call
3220         (dispatch): remove some manual update calls
3221
3222         * cursor.[Ch]: remove cached_y_, updatePos
3223         (selHandle): set noUpdate when appropriate
3224
3225         * lyxfunc.C (dispatch): track if we need an update
3226
3227         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3228
3229         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3230         (paintSelection): cheap optimization, do not call cursorX when not
3231         needed
3232         (paintPars): change signature
3233         (refreshPar): add
3234         (paintText): adjust
3235         (paintTextInset): adjust
3236
3237         * text.C: adjust
3238
3239 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3240
3241         * lengthcommon.C: compilation fix: remove explicit array size from
3242         unit_name[] and friends
3243
3244 2004-04-05  Angus Leeming  <leeming@lyx.org>
3245
3246         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3247
3248         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3249         present only for the preferences dialog.
3250         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3251
3252 2004-04-05  Angus Leeming  <leeming@lyx.org>
3253
3254         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3255         to enable the frontends to export changes to lyxrc correctly.
3256
3257         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3258
3259 2004-04-07  André Pönitz  <poenitz@gmx.net>
3260
3261         * cursor.[Ch] (selClear, adjust): remove math
3262
3263         * cursor_slice.C: more agressive assert
3264
3265         * lyxfunc.C:
3266         * BufferView_pimpl.C: rework mouse event dispatch
3267
3268         * dociterator.C:
3269         * paragraph.C:
3270         * text2.C:
3271         * text3.C: adjust
3272
3273 2004-04-05  André Pönitz  <poenitz@gmx.net>
3274
3275         * cursor.[Ch] (valign, halign...): remove unneeded functions
3276
3277 2004-04-05  Angus Leeming  <leeming@lyx.org>
3278
3279         * lyxlength.[Ch] (unit_name et al.): const-correct.
3280
3281 2004-04-05  Angus Leeming  <leeming@lyx.org>
3282
3283         * BufferView_pimpl.C:
3284         * buffer.C:
3285         * counters.C:
3286         * cursor.C:
3287         * lyxfunc.C
3288         * paragraph.C:
3289         * pariterator.C:
3290         * text.C:
3291         * text2.C:
3292         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3293
3294 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3295
3296         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3297
3298 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3299
3300         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3301         * BufferView_pimpl.[Ch] (getStatus)
3302         * BufferView.[Ch] (getStatus): add
3303         * lyxfunc.C (getStatus): move lfuns handled in
3304         BufferView::dispatch to te function above
3305         * Cursor.C (setSelection): set selection() = true
3306
3307 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3308
3309         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3310
3311 2004-03-31  Angus Leeming  <leeming@lyx.org>
3312
3313         * lyxfunc.C (dispatch): Fall through to the generic
3314         Dialogs::show("preamble").
3315
3316 2004-03-31  Angus Leeming  <leeming@lyx.org>
3317
3318         * lyxfunc.C (dispatch): Fall through to the generic
3319         Dialogs::show("spellchecker").
3320
3321 2004-03-31  Angus Leeming  <leeming@lyx.org>
3322
3323         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3324         preferences dialog.
3325
3326 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3327
3328         * BufferView.C
3329         * cursor.[Ch]
3330         * dociterator.[Ch]:
3331         * insetiterator.[Ch]:
3332         * lyxfind.C:
3333         * lyxfunc.C:
3334         * pariterator.[Ch]:
3335         * text2.C:
3336         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3337
3338 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3339
3340         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3341         insets where we are putting the cursor.
3342
3343 2004-03-31  Angus Leeming  <leeming@lyx.org>
3344
3345         * lfuns.h:
3346         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3347
3348         * lyxrc.[Ch] (read, write): overloaded member functions taking
3349         a std::[io]stream arguments.
3350
3351         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3352
3353 2004-03-31  Angus Leeming  <leeming@lyx.org>
3354
3355         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3356         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3357
3358         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3359         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3360
3361 2004-03-31  Angus Leeming  <leeming@lyx.org>
3362
3363         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3364         the LFUN_ALL_INSETS_TOGGLE code.
3365
3366 2004-03-30  Angus Leeming  <leeming@lyx.org>
3367
3368         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3369         has died. Fall through to the generic Dialogs::show("document").
3370
3371 2004-03-30  Angus Leeming  <leeming@lyx.org>
3372
3373         * lfuns.h:
3374         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3375         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3376
3377         * lyxfunc.C (getStatus, dispatch): define the actions for these
3378         lfuns. Little more than a cut and pste job from ControlDocument.C
3379
3380         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3381
3382 2004-03-30  Angus Leeming  <leeming@lyx.org>
3383
3384         * lfuns.h:
3385         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3386         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3387
3388         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3389         open/closed state of ollapsable insets. Usage:
3390
3391         all-inset-toggle <state> <name>, where
3392         <state> == "open" || "closed" || "toggle" and
3393         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3394
3395         * lyxtext.h, text2.C (toggleInset): removed.
3396
3397         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3398         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3399         now passes LFUN_INSET_TOGGLE to the found inset.
3400
3401         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3402         is now invoked as "all-insets-toggle toggle branch".
3403
3404 2004-03-30  Angus Leeming  <leeming@lyx.org>
3405
3406         * dociterator.C:
3407         * insetiterator.C:
3408         * pariterator.[Ch]: added/corrected header blurb.
3409
3410 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3411
3412         * dociterator.[Ch]: add an inset_ member
3413         (backwardPos): implemented
3414         (backwardPos, forwardPos): use inset_ when the stack is empty.
3415         (doc_iterator_begin, doc_iterator_end): implemented
3416         * pariterator.[Ch]: adjust, add begin, end
3417         * insetiterator.[Ch]: adjust, add begin, end
3418         * cursor.C:
3419         * document.C:
3420         * BufferView.C:
3421         * BufferView_pimpl.C:
3422         * CutAndPaste.C: adjust
3423
3424 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3425
3426         * buffer.C: increment file format to 232.
3427         * LaTeXFeatures.C: add bibtopic package.
3428         * bufferparams.[Ch]: param \use_bibtopic.
3429
3430         * lyxrc.[Ch]: add lyxrc bibtex_command
3431         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3432
3433         * buffer.C: increment file format to 231.
3434
3435 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3436
3437         * dociterator.C: implement forwardPar
3438         * iterators.[Ch]: remove, replaced by
3439         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3440         * BufferView.C:
3441         * BufferView_pimpl.C:
3442         * CutAndPaste.C:
3443         * buffer.C:
3444         * bufferview_funcs.C:
3445         * cursor.C:
3446         * lyxfind.C
3447         * lyxfunc.C
3448         * paragraph_funcs.C
3449         * toc.C:
3450         * Makefile.am: adjust
3451
3452 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3453
3454         * CutAndPaste.C (pasteSelection): fix 2 crashes
3455         (eraseSelection): fix a crash
3456         * paragraph_funcs.C: remove a warning
3457
3458 2004-03-28  Angus Leeming  <leeming@lyx.org>
3459
3460         * lfuns.h:
3461         * LyXAction.C (init): new LFUN_PRINT.
3462
3463         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3464
3465 2004-03-27  Angus Leeming  <leeming@lyx.org>
3466
3467         * lfuns.h:
3468         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3469
3470         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3471
3472 2004-03-27  Angus Leeming  <leeming@lyx.org>
3473
3474         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3475         insetlist always contains non-null pointers to insets.
3476
3477 2004-03-26  Angus Leeming  <leeming@lyx.org>
3478
3479         * src/BufferView_pimpl.C:
3480         * src/CutAndPaste.C:
3481         * src/buffer.C:
3482         * src/iterators.C:
3483         * src/output_plaintext.C:
3484         * src/outputparams.h:
3485         * src/paragraph_funcs.C:
3486         * src/rowpainter.C:
3487         * src/text.C:
3488         * src/text2.C:
3489         * src/frontends/controllers/ControlErrorList.C:
3490         * src/frontends/gtk/FileDialogPrivate.C:
3491         * src/frontends/gtk/GPainter.C:
3492         * src/frontends/gtk/GToolbar.C:
3493         * src/frontends/qt2/QRef.C:
3494         * src/mathed/math_scriptinset.C: squash compiler warnings.
3495
3496 2004-03-26  Angus Leeming  <leeming@lyx.org>
3497
3498         * ispell.C (LaunchIspell::start):
3499         * lyx_cb.C (AutoSaveBuffer::start):
3500         invoke run(DontWait) rather than runNonBlocking().
3501
3502 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3503
3504         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3505
3506 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3507
3508         * kbsequence.C (print): adjust
3509
3510         * kbmap.C (printKeySym): rename and change signature
3511         (printKey): use LyXKeySym::print()
3512
3513 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3514
3515         * undo.C: add using std::advance to compile for stlport
3516
3517 2004-03-24  Angus Leeming  <leeming@lyx.org>
3518
3519         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3520         it leads to a crash when no buffer is present.
3521
3522 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3523             Martin Vermeer  <martin.vermeer@hut.fi>
3524
3525         * lyxfunc.C (dispatch):
3526         * bufferparams.C (readToken): use the new LColor::setColor
3527
3528         * LColor.[Ch] (setColor): new version that takes two strings as
3529         argument and creates a new color entry if necessary
3530
3531 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3532
3533         * buffer.C (makeLaTeXFile): if the main latex file that is
3534         processed is usually a subdocument of some master, then pretend
3535         for a while that it is actually the master
3536
3537 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3538
3539         * buffer.C (getLabelList):
3540         (getBibkeyList): use getMasterBuffer()
3541         (getMasterBuffer): new method. Returns the main document in the
3542         case where one is using included documents.
3543
3544 2004-03-25  André Pönitz  <poenitz@gmx.net>
3545
3546         * Makefile.am:
3547         * iterators.[Ch]:
3548         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3549
3550         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3551
3552         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3553         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3554
3555         * ParameterStruct.h: merge with ParagraphParameters
3556
3557         * lyxtext.h: remove LyXText::parOffset() and getPar()
3558
3559         * text3.C: Remove all 'manual' update calls. We do now one per user
3560         interaction which is completely sufficient.
3561
3562         * Bidi.C:
3563         * BufferView.[Ch]:
3564         * BufferView_pimpl.C:
3565         * FontIterator.[Ch]:
3566         * MenuBackend.C:
3567         * ParagraphParameters.[Ch]:
3568         * buffer.C:
3569         * buffer.h:
3570         * bufferlist.C:
3571         * cursor.[Ch]:
3572         * cursor_slice.[Ch]:
3573         * dociterator.[Ch]:
3574         * errorlist.[Ch]:
3575         * factory.C:
3576         * lfuns.h:
3577         * lyxfind.C:
3578         * lyxfunc.C:
3579         * output_docbook.[Ch]:
3580         * output_latex.[Ch]:
3581         * output_linuxdoc.[Ch]:
3582         * output_plaintext.[Ch]:
3583         * paragraph.[Ch]:
3584         * paragraph_funcs.[Ch]:
3585         * paragraph_pimpl.[Ch]:
3586         * rowpainter.C:
3587         * tabular.[Ch]:
3588         * text.C:
3589         * text2.C:
3590         * toc.C:
3591         * undo.[Ch]: adjust
3592
3593         * frontends/controllers/ControlDocument.C:
3594         * frontends/controllers/ControlErrorList.C:
3595         * frontends/controllers/ControlSpellchecker.C:
3596         * insets/inset.C:
3597         * insets/inset.h:
3598         * insets/insetbase.h:
3599         * insets/insetbibitem.C:
3600         * insets/insetbox.C:
3601         * insets/insetbranch.C:
3602         * insets/insetcaption.C:
3603         * insets/insetcharstyle.C:
3604         * insets/insetcharstyle.h:
3605         * insets/insetcollapsable.C:
3606         * insets/insetcollapsable.h:
3607         * insets/insetert.C:
3608         * insets/insetfloat.C:
3609         * insets/insetfoot.C:
3610         * insets/insetmarginal.C:
3611         * insets/insetnote.C:
3612         * insets/insetoptarg.C:
3613         * insets/insettabular.C:
3614         * insets/insettext.C:
3615         * insets/insettext.h:
3616         * insets/insetwrap.C:
3617         * mathed/math_mboxinset.C:
3618         * mathed/math_nestinset.C:
3619         * mathed/math_scriptinset.C:
3620         * mathed/math_scriptinset.h:
3621         * support/types.h:
3622
3623 2004-03-24  Angus Leeming  <leeming@lyx.org>
3624
3625         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3626         deal with any child processes that have finished but are waiting to
3627         communicate this fact to the rest of LyX.
3628
3629 2004-03-24  Angus Leeming  <leeming@lyx.org>
3630
3631         64-bit compile fixes.
3632
3633         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3634         (c-tor): pass lyx::pos_types rather than ints.
3635
3636         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3637         lyx::pos_type.
3638
3639         * text.C (Delete): compile fix.
3640         (getPar): ensure that function declaration is the same as that in
3641         the header file.
3642
3643 2004-03-23  Angus Leeming  <leeming@lyx.org>
3644
3645         * ispell.C (LaunchIspell):
3646         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3647         a boost::shred_ptr rather than a std::auto_ptr.
3648
3649 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3650
3651         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3652         handle LFUN_FILE_INSERT_*
3653
3654         * lyxrc.C (setDefaults, getDescription, output, read):
3655         * lyxrc.h: remove ps_command
3656
3657 2004-03-22  Angus Leeming  <leeming@lyx.org>
3658
3659         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3660         Ensure that error_handler is processed once only and that all data
3661         is saved before attempting to output any warning messages.
3662
3663         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3664
3665 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3666
3667         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3668
3669 2004-03-19  André Pönitz  <poenitz@gmx.net>
3670
3671         * cursor.[Ch] (reset): take main text inset as argument
3672
3673         * BufferView: adjust
3674         * BufferView_pimpl.C: adjust
3675
3676         * paragraph.[Ch]: fix completely broken operator=()
3677
3678 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3679
3680         * LColor.C (getFromLyXName): make sure that the color name is used
3681         as lowercase.
3682
3683 2004-03-17  Angus Leeming  <leeming@lyx.org>
3684
3685         * lfuns.h:
3686         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3687
3688         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3689         dialog and to kill a forked process.
3690
3691 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3692
3693         * text2.C (setCursorFromCoordinates): fix font problem
3694
3695 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3696
3697         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3698         bogus "rebuild cursor" code
3699
3700 2004-03-11  André Pönitz  <poenitz@gmx.net>
3701
3702         * buffer.[Ch]: use InsetText instead of LyXText as container for
3703         the main lyx text.
3704
3705         * dociterator.[Ch]: drop the BufferView * member which is not needed
3706         anymore after the change to buffer.C
3707
3708         * paragraph_funcs.C:
3709         * text.C:
3710         * text2.C:
3711         * BufferView.[Ch]:
3712         * BufferView_pimpl.[Ch]:
3713         * cursor.[Ch]:
3714         * cursor_slice.[Ch]: adjust
3715
3716         * text3.C: fix bug in mathDispatch
3717
3718 2004-03-08  André Pönitz  <poenitz@gmx.net>
3719
3720         * undo.[Ch]: use 'StableDocumentIterator' as base for
3721         the Undo struct.
3722
3723 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3724
3725         * LaTeXFeatures.C:
3726         * bufferparams.[Ch]: add jurabib support and param.
3727
3728         * LaTeX.C: add FIXME/comment.
3729
3730 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3731
3732         * buffer.C: increment file format to 230.
3733
3734 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3735
3736         * cursor.C (dispatch): avoid infinite loops
3737
3738 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3739
3740         * rowpainter.C (paintSelection): fix x coordinates
3741
3742 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3743
3744         * text.C (rowBreakPoint): fix breaking before displayed insets
3745
3746 2004-03-01  André Pönitz  <poenitz@gmx.net>
3747
3748         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3749
3750         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3751
3752         * Makefile.am:
3753         * BufferView.C:
3754         * BufferView_pimpl.C:
3755         * buffer.C:
3756         * lyxfind.C:
3757         * lyxfunc.C:
3758         * text.C:
3759         * text2.C:
3760         * text3.C: adjust
3761
3762 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3763
3764         * lyxtext.h:
3765         * text.C:
3766         * text2.C:
3767         * rowpainter.C:
3768         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3769         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3770
3771 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3772
3773         * Bidi.[Ch] (computeTables): const correctness
3774         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3775         fill_hfill, fill_label_hfill and x from Row
3776         * lyxtext.h: prepareToPrint returns a RowMetrics
3777         * rowPainter.C: adjust
3778         * text.C (prepareToPrint): use width, not textWidth. adjust
3779         (redoParagraphInternal, cursorX): adjust
3780         * text2.C (getColumnNearX): adjust
3781         (init): put a default value to the top LyXText::width
3782
3783 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3784
3785         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3786
3787 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3788
3789         * lyxtext.h: add FontIterator class
3790
3791         * text.C (FontIterator, operator*, operator->, operator++): add
3792         (rowBreakPoint, setRowWidth): adjust (fixing a
3793         rebreaking bug)
3794
3795 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3796
3797         * BufferView_pimpl.C (workAreaDispatch): allow also
3798         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3799
3800 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3801
3802         * text.C (rowBreakPoint): fix a bug showing with very large insets
3803
3804 2004-02-25  André Pönitz  <poenitz@gmx.net>
3805
3806         * text3.C:
3807         * cursor.[Ch]: move some mathed specific code to mathed
3808
3809 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3810
3811         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3812         use_tempdir in preferences
3813         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3814         tempfile creation
3815         * lyx_main.C: ensure that tempdir is valid
3816         * lyxlex.h: correct typo
3817         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3818         * paragraph.[Ch] (isMultiLingual): make const
3819         * cursor.[Ch] (openable): make const
3820
3821 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3822
3823         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3824
3825 2004-02-20  André Pönitz  <poenitz@gmx.net>
3826
3827         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3828
3829         * cursor.[Ch]: prepare for localized getStatus()
3830
3831         * lyxtext.h:
3832         * tabular.C:
3833         * text.C:
3834         * text2.C:
3835         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3836
3837 2004-02-20  André Pönitz  <poenitz@gmx.net>
3838
3839         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3840
3841 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3842
3843         * text2.C (setCursorFromCoordinates): switch to absolute coords
3844         (cursorUp): adjust
3845         (cursorDown): adjust
3846         * text3.C (dispatch): adjust
3847
3848 2004-02-16  André Pönitz  <poenitz@gmx.net>
3849
3850         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3851           insets/ChangeLog)
3852
3853         * cursor_slice.[Ch]: remove unneeded acessor function
3854
3855         * lyxtext.h: rename rtl() to isRTL()
3856
3857         * rowpainter.C:
3858         * tabular.C:
3859         * text.C:
3860         * text2.C:
3861         * text3.C: adjust
3862
3863 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3864
3865         * rowpainter.C (paintSelection): coord fix
3866
3867 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3868
3869         * Spacing.C: compile fix
3870
3871 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3872
3873         * cursor.C (dispatch): restore current_ before returning
3874
3875 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3876
3877         * text2.C (cursorUp, cursorDown): fix coords
3878         (moveUp): fix crash
3879
3880 2004-02-12  André Pönitz  <poenitz@gmx.net>
3881
3882         * lyxtext.h:
3883         * text.C:
3884         * text2.C:
3885         * text3.C: add LCursor & parameter to most cursor movement functions
3886           remove usage of LyXText::cursorRow() and cursorPar()
3887
3888         * cursor.[Ch]: add textRow() needed members
3889
3890         * BufferView.C:
3891         * BufferView_pimpl.C:
3892         * paragraph.[Ch]:
3893         * BufferView.C:
3894         * BufferView_pimpl.C: adjust
3895
3896 2004-02-11  André Pönitz  <poenitz@gmx.net>
3897
3898         * lyxfunc.C:
3899         * BufferView.[Ch]:
3900         * BufferView_pimpl.C: shift undo/redo handling
3901
3902         * cursor.[Ch]: fix mathed crash
3903
3904         * lyxfind.C:
3905         * lyxtext.h: move selectionAsText to LCursor
3906
3907         * output_latex.C:
3908         * paragraph.C:
3909         * text.C:
3910         * text2.C:
3911         * text3.C: adjust
3912
3913         * rowpainter.C: fix excessive drawing
3914
3915 2004-02-06  André Pönitz  <poenitz@gmx.net>
3916
3917         * BufferView.[Ch]:
3918         * BufferView_pimpl.[Ch]:
3919         * text3.C: move some text specific LFUN handling
3920
3921 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3922
3923         * text3.C (checkInsetHit): adjust coords
3924         * text2.C (getColumnNearX): adjust coords
3925         (edit): adjust coords
3926         * text.C (getRowNearY): add two asserts
3927
3928 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3929
3930         * converter.C:
3931         * format.C: add using std::distance to compile on gcc 2.95/stlport
3932
3933 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3934
3935         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3936
3937 2004-02-04  André Pönitz  <poenitz@gmx.net>
3938
3939         * BufferView.[Ch] (insertInset):
3940         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3941
3942         * text2.C:
3943         * text3.C: adjust
3944
3945 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3946
3947         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3948         on the default clause of the switch
3949         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3950         wasn't catched by LCursor::dispatch
3951
3952 2004-02-03  André Pönitz  <poenitz@gmx.net>
3953
3954         * BufferView.C:
3955         * cursor.[Ch]: some additional asserts
3956
3957         * undo.[Ch]: remove LyXText dependency in interface
3958
3959         * lyxfunc.C: adjust
3960
3961         * lyxtext.h (firstPar, lastPar): remove dead functions
3962
3963         * text.C:
3964         * text2.C:
3965         * text3.C:
3966         * paragraph.[Ch]: adjust
3967
3968 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3969
3970         * lyxfind.C (find): fix argument order in call to ::find
3971
3972 2004-02-02  André Pönitz  <poenitz@gmx.net>
3973
3974         * cursor.[Ch]: remove direct access to anchor
3975
3976         * text.C: remove findText() hack
3977
3978 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3979
3980         * iterators.[Ch] (lockPath): remove in favour of...
3981         * BufferView.[Ch] (setCursor): this addition
3982         * BufferView.C (putSelectionAt): adjust
3983         * undo.C (performUndoOrRedo): adjust
3984         * lyxfunc.C (dispatch): adjust
3985
3986 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3987
3988         * iterators.C (lockPath): add a missing slice
3989         * undo.C (performUndoOrRedo): remove redundant positioning code
3990
3991 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * vc-backend.C (scanMaster): ";" -> ';'
3994
3995 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3996
3997         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3998         std::binary_function
3999
4000         * lyxtextclass.C (compare_name): rename to...
4001         (LayoutNamesEqual): ...this
4002
4003         * lyxlex_pimpl.C (compare_tags): inherit from
4004         std::binary_function, put back into anon namespace
4005
4006         * lyxfind.C (MatchString): inherig from std::binary_function
4007         (findChange): use empty() istead of !size()
4008
4009         * format.C (FormatNamesEqual): new functor
4010         (getFormat): use it
4011         (getNumber): use it
4012         (add): use it
4013         (erase): use it
4014         (setViewer): use it
4015
4016         * converter.C (compare_Converter): rename to...
4017         (ConverterEqual): ...this, and fixup a bit.
4018         (getConverter): use it, and make function const
4019         (getNumber): use it, and make function const
4020         (add): use it
4021         (erase): use it:
4022
4023         * bufferlist.C: add using boost::bind
4024
4025         * MenuBackend.C (MenuNamesEqual): new functor
4026         (hasMenu): use it, and make function const
4027         (hasSubmenu): use nested bind to get rid of compare_memfun.
4028
4029 2004-01-30  André Pönitz  <poenitz@gmx.net>
4030
4031         * BufferView_pimpl.C:
4032         * cursor.C:
4033         * cursor.h:
4034         * cursor_slice.[Ch]:
4035         * lyxfunc.C:
4036         * lyxtext.h:
4037         * paragraph_funcs.C:
4038         * paragraph_funcs.h:
4039         * rowpainter.C:
4040         * text.C:
4041         * text2.C:
4042         * text3.C: move some of the edit(x,y) handling to the insets
4043         some coordinate changes.
4044
4045 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4046
4047         * text.C: add using statements for std::advance and std::distance
4048
4049         * paragraph.C: add using statement for std::distance
4050
4051         * lyxfind.C: add using statement for std::advance
4052
4053         * cursor.C (region): remove std:: from swap
4054         (openable): use nucleus in stead of operator->
4055
4056         * BufferView.C: add using statements for std::distance and std::swap
4057
4058 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * iterators.C: Remove the pimple, move the needed structures to
4061         the header file. Create accessor for the positions stack.
4062         (asPosIterator): remove function
4063
4064         * PosIterator.C (PosIterator): move constructors to top of file
4065         (PosIterator): reimplement the constructor taking a ParIterator in
4066         terms of setFrom.
4067         (setFrom): new function
4068         (operator!=): inline it
4069
4070 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * lyxfind.C (replaceAll): use std::advance
4073
4074         * iterators.h: inherit from std::iterator.
4075
4076         * PosIterator.C (advance, distance): remove
4077         * PosIterator.h: interit from std::iterator.
4078
4079 2004-01-26  André Pönitz  <poenitz@gmx.net>
4080
4081         * BufferView.[Ch]:
4082         * BufferView_pimpl.[Ch]:
4083         * InsetList.[Ch]:
4084         * PosIterator.[Ch]:
4085         * buffer.h:
4086         * bufferview_funcs.C:
4087         * cursor.[Ch]:
4088         * cursor_slice.h:
4089         * factory.[Ch]:
4090         * iterators.[Ch]:
4091         * lyxfind.C:
4092         * lyxfunc.C:
4093         * lyxtext.h:
4094         * output_docbook.C:
4095         * output_latex.C:
4096         * output_linuxdoc.C:
4097         * output_plaintext.C:
4098         * paragraph.[Ch]:
4099         * paragraph_funcs.[Ch]:
4100         * paragraph_pimpl.[Ch]:
4101         * rowpainter.C:
4102         * tabular.C:
4103         * tabular.h:
4104         * text.C:
4105         * text2.C:
4106         * text3.C: more IU:  dumps most of the rest of the mathcursor
4107     implementation into cursor.[Ch]; "globalize" a bit of it.
4108
4109 2004-01-25  Angus Leeming  <leeming@lyx.org>
4110
4111         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4112
4113 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4114
4115         * LaTeXFeatures.h: add nice_ and nice() const
4116         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4117
4118 2004-01-20  André Pönitz  <poenitz@gmx.net>
4119
4120         * BufferView.[Ch]:
4121         * BufferView_pimpl.C:
4122         * PosIterator.C:
4123         * bufferview_funcs.C:
4124         * cursor.[Ch]:
4125         * cursor_slice.[Ch]:
4126         * factory.C:
4127         * iterators.C:
4128         * lyx_cb.C:
4129         * lyxfind.C:
4130         * lyxfunc.C:
4131         * lyxtext.h:
4132         * rowpainter.C:
4133         * text.C:
4134         * text2.C:
4135         * text3.C:
4136         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4137           LCursor and mathcursor parts to LCursor and InsetBase.
4138
4139 2004-01-15  André Pönitz  <poenitz@gmx.net>
4140
4141         * cursor_slice.[Ch]: add a few covienience functions
4142
4143         * funcrequest.[Ch]: remove BufferView * member
4144
4145         * BufferView_pimpl.C:
4146         * cursor.C:
4147         * factory.[Ch]:
4148         * lyxfind.[Ch]:
4149         * lyxfunc.C:
4150         * lyxtext.h:
4151         * text3.C:
4152         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4153
4154 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4155
4156         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4157         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4158
4159 2004-01-13  André Pönitz  <poenitz@gmx.net>
4160
4161         * textcursor.[Ch]:
4162         * lyxtext.h: hide cursor and selection anchor behind accessor function
4163
4164         * BufferView.C:
4165         * BufferView_pimpl.[Ch]:
4166         * PosIterator.C:
4167         * bufferview_funcs.C:
4168         * cursor.h:
4169         * lyxfind.C:
4170         * lyxfunc.C:
4171         * text.C:
4172         * text2.C:
4173         * text3.C:
4174         * undo.C: adjust
4175
4176         * cursor.h:
4177         * cursor_slice.[Ch]: some integer type changes for inset unification
4178
4179         * lyxcursor.[hC]: remove, it's CursorSlice now.
4180
4181         * Makefile.am:
4182         * BufferView_pimpl.[Ch]:
4183         * bufferview_funcs.C:
4184         * cursor_slice.C:
4185         * lyxtext.h:
4186         * text.C:
4187         * text2.C:
4188         * text3.C:
4189         * textcursor.[Ch]: adjust
4190
4191 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4192
4193         * text2.C (undoSpan): add and use
4194         * text.C (breakParagraph): use undoSpan (fix bug 578)
4195         * lyxtext.h: adjust
4196
4197 2004-01-08  Angus Leeming  <leeming@lyx.org>
4198
4199         * BufferView_pimpl.C (MenuInsertLyXFile):
4200         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4201         * lyxfunc.C (menuNew, open, doImport):
4202         FileFilterList change to the FileDialog open and save functions.
4203
4204 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * ShareContainer.h: make isEqual and isUnique adaptable
4207
4208         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4209
4210 2004-01-07  Angus Leeming  <leeming@lyx.org>
4211
4212         * LyXAction.C:
4213         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4214
4215         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4216
4217         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4218         functions replacing find, replace and replaceAll.
4219
4220         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4221         LFUN_WORDFIND(FORWARD|BACKWARD).
4222
4223 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4224
4225         * text.C (breakParagraph): remove an outdated #warning
4226
4227 2004-01-07  André Pönitz  <poenitz@gmx.net>
4228
4229         * lyxfind.C: somewhat clearer logic
4230
4231         * text.C: prevent crash in cursorX on unitialized row cache
4232
4233 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4234
4235         * lyxcursor.[Ch] (operator>): add
4236         * textcursor.C (selStart, selEnd): use std::min and std::max
4237
4238 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4239
4240         * Chktex.C: include boost/format.hpp
4241
4242 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4243
4244         * InsetList.C: replace functor MathcIt with adaptable functor
4245         InsetTablePosLess
4246         (insetIterator): modify accordingly
4247
4248         * BranchList.h: move the BranchNamesEqual functor here from...
4249         * BranchList.C: ... to here
4250
4251         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4252         SameName and match.
4253         (add): replace a finding loop with std::find_if.
4254
4255 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4256
4257         * output_docbook.C: moving LatexParam functionality into
4258         .layout files
4259
4260 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4261
4262         * buffer.C: increment format to 229.
4263
4264 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4265
4266         * LaTeXFeatures.C:
4267         * lyx_sty.[Ch]: remove minipageindent_def
4268
4269         * LyXAction.C:
4270         * factory.C:
4271         * lfuns.h:
4272         * lyxfunc.C:
4273         * text3.C: remove LFUN_INSET_MINIPAGE
4274
4275 2003-12-28  Angus Leeming  <leeming@lyx.org>
4276
4277         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4278
4279 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4280
4281         * text2.C (setParagraph): fix off-by-one crash
4282
4283 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4284
4285         * output_docbook.C: header stuff for AGU
4286
4287 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4288
4289         * text2.C (redoCursor): remove
4290         * text.C:
4291         * text3.C:
4292         * BufferView_pimpl.C: remove calls to redoCursor and
4293         setCursor(cursor.par(), cursor.pos()) all around
4294
4295 2003-12-15  Angus Leeming  <leeming@lyx.org>
4296
4297         * buffer.C: up the format to 228.
4298
4299 2003-12-15  André Pönitz  <poenitz@gmx.net>
4300
4301         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4302         slices
4303
4304         * Makefile.am:
4305
4306         * BufferView_pimpl.C:
4307         * cursor.[Ch]:
4308         * lyxcursor.[Ch]:
4309         * rowpainter.[Ch]:
4310         * lyxtext.h:
4311         * text.C:
4312         * text2.C:
4313         * text3.C: adjust
4314
4315 2003-12-15  Angus Leeming  <leeming@lyx.org>
4316
4317         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4318         than getFromGUIName to manipulate the color.
4319
4320 2003-12-14  Angus Leeming  <leeming@lyx.org>
4321
4322         * BranchList.[Ch]: minimize the API.
4323         (Branch::getBranch, getColor): now return a 'const &'.
4324         (Branch::setSelected) now returns a bool set to true if the
4325         selection status changes.
4326         (BranchList::clear, size, getColor, setColor, setSelected,
4327         allBranches, allSelected, separator): removed.
4328         (BranchList::find): new functions, returning the Branch with
4329         the given name.
4330         (BranchList::add, remove): return a bool indicating that
4331         the operation was successful.
4332
4333         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4334         new InsetBranch::isBranchSlected member function.
4335
4336         * LColor.[Ch]: mimimize the API.
4337         (fill): renamed as addColor and made private.
4338         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4339         versions of these functions taking a string arg have been removed.
4340
4341         * bufferparams.C (readToken):
4342         * lyxfunc.C (dispatch):
4343         * lyxrc.C (read): changes due to the altered BranchList and
4344         LColor APIs.
4345
4346         * factory.C (createInset, readInset): changes due to altered
4347         InsetBranch c-tor.
4348
4349 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4350
4351         * factory.C:
4352         * lyxfunc.C: remove insetminipage. "minipage-insert"
4353         now produces a frameless minipage box inset.
4354
4355 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4356
4357         * textcursor.[Ch] (selStart,selEnd): add new methods
4358         remove selection::start, end, use LyXCursor::operator<
4359         * lyxcursor.[Ch] (operator<): add
4360         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4361         * BufferView.[Ch] (unsetXSel): add
4362         * text2.C (clearSelection): use unsetXSel,adjust
4363         * text.C: adjust
4364         * text3.C: adjust
4365         * rowpainter.C: adjust
4366         * bufferview_funcs.C (put_selection_at): adjust
4367
4368 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4369
4370         * BufferView_pimpl.C: small coord. correction
4371
4372 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4373
4374         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4375         dragging over the splash screen.
4376
4377 2003-12-11  Angus Leeming  <leeming@lyx.org>
4378
4379         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4380         as it is now handled in LyXText::dispatch.
4381
4382         * text3.C (doInsertInset): remove a level of nesting.
4383
4384 2003-12-11  Angus Leeming  <leeming@lyx.org>
4385
4386         * factory.C (createInset): changes due to the changed interface to
4387         InsetCommandMailer::string2params.
4388
4389 2003-12-10  Angus Leeming  <leeming@lyx.org>
4390
4391         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4392         'dialog-show-new-inset <inset name>'
4393
4394 2003-12-10  Angus Leeming  <leeming@lyx.org>
4395
4396         * buffer.C: up the format to 227.
4397
4398         * factory.C: the box inset is now identified simply by 'Box'.
4399
4400 2003-12-10  Angus Leeming  <leeming@lyx.org>
4401
4402         * buffer.C: up the format to 226.
4403
4404         * factory.C: the note inset is now identified simply by 'Note'.
4405
4406 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4407
4408         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4409         when a pit is enough. Standarize a couple of loops.
4410
4411 2003-12-05  Angus Leeming  <leeming@lyx.org>
4412
4413         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4414         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4415         data to the re-worked "log" dialog.
4416
4417 2003-12-03  André Pönitz  <poenitz@gmx.net>
4418
4419         * PosIterator.C:
4420         * iterators.C:
4421         * lyxtext.h:
4422         * output_latex.C:
4423         * paragraph_funcs.C:
4424         * text.C:
4425         * text2.C: use Inset::getText instead of Inset::getParagraph
4426
4427 2003-12-03  André Pönitz  <poenitz@gmx.net>
4428
4429         * buffer.[Ch]:
4430         * lyxtext.h:
4431         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4432         InsetText::read() as LyXText::read()
4433
4434 2003-12-02  Angus Leeming  <leeming@lyx.org>
4435
4436         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4437         type. Add a comment in the implementation that the function uses
4438         the stream's bad() function rather than fail() as the std::streams
4439         would do.
4440
4441 2003-12-02  André Pönitz  <poenitz@gmx.net>
4442
4443         * lyxlex.[Ch]: make interface more similar to std::stream
4444
4445         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4446
4447 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4448
4449         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4450
4451 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4452
4453         * vspace.[Ch]: remove VSpace::NONE
4454
4455 2003-12-01  André Pönitz  <poenitz@gmx.net>
4456
4457         * buffer.[Ch]:
4458         * lyxtext.h: move ParagraphList member to LyXText
4459         rename LyXText::ownerParagraphs to LyXText::paragraph
4460
4461         * CutAndPaste.C:
4462         * bufferview_funcs.C:
4463         * iterators.[Ch]:
4464         * lyx_cb.C:
4465         * paragraph.C:
4466         * rowpainter.C:
4467         * tabular.C:
4468         * text.C:
4469         * text2.C:
4470         * text3.C: adjust
4471
4472         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4473
4474         * undo.C: fix cursor positioning
4475
4476 2003-12-01  John Levon  <levon@movementarian.org>
4477
4478         * BufferView_pimpl.C: fix a crash on exit with
4479         a buffer open
4480
4481 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4482
4483         * BranchList.C: fix setSelected() method.
4484
4485 2003-11-28  André Pönitz  <poenitz@gmx.net>
4486
4487         * ParagraphParameters.[Ch]:
4488         * ParameterStruct.h: remove space above/below from Paragraph to
4489          InsetVSpace
4490
4491         * BufferView_pimpl.C:
4492         * factory.C:
4493         * lyxfunc.C:
4494         * lyxtext.h:
4495         * output_latex.C:
4496         * paragraph.C:
4497         * paragraph_funcs.C:
4498         * rowpainter.[Ch]:
4499         * text.C:
4500         * text2.C:
4501         * text3.C: adjust
4502
4503 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4504
4505         * factory.C: Syntax change for CharStyles
4506
4507 2003-11-28  André Pönitz  <poenitz@gmx.net>
4508
4509         * BufferView.[Ch]:
4510         * BufferView.[Ch]:
4511         * buffer.[Ch]:
4512         * buffer.[Ch]: move LyXText member
4513
4514 2003-11-28  André Pönitz  <poenitz@gmx.net>
4515
4516         * BufferView.[Ch]: make LyXText * text a private member
4517
4518         * BufferView_pimpl.C:
4519         * cursor.C:
4520         * iterators.C:
4521         * lyx_cb.C:
4522         * lyxfind.C:
4523         * lyxtext.h:
4524         * rowpainter.[Ch]:
4525         * text.C:
4526         * text2.C:
4527         * undo.C: adjust
4528
4529         * output_plaintext.C: cleanup
4530
4531 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4532
4533         * buffer.C:
4534         * lyxtextclass.[Ch]: parametrize SGML document header
4535
4536 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4537
4538         * converter.[Ch]:
4539         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4540         getFlavor().
4541
4542 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4543
4544         * text2.C (setFont): rework using PosIterator (no more recursive)
4545         (setCharFont): no more needed
4546         (setLayout): no more selection cursors fiddling (done by redoCursor)
4547         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4548         destroy remaining ones)
4549
4550 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4551
4552         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4553         * lyxtext.h: ditto
4554         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4555         selection cursors
4556         * lyxfunc.C: adjust
4557         * text3.C: adjust + re-allow multi par depth changes
4558         * textcursor.C: simplify a bit
4559
4560 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4561
4562         * src/buffer.C:
4563         * src/lyxlayout.C:
4564         * src/lyxlayout.h:
4565         * src/lyxtext.h:
4566         * src/output_docbook.C:
4567         * src/output_latex.C:
4568         * src/paragraph.C:
4569         * src/paragraph.h:
4570         * src/sgml.C:
4571         * src/sgml.h:
4572         * src/text2.C: Introducing a number of tags parametrizing various
4573         XML formats that we may want to support
4574
4575 2003-11-25  André Pönitz  <poenitz@gmx.net>
4576
4577         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4578
4579         * lyxtext.h (leftMargin/rightMargin): simplify interface
4580
4581         * rowpainter.C:
4582         * text.C:
4583         * text2.C:
4584         * text3.C: adjust
4585
4586 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4587
4588         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4589         master file to any child files. Fixes bug 546.
4590
4591 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4592
4593         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4594
4595 2003-11-24  André Pönitz  <poenitz@gmx.net>
4596
4597         * rowpainter.C: simplification
4598
4599         * text2.C (updateCounters): remove call to redoParagraph on
4600         changed labels as this is far too expensive.
4601
4602 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4603
4604         * converter.C (convert): fix a crash: this function gets
4605         called with buffer == 0 from importer code.
4606
4607 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4608
4609         * text3.C (cursorPrevious): make sure that we do not compare
4610         iterators form different containers.
4611         (cursorNext): ditto
4612
4613         * rowpainter.C (paintSelection): make sure that we do not compare
4614         iterators from different containers.
4615
4616         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4617         iterators from different ParagraphList containers.
4618         [NEXT] ditto
4619
4620         * text2.C (LyXText): change order of initialization slightly
4621         (operator=): new function. copy all variables except cache_par_
4622         (moveUp): make sure that we do not compare iterators from
4623         different ParagraphList constainers.
4624         (moveDown): ditto
4625
4626         * text.C (firstPar): new function
4627         (lastPar): new function
4628         (endPar): new function
4629
4630         * lyxtext.h: move things around and group public functions, public
4631         variables, private functions, private variables
4632
4633 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4634
4635         * factory.C: change call to InsetERT constructor to avoid
4636         additional invocation of method status
4637         * text2.C (toggleInset): remove redundant update() call
4638         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4639         instead of a Bufferview pointer
4640
4641 2003-11-21  André Pönitz  <poenitz@gmx.net>
4642
4643         * rowpainter.C: simplification
4644
4645 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4646
4647         * text3.C (dispatch): make possible to extend a word/row selection
4648         with the mouse
4649
4650 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4651
4652         * lyxtext.h: x0_,y0_ -> xo_,yo_
4653         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4654         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4655         * rowpainter.C (paintRows): paint full paragraphs
4656
4657 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4658
4659         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4660         screen coordinates)
4661
4662 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4663
4664         * lyxtext.h: add x0_, y0_
4665         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4666         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4667
4668 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4669
4670         * text2.C (setCursorIntern): move the x_target update here *
4671         * text3.C: change some bv() to true/false in calls to
4672         cursorUp/Down/Right/Left
4673         * cursor.C: use helper function.
4674
4675 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4676
4677         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4678         * paragraph_funcs.[Ch]: correct comment
4679         * rowpainter.C: do not paint selections away from bv->cursor()
4680         Fix a long standing selection painting bug.
4681         * text3.C: generalize mouse-selection code to LyXTexts other that
4682         top one
4683         * textcursor.C: do not use y coords if we can use par offsets
4684
4685 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4686
4687         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4688         cursor position after e.g. inset insert)
4689
4690 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4691
4692         * lyxfind.C (replace): adjust to locking removal + some
4693         code simplification
4694
4695 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4696
4697         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4698         of the path
4699
4700 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4701
4702         * lyxlayout.[Ch]:
4703         * output_docbook.C: XML sanitation: new layout
4704         parameters InnerTag and CommandDepth
4705
4706 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4707
4708         * BufferView_pimpl.C:
4709         * factory.C:
4710         * text3.C: Fix the insertion and modification of button-style
4711         insets
4712
4713 2003-11-13  André Pönitz  <poenitz@gmx.net>
4714
4715         * InsetList.[Ch]: remove deleteLyXText
4716
4717         * paragraph.[Ch]: cache beginOfBody position
4718
4719         * Bidi.C:
4720         * text.C:
4721         * text2.C:
4722         * text3.C: remove superfluous update() calls
4723
4724         * vspace.C: cleanup
4725
4726 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4727
4728         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4729         * BufferView.C (fitLockedInsetCursor): remove
4730         * cursor.[Ch] (getDim): add
4731         * text.C (getRowNearY): add faster version
4732         * text3.C: remove some update calls
4733
4734 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4735
4736         * LaTeXFeatures.C:
4737         * LyXAction.C:
4738         * MenuBackend.C:
4739         * MenuBackend.h:
4740         * dispatchresult.h:
4741         * factory.C:
4742         * lfuns.h:
4743         * lyxfunc.C:
4744         * lyxtextclass.C:
4745         * lyxtextclass.h:
4746         * text3.C: The Character Style /XML short element patch.
4747
4748 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4749
4750         * text3.C:
4751         * factory.C: Small step to solving 'unable to insert some insets'
4752         problem
4753
4754 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4755
4756         * cursor.[Ch] (updatePos): new function for updating the y
4757         position of the tip inset
4758         * bufferview_funcs.C (put_selection_at):
4759         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4760
4761 2003-11-11  André Pönitz  <poenitz@gmx.net>
4762
4763         * text.C: remove big comment on invalid Paragraph pointers as it is
4764         not valid anymore
4765
4766 2003-11-11  André Pönitz  <poenitz@gmx.net>
4767
4768         * text_funcs.[Ch]: merge with ...
4769
4770         * text.C: ... this
4771
4772         * lyxtext.h:
4773         * text2.C:
4774         * text3.C: adjust
4775
4776         * Makefile.am: remove text_funcs.[Ch]
4777
4778 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4779
4780         * cursor.C (getPos): return absolute cached y coord
4781
4782         * BufferView_pimpl.C (fitCursor): new simplistic code
4783         (workAreaDispatch): add a fitCursor call
4784
4785 2003-11-10  André Pönitz  <poenitz@gmx.net>
4786
4787         * BufferView.[Ch]:
4788         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4789
4790 2003-11-10  André Pönitz  <poenitz@gmx.net>
4791
4792         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4793         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4794         indicate that the cursor needs to leave an inset
4795
4796         * lyxtext.h: remove inset locking
4797
4798         * cursor.[Ch]: re-implement functionality provided by inset locking
4799
4800         * BufferView.[Ch]:
4801         * BufferView_pimpl.[Ch]:
4802         * LyXAction.C:
4803         * bufferview_funcs.[Ch]:
4804         * factory.C:
4805         * funcrequest.[Ch]:
4806         * iterators.C:
4807         * lyx_cb.C:
4808         * lyxfind.C:
4809         * lyxfunc.C:
4810         * text.C:
4811         * text2.C:
4812         * text3.C:
4813         * undo.C: adjust
4814
4815 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4816
4817         * PosIterator.[Ch]: replace the stack with a vector, add inset
4818         accesor
4819         * iterators.[C]: adjust
4820
4821 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4822
4823         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4824         replaced
4825         * paragraph_funcs.C (readParToken): put the correct id in the
4826         error item, not the id of the top paragraph
4827
4828 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4829
4830         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4831         * bufferview_funcs.C (put_selection_at): use the above
4832
4833 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4834
4835         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4836
4837 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4838
4839         * output_linuxdoc.h:
4840         * output_plaintext.h:
4841         * output.h:
4842         * output_docbook.h: add #include statements
4843
4844 2003-11-05  José Matos  <jamatos@lyx.org>
4845
4846         * output_docbook.[Ch]:
4847         * output_latex.[Ch]:
4848         * output_linuxdoc.[Ch]:
4849         * output_plaintext.[Ch]: New files for output formats.
4850         * output.[Ch]: New file for helper functions.
4851
4852         * buffer.[Ch]:
4853         * paragraph_funcs.[Ch]: output functions moved to new files.
4854
4855         * outputparams.h: rename of latexrunparams.h
4856
4857         * LaTeX.[Ch]:
4858         * buffer.[Ch]:
4859         * bufferlist.[Ch]:
4860         * converter.[Ch]:
4861         * exporter.C:
4862         * paragraph.[Ch]:
4863         * paragraph_funcs.[Ch]:
4864         * paragraph_pimpl.[Ch]:
4865         * tabular.[Ch]: rename ascii to plaintext
4866         and LatexRunParams to OutputParams.
4867
4868 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4869
4870         * iterators.[Ch] (text): require bv argument
4871         * undo.C (recordUndo):
4872         * lyxfunc.C (dispatch):
4873         * bufferview_funcs.C (put_selection_at): adjust
4874
4875 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4876
4877         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4878
4879 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4882         nestings
4883
4884 2003-11-04  André Pönitz  <poenitz@gmx.net>
4885
4886         * cursor.[Ch]: restructure
4887
4888         * BufferView.[Ch]:
4889         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4890
4891         * iterators.[Ch] (asCursor): remove
4892
4893         * lfuns.h: remove LFUN_INSET_EDIT
4894
4895         * lyxfunc.C:
4896         * tabular.C:
4897         * text.C:
4898         * text2.C:
4899         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4900
4901 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4902
4903         * lyxfind.[Ch]: complete overhaul
4904         * BufferView_pimpl.C:
4905         * lyxfunc.C: adjust
4906         * paragraph.[Ch] (insert): add
4907
4908 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4909
4910         * BufferView.[Ch]:
4911         * lyxtext.h:
4912         * text.C: remove dead spellcheck code
4913
4914 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4915
4916         * dispatchresult.h: add a val setter
4917
4918         * cursor.C (dispatch): use a tempvar for data_[i]
4919
4920 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4921
4922         * PosIterator.[Ch]: compile fix
4923
4924 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4925
4926         * text.C (cursorPar): deactivate the cursor cache
4927
4928 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4929
4930         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4931
4932 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * text3.C (dispatch): adjust for new DisptchResult semantics.
4935
4936         * lyxfunc.C (dispatch): handle update when return from
4937         Cursor::dispatch, adjust for new DispatchResult semantics.
4938
4939         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4940         DispatchResult(true) mean to not update. Add class functions for
4941         setting dispatched and update, as well as reading.
4942
4943         * cursor.C (dispatch): don't handle update here
4944
4945 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4946
4947         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4948         * trans_mgr.C: adjust
4949
4950         * paragraph_funcs.C (readParToken): exception safety
4951
4952         * lyxvc.h: store the vcs pointer in a scoped_ptr
4953         * lyxvc.C: adjust
4954
4955         * lyxsocket.C (serverCallback): exception safety
4956
4957         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4958
4959         * ispell.C (clone): make it return a auto_ptr
4960
4961         * factory.C (createInset): exception safety
4962         (readInset): exception safety
4963
4964         * bufferlist.C (newBuffer): exception safety
4965
4966         * Thesaurus.C (Thesaurus): use initialization for aik_
4967
4968         * MenuBackend.C (expandToc): exception safety.
4969
4970 2003-11-03  André Pönitz  <poenitz@gmx.net>
4971
4972         * buffer.C:
4973         * buffer.h:
4974         * bufferview_funcs.C: remove getInsetFromId()
4975
4976         * lyxcursor.[Ch]:
4977         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4978
4979         * lyxfunc.C:
4980         * text2.C:
4981         * text3.C: adjust
4982
4983 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4984
4985         * PosIterator.C (distance, advance): new
4986         * bufferview_funcs.[Ch] (put_selection_at): new
4987         * iterators.[Ch] (lockPath): new
4988
4989 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4990
4991         * iterators.[Ch] (asPosIterator): added
4992         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4993         * PosIterator.[Ch]: added
4994
4995 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * text3.C:
4998         * lyxfunc.C:
4999         * cursor.C (dispatch):
5000         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5001
5002         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5003         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5004         contructor, add a class function dispatched. Remove operator>=
5005
5006 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * debug.C: only use the default constructor for debugstream
5009         (lyxerr) here.
5010
5011         * main.C (main): include debug.h and setup the lyxerr streambuf
5012         here.
5013
5014 2003-10-31  José Matos  <jamatos@lyx.org>
5015
5016         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5017
5018         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5019         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5020         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5021         * paragraph_pimpl.C (simpleTeXSpecialC):
5022         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5023         add LatexRunParams argument.
5024
5025         * exporter.C (Export): change call accordingly.
5026
5027         * latexrunparams.h: add new member to take care of the other backends.
5028 2003-10-30  José Matos  <jamatos@lyx.org>
5029
5030         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5031         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5032         factorise code for paragraph output.
5033         * buffer.[Ch]:
5034         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5035         move functions.
5036
5037 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5038
5039         * text3.C (dispatch):
5040         * lyxfunc.C (dispatch):
5041         * cursor.C (dispatch):
5042         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5043
5044         * dispatchresult.h: make the dispatch_result_t ctor explicit
5045
5046 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5047
5048         * sgml.[Ch]:
5049         * buffer.C: small refactoring of docbook stuff
5050
5051 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5052
5053         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5054         meaning.
5055
5056 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5059         operator dispatch_result_t, and operators for == != and >=
5060
5061         * cursor.C (dispatch): adjust for operator dispatch_result_t
5062         removal. comment out call to update
5063
5064         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5065
5066 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * text3.C:
5069         * text2.C:
5070         * text.C:
5071         * lyxtext.h:
5072         * lyxfunc.C:
5073         * cursor.C:
5074         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5075         (dispatch):
5076
5077         * dispatchresult.h: new file, DispatchResult broken out of
5078         insets/insetbase.h
5079
5080         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5081
5082 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * text.C (rowBreakPoint): put a hack inside #if 0
5085
5086 2003-10-28  André Pönitz  <poenitz@gmx.net>
5087
5088         * lyxtext.h:
5089         * metricsinfo.C:
5090         * paragraph_funcs.C:
5091         * rowpainter.C:
5092         * text.C:
5093         * text2.C: general cleanup (lots of small stuff)
5094
5095 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5096
5097         * text2.C (cursorEnd): simple fix to the "end key goes to one
5098         before the end on last row" bug
5099
5100 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5101
5102         * text.C (backspace): fix the "zombie characters"
5103
5104 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5105
5106         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5107
5108 2003-10-27  André Pönitz  <poenitz@gmx.net>
5109
5110         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5111
5112         * factory.C: handle new InsetPagebreak, InsetLine
5113
5114         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5115         and move handling into new InsetPagebreak, InsetLine
5116
5117         * BufferView_pimpl.C:
5118         * LyXAction.C:
5119         * ParagraphParameters.C:
5120         * ParameterStruct.h:
5121         * lyxfunc.C:
5122         * lyxtext.h:
5123         * paragraph.C:
5124         * paragraph.h:
5125         * paragraph_funcs.C:
5126         * paragraph_pimpl.C:
5127         * rowpainter.C:
5128         * text.C:
5129         * text2.C:
5130         * text3.C: adjust
5131
5132 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5133
5134         * text.C:
5135         * lyxrow_funcs.[Ch]:
5136         * Bidi.C:
5137         * paragraph.C:
5138         * lyxtext.h:
5139         * rowpainter.C:
5140         * text2.C:
5141         * text3.C: remove lastPos uses in favour of Row::endpos
5142
5143 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5144
5145         * undo.C (performUndoOrRedo): fix two crashes by setting a
5146         cursor by hand and reordering some calls. Use bv->lockInset instead
5147         of inset->edit because the latter loses cursor information
5148
5149 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5150
5151         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5152         by Martin
5153         (rowBreakPoint): fix width. change point to point + 1.
5154         Add a missing check.
5155
5156 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5157
5158         * MenuBackend.C:
5159         * lyxfunc.C: fix (at least partly) the problems
5160         with the Nav menu and headers inside branch insets
5161         reported by Kayvan
5162
5163 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5164
5165         * paragraph.C (getChar): add strong asserts
5166
5167         * lyxrow_funcs.C (lastPos): remove hideous hack
5168
5169         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5170         (fill): adjust to that (avoid an infinite loop)
5171
5172 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5173
5174         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5175
5176 2003-10-23  André Pönitz  <poenitz@gmx.net>
5177
5178         * RowList_fwd.h: change list<> to vector<> to gain speed
5179         after suggestion from Alfredo
5180
5181 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5182
5183         * lyxtext.h: move the bidi stuff from here...
5184         * text.C: and here
5185         * text2.C: and here
5186         * Bidi.[Ch]: ... to here
5187
5188 2003-10-23  André Pönitz  <poenitz@gmx.net>
5189
5190         * lyxtext.h:
5191         * text.C (isLastRow, isFirstRow): new functions
5192
5193         * paragraph.h: new width cache member
5194
5195         * rowpainter.C: replace RowList::iterator with Row & where possible
5196
5197         * lyxfunc.C: replace several view()->text with a single call
5198
5199         * toc.C: fix 'unused' warning
5200
5201 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5204         when woring with stream::pos_type
5205         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5206
5207 2003-10-22  André Pönitz  <poenitz@gmx.net>
5208
5209         * lyxtext.h:
5210         * text.C: use Row & instead of RowList::iterator
5211
5212         * lyxrow.h: rename end() to endpos()
5213
5214         * rowpainter.C:
5215         * text.C:
5216         * text2.C: adjust
5217
5218 2003-10-22  Angus Leeming  <leeming@lyx.org>
5219
5220         * buffer.[Ch] (fully_loaded): new member function, returning true
5221         only when the file has been loaded fully.
5222         Used to prevent the premature generation of previews and by the
5223         citation inset to prevent computation of the natbib-style label.
5224
5225         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5226         templates are all set up.
5227
5228         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5229
5230 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5231
5232         * text.C: fixed an "oops" in the "is a bit silly"
5233         bug fix
5234
5235 2003-10-21  André Pönitz  <poenitz@gmx.net>
5236
5237         * FuncStatus.[Ch]: small stuff, whitespace
5238
5239         * lyxfont.[Ch]: operator<<() for debug reasons
5240
5241         * lyxfunc.C:
5242         * lyxrow_funcs.C:
5243         * lyxtext.h: whitespace, spelling
5244
5245         * paragraph.C: naming of variables
5246
5247         * text.C:
5248         * text2.C: small stuff
5249
5250
5251 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5252
5253         * text.C: (1) finish off the inset display() work;
5254         (2) fix the "is a bit silly" bug (accessing char
5255         past end of par).
5256
5257 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5258
5259         * text.C: re-introduce display() for insets, fixing the
5260         various bugs (stretch of line above, math inset
5261         positioning, ...)
5262
5263 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5264
5265         * text.C (rightMargin): remove spurious semicolon
5266
5267         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5268         1415)
5269
5270 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5271
5272         * text3.C: fix one crash due to wrong cursor def
5273
5274 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5275
5276         * vc-backend.C (scanMaster): make the regex static
5277
5278         * LaTeX.C (scanAuxFile): make the regexs static
5279
5280         * text3.C (doInsertInset, dispatch, dispatch):
5281         * text2.C (cursorUp, cursorDown):
5282         * text.C (selectNextWordToSpellcheck):
5283         * BufferView_pimpl.C (dispatch):
5284         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5285
5286 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5287
5288         * lyxsocket.C: include <cerrno>
5289
5290 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5291
5292         * lyxfunc.C (dispatch): remove textcache stuff
5293
5294         * bufferlist.C (release): remove textcache stuff
5295         (closeAll): ditto
5296
5297         * TextCache.C: delete file
5298         * TextCache.h: delete file
5299
5300         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5301
5302         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5303         delete of the bv_->text.
5304         (resizeCurrentBuffer): remove texcache stuff
5305         (workAreaResize): ditto
5306
5307 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5310         action.
5311
5312 2003-10-16  André Pönitz  <poenitz@gmx.net>
5313
5314         * lyxrow.[Ch]:
5315         * paragraph.h:
5316         * rowpainter.C:
5317         * text.C:
5318         * text2.C:
5319         * text3.C: speed up by storing y positions per paragraph plus per-row
5320         offset instead of having a 'full' y position in the row.
5321
5322 2003-10-15  André Pönitz  <poenitz@gmx.net>
5323
5324         * iterators.[Ch]:
5325         * iterators.[Ch]:
5326         * undo.[Ch]: make undo aware of inner insets
5327
5328 2003-10-14  Angus Leeming  <leeming@lyx.org>
5329
5330         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5331         static member functions LyX::ref() and LyX::cref.
5332         (lastfiles): new accessor functions for the new lastfiles_ member var.
5333         (addLyXView, views_): add a new LyXView to the list of views_.
5334         (updateInset): loop over all LyXViews to call their own updateInset
5335         member function, returning a pointer to the Buffer owning the inset.
5336
5337         * BufferView_pimpl.C (loadLyXFile):
5338         * MenuBackend.C (expandLastfiles):
5339         * bufferlist.C (MenuWrite, QuitLyX):
5340         lastfiles is no longer a global variable.
5341         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5342
5343         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5344         static function. Access through LyX::cref().emergencyCleanup().
5345
5346 2003-10-14  André Pönitz  <poenitz@gmx.net>
5347
5348         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5349
5350         * undo.[Ch]: restoring part of 'undo in insets'
5351
5352         * Makefile.am:
5353         * undo_funcs.[Ch]: merge with undo.[Ch]
5354
5355         * tabular.C: small cleansing stuff
5356
5357 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5358
5359         * paragraph_funcs.C (readParToken): report unknown insets as error
5360         boxes. Use the outer paragraph as location (also for unknown
5361         tokens).
5362
5363         * factory.C (readInset): do not abort on reading an unknown inset.
5364         Eat it and return 0.
5365
5366 2003-10-13  Angus Leeming  <leeming@lyx.org>
5367
5368         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5369
5370         * lyxrc.C: displayTranslator is now a function,
5371         declared in GraphicsTypes.h.
5372
5373 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5374
5375         * format.C: new placeholder $$a to pass the socket address.
5376
5377         * bufferlist.[Ch]: new function getBufferFromTmp.
5378
5379         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5380           files in the temporary dir.
5381
5382 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5383
5384         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5385
5386         * Makefile.am: add lyxsocket.[Ch].
5387
5388         * lyx_main.C (error_handler): handle SIGPIPE.
5389
5390 2003-10-13  André Pönitz  <poenitz@gmx.net>
5391
5392         * BufferView_pimpl.C:
5393         * lyxtext.h:
5394         * text.C:
5395         * text2.C:
5396         * text3.C:
5397         * undo_funcs.[Ch]: use paroffset_type instead of
5398           ParagraphList::iterators to prevent multiple conversion
5399           (and get a more robust interface)
5400
5401 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5402
5403         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5404         * lyxtext.h: ditto
5405         * text3.C (dispatch): ditto
5406
5407 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5408
5409         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5410         move the onlyfile, use onlyfile instead of foundfile in a couple
5411         of places.
5412
5413         * DepTable.C (update): flush the error stream a bit more
5414
5415 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * lyxserver.C (callback): adjust
5418
5419         * lyxfunc.C (getStatus): add a missing brace in commented code
5420         (ensureBufferClean): reindent
5421         (dispatch): delete version taking a string
5422
5423 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * LaTeX.C (deplog): move found file handlig from here...
5426         (handleFoundFile): .. to new function here.
5427         (deplog): make sure to discover several files mentioned on the
5428         same log line.
5429
5430 2003-10-10  André Pönitz  <poenitz@gmx.net>
5431
5432         * lyxfunc.C:
5433         * lyxtext.h:
5434         * tabular.C:
5435         * text.C:
5436         * text2.C:
5437         * text3.C: fix some of the tabular crashes
5438
5439 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5440
5441         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5442
5443         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5444
5445 2003-10-09  André Pönitz  <poenitz@gmx.net>
5446
5447         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5448
5449         * BufferView.C:
5450         * BufferView_pimpl.C:
5451         * bufferview_funcs.C:
5452         * lyx_cb.C:
5453         * lyxcursor.C:
5454         * lyxfind.C:
5455         * lyxfunc.C:
5456         * lyxtext.h:
5457         * text.C:
5458         * text2.C:
5459         * text3.C:
5460         * text_funcs.[Ch]:
5461         * textcursor.[Ch]:
5462         * undo_funcs.C: adjust
5463
5464 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * text2.C (incrementItemDepth): new function, use a backtracking
5467         algorithm to discover the correct item depth.
5468         (resetEnumCounterIfNeeded): new function, use a backtracking
5469         algorithm to discover if counter reset is needed.
5470         (setCounter): use them. Simplify a bit. Add different labels for
5471         different item depths for itemize.
5472
5473         * paragraph.C (Paragraph): remove initialization of enumdepth
5474         (operator=): ditto
5475
5476         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5477         enumerate and itemize. Change the type of itemdepth to signed char.
5478
5479 2003-10-08  André Pönitz  <poenitz@gmx.net>
5480
5481         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5482           thing assignable.
5483         * text.C:
5484         * text2.C: adjust
5485
5486         * tabular.[Ch]: fix crash after 'row-insert'
5487
5488 2003-10-08  Angus Leeming  <leeming@lyx.org>
5489
5490         Fix doxygen warnings.
5491
5492         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5493         Remove CutAndPaste:: prefix from header file declaration.
5494
5495         * LColor.h (fill): remove LColor:: prefix from declaration.
5496
5497         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5498         use lyx::depth_type rather than Paragraph::depth_type so that
5499         header file and .C file match.
5500
5501         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5502
5503         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5504         * aspell.C: \file aspell_local.C -> \file aspell.C
5505         * gettext.C: \file gettext.C -> \file src/gettext.C
5506         * gettext.h: \file gettext.h -> \file src/gettext.h
5507         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5508         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5509         * text.C: \file text.C -> \file src/text.C
5510
5511         * toc.C: move comment so that doxygen is not confused.
5512
5513 2003-10-07  Angus Leeming  <leeming@lyx.org>
5514
5515         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5516
5517 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5518
5519         * aspell.C:
5520         * aspell_local.h: add forgotten std::string's.
5521
5522 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5523
5524         * LaTeXFeatures.C:
5525         * LyXAction.C:
5526         * factory.C:
5527         * lfuns.h:
5528         * lyxfunc.C:
5529         * text3.C: The Box patch. Fancybox support, minipage, parbox
5530
5531 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5532
5533         * CutAndPaste.h:
5534         * DepTable.h:
5535         * FloatList.h:
5536         * LaTeXFeatures.h:
5537         * ParagraphParameters.h:
5538         * TextCache.h:
5539         * Thesaurus.h:
5540         * bufferlist.h:
5541         * exporter.h:
5542         * importer.h:
5543         * lastfiles.h:
5544         * lyxfind.h:
5545         * lyxfont.h:
5546         * lyxlex.h:
5547         * lyxtextclasslist.h:
5548         * messages.h:
5549         * paragraph.h:
5550         * paragraph_pimpl.C:
5551         * textcursor.h: add <string> and other small fixes to make Lars'
5552         std::string patch compile with STLport.
5553
5554 2003-10-06  Angus Leeming  <leeming@lyx.org>
5555
5556         * LColor.h: Add missing #include <string>.
5557
5558 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * All most all file in all subdirs: Make <string> be the prefered
5561         way of getting to std::string, add using declarations.
5562
5563 2003-10-06  André Pönitz  <poenitz@gmx.net>
5564
5565         * metricsinfo.C: initialize LyXFont before changing attribute.
5566         (fixes the 'math in \emph is upright' bug)
5567
5568 2003-10-06  André Pönitz  <poenitz@gmx.net>
5569
5570         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5571
5572 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5573
5574         * graph.C:
5575         * paragraph_pimpl.C: Small fixes to build using STLport
5576
5577 2003-10-02  André Pönitz  <poenitz@gmx.net>
5578
5579         * lyxfunc.C:
5580         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5581
5582 2003-10-01  André Pönitz  <poenitz@gmx.net>
5583
5584         * factory.C: assert early
5585
5586 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5587
5588         * lyx_main.C: remove the global debug object
5589
5590         * debug.h: adjust for new debugstream
5591
5592         * debug.C: adjust for new debugstream and keep the global debug
5593         object here.
5594
5595 2003-09-22  Angus Leeming  <leeming@lyx.org>
5596
5597         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5598         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5599         an incomplete class LyXFont.
5600
5601 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5602
5603         * factory.C: bug fix in branches
5604
5605 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5606
5607         * lyxfunc.C (processKeySym): adjust
5608         (dispatch): adjust
5609         (dispatch): change arg name from ev to func, adjust
5610         (sendDispatchMessage): ditto
5611
5612         * lyx_main.C (defaultKeyBindings): adjust keybindings
5613         (deadKeyBindings): ditto
5614
5615         * kbsequence.C (addkey): return a FuncRequest
5616
5617         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5618
5619         * kbmap.C (bind): take a FuncRequest as arg, adjust
5620         (read): adjust
5621         (lookup): adjust
5622         (defkey): change to take a FuncRequest as arg, adjust
5623         (findbinding): take a FuncRequest as arg, adjust.
5624
5625         * funcrequest.h (operator=): added
5626
5627         * funcrequest.C (FuncRequest): default kb_action changed from
5628         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5629
5630         * buffer.C (dispatch): simplify
5631         (dispatch): adjust to take a FuncRequest as arg, adjust
5632
5633         * boost.C (assertion_failed): change assertion message slightly
5634
5635         * ToolbarBackend.C (read): simplify
5636
5637         * MenuBackend.C (binding): adjust call to findbinding, add a
5638         message if no binding is found.
5639         (read): simplify
5640         (expandToc): correct by adding a empty FuncRequest
5641
5642         * LyXAction.C: include <boost/assert.hpp>
5643         (isPseudoAction): delete function
5644         (LookupFunc): change name to...
5645         (lookupFunc): this. change return type to FuncRequest.
5646         (getActionName): take kb_action as arg, simplify
5647         (funcHasFlag): add an assert, simplify.
5648
5649 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * toc.C (action): return a FuncRequest, simplify
5652
5653         * lyxfunc.C (processKeySym): adjust
5654         (getStatus): delete version that takes an int.
5655         (getStatus): adjust
5656         (dispatch): delete version that takes action as int
5657         (dispatch): adjust
5658         (sendDispatchMessage): simplify and adjust
5659
5660         * funcrequest.C (getArg): take unsigned int as arg
5661
5662         * ToolbarBackend.C (read): adjust
5663         (add): delete version that takes func as a string.
5664         (getIton): take a FuncRequest as arg
5665
5666         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5667         action.
5668
5669         * MenuBackend.C (MenuItem): add a new construct that only takes a
5670         Kind, simplify the constructor use for submenus.
5671         (add): adjust
5672         (expandLastfiles): adjust
5673         (expandDocuments): adjust
5674         (expandFormats): adjust
5675         (expandFloatListInsert): adjust
5676         (expandFloatInsert): adjust
5677         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5678
5679         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5680         Remove class variables lyx_pseudo_map and lyx_arg_map
5681
5682         * LyXAction.C (searchActionArg): delete function
5683         (getPseudoAction): delete function
5684         (retrieveActionArg): delete function
5685         (LookupFunc): make it return kb_action, simplify.
5686         (getActionName): simplify
5687
5688         * factory.C (createInset): fix new bug
5689
5690 2003-09-19  Angus Leeming  <leeming@lyx.org>
5691
5692         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5693         masterFilename_ parameter in the include inset.
5694
5695         * factory.C (createInset): changes due to the changes to InsetInclude.
5696
5697 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5698
5699         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5700
5701 2003-09-18  Angus Leeming  <leeming@lyx.org>
5702
5703         * buffer.C:
5704         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5705         Inset::fillWithBibKeys.
5706         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5707
5708 2003-09-18  Angus Leeming  <leeming@lyx.org>
5709
5710         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5711         variables.
5712         (ctor): pass and store a 'Buffer const &'
5713         (buffer): new member function.
5714
5715         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5716         '*this' to the LaTeXFeatures ctor.
5717
5718 2003-09-18  Angus Leeming  <leeming@lyx.org>
5719
5720         * LColor.h:
5721         * lyxfont.C:
5722         * lyxfont.h:
5723         * lyxtext.h:
5724         * text.C: rename EnumLColor as LColor_color.
5725
5726 2003-09-18  Angus Leeming  <leeming@lyx.org>
5727
5728         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5729         remove #include "insets/insetbase.h" from cursor.h.
5730
5731 2003-09-18  Angus Leeming  <leeming@lyx.org>
5732
5733         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5734         InsetOld_code to remove #include "inset.h".
5735
5736         * iterators.C: add #include "insets/inset.h"
5737
5738 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5739
5740         * BufferView.C: remove more locking stuff that apparently doesn't
5741         do anything sensible.
5742
5743 2003-09-16  André Pönitz  <poenitz@gmx.net>
5744
5745         * paragraph.[Ch]:
5746         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5747           performance boost.
5748
5749 2003-09-16  Angus Leeming  <leeming@lyx.org>
5750
5751         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5752
5753         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5754         arg/return type.
5755
5756         * paragraph.h: remove #include "lyxfont.h". Forward declare
5757         LyXFont_size.
5758
5759 2003-09-16  Angus Leeming  <leeming@lyx.org>
5760
5761         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5762         of support/textutils.h.
5763         (isWord): move the contents of support/textutils.h's IsWordChar here.
5764
5765         * buffer.C:
5766         * lyxfind.C:
5767         * rowpainter.C:
5768         * text.C:
5769         * text2.C: add #include "paragraph.h".
5770
5771         * rowpainter.C:
5772         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5773
5774 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5775
5776         * main.C:
5777         * lyx_main.C:
5778         * lyx_cb.C:
5779         * buffer.C:
5780         * LaTeX.C: use namespace alias for lyx::support::os
5781
5782 2003-09-16  Angus Leeming  <leeming@lyx.org>
5783
5784         * bufferparams.C:
5785         * bufferview_funcs.C:
5786         * factory.C:
5787         * lyxfunc.C:
5788         * paragraph_pimpl.C:
5789         * rowpainter.C:
5790         * text.C: add #include "LColor.h".
5791
5792 2003-09-16  Angus Leeming  <leeming@lyx.org>
5793
5794         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5795         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5796         return LyXFont &.
5797         Store the FontBits::color variable as an int rather than as an
5798         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5799         file.
5800
5801         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5802         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5803         string calls together.
5804
5805         * lyxrc.C: add #include "LColor.h".
5806
5807 2003-09-15  Angus Leeming  <leeming@lyx.org>
5808
5809         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5810         a cow_ptr.
5811
5812 2003-09-15  Angus Leeming  <leeming@lyx.org>
5813
5814         * LColor.h: add an EnumLColor wrapper for LColor::color.
5815
5816         * lyxfont.[Ch] (color, setColor, realColor):
5817         * lyxtext.h, text.C (backgroundColor):
5818         pass EnumLColor args to/from the functions, rather than LColor::color
5819         ones.
5820
5821         * lyxfont.h:
5822         * lyxtext.h: forward declare EnumLColor.
5823
5824         * lyx_main.C: add #include "LColor.h".
5825
5826 2003-09-15  Angus Leeming  <leeming@lyx.org>
5827
5828         * .cvsignore: add lyx-gtk.
5829
5830 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * Chktex.C
5833         * LaTeX.C
5834         * LaTeXFeatures.C
5835         * ParagraphParameters.C
5836         * Spacing.C
5837         * buffer.C
5838         * bufferparams.C
5839         * bufferview_funcs.C
5840         * chset.C
5841         * counters.C
5842         * funcrequest.C
5843         * lyxfont.C
5844         * lyxgluelength.C
5845         * lyxlength.C
5846         * paragraph.C
5847         * paragraph_funcs.C
5848         * text3.C
5849         * vc-backend.C: remove usage of STRCONV
5850
5851 2003-09-15  Angus Leeming  <leeming@lyx.org>
5852
5853         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5854         explicitly define the color passed to the painter.
5855
5856 2003-09-15  Angus Leeming  <leeming@lyx.org>
5857
5858         * bufferparams.C (BufferParams): reorder member initializers to avoid
5859         compiler warning.
5860
5861 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5862
5863         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5864         * text.C (updateRowPositions): remove an unusual nop
5865
5866 2003-09-12  André Pönitz  <poenitz@gmx.net>
5867
5868         * BufferView_pimpl.C:
5869         * Bullet.C:
5870         * layout.h:
5871         * lyxfunc.C:
5872         * lyxlayout.[Ch]:
5873         * lyxtextclass.C:
5874         * rowpainter.C:
5875         * text.C:
5876         * text2.C:
5877         * Counters.[Ch]: finish the 'automatic counters' job
5878
5879 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5880
5881         * aspell.C: include <boost/assert.cpp> (compile fix)
5882
5883 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5884
5885         * boost.C (assertion_failed): use lyx::support::abort instead of
5886         assert.
5887
5888 2003-09-10  Angus Leeming  <leeming@lyx.org>
5889
5890         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5891         with their _fwd progeny.
5892
5893 2003-09-09  Angus Leeming  <leeming@lyx.org>
5894
5895         134 files throughtout the source tree: replace 'using namespace abc;'
5896         directives with the appropriate 'using abc::xyz;' declarations.
5897
5898 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5899
5900         * boost.C (emergencyCleanup): moved here from LAssert.c
5901         (assertion_failed): new function, called by BOOST_ASSERT
5902
5903         * several files: change Assert to BOOST_ASSERT
5904
5905 2003-09-09  Angus Leeming  <leeming@lyx.org>
5906
5907         * buffer.[Ch]: Add an Impl class and move Buffer's member
5908         variables into it. As a result move several header files out of
5909         buffer.h.
5910
5911         Add header files to lots of .C files all over the tree as a result.
5912
5913 2003-09-09  Angus Leeming  <leeming@lyx.org>
5914
5915         * buffer.[Ch]: make Buffer's member variables private. Add
5916         accessor functions.
5917
5918         Lots of changes all over the tree as a result.
5919
5920 2003-09-08  Angus Leeming  <leeming@lyx.org>
5921
5922         * graph.C: #include <config.h>.
5923
5924 2003-09-08  Angus Leeming  <leeming@lyx.org>
5925
5926         * BranchList.C:
5927         * BufferView.C:
5928         * BufferView_pimpl.C:
5929         * CutAndPaste.C:
5930         * DepTable.C:
5931         * LaTeX.C:
5932         * LaTeXFeatures.C:
5933         * LyXAction.C:
5934         * MenuBackend.C:
5935         * TextCache.C:
5936         * aspell.C:
5937         * buffer.C:
5938         * bufferlist.C:
5939         * changes.C:
5940         * chset.C:
5941         * converter.C:
5942         * counters.C:
5943         * debug.C:
5944         * graph.C:
5945         * ispell.C:
5946         * lyx_cb.C:
5947         * lyxfind.C:
5948         * lyxfunc.C:
5949         * lyxlex_pimpl.C:
5950         * lyxrc.C:
5951         * lyxrow.C:
5952         * paragraph.C:
5953         * rowpainter.C:
5954         * texrow.C:
5955         * text.C:
5956         * text2.C:
5957         * toc.C: remove redundant using directives.
5958
5959 2003-09-07  Angus Leeming  <leeming@lyx.org>
5960
5961         * LaTeXFeatures.h: remove #include "support/types.h".
5962         * ToolbarBackend.h: remove #include <algorithm>.
5963         * changes.h: remove #include <ctime>.
5964         * debug.h: remove #include <iosfwd>.
5965         * graph.h: remove #include "support/std_string.h".
5966         * lyx_main.h: remove #include <csignal>.
5967         * lyxlex_pimpl.h: remove #include <fstream>.
5968         * sgml.h: remove #include <algorithm>, <utility>.
5969         * toc.h: remove #include "support/std_ostream.h".
5970         Add #include <iosfwd>.
5971
5972 2003-09-07  Angus Leeming  <leeming@lyx.org>
5973
5974         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5975
5976         * converter.h: forward declare LatexRunParams.
5977         * encoding.h: remove #include "lyxrc.h".
5978         * lyxtext.h: remove #include "LColor.h".
5979         * lyxtextclass.h: remove #include "support/types.h".
5980         * trans.h: remove #include "tex-accent.h".
5981         * trans_mgr.h: remove #include "tex-accent.h".
5982         * insets/inset.h: remove #include "support/types.h", <vector>.
5983         * insets/insetcollapsable.h: remove #include "LColor.h".
5984         * insets/insetinclude.h: remove #include "dimension.h".
5985         * insets/insetlatexaccent.h: remove #include "dimension.h".
5986         * insets/insetoptarg.h:: remove #include "insettext.h".
5987         * insets/insettext.h: remove #include "dimension.h",
5988         <boost/shared_ptr.hpp>
5989
5990         * insets/renderers.h: add #include "dimension.h".
5991         * insets/updatableinset.h: add #include "support/types.h".
5992
5993         * many .C files: Associated changes.
5994
5995 2003-09-06  Angus Leeming  <leeming@lyx.org>
5996
5997         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5998         one, inside testInvariant.
5999
6000         * PrinterParams.C: new file.
6001         * PrinterParams.[Ch]: move the function bodies out of line.
6002
6003 2003-09-06  Angus Leeming  <leeming@lyx.org>
6004
6005         * ParagraphParameters.h: forward declare ParameterStruct rather than
6006         including its header file.
6007         (depth): moved out-of-line.
6008
6009 2003-09-06  Angus Leeming  <leeming@lyx.org>
6010
6011         * BufferView_pimpl.h:
6012         * kbmap.h:
6013         * kbsequence.h:
6014         * lyxfunc.h: forward declare LyXKeySym rather than
6015         #include "frontends/LyXKeySym.h".
6016
6017         * BufferView_pimpl.C:
6018         * kbmap.C:
6019         * kbsequence.C:
6020         * lyxfunc.C: associated changes.
6021
6022 2003-09-06  Angus Leeming  <leeming@lyx.org>
6023
6024         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6025         As a result, can remove the #include "insets/inset.h" from BufferView.h
6026
6027 2003-09-06  Angus Leeming  <leeming@lyx.org>
6028
6029         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6030         As a result, can remove the #include "insets/inset.h" from BufferView.h
6031
6032 2003-09-06  Angus Leeming  <leeming@lyx.org>
6033
6034         * buffer_funcs.C:
6035         * buffer.h:
6036         * bufferlist.C:
6037         * BufferView.C:
6038         * bufferview_funcs.C:
6039         * BufferView_pimpl.C:
6040         * CutAndPaste.C:
6041         * lyx_cb.C:
6042         * lyxfunc.C:
6043         * paragraph.h:
6044         * ParagraphParameters.C:
6045         * tabular.C:
6046         * text3.C:
6047         * toc.C:
6048         * undo_funcs.C:
6049         * frontends/controllers/ControlDocument.C:
6050         * insets/insetcaption.C: rearrange the #includes into some sort of
6051         coherent order.
6052
6053         * buffer.h: remove #includes ErrorList.h, undo.h
6054
6055 2003-09-06  Angus Leeming  <leeming@lyx.org>
6056
6057         * support/types.h: add a 'depth_type' typedef, used to store the
6058         nesting depth of a paragraph.
6059
6060         * paragraph.h:
6061         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6062         defining explicitly.
6063
6064         * buffer.h:
6065         * paragraph_funcs.h:
6066         * ParagraphParameters.h:
6067         * sgml.h: use lyx::depth_type rather than Paragraph or
6068         ParameterStruct's depth_type.
6069
6070         * buffer.h
6071         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6072
6073         * BufferView.C:
6074         * BufferView_pimpl.C:
6075         * CutAndPaste.C:
6076         * ParagraphParameters.C:
6077         * buffer_funcs.C:
6078         * bufferlist.C:
6079         * bufferview_funcs.C:
6080         * lyx_cb.C:
6081         * lyxfunc.C:
6082         * tabular.C:
6083         * text3.C:
6084         * toc.C:
6085         * undo_funcs.C:
6086         * frontends/LyXView.C:
6087         * frontends/controllers/ControlDocument.C:
6088         * frontends/controllers/ControlErrorList.C:
6089         * insets/insetbibitem.C:
6090         * insets/insetbranch.C:
6091         * insets/insetcaption.C:
6092         * insets/insetcollapsable.C:
6093         * insets/insetenv.C:
6094         * insets/insetert.C:
6095         * insets/insetfloat.C:
6096         * insets/insetfoot.C:
6097         * insets/insetfootlike.C:
6098         * insets/insetnewline.C:
6099         * insets/insetquotes.C:
6100         * insets/insettabular.C:
6101         * insets/insettext.C:
6102         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6103
6104         * frontends/controllers/ControlChanges.C: #include "changes.h".
6105
6106 2003-09-06  Angus Leeming  <leeming@lyx.org>
6107
6108         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6109         than #including paragraph.h.
6110
6111         * ParagraphList.h:
6112         * RowList.h: deleted. Superfluous.
6113
6114         * CutAndPaste.h:
6115         * iterators.h:
6116         * lyxcursor.h:
6117         * lyxtext.h:
6118         * text_funcs.h:
6119         * undo.h:
6120         * undo_funcs.h:
6121         * insets/inset.h:
6122         * insets/insettext.h: use ParagraphList_fwd.h rather than
6123         ParagraphList.h.
6124
6125         * paragraph.h: don't forward declare ParagraphList.
6126
6127         * buffer.h:
6128         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6129         rather than ParagraphList.h. paragraph.h is still needed for the
6130         Paragraph::depth_type parameters.
6131
6132         * textcursor.h: enable it to compile stand-alone in light of the
6133         above changes.
6134
6135         * bufferview_funcs.C:
6136         * iterators.C:
6137         * lyxfunc.C:
6138         * lyxrow_funcs.C:
6139         * paragraph.C:
6140         * rowpainter.C:
6141         * text.C:
6142         * text2.C:
6143         * text3.C:
6144         * text_funcs.C:
6145         * textcursor.C:
6146         * undo.C:
6147         * frontends/controllers/ControlParagraph.C:
6148         * frontends/controllers/ControlTabular.C:
6149         * insets/insetmarginal.C:
6150         * insets/insetminipage.C:
6151         * insets/insetnote.C:
6152         * insets/insetoptarg.C: add header files needed to compile again.
6153
6154 2003-09-06  Angus Leeming  <leeming@lyx.org>
6155
6156         * RowList_fwd.h: new file, forward-declaring Row rather than
6157         #including lyxrow.h.
6158
6159         * lyxrow_funcs.h:
6160         * lyxtext.h:
6161         * paragraph.h:
6162         * insets/insettext.h: use it instead of RowList.h
6163
6164         * bufferview_funcs.C:
6165         * lyxfunc.C:
6166         * lyxrow_funcs.C:
6167         * paragraph.C:
6168         * rowpainter.C:
6169         * text.C:
6170         * text2.C:
6171         * text3.C: #include "RowList.h".
6172
6173 2003-09-05  Angus Leeming  <leeming@lyx.org>
6174
6175         * factory.C (createInset):
6176         * vspace.C (c-tor): replace sscanf call with an istringstream.
6177         * ispell.C: re-add missing HP/UX headers.
6178         * lyxserver.C: re-add missing  os2 headers.
6179
6180 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6181
6182         * BranchList.C:
6183         * graph.C:
6184         * ispell.C:
6185         * lastfiles.C:
6186         * lyx_cb.C:
6187         * lyxserver.C:
6188         * texrow.C:
6189         * text3.C: re-add missing system headers, needed for 2.95.2.
6190
6191 2003-09-05  Angus Leeming  <leeming@lyx.org>
6192
6193         Changes most place everywhere due to the removal of using directives
6194         from support/std_sstream.h.
6195
6196 2003-09-05  Angus Leeming  <leeming@lyx.org>
6197
6198         Replace LString.h with support/std_string.h,
6199         Lsstream.h with support/std_sstream.h,
6200         support/LIstream.h with support/std_istream.h,
6201         support/LOstream.h with support/std_ostream.h.
6202
6203         Changes resulting throughout the tree.
6204
6205 2003-09-05  Angus Leeming  <leeming@lyx.org>
6206
6207         * sgml.h: ensure that the header file can be compiled stand-alone.
6208         * *.C: strip out redundant #includes. (320 in total.)
6209
6210 2003-09-04  Angus Leeming  <leeming@lyx.org>
6211
6212         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6213         here (from getPackages).
6214
6215         * debug.[Ch]: add a new EXTERNAL tag.
6216
6217 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6218
6219         * text2.C (cursorEnd): simplify
6220         (setCursor): adjust
6221         (getColumnNearX): adjust
6222
6223         * text.C (computeBidiTables): adjust
6224         (fill): adjust
6225
6226         * rowpainter.C (paintChars): adjust
6227         (paintSelection): adjust
6228         (paintChangeBar): adjust
6229         (paintText): adjust
6230
6231         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6232         lastPos instead.
6233         (numberOfSeparators): adjust
6234
6235 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6236
6237         * LyXAction.C:
6238         * box.[Ch]:
6239         * lfuns.h:
6240         * lyxfunc.C:
6241         * text3.C: Restricts the mouse click functionality
6242         of insets like bibtex, include, toc and floatlist to the visible
6243         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6244         up the dialogs. Cursor has to be in front of the inset (i.e.
6245         start of row) for this to function.
6246
6247 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6248
6249         * bufferview_funcs.C (currentState): output row information
6250
6251 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6252
6253         * bufferview_funcs.C (currentState): output paragraph position
6254
6255 2003-09-04  Angus Leeming  <leeming@lyx.org>
6256
6257         * FloatList.h: move out #include "Floating.h".
6258         * LaTeX.h: move out #include "DepTable.h".
6259         * LyXAction.h: move out #include "funcrequest.h".
6260         * buffer.h: move out #include "author.h", "iterators.h".
6261         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6262         * lyx_main.h: move out #include "errorlist.h".
6263         * lyxfunc.h: move out #include "FuncStatus.h".
6264         * lyxtext: move out #include "lyxcursor.h".
6265         * paragraph_pimpl.h: move out #include "counters.h".
6266
6267 2003-09-03  Angus Leeming  <leeming@lyx.org>
6268
6269         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6270         preamble_snippets list, enabling us to add snippets to the preamble
6271         only if the snippet was not there already.
6272
6273 2003-09-04  Angus Leeming  <leeming@lyx.org>
6274
6275         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6276
6277 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6278
6279         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6280         update
6281
6282 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6283
6284         * BranchList.C: point fix, earlier forgotten
6285
6286 2003-09-02  Angus Leeming  <leeming@lyx.org>
6287
6288         * box.C (contains): renamed from 'contained' after a fantastic
6289         amount of hot air.
6290
6291 2003-09-02  John Levon  <levon@movementarian.org>
6292
6293         * BufferView.C:
6294         * lyxcursor.h:
6295         * lyxcursor.C:
6296         * lyxfunc.C:
6297         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6298
6299 2003-09-02  John Levon  <levon@movementarian.org>
6300
6301         * text2.C: simplification of cursorEnd(), including partial
6302         fix for bug 1376
6303
6304 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * buffer.C (readFile): add a space
6307
6308 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6309
6310         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6311
6312 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6313
6314         * buffer.C (readFile): new function, take a filename and a
6315         ParagraphList::iterator
6316         (readFile): adjust
6317         (readFile): adjust, make it private. don't use setStream, make
6318         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6319         always contain the filename.
6320
6321         * BufferView.C (insertLyXFile): simplify and make it work for
6322         gzipped files.
6323
6324 2003-08-30  John Levon  <levon@movementarian.org>
6325
6326         * Makefile.am: fix dist (from Kayvan)
6327
6328 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * most files: change to use const Buffer refs
6331
6332 2003-08-27  André Pönitz  <poenitz@gmx.net>
6333
6334         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6335         on top of ownerPar().
6336
6337 2003-08-27  John Levon  <levon@movementarian.org>
6338
6339         * funcrequest.C: properly initialise POD members
6340
6341 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6342
6343         * lyxtext.h (top_y): move top_y from here
6344         * text.C:
6345         * text2.C:
6346         * text3.C:
6347         * BufferView.[Ch]:
6348         * BufferView_pimpl.[Ch]: to here
6349         * frontends/screen.C:
6350         * insets/insettabular.C:
6351         * insets/insettext.C: adjust
6352         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6353
6354 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6355
6356         * BufferView.[Ch]:
6357         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6358
6359 2003-08-26  André Pönitz  <poenitz@gmx.net>
6360
6361         * paragraph_func.[Ch] (outerPar): new function
6362
6363         * paragraph.C:
6364         * paragraph_funcs.C:
6365         * paragraph_funcs.h:
6366         * paragraph_pimpl.C:
6367         * text2.C: remove Inset::par_owner
6368
6369 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6370
6371         * lyxrow_funcs.C:
6372         * lyxtext.h:
6373         * text.C:
6374         * text2.C: eliminates the needFullRow/display() stuff
6375         altogether, putting the logic in metrics/draw in the insets.
6376
6377 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6378
6379         * text2.C (redoParagraphInternal, redoParagraphs):
6380         * text.C (redoParagraph): add a call to updateRowPositions at the
6381         end of each 'metrics-like' call. Remove all others.
6382         (getRow): remove the 'y-computing' version.
6383         (getRowNearY): do not compute nor return the real y. Solve the
6384         'y < 0' problem and simplify.
6385
6386 2003-08-22  Angus Leeming  <leeming@lyx.org>
6387
6388         * *.[Ch]: clean-up of licence and author blurbs.
6389         Also move config.h out of a few .h files and into a few .C files.
6390
6391 2003-08-22  André Pönitz  <poenitz@gmx.net>
6392
6393         * lyxrow.[Ch]: add x_ and *fill_ members
6394
6395         * lyxtext.h:
6396         * text.C:
6397         * rowpainter.C:
6398         * text2.C: adjust/remove prepareToPrint() calls
6399
6400 2003-08-22  André Pönitz  <poenitz@gmx.net>
6401
6402         * lyxrow.[Ch]: add  end_ member
6403
6404         * lyxrow_funcs.C: use LyXRow::end_
6405
6406         * lyxtext.h (singleWidth): add LyXFont parameter
6407
6408         * rowpainter.C:
6409         * text2.C: adjust LyXText::singleWidth() calls
6410
6411         * text.C (redoParagraph): simplify row breaking logic
6412
6413
6414 2003-08-19  André Pönitz  <poenitz@gmx.net>
6415
6416         * funcrequest.C: initialize button_ member
6417
6418         * text3.C:
6419         * rowpainter.[Ch]: interface consolidation
6420
6421 2003-08-18  André Pönitz  <poenitz@gmx.net>
6422
6423         * BufferView.C:
6424         * BufferView_pimpl.C:
6425         * lyxfind.C:
6426         * paragraph_funcs.C:
6427         * rowpainter.C:
6428         * text3.C: remove LyXScreen::draw() and fitCursor calls
6429
6430         * BranchList.h: remove spurious semicolons
6431
6432         * MenuBackend.C: fix branchlist related crash
6433
6434 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6435
6436         * BranchList.[Ch]:
6437         * InsetList.[Ch]:
6438         * LColor.[Ch]:
6439         * LyXAction.C:
6440         * Makefile.am:
6441         * MenuBackend.[Ch]:
6442         * bufferparams.[Ch]:
6443         * factory.C:
6444         * lfuns.h:
6445         * lyxfunc.C:
6446         * text3.C: implements the 'branch inset'
6447         idea. This allows the output of various versions of a document
6448         from a single source version, selectively outputing or suppressing
6449         output of parts of the text.
6450         This implementation contains a 'branch list editor' in a separate
6451         tab of the document settings dialog. Branches are user definable
6452         and have a "display colour" to distinguish them on-screen.
6453
6454         ColorHandler was somewhat cleaned up.
6455         (1) make possible a dynamically growing LColor list by allowing
6456         the graphic context cache to grow along (vector);
6457         (2) eliminate an IMHO unnecessary step in colour allocation.
6458
6459 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6460
6461         * BufferView_pimpl.C: compile fix
6462
6463 2003-08-15  André Pönitz  <poenitz@gmx.net>
6464
6465         * rowpainter.C: remove extra metrics calls
6466
6467         * lyxtext.h: merge the two constructors into a single one,
6468           pass reference to owner's par list
6469
6470         * BufferView_pimpl.C:
6471         * text.C:
6472         * text2.C: adjust
6473
6474 2003-08-15  André Pönitz  <poenitz@gmx.net>
6475
6476         * lyxrow_funcs.[Ch]:
6477         * lyxtext.h:
6478         * paragraph.h:
6479         * paragraph_funcs.C:
6480         * rowpainter.C:
6481         * text.C:
6482         * text2.C:
6483         * text3.C:
6484         * text_funcs.C: split LyXText::rowlist_ into individual
6485         Paragraph::rows_ chunks
6486
6487         * BufferView.[Ch]:
6488         * BufferView_pimpl.[Ch]:
6489         * lyxfind.C:
6490         * lyxtext.h:
6491         * text3.C: remove toggleSelection()
6492
6493 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6494
6495         * bufferlist.C: beautify two alerts (shorter text of buttons)
6496         * buffer.C: Remove redundant ' ' from message
6497         * tabular.h:
6498         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6499         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6500         rename VALIGN_CENTER to VALIGN_MIDDLE
6501
6502 2003-08-11  André Pönitz  <poenitz@gmx.net>
6503
6504         * lyxtext.h (getPar):
6505         * text.C: new function
6506
6507 2003-08-11  André Pönitz  <poenitz@gmx.net>
6508
6509         * Makefile.am:
6510         * tracer.[Ch]: remove unneeded files
6511
6512         * InsetList.[Ch]: remove resizeInsetsLyXText()
6513
6514         * lyxtext.h:
6515         * text.C:
6516         * text2.C:
6517         * text3.C: merge insertParagraphs() and appendParagraph()
6518         remove breakAgain(), update()
6519
6520         * BufferView_pimpl.[Ch]:
6521         * bufferview_funcs.[Ch]:
6522         * lyxfunc.C:
6523         * paragraph.[Ch]:
6524         * rowpainter.C:
6525         * tabular.C: adjust after text & InsetList changes.
6526
6527 2003-08-08  André Pönitz  <poenitz@gmx.net>
6528
6529         * text.C (insertChar, backspace): replace rowlist fiddling
6530         with rebreak of full par
6531
6532         * lyxtext.h:
6533         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6534         checkParagraph, updateInset): removed
6535
6536 2003-08-07  André Pönitz  <poenitz@gmx.net>
6537
6538         * paragraph.C:
6539         * text3.C: merge some LFUN handlers, remove dead code
6540
6541 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6542
6543         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6544
6545 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6546
6547         * text2.C (DEPM): fix part of bug 1255 and 1256
6548
6549 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6550
6551         * BufferView_pimpl.C (workAreaDispatch): change to use
6552         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6553         that are no mouse related.
6554
6555 2003-08-05  André Pönitz  <poenitz@gmx.net>
6556
6557         * BufferView.[Ch]:
6558         * BufferView_pimpl.[Ch]:
6559         * bufferview_funcs.C:
6560         * text2.C:
6561         * text3.C: rip out "deep update"
6562
6563         * textcursor.[Ch] (last_sel_cursor): remove unused member
6564
6565 2003-08-04  André Pönitz  <poenitz@gmx.net>
6566
6567         * BufferView.[Ch]:
6568         * BufferView_pimpl.[Ch]:
6569         * ParagraphParameters.C:
6570         * bufferview_funcs.C:
6571         * lyx_cb.C:
6572         * lyxfind.C:
6573         * lyxfunc.C:
6574         * text.C:
6575         * text2.C:
6576         * text3.C: replace "complicated" BufferView::update(...) calls with
6577         simpler ones.
6578
6579         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6580
6581 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6582
6583         * Makefile.am (lyx_SOURCES): add paper.h
6584
6585 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6586
6587         * Makefile.am: move things around so that both lyx-qt and
6588         lyx-xforms can be built (according to --with-frontend). Then lyx
6589         is a symbolic link to lyx-[firstfrontend]
6590
6591 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6592
6593         * Always use std::endl with lyxerr
6594
6595 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6596
6597         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6598
6599 2003-08-01  André Pönitz  <poenitz@gmx.net>
6600
6601         * BufferView.[Ch]:
6602         * BufferView_pimpl.[Ch]:
6603         * lyxfunc.C:
6604         * text3.C: merge BufferView::repaint() and BufferView::update()
6605
6606 2003-08-01  José Matos  <jamatos@lyx.org>
6607
6608         * buffer.[Ch]: file_format is no longer a buffer data element.
6609
6610 2003-08-01  André Pönitz  <poenitz@gmx.net>
6611
6612         * BufferView.C:
6613         * lyxtext.h:
6614         * text.C:
6615         * text2.C: make redoParagraph more independent of current cursor
6616
6617         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6618         * text.C:
6619         * text2.C: remove unneeded members
6620
6621 2003-07-30  André Pönitz  <poenitz@gmx.net>
6622
6623         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6624
6625         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6626           create a single function...
6627
6628         * paragraph_funcs.C (moveItem): ... here.
6629
6630         * text.C:
6631           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6632
6633 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6634
6635         * LColor.[Ch]: Add comment and greyedout logical colors.
6636
6637 2003-07-30  André Pönitz  <poenitz@gmx.net>
6638
6639         * tabular.C: don't use Assert too heavily. This crashes where it
6640           shouldn't
6641
6642 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6643
6644         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6645         is disabled (bug 1232)
6646
6647 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6648
6649         * factory.C: limited 'arg' scope
6650
6651 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6652
6653         * factory.C: fixed Note submenu issues
6654
6655 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6656
6657         * factory.C: submenu for Note/Comment/Greyedout
6658
6659 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6660
6661         * lyx_main.C (LyX):
6662         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6663
6664 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6665
6666         * LaTeXFeatures.C:
6667         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6668         greyedout. Patch provided by Jürgen Spitzmüller.
6669
6670 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6671
6672         * kbmap.C (read): fix error message when reading bind files
6673
6674 2003-07-29  Angus Leeming  <leeming@lyx.org>
6675
6676         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6677         certainly does not do what it purports to do. I am doing it, and
6678         us, a favour by killing it.
6679
6680 2003-07-28  José Matos  <jamatos@lyx.org>
6681
6682         * buffer.C (readBody, do_writeFile):
6683         * paragraph.C(readParagraph): \end_document replaces \the_end.
6684
6685 2003-07-29  André Pönitz  <poenitz@gmx.net>
6686
6687         * BufferView.[Ch]:
6688         * BufferView_pimpl.[Ch]:
6689         * lyxfunc.C:
6690         * text2.C:
6691         * text3.C:
6692         * textcursor.[Ch]: remove toggleToggle & Co
6693
6694 2003-07-28  José Matos  <jamatos@fep.up.pt>
6695
6696         * buffer.C (readParagraph):
6697         * params_func (readParToken, readParagraph):
6698         * paragraph.C (write): \layout -> \begin_layout.
6699
6700 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * lyxlex_pimpl.C (setFile): clean up slightly.
6703
6704         * bufferparams.h: add compressed var
6705
6706         * buffer_funcs.C (readFile): adjust for LyXLex change
6707         (newFile): ditto + simplify
6708
6709         * buffer.C (writeFile): handle writing of compressed files
6710
6711         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6712         Check if the file is compressed and set a bufferparm if so.
6713
6714         * Makefile.am (lyx_LDADD): remove explicit -lz
6715
6716 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6717
6718         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6719         makeDocBookFile): put the real LyX version in the first line of
6720         the file
6721
6722         * version.h:
6723         * version.C.in: remove lyx_docversion
6724
6725         * tabular.C (write_attribute): add a template-based version to
6726         write enums properly
6727
6728 2003-07-28  André Pönitz  <poenitz@gmx.net>
6729
6730         * lyxtext.h:
6731         * text.C:
6732         * text2.C:
6733         * text3.C: use doubles again for x-coordinates. They are needed.
6734
6735 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6736
6737         * messages.C (getLocaleDir): use lyx_localedir()
6738
6739         * lyxlex_pimpl.C (setFile): compress stuff
6740
6741         * buffer.C (writeFile): add some compression stuff
6742         (do_writeFile): new func, dont call expliti close... will this
6743         breake anything?
6744
6745         * Makefile.am (lyx_LDADD): add -lz
6746
6747 2003-07-28  José Matos  <jamatos@fep.up.pt>
6748
6749         * buffer.C: increment file format.
6750         * paragraph_funcs (readParagraph, readParToken):
6751         * paragraph.C (readParagraph): add \end_layout.
6752
6753 2003-07-27  Angus Leeming  <leeming@lyx.org>
6754
6755         * Makefile.am: remove special casing for configure-time setting of
6756         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6757
6758         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6759         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6760
6761 2003-07-26  André Pönitz  <poenitz@gmx.net>
6762
6763         * paragraph_func.[Ch]:
6764         * paragraph.C (realizeFont): inline it whereever it is used
6765
6766         * rowpainter.C:
6767         * text.C:
6768         * text2.C:
6769         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6770
6771
6772 2003-07-26  André Pönitz  <poenitz@gmx.net>
6773
6774         *       lyxtext.h:
6775         * text.C:
6776         * text2.C: get rid of LyXText::need_break_row
6777
6778 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6779
6780         * toc.[Ch]: put namespace toc inside namespace lyx
6781
6782         * MenuBackend.C (expandToc2): adjust for lyx::toc
6783         (expandToc): ditto
6784
6785         * lyxfunc.C (dispatch): adjust for lyx::find
6786
6787         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6788         lyx::find instead. Reorganize a bit.
6789         (LyXReplace): rename to replace
6790         (LyXFind): rename to find
6791
6792         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6793         (dispatch): ditto
6794
6795 2003-07-26  André Pönitz  <poenitz@gmx.net>
6796
6797         * text.C (setHeightOfRow): restrict scope of temporary variable
6798
6799         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6800           code (never has been used?)
6801
6802 2003-07-27  Asger Alstrup  <alstrup@local>
6803
6804         * text.C (fill): Optimise algorithm to exploit that we can reuse
6805         the LyXFont for many characters.
6806         (setHeightOfRow): Same thing.
6807         (rowBreakPoint): Same thing.
6808
6809 2003-07-26  Asger Alstrup  <alstrup@local>
6810
6811         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6812
6813         * text.C (singleWidth): Spurious font copying in hot-spot
6814         singleWidth avoided. Reorder tests for arabic for efficiency.
6815
6816         * text.C (fill): handle empty paragraphs better.
6817
6818 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6819
6820         * ispell.C:
6821         * encoding.h: add includes
6822
6823         * lyxrc.C: remove reading of bind files
6824
6825         * lyx_main.C (init): setup bindings and menus only if we have a
6826         gui.
6827
6828         * kbmap.C (read): new method. Do the actual reading of bind
6829         files.
6830
6831         * converter.C (dvipdfm_options):
6832         * bufferparams.C:
6833         * lyxrc.C (read):
6834         (output): adapt PAPER_* enums.
6835
6836         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6837
6838         * bufferparams.h: remove paper-related enums from there
6839
6840         * paper.h: New file. A trivial header file to hold paper-related
6841         enums. It should later expand to contain many paper-related
6842         horrors access.
6843
6844         * lyxrc.C: declare extern displayTranslator
6845
6846 2003-07-27  José Matos  <jamatos@fep.up.pt>
6847
6848         * tabular.[Ch] (linuxdoc): add support for tables and figures
6849         (linuxdoc).
6850
6851 2003-07-27  José Matos  <jamatos@fep.up.pt>
6852
6853         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6854         consistency in both functions.
6855         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6856
6857 2003-07-26  Asger Alstrup  <alstrup@local>
6858
6859         * rowpainter.C (paintRows): Change algorithm to work directly on
6860         the insets rather than asking every character in the document
6861         whether its an inset.
6862
6863 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6864
6865         * buffer.C (openFileWrite): factorize some code
6866
6867 2003-07-26  Angus Leeming  <leeming@lyx.org>
6868
6869         * lyx_cb.C:
6870         * lyx_main.[Ch]: replace occurances of system_tempdir with
6871         os::getTmpDir().
6872
6873 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * rename Inset to InsetOld
6876
6877 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6878
6879         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6880         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6881         which I think is a bit clearer. EDIT is gone, since it was
6882         premature optimisation, and broken for mathed anyway.
6883         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6884         with cursor positioning in insets as well (math insets still do not
6885         work, but that's a different story anyway.) It mysteriously
6886         crashes sometimes with undo in the first paragraph, but I'm fairly
6887         confident that this is a compiler bug.
6888
6889 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6890
6891         * paragraph.C (Paragraph): adjust for new clone return type
6892         (operator==): ditto
6893         (copyIntoMinibuffer): ditto
6894
6895 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6896
6897         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6898         by not having a special case, and always doing a full rebreak of
6899         the document after undo.
6900
6901 2003-07-23  Angus Leeming  <leeming@lyx.org>
6902
6903         * factory.C (createInset): InsetExternal::setParams now takes a
6904         Buffer const * arg.
6905
6906 2003-07-23  Angus Leeming  <leeming@lyx.org>
6907
6908         * factory.C (createInset): changed interface to the external and
6909         graphics mailers' string2params functions.
6910
6911 2003-07-23  Angus Leeming  <leeming@lyx.org>
6912
6913         * factory.C (createInset): pass a
6914         Buffer const * parameter to InsetExternalMailer's string2params.
6915
6916 2003-07-22  John Levon  <levon@movementarian.org>
6917
6918         * Thesaurus.h: include the right aiksaurus header
6919
6920 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6921
6922         * MenuBackend.C (expand): check menu shortcuts unconditionally
6923
6924 2003-07-21  Angus Leeming  <leeming@lyx.org>
6925
6926         * factory.C (createInset): pass a
6927         buffer_path parameter to InsetGraphicsMailer's string2params.
6928
6929 2003-07-21  Angus Leeming  <leeming@lyx.org>
6930
6931         * BufferView_pimpl.C (buffer):
6932         * buffer.C (d-tor):
6933         * lyx_main.C (LyX):
6934         * lyxfunc.C (dispatch):
6935         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6936         rather than the grfx shortcut.
6937
6938 2003-07-21  André Pönitz  <poenitz@gmx.net>
6939
6940         * rowpainter.C: remove unused variables
6941
6942         * tabular_funcs.C:
6943         * tabular_funcs.h: move to tabular.C
6944         * Makefile.am: adjust
6945
6946         * tabular.[Ch]: basic optical cleaning
6947
6948         * author.h: pass references, not values
6949
6950 2003-07-18  André Pönitz  <poenitz@gmx.net>
6951
6952         * lyxtext.h:
6953         * metricsinfo.C:
6954         * metricsinfo.h:
6955         * rowpainter.C:
6956         * text.C:
6957         * text2.C:
6958         * text3.C: two-phase drawing for InsetText and InsetTabular
6959         some float -> int changes.
6960
6961 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6962
6963         * lyx_main.C: fix the fix
6964
6965 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6966
6967         * lyx_main.C: fix a crash in batch mode if no files specified
6968         * converter.C: ws
6969
6970 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6971
6972         * format.[Ch] (papersize): moved to BufferParams
6973         * converter.[Ch] (dvips_options): moved to BufferParams
6974         (dvipdfm_options): moved to anon namespace
6975         * bufferparams.[Ch]: added above functions.
6976
6977 2003-07-17  André Pönitz  <poenitz@gmx.net>
6978
6979         * lyxtext.h:
6980         * rowpainter.C:
6981         * text2.C: don't call inset->update() anymore
6982
6983         * metricsinfo.[Ch]: add convenience constructor
6984
6985 2003-07-16  André Pönitz  <poenitz@gmx.net>
6986
6987         * lyxcursor.[Ch]:
6988         * lyxfunc.[Ch]:
6989         * text.C:
6990         * text2.C: replace the LyXCursor::irow_ member with
6991          on-demand computation of the value
6992
6993 2003-07-16  John Levon  <levon@movementarian.org>
6994
6995         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6996
6997 2003-07-15  André Pönitz  <poenitz@gmx.net>
6998
6999         * text.C:
7000         * text2.C: remove no more needed refresh_row
7001
7002 2003-07-15  André Pönitz  <poenitz@gmx.net>
7003
7004         * lyxtext.h:
7005         * rowpainter.C:
7006         * text2.C:
7007         * text3.C: refresh_status tristate -> need_update bool
7008
7009 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7010
7011         * lyxtext.h (init): remove reinit argument (act as if always true)
7012         * text2.C: adjust to that
7013
7014 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7015
7016         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7017         * text3.C: use it to delete selections in some cases
7018         (bugs 441, 673, 702, 954).
7019
7020 2003-07-14  André Pönitz  <poenitz@gmx.net>
7021
7022         * rowpainter.[Ch]: reduce interface
7023
7024 2003-07-14  André Pönitz  <poenitz@gmx.net>
7025
7026         * BufferView_pimpl.C:
7027         * text2.C: adjust after removing unused BufferView * argument
7028
7029 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7030
7031         * text2.C (init): fix a crash fired on resize
7032
7033 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7034
7035         * buffer.[Ch]: added new closing signal
7036         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7037         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7038         BufferView::Pimpl via the closing the signal
7039
7040 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7041
7042         * buffer.[Ch]: take out all bv-related from buffer
7043         * BufferView.C:
7044         * BufferView_pimpl.[Ch]: connect to new signals
7045         * CutAndPaste.C: removed useless asserts
7046         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7047         * lyxvc.[Ch]:
7048         * vc-backend.[Ch]:
7049         * lyxfunc.C: moved view-related funciontality from vc here
7050         * paragraph.C: removed outdated comments
7051         * text.C: ws
7052
7053 2003-07-10  André Pönitz  <poenitz@gmx.net>
7054
7055         * BufferView_pimpl.C:
7056         * tabular.h:
7057         * tabular_funcs.C:
7058         * text.C:
7059         * text2.C: remove InsetText::InnerCache, clean up consequences
7060
7061 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7062
7063         * ispell.C: fix two typos in error messages
7064
7065 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7066
7067         * Extend Note inset to other forms of annotation like Comment
7068         and Greyedout. Right button click gives dialog.
7069
7070         Files modified or added (+):
7071
7072         * insetnote.[Ch]
7073         * FormNote.[Ch]      +
7074         * ControlNote.[Ch]   +
7075         * form_note.fd       +
7076         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7077         frontends/controllers
7078         * xforms/Dialogs.C
7079         * factory.C
7080
7081 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7082
7083         * aspell.C: add missing namespace lyx::support
7084
7085 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7086
7087         * BufferView.[Ch] (newFile): Add
7088         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7089         * LaTeX.[Ch] (message): added this signal and use it
7090         * buffer.[Ch] (busy, message): added these signals and use them
7091         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7092         * converter.C:
7093         * exporter.C:
7094         * format.C:
7095         * importer.C: use buffer signals instead of direct bv calling
7096         * lyx_cb.[Ch] (ShowMessage): removed
7097         * lyx_main.C:
7098         * lyxfunc.C:
7099         * paragraph_funcs.C:
7100         * text2.C: use buffer signals
7101
7102 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7103
7104         * introduce namespace lyx::graphics
7105
7106 2003-07-02  André Pönitz  <poenitz@gmx.net>
7107
7108         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7109
7110 2003-07-01  André Pönitz  <poenitz@gmx.net>
7111
7112         * text.C:
7113         * text2.C:
7114         * text3.C:
7115         * text_funcs.[Ch]:
7116         * textcursor.h:
7117         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7118           text*.C to text_func.C
7119
7120 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7121
7122         * introduce namespace lyx::support
7123
7124 2003-06-30  André Pönitz  <poenitz@gmx.net>
7125
7126         * Chktex.C:
7127         * funcrequest.C:
7128         * lyxtext.h:
7129         * text.C: re-enable --with-included-string
7130
7131 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * textcursor.C: add <config.h>
7134
7135         * text.C (getWord): remove const from word_location arg
7136
7137         * lyxvc.C (getLogFile): fix const type order
7138
7139         * lyxtext.h: remove const from word_location arg, add arg name
7140
7141         * lyxlayout.h: currect type on labeltype.
7142
7143         * importer.C: correct \file
7144
7145         * converter.C (intToFormat): use std:: on ret val, ws changes
7146
7147         * bufferlist.h: correct \file
7148
7149         * buffer.C (makeLinuxDocFile): fix const type order
7150         (makeDocBookFile): ditto
7151         (fillWithBibKeys): use std:: on stdlib args.
7152
7153         * CutAndPaste.C: fix authors.
7154         (availableSelections): use std:: on return vector
7155
7156 2003-06-27  André Pönitz  <poenitz@gmx.net>
7157
7158         * BufferView_pimpl.C:
7159         * bufferview_funcs.C:
7160         * lyxcursor.C:
7161         * lyxcursor.h:
7162         * lyxfunc.C:
7163         * lyxtext.h:
7164         * rowpainter.C:
7165         * text.C:
7166         * text2.C:
7167         * text3.C: remove LyXCursor::row_ member
7168
7169         * lyxtext.h:
7170         * text.C: rename fullRebreak() to partialRebreak() and implement
7171           a fullRebreak() that really bereks fully
7172
7173         * textcursor.h: new struct for cursor-related data
7174
7175 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7176
7177         * lyx_main.C (LyX): get full path of document loaded on the
7178         command line
7179
7180 2003-06-26  André Pönitz  <poenitz@gmx.net>
7181
7182         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7183           remove unused/broken operator>,<,>=.
7184
7185         *       text.C: remove only use of broken operator<= in an Assert().
7186
7187 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7188
7189         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7190         moved errorlist_.clear to showErrorList
7191
7192 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7193
7194         * converter.C (scanLog, runLaTeX):
7195         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7196         move the bv->showErrorList call to the callers
7197         * lyxfunc.C: i.e. here...
7198         * text2.C: and here
7199         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7200         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7201         namespace, the second to...
7202         * buffer_funcs (BufferFormat, parseErrors): added
7203         * errorlist.C (ErrorList(TeXErrors const &)): removed
7204
7205 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7206
7207         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7208
7209 2003-06-24  "Garst R. Reese" <reese@isn.net>
7210
7211         * debug.C: fix typo
7212
7213 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7214
7215         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7216
7217         * version.C.in: change docversion to 1.4
7218
7219 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7220
7221         * buffer.C: fix a bug just introduced
7222
7223 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7224
7225         * buffer.[Ch]: added the parseError signal and use it, removed
7226         sgmlError
7227         * BufferView.[Ch] (addError): moved to ...
7228         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7229         to the Buffer::parseError signal to catch (guess what) parse errors
7230         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7231
7232 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7233
7234         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7235         ability to create a buffer and to return an existing one from
7236         the list. Moved these functions to...
7237         * buffer_funcs.[Ch]: added
7238         * BufferView.[Ch] (loadLyXFile): added
7239         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7240         job removed from bufferlist::loadLyXFile.
7241         * buffer.C (setReadOnly): make it work without view
7242         (i.e added an if (users))
7243
7244 2003-06-19  Angus Leeming  <leeming@lyx.org>
7245
7246         * lfuns.h:
7247         * LyXAction.C (init):
7248         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7249         with LFUN_DIALOG_SHOW <name> <data>.
7250
7251 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7252
7253         * CutAndPaste.C (availableSelections): small compilation fix for
7254         ancient (gcc 2.9x) compilers
7255
7256 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7257
7258         * text3.C (cursorNext): add tmp var
7259
7260         * text2.C (updateCounters): for function calling out of for clause
7261         (replaceSelectionWithString): ditto
7262         (insertStringAsParagraphs): ditto
7263         (getColumnNearX): add tmp var
7264         (setCursorFromCoordinates): add tmp var
7265         (cursorDownParagraph): add tmp var
7266         (deleteEmptyParagraphMechanism): add tmp var
7267
7268         * text.C (insertChar): add tmp var
7269
7270         * rowpainter.C (paintDepthBar): add tmp var
7271
7272         * CutAndPaste.C (availableSelections): potentially check all
7273         paragraphs in a cut to fill the shown strings.
7274
7275 2003-06-18  André Pönitz  <poenitz@gmx.net>
7276
7277         * kbmap.[Ch]: use vector<> instead of list<>
7278
7279 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7280
7281         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7282         pasteSelection with index
7283
7284         * text2.C (pasteSelection): modify, call pasteSelection with index
7285
7286         * paragraph.C (asString): reimplement version with no interval to
7287         call the one with interval.
7288
7289         * lyxtext.h: add index arg to pasteSelection
7290
7291         * MenuBackend.C (MenuItem): handle PasteRecent
7292         (Menu::read::Menutags): add md_pasterecent
7293         (read): handle it
7294         (expandPasteRecent): new function
7295         (expand): use it
7296
7297         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7298
7299         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7300         the limited stack
7301         (availableSelections): new function
7302
7303 2003-06-17  Angus Leeming  <leeming@lyx.org>
7304
7305         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7306
7307 2003-06-17  Angus Leeming  <leeming@lyx.org>
7308
7309         * lfuns.h:
7310         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7311
7312         * lyxfunc.C (dispatch): invoke it.
7313
7314 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7315
7316         * iterators.C (operator++, ParPosition): reintroduce some
7317         const_cast for the benefit of older compilers.
7318
7319 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7320
7321         * text3.C (dispatch): do not modify clipboard when doing
7322         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7323         LFUN_DELETE_SKIP on a selection selection
7324
7325 2003-06-16  André Pönitz  <poenitz@gmx.net>
7326
7327         * BufferView.C:
7328         * buffer.C:
7329         * buffer.h:
7330         * paragraph.C:
7331         * tabular.[Ch]: IU of clone() and getLabelList();
7332
7333 2003-06-13  André Pönitz  <poenitz@gmx.net>
7334
7335         * tabular.h: compactification
7336
7337 2003-06-12  André Pönitz  <poenitz@gmx.net>
7338
7339         * tabular.C:
7340         * tabular.h:
7341         * tabular_funcs.h: some renaming plus whitespace
7342
7343 2003-06-12  André Pönitz  <poenitz@gmx.net>
7344
7345         * BufferView.C:
7346         * BufferView_pimpl.C:
7347         * CutAndPaste.C:
7348         * buffer.C:
7349         * iterators.[Ch]:
7350         * lyxfunc.C:
7351         * text.C:
7352         * toc.C: Return a Paragraph & for ParIterator::operator*()
7353
7354 2003-06-11  John Levon  <levon@movementarian.org>
7355
7356         * lyx_main.C:
7357         * ToolbarBackend.h:
7358         * ToolbarBackend.C: add "Toolbars" section and
7359         put the flags there
7360
7361 2003-06-10  Angus Leeming  <leeming@lyx.org>
7362
7363         * lfuns.h:
7364         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7365
7366         * lyxfunc.C (dispatch): invoke it.
7367
7368 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7369
7370         * main.C: protect <ios> with HAVE_IOS
7371         (main): protect sync_with_stdio with HAVE_IOS
7372
7373 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7374
7375         * text2.C (cutSelection): adjust
7376         (pasteSelection): adjust
7377
7378         * messages.C: handle get of empty string
7379
7380         * main.C (main): use sync_with_stdio(false)
7381
7382         * lyxfunc.C (dispatch): adjust
7383
7384         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7385         (WriteAs): remove unneeded BufferView arg.
7386
7387         * bufferparams.h: use correct types on papersize, papersize2 and
7388         paperpackage.
7389
7390         * bufferparams.C (readToken): adjust for type
7391         (writeLaTeX): add missing cases to switch.
7392
7393         * bufferlist.C (quitWriteBuffer): adjust
7394         (close): adjust
7395
7396         * buffer.C (asciiParagraph): remove some commented code.
7397
7398         * CutAndPaste.C: remove current_view extern variable.
7399         (cutSelection): add BufferParams arg.
7400         (eraseSelection): add BufferParams arg.
7401         (pasteSelection): add Buffer const & arg
7402
7403 2003-06-07  John Levon  <levon@movementarian.org>
7404
7405         * buffer.C:
7406         * paragraph_funcs.C:
7407         * paragraph_pimpl.C:
7408         * text.C:
7409         * text2.C:
7410         * paragraph.h:
7411         * paragraph.C: allow InsetERT to freely space lines,
7412         and some consolidation of code
7413
7414 2003-06-06  José Matos  <jamatos@fep.up.pt>
7415
7416         * buffer.C (makeDocBookFile): fix bug #821
7417
7418 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7419
7420         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7421
7422 2003-06-04  Angus Leeming  <leeming@lyx.org>
7423
7424         * buffer.C: bump format to 224.
7425
7426 2003-06-05  André Pönitz  <poenitz@gmx.net>
7427
7428         * text2.C (redoParagraphs): remove two const_cast<>
7429
7430 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7431
7432         * ParagraphList.h: remove last remnants of NO_STD_LIST
7433
7434 2003-06-03  Angus Leeming  <leeming@lyx.org>
7435
7436         * factory.C (createInset): small change to the way InsetExternal's params
7437         are set.
7438
7439 2003-06-04  André Pönitz  <poenitz@gmx.net>
7440
7441         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7442
7443         * paragraph_pimpl.h:
7444         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7445
7446         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7447
7448         * undo_funcs.C: make some simple cases of undo work again
7449
7450 2003-06-03  John Levon  <levon@movementarian.org>
7451
7452         * ispell.C: HPUX doesn't have sys/select.h
7453         (from Albert Chin)
7454
7455 2003-06-03  John Levon  <levon@movementarian.org>
7456
7457         * CutAndPaste.C: update tabular and include inset
7458         buffer references
7459
7460         * buffer.h:
7461         * paragraph.h:
7462         * paragraph.C: remove owningBuffer(), don't pass Buffer
7463         to clone()
7464
7465         * factory.C: insetGraphicsParams changed
7466
7467 2003-06-02  John Levon  <levon@movementarian.org>
7468
7469         * LyXAction.C:
7470         * factory.C:
7471         * lfuns.h:
7472         * lyxfunc.C:
7473         * text3.C: remove insetparent
7474
7475 2003-06-02  John Levon  <levon@movementarian.org>
7476
7477         * buffer.h:
7478         * buffer.C: fix inset_iterator.end(), move out of line
7479         (bug 1149)
7480
7481 2003-06-01  John Levon  <levon@movementarian.org>
7482
7483         * text3.C: use a proper cut/paste when doing inset
7484         insert (from Jürgen Spitzmüller)
7485
7486 2003-06-01  John Levon  <levon@movementarian.org>
7487
7488         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7489
7490 2003-05-30  André Pönitz  <poenitz@gmx.net>
7491
7492         * rowpainter.C: unify second drawing phase
7493
7494 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * trans_mgr.C: remove one case of current_view
7497
7498         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7499
7500         * paragraph_funcs.h: remove paragraph.h include
7501
7502         * paragraph.h: delete NO_STD_LIST stuff
7503
7504         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7505
7506         * buffer.h: remove paragraph.h include
7507
7508         * ParagraphList.C: delete file
7509
7510         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7511
7512         * toc.C (getTocList): adjust
7513
7514         * paragraph_pimpl.C (validate): adjust
7515
7516         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7517
7518         * paragraph.C (Paragraph): adjust
7519         (getPositionOfInset): use const_iterator, adjust
7520         (bibitem): use const_iterator, adjust
7521         (setInsetOwner): adjust
7522
7523         * iterators.C (operator++): adjust
7524
7525         * InsetList.[Ch]: Replace selfmade iterator with standard
7526         vector::iterator also introduce const_iterator. Remove getPos,
7527         getInset and setInset from InsetTable. Adjust accordingly.
7528
7529         * BufferView.C (lockInset): adjust
7530         (ChangeInsets): adjust
7531
7532         * tabular.[Ch]: delete commented same_id functions
7533
7534 2003-05-28  John Levon  <levon@movementarian.org>
7535
7536         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7537
7538 2003-05-28  André Pönitz  <poenitz@gmx.net>
7539
7540         * metricsinfo.[Ch]: remove 'fullredraw' member
7541
7542 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7543
7544         * lyxtextclass.C (operator): remove caching.
7545
7546 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7547
7548         * text3.C: adjust
7549
7550         * text2.C (cursorBottom): adjust
7551         (setCounter): use ParagraphList::find, adjust
7552
7553         * text.C (workWidth): use ParagraphList::find, adjust
7554
7555         * lyxcursor.C (LyXCursor): adjust
7556
7557         * buffer.C (inset_iterator): adjust
7558
7559         * ParagraphList.h: make iterator(value_type) private, make
7560         ParagraphList a friend of iterator.
7561
7562         * ParagraphList.C (find): new function
7563
7564         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7565
7566 2003-05-27  André Pönitz  <poenitz@gmx.net>
7567
7568         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7569
7570 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7571
7572         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7573
7574 2003-05-26  John Levon  <levon@movementarian.org>
7575
7576         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7577
7578 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7579
7580         * remove same_id from function signatures, adjust.
7581
7582 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7583
7584         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7585
7586         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7587
7588         * paragraph.C (Paragraph): get rid of same_ids parameter
7589
7590         * ParagraphList.C (insert): adjust
7591         (push_back): adjust
7592
7593 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * paragraph_funcs.C (breakParagraph): adjust
7596         (breakParagraphConservative): adjust
7597
7598         * buffer.C (readParagraph): adjust
7599
7600         * ParagraphList.C (insert): take a reference instead of a pointer
7601         (insert): adjust
7602
7603         * paragraph.[Ch] (id): new function
7604
7605         * bufferlist.C (newFile): adjust
7606
7607         * ParagraphList.C (ParagraphList): adjust
7608         (assign): adjust
7609         (push_back): take a reference instead of a pointer.
7610
7611         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7612
7613         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7614         instead.
7615
7616         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7617         set else use old code.
7618
7619         * ParagraphList.C: remove all NO_NEXT code and only compile this
7620         code of NO_STD_LIST is set.
7621
7622 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7623
7624         * BufferView_pimpl.C:
7625         * TextCache.C:
7626         * TextCache.h:
7627         * bufferlist.C:
7628         * errorlist.h:
7629         * format.C:
7630         * format.h:
7631         * graph.C:
7632         * lyxfunc.C:
7633         * lyxrc.C:
7634         * graphics/GraphicsConverter.C:
7635         * graphics/PreviewLoader.C: header adjustment
7636
7637 2003-05-23  Angus Leeming  <leeming@lyx.org>
7638
7639         * LaTeXFeatures.[Ch] (useBabel): new method.
7640         * bufferparams.C (writeLaTeX): use it.
7641
7642 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * ParagraphList.h (set): remove unused function.
7645
7646 2003-05-23  André Pönitz  <poenitz@gmx.net>
7647
7648         * BufferView.C:
7649         * BufferView_pimpl.C:
7650         * buffer.C:
7651         * buffer.h:
7652         * lyxfunc.C:
7653         * undo_funcs.C: setUndo reworked
7654
7655         * iterators.[Ch]: add access to topmost ParagraphList
7656
7657         * lyxtext.[Ch] (workWidth): add a const
7658
7659 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7660
7661         * texrow.[Ch] (increasePos): remove function
7662         * exporter.C (export): removed unused var and outdated comment
7663
7664 2003-05-23  Angus Leeming  <leeming@lyx.org>
7665
7666         * latexrunparams.h: rename fragile as moving_arg.
7667         * paragraph.C (simpleTeXOnePar): ditto.
7668         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7669
7670 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7673         (createUndo): ditto
7674         (textUndoOrRedo): comment out a currently unused var.
7675
7676         * paragraph.h (NO_NEXT): enable NO_NEXT
7677
7678         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7679
7680         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7681
7682         * exporter.C (Export): adjust for removeAutoInsets removal.
7683
7684         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7685
7686         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7687
7688         * BufferView.[Ch] (removeAutoInsets): delete function
7689
7690 2003-05-22  Angus Leeming  <leeming@lyx.org>
7691
7692         * latexrunparams.h: add a free_spacing variable.
7693
7694         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7695         to pass moving_arg, as the data is stored in runparams.fragile.
7696
7697         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7698         to Inset::latexOptional or to simpleTeXOnePar.
7699
7700         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7701         free_spacing arg to Inset::latexOptional.
7702
7703         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7704         free_spacing arg.
7705
7706 2003-05-22  Angus Leeming  <leeming@lyx.org>
7707
7708         * latexrunparams.h: add fragile and use_babel variables.
7709
7710         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7711         * buffer.C (makeLaTeXFile): store this returned value in
7712         runparams.use_babel, thus passing it to the inset::latex methods.
7713
7714         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7715         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7716
7717         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7718         longer has a fragile arg, as it is stored in runparams.fragile.
7719
7720         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7721         moving_arg parameter as the data is stored in runparams.fragile.
7722
7723         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7724         a fragile parameter as the data is stored in runparams.fragile.
7725
7726 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7727
7728         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7729
7730 2003-05-22  Angus Leeming  <leeming@lyx.org>
7731
7732         * latexrunparams.h: add a 'bool nice' which defaults to false.
7733
7734         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7735         now encapsulated within runparams.
7736
7737         * bufferlist.C (updateIncludedTeXfiles):
7738         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7739
7740 2003-05-22  Angus Leeming  <leeming@lyx.org>
7741
7742         * latexrunparams.h: new file containing struct LatexRunParams.
7743         * Makefile.am: add new file.
7744
7745         * LaTeX.[Ch] (c-tor, run):
7746         * buffer.[Ch] (makeLaTeXFile):
7747         * bufferlist.[Ch] (updateIncludedTeXfiles):
7748         * converter.C (convert, scanLog):
7749         * converter.[Ch] (runLaTeX):
7750         * exporter.C (Export):
7751         * paragraph.[Ch] (simpleTeXOnePar):
7752         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7753         * paragraph_funcs.[Ch] (latexParagraphs):
7754         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7755         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7756         pass around a LatexRunParams parameter.
7757
7758 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7759
7760         * paragraph.[Ch]: remove unused constructor
7761
7762         * ParagraphList.C (erase): new function, taking two iterators
7763
7764 2003-05-22  André Pönitz  <poenitz@gmx.net>
7765
7766         * undo_funcs.C: remove duplicated code
7767
7768         * iterator.[Ch]: operator=
7769
7770 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7771
7772         * tabular.C (SetMultiColumn): ws changes
7773
7774         * rowpainter.C (paintFirst): get rid of a ->previous
7775
7776         * lyx_cb.C (getPossibleLabel): parlist simplification
7777
7778         * BufferView.C (ChangeInsets): simplify slightly.
7779
7780 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7781
7782         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7783         * lfuns.h: new LFUN_SPACE
7784         * lyxfunc.C: protected space has a new lfun
7785         * paragraph_funcs.C: read new space insets
7786         * text3.C:
7787         * factory.C: handle new space insets
7788
7789 2003-05-22  André Pönitz  <poenitz@gmx.net>
7790
7791         * BufferView.C:
7792         * BufferView_pimpl.C:
7793         * buffer.[Ch]:
7794         * lyxfunc.C:
7795         * undo_funcs.C: return a ParIterator from getParFromID.
7796
7797         * iterators.[Ch]: add two const's
7798
7799 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * toc.C (getTocList): adjust
7802
7803         * iterators.[Ch]: rework for parlist
7804
7805         * buffer.C (par_iterator_begin): adjust
7806         (par_iterator_end): adjust
7807
7808         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7809
7810         * BufferView.C (removeAutoInsets): adjust
7811         (ChangeInsets): adjust
7812
7813 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7814
7815         * text.C (top_y): fix bug 1110
7816
7817 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7818
7819         * errorlist.[Ch]: added
7820         * buffer.C:
7821         * BufferView.[Ch]:
7822         * BufferView_pimpl.C:
7823         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7824         instead
7825
7826 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7827
7828         * Makefile.am: ensure that lyx is relinked upon changes to the
7829         various "convenience" libs.
7830
7831 2003-05-20  Angus Leeming  <leeming@lyx.org>
7832
7833         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7834         files are compiled in alphabetical order again.
7835
7836         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7837
7838 2003-05-19  Angus Leeming  <leeming@lyx.org>
7839
7840         * gettext.[Ch]: remove "char const * _(char const *)".
7841
7842 2003-05-19  André Pönitz  <poenitz@gmx.net>
7843
7844         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7845
7846         * Makefile.am:
7847         * BufferView.C:
7848         * DepTable.h:
7849         * LaTeXFeatures.C:
7850         * buffer.C:
7851         * lyxfont.C:
7852         * lyxlex.h:
7853         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7854
7855 2003-05-19  André Pönitz  <poenitz@gmx.net>
7856
7857         * buffer.C:
7858         * lyxlayout.[Ch]:
7859         * lyxtextclass.[Ch]:
7860         * paragraph.C:
7861         * paragraph_funcs.[Ch]:
7862         * text2.C:
7863         * text3.C: more insetenv work
7864
7865 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7866
7867         * ParagraphParameters.C (params2string): small bug fixed
7868
7869 2003-05-16  André Pönitz  <poenitz@gmx.net>
7870
7871         * debug.C:
7872         * bufferview_funcs.C: patch from Kornel Benko to prevent
7873           crash when _(...) is called twice in a statement
7874
7875 2003-05-16  André Pönitz  <poenitz@gmx.net>
7876
7877         * BufferView.C:
7878         * lyxfunc.C:
7879         * text.C:
7880         * text2.C:
7881         * text3.C:
7882         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7883
7884 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7885
7886         * lyx_main.C (init): remove spurious static_cast
7887
7888 2003-05-14  André Pönitz  <poenitz@gmx.net>
7889
7890         * BufferView.C: fix format string
7891
7892 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7893
7894         * BufferView.[Ch] (insertErrors): removed
7895         * BufferView.[Ch] (showErrorList): added
7896         * buffer.C (runChkTeX):
7897         * converter.C (scanLog): call showErrorList instead of inserterrors
7898
7899 2003-05-13  André Pönitz  <poenitz@gmx.net>
7900
7901         * BufferView_pimpl.C:
7902         * buffer.C:
7903         * bufferview_func.C:
7904         * MenuBackend.C:
7905         * lyxfunc.C:
7906         * lyxrc.C:
7907         * tex-accent.C:
7908         * text3.C:
7909         * toc.C:
7910         * tabular_funcs.h: tostr() from its own header
7911
7912         * ParagraphParameters.C:
7913         * ToolbarBackend.C:
7914         * bufferparams.C:
7915         * format.C:
7916         * lyxlex_pimpl.C:
7917         * text3.C: STRCONV()
7918
7919 2003-05-12  André Pönitz  <poenitz@gmx.net>
7920
7921         * BufferView.C:
7922         * BufferView_pimpl.C:
7923         * CutAndPaste.C:
7924         * LaTeX.C:
7925         * LaTeXFeatures.C:
7926         * ParagraphParameters.C:
7927         * buffer.C:
7928         * bufferlist.C:
7929         * bufferparams.C:
7930         * bufferview_funcs.C:
7931         * converter.C:
7932         * counters.C:
7933         * debug.C:
7934         * exporter.C:
7935         * format.C:
7936         * importer.C:
7937         * lyx_cb.C:
7938         * lyx_main.C:
7939         * lyxfont.C:
7940         * lyxfunc.C:
7941         * lyxvc.C:
7942         * paragraph.C:
7943         * paragraph_funcs.C:
7944         * tabular.C:
7945         * tabular_funcs.C:
7946         * text2.C:
7947         * text3.C:  boost::format -> bformat  all over the place
7948
7949
7950 2003-05-09  André Pönitz  <poenitz@gmx.net>
7951
7952         * LColor.[Ch]: Pimpl the #include <map> away
7953
7954 2003-05-09  John Levon  <levon@movementarian.org>
7955
7956         * bufferlist.C: never remove emergency saves
7957
7958 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7959
7960         * Makefile.am: better lib building
7961
7962 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7963
7964         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7965         instead.
7966         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7967         (simpleTeXSpecialChars): adjust
7968         (simpleTeXSpecialChars): adjust
7969         * paragraph.C (simpleTeXOnePar): adjust
7970         * buffer.C (makeLaTeXFile): adjust
7971
7972         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7973
7974         * text2.C (changeDepth): parlist cleanup
7975         (getColumnNearX): ditto
7976
7977         * rowpainter.C (getLabelFont): parlist cleanup
7978
7979         * bufferlist.C (newFile): parlist cleanup
7980
7981         * CutAndPaste.C (eraseSelection): parlist cleanup
7982
7983         * BufferView_pimpl.C (trackChanges): parlist cleanup
7984         (dispatch): ditto
7985
7986         * BufferView.C (lockInset): parlist cleanup.
7987         (ChangeInsets): ditto
7988
7989 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7990
7991         * CutAndPaste.h: Update file header.
7992
7993         * CutAndPaste.C: Update file header.
7994         Store the parts cut out of the Document in a limited_stack.
7995         (copySelection): adjust
7996         (pasteSelection): new function, takes the index in the limited stack.
7997         (nrOfParagraphs): adjust
7998         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7999         simplify error inset insertion.
8000         (checkPastePossible): adjust
8001
8002 2003-05-06  John Levon  <levon@movementarian.org>
8003
8004         * text2.C: don't cast wrap inset to float
8005
8006 2003-05-05  André Pönitz  <poenitz@gmx.net>
8007
8008         * iterator.C:
8009         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8010
8011         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8012           few naked Paragraph *.
8013
8014 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8015
8016         * bufferparams.C: Output warning if a document with missing
8017         TeX document class is loaded
8018         * exporter.C: Disable TeX exports if the document class is missing
8019         * lyxtextclass.C:
8020         * lyxtextclass.h:
8021         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8022         isTeXClassAvailable()
8023
8024 2003-05-03  John Levon  <levon@movementarian.org>
8025
8026         * BufferView.h:
8027         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8028         explicit cursor show/hide
8029
8030         * BufferView_pimpl.h:
8031         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8032         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8033
8034         * lyxfunc.C: hide cursor before dispatching.
8035
8036         * lyx_cb.C:
8037         * lyxfind.C:
8038         * text.C:
8039         * text3.C: remove explicit cursor hides
8040
8041 2003-05-02  André Pönitz  <poenitz@gmx.net>
8042
8043         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8044
8045         * undo_funcs.C:
8046         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8047           linked lists
8048
8049         * text2.C: tiny whitespace
8050
8051 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8052
8053         * undo_funcs.C: almost only ws changes.
8054
8055         * ParagraphList.C (splice): just return if pl is empty.
8056
8057 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8058
8059         * ParagraphList.C (splice): new function.
8060
8061         * CutAndPaste.C (pasteSelection): use it
8062
8063 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8064
8065         * CutAndPaste.C (pasteSelection): remove the last next and
8066         previous from this file.
8067
8068 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8069
8070         * CutAndPaste.C (pasteSelection): more clean up, user proper
8071         ParagraphList functions for pasteing.
8072
8073         * ParagraphList.C (insert): new function, three arg insert
8074
8075 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8076
8077         * ParagraphList.C (insert): new function, three arg insert
8078
8079         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8080         not on paragraphs.
8081
8082 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8083
8084         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8085
8086 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8087
8088         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8089
8090 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8091
8092         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8093         (copySelection): clean up a bit.
8094         (pasteSelection): use make_pair
8095
8096         * ParagraphList.C (ParagraphList): implement copy constructor
8097         (operator=): implement, base on copy constructor.
8098         (assign): new func
8099
8100         * paragraph.C (erase): return a bool
8101
8102         * paragraph_pimpl.C (erasePos): remove function, move contents...
8103         (erase): ... here. Return a bool.
8104         (erase): call erase instead of erasePos.
8105
8106 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8107
8108         * ParagraphList.h: define PitPosPair
8109         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8110         ParagraphList, fix a bug on pasting multiple pars
8111         * text2.C: change interface to C&P
8112
8113 2003-04-30  André Pönitz  <poenitz@gmx.net>
8114
8115         * undo_func.C: revert part of yesterday's patch 2
8116
8117 2003-04-30  John Levon  <levon@movementarian.org>
8118
8119         * LColor.C: s/tabular/table/
8120
8121 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8122
8123         * text3.C (dispatch): do not convert iterator -> pointer
8124         * undo_funcs.C (setCursorParUndo): ditto
8125         * text_funcs.C (transposeChars): ditto
8126
8127         * text2.C (setLayout): ws changes only
8128
8129         * text.C (breakParagraph): do not convert iterator -> pointer
8130         (insertChar): ditto
8131         (acceptChange): ditto
8132         (rejectChange): ditto
8133         (changeCase): ditto
8134         (Delete): ditto
8135         (backspace): ditto
8136
8137         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8138         pointer
8139
8140 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8141
8142         * text3.C (gotoInset): YABG (yet another bad getChar)
8143
8144 2003-04-29  André Pönitz  <poenitz@gmx.net>
8145
8146         * paragraph.h: make operator= private unimplemented as long as
8147           it is unusable
8148
8149         * ParagraphList.C: whitespace
8150
8151         * paragraph.[Ch]:
8152         * paragraph_pimpl.[Ch]:
8153         * paragraph_funcs.C:
8154         * CutAndPaste.C:
8155         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8156
8157         * text2.C:
8158           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8159
8160 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8161
8162         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8163         * paragraph.[Ch] (erase):
8164         * paragraph_pimpl.[Ch] (erase): change return type and value
8165         * text2.C (cutSelection): some rework
8166
8167 2003-04-28  John Levon  <levon@movementarian.org>
8168
8169         * bufferlist.C: changes for unsaved changes dialog
8170
8171 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * bufferlist.C (newFile): set language (messages_) for new
8174         documents also.
8175
8176         * buffer.C (readFile): ws changes only.
8177
8178 2003-04-28  André Pönitz  <poenitz@gmx.net>
8179
8180         * undo_funcs.C:
8181         * lyxfunc.C:
8182         * buffer.[Ch]:
8183         * BufferView_pimpl.C:
8184         * BufferView.C: getParFromID related ParagraphList::iterator changes
8185
8186 2003-04-28  André Pönitz  <poenitz@gmx.net>
8187
8188         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8189           Changes
8190
8191 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8192
8193         * messages.C: remove one more localedir class variable.
8194
8195 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8196
8197         * messages.C (getLocaleDir): singleton generation function
8198         (Pimpl): use it.
8199         (Messages): add a default constructor.
8200
8201         * main.C (main): do not setup localedir here, do not call
8202         gettext_init.
8203
8204         * gettext.C (_): use it.
8205         (gettext_init): delete funciton
8206
8207 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * gettext.C (getLyXMessages): new singleton generating function.
8210
8211         * buffer.C (updateDocLang): adjust
8212
8213         * Makefile.am (messages.o): add target
8214         (main.o): remove target
8215
8216 2003-04-27  John Levon  <levon@movementarian.org>
8217
8218         * bufferlist.C:
8219         * lyx_cb.C:
8220         * lyxfunc.C:
8221         * lyxvc.C: specify cancel button in Alert::prompt
8222
8223 2003-04-26  John Levon  <levon@movementarian.org>
8224
8225         * text3.C:
8226         * lyxfunc.C:
8227         * lfuns.h:
8228         * LyXAction.C: add LFUN_INSET_SETTINGS
8229
8230         * lyxfunc.C: don't enable tabular-feature when there's
8231         just any locking inset
8232
8233 2003-04-26  John Levon  <levon@movementarian.org>
8234
8235         * bufferlist.C: re-add Cancel to buffer close question
8236
8237         * lyxfunc.C: fix import UI a bit
8238
8239 2003-04-25  John Levon  <levon@movementarian.org>
8240
8241         * gettext.C: remove the broken asserts for now
8242
8243 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8244
8245         * messages.C: make case where setlocale cannot comply work better.
8246
8247         * buffer.C (updateDocLang): new function
8248         (changeLanguage): use it
8249         (readFile): use it
8250
8251         * text2.C (setCounter): use B_ a bit.
8252
8253         * lyxlayout.C (Read): be sure to trim the label strings.
8254
8255         * messages.C (Messages): fix typo in comment
8256
8257         * buffer.C (readFile): set message_ after file is loaded.
8258         (makeDocBookFile): remove double return
8259         (changeLanguage): reset message_ upon language change.
8260         (B_): new func, use this to get translated buffer strings.
8261
8262         * main.C: add myself and Jean Marc as authors.
8263
8264 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8265
8266         * messages.[hC]: pimplify Messages, and three different pimpls to be
8267         used in different circumstances.
8268
8269         * gettext.[Ch]: change for use with new message code.
8270
8271 2003-04-24 André Pönitz <poenitz@gmx.net>
8272
8273         * factory.C: support for eqref
8274
8275 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8276
8277         * messages.[Ch]: add missing char
8278
8279         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8280
8281         * messages.[Ch]: New files
8282
8283 2003-04-18  John Levon  <levon@movementarian.org>
8284
8285         * BufferView.h:
8286         * BufferView.C:
8287         * BufferView_pimpl.C:
8288         * lfuns.h:
8289         * LyXAction.C:
8290         * lyxtext.h:
8291         * text2.C: remove layout-copy/paste (bug 778)
8292
8293 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8294
8295         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8296
8297 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8298
8299         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8300         if they succeed. Act accordingly.
8301
8302 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8303
8304         * text2.C (setCharFont): adjust
8305         (setCounter): adjust
8306         (insertStringAsLines): adjust
8307
8308         * text.C (leftMargin): adjust
8309         (setHeightOfRow): adjust
8310
8311         * rowpainter.C (paintFirst): adjust
8312         (paintLast): adjust
8313
8314         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8315         (outerHook): ditto
8316         (isFirstInSequence): ditto
8317         (getEndLabel): ditto
8318         (outerFont): adjust
8319
8320         * paragraph.C (getParLanguage): comment out some hard stuff.
8321
8322         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8323         (sgmlError): ditto
8324         (simpleDocBookOnePar): ditto
8325         (makeDocBookFile): use ParagraphList::iterator
8326
8327         * CutAndPaste.C (pasteSelection): adjust
8328
8329 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * text2.C (getFont): adjust
8332         (getLayoutFont): adjust
8333         (getLabelFont): adjust
8334
8335         * paragraph_funcs.C (TeXOnePar): adjust
8336
8337         * buffer.C (simpleLinuxDocOnePar): adjust
8338         (simpleDocBookOnePar): adjust
8339
8340         * CutAndPaste.C (pasteSelection): adjust
8341
8342         * BufferView.C (getEncoding): adjust
8343
8344         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8345
8346 2003-04-16  John Levon  <levon@movementarian.org>
8347
8348         * lyxfind.C: use parlist stuff for search/changes
8349
8350 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8353
8354         * text2.C (deleteEmptyParagraphMechanism): adjust
8355
8356         * text2.[Ch] (ownerParagraph): delete func (both of them
8357
8358 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8359
8360         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8361
8362 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8363
8364         * ParagraphList.C: prepare for NO_NEXT
8365
8366 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * text2.C (getFont): adjust
8369         (getLayoutFont): adjust
8370         (getLabelFont): adjust
8371
8372         * paragraph.C (getFont): adjust
8373         (getLabelFont): adjust
8374         (getLayoutFont): adjust
8375
8376         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8377
8378 2003-04-15  John Levon  <levon@movementarian.org>
8379
8380         From Angus Leeming
8381
8382         * lyx_main.C: handle Include in .ui files
8383
8384 2003-04-15  John Levon  <levon@movementarian.org>
8385
8386         * MenuBackend.C: make the doc files length shorter
8387
8388         * ToolbarBackend.h:
8389         * ToolbarBackend.C: handle toolbar placement flags,
8390         Minibuffer
8391
8392 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8393
8394         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8395         adjust
8396
8397         * paragraph_funcs.C (TeXOnePar): adjust
8398
8399         * paragraph.C (getLabelFont): add outerfont arg, adjust
8400         (getLayoutFont): ditto
8401         (simpleTeXOnePar): adjust
8402
8403         * paragraph_pimpl.C (realizeFont): delete func
8404
8405 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8406
8407         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8408         row argument, constify cur argument.
8409
8410 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * text2.C (getFont): adjust
8413         (getLayoutFont): adjust
8414         (getLabelFont): adjust
8415
8416         * paragraph_funcs.C (TeXOnePar): adjust
8417         (outerFont): new func...
8418         (realizeFont): ...moved out from here, changed this to facilitate
8419         transition
8420
8421         * paragraph.C (getFont): take outerfont as arg, adjust
8422         (simpleTeXOnePar): add outerfont arg, adjust
8423
8424         * buffer.C (simpleLinuxDocOnePar): adjust
8425         (simpleDocBookOnePar): adjust
8426
8427         * CutAndPaste.C (pasteSelection): adjust
8428
8429         * BufferView.C (getEncoding): adjust
8430
8431 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8432
8433         * text2.C (setCharFont): adjust
8434         (setCounter): adjust
8435
8436         * text.C (leftMargin): adjust
8437         (setHeightOfRow): adjust
8438
8439         * rowpainter.C (paintFirst): adjust
8440         (paintLast): adjust
8441
8442         * paragraph_pimpl.C (realizeFont): adjust
8443
8444         * paragraph.C (isFirstInSequence): move from here...
8445         * paragraph_funcs.C (isFirstInSequence): ...to here
8446
8447         * paragraph.C (outerHook): move from here...
8448         * paragraph_funcs.C (outerHook): ...to here
8449
8450         * paragraph.C (depthHook): move from here...
8451         * paragraph_funcs.C (depthHook): ...to here
8452
8453         * paragraph.C (getEndLabel): move from here...
8454         * paragraph_funcs.C (getEndLabel): ...to here
8455
8456         * text2.C (realizeFont): move from here...
8457         * paragraph_funcs.C (realizeFont): ...to here
8458
8459 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8460
8461         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8462
8463 2003-04-14  Angus Leeming  <leeming@lyx.org>
8464
8465         * LColor.[Ch]: scrap LColor mathcursor.
8466
8467 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * lyxlex.[Ch] (text): delete function
8470         * trans.C (Load): adjust
8471         * paragraph_funcs.C (readParToken): adjust
8472
8473 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8476         vector<char> instead of a char[].
8477
8478         * lyxlex_pimpl.C (getString): adjust
8479         (next): adjust
8480         (lex): use getString
8481         (eatLine): adjust
8482         (nextToken): adjust
8483
8484         * lyxlex.C (text): use pimpl_->getString()
8485         (getBool): ditto
8486         (findToken): ditto
8487
8488 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8491         (makeFontEntriesLayoutSpecific): temp var for par.size()
8492         (setLayout): temp var for ownerParagraphs().end()
8493         (fullRebreak): temp var for rows().end()
8494         (selectionAsString): temp var for boost::next(startpit), realize
8495         that the while really is a regular for loop.
8496         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8497         setCursor in one place.
8498         (setParagraph): temp vr for ownerParagraphs().end()
8499         (updateCounters): make the while loop a for loop
8500         (cutSelection): temp var for ownerParagraphs().end()
8501         (updateInset): make the do {} while() a regular for loop
8502         (getCursorX): use temp vars
8503         (setCurrentFont): use temp vars
8504         (getColumnNearX): use temp vars
8505
8506 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8507
8508         * text.C (transformChar): use temp var for getChar
8509         (computeBidiTables): use temp var for row->par()
8510         (fill): move temp vars for row->par() and pit->layout() earlier in
8511         the function.
8512         (labelFill): use temp var for row->par()
8513         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8514         asc and desc, realize that pit never changes and that firstpit is
8515         just a duplicate and not needed. Exchange rit->par() with pit in a
8516         lot of places.
8517         (breakAgain): use a temp var for boost::next(rit)
8518         (breakAgainOneRow): ditto
8519         (breakParagraph): use a temp var for rows().begin()
8520         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8521         (cursorRightOneWord): use temp var for cursor.par() and
8522         cursor.pos(), remove usage of tmpcursor.
8523         (cursorLeftOneWord): use temp var for cursor.par() and
8524         cursor.pos() only set cur at end of function.
8525
8526 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8527
8528         * text.C, text2.C: exchange all usage of Paragraph::next with
8529         boost::next(ParagraphList::iterator)
8530
8531         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8532
8533         * text2.C (cursorTop): simplify implementation
8534         (cursorBottom): ditto
8535         (setParagraph): use ParagraphList::iterator
8536         (setCurrentFont): adjust
8537         (getColumnNearX): adjust
8538         (cursorRight): adjust
8539         (cursorLeft): remove usage of Paragraph::previous
8540         (cursorUpParagraph): ditto
8541         (deleteEmptyParagraphMechanism): slight cleanup
8542
8543         * text.C (isBoundary): take a Paragraph const & instead of a
8544         pointer as arg.
8545         (addressBreakPoint): ditto
8546         (leftMargin): remove usage of Paragraph::previous.
8547         (setHeightOfRow): ditto
8548         (cursorLeftOneWord): ditto
8549         (selectNextWordToSpellcheck): ditto
8550         (Delete): ditto
8551         (backspace): ditto
8552         (breakParagraph): remove one usage of Paragraph::next
8553         (redoParagraph): ditto
8554         (acceptChange): ditto
8555         (insertChar): adjust
8556         (rowBreakPoint): adjust
8557
8558         * bufferview_funcs.C (toggleAndShow): adjust
8559
8560 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8561
8562         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8563         methods to access it.
8564         * lyxtext.h:
8565         * text.C: Added updateRowPositions to compute all row positions.
8566         Make top_y and getRowNearY() to use the cached y position
8567
8568 2003-04-11  John Levon  <levon@movementarian.org>
8569
8570         * text.C (rowBreakPoint): reintroduce the labelEnd
8571         checks, code copied from the row fill stuff. Deep voodoo.
8572
8573         * text.C (fill): add a comment and debugging for the
8574         next poor soul.
8575
8576 2003-04-11  John Levon  <levon@movementarian.org>
8577
8578         * text.C: make sure fullrow insets get wrapped to the next line,
8579         even when they're in a manual label
8580
8581 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * text2.C (insertParagraph): make it take ParagraphList::iterator
8584         as arg.
8585         (setLayout): make it return ParagraphList::iterator
8586         (redoParagraphs): ditto
8587         (setCounter): ditto
8588         (checkParagraph): ditto
8589
8590         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8591
8592         * text2.C: adjust several funcs.
8593         (realizeFont): take a ParagraphList::iterator as arg.
8594         (getLayoutFont): ditto
8595         (getLabelFont): ditto
8596         (setCharFont): ditto
8597
8598         * text.C: adjust several funcs.
8599
8600 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8601
8602         * text.C (selectNextWordToSpellcheck): don't accidentally
8603         skip insets
8604
8605 2003-04-10  John Levon  <levon@movementarian.org>
8606
8607         * ToolbarBackend.C (getIcon): special handling for
8608         LFUN_MATH_DELIM
8609
8610 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8611
8612         * text2.C (cursorRight): a getChar assert fixed
8613
8614 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8615
8616         * text2.C (getFont): change to take a ParagraphList::iterator
8617         instead of Paragraph*
8618         Adjust several functions.
8619
8620         * text.C (transformChar): change to take a ParagraphList::iterator
8621         instead of Paragraph*
8622         (singleWidth): ditto
8623         Adjust several functions.
8624
8625         * rowpainter.C: adjust several functions
8626         * rowpainter.h:store a ParagraphList::iterator and not a
8627         Paragraph&.
8628
8629
8630 2003-04-09  John Levon  <levon@movementarian.org>
8631
8632         * lyxfunc.C:
8633         * lfuns.h:
8634         * LyXAction.h:
8635         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8636         and the "help" bits as well
8637
8638 2003-04-09  John Levon  <levon@movementarian.org>
8639
8640         * ToolbarBackend.h:
8641         * ToolbarBackend.C: allow multiple toolbars
8642
8643 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8644
8645         * undo_funcs.C (setCursorParUndo): adjust
8646
8647         * text_funcs.C (transposeChars): adjust
8648
8649         * text3.C (gotoNextInset): adjust
8650         (dispatch): adjust
8651
8652         * text2.C (setLayout): adjust
8653         (changeDepth): adjust
8654         (setFont): adjust
8655         (redoParagraphs): adjust
8656         (selectionAsString): adjust
8657         (setParagraph): adjust
8658         (insertInset): adjust
8659         (cutSelection): adjust
8660         (copySelection): adjust
8661         (pasteSelection): adjust
8662         (insertStringAsLines): adjust
8663         (updateInset): adjust
8664         (setCursor): change to take a ParagraphList::iterator parameter
8665         (setCursorIntern): change to take a ParagraphList::iterator parameter
8666         (setCurrentFont): adjust
8667         (cursorLeft): adjust
8668         (cursorRight): adjust
8669         (deleteEmptyParagraphMechanism): adjust
8670
8671         * text.C (breakParagraph): adjust
8672         (insertChar): adjust
8673         (acceptChange): adjust
8674         (rejectChange): adjust
8675         (selectNextWordToSpellcheck): adjust
8676         (changeCase): adjust
8677         (Delete): adjust
8678         (backspace): adjust
8679
8680         * lyxfind.C (SearchForward): adjust
8681         (SearchBackward): adjust
8682         (nextChange): adjust
8683
8684         * lyxcursor.C (par): adjust
8685
8686         * lyxcursor.h: store a ParagraphList::iterator instead of a
8687         Paragraph*
8688
8689         * lyx_cb.C (getPossibleLabel): adjust
8690
8691         * bufferview_funcs.C (toggleAndShow): adjust
8692
8693         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8694         (dispatch): adjust
8695
8696         * BufferView.C (removeAutoInsets): adjust
8697         (lockedInsetStoreUndo): adjust
8698
8699 2003-04-09  John Levon  <levon@movementarian.org>
8700
8701         * ToolbarBackend.C: try icon without argument
8702         if with argument fails
8703
8704 2003-04-08  John Levon  <levon@movementarian.org>
8705
8706         * ToolbarBackend.h:
8707         * ToolbarBackend.C: add getIcon(), handle tooltip,
8708         and change from "Icon" to "Item".
8709
8710 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8711
8712         * BufferView.C (lockInset): another bad getchar crunched
8713
8714 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8715
8716         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8717         again)
8718
8719 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8720
8721         * lyxfind.C (searchForward, searchBackwards): bug 782
8722
8723 2003-04-07  John Levon  <levon@movementarian.org>
8724
8725         * paragraph.C: remove dead comment
8726
8727         * text.C: remove troublesome depth-fiddling code
8728         in leftMargin() and rightMargin() (bug 1017)
8729
8730         * text.C: fix breaking of rows in nested lists
8731         (bug 1004)
8732
8733         * text2.C (updateCounters): fix up depth values
8734         (bug 1013)
8735
8736 2003-04-07  John Levon  <levon@movementarian.org>
8737
8738         * BufferView_pimpl.C: clear message when doc finishes resizing,
8739         and after a mouse event
8740
8741         * lyxfunc.C: clear message after exiting inset
8742
8743 2003-04-07  John Levon  <levon@movementarian.org>
8744
8745         * bufferview_funcs.C: show math status not outside
8746         status in the statusbar
8747
8748 2003-04-07  John Levon  <levon@movementarian.org>
8749
8750         * lyxfunc.C: note status changed after a depth change
8751
8752 2003-04-04  Angus Leeming  <leeming@lyx.org>
8753
8754         * LaTeX.h: move AuxInfo operator==, != out of line.
8755         Remove LaTeX virtual destructor; nothing derives from it.
8756         Move operator()() out of public area and rename it startscript().
8757         Change protected for private.
8758
8759 2003-04-04  Angus Leeming  <leeming@lyx.org>
8760
8761         * lyxfunc.C:
8762         * text2.C: remove unneeded #includes.
8763
8764 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8765
8766         * text2.C (dEPM): fix the heigth of the next row
8767
8768 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8769
8770         * text.C: squashed an invalid getChar requester + some ws changes
8771
8772 2003-04-03  John Levon  <levon@movementarian.org>
8773
8774         * bufferview_funcs.h:
8775         * bufferview_funcs.C:
8776         * lyxfunc.C:
8777         * lyxtext.h:
8778         * text2.C: make getStatus work for the env depth lfuns
8779
8780 2003-04-03  John Levon  <levon@movementarian.org>
8781
8782         * bufferview_funcs.h:
8783         * bufferview_funcs.C:
8784         * lyxfunc.C:
8785         * lyxtext.h:
8786         * text2.C: parlistize decDepth(), by merging it with incDepth()
8787
8788 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8789
8790         * lyxrow.h: store a ParagraphList::iterator instead of a
8791         Paragraph* and adjust other class functions to suit.
8792
8793         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8794         above.
8795
8796 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8797
8798         * text2.C (setCursor): do not anchor to cursor row for the time being
8799
8800 2003-04-02  John Levon  <levon@movementarian.org>
8801
8802         * LyXAction.C:
8803         * lfuns.h:
8804         * lyx_main.C:
8805         * lyxtext.h:
8806         * text.C:
8807         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8808
8809 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8810
8811         * paragraph.h: make ParagraphList and ParagraphList::iterator
8812         friends of Paragraph.
8813
8814         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8815
8816         * ParagraphList.C: Use the private next_ and previous_ from
8817         Paragraph.
8818
8819 2003-04-01  John Levon  <levon@movementarian.org>
8820
8821         * ToolbarBackend.h:
8822         * ToolbarBackend.C:
8823         * Makefile.am: rename, remove defaults gunk
8824
8825         * MenuBackend.h:
8826         * MenuBackend.C: remove defaults gunk
8827
8828         * Languages.h:
8829         * Languages.C: remove defaults gunk
8830
8831         * lyx_main.h:
8832         * lyx_main.C: error out if files couldn't be found.
8833
8834 2003-04-02  John Levon  <levon@movementarian.org>
8835
8836         * text2.C: make incDepth() use parlist
8837
8838 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8839
8840         * undo_funcs.C (firstUndoParagraph): adjust
8841
8842         * text3.C (gotoInset): adjust
8843         (dispatch): adjust, and rewrite loop.
8844
8845         * text2.C (init): adjust, and rewrite loop.
8846         (redoParagraphs): adjust
8847         (updateInset): adjust, and rewrite loop.
8848         (deleteEmptyParagraphMechanism): adjust
8849
8850         * tabular.C (LyXTabular): adjust
8851         (SetMultiColumn): adjust
8852         (TeXRow): adjust
8853
8854         * lyxtext.[Ch] (ownerParagraph): delete function
8855         (ownerParagraphs): new function returns a ParagraphList.
8856
8857         * BufferView.C (removeAutoInsets): adjust
8858         (insertErrors): adjust
8859         (setCursorFromRow): adjust
8860
8861 2003-04-01  Angus Leeming  <leeming@lyx.org>
8862
8863         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8864         in the frontends.
8865
8866 2003-04-02  John Levon  <levon@movementarian.org>
8867
8868         * lyxtext.h:
8869         * text.C:
8870         * Makefile.am:
8871         * text_funcs.h:
8872         * text_funcs.C: make transposeChars a free function
8873
8874         * lyxrow_funcs.C: remove wrong comment
8875
8876 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8877
8878         * lyxtext.h: adjust
8879         * rowpainter.C: adjust
8880         * text.C: adjust
8881         * text2.C: adjust
8882         * text3.C: adjust
8883
8884         * lyxrow_funcs. [Ch]: new files
8885
8886         * lyxrow.[Ch]: remove next and previous pointers
8887         (next,previous): remove accessor functions
8888         (isParEnd): move to lyxrow_funcs
8889         (lastPos): move to lyxrow_funcs
8890         (nextRowIsAllInset): move to lyxrow_funcs
8891         (lastPrintablePos): move to lyxrow_funcs
8892         (numberOfSeparators): move to lyxrow_funcs
8893         (numberOfHfills): move to lyxrow_funcs
8894         (numberOfLabelHfills): move to lyxrow_funcs
8895         (hfillExpansion): move to lyxrow_funcs
8896
8897         * lyxfunc.C: adjust
8898
8899         * bufferview_funcs.C (toggleAndShow): adjust
8900
8901         * RowList.h: Remove class RowList from file leave just a
8902         std::list<Row>.
8903
8904         * RowList.C: delete file
8905
8906         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8907         and lyxrow_funcs.h
8908
8909 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8910
8911         * text3.C (cursorPrevious): adjust
8912         (cursorNext): adjust
8913         (dispatch): adjust
8914
8915         * text2.C (redoHeightOfParagraph): adjust
8916         (redoDrawingOfParagraph): adjust
8917         (setCursor): adjust
8918
8919         * text.C (breakParagraph): adjust
8920         (insertChar): adjust
8921         (backspace): adjust
8922
8923         * rowpainter.C (RowPainter): adjust
8924         (leftMargin): simplify and adjust
8925         (most rowpainter functions): adjust.
8926
8927         * rowpainter.h: store the row as RowList::iterator not as Row*
8928
8929         * lyxcursor.C (row): taka RowList::iterator as arg
8930         (irow): ditto
8931
8932         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8933         of Row*.
8934
8935 2003-04-01  Angus Leeming  <leeming@lyx.org>
8936
8937         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8938         stuff like bool Bool.
8939
8940 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8941
8942         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8943         rewrite a loop
8944
8945 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8946
8947         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8948         RowList::iterator.
8949
8950         * lyxtext.h (rows): drop one version and leve a const variant that
8951         returns a RowList::iterator.
8952
8953 2003-03-31  Angus Leeming  <leeming@lyx.org>
8954
8955         * text.C (fill): ensure that the signature is the same as that in the
8956         header file.
8957
8958 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8959
8960         * text2.C (redoParagraphs): adjust
8961         (updateCounters): adjust
8962         (checkParagraph): adjust
8963         (getColumnNearX): adjust and reformat a bit.
8964
8965         * text.C (top_y): adjust
8966         (workWidth): adjust
8967         (leftMargin): adjust
8968         (prepareToPrint): adjust
8969         (getRow): adjust
8970         (getRowNearY): adjust
8971
8972         * lyxtext.h: make rowlist_ mutable.
8973
8974         * RowList.h: add const_iterator
8975         * RowList.C: adjust for RowList::const_iterator.
8976
8977         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8978         adjust.
8979
8980 2003-03-31  John Levon  <levon@movementarian.org>
8981
8982         * lyxrc.h:
8983         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8984
8985         * lyx_main.C: set default fonts from using lyx_gui funcs
8986
8987         * exporter.C: pdf_mode moved from lyxrc
8988
8989         * lyx_cb.C:
8990         * lyxfunc.C: changes from above
8991
8992 2003-03-31  John Levon  <levon@movementarian.org>
8993
8994         * lyx_main.C: fix to the last fix
8995
8996 2003-03-31  John Levon  <levon@movementarian.org>
8997
8998         * bufferlist.C: "Load original" -> "Load Original"
8999
9000         * converter.C:
9001         * exporter.C:
9002         * importer.C:
9003         * lyx_main.C:
9004         * format.C: more Alert cleanups
9005
9006 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9007
9008         * text2.C (removeParagraph): make it take a RowList::iterator as
9009         arg, adjust.
9010         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9011         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9012
9013         * text.C (anchor_row): make it take a RowList::iterator as arg,
9014         adjust.
9015         (computeBidiTables): make it take a const reference to Row instead
9016         of Row pointer, adjust.
9017         (leftMargin): make it take a RowList::iterator as arg, adjust.
9018         (rowBreakPoint): adjust
9019         (breakAgainOneRow): make it take a RowList::iterator as arg,
9020         adjust.
9021         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9022
9023         * bufferview_funcs.C (toggleAndShow): adjust
9024
9025 2003-03-30  John Levon  <levon@movementarian.org>
9026
9027         * Makefile.am:
9028         * BoostFormat.h:
9029         * boost-inst.C: moved to support
9030
9031         * several files: changes as a result
9032
9033 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9034
9035         * text2.C (LyXText): adjust.
9036         (init): adjust
9037         (removeRow): make it take a RowList::iterator as arg, adjust.
9038         (fullRebreak): adjust
9039         (deleteEmptyParagraphMechanism): adjust
9040         (clearPaint): adjust
9041         (postPaint): adjust
9042
9043         * text.C (top_y): adjust
9044         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9045         (breakAgain): make it take a RowList::iterator as arg, adjust.
9046         (breakParagraph): adjust
9047         (insertChar): adjust
9048         (backspace): adjust
9049
9050         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9051         need_break_row, and refresh_row.
9052
9053         * text3.C (dispatch): adjust
9054
9055         * text2.C (checkParagraph): adjust
9056         (setCursor): adjust
9057         (setCursorFromCoordinates): adjust
9058
9059         * text.C (top_y): adjust
9060         (workWidth): adjust
9061         (getRow): make it return a RowList::iterator, adjust
9062         (getRowNearY): make it return a RowList::iterator, adjust
9063
9064         * text2.C (init): adjust
9065         (insertRow): remove function
9066         (insertParagraph): adjust
9067         (redoParagraphs): adjust
9068         (fullRebreak): adjust
9069         (updateCounters): adjust
9070
9071         * text.C (top_y): rewrite to use RowList iterators.
9072         (top_y): adjust
9073         (setHeightOfRow): rewrite to sue RowList iterators.
9074         (appendParagraph): adjust
9075         (breakAgain): adjust
9076         (breakAgainOneRow): adjust
9077         (breakParagraph): adjust
9078         (getRow): adjust
9079         (getRowNearY): adjust, and remove commented code.
9080
9081         * lyxtext.h (firstRow): delete function
9082         (lastRow): delete function
9083         (rows): new function (const and non-const versions.)
9084         (insertRow): delete function
9085
9086         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9087
9088 2003-03-29  John Levon  <levon@movementarian.org>
9089
9090         * BufferView_pimpl.C: always update scrollbar top
9091         because pasting text when we're anchored could mean we
9092         miss an update altogether
9093
9094 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9095
9096         * text2.C (init): use rowlist_.end() and not 0.
9097         (insertRow): change to take a RowList::iterator as arg, adjust
9098         for this.
9099         (insertParagraph): change to take a RowList::iterator as arg,
9100         adjust for this.
9101         (redoParagraphs): remove some debug msgs.
9102
9103         * text.C (appendParagraph): change to take a RowList::iterator
9104         arg, adjust for this.
9105         (breakAgain): add an assert
9106         (breakAgainOneRow): ditto
9107
9108 2003-03-29  John Levon  <levon@movementarian.org>
9109
9110         * text2.C: do not clear selection after inc/decDepth
9111         (bug 550)
9112
9113 2003-03-29  John Levon  <levon@movementarian.org>
9114
9115         * BufferView.C:
9116         * buffer.C: fix broken strerrors according to Lars
9117
9118 2003-03-29  John Levon  <levon@movementarian.org>
9119
9120         * converters.C: more Alert cleanups
9121
9122 2003-03-29  John Levon  <levon@movementarian.org>
9123
9124         * bufferview_funcs.C: remove pointless Alert
9125
9126         * buffer.C: fix confusing error message when
9127         a template is chmoded 000
9128
9129 2003-03-29  John Levon  <levon@movementarian.org>
9130
9131         * BufferView.C:
9132         * BufferView.h:
9133         * BufferView_pimpl.C: Alert fixes
9134
9135         * Makefile.am:
9136         * tabular.C:
9137         * tabular-old.C: remove unused table compat reading
9138
9139 2003-03-29  John Levon  <levon@movementarian.org>
9140
9141         * BufferView.C:
9142         * buffer.C:
9143         * lyx_cb.h:
9144         * lyx_cb.C: more Alert cleanups
9145
9146         * lyxfunc.C: don't allow chktex if not latex document
9147
9148 2003-03-29  John Levon  <levon@movementarian.org>
9149
9150         * lyx_cb.C:
9151         * BufferView.C:
9152         * buffer.C: warnings pushed down from support/,
9153         kill err_alert
9154
9155 2003-03-29  John Levon  <levon@movementarian.org>
9156
9157         * lyxfunc.C: safety check for C-r (revert)
9158
9159 2003-03-29  John Levon  <levon@movementarian.org>
9160
9161         * bufferlist.h:
9162         * bufferlist.C: several UI fixes using Alert::prompt.
9163         Fix the pointless looping quit code. Fix stupid revert
9164         behaviour (bug 938)
9165
9166         * lyxvc.h:
9167         * lyxvc.C:
9168         * lyx_cb.C: use Alert::prompt
9169
9170         * lyx_main.C: remove a silly question
9171
9172         * lyxfunc.C: remove a couple of silly questions,
9173         use Alert::prompt
9174
9175 2003-03-28  John Levon  <levon@movementarian.org>
9176
9177         * text2.C: fix bug 974 (End on empty par)
9178
9179 2003-03-28  John Levon  <levon@movementarian.org>
9180
9181         * BufferView_pimpl.C:
9182         * LyXAction.C:
9183         * lfuns.h: remove do-nothing math greek lfuns
9184
9185 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9186
9187         * lyxgluelength.h (isValidGlueLength): add default arg on
9188         parameter 2. Remove default arg from friend in class.
9189
9190         * lyxlength.h (isValidLength): add default arg on parameter 2.
9191         Remove default arg from friend in class.
9192
9193         * text2.C (LyXText): adjust, initialize refresh_row.
9194         (init): adjust
9195         (removeRow): adjust
9196         (insertRow): adjust
9197         (insertParagraph): adjst
9198         (redoParagraphs): adjust
9199         (fullRebreak): adjust
9200         (updateCounters): adjust
9201         (deleteEmptyParagraphMechanism): first attempt at fixing a
9202         crashing bug.
9203
9204         * text.C (top_y): adjust
9205         (setHeightOfRow): adjust
9206         (getRow): adjust
9207         (getRowNearY): adjust
9208
9209         * lyxtext.h: include RowList.h
9210         (~LyXText): not needed anymore, deleted.
9211         (firstRow): modify for RowList
9212         (lastRow): new function
9213         Delete firstrow and lastrow class variables, add a Rowlist
9214         rowlist_ class variable.
9215
9216         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9217         paragraph is empty.
9218
9219         * RowList.C (insert): fix case where it == begin().
9220
9221 2003-03-26  Angus Leeming  <leeming@lyx.org>
9222
9223         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9224         the thesaurus dialog.
9225
9226 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9227
9228         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9229
9230         * RowList.[Ch]: new files
9231
9232         * ParagraphList.C (erase): handle the case where it == begin
9233         correctly.
9234
9235 2003-03-25  John Levon  <levon@movementarian.org>
9236
9237         * Makefile.am:
9238         * aspell_local.h:
9239         * aspell.C: add new aspell support
9240
9241         * lyxrc.h:
9242         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9243         have it accessible.
9244
9245 2003-03-25  Angus Leeming  <leeming@lyx.org>
9246
9247         * lfuns.h:
9248         * LyXAction.C (init): new LFUN_INSET_INSERT.
9249
9250         * BufferView_pimpl.C (dispatch): split out part of the
9251         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9252
9253         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9254         LFUN_INSET_APPLY.
9255
9256 2003-03-25  Angus Leeming  <leeming@lyx.org>
9257
9258         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9259
9260 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9261
9262         * text2.C:
9263         * text3.C: remove useless row->height(0)
9264
9265 2003-03-25  John Levon  <levon@movementarian.org>
9266
9267         * lyxtext.h:
9268         * text2.C:
9269         * text3.C: rename the refreshing stuff to better names
9270
9271 2003-03-24  John Levon  <levon@movementarian.org>
9272
9273         * BufferView_pimpl.h:
9274         * BufferView_pimpl.C: update layout choice on a mouse
9275         press/release
9276
9277 2003-03-23  John Levon  <levon@movementarian.org>
9278
9279         * Makefile.am: fix commandtags.h reference
9280
9281 2003-03-22  John Levon  <levon@movementarian.org>
9282
9283         * BufferView_pimpl.C:
9284         * lyxtext.h:
9285         * rowpainter.C:
9286         * rowpainter.h:
9287         * text.C:
9288         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9289
9290 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9291
9292         * lyxtext.h:
9293         * text.C: take the rtl methods out of line
9294
9295 2003-03-21 André Pönitz <poenitz@gmx.net>
9296
9297         * metricsinfo.[Ch]: new files containing structures to be passed around
9298         during the two-phase-drawing...
9299
9300 2003-03-21 André Pönitz <poenitz@gmx.net>
9301
9302         * lyxtextclass.C: read 'environment' tag.
9303
9304 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9305
9306         * text2.C (removeRow): fix bug 964
9307
9308 2003-03-20  John Levon  <levon@movementarian.org>
9309
9310         * rowpainter.C:
9311         * text.C:
9312         * text2.C: paint cleanups. Inset::update() dropped font
9313         parameter
9314
9315 2003-03-19  John Levon  <levon@movementarian.org>
9316
9317         * lyxfunc.C: only fitcursor/markDirty if available()
9318
9319 2003-03-19  John Levon  <levon@movementarian.org>
9320
9321         * commandtags.h: rename to ...
9322
9323         * lfuns.h: ... this, and renumber / cleanup
9324
9325 2003-03-19  John Levon  <levon@movementarian.org>
9326
9327         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9328         fit the cursor after an lfun
9329
9330         * BufferView.h:
9331         * BufferView.C:
9332         * BufferView_pimpl.h:
9333         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9334
9335         * LyXAction.C: layout-character should have ReadOnly
9336
9337         * ParagraphParameters.C:
9338         * buffer.C:
9339         * bufferview_funcs.C:
9340         * lyx_cb.C:
9341         * lyxfind.C:
9342         * lyxtext.h:
9343         * text.C:
9344         * text2.C:
9345         * text3.C:
9346         * undo_funcs.C: changes from above
9347
9348 2003-03-18  John Levon  <levon@movementarian.org>
9349
9350         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9351         remove it from update()
9352
9353         * lyxfunc.C: update layout choice after an lfun
9354
9355         * text3.C: remove extra updateLayoutChoice()s
9356
9357 2003-03-18  John Levon  <levon@movementarian.org>
9358
9359         * text.C: top_y change means full repaint, fix
9360         a drawing bug with cursor movement
9361
9362 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9363
9364         * lyxtext.h:
9365         * text.C:
9366         * text2.C: anchor row on setCursor
9367
9368 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9369
9370         * lyxtext.h: remove almost all mutable keywords
9371         * text.C:
9372         * text2.C:
9373         * text3.C: remove const keywords accordingly
9374
9375 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9376
9377         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9378         anon namespace
9379         (TeXEnvironment): ditto
9380         (TeXOnePar): ditto
9381
9382 2003-03-17  John Levon  <levon@movementarian.org>
9383
9384         * text.C (rowBreakPoint): remove attempt to fix displayed
9385         math insets inside a manual label
9386
9387 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9388
9389         * lyxtext.h: remove BufferView* as first arg from almost all class
9390         functions.
9391         * other files: adjust.
9392
9393 2003-03-17  John Levon  <levon@movementarian.org>
9394
9395         * lyxtext.h:
9396         * undo_funcs.C:
9397         * text2.C: more paint cleanups
9398
9399         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9400
9401         * rowpainter.h:
9402         * rowpainter.C: remove "smart" background painting code
9403
9404 2003-03-16  John Levon  <levon@movementarian.org>
9405
9406         * lyxtext.h:
9407         * text.C:
9408         * text2.C:
9409         * text3.C: add helper functions for setting refresh_row/y
9410
9411 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9412
9413         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9414         newline inset which *can* get inserted in the pass_thru layouts.
9415         This is primarily for literate documents.
9416
9417 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9418
9419         * buffer.C: increment LYX_FORMAT to 223
9420
9421 2003-03-14 André Pönitz <poenitz@gmx.net>
9422
9423         * textclass.h: prepare for environment handling, ws changes
9424         * lyxlayout.C: read latexheader and latexfooter tags
9425
9426 2003-03-14  John Levon  <levon@movementarian.org>
9427
9428         * text2.C: rewrite ::status() a bit
9429
9430 2003-03-13  John Levon  <levon@movementarian.org>
9431
9432         * lyxtext.h: add some docs
9433
9434 2003-03-13  John Levon  <levon@movementarian.org>
9435
9436         * lyxtext.h:
9437         * text.C:
9438         * text2.C:
9439         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9440
9441 2003-03-13  John Levon  <levon@movementarian.org>
9442
9443         * text3.C: fix appendix redrawing
9444
9445 2003-03-13  John Levon  <levon@movementarian.org>
9446
9447         * text.C (setHeightOfRow):
9448         * rowpainter.h:
9449         * rowpainter.C: make appendix mark have the text
9450           "Appendix" so the user knows what it is
9451
9452         * LColor.h:
9453         * LColor.C: s/appendixline/appendix/ from above
9454
9455 2003-03-13  John Levon  <levon@movementarian.org>
9456
9457         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9458
9459         * text.C: fix a getChar(pos) bug properly
9460
9461 2003-03-13  Angus Leeming  <leeming@lyx.org>
9462
9463         * commandtags.h:
9464         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9465         Probably only temporary. Let's see how things pan out.
9466
9467         * BufferView.C (unlockInset):
9468         * BufferView_pimpl.C (fitCursor):
9469         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9470
9471         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9472         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9473
9474         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9475         new functions that convert ParagraphParameters to and from a string.
9476
9477         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9478         BufferView::Pimpl's dispatch.
9479         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9480
9481 2003-03-13 André Pönitz <poenitz@gmx.net>
9482
9483         * lyxfunc.C:
9484         * text3.C:
9485         * factory.C: make it aware of InsetEnv
9486
9487 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9488
9489         * text2.C (setCursor): never ask for one past last
9490         (setCursor): add some debugging messages.
9491
9492         * text.C (singleWidth): never ask for one past last
9493         (singleWidth): ditto
9494         (leftMargin): ditto
9495         (rightMargin): ditto
9496         (rowBreakPoint): ditto
9497         (setHeightOfRow): ditto
9498         (prepareToPrint): ditto
9499
9500         * rowpainter.C (paintBackground): never ask for one past last
9501         (paintText): never ask for one past last
9502
9503         * paragraph_pimpl.C (getChar): make the assert stricter, never
9504         allow the one past last pos to be taken
9505
9506         * paragraph.C (getChar): ws changes only
9507
9508         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9509         (numberOfSeparators): ditto
9510         (numberOfHfills): ditto
9511
9512 2003-03-12  John Levon  <levon@movementarian.org>
9513
9514         * author.h:
9515         * author.C:
9516         * bufferparams.h:
9517         * bufferparams.C:
9518         * paragraph_funcs.C: fix per-buffer authorlists
9519
9520 2003-03-12  John Levon  <levon@movementarian.org>
9521
9522         * text.C: fix newline in right address
9523
9524 2003-03-12  Angus Leeming  <leeming@lyx.org>
9525
9526         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9527         duplicate those in LyXFunc::dispatch.
9528
9529         * commandtags.h:
9530         * LyXAction.C:
9531         * ToolbarDefaults.C:
9532         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9533         Add LFUN_FONTFREE_UPDATE.
9534
9535         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9536         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9537
9538         * bufferview_func.[Ch]: several new functions to facilliate
9539         transfer of data to and from the character dialog.
9540
9541 2003-03-12  John Levon  <levon@movementarian.org>
9542
9543         * buffer.C:
9544         * paragraph.h:
9545         * paragraph.C:
9546         * paragraph_funcs.C:
9547         * paragraph_pimpl.C:
9548         * sgml.C:
9549         * tabular.C:
9550         * text.C:
9551         * text3.C: remove META_NEWLINE in favour of an inset
9552
9553         * rowpainter.h:
9554         * rowpainter.C: remove paintNewline (done by inset)
9555
9556 2003-03-12  John Levon  <levon@movementarian.org>
9557
9558         * paragraph_pimpl.C: complain about bad getChar()s
9559         for a while at least
9560
9561 2003-03-12  John Levon  <levon@movementarian.org>
9562
9563         * buffer.h:
9564         * buffer.C: move paragraph read into a separate function,
9565         a little renaming to reflect that.
9566
9567         * bufferparams.h:
9568         * bufferparams.C: remove the author_ids map, not necessary now
9569
9570         * factory.h:
9571         * factory.C: moved Buffer::readInset to here
9572
9573         * paragraph_funcs.h:
9574         * paragraph_funcs.C: readParagraph free function moved from
9575         buffer.C
9576
9577         * tabular.C: name change
9578
9579 2003-03-12  John Levon  <levon@movementarian.org>
9580
9581         * buffer.C:
9582         * ParagraphParameters.C: move par params input to
9583         a read() method
9584
9585         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9586         behave like a normal read from the stream wrt reading
9587         a line vs. a \\token
9588
9589 2003-03-12  John Levon  <levon@movementarian.org>
9590
9591         * paragraph.C:
9592         * ParagraphParameters.h:
9593         * ParagraphParameters.C: move output code to a
9594         ::write() method
9595
9596 2003-03-12  John Levon  <levon@movementarian.org>
9597
9598         * BufferView.C (insertLyXFile):
9599         * buffer.h:
9600         * buffer.C:
9601         * tabular.C: use a parlist iterator for creating the
9602           document.
9603
9604 2003-03-12  John Levon  <levon@movementarian.org>
9605
9606         * buffer.C: make current_change static local not
9607           static file-scope
9608
9609 2003-03-12  John Levon  <levon@movementarian.org>
9610
9611         * buffer.C: fix insertStringAsLines for change tracking
9612
9613 2003-03-12  John Levon  <levon@movementarian.org>
9614
9615         * BufferView.C:
9616         * tabular.C:
9617         * buffer.h:
9618         * buffer.C:
9619         * bufferparams.h:
9620         * bufferparams.C: move author list into params. Rename some
9621           functions. Move the header reading into a separate token
9622           loop. Move the header token reading into BufferParams.
9623
9624 2003-03-12  John Levon  <levon@movementarian.org>
9625
9626         * changes.C: put debug inside lyxerr.debugging() checks
9627
9628 2003-03-11 André Pönitz <poenitz@gmx.net>
9629
9630         * factory.C: make it aware of InsetHFill
9631
9632 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9633
9634         * buffer.C (latexParagraphs): move function from here...
9635         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9636         args.
9637
9638 2003-03-10  Angus Leeming  <leeming@lyx.org>
9639
9640         * LyXAction.C (init): fix bug in poplating array with multiple entries
9641         with the same LFUN (spotted by JMarc).
9642
9643 2003-03-10  John Levon  <levon@movementarian.org>
9644
9645         * text.C:
9646         * text2.C: move getColumnNearX() near its
9647         only call site
9648
9649 2003-03-10  John Levon  <levon@movementarian.org>
9650
9651         * text.C: fix break before a minipage
9652
9653 2003-03-10  John Levon  <levon@movementarian.org>
9654
9655         * text.C: fix the last commit
9656
9657 2003-03-09  John Levon  <levon@movementarian.org>
9658
9659         * lyxtext.h:
9660         * text.C:
9661         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9662         bug 365 (don't break before insets unless needed). Don't
9663         return a value > last under any circumstances.
9664
9665 2003-03-09  Angus Leeming  <leeming@lyx.org>
9666
9667         * BufferView_pimpl.C (trackChanges, dispatch): call
9668         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9669
9670 2003-03-09  Angus Leeming  <leeming@lyx.org>
9671
9672         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9673         than Dialogs::showAboutlyx().
9674
9675 2003-03-09  Angus Leeming  <leeming@lyx.org>
9676
9677         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9678         than Dialogs::showTabularCreate().
9679
9680 2003-03-09  John Levon  <levon@movementarian.org>
9681
9682         * lyxtext.h:
9683         * text.C:
9684         * text2.C: 3rd arg to nextBreakPoint was always the same.
9685           Use references.
9686
9687 2003-03-08  John Levon  <levon@movementarian.org>
9688
9689         * lyxrow.C:
9690         * paragraph.C:
9691         * paragraph.h:
9692         * rowpainter.C:
9693         * text.C:
9694         * text2.C: Remove the "main" bit from the "main body"
9695           notion.
9696
9697 2003-03-08  John Levon  <levon@movementarian.org>
9698
9699         * text.C (leftMargin): The left margin of an empty
9700         manual label paragraph should not include the label width
9701         string length.
9702
9703         * text.C (prepareToPrint): don't attempt to measure hfills
9704         for empty manual label paragraphs - the answer should be 0
9705
9706 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9707
9708         * CutAndPaste.C: remove commented code and reindent.
9709
9710 2003-03-08  John Levon  <levon@movementarian.org>
9711
9712         * lyxfunc.h:
9713         * lyxfunc.C: move reloadBuffer()
9714
9715         * BufferView.h:
9716         * BufferView.C: to here
9717
9718         * lyxvc.C: add comment
9719
9720         * vc-backend.h:
9721         * vc-backend.C: call bv->reload() to avoid
9722           getStatus() check on MENURELOAD
9723
9724 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9725
9726         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9727         to an old format .dep file.
9728
9729 2003-03-07  Angus Leeming  <leeming@lyx.org>
9730
9731         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9732         when the LFUN_MOUSE_RELEASE should have been handled by
9733         inset->localDispatch.
9734
9735 2003-03-07  Angus Leeming  <leeming@lyx.org>
9736
9737         * BufferView_pimpl.C (dispatch):
9738         * LyXAction.C (init):
9739         * ToolbarDefaults.C (init):
9740         * commandtags.h:
9741         * lyxfunc.C (getStatus):
9742         remove LFUN_INSET_GRAPHICS.
9743
9744         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9745
9746 2003-03-07  Angus Leeming  <leeming@lyx.org>
9747
9748         * commandtags.h:
9749         * LyXAction.C (init):
9750         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9751
9752         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9753
9754         * commandtags.h:
9755         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9756
9757         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9758         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9759
9760 2003-03-07  Angus Leeming  <leeming@lyx.org>
9761
9762         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9763         remove "ert".
9764
9765 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9766
9767         * ParagraphList.C (front): new function
9768         (back): implement
9769
9770 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9771
9772         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9773         and top_row_offset_. removed var first_y.
9774         * text.C (top_y):
9775         * text2.C (LyXText, removeRow):
9776         * text3.C:
9777         * BufferView_pimpl.C:
9778         use these methods instead of using first_y
9779
9780 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9781
9782         * text2.C (pasteSelection): adjust for checkPastePossible
9783
9784         * CutAndPaste.C: remove Paragraph * buf and replace with
9785         ParagraphList paragraphs.
9786         (DeleteBuffer): delete
9787         (cutSelection): change the tc type to textclass_type
9788         (copySelection): change the tc type to textclass_type
9789         (copySelection): adjust for ParagraphList
9790         (pasteSelection): change the tc type to textclass_type
9791         (pasteSelection): adjust for Paragraphlist
9792         (nrOfParagraphs): simplify for ParagraphList
9793         (checkPastePossible): simplify for ParagraphList
9794         (checkPastePossible): remove unused arg
9795
9796         * ParagraphList.C (insert): handle the case where there are no
9797         paragraphs yet.
9798
9799         * CutAndPaste.h: make CutAndPaste a namespace.
9800
9801         * text3.C (dispatch): adjust
9802
9803         * text.C (breakParagraph): add a ParagraphList as arg
9804
9805         * paragraph_funcs.C (breakParagraph): change to take a
9806         BufferParams and a ParagraphList as args.
9807         (breakParagraphConservative): ditto
9808         (mergeParagraph): ditto
9809         (TeXDeeper): add a ParagraphList arg
9810         (TeXEnvironment): ditto
9811         (TeXOnePar): ditto
9812
9813         * buffer.C (readLyXformat2): adjust
9814         (insertStringAsLines): adjust
9815         (latexParagraphs): adjust
9816
9817         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9818         (cutSelection): adjust
9819         (pasteSelection): adjust
9820
9821         * BufferView_pimpl.C (insertInset): adjust
9822
9823 2003-03-05  Angus Leeming  <leeming@lyx.org>
9824
9825         * commandtags.h:
9826         * LyXAction.C (init):
9827         * BufferView_pimpl.C (dispatch):
9828         * lyxfunc.C (getStatus):
9829         remove LFUN_CHILD_INSERT.
9830
9831         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9832
9833 2003-03-05  Angus Leeming  <leeming@lyx.org>
9834
9835         * commandtags.h:
9836         * LyXAction.C (init):
9837         * src/factory.C (createInset):
9838         * lyxfunc.C (getStatus):
9839         * text3.C (dispatch):
9840         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9841
9842         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9843
9844 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9845
9846         * ParagraphList.C (insert): handle insert right before end()
9847         (erase): fix cases where it can be first or last paragraph.
9848
9849 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9850
9851         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9852         Paragraph::next and Paragraph::previous
9853         (TeXOnePar): ditto
9854
9855         * text.C (breakParagraph): adjust
9856
9857         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9858         BufferParams& as arg.
9859         (breakParagraph): use ParagraphList::insert
9860         (breakParagraphConservative): take a Buffer* instead of a
9861         BufferParams& as arg.
9862         (breakParagraphConservative): use ParagraphList::insert.
9863
9864         * buffer.C (insertStringAsLines): un-const it
9865         (insertStringAsLines): adjust
9866
9867         * ParagraphList.C (insert): new function
9868
9869         * CutAndPaste.C (pasteSelection): adjust
9870
9871         * text.C (backspace): adjust
9872
9873         * tabular.C (SetMultiColumn): adjust
9874
9875         * CutAndPaste.C (cutSelection): adjust
9876         (pasteSelection): adjust
9877
9878         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9879         Buffer const * as arg
9880
9881         * ParagraphList.C (erase): new function
9882         * paragraph_funcs.C (mergeParagraph): use it
9883         (mergeParagraph): make it take a Buffer* instead of a
9884         BufferParams* as arg
9885
9886         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9887         as arg
9888         (breakParagraphConservative): ditto
9889
9890         * paragraph.h: remove the breakParagraph friend
9891
9892         * paragraph.C (eraseIntern): new function
9893         (setChange): new function
9894
9895         * paragraph_funcs.C (mergeParagraph): make it take a
9896         ParagraphList::iterator instead of a Paragraph *, adjust
9897         accordingly.
9898
9899         * paragraph.h: move an #endif so that the change tracking stuff
9900         also works in the NO_NEXT case.
9901
9902 2003-03-04  Angus Leeming  <leeming@lyx.org>
9903
9904         * commandtags.h:
9905         * LyXAction.C: new LFUN_INSET_MODIFY.
9906
9907         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9908         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9909
9910 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9911
9912         * several files: ws changes only
9913
9914         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9915         (TeXEnvironment): ditto
9916         (TeXDeeper): ditto
9917
9918         * buffer.C (makeLaTeXFile): adjust
9919         (latexParagraphs): make it take ParagraphList::iterator as args
9920
9921 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9922
9923         * buffer.C (latexParagraphs): adjust
9924
9925         * paragraph.C (TeXOnePar): move function...
9926         (optArgInset): move function...
9927         (TeXEnvironment): move function...
9928         * paragraph_pimpl.C (TeXDeeper): move function...
9929         * paragraph_funcs.C: ...here
9930
9931         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9932
9933 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9934
9935         * buffer.C (readInset): remove compability code for old Figure and
9936         InsetInfo insets
9937
9938 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9939
9940         * buffer.C: ws changes
9941         (readInset):
9942
9943         * BufferView_pimpl.C: ditto
9944         * author.C: ditto
9945         * buffer.h: ditto
9946         * bufferlist.h: ditto
9947         * changes.h: ditto
9948         * lyxfunc.C: ditto
9949
9950 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9951
9952         * converter.[Ch]: split into itself +
9953         * graph.[Ch]
9954         * format.[Ch]
9955         * Makefile.am: += graph.[Ch] + format.[Ch]
9956         * MenuBackend.C
9957         * buffer.C
9958         * exporter.C
9959         * importer.C
9960         * lyx_main.C
9961         * lyxfunc.C
9962         * lyxrc.C: added #include "format.h"
9963
9964 2003-02-27  Angus Leeming  <leeming@lyx.org>
9965
9966         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9967           a label.
9968
9969         * factory.C (createInset): add "label" to the factory.
9970
9971         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9972           string and do no more.
9973
9974 2003-02-27  Angus Leeming  <leeming@lyx.org>
9975
9976         * commandtags.h:
9977         * LyXAction.C (init):
9978         * factory.C (createInset):
9979         * BufferView_pimpl.C (dispatch):
9980           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9981
9982         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9983
9984         * lyxfunc.C (dispatch):
9985         * text3.C (dispatch): pass name to params2string.
9986
9987 2003-02-26  Angus Leeming  <leeming@lyx.org>
9988
9989         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9990           blocks together.
9991           Rearrange the ~includes. Strip out the unnecessary ones.
9992
9993         * factory.C (createInset): reformat.
9994           create new insets for the various LFUN_XYZ_APPLY lfuns.
9995
9996 2003-02-26  John Levon  <levon@movementarian.org>
9997
9998         * lyxrow.h:
9999         * lyxrow.C: add isParStart,isParEnd helpers
10000
10001         * paragraph.h: make isInserted/DeletedText take refs
10002
10003         * paragraph_funcs.h:
10004         * paragraph_funcs.C: remove #if 0'd code
10005
10006         * lyxtext.h:
10007         * text3.C:
10008         * text2.C:
10009         * text.C: use lyxrow helpers above.
10010           Move draw and paint routines to RowPainter.
10011           Make several methods use refs not pointers.
10012           Make backgroundColor() const.
10013           Add markChangeInDraw(), isInInset().
10014           Merge changeRegionCase into changeCase.
10015           Make workWidth() shouldn't-happen code into an Assert.
10016
10017         * rowpainter.h:
10018         * rowpainter.C: new class for painting a row.
10019
10020         * vspace.h:
10021         * vspace.C: make inPixels take a ref
10022
10023 2003-02-26  Angus Leeming  <leeming@lyx.org>
10024
10025         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10026         LFUN_REF_APPLY.
10027
10028 2003-02-25  John Levon  <levon@movementarian.org>
10029
10030         * ispell.C: give the forked command a more accurate name
10031
10032 2003-02-22  John Levon  <levon@movementarian.org>
10033
10034         * toc.h:
10035         * toc.C: make TocItem store an id not a Paragraph *
10036           (bug #913)
10037
10038 2003-02-21  Angus Leeming  <leeming@lyx.org>
10039
10040         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10041           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10042           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10043           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10044           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10045           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10046
10047         * BufferView_pimpl.C (dispatch):
10048         * LyXAction.C (init):
10049         * factory.C (createInset):
10050         * lyxfunc.C (getStatus, dispatch):
10051         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10052
10053 2003-02-21  Angus Leeming  <leeming@lyx.org>
10054
10055         * BufferView_pimpl.C (MenuInsertLyXFile):
10056         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10057         * lyxfunc.C (menuNew, open, doImport):
10058           no longer pass a LyXView & to fileDlg.
10059
10060 2003-02-21  Angus Leeming  <leeming@lyx.org>
10061
10062         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10063         * LyXAction.C: change, BIBKEY to BIBITEM.
10064         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10065         Change InsetBibKey to InsetBibitem.
10066         Change BIBKEY_CODE to BIBITEM_CODE.
10067         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10068         * factory.C: replace insetbib.h with insetbibitem.h.
10069         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10070         * paragraph.C: replace insetbib.h with insetbibitem.h.
10071         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10072         Change bibkey() to bibitem().
10073         * text.C: remove insetbib.h.
10074         * text2.C: replace insetbib.h with insetbibitem.h.
10075         change bibkey() to bibitem().
10076         * text3.C: remove insetbib.h.
10077         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10078
10079 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10080
10081         * lyxrc.C (output): enclose user email in quotes (in case there are
10082         several words)
10083
10084 2003-02-18  John Levon  <levon@movementarian.org>
10085
10086         * buffer.h: add std::
10087
10088 2003-02-17  John Levon  <levon@movementarian.org>
10089
10090         * SpellBase.h:
10091         * ispell.h:
10092         * ispell.C:
10093         * pspell.h:
10094         * pspell.C: reworking. Especially in ispell, a large
10095           number of clean ups and bug fixes.
10096
10097         * lyxfunc.C: fix revert to behave sensibly
10098
10099 2003-02-17 André Pönitz <poenitz@gmx.net>
10100
10101         * LyXAction.C:
10102         * commandtags.h: new LFUN_INSERT_BIBKEY
10103
10104         * layout.h:
10105         * lyxlayout.C:
10106         * buffer.C:
10107         * factory.C:
10108         * text.C:
10109         * text2.C:
10110         * text3.C:
10111         * paragraph.[Ch]:
10112         * paragraph_func.C: remove special bibkey handling
10113
10114 2003-02-17  John Levon  <levon@movementarian.org>
10115
10116         * text.C (Delete): fix case where delete at the end of
10117           the very first paragraph would not merge the pars
10118
10119 2003-02-17  John Levon  <levon@movementarian.org>
10120
10121         * lyxrow.C: fix lastPrintablePos()
10122
10123 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10124
10125         * bufferparams.C (writeLaTeX): add a std:here
10126
10127         * buffer.C: and remove a using directive there
10128
10129 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10130
10131         * buffer.C (makeLaTeXFile): move the code that generates the
10132           preamble...
10133
10134         * bufferparams.C (writeLaTeX): ... in this new method
10135
10136         * LaTeXFeatures.C (getEncodingSet): make const
10137           (getLanguages): make const
10138
10139         * MenuBackend.C (binding): returns the binding associated to this
10140           action
10141           (add): sets the status of each item by calling getStatus. Adds
10142           some intelligence.
10143           (read): add support for OptSubMenu
10144           (expand): remove extra separator at the end of expanded menu
10145
10146 2003-02-15  John Levon  <levon@movementarian.org>
10147
10148         * BufferView.C:
10149         * BufferView_pimpl.C:
10150         * bufferlist.h:
10151         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10152           inset code that had no actual effect. Remove unneeded status
10153           code.
10154
10155 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10156
10157         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10158           in preamble
10159
10160 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10161
10162         * text.C (drawLengthMarker): also draw an arrow marker for
10163           symbolic lengths (medskip...)
10164
10165 2003-02-14  John Levon  <levon@movementarian.org>
10166
10167         * tabular.h:
10168         * tabular.C: better method names
10169
10170 2003-02-14  John Levon  <levon@movementarian.org>
10171
10172         * BufferView_pimpl.C:
10173         * bufferlist.C:
10174         * buffer.C:
10175         * converter.C:
10176         * lyx_cb.C:
10177         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10178           it's a more accurate name. Remove some pointless uses.
10179
10180 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10181
10182         * text2.C (LyXText): change order of initilizers to shut off
10183           warnings
10184
10185 2003-02-14  John Levon  <levon@movementarian.org>
10186
10187         * buffer.C: use ParIterator for getParFromID()
10188
10189         * paragraph.h:
10190         * paragraph.C:
10191         * paragraph_pimpl.h:
10192         * paragraph_pimpl.C: remove unused getParFromID()
10193
10194 2003-02-14  John Levon  <levon@movementarian.org>
10195
10196         * buffer.C: remove some very old #if 0'd parse code
10197
10198 2003-02-13  John Levon  <levon@movementarian.org>
10199
10200         * text.h:
10201         * text.C:
10202         * text2.C: move hfillExpansion(), numberOfSeparators(),
10203           rowLast(), rowLastPrintable(), numberofHfills(),
10204           numberOfLabelHfills() ...
10205
10206         * lyxrow.h:
10207         * lyxrow.C: ... to member functions here.
10208
10209         * paragraph.h:
10210         * paragraph.C:
10211         * lyxtext.h:
10212         * text.C: remove LyXText::beginningOfMainBody(), and call
10213           p->beginningOfMainBody() directly. Move the check for
10214           LABEL_MANUAL into the latter.
10215
10216         * text.h:
10217         * text.C:
10218         * text2.C:
10219         * vspace.C:
10220         * BufferView.h:
10221         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10222
10223         * text.h:
10224         * text.C:
10225         * text2.C:
10226         * text3.C:
10227         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10228           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10229
10230 2003-02-13  John Levon  <levon@movementarian.org>
10231
10232         * CutAndPaste.C: remove debug
10233
10234 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10235
10236         * paragraph.C (asString): remove two unused variables
10237
10238         * lyxtextclass.C (readTitleType):
10239           (Read):
10240           (LyXTextClass): handle new members titletype_ and titlename_
10241
10242         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10243
10244 2003-02-09  John Levon  <levon@movementarian.org>
10245
10246         * buffer.h:
10247         * buffer.C: replace hand-coded list with a map for the dep clean
10248
10249 2003-02-08  John Levon  <levon@movementarian.org>
10250
10251         * LaTeX.C: consolidate code into showRunMessage() helper
10252
10253 2003-02-08  John Levon  <levon@movementarian.org>
10254
10255         * lyxfind.C:
10256         * lyxtext.h:
10257         * text2.C:
10258         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10259           and pass the size in explicitly
10260
10261         * BufferView_pimpl.h:
10262         * BufferView_pimpl.C:
10263         * BufferView.h:
10264         * BufferView.C: add getCurrentChange()
10265
10266         * BufferView_pimpl.h:
10267         * BufferView_pimpl.C: handle change lfuns
10268
10269         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10270           for changes. Mark pasted paragraphs as new.
10271
10272         * support/lyxtime.h:
10273         * support/lyxtime.C:
10274         * DepTable.C: abstract time_t as lyx::time_type
10275
10276         * LColor.h:
10277         * LColor.C: add colours for new text, deleted text, changebars
10278
10279         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10280           package use "usenames" option.
10281
10282         * commandtags.h:
10283         * lyxfunc.C:
10284         * LyXAction.C: add change lfuns
10285
10286         * Makefile.am:
10287         * author.h:
10288         * author.C: author handling
10289
10290         * buffer.h:
10291         * buffer.C: add a per-buffer author list, with first entry as
10292           current author. Handle new .lyx tokens for change tracking. Output
10293           author list to .lyx file. Output dvipost stuff to .tex preamble.
10294           Bump lyx format to 222.
10295
10296         * bufferlist.h:
10297         * bufferlist.C: add setCurrentAuthor() to reset current author details
10298           in all buffers.
10299
10300         * bufferparams.h:
10301         * bufferparams.C: add param for tracking
10302
10303         * bufferview_funcs.C: output change info in minibuffer
10304
10305         * Makefile.am:
10306         * changes.h:
10307         * changes.C: add change-tracking structure
10308
10309         * debug.h:
10310         * debug.C: add CHANGES debug flag
10311
10312         * lyxfind.h:
10313         * lyxfind.C: add code for finding the next change piece
10314
10315         * lyxrc.h:
10316         * lyxrc.C: add user_name and user_email
10317
10318         * lyxrow.h:
10319         * lyxrow.C: add a metric for the top of the text line
10320
10321         * lyxtext.h:
10322         * text.C: implement accept/rejectChange()
10323
10324         * lyxtext.h:
10325         * text.C: paint changebars. Paint new/deleted text in the chosen
10326         colours. Strike through deleted text.
10327
10328         * paragraph.h:
10329         * paragraph.C:
10330         * paragraph_pimpl.h:
10331         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10332           in the current change to the insert functions. Rework erase to
10333           mark text as deleted, adding an eraseIntern() and a range-based
10334           erase(). Implement per-paragraph change lookup and
10335           accept/reject.
10336
10337         * paragraph_funcs.C: Fixup paste for change tracking.
10338
10339         * tabular.C: mark added row/columns as new.
10340
10341         * text.C: fix rowLast() to never return -1. Don't allow
10342           spellchecking of deleted text. Track transpose changes. Don't
10343           allow paragraph break or merge where appropriate.
10344
10345         * text2.C: leave cursor at end of selection after a cut.
10346
10347 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10348
10349         * text.C (getLengthMarkerHeight):
10350         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10351         visible on screen too.
10352
10353 2003-02-07  John Levon  <levon@movementarian.org>
10354
10355         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10356
10357 2003-02-05  Angus Leeming  <leeming@lyx.org>
10358
10359         * lyxserver.C (read_ready): revert my patch of 11 September last year
10360         as it sends PC cpu through the roof. Presumably this means that
10361         the lyxserver will no longer run on an Alpha...
10362
10363 2003-01-30  Angus Leeming  <leeming@lyx.org>
10364
10365         * factory.C (createInset): create an InsetCommandParam of type "index"
10366         and use it to 'do the right thing'.
10367
10368         * text2.C (getStringToIndex): ensure that cursor position is always
10369         reset to the reset_cursor position.
10370
10371 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10372
10373         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10374         disabled.
10375
10376 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10377
10378         * bufferview.C:
10379         * lyxcb.C:
10380         * lyxfunc.C: Output messages with identical spelling, punctuation,
10381         and spaces
10382
10383 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10384
10385         * MenuBackend.C (expandFormats): List only viewable export formats
10386         in "View" menu
10387
10388         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10389         message
10390
10391         * lyxfunc.C (getStatus): Make sure that formats other than
10392         "fax" can also be disabled
10393
10394 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10395
10396         * text3.C (dispatch): put the lfuns that insert insets in 3
10397         groups, and call doInsertInset with appropriate arguments.
10398         (doInsertInset): new function, that creates an inset and inserts
10399         it according to some boolean parameters.
10400
10401 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10402
10403         * buffer.C (readFile): remember to pass on 'par' when calling
10404         readFile recursively.
10405
10406 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10407
10408         * MenuBackend.C (expandFormats): add "..." to import formats.
10409
10410 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10411
10412         * paragraph.C (asString): Remove XForms RTL hacks.
10413
10414 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10415         * buffer.C: fix typo
10416
10417 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10418
10419         * Makefile.am (LIBS): delete var
10420         (lyx_LDADD): add @LIBS@ here instead.
10421
10422 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10423
10424         * Clarify the meaning of "wheel mouse jump"
10425
10426 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10427
10428         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10429         tabular in a float
10430
10431 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10432
10433         * importer.C (Loaders): do not preallocate 3 elements in the
10434         vector, since one ends up with 6 elements otherwise
10435
10436 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10437
10438         * DepTable.C (write): write the file name as last element of the
10439         .dep file (because it may contain spaces)
10440         (read): read info in the right order
10441
10442 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10443
10444         * paragraph_pimpl.C (simpleTeXBlanks):
10445         (simpleTeXSpecialChars):
10446         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10447
10448         * tabular.C (latex): add some missing case statements. Reindent.
10449
10450         * MenuBackend.C (expandToc): remove unused variable.
10451
10452 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10453
10454         * LColor.C:
10455         * LaTeX.C:
10456         * LyXAction.C:
10457         * MenuBackend.C:
10458         * buffer.C:
10459         * exporter.C:
10460         * lyxfunc.C:
10461         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10462         and the like.
10463
10464 2003-01-05  John Levon  <levon@movementarian.org>
10465
10466         * BufferView.h:
10467         * BufferView.C: add getEncoding()
10468
10469         * kbsequence.h:
10470         * kbsequence.C: do not store last keypress
10471
10472         * lyxfunc.h:
10473         * lyxfunc.C: store last keypress here instead. Pass encoding
10474           to getISOEncoded()
10475
10476 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10477
10478         * lyx_main.C (init): remove annoying error message when following
10479         symbolic links (bug #780)
10480
10481 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10482
10483         * text.C (insertChar):
10484         * lyxrc.C (getDescription): remove extra spaces
10485
10486 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10487
10488         * lyxrc.C (getDescription): remove extra spaces
10489
10490 2002-12-20  John Levon  <levon@movementarian.org>
10491
10492         * text3.C: hack fix for page up/down across tall rows
10493
10494 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10495
10496         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10497         not been invoked
10498
10499 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10500
10501         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10502         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10503         thesaurus is not compiled in
10504
10505 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10506
10507         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10508
10509 2002-12-16  Angus Leeming  <leeming@lyx.org>
10510
10511         * lyxrc.[Ch]:
10512         * lyx_main.C (init): remove override_x_deadkeys stuff.
10513
10514 2002-12-12  John Levon  <levon@movementarian.org>
10515
10516         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10517           insert. Only remove shift modifier under strict
10518           circumstances.
10519
10520 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10521
10522         * MenuBackend.C (expandToc): fix crash.
10523
10524 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10525
10526         * MenuBackend.C (expandToc): gettext on float names.
10527
10528 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10529
10530         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10531         implement bool empty() [bug 490]
10532
10533 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10534
10535         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10536
10537 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10538
10539         * several files: ws changes
10540
10541 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10542
10543         * text2.C (setCounter): clean up a bit, use boost.format.
10544         (updateCounters): initialize par upon declaration.
10545
10546         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10547         if the layout exists. We do not just store the layout any more.
10548         (SwitchLayoutsBetweenClasses): use boost.format
10549
10550 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10551
10552         * converter.C (convert): if from and to files are the same, use a
10553         temporary files as intermediary
10554
10555 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10556
10557         * commandtags.h:
10558         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10559
10560 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10561
10562         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10563
10564 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10565
10566         * tabular.C (asciiPrintCell): use string(size, char) instead of
10567         explicit loop.
10568
10569         * sgml.C (openTag): fix order of arguments to string constructor
10570         (closeTag): ditto
10571
10572         * lyxfunc.C (dispatch): use boost.format
10573
10574         * lots of files: change "c" -> 'c'
10575
10576 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10577
10578         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10579
10580 2002-11-25  Angus Leeming  <leeming@lyx.org>
10581
10582         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10583
10584         * lyx_main.C (init): compile fix.
10585
10586 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10587
10588         * lyx_cb.C (start): boost.formatify
10589         do not include <iostream>
10590
10591         * lengthcommon.C: ws only
10592
10593         * boost-inst.C,BoostFormat.h: add more explict instantations
10594
10595 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10596
10597         * lots of files: handle USE_BOOST_FORMAT
10598
10599 2002-11-21  John Levon  <levon@movementarian.org>
10600
10601         * pspell.C: fix compile
10602
10603 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10604
10605         * lyxfunc.C (dispatch): use boost::format
10606         (open): ditto
10607         (doImport): ditto
10608
10609         * lyxfont.C (stateText): use boost::format
10610
10611         * lyx_main.C (LyX): use boost::format
10612         (init): ditto
10613         (queryUserLyXDir): ditto
10614         (readRcFile): ditto
10615         (parse_dbg): ditto
10616         (typedef boost::function): use the recommened syntax.
10617
10618         * importer.C (Import): use boost::format
10619
10620         * debug.C (showLevel): use boost::format
10621
10622         * converter.C (view): use boost::format
10623         (convert): ditto
10624         (move): ditto
10625         (scanLog): ditto
10626
10627         * bufferview_funcs.C (currentState): use boost::format
10628
10629         * bufferlist.C (emergencyWrite): use boost::format
10630
10631         * buffer.C (readLyXformat2): use boost::format
10632         (parseSingleLyXformat2Token): ditto
10633
10634         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10635
10636         * LaTeX.C (run): use boost::format
10637
10638         * Chktex.C (scanLogFile): use boost::format
10639
10640         * BufferView_pimpl.C (savePosition): use boost::format
10641         (restorePosition): ditto
10642         (MenuInsertLyXFile): ditto
10643
10644         * BoostFormat.h: help file for explicit instation.
10645
10646 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10647
10648         * tabular.C (latex): Support for block alignment in fixed width
10649         columns.
10650
10651 2002-11-17  John Levon  <levon@movementarian.org>
10652
10653         * BufferView_pimpl.C:
10654         * lyx_cb.C:
10655         * lyxfunc.C: split filedialog into open/save
10656
10657 2002-11-08  Juergen Vigna  <jug@sad.it>
10658
10659         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10660         by my last patch (hopefully).
10661
10662 2002-11-08  John Levon  <levon@movementarian.org>
10663
10664         * iterators.h:
10665         * iterators.C:
10666         * buffer.h:
10667         * buffer.C:
10668         * paragraph.h:
10669         * paragraph.C:
10670         * toc.h:
10671         * toc.C: ParConstIterator, and use it (from Lars)
10672
10673 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10674
10675         * lyxtextclass.[Ch]: revise and add doxygen comments
10676
10677 2002-11-07  John Levon  <levon@movementarian.org>
10678
10679         * text.C: fix progress value for spellchecker
10680
10681         * toc.C: fix navigate menu for insetwrap inside minipage
10682
10683         * paragraph_funcs.C: added FIXME for suspect code
10684
10685 2002-11-07  John Levon  <levon@movementarian.org>
10686
10687         * BufferView_pimpl.C: fix redrawing of insets
10688           on buffer switch
10689
10690 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10691
10692         * text2.C (updateCounters): fix bug 668
10693
10694 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10695
10696         * text3.C (dispatch): Do not make the buffer dirty when moving the
10697         cursor.
10698
10699 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10700
10701         * vc-backend.C: STRCONV
10702         (scanMaster): ditto
10703
10704         * text2.C (setCounter): STRCONV
10705
10706         * paragraph.C (asString): STRCONV
10707
10708         * lyxlength.C (asString): STRCONV
10709         (asLatexString): ditto
10710
10711         * lyxgluelength.C (asString): STRCONV
10712         (asLatexString): ditto
10713
10714         * lyxfunc.C (dispatch): STRCONV
10715         (open): ditto
10716
10717         * lyxfont.C (stateText): STRCONV
10718
10719         * importer.C (Import): STRCONV
10720
10721         * counters.C (labelItem): STRCONV
10722         (numberLabel): ditto
10723         (numberLabel): remove unused ostringstream o
10724
10725         * chset.C: STRCONV
10726         (loadFile): ditto
10727
10728         * bufferview_funcs.C (currentState): STRCONV
10729
10730         * buffer.C (readFile): STRCONV
10731         (asciiParagraph): ditto
10732         (makeLaTeXFile): ditto
10733
10734         * Spacing.C (writeEnvirBegin): STRCONV
10735
10736         * LaTeXFeatures.C (getLanguages): STRCONV
10737         (getPackages): ditto
10738         (getMacros): ditto
10739         (getBabelOptions): ditto
10740         (getTClassPreamble): ditto
10741         (getLyXSGMLEntities): ditto
10742         (getIncludedFiles): ditto
10743
10744         * LaTeX.C: STRCONV
10745         (run): ditto
10746         (scanAuxFile): ditto
10747         (deplog): ditto
10748
10749         * LString.h: add the STRCONV macros
10750
10751         * BufferView_pimpl.C (savePosition): STRCONV
10752         (restorePosition): ditto
10753         (MenuInsertLyXFile): ditto
10754
10755         * vc-backend.C (scanMaster): change from submatch[...] to
10756         submatch.str(...)
10757
10758         * funcrequest.C: include config.h
10759
10760         * factory.C: include config.h
10761
10762         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10763
10764         * box.C: include config.h
10765
10766         * LaTeX.C (scanAuxFile): change from submatch[...] to
10767         submatch.str(...)
10768         (deplog): ditto
10769
10770 2002-10-25  Angus Leeming  <leeming@lyx.org>
10771
10772         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10773
10774         * ispell.[Ch] (setError): new method.
10775         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10776         Use setError() insetead of goto END.
10777
10778         * lyx_cb.C (AutoSave): move out child process into new class
10779         AutoSaveBuffer.
10780
10781 2002-10-30  John Levon  <levon@movementarian.org>
10782
10783         * text3.C: make start appendix undoable
10784
10785 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10786
10787         * lyxlength.C (inPixels): Fix returned value.
10788
10789         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10790         environment.
10791
10792 2002-10-24  Angus Leeming  <leeming@lyx.org>
10793
10794         * lyxgluelength.h: no need to forward declare BufferParams
10795         or BufferView, so don't.
10796
10797 2002-10-21  John Levon  <levon@movementarian.org>
10798
10799         * BufferView.C: menuUndo ->undo, redo
10800
10801         * BufferView.h: document, remove dead, make some methods private
10802
10803         * paragraph_funcs.h:
10804         * paragraph_funcs.C:
10805         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10806
10807         * buffer.h:
10808         * buffer.C:
10809         * sgml.h:
10810         * sgml.C: move sgml open/close tag into sgml.C
10811
10812         * bufferview_funcs.h: unused prototype
10813
10814         * lyxfunc.h:
10815         * lyxfunc.C: remove unused
10816
10817         * lyxtext.h:
10818         * text.C: remove unused
10819
10820 2002-10-21  John Levon  <levon@movementarian.org>
10821
10822         * BufferView.h:
10823         * BufferView.C:
10824         * BufferView_pimpl.h:
10825         * BufferView_pimpl.C: fix mouse wheel handling based on
10826           patch from Darren Freeman
10827
10828 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10829
10830         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10831
10832 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10833
10834         * lyxlength.C (inPixels): Fix hanfling of negative length.
10835         Fix LyXLength::MU case.
10836
10837 2002-10-16  John Levon  <levon@movementarian.org>
10838
10839         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10840
10841 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10842
10843         * converter.C (view): add support for $$i (file name) and $$p
10844         (file path) for the viewer command. If $$i is not specified, then
10845         it is appended to the command (for compatibility with old syntax)
10846
10847 2002-10-14  Juergen Vigna  <jug@sad.it>
10848
10849         * undo_funcs.C (textHandleUndo): alter the order in which the
10850         new undopar is added to the LyXText, as we have to set first
10851         the right prev/next and then add it as otherwise the rebuild of
10852         LyXText is not correct. Also reset the cursor to the right paragraph,
10853         with this IMO we could remove the hack in "redoParagraphs()".
10854
10855 2002-10-09  Angus Leeming  <leeming@lyx.org>
10856
10857         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10858         to turn off an optimisation if a new inset is to be inserted.
10859
10860 2002-10-11 André Pönitz <poenitz@gmx.net>
10861
10862         * lyxtext.h: make some functions public to allow access
10863         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10864
10865 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10866
10867         * text3.C (dispatch): when changing layout, avoid an infinite loop
10868         [bug #652]
10869
10870 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10871
10872         * lyxrc.C (read): treat a viewer or converter command of "none" as
10873         if it were empty.
10874
10875         * MenuBackend.C (expandFormats): for an update, also allow the
10876         formats that are not viewable
10877
10878         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10879         script if it is newer than the lyxrc.defaults in user directory
10880
10881 2002-10-07 André Pönitz <poenitz@gmx.net>
10882
10883         * text.C: Vitaly Lipatov's small i18n fix
10884
10885 2002-09-25  Angus Leeming  <leeming@lyx.org>
10886
10887         * ispell.h: doxygen fix.
10888
10889 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10890
10891         * buffer.h (readFile): Add a new argument to the method, to allow
10892         reading of old-format templates.
10893
10894 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10895
10896         * toc.C (getTocList): Get TOC from InsetWrap.
10897
10898 2002-09-16  John Levon  <levon@movementarian.org>
10899
10900         * lyxfunc.C: check tabular for cut/copy too
10901
10902 2002-09-12  John Levon  <levon@movementarian.org>
10903
10904         * LyXAction.C: tidy
10905
10906         * factory.h:
10907         * factory.C: add header
10908
10909         * paragraph_funcs.h:
10910         * paragraph_funcs.C: cleanup
10911
10912 2002-09-11  John Levon  <levon@movementarian.org>
10913
10914         * PrinterParams.h: odd/even default to true
10915
10916 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10917
10918         * PrinterParams.h: update printer parameters for new xforms dialog
10919
10920 2002-09-11  Angus Leeming  <leeming@lyx.org>
10921
10922         * lyxserver.C (read_ready): re-write to make it more transparent
10923         and to make it work in coherent fashion under Tru64 Unix.
10924
10925 2002-09-11  André Pönitz <poenitz@gmx.net>
10926
10927         * commandtags.h:
10928         * LyXAction.C:
10929         * text3.C: implement LFUN_WORDSEL
10930
10931 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10932
10933         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10934         make floatlist_ a boost::shared_ptr<FloatList>
10935
10936         * lyxtextclass.C: include FloatList.h
10937         (LyXTextClass): initialize floatlist_
10938         (TextClassTags): add TC_NOFLOAT
10939         (Read): match "nofloat" to TC_NOFLOAT and use it.
10940         (readFloat): modify call to floatlist_
10941         (floats): ditto
10942         (floats): ditto
10943
10944         * FloatList.[Ch] (FloatList): remove commented out float
10945         initialization.
10946         (erase): new function
10947
10948 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10949
10950         * MenuBackend.C (expandToc): fix crash when there is no document
10951         open
10952
10953 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10954
10955         * many files: Add insetwrap.
10956
10957 2002-09-09  John Levon  <levon@movementarian.org>
10958
10959         * text2.C: remove confusing and awkward depth wraparound
10960
10961 2002-09-09  John Levon  <levon@movementarian.org>
10962
10963         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10964
10965         * buffer.h:
10966         * buffer.C: remove getIncludeonlyList()
10967
10968         * paragraph.C:
10969         * lyxfunc.C: remove headers
10970
10971 2002-09-09  Juergen Vigna  <jug@sad.it>
10972
10973         * text.C (getColumnNearX): fix form Michael this is most
10974         probably a cut&paste bug.
10975
10976 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10977
10978         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10979
10980         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10981         references, ws changes.
10982
10983         * text2.C (init): update counters after init
10984         (insertParagraph): no need to set counter on idividual paragraphs.
10985         (setCounter): access the counters object in the textclass object
10986         on in the buffer object.
10987         (updateCounters): ditto
10988
10989         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10990         shared_ptr<Counters> to avoid loading counters.h in all
10991         compilation units.
10992         (LyXTextClass): initialize ctrs_
10993         (TextClassTags): add TC_COUNTER, and ...
10994         (Read): use it here.
10995         (CounterTags): new tags
10996         (readCounter): new function
10997         (counters): new funtion
10998         (defaultLayoutName): return a const reference
10999
11000         * counters.C (Counters): remove contructor
11001         (newCounter): remove a couple of unneeded statements.
11002         (newCounter): simplify a bit.
11003         (numberLabel): some small formatting changes.
11004
11005         * buffer.[Ch]: remove all traces of counters, move the Counters
11006         object to the LyXTextClass.
11007
11008 2002-09-06  Alain Castera  <castera@in2p3.fr>
11009
11010         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11011         package to set the horizontal alignment on fixed width columns.
11012
11013         * lyx_sty.C:
11014         * lyx_sty.h: added tabularnewline macro def.
11015
11016         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11017
11018 2002-09-06  John Levon  <levon@movementarian.org>
11019
11020         * LyXAction.C: tooltips for sub/superscript
11021
11022         * MenuBackend.C: a bit more verbose
11023
11024         * lyxfunc.C: tiny clean
11025
11026         * undo_funcs.C: document undo_frozen
11027
11028 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11029
11030         * counters.C (Counters): add missing algorithm counter.
11031
11032         * text2.C (setCounter): lookup the counter with layouts latexname
11033         instead of by section number.
11034         (setCounter): use a hackish way to lookup the correct enum
11035         counter.
11036         a float name->type change
11037         reset enum couners with counter name directly instead of depth value.
11038
11039         * counters.C (Counters): remove the push_backs, change to use the
11040         float type not the float name.
11041         (labelItem): remove unused string, float name->type change
11042
11043         * counters.h: don't include vector, loose the enums and sects vectors
11044
11045 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11046
11047         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11048         (Read): add float->TC_FLOAT to textclassTags
11049         (Read): and handle it in the switch
11050         (readFloat): new function
11051
11052         * FloatList.C (FloatList): comment out the hardcoded float
11053         definitions.
11054
11055         * lyxlayout.h: ws change.
11056
11057 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11058
11059         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11060
11061 2002-09-03  Angus Leeming  <leeming@lyx.org>
11062
11063         * BufferView_pimpl.h: qualified name is not allowed in member
11064         declaration: WorkArea & Pimpl::workarea() const;
11065
11066         * factory.C: added using std::endl directive.
11067
11068         * text3.C: added using std::find and std::vector directives.
11069
11070 2002-08-29  André Pönitz <poenitz@gmx.net>
11071
11072         * lyxtext.h:
11073         * text2.C: remove unused member number_of_rows
11074
11075         * Makefile.am:
11076         * BufferView2.C: remove file, move contents to...
11077         * BufferView.C: ... here
11078
11079         * BufferView_pimpl.C:
11080         * factory.C: move more inset creation to factory
11081
11082         * vspace.C: avoid direct usage of LyXText, ws changes
11083
11084         * BufferView.[Ch]:
11085                 don't provide direct access to WorkArea, use two simple
11086                 acessors haveSelction() and workHeight() instead
11087
11088
11089 2002-08-29  John Levon  <levon@movementarian.org>
11090
11091         * BufferView_pimpl.C (dispatch): do not continue when
11092           no buffer
11093
11094 2002-08-28  André Pönitz <poenitz@gmx.net>
11095
11096         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11097
11098         * BufferView.h:
11099         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11100
11101 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11102
11103         * buffer.C: increment LYX_FORMAT to 221
11104
11105         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11106         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11107
11108         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11109
11110         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11111
11112 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11113
11114         * factory.C (createInset): use LyXTextClass::floats
11115
11116         * MenuBackend.C (expandFloatListInsert):
11117         (expandFloatInsert):
11118         (expandToc):
11119
11120         * text2.C (setCounter):
11121
11122         * LaTeXFeatures.C (useFloat):
11123         (getFloatDefinitions):
11124
11125         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11126
11127         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11128         floatlist_, with accessor floats().
11129
11130         * FloatList.h: remove global FloatList
11131
11132 2002-08-26  André Pönitz <poenitz@gmx.net>
11133
11134         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11135
11136         * BufferView.h:
11137         * BufferView2.C:
11138         * BufferView_pimpl.C:
11139         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11140
11141 2002-08-25  John Levon  <levon@movementarian.org>
11142
11143         * LyXAction.C: fix margin note description
11144
11145 2002-08-24  John Levon  <levon@movementarian.org>
11146
11147         * buffer.C:
11148         * bufferlist.C:
11149         * bufferview_funcs.C:
11150         * lyxfont.C:
11151         * undo_funcs.C: cleanups
11152
11153         * lyxfunc.C: disable CUT/COPY when no selection
11154
11155 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11156
11157         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11158         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11159
11160         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11161         Add backward compatibility to "mono", "gray" and "no".
11162
11163 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11164
11165         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11166         (and file_format >= 200).
11167
11168 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11169
11170         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11171
11172 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11173
11174         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11175
11176 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11177
11178         * BufferView_pimpl.C:
11179         * LyXAction.C:
11180         * buffer.C:
11181         * commandtags.h:
11182         * lyxfunc.C:
11183         * paragraph.[Ch]:
11184         * text2.C:
11185         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11186         inset and code to make it  work with the paragraph code. The inset
11187         can be anywhere in the paragraph, but will only do the expected
11188         thing in LaTeX if the layout file contains the parameter line
11189                         OptionalArgs    1
11190         (or more generally, a nonzero value) for that layout.
11191
11192 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11193
11194         * paragraph.h: remove the declaration of undefined counters class
11195         function.
11196
11197 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11198
11199         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11200         Dr. Richard Hawkins.
11201
11202 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11203
11204         * paragraph_funcs.h: remove some unneeded includes
11205
11206         * text.C (backspace): pasteParagraph now in global scipe
11207
11208         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11209         (pasteSelection): ditto
11210
11211         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11212         * paragraph_funcs.C (pasteParagraph): ... here
11213
11214 2002-08-20  André Pönitz <poenitz@gmx.net>
11215
11216         * commandtags.h: new LFUNs for swapping/copying table row/colums
11217
11218         * LyXAction.C:
11219         * lyxfunc.C: support for new lfuns
11220
11221 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11222
11223         * tabular.C:
11224         * buffer.[Ch]: remove NO_COMPABILITY stuff
11225
11226 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11227
11228         * boost.C (throw_exception): new file, with helper function for
11229         boost compiled without exceptions.
11230
11231         * paragraph.h:
11232         * lyxlength.C:
11233         * buffer.C:
11234         * ParameterStruct.h:
11235         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11236
11237         * bufferlist.C (emergencyWriteAll): use boost bind
11238
11239         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11240
11241         * text.C: include paragraph_funcs.h
11242         (breakParagraph): breakParagraph is now in global scope
11243
11244         * paragraph_funcs.[Ch]: new files
11245
11246         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11247         global scope
11248
11249         * buffer.C: include paragraph_funcs.h
11250         (insertStringAsLines): breakParagraph is now in global scope
11251
11252         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11253         paragraph_funcs.C
11254
11255         * CutAndPaste.C: include paragraph_funcs.h
11256         (cutSelection): breakParagraphConservative is now in global scope
11257         (pasteSelection): ditto
11258
11259         * buffer.h: declare oprator== and operator!= for
11260         Buffer::inset_iterator
11261
11262         * bufferlist.C (emergencyWrite): don't use fmt(...)
11263
11264         * text3.C: add using std::endl
11265
11266         * BufferView.C (moveCursorUpdate): remove default arg
11267
11268 2002-08-20  André Pönitz <poenitz@gmx.net>
11269
11270         * buffer.[Ch]: move inline functions to .C
11271
11272         * BufferView2.C:
11273         * BufferView_pimpl.C:
11274         * text.C:
11275         * buffer.[Ch]: use improved inset_iterator
11276
11277         * buffer.C:
11278         * paragraph.[Ch]: write one paragraph at a time
11279
11280 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11281
11282         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11283         style if style is not specified.
11284
11285 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * text2.C (setCounter): when searching for right label for a
11288         caption, make sure to recurse to parent insets (so that a caption
11289         in a minipage in a figure float works) (bug #568)
11290
11291 2002-08-20  André Pönitz <poenitz@gmx.net>
11292
11293         * text3.C: new file for LyXText::dispatch() and helpers
11294
11295         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11296
11297         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11298
11299 2002-08-19  André Pönitz <poenitz@gmx.net>
11300
11301         * lyxtext.h:
11302         * text.C: new LyXText::dispatch()
11303
11304         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11305
11306 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11307
11308         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11309
11310         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11311         Hebrew text.
11312
11313 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11314
11315         * Makefile.am: use $(variables) instead of @substitutions@
11316
11317 2002-08-15  André Pönitz <poenitz@gmx.net>
11318
11319         * lyxfunc.C:
11320         * BufferView_pimpl.C: streamlining mathed <-> outer world
11321         interaction
11322
11323         * commandtags.h:
11324         * LyXAction.C: remove unused LFUN_MATH
11325
11326 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11327
11328         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11329
11330 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11331
11332         * paragraph.C (Paragraph): reformat a bit
11333         (cutIntoMinibuffer): use builtin InsetList function instad of
11334         doing it manually.
11335         (getInset): ditto
11336
11337         * buffer.C: include boost/bind.hpp, add using std::for_each
11338         (writeFileAscii): use ParagraphList iterators
11339         (validate): use for_each for validate traversal of paragraphs
11340         (getBibkeyList): use ParagraphList iterators
11341         (resizeInsets): use for_each to resizeInsetsLyXText for all
11342         paragraphs.
11343         (getParFromID): use ParagraphList iterators
11344
11345         * BufferView2.C (lockInset): use paragraph list and iterators
11346
11347 2002-08-14  John Levon  <levon@movementarian.org>
11348
11349         * lyxserver.C: remove spurious xforms include
11350
11351 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11352
11353         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11354
11355 2002-08-13  André Pönitz <poenitz@gmx.net>
11356
11357         * LyXAction.[Ch]:
11358         * lyxfunc.C: further cleaning
11359
11360 2002-08-13  André Pönitz <poenitz@gmx.net>
11361
11362         * funcrequest.h: new constructor
11363
11364         * funcrequest.C: move stuff here from .h
11365
11366         * Makefile.am:
11367         * BufferView_pimpl.C:
11368         * LyXAction.C:
11369         * toc.C:
11370         * lyxfunc.C: subsequent changes
11371
11372         * lyxfunc.h: new view() member function
11373
11374         * lyxfunc.C: subsequent changes
11375
11376 2002-08-13  Angus Leeming  <leeming@lyx.org>
11377
11378         * BufferView2.C:
11379         * BufferView_pimpl.C:
11380         * buffer.C:
11381         * converter.C:
11382         * importer.C:
11383         * lyxfunc.C:
11384         * lyxvc.C:
11385         * toc.C:
11386         * vc-backend.C:
11387         changes due to the changed LyXView interface that now returns references
11388         to member variables not pointers.
11389
11390 2002-08-13  Angus Leeming  <leeming@lyx.org>
11391
11392         * WordLangTuple (word, lang_code): return references to strings,
11393         not strings.
11394
11395         * BufferView.h:
11396         * SpellBase.h:
11397         * lyxtext.h: forward-declare WordLangTuple.
11398
11399         * BufferView2.C:
11400         * ispell.C:
11401         * pspell.C:
11402         * text.C: #include "WordLangTuple.h".
11403
11404         * lyxtext.h:
11405         * text.C: (selectNextWordToSpellcheck): constify return type.
11406
11407 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11408
11409         * buffer.C:
11410         * buffer.h:
11411         * lyxtext.h:
11412         * paragraph.C:
11413         * paragraph_pimpl.h:
11414         * text.C:
11415         * text2.C:
11416         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11417         suggested by Angus.
11418         Made updateCounter always count from start of buffer, and removed
11419         second argument (par).
11420         Reverted floats number display to '#'. Perhaps I'll try again when the
11421         code base is sanitized a bit.
11422
11423 2002-08-12  Angus Leeming  <leeming@lyx.org>
11424
11425         * buffer.[Ch] (getLabelList): constify.
11426
11427 2002-08-07  André Pönitz <poenitz@gmx.net>
11428
11429         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11430
11431         * funcrequest.h: extension to keep mouse (x,y) position
11432
11433 2002-08-12  Juergen Vigna  <jug@sad.it>
11434
11435         * BufferView2.C (insertErrors): forbid undo when inserting error
11436         insets.
11437
11438         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11439
11440 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11441
11442         * ParagraphList.[Ch]: new files
11443
11444         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11445
11446         * BufferView2.C (lockInset): ParagraphList changes
11447         * toc.C: ditto
11448         * text2.C: ditto
11449         * bufferlist.C: ditto
11450         * buffer.h: ditto
11451         * buffer.C: ditto
11452
11453 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11454
11455         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11456         unused class variable counter_,
11457
11458         * paragraph.[Ch] (getFirstCounter): delete unused function
11459
11460         * counters.C: include LAssert.h
11461         (reset): add a new function with no arg, change other version to
11462         not have def. arg and to not allow empty arg.
11463
11464         * text2.C (setCounter): remove empty arg from call to Counters::reset
11465
11466 2002-08-11  John Levon  <levon@movementarian.org>
11467
11468         * Makefile.am: add WordLangTuple.h
11469
11470 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11471
11472         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11473         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11474
11475         * insets/insettext.C: InsetList changes
11476
11477         * graphics/GraphicsSupport.C (operator()): InsetList changes
11478
11479         * toc.C (getTocList): InsetList changes
11480
11481         * paragraph_pimpl.[Ch]: InsetList changes
11482
11483         * paragraph.[Ch]: InsetList changes
11484
11485         * buffer.C (inset_iterator): InsetList changes
11486         (setParagraph): ditto
11487         * buffer.h (inset_iterator): ditto
11488         * iterators.C (operator++): ditto
11489         * iterators.h: ditto
11490
11491         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11492
11493         * InsetList.[Ch]: new files, most InsetList handling moved out of
11494         paragraph.C.
11495
11496         * BufferView2.C (removeAutoInsets): InsetList changes
11497         (lockInset): ditto
11498         (ChangeInsets): ditto
11499
11500 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11501
11502         * paragraph_pimpl.h (empty): new function
11503
11504         * paragraph.[Ch] (empty): new function
11505
11506         * other files: use the new Paragraph::empty function
11507
11508 2002-08-09  John Levon  <levon@movementarian.org>
11509
11510         * lyxtext.h: remove unused refresh_height
11511
11512 2002-08-09  John Levon  <levon@movementarian.org>
11513
11514         * Makefile.am:
11515         * sgml.h:
11516         * sgml.C:
11517         * buffer.C:
11518         * paragraph.h:
11519         * paragraph.C: move sgml char escaping out of paragraph
11520
11521         * paragraph.h:
11522         * paragraph.C: remove id setter
11523
11524         * buffer.C:
11525         * paragraph.C:
11526         * paragraph_pimpl.C: remove dead tex_code_break_column
11527
11528         * bufferview_funcs.C: small cleanup
11529
11530         * lyxfunc.C: remove dead proto
11531
11532         * lyxtext.h: make some stuff private. Remove some dead stuff.
11533
11534         * lyxgluelength.C: make as[LyX]String() readable
11535
11536 2002-08-08  John Levon  <levon@movementarian.org>
11537
11538         * LyXAction.h:
11539         * LyXAction.C:
11540         * MenuBackend.C:
11541         * ToolbarDefaults.C:
11542         * lyxfunc.C:
11543         * lyxrc.C:
11544         * toc.C: lyxaction cleanup
11545
11546 2002-08-08  John Levon  <levon@movementarian.org>
11547
11548         * BufferView2.C: small cleanup
11549
11550         * lyxfind.h:
11551         * lyxfind.C: move unnecessary header into the .C
11552
11553 2002-08-08  John Levon  <levon@movementarian.org>
11554
11555         * funcrequest.h: just tedious nonsense
11556
11557         * lyx_main.h:
11558         * lyx_main.C: cleanups
11559
11560         * buffer.C:
11561         * vspace.C: remove dead header lyx_main.h
11562
11563 2002-08-07  Angus Leeming  <leeming@lyx.org>
11564
11565         * Paragraph.[Ch]:
11566         * paragraph_pimpl.h:
11567         Forward declare class Counters in paragraph.h by moving the ctrs member
11568         variable into Paragraph::Pimpl.
11569         (counters): new method, returning a reference to pimpl_->ctrs.
11570
11571         * text2.C: ensuing changes.
11572
11573 2002-08-07  John Levon  <levon@movementarian.org>
11574
11575         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11576
11577         * BufferView_pimpl.C: announce X selection on double/triple
11578           click
11579
11580         * lyx_main.C: use correct bool in batch dispatch
11581
11582         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11583
11584 2002-08-07  André Pönitz <poenitz@gmx.net>
11585
11586         * funcrequest.h: new class to wrap a kb_action and its argument
11587
11588         * BufferView.[Ch]:
11589         * BufferView_pimpl[Ch]:
11590         * LaTeX.C:
11591         * LyXAction.[Ch]:
11592         * lyxfunc.[Ch]:
11593         * lyxrc.C: subsequent changes
11594
11595
11596 2002-08-07  John Levon  <levon@movementarian.org>
11597
11598         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11599           document options change.
11600
11601 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11602
11603         * counters.[Ch]
11604         * text2.C
11605         * paragraph.[Ch]
11606         * makefile.am: move counters functionality over from
11607         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11608
11609 2002-08-06  John Levon  <levon@movementarian.org>
11610
11611         * WordLangTuple.h: new file for word + language code tuple
11612
11613         * SpellBase.h:
11614         * pspell.h:
11615         * pspell.C:
11616         * ispell.h:
11617         * ispell.C:
11618         * lyxtext.h:
11619         * text.C:
11620         * text2.C:
11621         * BufferView.h:
11622         * BufferView2.C: use WordLangTuple
11623
11624         * layout.h:
11625         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11626
11627 2002-08-06  John Levon  <levon@movementarian.org>
11628
11629         * lyx_main.C: fix cmdline batch handling
11630
11631 2002-08-06  André Pönitz <poenitz@gmx.net>
11632
11633         * lyxrc.C: set default for show_banner to true
11634
11635 2002-08-06  John Levon  <levon@movementarian.org>
11636
11637         * pspell.C: fix a crash, and allow new aspell to work
11638
11639 2002-08-06  John Levon  <levon@movementarian.org>
11640
11641         * lyxfunc.C:
11642         * kbmap.C: small cleanup
11643
11644         * vspace.h:
11645         * vspace.C: add const
11646
11647 2002-08-05  John Levon  <levon@movementarian.org>
11648
11649         * LyXAction.C: back to tabular-insert
11650
11651 2002-08-04  John Levon  <levon@movementarian.org>
11652
11653         * BufferView.h:
11654         * BufferView.C: cosmetic change
11655
11656         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11657
11658         * bufferlist.C:
11659         * buffer.h:
11660         * buffer.C:
11661         * lyxcb.h:
11662         * lyxcb.C:
11663         * lyxserver.C:
11664         * lyxvc.C:
11665         * vc-backend.C:
11666         * BufferView2.C: purge all "Lyx" not "LyX" strings
11667
11668         * lyxcursor.h:
11669         * lyxcursor.C: attempt to add some documentation
11670
11671         * lyxfunc.C:
11672         * commandtags.h:
11673         * LyXAction.C:
11674         * ToolbarDefaults.C:
11675         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11676           merge with LFUN_TABULAR_INSERT
11677
11678         * Makefile.am:
11679         * SpellBase.h:
11680         * ispell.h:
11681         * ispell.C:
11682         * pspell.h:
11683         * pspell.C: split up i/pspell implementations into separate
11684           files, many cleanups
11685
11686         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11687
11688         * text2.C: some cleanup
11689
11690         * lyxfunc.C: don't check for isp_command == "none" any more, it
11691           didn't make any sense
11692
11693 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11694
11695         * counters.[Ch]
11696         * text2.C
11697         * paragraph.[Ch]
11698         * makefile.am: move counters functionality over
11699         from text2.C/paragraph.[Ch] to counters.[Ch], and
11700         make proper C++.
11701 2002-08-02  John Levon  <levon@movementarian.org>
11702
11703         * buffer.C: s/lyxconvert/lyx2lyx/
11704
11705 2002-08-02  Angus Leeming  <leeming@lyx.org>
11706
11707         * lyxlex.C: revert John's change as it breaks reading of the user
11708         preamble.
11709
11710 2002-08-02  Angus Leeming  <leeming@lyx.org>
11711
11712         * importer.C (Import):
11713         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11714         changes due to LyXView::view() now returning a boost::shared_ptr.
11715
11716 2002-08-02  John Levon  <levon@movementarian.org>
11717
11718         * lyxlex.C: small cleanup
11719
11720 2002-08-02  John Levon  <levon@movementarian.org>
11721
11722         * text2.C (status): small cleanup, no logic change
11723
11724 2002-08-01  John Levon  <levon@movementarian.org>
11725
11726         * buffer.h:
11727         * buffer.C (writeFile): don't output alerts, caller
11728           handles this
11729
11730         * bufferlist.C:
11731         * lyx_cb.C: from above
11732
11733         * lyxfunc.C: allow to open non-existent files
11734
11735 2002-07-31  John Levon  <levon@movementarian.org>
11736
11737         * lyxserver.C: don't let incidental errors get
11738           in the way (errno)
11739
11740 2002-07-30  John Levon  <levon@movementarian.org>
11741
11742         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11743
11744 2002-07-30  John Levon  <levon@movementarian.org>
11745
11746         * lyxserver.h:
11747         * lyxserver.C: remove I/O callback too
11748
11749 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11750
11751         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11752         log.
11753
11754 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11755
11756         * many files: strip,frontStrip -> trim,ltrim,rtrim
11757
11758 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11759
11760         * PrinterParams.h: remove extern containsOnly, and include
11761         support/lstrings.h instead.
11762
11763         * LaTeX.C (scanAuxFile): modify because of strip changes
11764         (deplog): ditto
11765         * buffer.C (makeLaTeXFile): ditto
11766         * bufferparams.C (writeFile): ditt
11767         * lyxfont.C (stateText): ditto
11768         * lyxserver.C (read_ready): ditto
11769         * vc-backend.C (scanMaster): ditto
11770
11771         * BufferView_pimpl.h: ws changes
11772
11773         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11774
11775 2002-07-26  André Pönitz <poenitz@gmx.net>
11776
11777         * kb_sequence.C: remove unnedred usings
11778
11779 2002-07-26  Juergen Vigna  <jug@sad.it>
11780
11781         * lyxfind.C (LyXReplace): we have to check better if the returned
11782         text is not of theLockingInset()->getLockingInset().
11783
11784 2002-07-25  Juergen Vigna  <jug@sad.it>
11785
11786         * lyxfind.C (LyXReplace): don't replace if we don't get the
11787         right LyXText.
11788
11789         * undo_funcs.C (createUndo): remove debugging code.
11790
11791 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11792
11793         * buffer.C (parseSingleLyXformat2Token): Use default placement
11794         when reading old floats.
11795
11796         * FloatList.C (FloatList): Change the default placement of figure
11797         and tables to "tbp".
11798
11799 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * MenuBackend.C: using std::max
11802
11803 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11804
11805         * MenuBackend.C (expandToc):
11806         (expandToc2): code moved from xforms menu frontend. It is now
11807         generic and TOCs are transparent to menu frontends.
11808
11809 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810
11811         * toc.C (getTocList): protect against buf=0
11812
11813         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11814         Menu as first parameter. Now, this calls itself recursively to
11815         expand a whole tree (this will be useful for TOC handling)
11816         (expandFloatInsert): remove 'wide' version of floats
11817
11818         * MenuBackend.h (submenuname): returns the name of the submenu.
11819         (submenu): returns the submenu itself, provided it has been
11820         created by MenuBackend::expand
11821
11822 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11823
11824         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11825         insets which have noFontChange == true. (bug #172)
11826
11827 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * BufferView_pimpl.C: add connection objects and use them...
11830         (Pimpl): here.
11831
11832 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11833
11834         * MenuBackend.C (expandLastfiles):
11835         (expandDocuments):
11836         (expandFormats):
11837         (expandFloatListInsert):
11838         (expandFloatInsert):
11839         (expand): split expand in parts
11840
11841 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11842
11843         * lyx_gui.C: use lyx_gui::exit()
11844
11845 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * LyXAction.C: show the failing pseudo action
11848
11849 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11850
11851         * buffer.C (readFile): Run the lyxconvert script in order to read
11852         old files.
11853
11854 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * LyXAction.C:
11857         * commandtags.h:
11858         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11859
11860 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * LyXAction.C:
11863         * commandtags.h:
11864         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11865
11866 2002-07-22  Herbert Voss  <voss@lyx.org>
11867
11868         * lengthcommon.C:
11869         * lyxlength.[Ch]: add support for the vertical lengths
11870
11871 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * toc.[Ch]: std:: fixes
11874
11875 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11876
11877         * lyxrc.C: do not include lyx_main.h
11878
11879         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11880         for layouts
11881
11882         * lyxrc.C:
11883         * encoding.C:
11884         * bufferlist.C:
11885         * BufferView2.C: include "lyxlex.h"
11886
11887         * tabular.h:
11888         * bufferparams.h: do not #include "lyxlex.h"
11889
11890         * lyxtextclasslist.C (Add): remove method
11891         (classlist): renamed to classlist_
11892
11893         * paragraph_pimpl.C:
11894         * paragraph.C:
11895         * text2.C:
11896         * CutAndPaste.C:
11897         * bufferview_funcs.C:
11898         * bufferlist.C:
11899         * text.C:
11900         * LaTeXFeatures.C:
11901         * buffer.C:
11902         * toc.C (getTocList): use BufferParams::getLyXTextClass
11903
11904         * toc.C (getTocList): use InsetFloat::addToToc
11905
11906         * toc.[Ch]: new files, containing helper functions to handle table
11907         of contents
11908
11909         * lyxfunc.C (dispatch): no need to remove spaces around command
11910         given as a string
11911         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11912         first command of the sequence; it is not very clever, but I do not
11913         have a better idea, actually
11914
11915         * LyXAction.C (LookupFunc): make sure to remove space at the
11916         beginning and end of the command
11917
11918 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11919
11920         * MenuBackend.C (getMenubar): new method: return the menubar of
11921         this menu set
11922         (read): treat differently reading of menu and menubar (in
11923         particular, the menubar has no name now)
11924         (Menu::menubar): remove
11925
11926         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11927         saving is finished
11928
11929 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11930
11931         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11932         a bibitem inset in a RTL paragraph.
11933
11934 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * paragraph_pimpl.C: constify
11937
11938         * BufferView_pimpl.C:
11939         * LaTeX.C:
11940         * lyxfunc.C: fix dispatch in a nicer way
11941
11942 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11943
11944         * lyxfunc.C (dispatch):
11945         * BufferView_pimpl.C:
11946         * BufferView_pimpl.h:
11947         * BufferView.C:
11948         * BufferView.h: rename Dispatch() to dispatch()
11949
11950         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11951
11952         * lyxlayout.C (Read): honor DependsOn tag
11953
11954         * lyxlayout.[Ch] (depends_on): new method
11955
11956         * version.C.in: update lyx_docversion
11957
11958         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11959
11960         * paragraph.C (validate): remove from here...
11961         * paragraph_pimpl.C (validate): ... and move here
11962         (isTextAt): make it const
11963
11964         * buffer.C (getLists): ws cleanup
11965
11966 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11967
11968         * language.C (read): Use iso8859-1 encoding in latex_lang
11969         (this prevents LyX from crashing when using iso10646-1 encoding).
11970
11971 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11972
11973         * text2.C (toggleInset): if cursor is inside an inset, close the
11974         inset and leave cursor _after_ it
11975
11976 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11977
11978         * lyxfunc.C: move minibuffer completion handling out of here
11979
11980 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11981
11982         * BufferView_pimpl.C:
11983         * LaTeX.C: fix dispatch calls
11984
11985 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11986
11987         * text.C (drawChars): Fix Arabic text rendering.
11988
11989 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * LyXAction.C:
11992         * commandtags.h:
11993         * lyxfunc.C: remove message-push/pop
11994
11995         * lyxserver.C:
11996         * lyxfunc.h:
11997         * lyxfunc.C: rationalise some code by removing verboseDispatch
11998           in favour of a bool argument to dispatch()
11999
12000 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12001
12002         * lyx_main.C (init): make sure to read symlinks as absolute paths
12003
12004 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12005
12006         * lyxfunc.h:
12007         * lyxfunc.C: no need for commandshortcut to be a member
12008
12009 2002-07-15  André Pönitz <poenitz@gmx.net>
12010
12011         * converter.C: add support for $$s (scripts from lib/scripts dir)
12012         * lyx_main.C: white space
12013
12014 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * bufferlist.C:
12017         * lyxrc.h:
12018         * lyxrc.C: remove second exit confirmation
12019
12020 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * BufferView.h:
12023         * BufferView.C:
12024         * BufferView2.C:
12025         * BufferView_pimpl.h:
12026         * BufferView_pimpl.C:
12027         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12028
12029 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12030
12031         * MenuBackend.C (expand): add numeric shortcuts to document menu
12032
12033         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12034
12035 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12036
12037         * lyxfont.C (setLyXFamily):
12038         (setLyXSeries):
12039         (setLyXShape):
12040         (setLyXSize):
12041         (setLyXMisc):
12042         (lyxRead):
12043         * debug.C (value):
12044         * buffer.C (asciiParagraph): use ascii_lowercase
12045
12046 2002-07-15  Mike Fabian  <mfabian@suse.de>
12047
12048         * lyxlex_pimpl.C (search_kw):
12049         * lyxlex.C (getLongString):
12050         * converter.h (operator<):
12051         * converter.C (operator<):
12052         * buffer.C (parseSingleLyXformat2Token):
12053         (asciiParagraph):
12054         * ToolbarDefaults.C (read):
12055         * MenuBackend.C (checkShortcuts):
12056         (read):
12057         * LColor.C (getFromGUIName):
12058         (getFromLyXName): use the compare_ascii_no_case instead of
12059         compare_no_case, because in turkish, 'i' is not the lowercase
12060         version of 'I', and thus turkish locale breaks parsing of tags.
12061
12062 2002-07-16  Angus Leeming  <leeming@lyx.org>
12063
12064         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12065         now takes a Buffer const & argument.
12066
12067 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * BufferView.C (resize): check there's a buffer to resize
12070
12071 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * lyxfunc.C: remove dead code
12074
12075         * lyxserver.h:
12076         * lyxserver.C: use lyx_guii::set_read_callback
12077
12078 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12079
12080         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12081         an inset in a RTL paragraph.
12082
12083 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * lyxfunc.C: repaint after a font size update
12086
12087 2002-07-15  André Pönitz <poenitz@gmx.net>
12088
12089         * lyxlength.C: inBP should be able to return negative values
12090
12091 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * lyxfunc.C: use lyx_gui::update_fonts()
12094
12095 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12096
12097         * lyxfunc.C: use lyx_gui::update_color()
12098
12099 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12100
12101         * bufferlist.C:
12102         * lyxfunc.h:
12103         * lyxfunc.C:
12104         * lyxrc.h:
12105         * lyxrc.C: remove file->new asks for name option, and let
12106           buffer-new take an argument
12107
12108 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * BufferView_pimpl.C: remove unneeded extra repaint()
12111
12112 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12113
12114         * LyXAction.C: allow command-sequence with NoBuffer
12115
12116         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12117
12118 2002-07-10  Angus Leeming  <leeming@lyx.org>
12119
12120         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12121
12122 2002-07-09  Angus Leeming  <leeming@lyx.org>
12123
12124         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12125
12126 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * lengthcommon.h: whitespace
12129
12130         * lyxfunc.C: update scrollbar after goto paragraph
12131
12132         * lyxtext.h: factor out page break drawing, and fix it so
12133           page break/added space paints as selected nicely
12134
12135 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12136
12137         * BufferView_pimpl.C: add FIXMEs, clean up a little
12138
12139 2002-07-09  André Pönitz <poenitz@gmx.net>
12140
12141         * lyxfont.[Ch]: support for wasy symbols
12142
12143 2002-07-08  André Pönitz <poenitz@gmx.net>
12144
12145         * BufferView_pimpl.C: apply John's patch for #93.
12146
12147 2002-07-05  Angus Leeming  <leeming@lyx.org>
12148
12149         * BufferView_pimpl.C (buffer): generate previews if desired.
12150
12151         * LColor.h: add "preview" to the color enum.
12152
12153         * LColor.C (LColor): add a corresponding entry to the items array.
12154
12155         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12156         with this buffer.
12157
12158 2002-07-05  Angus Leeming  <leeming@lyx.org>
12159
12160         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12161         The body of the code is now in the method that is passed an ostream &
12162         rather than a file name.
12163         Pass an additional only_preamble parameter, useful for the forthcoming
12164         preview stuff.
12165
12166 2002-07-03  André Pönitz <poenitz@gmx.net>
12167
12168         * lyxfunc.C: simplify getStatus() a bit for math stuff
12169
12170 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12171
12172         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12173
12174 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12175
12176         * text.C (changeRegionCase): do not change case of all the
12177         document when region ends at paragraph end (bug #461)
12178
12179 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12180
12181         * paragraph.C (startTeXParParams):
12182         (endTeXParParams): add \protect when necessary
12183
12184 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * BufferView_pimpl.C (workAreaExpose): remove warning
12187
12188 2002-06-27  Angus Leeming  <leeming@lyx.org>
12189
12190         * Makefile.am: add lyxlayout_ptr_fwd.h.
12191
12192 2002-06-26  André Pönitz <poenitz@gmx.net>
12193
12194         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12195
12196 2002-06-25  Angus Leeming  <leeming@lyx.org>
12197
12198         * lyxfunc.C (dispatch): Comment out the call to
12199         grfx::GCache::changeDisplay. The method no longer exists now that the
12200         pixmap generation part of the graphics loader has been moved into
12201         InsetGraphics.
12202
12203 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12204
12205         * text2.C: layout as layout
12206
12207         * text.C: layout as layout
12208
12209         * tabular.C (OldFormatRead): layout as layout
12210
12211         * paragraph_pimpl.C (TeXDeeper): layout as layout
12212         (realizeFont): layout as layout
12213
12214         * paragraph.C (writeFile): layout as layout
12215         (validate): layout as layout
12216         (getFont): layout as layout
12217         (getLabelFont): layout as layout
12218         (getLayoutFont): layout as layout
12219         (breakParagraph): layout as layout
12220         (stripLeadingSpaces): layout as layout
12221         (getEndLabel): layout as layout
12222         (getMaxDepthAfter): layout as layout
12223         (applyLayout): layout as layout
12224         (TeXOnePar): layout as layout
12225         (simpleTeXOnePar): layout as layout
12226         (TeXEnvironment): layout as layout
12227         (layout): layout as layout
12228         (layout): layout as layout
12229
12230         * lyxtextclass.C (compare_name): new functor to work with
12231         shared_ptr, layout as layout
12232         (Read): layout as layout
12233         (hasLayout): layout as layout
12234         (operator): layout as layout
12235         (delete_layout): layout as layout
12236         (defaultLayout): layout as layout
12237
12238         * lyxlayout_ptr_fwd.h: new file
12239
12240         * lyxlayout.C (Read): layout as layout
12241
12242         * lyx_cb.C (MenuInsertLabel): layout as layout
12243
12244         * bufferlist.C (newFile): layout as layout
12245
12246         * buffer.C (readLyXformat2): layout as layout
12247         (parseSingleLyXformat2Token): layout as layout
12248         (insertStringAsLines): layout as layout
12249         (asciiParagraph): layout as layout
12250         (latexParagraphs): layout as layout
12251         (makeLinuxDocFile): layout as layout
12252         (simpleLinuxDocOnePar): layout as layout
12253         (makeDocBookFile): layout as layout
12254         (simpleDocBookOnePar): layout as layout
12255         (getLists): layout as layout
12256
12257         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12258
12259         * CutAndPaste.C (cutSelection): layout as layout
12260         (pasteSelection): layout as layout
12261         (SwitchLayoutsBetweenClasses): layout as layout
12262
12263         * BufferView_pimpl.C (Dispatch): layout as layout
12264         (smartQuote): layout as layout
12265
12266         * BufferView2.C (unlockInset): layout as layout
12267
12268 2002-06-24  André Pönitz <poenitz@gmx.net>
12269
12270         * lyxfunc.C: fix #487
12271
12272 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * lyxrc.h:
12275         * lyxrc.C:
12276         * lyxfunc.C: remove display_shortcuts, show_banner
12277
12278 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * Buffer_pimpl.C: oops, update on resize
12281
12282 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12283
12284         * buffer.C:
12285         * converter.C:
12286         * exporter.C:
12287         * lyxfunc.C:
12288         * BufferView.h:
12289         * BufferView.C: use repaint()
12290
12291         * BufferView_pimpl.h:
12292         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12293           as it's a clearer description. Remove superfluous
12294           redraws.
12295
12296 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12297
12298         * text.C: fix bug 488. Not ideal, but getting
12299           getWord() to work properly for the insets that
12300           matter is more difficult ...
12301
12302 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * BufferView_pimpl.C:
12305         * LyXAction.C:
12306         * commandtags.h:
12307         * lyxfunc.C: remove the six million index lyxfuncs to just
12308           one, and DTRT (bug 458)
12309
12310 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12311
12312         * BufferView.h:
12313         * BufferView.C:
12314         * BufferView_pimpl.h:
12315         * BufferView_pimpl.C: clean up resize() stuff,
12316           and unnecessary updateScreen()s
12317
12318 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * BufferView.h:
12321         * BufferView.C:
12322         * BufferView_pimpl.h:
12323         * BufferView_pimpl.C:
12324         * lyxfind.h:
12325         * lyxfind.C:
12326         * minibuffer.C: remove focus management of workarea,
12327           not needed. Use screen's greyOut()
12328
12329 2002-06-17  Herbert Voss  <voss@lyx.org>
12330
12331         * converter.C: (convert) do not post a message, when converting
12332         fails, let the calling function decide what to do in this case
12333
12334 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12335
12336         * lyxfunc.C: tidy up a little
12337
12338 2002-06-16    <alstrup@diku.dk>
12339
12340         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12341         Got rid of FORMS_H_LOCATION include. Now we are
12342         GUII.
12343
12344 2002-06-15  LyX Development team  <lyx@rilke>
12345
12346         * buffer.[Ch] (sgmlOpenTag):
12347         (sgmlCloseTag): Added support for avoiding pernicious mixed
12348         content. Return number of lines written.
12349
12350         (makeLinuxDocFile):
12351         (makeDocBookFile): Fixed calls to sgml*Tag.
12352         Simple white space clean.
12353
12354         (simpleDocBookOnePar): Simple white space clean.
12355
12356         * tabular.[Ch] (docBook): Renamed to docbook and got another
12357         argument to related with the pernicious mixed content.
12358
12359         (docbookRow): Fixed calls for docbook inset method.
12360
12361 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12362
12363         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12364         so it's X11 independent.
12365
12366         * kb*.[Ch]: ditto.
12367
12368         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12369
12370 2002-06-15  Lyx Development team  <lyx@electronia>
12371
12372         * intl.h: Renamed getTrans to getTransManager.
12373
12374 2002-06-14  Angus Leeming  <leeming@lyx.org>
12375
12376         * Makefile.am: nuke forgotten stl_string_fwd.h.
12377
12378 2002-06-12  Angus Leeming  <leeming@lyx.org>
12379
12380         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12381
12382 2002-06-13  Angus Leeming  <leeming@lyx.org>
12383
12384         * LaTeX.C:
12385         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12386
12387 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12388
12389         * kbmap.C (getiso): add support for cyrillic and greek
12390
12391 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12392
12393         * BufferView.h:
12394         * BufferView.C:
12395         * BufferView_pimpl.h:
12396         * BufferView_pimpl.C: move bogus scrolling logic
12397           to xforms
12398
12399 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * lyxfunc.C:
12402         * BufferView_pimpl.C: view->resize() change
12403
12404 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * BufferView_pimpl.C: topCursorVisible
12407           prototype change
12408
12409 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * Makefile.am:
12412         * lyx_gui.h:
12413         * lyx_gui.C: move to frontends/
12414
12415         * main.C:
12416         * lyx_main.h:
12417         * lyx_main.C: changes from above
12418
12419 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12420
12421         * intl.C:
12422         * intl.h:
12423         * kbmap.C:
12424         * kbsequence.C:
12425         * lyx_cb.C:
12426         * lyx_main.C: minor tidy
12427
12428 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12429
12430         * BufferView_pimpl.h:
12431         * BufferView_pimpl.C:
12432         * BufferView.h:
12433         * BufferView.C: make painter() const,
12434           remove dead code
12435
12436         * BufferView2.C: use screen() accessor
12437
12438         * lyx_main.h:
12439         * lyx_main.C: some minor cleanup
12440
12441 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12442
12443         * BufferView_pimpl.h:
12444         * BufferView_pimpl.C: remove enter/leaveView,
12445           use workHeight()
12446
12447 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * BufferView.h:
12450         * BufferView.C:
12451         * BufferView2.C:
12452         * BufferView_pimpl.h:
12453         * BufferView_pimpl.C: only construct screen once,
12454           rename
12455
12456         * lyxrc.C: remove pointless comment
12457
12458 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * BufferView.h:
12461         * BufferView.C: remove active() and belowMouse()
12462
12463         * BufferView_pimpl.h:
12464         * BufferView_pimpl.C: use workarea() not workarea_,
12465           and make it use a scoped_ptr instead
12466
12467 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12468
12469         * lyx_gui.C: add debug message on BadWindow
12470
12471 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12472
12473         * sp_spell.C: fdopen is not part of the C++ standard.
12474
12475         * paragraph.C (InsetIterator): use >= instead of ==
12476
12477 2002-06-07  Angus Leeming  <leeming@lyx.org>
12478
12479         Fixes needed to compile with Compaq cxx 6.5.
12480         * BufferView_pimpl.C:
12481         * DepTable.C:
12482         * buffer.C:
12483         * converter.C:
12484         * encoding.C:
12485         * lyx_gui.C:
12486         * lyx_main.C:
12487         * lyxtextclasslist.C:
12488         * minibuffer.C:
12489         * sp_spell.C:
12490         * tabular_funcs.C:
12491         * vc-backend.C:
12492         all c-library variables have been moved into namespace std. Wrap
12493         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12494
12495         * lyxlength.C:
12496         * tabular-old.C:
12497         * tabular.C:
12498         Add a using std::abs declaration.
12499
12500         * kbmap.h (modifier_pair):
12501         * paragraph.h (InsetTable, InsetList):
12502         * lyxfont.h (FontBits):
12503         type definition made public.
12504
12505         * bufferlist.C (emergencyWriteAll): the compiler complains that
12506         there is more than one possible lyx::class_fun template to choose from.
12507         I re-named the void specialisation as lyx::void_class_fun.
12508
12509         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12510
12511         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12512         the compiler is is unable to find tostr in write_attribute.
12513
12514 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12515
12516         * buffer.C (sgmlError): hide #warning
12517
12518 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12519
12520         * xtl/*: get rid of xtl, which is not in use anyway
12521
12522         * LyXAction.C (init):
12523         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12524         were unimplemented xtl experimentation
12525
12526 2002-06-04  André Pönitz <poenitz@gmx.net>
12527
12528         * lyxfunc.C: disable array operation on simple formulae
12529
12530 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12531
12532         * converter.C: constify a bit
12533
12534 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * lyx_gui.C: check xforms version correctly
12537
12538 2002-04-30  Herbert Voss  <voss@lyx.org>
12539
12540         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12541         "keep" option
12542
12543 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12546           attempt to register it with a VCS)
12547
12548 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12549
12550         * lyx_main.C (init): honor variables LYX_DIR_13x and
12551         LYX_USERDIR_13x
12552
12553 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12554
12555         * buffer.h:
12556         * buffer.C:
12557         * lyx_main.C: fix a crash on bad command line,
12558           and give a useful exit status on error
12559
12560         * lyxfunc.C (doImport): allow -i lyx to work
12561
12562 2002-03-30  André Pönitz <poenitz@gmx.net>
12563
12564         * lyxfunc.C: mathed font changes
12565
12566 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * LaTeX.C:
12569         * importer.h:
12570         * importer.C:
12571         * lyx_sty.h:
12572         * lyx_sty.C:
12573         * lyxlex.C:
12574         * lyxrow.h:
12575         * lyxtext.h:
12576         * paragraph.h:
12577         * paragraph.C:
12578         * texrow.h:
12579         * texrow.C:
12580         * text.C:
12581         * trans_mgr.h: srcdocs, and some minor cleanups
12582
12583 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12584
12585         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12586         call getFont all the time)
12587
12588 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12589
12590         * switch from SigC signals to boost::signals
12591
12592 2002-05-29  André Pönitz <poenitz@gmx.net>
12593
12594         * paragraph_pimpl.C (getChar): don't call size() too often...
12595
12596 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12597
12598         * paragraph_pimpl.C (insertChar): do not try to update tables when
12599         appending (pos == size())
12600
12601         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12602         in order to reduce drastically the number of comparisons needed to
12603         parse a large document
12604
12605 2002-05-29  André Pönitz <poenitz@gmx.net>
12606
12607         * text.C:
12608         * text2.C:
12609         * lyxtextclass.C:
12610         * sp_pspell.h:
12611         * textclasslist.[Ch]:
12612         * sp_ispell.h: whitespace change
12613
12614 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12615
12616         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12617         lyxaction directly now.
12618
12619 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * trans.C:
12622         * lyxfont.C:
12623         * lyxvc.C: remove unused headers
12624
12625 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * Makefile.am:
12628         * buffer.h:
12629         * undostack.h:
12630         * undostack.C:
12631         * undo_funcs.h:
12632         * undo_funcs.C: some cleanups. Use shared_ptr
12633           and a template for the undo stacks.
12634
12635 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12636
12637         * BufferView_pimpl.h:
12638         * BufferView_pimpl.C:
12639         * kbmap.h:
12640         * kbmap.C:
12641         * kbsequence.h:
12642         * kbsequence.C:
12643         * lyxfunc.h:
12644         * lyxfunc.C:
12645         * text2.C: use key_state/mouse_state
12646
12647 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12648
12649         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12650         and LSubstring
12651
12652         * chset.C: change include order
12653         (loadFile): use boost regex and get rid of LRegex and LSubstring
12654
12655         * Makefile.am (BOOST_LIBS): new variable
12656         (lyx_LDADD): use it
12657
12658         * LaTeX.C: change include order.
12659         (scanAuxFile): use boost regex and get rid of LRegex and
12660         LSubstring
12661         (deplog): ditto
12662
12663 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12664
12665         * ColorHandler.h:
12666         * ColorHandler.C:
12667         * FontInfo.h:
12668         * FontInfo.C: moved to frontends/xforms/
12669
12670         * FontLoader.h:
12671         * FontLoader.C: moved into frontends for GUIIzation
12672
12673         * Makefile.am:
12674         * lyx_gui.C:
12675         * lyxfont.C:
12676         * lyxfunc.C: changes from above
12677
12678 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * LColor.C: remove spurious X include
12681
12682         * BufferView_pimpl.C:
12683         * Makefile.am:
12684         * font.h:
12685         * font.C:
12686         * text.C:
12687         * text2.C: move font metrics to frontends/
12688
12689 2002-05-24  Juergen Vigna  <jug@sad.it>
12690
12691         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12692         setting the undo_cursor.
12693
12694         * ParagraphParameters.h: include local includes first.
12695
12696 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * BufferView_pimpl.C:
12699         * BufferView_pimpl.h:
12700         * Makefile.am:
12701         * WorkArea.h:
12702         * WorkArea.C:
12703         * screen.C: move WorkArea into frontends/
12704
12705         * lyxscreen.h:
12706         * screen.C:
12707         * text.C:
12708         * BufferView.C:
12709         * BufferView2.C: move LyXScreen into frontends/
12710
12711         * lyxlookup.h:
12712         * lyxlookup.C:
12713         * lyx_gui.C: move lyxlookup into frontends/xforms/
12714
12715 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12716
12717         * BufferView2.C:
12718         * BufferView_pimpl.C:
12719         * FontLoader.C:
12720         * LyXView.h:
12721         * LyXView.C:
12722         * Makefile.am:
12723         * WorkArea.C:
12724         * XFormsView.h:
12725         * XFormsView.C:
12726         * buffer.C:
12727         * bufferlist.C:
12728         * bufferview_funcs.C:
12729         * converter.C:
12730         * importer.C:
12731         * lyx_cb.C:
12732         * lyx_gui.C:
12733         * lyx_main.C:
12734         * lyx_find.C:
12735         * lyxfunc.C:
12736         * lyxvc.C:
12737         * minibuffer.C:
12738         * text.C:
12739         * text2.C:
12740         * trans.C:
12741         * vc-backend.C: move LyX/XFormsView into frontends/
12742
12743 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12744
12745         * Makefile.am:
12746         * PainterBase.C:
12747         * PainterBase.h:
12748         * Painter.C:
12749         * Painter.h:
12750         * WorkArea.C:
12751         * WorkArea.h:
12752         * screen.C:
12753         * tabular.C:
12754         * text.C:
12755         * text2.C: move Painter to frontends/
12756
12757 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12758
12759         * buffer.C: comment out some some code that depend upon lyx_format
12760         < 220
12761
12762         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12763         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12764
12765         * buffer.h (NO_COMPABILITY): turn off compability
12766
12767         * ColorHandler.C: include scoped_array.hpp
12768
12769         * font.C: Use more specific smart_ptr header.
12770         * Painter.C: ditto
12771         * gettext.C: ditto
12772         * ShareContainer.h: ditto
12773         * lyx_main.h: ditto
12774         * kbmap.h: ditto
12775         * FontInfo.h: ditto
12776         * BufferView_pimpl.h: ditto
12777         * ColorHandler.h: ditto
12778
12779         * kbmap.C (defkey): change call to shared_ptr::reset
12780
12781 2002-05-21  Juergen Vigna  <jug@sad.it>
12782
12783         * buffer.C (insertErtContents): fix to insert ert asis if it is
12784         non empty. Skip it completely if it contains only whitespaces.
12785
12786 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12787
12788         * BufferView_pimpl.C:
12789         * BufferView2.C: clear selection on paste (bug 393)
12790
12791 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12792
12793         * DepTable.C: include ctime
12794
12795 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12796
12797         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12798
12799 2002-05-14  Juergen Vigna  <jug@sad.it>
12800
12801         * text.C (breakParagraph): fixed function to honor the keepempty
12802         layout in the right maner and also to permit the right breaking
12803         algorithm on empty or non empyt keepempty paragraphs.
12804
12805         * paragraph.C (breakParagraph): we have to check also if the par
12806         is really empty (!size()) for isempty otherwise we do the wrong
12807         paragraph break.
12808
12809 2002-05-10  Juergen Vigna  <jug@sad.it>
12810
12811         * buffer.[Ch] : The following are only changes to the ert
12812         compatibility read reading old LaTeX layout and font stuff and
12813         convert it to ERTInsets.
12814
12815         * buffer.h: added isErtInset().
12816
12817         * buffer.C (struct ErtComp): add a fromlayout bool to check
12818         if we're inside a LaTeX layout.
12819         (isErtInset): new helper function.
12820         (insertErtContents): look for other ert insets before this one
12821         and insert the contents there, so that we don't have subsequent
12822         ERT insets with nothing between them. This way we create only one
12823         inset with multiple paragraphs. Also check if we don't insert only
12824         spaces ' ' as they are ignored anyway afterwards in the .tex file
12825         so if we have only spaces we will ignore this latex part in the
12826         new file.
12827         (parseSingleLyXformat2Token \\layout): better compatibility when
12828         reading layout-latex stuff.
12829         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12830         language tag.
12831         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12832         stuff after reading the inset only get the information back from
12833         the stack.
12834
12835 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12836
12837         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12838
12839         * LaTeXFeatures.C (getBabelOptions): New method.
12840
12841 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * BufferView_pimpl.C (Dispatch): work around missing argument for
12844         'layout'
12845
12846 2002-05-08  Juergen Vigna  <jug@sad.it>
12847
12848         * text.C (leftMargin): handle paragraph leftindent.
12849
12850         * paragraph.C (writeFile): write the new \\leftindent tag.
12851         (validate): handle leftindent code.
12852         (TeXEnvironment): handle paragraphleftindent code again.
12853
12854         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12855
12856         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12857         for paragrap_extra indent code and new token \\leftindent.
12858         (latexParagraphs): handle the leftindent as environment.
12859
12860         * ParameterStruct.h: added leftindent support.
12861
12862         * ParagraphParameters.C (leftIndent): added support functions for
12863         the paragraph left indent.
12864
12865         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12866         more appropriate.
12867
12868 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12869
12870         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12871         inside insetERT.
12872
12873         * text.C (computeBidiTables): No bidi in insetERT.
12874
12875         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12876         in RTL documents.
12877
12878 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * version.C.in: pre 5
12881
12882 2002-05-02  José Matos  <jamatos@fep.up.pt>
12883         * buffer.C (makeDocBookFile): white space changes, add newline to
12884         command styles.
12885         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12886
12887         * tabular.C (docBook): fix typo.
12888
12889 2002-05-03  Juergen Vigna  <jug@sad.it>
12890
12891         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12892         change in LyXText as we can not be sure it was not freed.
12893         (drawOneRow): remove unused code.
12894
12895         * text.C (drawInset): redo the calculation of the need_break_row as
12896         it could have a row which was already freed.
12897         (draw): look at the return value of drawInset and return false if
12898         it also returned false.
12899         (paintRowText): look at the return value of draw and return false if
12900         it also returned false.
12901
12902         * lyxtext.h: added bool return type to drawInset() and draw() so that
12903         if we have a change in the row so that the rowbreak has to be redone
12904         we abort drawing as it will be called again.
12905
12906 2002-05-02  Juergen Vigna  <jug@sad.it>
12907
12908         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12909         a change in the maintext also if we're inside an inset.
12910         (Dispatch): set the cursor again after a break line and after the
12911         screen has been updated as it could be we're in a different row.
12912
12913         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12914         to set the cursor behind the pargraph with > size().
12915         (setCursor): check also for the same paragraph when checking where
12916         to put the cursor if we have a NFR inset.
12917
12918         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12919         parts of layout read further up as it still was in the wrong
12920         position.
12921
12922 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * screen.C (drawFromTo): change sine fullRebreak always return
12925         true.
12926
12927         * buffer.C (parseSingleLyXformat2Token): reindent some
12928
12929         * BufferView_pimpl.C (update): change since fullRebreak always
12930         return true.
12931         (Dispatch): git rid of the last hardcoded "Standard"s.
12932
12933 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12934
12935         * text2.[Ch] (fullRebreak): make it return void now that we always
12936         returned true.
12937
12938 2002-04-30  Juergen Vigna  <jug@sad.it>
12939
12940         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12941         ert compatibility check for "latex" layout.
12942
12943 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12944
12945         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12946         minipages: use col% instead of p%, and also use the current font.
12947         (makeLaTeXFile): Fix use babel condition.
12948         (parseSingleLyXformat2Token): Correct font when reading old floats.
12949
12950 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12951
12952         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12953         inserting list of floats.
12954
12955 2002-04-25  Herbert Voss  <voss@lyx.org>
12956
12957         * MenuBackend.C (expand): don't add the graphics extensions to the
12958         export menu
12959
12960 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12961
12962         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12963         non-existing layout, do not complain if it was the default layout
12964         of the original class (bug #342)
12965
12966 2002-04-24  Juergen Vigna  <jug@sad.it>
12967
12968         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12969         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12970
12971 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12972
12973         * buffer.C (getBibkeyList): If using \bibliography, return the
12974         option field with the reference itself. Enables us to provide natbib
12975         support when using \bibliography.
12976
12977 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12978
12979         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12980
12981         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12982         natbib is provided by the LaTeX class.
12983
12984 2002-04-23  Juergen Vigna  <jug@sad.it>
12985
12986         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12987         Wakeup functions.
12988
12989         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12990
12991 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12992
12993         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12994
12995         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12996         ensuremath around textordmasculine, textordfeminine and
12997         textdegree.
12998
12999 2002-04-19  Juergen Vigna  <jug@sad.it>
13000
13001         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13002         reinitializing the buffer otherwise row-dimensions may be wrong.
13003         (update): reset also the selection cursors if they do exits otherwise
13004         their x/y positions may be wrong.
13005
13006         * text2.C (cursorDown): don't enter the inset if we came from a row
13007         above and are one row over the inset.
13008
13009         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13010         really leaving an inset.
13011
13012 2002-04-18  Juergen Vigna  <jug@sad.it>
13013
13014         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13015         of the selected paragraph does not have the selected layout also if
13016         the last one had!
13017
13018         * text2.C (setLayout): fixed bug which did not change last selected
13019         paragraph.
13020
13021         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13022         changed the read and substituted \\end_float with \\end_inset!
13023
13024         * BufferView_pimpl.C (cursorPrevious):
13025         (cursorNext): fixed to make it work with rows heigher than the work
13026         area without moving the cursor only the draw of the row.
13027         (workAreaMotionNotify): fix jumping over high rows.
13028
13029 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13032         Ressler.
13033
13034 2002-04-16  Juergen Vigna  <jug@sad.it>
13035
13036         * text2.C (setCursor): set also the irow().
13037         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13038         (cursorUp):
13039         (cursorDown): support for locking an inset if the x_fix value goes
13040         inside it. That way I can transverse insets too with cursor up/down.
13041
13042         * lyxrow.h: added irow helper function same as other (i) functions.
13043
13044         * BufferView_pimpl.C (cursorPrevious):
13045         (cursorNext): fixed for insets!
13046
13047 2002-04-15  Juergen Vigna  <jug@sad.it>
13048
13049         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13050         position otherwise it is wrong in some cases.
13051
13052         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13053         inside the inset before the call.
13054
13055 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13056
13057         * buffer.[Ch] (getBibkeyList): make it const.
13058
13059 2002-04-12  Juergen Vigna  <jug@sad.it>
13060
13061         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13062
13063         * text2.C (getCursorX): new helper function
13064         (setCursor): compute also ix_
13065         (setCursorFromCoordinates): set also ix.
13066
13067         * lyxcursor.h: added ix_ and helper functions.
13068
13069         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13070
13071         * buffer.C (insertStringAsLines): dont break paragraph if the this
13072         paragraph is inside an inset which does not permit it!
13073
13074         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13075         also with no chars on this paragraph.
13076         (paintRowText): only paint stuff if it's inside the workarea!
13077
13078         * paragraph.C (breakParagraph): honor keepempty flag and break the
13079         paragraph always below not above.
13080
13081         * BufferView2.C (unlockInset): update the paragraph layout on inset
13082         unlock as we changed paragraph in such a case.
13083
13084         * lyxfind.C (LyXFind): clear the former selection if not found!
13085
13086         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13087         again called in insertChar().
13088
13089         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13090         an inset which uses the whole row!
13091         (rightMargin): ditto.
13092         (insertChar): force a rebreak if we inserted an inset!
13093
13094 2002-03-28  Herbert Voss  <voss@lyx.org>
13095
13096         * lyxlength.[Ch]: add inBP() to get the right PS-point
13097         units (BigPoint). With inPixels we have rounding errors
13098
13099 2002-04-11  Juergen Vigna  <jug@sad.it>
13100
13101         * text2.C (setCursorFromCoordinates): set iy to the right value.
13102         (setCursor): add check if row->previous exists!
13103
13104         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13105         an old float_type as this was the case in the old code!
13106
13107         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13108
13109         * BufferView2.C (showLockedInsetCursor): use iy
13110         (fitLockedInsetCursor): ditto
13111
13112         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13113         locked insets as there we have the right value now.
13114
13115         * lyxcursor.C: added iy_ variable and iy functions to set to the
13116         baseline of cursor-y of the locked inset.
13117
13118         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13119         (setCursor): fixed for insets which need a full row.
13120
13121         * text.C (rowLastPrintable): don't ignore the last space when before
13122         an inset which needs a full row.
13123         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13124         as last character of a row when before a inset which needs a full row.
13125
13126 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13127
13128         * version.C.in: update date
13129
13130         * text2.C (fullRebreak): try to always return true and see what
13131         happens...
13132
13133 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13134
13135         * MenuBackend.C (expand): use Floating::listName
13136
13137         * FloatList.C (FloatList): add listName argument to the built-in
13138         floats
13139
13140         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13141         text associated with the float.
13142
13143 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13144
13145         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13146
13147 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13148
13149         * ShareContainer.h: add a couple of missing typenames.
13150
13151 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13152
13153         * lyxrc.C (getDescription): use _() correctly rather than N_().
13154
13155 2002-03-28  Herbert Voss  <voss@lyx.org>
13156
13157         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13158         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13159
13160 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13161
13162         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13163         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13164
13165 2002-03-29  Juergen Vigna  <jug@sad.it>
13166
13167         * lyxfunc.C (dispatch): add a missing fitCursor call.
13168
13169         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13170         it was scrolled by a cursor move, so return the bool status.
13171
13172         * BufferView.C (fitCursor): return the bool flag also to the outside
13173         world as this is needed.
13174
13175         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13176
13177         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13178         call the edit() as it is not needed (and wrong) IMO.
13179         (workAreaButtonPress): set the screen_first variable before evt.
13180         unlock the inset as this may change screen_first and then we have
13181         a wrong y position for the click!
13182
13183 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13184
13185         * MenuBackend.C (expand): another translation that I missed
13186
13187 2002-03-28  Juergen Vigna  <jug@sad.it>
13188
13189         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13190
13191         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13192
13193 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13194
13195         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13196
13197         * MenuBackend.C (expand): fix export/view/update when there is no
13198         document open.
13199
13200 2002-03-27  Herbert Voss  <voss@lyx.org>
13201
13202         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13203         and text%
13204
13205 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13206
13207         * bufferview_funcs.C (currentState): only show paragraph number
13208         for is DEVEL_VERSION is set.
13209
13210         * lyxfunc.C (dispatch): put warning in INFO channel
13211
13212         * MenuBackend.C (expand): translate the name of floats
13213
13214         * FloatList.C (FloatList): mark the float names for translation
13215
13216         * converter.C (convert): use LibScriptSearch
13217
13218 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13219
13220         * MenuBackend.C (defaults): fix default menu (we might as well get
13221         rid of it...)
13222
13223 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13224
13225         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13226         directory.
13227
13228 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * lyxvc.C: reorder includes.
13231
13232 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13233
13234         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13235           properly
13236
13237 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13238
13239         * CutAndPaste.C: change layouts earlier on paste
13240           to avoid crashing when calling getFont()
13241
13242 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13243
13244         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13245         irritating #error.
13246
13247 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13248
13249         * WorkArea.C: remove 'Pending' debug message.
13250
13251         * most files: ws cleanup
13252
13253         * buffer.[Ch]: ws changes
13254
13255         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13256
13257 2002-03-21  Juergen Vigna  <jug@sad.it>
13258
13259         * tabular.C (SetMultiColumn): collapse also the contents of the
13260         cells and set the last border right. Added a Buffer const * param.
13261
13262 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13263
13264         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13265         linking or not.
13266
13267 2002-03-19  Juergen Vigna  <jug@sad.it>
13268
13269         * text2.C (clearSelection): reset also xsel_cache.
13270
13271         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13272         where it needs to be called (John tells us to do so too :)
13273         (selectionLost): reset sel_cache.
13274
13275         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13276
13277 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13278
13279         * text2.C (setCursorIntern): put debuging code in INSETS channel
13280
13281 2002-03-19  André Pönitz <poenitz@gmx.net>
13282
13283         * lyxfunc.C: tiny whitespace change
13284
13285 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13286
13287         * ToolbarDefaults.C (init):
13288         * LyXAction.C (init):
13289         * commandtags.h:
13290         * BufferView_pimpl.C (Dispatch):
13291         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13292
13293 2002-03-19  Allan Rae  <rae@lyx.org>
13294
13295         * exporter.C (Export): removeAutoInsets before doing anything else.
13296         While I've just introduced a dependency on BufferView this really is
13297         the best place to clean the buffer otherwise you need to cleanup in
13298         a dozen places before calling export or cleanup in a dozen functions
13299         that export calls.
13300
13301         * converter.C (runLaTeX):
13302         (scanLog): Better handling of removeAutoInsets and screen updates.
13303
13304         * lyxfunc.C (dispatch): small whitespace changes
13305
13306 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13307
13308         * WorkArea.C (C_WorkAreaEvent): return a value.
13309         (event_cb): return 1 if we handled the event, 0 otherwise.
13310
13311         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13312
13313 2002-03-18  Juergen Vigna  <jug@sad.it>
13314
13315         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13316         (GetAdditionalWidth): ditto.
13317         (RightLine): ditto.
13318         (LeftLine): ditto.
13319
13320         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13321         inset if we're there actually (probably not used right now but this
13322         is the direction to go for unifying code).
13323         (paste): disable code to clear the selection.
13324
13325         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13326         inside an InsetText and move the check further up as it is in the
13327         wrong place.
13328
13329         * text2.C (pasteSelection): set a selection over the pasted text.
13330
13331 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13332
13333         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13334         and libgraphics to build on Cygwin.
13335
13336 2002-03-15  Juergen Vigna  <jug@sad.it>
13337
13338         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13339         inserting an Inset into the paragraph. I know this is not the best
13340         fix but we already use current_view in CutAndPaste so we will remove
13341         all of it's using at the same time.
13342
13343         * buffer.C (sgmlError): deactivated function till it is rewritten in
13344         the right mode, now it can create problems.
13345
13346         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13347         before accessing it.
13348
13349 2002-03-14  Juergen Vigna  <jug@sad.it>
13350
13351         * undo_funcs.C (textHandleUndo): do the right thing when updating
13352         the inset after the undo/redo.
13353
13354         * text2.C (setCursor): just some testcode for #44 not ready yet.
13355
13356         * undo_funcs.C (textHandleUndo): set the next() and previous()
13357         pointers of the paragraph to 0 before deleting otherwise we have
13358         problems with the Paragraph::[destructor].
13359
13360         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13361         on a paragraph insertion.
13362
13363 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13364
13365         * buffer.C (asciiParagraph): use += operator for char append to
13366         string.
13367
13368         * paragraph.C (getFontSettings): compare >= not just >
13369         (highestFontInRange): ditto
13370         (setFont): ditto
13371
13372 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13373
13374         * paragraph.C: change several algorithm to be more appripriate for
13375         the problem domain. This is lookip in FontList and in the InsetList.
13376
13377 2002-03-13  André Pönitz <poenitz@gmx.net>
13378
13379         * commandtags.h:
13380         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13381
13382 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13383
13384         * commandtags.h:
13385         * LyXAction.C:
13386         * lyxfunc.C:
13387         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13388
13389 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13390
13391         * Painter.C (display): anon helper function, adjust code for this
13392         change.
13393         (pixmap): remove function.
13394
13395         * Painter.h: remove private display variable.
13396
13397         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13398
13399 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13400
13401         * WorkArea.[Ch]: remove figinset_canvas cruft.
13402
13403 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13404
13405         * lyxtextclass.C (operator): add one item cache optimization.
13406
13407         * bufferlist.h: doxy changes
13408
13409         * bufferlist.C: ws changes
13410
13411         * DepTable.[Ch] (ext_exist): place const in the right spot.
13412
13413         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13414         call resizeInsets.
13415         (workAreaExpose): call resizeInsets when the with BufferView changes.
13416         (Dispatch): adjust for protectedBlank removal
13417         (specialChar): call updateInset if the insert went ok.
13418
13419         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13420         specialChar instead.
13421
13422         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13423
13424         * BufferView.h: doxy change
13425
13426         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13427
13428         * lyxtextclass.C (operator[]): remove non-const version
13429         (defaultLayout): remove non-const version
13430
13431 2002-03-12  Juergen Vigna  <jug@sad.it>
13432
13433         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13434         did resize the LyXText too.
13435
13436         * buffer.C (readLyXformat2): set layout information on newly allocated
13437         paragraphs.
13438
13439         * tabular.C (OldFormatRead): set layout information on the paragraph.
13440
13441 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13442
13443         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13444
13445 2002-03-11  Juergen Vigna  <jug@sad.it>
13446
13447         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13448         plainly wrong.
13449         (resizeCurrentBuffer): force also the insets to resize themselfes.
13450         (moveCursorUpdate): fixed up for InsetText.
13451
13452 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13453
13454         * commandtags.h:
13455         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13456         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13457         value of Dialogs::tooltipsEnabled().
13458         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13459
13460 2002-03-08  Juergen Vigna  <jug@sad.it>
13461
13462         * BufferView_pimpl.C (updateInset): update inset inside inset also
13463         if it isn't inside theLockingInset().
13464
13465 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * buffer.C (asciiParagraph): redo some of the word and line length
13468         handling.
13469         (getLists): look for Caption instead of caption.
13470
13471 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13472
13473         * buffer.C (Buffer): initialize niceFile to true
13474         (makeLaTeXFile):
13475         (makeLinuxDocFile):
13476         (makeDocBookFile): make sure niceFile is true on exit
13477
13478 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13479
13480         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13481
13482 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13483
13484         * LyXSendto.C: remove.
13485         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13486         * lyx_gui.C: remove now-redundant comment.
13487         * ColorHandler.h: remove forward declaration of class WorkArea.
13488         * lyxfunc.C: remove #include "WorkArea.h".
13489
13490 2002-03-07  Juergen Vigna  <jug@sad.it>
13491
13492         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13493         got moved away with the DEPM and also set the inset_owner always
13494         right which before could have been omitted.
13495
13496 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13497
13498         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13499         wanted layout is not found.
13500
13501 2002-03-07  Juergen Vigna  <jug@sad.it>
13502
13503         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13504
13505 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13506
13507         * paragraph.C (breakParagraph): use default layout not layout of
13508         prev paragraph.
13509         (Paragraph): clear ParagraphParameters.
13510
13511 2002-03-06  Juergen Vigna  <jug@sad.it>
13512
13513         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13514         otherwise it would not be a valid lenght. Fixed a special case in
13515         the minipage compatibility read where we end the document with a
13516         minipage.
13517
13518         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13519         was set as it could be 0 for InsetTexts first entry.
13520
13521 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13522
13523         * paragraph.C (writeFile): if layout is empty write out
13524         defaultLayoutName().
13525
13526         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13527         file without named layout we set layout to defaultLayoutName().
13528
13529 2002-03-06  Juergen Vigna  <jug@sad.it>
13530
13531         * CutAndPaste.C (copySelection): set layout for new paragraph.
13532
13533         * text.C (prepareToPrint): leave ERT inset left aligned
13534         (leftMargin): don't indent paragraphs inside ERT insets
13535
13536 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13537
13538         * paragraph.C (breakParagraph): dont call clear do the work manually
13539
13540         * paragraph.[Ch] (clear): remove function
13541
13542 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13543
13544         * paragraph.C (Paragraph): dont call clear, the work has already
13545         been done.
13546
13547         * lyxtextclass.C (operator): assert if n is empty
13548
13549         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13550         work manually instead.
13551
13552 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13553
13554         * BufferView_pimpl.C: protect selectionLost against text == 0
13555
13556 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13557
13558         * text.C (breakParagraph): fix a setting layout to '0' problem.
13559
13560 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13561
13562         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13563         final location of file, for the included files, and graphics.
13564
13565 2002-03-05  Juergen Vigna  <jug@sad.it>
13566
13567         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13568
13569 2002-03-04  Juergen Vigna  <jug@sad.it>
13570
13571         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13572
13573         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13574         last column of multicolumn cells.
13575         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13576
13577 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13578
13579         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13580         file if it doesn't go to a temporary file.
13581
13582         * buffer.C (sgmlOpenTag):
13583         (sgmlCloseTag):  remove extra newline insertion.
13584
13585 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13586
13587         * text.C (getRowNearY): comment out debug msg
13588
13589 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13590
13591         * text2.C: first -> first_y
13592
13593         * text.C (getRowNearY): add some attemts at a possible
13594         optimization, not working.
13595
13596         * tabular.[Ch]: add BufferParams to several function so that newly
13597         created paragraph can be initialized to he default layotu for the
13598         buffers textclass.
13599
13600         * tabular-old.C (ReadOld): add buf->params to call of Init
13601
13602         * screen.C: rename text->first to text->first_y
13603
13604         * paragraph.C (breakParagraph): always set layout in the broken
13605         paragraph
13606
13607         * lyxtextclass.C (Read): remove lowercase
13608         (hasLayout): ditto
13609         (operator): ditto
13610         (delete_layout): ditto
13611
13612         * lyxtext.h: rename first -> first_y
13613
13614         * lyxlayout.C (Read): remove lowercase
13615         (name): ditto
13616         (setName): ditto
13617         (obsoleted_by): ditto
13618
13619         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13620
13621         * buffer.C (insertErtContents): add params are to InsetERT
13622         (parseSingleLyXformat2Token): add code to check if a paragraphs
13623         layout really exist.
13624         (parseSingleLyXformat2Token): add params to several inset
13625         constructors
13626         (asciiParagraph): remove lowercase, do the layout comparisons with
13627         no_case
13628
13629         * BufferView_pimpl.C (cursorNext): first -> first_y
13630         (resizeCurrentBuffer): first -> first_y
13631         (updateScrollbar): first -> first_y
13632         (scrollCB): first -> first_y
13633         (workAreaMotionNotify): first -> first_y
13634         (workAreaButtonPress): first -> first_y
13635         (checkInsetHit): first -> first_y
13636         (cursorPrevious): first -> first_y
13637         (cursorNext): first -> first_y
13638         (Dispatch): add buffer_->params to severl inset contructors
13639
13640 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13641
13642         * lyxlayout.C (Read): remove some debug info that I forgot.
13643
13644         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13645         clean up the code slightly.
13646         (makeLinuxDocFile): ditto
13647         (makeDocBookFile): ditto
13648
13649         * text2.C: layout as string
13650
13651         * text.C: layout as string
13652
13653         * paragraph_pimpl.C: layout as string
13654
13655         * paragraph.[Ch]: layout as string
13656
13657         * lyxtextclasslist.[Ch]: layout as string
13658
13659         * lyxtextclass.[Ch]: layout as string
13660
13661         * lyxtext.h: layout as string
13662
13663         * lyxlayout.[Ch]: layout as string
13664
13665         * lyx_cb.C: layout as string
13666
13667         * bufferview_funcs.C: layout as string
13668
13669         * bufferparams.C: layout as string
13670
13671         * buffer.C: layout as string
13672
13673         * LyXView.[Ch]: layout as string
13674
13675         * LaTeXFeatures.[Ch]: layout as string
13676
13677         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13678
13679         * BufferView_pimpl.C: change current_layout to string, remove
13680         lyx::layout_type.
13681         (Dispatch):
13682         (smartQuote):
13683         (insertInset):
13684         (workAreaButtonRelease): layout as string
13685
13686         * BufferView2.C (unlockInset): adjust
13687
13688         * vspace.C (asLatexCommand): use an explict temp variable.
13689
13690 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13691
13692         * Makefile.am: use FRONTEND_*
13693
13694 2002-03-01  Juergen Vigna  <jug@sad.it>
13695
13696         * tabular.C (SetWidthOfMulticolCell): changed to something better
13697         I hope but still work in progress.
13698         (recalculateMulticolumnsOfColumn): renamed function from
13699         recalculateMulticolCells as it is more appropriate now.
13700         (SetWidthOfCell): calculate multicols better.
13701
13702 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13703
13704         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13705
13706         * lyxfunc.C (processKeySym): print sequence also if it is
13707         `deleted' (complete)
13708
13709         * kbsequence.C (print): print sequence even if it is deleted
13710         (complete would be a better word, actually).
13711
13712         * lyxfunc.C (dispatch): print complete options after a prefix key
13713
13714         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13715
13716 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13717
13718         * text2.C (setCharFont): eliminate setCharFont code duplication.
13719
13720 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13721
13722         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13723         LFUN_TABULAR_FEATURE (bug #177)
13724
13725 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13726
13727         * Makefile.am: remove figure.h
13728
13729 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13730
13731         * Bufferview_pimpl.C:
13732         * CutAndPasteC:
13733         * LaTeX.C:
13734         * LyXSendto.C:
13735         * buffer.C:
13736         * bufferlist.C:
13737         * converter.C:
13738         * language.C:
13739         * lyxfunc.C:
13740         * lyxvc.C:
13741         * paragraph.C:
13742         * text.C:
13743         * text2.C: remove #include "lyx_gui_misc.h".
13744
13745         * LaTeX.C: added #include <cstdio>
13746
13747 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13748
13749         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13750         that the paragraph following this one can have.
13751
13752         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13753
13754         * vspace.C (asLatexCommand): fix bogus gcc warning
13755
13756         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13757
13758 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13759
13760         * text2.C (setLayout): get rid of redundant code
13761
13762 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13763
13764         * text2.C (incDepth): make sure depth cannot be increased beyond
13765         reasonable values.
13766
13767 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13768
13769         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13770         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13771
13772         * PainterBase.h (image):
13773         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13774         a LyXImage const *.
13775
13776 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13777
13778         * BufferView.C:
13779         * BufferView.h:
13780         * BufferView_pimpl.C:
13781         * BufferView_pimpl.h:
13782         * LaTeXFeatures.C:
13783         * LyXAction.C:
13784         * LyXView.C:
13785         * Makefile.am:
13786         * UpdateList.h:
13787         * UpdateList.C:
13788         * buffer.C:
13789         * figure.h:
13790         * figureForm.C:
13791         * figureForm.h:
13792         * figure_form.C:
13793         * figure_form.h:
13794         * lyx_cb.C:
13795         * lyx_gui.C:
13796         * lyx_gui_misc.C:
13797         * lyxfunc.C:
13798         * sp_base.h:
13799         * sp_ispell.h:
13800         * sp_pspell.h:
13801         * sp_spell.C: remove fig inset, and the crap house of
13802           cards that follows it
13803
13804 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * Makefile.am:
13807         * lyxserver.C:
13808         * os2_defines.h:
13809         * os2_errortable.h:
13810         * nt_defines.h: move .h into support/
13811
13812         * vms_defines.h: remove
13813
13814         * WorkArea.C: add space in debug output
13815
13816         * text2.C:
13817         * paragraph.C:
13818         * buffer.C: add WITH_WARNINGS
13819
13820         * vc-backend.h:
13821         * vc-backend.C:
13822         * bufferlist.C: s/retrive/retrieve/, add docs
13823
13824         * vspace.h:
13825         * vspace.C:
13826         * kbmap.h:
13827         * lyxlength.h:
13828         * lyxgluelength.h:
13829         * length_common.h:
13830         * chset.h:
13831         * chset.C: add docs
13832
13833         * lyxgui.C: add ID to X error handler
13834
13835         * lyxtestclass.c: fix typo
13836
13837 2002-02-26  Juergen Vigna  <jug@sad.it>
13838
13839         * tabular_funcs.C (write_attribute): changed so that some default
13840         attributes are not written at all.
13841         (getTokenValue): set default values before trying to read the
13842         value so we have the return value always set as default if we don't
13843         find the token we search for.
13844
13845         * tabular.C (Write): write bools as bools not as strings!
13846
13847 2002-02-22  Juergen Vigna  <jug@sad.it>
13848
13849         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13850         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13851
13852         * text.C (leftMargin): don't add an indent for paragraphs inside
13853         tabular cells (fix #208).
13854
13855 2002-02-21  José Matos  <jamatos@fep.up.pt>
13856
13857         * tabular.C (docBook): fixed support for long tables.
13858
13859 2002-02-20  Juergen Vigna  <jug@sad.it>
13860
13861         * text2.C (getFont): get the drawing font of the Inset if this
13862         paragraph is inside an inset (only important for InsetERT for now).
13863
13864         * buffer.C (insertErtContents): use new lanugage params in ERT
13865         constructor.
13866
13867         * CutAndPaste.C: commenting out seemingly uneeded code.
13868
13869 2002-02-19  Allan Rae  <rae@lyx.org>
13870
13871         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13872         Iterators might be simple to use but they also get invalidated.
13873         (removeAutoInsets): renamed saved cursor tracking variables and added
13874         some comments to clarify what everything does.
13875
13876 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13877
13878         * Chktex.C:
13879         * LaTeX.C:
13880         * LyXSendto.C:
13881         * converter.C:
13882         * lyx_cb.C:
13883         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13884         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13885
13886         * lyxfunc.C:
13887         * vc-backend.h: remove #include "support/syscall.h"
13888
13889         * LaTeX.C:
13890         * LyXSendto.C:
13891         * converter.C: rearrange #includes in Lars' approved fashion.
13892
13893         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13894         forward declare class Timeout in the header file.
13895
13896         * XFormsView.C: changes due to the above.
13897
13898         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13899         similar to LyXView.
13900
13901         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13902         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13903
13904 2002-02-18  José Matos  <jamatos@fep.up.pt>
13905
13906         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13907         insets contents.
13908
13909 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13910
13911         * a lot of small ws changes
13912         * add a lot of using std::XXX
13913         * use std construcs some places where approp.
13914         * use some exisint stuff from lyxfunctional where approp.
13915         * Make file changes to use partial linking (lets test this now...)
13916
13917 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13918
13919         * Chktex.C:
13920         * buffer.C:
13921         remove #include "support/syscontr.h" as it's redundant. Always has been.
13922
13923         * Chktex.C:
13924         * LaTeX.C:
13925         * LyXSendto.C:
13926         * converter.C:
13927         * lyx_cb.C:
13928         * vc-backend.C:
13929         change Systemcalls::System to Systemcalls::Wait and
13930         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13931         No change of functionality, just reflects the stripped down Systemcalls
13932         class.
13933
13934 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13935
13936         * debug.[Ch]: add a GRAPHICS type to the enum.
13937
13938 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13939
13940         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13941
13942         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13943         there is an inset.
13944
13945 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13946
13947         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13948         match the changes below.
13949
13950         * text2.C (toggleInset): if there is not editable inset at cursor
13951         position, try to see if cursor is _inside_ a collapsable inset
13952         and close it.
13953
13954 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13955
13956         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13957         document menu has a nice checkbox
13958
13959 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13960
13961         * lyxlength.C (asLatexString): change PW to output as percent of
13962         \textwidth.
13963
13964         * lengthcommon.C: change '%' to 't%'
13965
13966         * lyxfunc.C (dispatch): a few comments from Martin
13967
13968 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13969
13970         * WorkArea.h:
13971         * WorkArea.C:
13972         * BufferView_pimpl.h:
13973         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13974           the X selection.
13975
13976 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13977
13978         * vspace.C (inPixels): fix compiler warning
13979
13980 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13981
13982         * lyxfunc.C (getStatus): fix status message for disabled commands.
13983
13984 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13985
13986         * BufferView_pimpl.C: fix crash on close buffer
13987         during selection (#227)
13988
13989 2002-01-27  Herbert Voss  <voss@lyx.org>
13990
13991         * buffer.C: link old Figure to new graphic inset
13992
13993 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13994
13995         * FontLoader.C (getFontinfo): Change the latex font names in order
13996         to match the names of type1inst.
13997
13998 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13999
14000         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14001
14002         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14003         (extchanged): ditto
14004         (ext_exist): ditto
14005         (remove_files_with_extension): ditto
14006         (remove_file): ditto
14007         (write): ditto
14008
14009         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14010         document is smaller than the work area height. Do not initialize
14011         static variables to 0.
14012
14013 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14014
14015         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14016
14017         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14018         LFUN_LAYOUT_PARAGRAPHS.
14019
14020         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14021         tabular. It is possible to provide a possible cell, which will
14022         typically be the actcell from the corresponding insettabular
14023
14024         * lyxfunc.C (getStatus): small cleanup; disable
14025         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14026         true
14027
14028 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14029
14030         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14031
14032         * paragraph.C (startTeXParParams):
14033         (endTeXParParams): new methods. The LaTeX code to
14034         start/end paragraph formatting
14035         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14036         empty (fixes bug #200)
14037
14038         * vspace.C (inPixels): adapt to the change below
14039         (inPixels): [later] more cleanups (remove unused variables)
14040
14041         * lyxlength.C (inPixels): change to use a width and a height as
14042         parameter.
14043
14044 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14045
14046         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14047         Replaced with \paperwidth
14048
14049         * DepTable.C (insert): add std:: qualifier
14050
14051 2002-01-18  Allan Rae  <rae@lyx.org>
14052
14053         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14054         updated also?
14055
14056         * text.C (drawInset): Turned out I didn't know enough about how
14057         rebreaking worked.  This fixes most of the redraw problems.  I see
14058         an occasional cursor trail when a line is broken now and the cursor
14059         placement can seem out by a few pixels also after a rebreak.
14060
14061 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14062
14063         * buffer.C (parseSingleLyXformat2Token): update because minipage
14064         width is now a LyXLength
14065
14066         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14067
14068         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14069         math insets
14070
14071 2002-01-17  Juergen Vigna  <jug@sad.it>
14072
14073         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14074
14075         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14076         is set correctly and the inset is updated correctly.
14077
14078 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14079
14080         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14081         the beginning of the loop.
14082
14083 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14084
14085         * lyxrc.C: improve help for use_scalable_fonts
14086
14087 2002-01-17  Allan Rae  <rae@lyx.org>
14088
14089         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14090
14091 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14092
14093         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14094         make sure to set their inset_owner to the right value (bug #171)
14095
14096 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14097
14098         * DepTable.h
14099         * DepTable.C: Implement mtime checking to reduce time spent doing
14100         CRCs.
14101
14102 2002-01-16  Juergen Vigna  <jug@sad.it>
14103
14104         * tabular.C (GetAdditionalHeight): one of error fixed.
14105
14106         * lyxrc.C (output): small fix in writing use_pspell.
14107
14108 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14109
14110         * sp_base.h: #include LString.h
14111
14112 2002-01-16  Allan Rae  <rae@lyx.org>
14113
14114         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14115         Can someone check this please?
14116
14117         * text.C (drawInset): It was possible that p.row would be removed by
14118         breakAgainOneRow upsetting a few other settings.  There may be another
14119         small tweak possible by setting need_break_row = 0 when p.row has been
14120         removed but I don't know enough about the logic here.
14121
14122 2002-01-15  Allan Rae  <rae@lyx.org>
14123
14124         * text.C (insertChar): removed conditional truism.
14125
14126         * BufferView2.C (removeAutoInsets): More tweaks.
14127         cur_par_prev could be a stray pointer.  Check for trailing empty line
14128         in case last line was cur_par and only had an error inset on it.
14129
14130 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14131
14132         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14133         absolute
14134
14135         * vc-backend.C (most methods):
14136         * exporter.C (Export):
14137         * converter.C (convert):
14138         (runLaTeX):
14139         * LyXSendto.C (SendtoApplyCB):
14140         * lyxfunc.C (dispatch):
14141         (menuNew):
14142         (open):
14143         (doImport):
14144         * lyx_cb.C (AutoSave):
14145         (InsertAsciiFile):
14146         * BufferView_pimpl.C (MenuInsertLyXFile):
14147         * buffer.C (runChktex): use Buffer::filePath().
14148
14149         * buffer.h: rename filename to filename_; rename filepath to
14150         filepath_ and make it private
14151         (filePath): new method
14152
14153         * buffer.C (writeFile): use fileName()
14154         (getLatexName):
14155
14156         * lyx_main.C (init): fix starting  of LyX when the binary is a
14157         link from so,ewhere else.
14158
14159         * minibuffer.C: include <cctype> for isprint
14160
14161 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14162
14163         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14164         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14165         name clash with InsetCollapsable's width function.
14166
14167 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14168
14169         * lastfiles.C: include <iterator>
14170
14171 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14172
14173         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14174         std::count.
14175
14176         * buffer.C (makeLaTeXFile): ditto.
14177         Also make loop operation more transparent.
14178
14179 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14180
14181         * ToolbarDefaults.C: remove trailing comma closing namespace.
14182
14183         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14184
14185         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14186         as in WorkArea.
14187
14188         * trans.C (Load): comment out unused variable, allowed.
14189
14190 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         * minibuffer.[Ch] (append_char): new method to recieve input from the
14193         drop-down completion browser. If a key was pressed, then recieve this
14194         char and append it to the existing string.
14195         (peek_event): modify the positioning data passed to the completion
14196         browser so that it can be placed above the minibuffer rather than below.
14197 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14198
14199         * LyXAction.C (init): alloe error-next for readonly documents.
14200
14201         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14202         count.
14203
14204 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14205
14206         * bufferlist.C (readFile): create the buffer _after_ checking that
14207         the file exists.
14208
14209         * lyxfunc.C (verboseDispatch): fix handling of arguments
14210
14211         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14212
14213         * lyxrc.C: use string::erase() instead of initializing to "".
14214
14215
14216 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * BufferView_pimpl.h:
14219         * BufferView_pimpl.C:
14220         * WorkArea.h:
14221         * WorkArea.C:
14222         * text2.C: tell X when we have made a selection for copying
14223
14224 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14225
14226         * BufferView_pimpl.C (MenuInsertLyXFile):
14227         * lyxfunc.C (menuNew):
14228         (open):
14229         (doImport): add shortcuts to directory buttons
14230
14231         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14232         open a float)
14233
14234         * lyxfunc.C (setStatusMessage):
14235         (getStatusMessage): new methods
14236         (getStatus):use setStatusMessage instead of setErrorMessage
14237         (dispatch): when function is disabled, set error message here
14238         [instead of in getStatus previously]
14239
14240         * BufferView_pimpl.C (workAreaButtonRelease): update
14241         toolbar/menubar here too.
14242
14243 2002-01-13  Allan Rae  <rae@lyx.org>
14244
14245         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14246         Now seems indestructible.  Remaining task is to audit all other
14247         code affected by deleteEmptyParagraphMechanism.  One small quirk
14248         left is that an empty document with an error in the preamble can
14249         be made to report an error but no error box appears.  I don't know
14250         where it goes.
14251         (removeAutoInsets): Improved comments.
14252
14253 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14254
14255         * Thesaurus.h:
14256         * Thesaurus.C: update for Aiksaurus 0.14
14257
14258 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14259
14260         * text2.C (firstParagraph): removed member function, all uses
14261         replaces with ownerParagraph
14262         (redoParagraphs): here
14263         (updateInset): here
14264         (toggleAppendix): here
14265         * BufferView2.C (insertErrors): here
14266         (setCursorFromRow): here
14267
14268 2002-01-13  Allan Rae  <rae@lyx.org>
14269
14270         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14271         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14272         There is still a way to segfault this although you may have to do this
14273         multiple times: Have an InsetERT with an unknown command in it.
14274         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14275         <down-arrow>, <Enter> again, View->DVI, BANG!
14276
14277         * text2.C (setCursor):
14278         (deleteEmptyParagraphMechanism):
14279         * lyxtext.h (setCursor):
14280         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14281         Making use of the return value may help fix other bugs.
14282
14283 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14284
14285         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14286
14287         * LyXView.C (updateMenubar): call MenuBar::update here
14288         (updateToolbar): but not here
14289         (showState): do not update toolbar/menubar
14290
14291         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14292         should need to care about that.
14293
14294         * lyxfunc.C (verboseDispatch): simplify a bit
14295         (getStatus): have a version which takes a pseudoaction, and
14296         another which requires a (kb_action,string).
14297
14298         * LyXAction.C (retrieveActionArg): make it work also when action
14299         is not a pseudo-action.
14300         (getActionName): simplify a bit
14301         (helpText):
14302
14303 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14304
14305         * lyxfunc.C (verboseDispatch): new families of methods with
14306         several ways to specify a command and a bool to indicate whether
14307         the command name and shortcut should be displayed in minibuffer
14308         (eventually, we could extend that to a finer bitmask like
14309         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14310         (dispatch): the pristine dispatch command which just, well,
14311         dispatchs! Note it still sets its result to minibuffer; I'm not
14312         sure we want that.
14313
14314         * lyxfunc.h: remove setHintMessage
14315
14316         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14317
14318 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14319
14320         * BufferView_pimpl.C (specialChar): delete new inset if we have
14321         not been able to insert it.
14322
14323         * kbmap.C: revert to using int instead of kb_action, since all we
14324         are dealing with is pseudo-actions.
14325
14326         * LyXAction.C (searchActionArg): change to return int instead of
14327         kb_action, since the result is a pseudoaction.
14328
14329 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14330
14331         * buffer.C (insertErtContents): Fix (partially) the font bug.
14332
14333 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14334
14335         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14336         as the other one is broken on my machine!
14337
14338 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14339
14340         * commandtags.h:
14341         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14342
14343 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14344
14345         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14346         reflect their actual use. Provide compatibility code for older lyxrc
14347         files.
14348
14349         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14350         FL_NORMAL_STYLE.
14351         change names of popup font variables in line with the changes to lyxrc.C
14352
14353 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14354
14355         * buffer.C (asciiParagraph): avoid outputing a word twice after
14356         an inset.
14357
14358         * lyxrc.C (getDescription): document that document_path and
14359         template_path can be empty.
14360
14361 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14362
14363         * LaTeXFeatures.C (getMacros):
14364         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14365
14366         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14367
14368         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14369         getPackages.
14370         (getPackages): rename feature "floats" to "float". Use an array to
14371         iterate over 'simple' features (i.e. just a \usepackage). Add
14372         handling of "amsmath" (renamed from "amsstyle").
14373
14374 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14375
14376         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14377         features list.
14378
14379 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14380
14381         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14382         FuncStaus::FuncStatus & FuncStaus::some_method().
14383
14384 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14385
14386         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14387         of the func_satus stuff. Edited and massaged in various ways by
14388         JMarc.
14389
14390         * lyxfunc.C (getStatus): use FuncStatus
14391
14392 2002-01-08  Juergen Vigna  <jug@sad.it>
14393
14394         * text.C (nextBreakPoint): use function Inset::isChar().
14395
14396         * paragraph.C (TeXOnePar): use function
14397         Inset::forceDefaultParagraphs.
14398
14399         * buffer.C (latexParagraphs): use function
14400         Inset::forceDefaultParagraphs.
14401
14402 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14403
14404         * lyx_gui.C (init): set the style of the menu popups to
14405         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14406
14407 2002-01-07  Juergen Vigna  <jug@sad.it>
14408
14409         * text.C (setHeightOfRow): small fix
14410         (prepareToPrint): don't look at alignment if we don't have the place
14411         for doing it.
14412
14413 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14414
14415         * box.C: New file. Move the Box methods and functions out of box.h,
14416         following Lars' suggestion.
14417
14418 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14419
14420         * box.h: #include "support/LOstream.h", needed for inlined function.
14421
14422         * lyxtextclass.C:
14423         * lyxtextclasslist.C: added some using std declarations.
14424
14425 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14426
14427         * box.h: make signed dimensions to allow insets wider than
14428           the screen (bug #162)
14429
14430         * BufferView_pimpl.C: add some insetHit debug
14431
14432 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14433
14434         * vc-backend.C: add FIXME
14435
14436 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14437
14438         * lyxfunc.C (getStatus): enable code for showing math font status
14439         in toolbar/menu.
14440
14441 2002-01-07  Juergen Vigna  <jug@sad.it>
14442
14443         * text.C (nextBreakPoint): removed debug output not needed anymore.
14444
14445 2002-01-06  Juergen Vigna  <jug@sad.it>
14446
14447         * text.C (nextBreakPoint): fixed up this function we had this bug
14448         since ever but now hopefully we break row better.
14449         (insertChar): we have to check if an inset is the next char as it
14450         could now happen that a large inset is causing a break.
14451
14452 2002-01-05  Juergen Vigna  <jug@sad.it>
14453
14454         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14455         if it doesn't like to be drawed.
14456
14457 2002-01-04  Juergen Vigna  <jug@sad.it>
14458
14459         * BufferView2.C (lockInset): forgot to set a cursor.
14460
14461         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14462
14463 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14464
14465         * FormMathsPanel.C:
14466         * FormMathsPanel.h
14467         * MathsSymbols.C:
14468         * form_maths_panel.C:
14469         * form_maths_panel.h:
14470         * form_maths_panel.fd: implemented sub- and super- buttons in math
14471         panel.
14472
14473         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14474         (or ^ space) to be used as in TeX (req'd by Andr�.
14475
14476         * lyxfunc.C: Allow ^ and _ again to be used both as
14477         super/subscript (mathed) and as themselves (in text).
14478
14479 2002-01-03  Allan Rae  <rae@lyx.org>
14480
14481         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14482         "LyX" or the filename of the current buffer if it has one.  This is a
14483         modified form of John Levon's patch.
14484
14485         * XFormsView.C (setWindowTitle): also set icon title.
14486
14487         * LyXView.h (setWindowTitle): signature changed.
14488         * XFormsView.h (setWindowTitle): ditto.
14489
14490 2002-01-02  Juergen Vigna  <jug@sad.it>
14491
14492         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14493
14494 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14495
14496         * screen.C (topCursorVisible): introduce a temp var for
14497         text->cursor.row(), handle the case where this row is null. (kindo
14498         hachish)
14499
14500         * text2.C (setCursor): add a couple of asserts.
14501
14502         * paragraph.h (inset_iterator): add -> operator
14503
14504         * paragraph.[Ch] (autoDeleteInsets): remove member function
14505
14506         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14507         cursor pos correctly and handle inset deletion by itself.
14508         (insertErrors): move iterator declaration out of for expression
14509
14510         * lyxtextclass.C: add <algorithm>
14511
14512         * Makefile.am: added the new files to sources, removed layout.C
14513
14514         * layout.C: removed file
14515
14516         * layout.h: remove LYX_DUMMY_LAYOUT
14517
14518         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14519         layout.
14520
14521         * lyxlayout.[Ch]:
14522         * lyxtextclass.[Ch]:
14523         * lyxtextclasslist.[Ch]: new files
14524
14525         * include order changes to a lot of files, also changes because of
14526         the six new files.
14527
14528 2001-12-27  Juergen Vigna  <jug@sad.it>
14529
14530         * buffer.C (asciiParagraph): more fixes.
14531
14532         * tabular.C (ascii): make ascii export support export of only the
14533         data separated by a column-delimiter.
14534         (ascii): better support for ascii export.
14535
14536         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14537
14538 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * tabular_funcs.C: use a "using std::getline" instead of the
14541         previous fix from Angus (necessary for cxx + lyxstring)
14542
14543 2001-12-24  Juergen Vigna  <jug@sad.it>
14544
14545         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14546
14547         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14548         problems. First check a minipage also if we have some ert-contents
14549         (not only on par->size(), second set the right depth of the paragraph
14550         on the relink to the root-paragraph-list!
14551
14552         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14553         which then did not anymore update the main paragraphs on undo/redo!
14554
14555 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14556
14557         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14558         code. Support all font-changing funcs (even those which are not in
14559         menu currently). Support for reporting font settings in
14560         mathed (disabled until Andre provides a function on mathed's side).
14561
14562         * func_status.h (toggle): small helper function to set toggle
14563         state on a flag.
14564
14565 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14566
14567         * tabular_funcs.C: getline -> std::getline
14568
14569 2001-12-21  Juergen Vigna  <jug@sad.it>
14570
14571         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14572         accessed and could be 0 (I couldn't generate this but it seems
14573         Michael could!).
14574
14575 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14578         * tabular_funcs.h: here and include iosfwd
14579
14580 2001-12-20  Juergen Vigna  <jug@sad.it>
14581
14582         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14583         inside inset but undo_par was.
14584
14585 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14586
14587         * Thesaurus.C: always include <config.h> in sources.
14588
14589         * Painter.h:
14590         * lyxlookup.h:
14591         * box.h: do not include <config.h> in header files
14592
14593         * text.C (paintLastRow): remove unused variable
14594
14595         * text.C (transformChar):
14596         (insertChar):
14597         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14598
14599         * Painter.C (text):
14600         * font.C (width): rewrite to use uppercase() instead of
14601         islower/toupper.
14602
14603         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14604
14605 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14606
14607         * lyxfind.C: clean up of find failure position change
14608
14609 2001-12-20  Juergen Vigna  <jug@sad.it>
14610
14611         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14612
14613         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14614         (TeXRow): added to LaTeX a single tabular row.
14615         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14616         (Latex): simplified and finally good LT-h/f support.
14617         (various_functions): just small adaptions for LT-h/f support.
14618
14619         * tabular_funcs.[hC]: added and moved here all not classfunctions
14620         of LyXTabular.
14621
14622 2001-12-19  Juergen Vigna  <jug@sad.it>
14623
14624         * tabular.[Ch]: better support for longtabular options (not finished
14625         yet!)
14626
14627 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14628
14629         * text.C (paintLastRow): use the label font instead of the font of
14630         the last character to compute the size of *_BOX. This makes more
14631         sense and avoids a crash with empty paragraphs.
14632         Use Painter::rectangle to draw EMPTY_BOX.
14633
14634 2001-12-19  Juergen Vigna  <jug@sad.it>
14635
14636         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14637         the paragraphs if the replaced paragraph is not the first one!
14638         Tried to delete not used paragraphs but does not work yet so for
14639         now it's inside #ifdef's and by default off!
14640
14641 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14642
14643         * MenuBackend.C: include "lyx_main.h" instead of declaring
14644         lastfiles (actually was declared as LastFiles* instead of a
14645         scoped_ptr).
14646
14647 2001-12-17  Juergen Vigna  <jug@sad.it>
14648
14649         * tabular.C (AppendColumn): applied John's fix
14650
14651 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14652
14653         * BufferView.h:
14654         * BufferView.C:
14655         * BufferView_pimpl.h:
14656         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14657
14658         * Makefile.am:
14659         * box.h: new start of class for above
14660
14661         * lyxfunc.C: ignore space-only minibuffer dispatches.
14662           Show the command name when it doesn't exist
14663
14664         * minibuffer.C: don't add empty lines to the history
14665
14666         * minibuffer.C: add a space on dropdown completion
14667
14668 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14669
14670         * text.C: fix line above/below drawing in insets
14671
14672 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14673
14674         * lyxlength.C (LyXLength): Initialize private variables.
14675
14676 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14677
14678         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14679         when inserting error insets.
14680
14681 2001-12-13  Juergen Vigna  <jug@sad.it>
14682
14683         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14684         actually sometimes the before-paragraph.
14685         (setUndo): don't clear the redostack if we're not actually undoing!
14686
14687 2001-12-06  Juergen Vigna  <jug@sad.it>
14688
14689         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14690         and fixed redoing of main paragraph, so we can use it now ;)
14691
14692         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14693
14694 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14695
14696         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14697         Juergen's request
14698
14699 2001-12-13  André Pönitz <poenitz@gmx.net>
14700
14701         * undostack.[Ch]:
14702         * undo_func.C: minor cleanup
14703
14704 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14705
14706         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14707         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14708         font in urw-fonts package which is marked as -urw-fontspecific and
14709         does not work (incidentally, changing the encoding in the
14710         fonts.dir of this package to -adobe-fontspecific fixes the
14711         problem).
14712
14713         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14714         is a crash when undoing first paragraph (Juergen, please take a
14715         look). THis does not mean the undo fix is wrong, just that it
14716         uncovers problems.
14717
14718         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14719         the (Paragraph*) version when needed instead of duplicating the
14720         code.
14721
14722         * text.C (workWidth): use Inset::parOwner to find out where the
14723         inset has been inserted. This is a huge performance gain for large
14724         documents with lots of insets. If Inset::parOwner is not set, fall
14725         back on the brute force method
14726
14727         * paragraph_pimpl.C (insertInset):
14728         * paragraph.C (Paragraph):
14729         (cutIntoMinibuffer): set parOwner of insets when
14730         inserting/removing them
14731
14732         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14733
14734 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14735
14736         * commandtags.h:
14737         * LyXAction.C:
14738         * lyx_main.C:
14739         * lyxfunc.C:
14740         * mathed/formulabase.C:
14741         * mathed/math_cursor.[Ch]:
14742         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14743
14744
14745 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14746
14747         * lyxlength.[Ch] (operator!=): new function
14748
14749 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14750
14751         * text.C (workWidth): use Inset::parOwner to find out where the
14752         inset has been inserted. This is a huge performance gain for large
14753         documents with lots of insets. If Inset::parOwner is not set, fall
14754         back on the brute force method
14755
14756         * paragraph_pimpl.C (insertInset):
14757         * paragraph.C (Paragraph):
14758         (cutIntoMinibuffer): set parOwner of insets when
14759         inserting/removing them
14760
14761         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14762
14763 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14764
14765         * tabular-old.C (getTokenValue):
14766         * tabular.C (getTokenValue):
14767         (write_attribute): new versions for LyXLength
14768         (everywhere): adjust the use of widths
14769
14770         * tabular.h: change the type of widths from string to LyXLength
14771
14772 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14773
14774         * paragraph.C: fixed missing line number count when exporting
14775         Environments to LaTeX file
14776
14777         * buffer.C: added informational message for checking line numbers.
14778
14779 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14780
14781         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14782         paragraph, do the 'double space' part, but not the 'empty
14783         paragraph' one.
14784
14785         * text.C (workWidth): small optimization
14786         (getLengthMarkerHeight): use minimal size for negative lengths.
14787
14788 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14789
14790         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14791
14792         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14793
14794 2001-12-11  André Pönitz <poenitz@gmx.net>
14795
14796         * FontLoader.C:
14797         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14798
14799 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14800
14801         * text2.C: keep selection on a setFont()
14802
14803 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14804
14805         * lyx_cb.C: another bv->text misuse, from insert label
14806
14807 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14808
14809         * kbsequence.h:
14810         * kbsequence.C: re-instate nmodifier mask
14811
14812 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14813
14814         * lyx_main.h: make lyxGUI private.
14815
14816 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * lyxfind.C: place the cursor correctly on failed search
14819
14820 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14821
14822         * text.C (getLengthMarkerHeight): for small heights, the arrows
14823         are not always on top/bottom of the text
14824         (drawLengthMarker): smaller arrows; take the left margin in
14825         account; draw also vfills.
14826         (paintFirstRow):
14827         (paintLastRow): remove special code for vfill and standard spaces,
14828         since everything is handled in drawLengthMarker now.
14829
14830 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14831
14832         * buffer.C (insertErtContents): try to handle font and language
14833         interaction a bit better.g
14834
14835         * ColorHandler.C (updateColor): change the hash to cover the whole
14836         LColor enum, ws cleanup
14837         (getGCLinepars): ditto
14838         (getGCLinepars): only lookup in the linecache once.
14839
14840 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14841
14842         * iterators.C (operator++): Make the iterator more robust
14843
14844         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14845         (John's patch)
14846         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14847
14848 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14849
14850         * lyxtext.h:
14851         * text.C: better added space drawing
14852
14853 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14854
14855         * LyXView.C:
14856         * BufferView2.C: fix layout combo update on inset unlock
14857
14858 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14859
14860         * Makefile.am: don't compile unused files
14861
14862 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14863
14864         * lyxfunc.C:
14865         * commandtags.h:
14866         * LyXAction.C: remove old LFUN_LAYOUTNO
14867
14868 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14869
14870         * paragraph_pimpl.h:
14871         * paragraph_pimpl.C: isTextAt() doesn't need font param
14872
14873 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14874
14875         * lyxlex.h:
14876         * lyxlex.C: little cleanup
14877
14878 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14879
14880         * BufferView_pimpl.C: fix insertAscii for insets
14881
14882 2001-12-05  Juergen Vigna  <jug@sad.it>
14883
14884         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14885         set the right font on the "multi" paragraph paste!
14886
14887 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14888
14889         * trans_decl.h:
14890         * trans_mgr.[Ch]:
14891         * trans.[Ch]:
14892         * lyxgluelength.C:
14893         * lyxlength.C: remove out-commented code.
14894
14895         * BufferView_pimpl:
14896         * CutAndPaste.C:
14897         * DepTable.C:
14898         * buffer.C:
14899         * chset.C:
14900         * lastfiles.C:
14901         * lyxlex.C:
14902         * lyxlex_pimpl.C:
14903         * lyxserver.C:
14904         * screen.C:
14905         * tabular-old.C:
14906         * tabular.C:
14907         * text.C:
14908         * trans_mgr.C:
14909         * vc-backend.C: change "while(" to "while ("
14910
14911         * lyxlength.[Ch]: add zero function to check if length is zero or
14912         not
14913         * lyxgluelength.C: use it
14914
14915 2001-12-05  Allan Rae  <rae@lyx.org>
14916
14917         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14918         Works for 2.95.3, from what I understand of Garst's reports this should
14919         work for other g++ versions.  We're screwed if the abs(int) definition
14920         changed between bugfix releases of gcc.
14921
14922 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14923
14924         * text.C: fix chapter label offset !
14925
14926 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14927
14928         * lyxtext.h:
14929         * text.C: fix hfill at end of line, clean up
14930
14931 2001-12-04  Juergen Vigna  <jug@sad.it>
14932
14933         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14934         that we force an update of the inset and it's owners if neccessary.
14935
14936 2001-12-03  Juergen Vigna  <jug@sad.it>
14937
14938         * text.C (rowLast): simplified code
14939
14940 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14941
14942         * lyxfunc.C: fix show options on timeout
14943
14944 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14945
14946         * screen.C (topCursorVisible): scroll half a page when the cursor
14947         reached top of bottom of screen
14948
14949 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14950
14951         * minibuffer.C: deactivate on loss of focus
14952
14953 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * vspace.[Ch] (operator!=): add operator.
14956
14957 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14958
14959         * BufferView_pimpl.C: refuse to open an inset when
14960         there's a selection.
14961
14962 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14963
14964         * BufferView_pimpl.C: allow to click on RHS of full row insets
14965
14966 2001-11-30  Juergen Vigna  <jug@sad.it>
14967
14968         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14969         insets for undo reasons.
14970
14971 2001-11-28  André Pönitz <poenitz@gmx.net>
14972
14973         * vspace.[Ch]: cosmetical changes
14974
14975 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14976
14977         * LyXAction.h:
14978         * LyXAction.C:
14979         * lyxfunc.h:
14980         * lyxfunc.C:
14981         * kbmap.h:
14982         * kbmap.C:
14983         * lyxrc.C:
14984         * kbsequence.h:
14985         * kbsequence.C: part re-write of old kb code
14986
14987         * Painter.C:
14988         * WorkArea.C: remove Lgb_bug_find_hack
14989
14990 2001-11-30  José Matos <jamatos@fep.up.pt>
14991
14992         * buffer.C (makeDocBookFile): add a comment to point a hack.
14993         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14994         Fixed a double write of labels.
14995
14996 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14997
14998         * LaTeX.C:
14999         * LaTeX.h Fixed bug in LaTeX class where it would not
15000         re-run latex if no depfiles were changed, but the .dvi was removed.
15001
15002 2001-11-28  André Pönitz <poenitz@gmx.net>
15003
15004         * all the files from the change on 2001/11/26:
15005         use lyx::layout_type instead of LyXTextClass::size_type
15006         use lyx::textclass_type instead of LyXTextClassList::size_type
15007
15008 2001-11-29  Juergen Vigna  <jug@sad.it>
15009
15010         * text.C: added support for paragraph::isFreeSpacing()
15011
15012         * buffer.C: same as above
15013
15014         * paragraph.h: inserted isFreeSpacing() function to enable
15015         FreeSpacing inside InsetERT.
15016
15017         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15018         of the paragraph's in the cut/copy buffer to 0!
15019
15020         * text2.C (removeRow): remove the assert as it can!
15021
15022         * lyxtext.h: added helper function firstRow returning firstrow and
15023         made firstrow private again.
15024
15025         * BufferView2.C (lockInset): don't relock if we're already locked!
15026
15027         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15028         the only paragraph.
15029         (removeRow): added Assert::(firstrow)
15030
15031         * debug.C: forgot to add INSETTEXT here.
15032
15033 2001-11-28  Juergen Vigna  <jug@sad.it>
15034
15035         * sp_spell.C (initialize): changed error text to more general
15036         spellchecker command use (not only ispell!)
15037
15038         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15039
15040         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15041
15042 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15043
15044         * vspace.C: initialise lyxgluelength on failure
15045
15046 2001-11-28  Allan Rae  <rae@lyx.org>
15047
15048         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15049         declaration & definition that looks like a function declaration.
15050
15051 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15052
15053         * BufferView2.C (copy):
15054         (copyEnvironment): do not clear the selection when doing a copy.
15055
15056         * text.C (paintFirstRow): compilation fix
15057
15058 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15059
15060         * tabular.C (Latex): correct line count when writing latex.
15061
15062 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15063
15064         * paragraph_pimpl.h:
15065         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15066           bug a bit
15067
15068 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15069
15070         * text.C:
15071         * LColor.h:
15072         * LColor.C: change vfillline->added_space
15073
15074         * text.C: add markers and text for added space
15075
15076         * vspace.C: fix comment
15077
15078 2001-11-28  André Pönitz <poenitz@gmx.net>
15079
15080         * paragraph.C: whitespace changes
15081         * all the other files from the change on 2001/11/26:
15082         change *::pos_type into lyx::pos_type
15083
15084 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15085
15086         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15087         language of the document when inserting error insets.
15088
15089 2001-11-26  André Pönitz <poenitz@gmx.net>
15090
15091         * BufferView_pimpl.[Ch]:
15092         *       CutAndPaste.C:
15093         * buffer.[Ch]:
15094         * lyxcursor.[Ch]:
15095         * lyxfind.C:
15096         * lyxfunc.C:
15097         * lyxrow.[Ch]:
15098         * paragraph.[Ch]:
15099         * paragraph_pimpl.[Ch]:
15100         * sp_spell.C:
15101         * text.C:
15102         * text2.C: reduce header dependencies, introduce type for positions
15103
15104 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15105
15106         * <various>: change to use Alert.h
15107
15108 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15109
15110         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15111         when encountering an unknown token.
15112         (readLyXformat2): Show an error message if there were unknown tokens.
15113
15114 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * BufferView2.C:
15117         * BufferView_pimpl.C:
15118         * buffer.C:
15119         * paragraph.h:
15120         * text.C:
15121         * text2.C: use par->isInset()
15122
15123 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * paragraph_pimpl.h:
15126         * paragraph_pimpl.C: cleanup
15127
15128 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15129
15130         * text2.C (removeRow):
15131         * text.C (setHeightOfRow): remove useless (and costly) call to
15132         getRow.
15133
15134 2001-11-20  Allan Rae  <rae@lyx.org>
15135
15136         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15137         Now need Inset*::checkInsertChar() to return true for appropriate
15138         cases so that the characters in the minibuffer will actually be
15139         inserted.
15140
15141 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15142
15143         * text.C: change the order of the includes.
15144         (workWidth): initialize it at once.
15145         (workWidth): make maxw unsigned
15146         (setHeightOfRow): remove unused variable (inset)
15147         (selectSelectedWord): remove unused variable (inset)
15148         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15149
15150 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15151
15152         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15153         server is not running.
15154         (openConnection):
15155         (closeConnection): add debug info when server is disabled.
15156
15157         * ColorHandler.C (getGCForeground): send debug message to GUI
15158         channel.
15159
15160         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15161
15162         * kbmap.C (bind): modify because return conventions of
15163         kb_sequence::parse have changed.
15164
15165         * kbsequence.C (parse): only ignore spaces and not any stupid
15166         control character. This avoids tests like s[i] <= ' ', which are
15167         guaranteed to fail with 8bit characters and signed chars.
15168         Change return code to string::npos when there have been no error
15169         (0 was a bad idea when error is at first character)
15170
15171 2001-11-14  José Matos  <jamatos@fep.up.pt>
15172
15173         * buffer.h:
15174         * buffer.C (simpleDocBookOnePar): removed unused argument.
15175
15176 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15177
15178         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15179         insets which are part of a word. Paragraph::isLetter takes care of
15180         that now. Use Paragraph::isInset to identify insets.
15181         (selectSelectedWord): do not test for hyphenation break.
15182
15183         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15184         that protected spaces are considered as spaces.
15185
15186         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15187         Inset::isLetter.
15188
15189 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15190
15191         * lyxserver.h:
15192         * lyxserver.C: fix it. and small cleanup.
15193
15194 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * BufferView_pimpl.C: use inline helpers
15197
15198         * LaTeXFeatures.h:
15199         * LaTeXFeatures.C: fix typos
15200
15201         * Spacing.h:
15202         * Spacing.C: move spacing_string into class
15203
15204         * ToolbarDefaults.C: move stuff into namespace anon
15205
15206         * layout.h: update enum
15207
15208         * lyxfunc.C: use better debug
15209
15210         * minibuffer.h: fix typo
15211
15212         * debug.h:
15213         * debug.C:
15214         * WorkArea.C: add and use Debug::WORKAREA
15215
15216         * lyxtext.h:
15217         * text.C:
15218         * text2.C: code re-organisation, inline helpers
15219
15220 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15221
15222         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15223         std::vector.empty().
15224
15225 2001-11-09  Allan Rae  <rae@lyx.org>
15226
15227         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15228         '\n's after tables.  Tabular and ERT inset work now makes this no
15229         longer necessary.
15230
15231 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15232
15233         * minibuffer.h:
15234         * minibuffer.C: fix crash, improve drop-down completion
15235
15236 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15237
15238         * lyxserver.h:
15239         * lyxserver.C: invalidate fd's when doing endPipe()
15240
15241 2001-11-08  José Matos  <jamatos@fep.up.pt>
15242
15243         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15244         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15245
15246         * paragraph.h:
15247         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15248
15249 2001-11-07  José Matos  <jamatos@fep.up.pt>
15250
15251         * buffer.h:
15252         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15253         const qualifier.
15254
15255         * buffer.C (sgmlOpenTag):
15256         * buffer.C (sgmlCloseTag): removed debug info.
15257
15258         * buffer.h (sgmlOpenTag):
15259         * buffer.h (sgmlCloseTag): made public.
15260
15261 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15262
15263         * buffer.C (saveParamsAsDefaults):
15264         * lyx_cb.C (MenuLayoutSave): remove
15265
15266         * LyXAction.C (init):
15267         * commandtags.h:
15268         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15269
15270 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15271
15272         * buffer.C (setPaperStuff): removed from here...
15273
15274         * bufferparams.C (setPaperStuff): ... and moved there.
15275
15276 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15277
15278         * minibuffer.h:
15279         * minibuffer.C:
15280         * XFormsView.C: add support for drop-down completion
15281
15282 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15283
15284         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15285         commands.
15286
15287 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15288
15289         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15290         disabled.
15291
15292 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15293
15294         * lyx_main.C: change ref to known bugs
15295
15296 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15297
15298         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15299         to work around older babel problems.
15300
15301 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15302
15303         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15304
15305 2001-10-24  Juergen Vigna  <jug@sad.it>
15306
15307         * tabular-old.C (ReadOld): below variable changes reflected.
15308
15309         * tabular.[Ch]: added ltType struct for longtable header/footer
15310         defines and changed all instances where they are used. Added
15311         future support for double top/bottom rows.
15312
15313 2001-10-24  José Matos  <jamatos@fep.up.pt>
15314
15315         * buffer.h (docbookHandleCaption):
15316         * buffer.C (docbookHandleCaption): removed unused function.
15317         (makeDocBookFile): moved docbook supported version to v4.1.
15318
15319 2001-10-24  José Matos  <jamatos@fep.up.pt>
15320
15321         * tabular.h:
15322         * tabular.C (docbookRow): new function to export docbook code of a row.
15323         (DocBook): now honors the longtable flags.
15324
15325 2001-10-23  José Matos  <jamatos@fep.up.pt>
15326
15327         * LaTeXFeatures.h:
15328         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15329         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15330
15331         * buffer.C (makeLinuxDocFile):
15332         (makeDocBookFile): reworked the preamble, more clean, and with
15333         support for lyx defined entities. Changed the document declaration
15334         to be more XML friendly.
15335
15336         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15337         if we need to output XML that should be done with a filter.
15338
15339 2001-10-22  Juergen Vigna  <jug@sad.it>
15340
15341         * sp_pspell.h (class PSpell): add alive function needed in the
15342         controller to see if the spellchecker could be started.
15343
15344 2001-10-22  Juergen Vigna  <jug@sad.it>
15345
15346         * buffer.C (insertStringAsLines): modify the font for inserting
15347         chars in certain conditions by calling checkInsertChar(font).
15348
15349 2001-10-19  Juergen Vigna  <jug@sad.it>
15350
15351         * text.C (workWidth): use getRow instead of wrong algorithm.
15352         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15353
15354 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15355
15356         * lyxserver.h:
15357         * lyxserver.C:
15358         * lyx_main.h:
15359         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15360
15361 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15362
15363         * text.C (workWidth): do not search for the exact row when
15364         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15365         optimization for big documents.
15366
15367 2001-10-18  Juergen Vigna  <jug@sad.it>
15368
15369         * text.C (workWidth): new function with added Inset * parameter.
15370
15371 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15372
15373         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15374
15375         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15376         change return type of getColumnNearX.
15377
15378
15379         * text.C (changeRegionCase): use uppercase/lowercase instead of
15380         toupper/tolower.
15381         (leftMargin):
15382         (rightMargin): simplify code by factoring out the uses of
15383         textclasslist.
15384         (labelFill):
15385         (numberOfHfills):
15386         (setHeightOfRow):
15387         (appendParagraph): use Paragraph::size_type
15388
15389 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15390
15391         * vspace.C (asLatexString): add a missing break
15392
15393 2001-10-15  Herbert Voss  <voss@perce.de>
15394
15395         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15396
15397 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15398
15399         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15400         is not available.
15401
15402 2001-10-10  André Pönitz <poenitz@gmx.net>
15403
15404         * lyxfunc.C: removed greek_kb_flag.
15405
15406 2001-10-10  Herbert Voss  <voss@perce.de>
15407
15408         * lyx_main.C: delete global string help_lyxdir.
15409
15410 2001-10-09  Herbert Voss  <voss@perce.de>
15411
15412         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15413
15414         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15415
15416         * lyx_main.C: added global string help_lyxdir.
15417
15418         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15419
15420 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15421
15422         * lyxrc.C (set_font_norm_type): support iso8859-4
15423
15424 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15425
15426         * LaTeX.C (deplog): add another regex for MikTeX
15427
15428 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15429
15430         * lyxrc.C (set_font_norm_type): support iso8859-3
15431
15432 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15433
15434         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15435
15436         * LaTeXFeatures.C: remove special case of french and index
15437
15438         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15439         before \begin{document}). This solves several incompatibilities.
15440
15441 2001-10-03  Garst Reese  <reese@isn.net>
15442
15443         * lyx_cb.C: change CheckTex error msg.
15444
15445 2001-10-03  José Matos  <jamatos@fep.up.pt>
15446
15447         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15448
15449 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15450
15451         * .cvsignore: update
15452
15453         * lyx_main.C (commandLineVersionInfo): use new style version info.
15454
15455         * buffer.C (writeFile):
15456         (makeLaTeXFile):
15457         (makeLinuxDocFile):
15458         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15459
15460         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15461
15462         * version.h: update to use stuff in version.C
15463
15464         * version.C.in: new file. Contains version information determined
15465         at compile time. This is a merging of version.h and
15466         version_info.h.in.
15467
15468 2001-10-03  Juergen Vigna  <jug@sad.it>
15469
15470         * BufferView_pimpl.C (update): don't change "dirty" status in
15471         updateInset call.
15472
15473 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15474
15475         * WorkArea.C (c-tor): re-position version string slightly.
15476
15477 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15478
15479         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15480         revert to previous code.
15481
15482         WorkArea.[Ch]: (show, destroySplash): methods removed.
15483
15484         WorkArea.C: rework code so that it's an amalgam of the codes before and
15485         after the splash screen was moved to WorkArea.
15486
15487 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15488
15489         * lyxrc.C (read):
15490         * vspace.C (inPixels):
15491         (lyx_advance):
15492         * kbmap.C (bind):
15493         * buffer.C (insertStringAsLines):
15494         (asciiParagraph): fix types to be large enough
15495
15496         * lyxlex_pimpl.h: change member status from short to int
15497
15498         * layout.h: fix type of endlabeltype
15499
15500         * kbmap.C (bind):
15501         * kbsequence.C (parse): change return type to string::size_type
15502
15503         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15504         variable
15505
15506         * Bullet.C (bulletSize):
15507         (bulletEntry): do not use short ints as parameters
15508
15509         * BufferView2.C (insertLyXFile): change a char to an int.
15510
15511         * WorkArea.C (WorkArea): remove unneeded floats in computation
15512
15513 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15514
15515         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15516
15517         * paragraph.C (asString): Do not ignore newline/hfill chars when
15518         copying to the clipboard.
15519
15520 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15521
15522         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15523         after a multi-line inset.
15524
15525 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15526
15527         * paragraph.C (validate): Set NeedLyXFootnoteCode
15528
15529 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15530
15531         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15532         and decrease-error to decrease.
15533
15534 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15535
15536         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15537         it more readable (should be equivalent)
15538
15539 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15540
15541         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15542
15543 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15544
15545         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15546         of a cursor (row, etc.) after a character has been deleted
15547         (deleteEmptyParagraphMechanism): call the method above on _all_
15548         cursors held by the LyXText when a double space has been
15549         detected/deleted.
15550
15551 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15552
15553         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15554         pixmap.
15555         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15556
15557         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15558         background. Use greyOut() and the new show() methods to toggle between
15559         the foreground and background. Add code to remove the splash after
15560         its initial showing.
15561
15562         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15563         (create_forms): no longer call Dialogs::showSplash.
15564
15565 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15566
15567         * .cvsignore: add version_info.h
15568
15569 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15570
15571         * version_info.h.in: new file
15572
15573         * Makefile.am: add version_info.h.in
15574
15575         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15576         version_info.h instead of VERSION_INFO
15577
15578 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15579
15580         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15581         The ERT inset now returns string().
15582
15583 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15584
15585         * lyxtext.h, text.C (selectNextWord): renamed as
15586         selectNextWordToSpellcheck.
15587
15588         * text.C (selectNextWordToSpellcheck): Modified to not select
15589         words inside an ERT inset.
15590
15591 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15592
15593         * lyx_cb.C (MenuLayoutSave): change a bit the question
15594
15595         * sp_base.h: include <sys/types.h>
15596
15597 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15598
15599         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15600
15601 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15602
15603         * several files: fix typos in user-visible strings
15604
15605 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15606
15607         * text2.C (pasteSelection): do not set the selection, since it
15608         will be cleared later. Actually, the intent was to fix the way the
15609         selection was set, but I figured rmoving the code was just as good.
15610
15611 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15612
15613         * FontLoader.C (available): Check if font is available without
15614         loading the font.
15615
15616 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15617
15618         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15619
15620 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15621
15622         * lyxrc.[Ch]: added display_graphics variable and associated code.
15623
15624 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15625
15626         * bufferparams.C (hasClassDefaults): new method. Returns true if
15627         the buffer parameters correspond to known class defaults
15628
15629 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15630
15631         * XFormsView.C (show): set minimum size to the main window.
15632
15633 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15634
15635         * text2.C (copySelection):
15636         (cutSelection):
15637         * lyxfind.C (LyXReplace):
15638         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15639         LyXText::selectionAsString.
15640
15641         * paragraph.C (asString): add "label" argument to the second form
15642
15643         * text2.C (selectionAsString): add "label" argument and pass it to
15644         Paragraph::asString.
15645
15646 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15647
15648         * lyx_main.C (commandLineHelp): remove version information
15649
15650 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15651
15652         * lyx_main.C: add -version commandline option
15653
15654 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15655
15656         * paragraph.h: make the optional constructor arg required instead.
15657         some modifications to other files because of this.
15658
15659         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15660
15661         * lyxserver.C (C_LyXComm_callback): make it static
15662
15663         * lyx_main.C (error_handler): make it static
15664
15665         * lyx_gui.C (LyX_XErrHandler): make it static
15666
15667         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15668
15669         * WorkArea.C: make the extern "C" methods static.
15670
15671         * Makefile.am (lyx_LDADD): simplify
15672
15673 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15674
15675         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15676         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15677
15678         * LyXAction.C (init):
15679         * lyxfunc.C (dispatch): associated code removal.
15680
15681 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15682
15683         * lyxfont.h (isSymbolFont): shut off warning
15684
15685         * text.C (setHeightOfRow):
15686         (getVisibleRow): fix crash with empty paragraphs which have a
15687         bottom line
15688
15689 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15690
15691         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15692         code.
15693
15694 2001-09-04  José Matos  <jamatos@fep.up.pt>
15695         * buffer.C
15696         * buffer.h
15697         * tabular.C (docbook): rename docBook method to docbook.
15698
15699 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15700
15701         * Makefile.am: add dependencies to main.o.
15702
15703 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15704
15705         * FontLoader.C (available): Return false if !lyxrc.use_gui
15706
15707 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15708
15709         * FontInfo.C (query):
15710         * converter.C (view):
15711         * importer.C (Import):
15712         * exporter.C (Export): Can not -> cannot.
15713
15714 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15715
15716         * BufferView_pimpl.C: allow to create index inset even if
15717           string is empty
15718
15719 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15720
15721         * buffer.C (getLists): replace boost::tie code with an explicit pair
15722         as boost::tie can break some compilers.
15723
15724         * iterators.h: Added a std:: declaration to the return type of
15725         ParIterator::size.
15726
15727 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15728
15729         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15730           case.
15731
15732 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15733
15734         * iterators.[Ch]: New files. Provide paragraph iterators.
15735
15736         * buffer.C (changeLanguage): Use paragraph iterators.
15737         (isMultiLingual): ditto
15738
15739         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15740
15741 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15742
15743         * FontLoader.C: Support for cmr font.
15744
15745 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15746
15747         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15748         (available): New method.
15749
15750         * FontInfo.C (getFontname): Use scalable fonts even when
15751         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15752         found.
15753
15754 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15755
15756         * converter.C (Formats::view): reverted! Incorrect fix.
15757
15758 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15759
15760         * converter.C (Formats::view): only output the -paper option
15761         if the dvi viewer is xdvi, thereby fixing bug #233429.
15762
15763 2001-08-23  Herbert Voss  <voss@perce>
15764
15765         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15766
15767 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15768
15769         * Spacing.h (Spacing): Set space to Default on in the default
15770         constructor.
15771
15772 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15773
15774         * vc-backend.h (RCS::versionString): add RCS to version
15775         (CVS::versionString): add CVS to version
15776
15777         * vc-backend.C (scanMaster): do not add CVS to version.
15778         (scanMaster): do not add RCS to version
15779
15780         * lyxvc.C (versionString): new method
15781
15782         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15783
15784 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15785
15786         * Spacing.C (set): initialize fval
15787
15788 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15789
15790         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15791         " or \.
15792
15793 2001-08-16  Juergen Vigna  <jug@sad.it>
15794
15795         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15796
15797 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15798
15799         * BufferView_pimpl.C:
15800         * figureForm.C:
15801         * lyxtext.h:
15802         * text2.C: setParagraph takes linespacing now
15803
15804 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15805
15806         * LyxAction.C: add internal LFUN_CITATION_INSERT
15807
15808         * LyXView.C: actually apply fix
15809
15810         * bufferlist.C: fix open non-existent file
15811
15812         * lyxfind.C: fix indentation
15813
15814         * lyxfunc.C: remove unneeded assert, fix typo
15815
15816 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15817
15818         * MenuBackend.C: use "Floatname List"
15819
15820 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15821
15822         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15823         when converting LaTeX layout to insetERT.
15824         Generate a non-collapsed float when reading old float
15825
15826 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15827
15828         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15829         ERT insets.
15830
15831 2001-08-13  Juergen Vigna  <jug@sad.it>
15832
15833         * text.C (fill): return 0 instead of 20 as this seems to be the more
15834         correct value.
15835
15836 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15837
15838         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15839         lyxrc.font_norm.
15840
15841 2001-08-13  Juergen Vigna  <jug@sad.it>
15842
15843         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15844         casesensitive off.
15845         (SearchBackward): comment out the unlocking of the inset_owner this
15846         should not be needed!
15847
15848 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15849
15850         * Many files: Remove inherit_language, and add latex_language
15851
15852         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15853         collapsible insets.
15854
15855 2001-08-10  Juergen Vigna  <jug@sad.it>
15856
15857         * text.C (prepareToPrint): fixed hfill-width in draw!
15858
15859         * BufferView2.C (selectLastWord): save the selection cursor as this
15860         now is cleared in the function LyXText::clearSelection!
15861
15862 2001-08-08  Juergen Vigna  <jug@sad.it>
15863
15864         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15865         BACKSPACE type functions.
15866
15867         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15868         is only cutted from the document but not put in the cut-buffer, where
15869         still the old stuff should be.
15870
15871         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15872
15873         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15874
15875         * tabular.C (SetWidthOfCell): fixed special case where the width
15876         was not updated!
15877         (LeftLine): handle '|' in align_special.
15878         (RightLine): ditto
15879         (LeftAlreadyDrawed): ditto
15880         (SetWidthOfCell): ditto
15881
15882 2001-08-07  Juergen Vigna  <jug@sad.it>
15883
15884         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15885
15886 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15887
15888         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15889         * lyxlex.[hC]: ditto
15890
15891 2001-08-06  Juergen Vigna  <jug@sad.it>
15892
15893         * text.C (getVisibleRow): fix up row clearing a bit.
15894
15895 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15896
15897         * minibuffer.C: make sure the X server sees the changes in the input.
15898
15899 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15900
15901         * paragraph.C (getFont): split into...
15902         (getLabelFont): this
15903         (getLayoutFont): and this
15904         * paragraph_pimpl.C (realizeFont): calling this
15905
15906         * text2.C (getFont): split into...
15907         (getLayoutFont): this
15908         (getLabelFont): and this
15909         (realizeFont): all three calling this
15910
15911         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15912         files where used.
15913
15914 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15915
15916         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15917
15918 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15919
15920         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15921         layouts from the Quote inset insertion.
15922
15923 2001-08-03  Juergen Vigna  <jug@sad.it>
15924
15925         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15926
15927         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15928         only if status not is already CHANGED_IN_DRAW (second level).
15929
15930         * text.C (draw): don't set the need_break_row when inside an
15931         InsetText LyXText.
15932
15933 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15934
15935         * buffer.C (parseSingleLyXformat2Token): handle more latex
15936         conversion cases.
15937
15938         * bufferview_funcs.[hC]: change function names to
15939         begin with small char, adjust other files.
15940
15941 2001-08-02  André Pönitz <poenitz@gmx.net>
15942
15943         * lyxfunc.C:
15944         BufferView_pimpl.C: remove broken special code for math-greek
15945
15946 2001-08-02  Juergen Vigna  <jug@sad.it>
15947
15948         * BufferView_pimpl.C (update): redone this function so that we
15949         update the text again if there was a CHANGE_IN_DRAW.
15950
15951         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15952         (drawFromTo): added a new internal bool which is used by draw() and
15953         redraw() function.
15954         (general): some cursor drawing problems fixed.
15955
15956 2001-08-01  Juergen Vigna  <jug@sad.it>
15957
15958         * lyxfind.C (LyXFind): fixed
15959         (SearchForward): ditto
15960         (SearchBackward): ditto
15961
15962         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15963         spurius drawing of the cursor in the main area.
15964
15965         * text2.C (status): small fix which could lead to a segfault!
15966         (clearSelection): remove unneeded BufferView param.
15967
15968 2001-08-01  André Pönitz <poenitz@gmx.net>
15969
15970         * lyxfunc.C: small change due to changed mathed interface
15971
15972 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15973
15974         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15975
15976 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15977
15978         * lyxfunc.c: fail gracefully if file doesn't exist
15979
15980         * LyXSendto.C:
15981         * buffer.C:
15982         * lyxfunc.C:
15983         * BufferView_pimpl.C: IsDirWriteable() proto changed
15984
15985         * LyXView.C: fix updateWindowTitle() to store the last title
15986
15987 2001-07-31  Juergen Vigna  <jug@sad.it>
15988
15989         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15990         the font (wrong since using of Paragraph::highestFontInRange).
15991
15992         * paragraph.C (highestFontInRange): added a default_size parameter.
15993
15994         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15995         (setHeightOfRow): reformat
15996
15997 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15998
15999         * converter.[hC] + affected files: move to (inital-char)lowercase
16000         function names.
16001
16002         * ParagraphParameters.C (ParagraphParameters): remove commented code
16003
16004         * PainterBase.[Ch]: remove commented code
16005
16006         * LaTeXFeatures.h: add "bool floats" for float.sty
16007
16008         * LaTeXFeatures.C (LaTeXFeatures): init floats
16009         (require): handle float
16010         (getPackages): do it with floats
16011
16012 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16013
16014         * BufferView_pimpl.C (Dispatch): improve handling of
16015         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16016
16017         * commandtags.h: #include lyxfont.h here temporarily to avoid
16018         keybinding bug.
16019
16020         * bufferlist.h: include LString.h here.
16021
16022 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16023
16024         * text2.C (getStringToIndex): new method.
16025
16026 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16027
16028         * *: Reduced header file dependencies all over.
16029
16030 2001-07-30  Baruch Even  <baruch@lyx.org>
16031
16032         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16033
16034 2001-07-29  Baruch Even  <baruch@lyx.org>
16035
16036         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16037
16038 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16039
16040         * ParameterStruct.h (endif): add a default constructor to make
16041         sure that all variables is initialized.
16042
16043         * ParagraphParameters.C (ParagraphParameters): adjust
16044
16045 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16046
16047         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16048         index; also, check that there is something to index, and that it
16049         does not span over several paragraphs.
16050         (doubleClick): use WHOLE_WORD_STRICT for double click.
16051
16052         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16053
16054         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16055         scheme.
16056
16057 2001-07-26  Baruch Even  <baruch@lyx.org>
16058
16059         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16060         an InsetFig figure, backwards compatible reading of old figure code.
16061
16062 2001-07-27  Juergen Vigna  <jug@sad.it>
16063
16064         * text2.C: font.realize function adaption.
16065
16066         * text.C (draw): add a warnings lyxerr text if needed.
16067
16068         * layout.C: font.realize function adaption.
16069
16070         * language.C: add inherit_language and implement it's handlings
16071
16072         * bufferview_funcs.C (StyleReset): remove language parameter from
16073         font creation (should be language_inherit now).
16074
16075         * bufferparams.C (writeFile): handle ignore_language.
16076
16077         * paragraph.C (getFontSettings): the language has to be resolved
16078         otherwise we have problems in LyXFont!
16079
16080         * lyxfont.C (lyxWriteChanges): added document_language parameter
16081         (update): removed unneeded language parameter
16082
16083         * paragraph.C (validate): fixed wrong output of color-package when
16084         using interface colors for certain fonts in certain environments,
16085         which should not seen as that on the final output.
16086
16087 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16088
16089         * BufferView_pimpl.C:
16090         * Thesaurus.h:
16091         * Thesaurus.C:
16092         * Makefile.am:
16093         * commandtags.h:
16094         * LyXAction.C: add thesaurus support
16095
16096         * lyxfind.h:
16097         * lyxfind.C: add "once" parameter, for thesaurus, to not
16098           move to the next match
16099
16100 2001-07-26  Juergen Vigna  <jug@sad.it>
16101
16102         * lyxfont.C (realize): honor ignore_language too!
16103         (resolved): ditto.
16104
16105         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16106
16107         * text.C (draw): one place more for ignore_language to not draw
16108         itself!
16109
16110 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16111
16112         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16113
16114 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16115
16116         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16117         the minipage conversion problem.
16118
16119 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16120
16121         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16122         insert an inset.
16123
16124 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16125
16126         * BufferView.h: don't forward declare WorkArea
16127
16128         * BufferView.C: don't include WorkArea.h
16129
16130 2001-07-25  André Pönitz <poenitz@gmx.net>
16131
16132         * commandtags.h:
16133         * LyXAction.C:
16134         * lyxfunc.C:  new LFUN 'math-space'
16135
16136         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16137
16138 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16139
16140         * text2.C (toggleInset): call open/close
16141
16142 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16143
16144         * lyxfunc.C (dispatch): add debug for the disabled case
16145
16146         * font.C (buttonText): make similar to rectText
16147
16148         * buffer.C (readInset): comment out parsing of insetlist and
16149         insttheorem
16150
16151         * PainterBase.C (rectText): small correction
16152
16153         * BufferView_pimpl.C: comment out insettheorem and insetlist
16154         * LyXAction.C: ditto
16155         * commandtags.h: ditto
16156
16157 2001-07-24  Juergen Vigna  <jug@sad.it>
16158
16159         * text.C (draw): honor the ignore_language.
16160
16161         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16162
16163 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16164
16165         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16166         char inset.
16167
16168 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16169
16170         * lyxtext.h: remove unused (and unimplemented) methods
16171
16172 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16173
16174         * text.C (getVisibleRow): honor background color
16175
16176         * PainterBase.h:
16177         * Painter.h: remove default color argument for fillRectangle
16178
16179         * text.C (backgroundColor): new method
16180
16181 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16182
16183         * text.C (getVisibleRow): adjust
16184
16185         * font.[Ch] (rectText): new method, metrics
16186         (buttonText): new method, metrics
16187
16188         * PainterBase.[hC]: make rectText and buttonText always draw and take
16189         fewer paramteres.
16190
16191 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16192
16193         * ToolbarDefaults.C (read):
16194         * MenuBackend.C (read): allow escaping in all strings
16195
16196         * BufferView_pimpl.C (insertAndEditInset): new method.
16197         (Dispatch): use insertAndEditInset whenever appropriate.
16198
16199         * BufferView_pimpl.C (insertNote): removed
16200
16201         * BufferView_pimpl.C (smartQuote): new method, moved from
16202         BufferView; if an insetquote cannot be inserted, insert a '"'
16203         character instead.
16204
16205         * BufferView2.C: remove insertCorrectQuote();
16206
16207         * lyxfunc.C (getStatus): Add support for all remaingin
16208         inset-insert lfuns.
16209
16210         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16211
16212         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16213         command (necessary to pass " as parameter of self-insert.
16214
16215         * text.C (selectWordWhenUnderCursor):
16216         (selectWord): add word_location parameter
16217         (selectWordWhenUnderCursor): same + remove special code for word
16218         boundary.
16219         (selectNextWord): use kind() to guess type of insetspecialchar,
16220         not latex().
16221
16222         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16223         (insertErtContents): create ert insets as collapsed.
16224         (readInset): better compatibility code for Info inset.
16225
16226 2001-07-20  Juergen Vigna  <jug@sad.it>
16227
16228         * lyxfunc.C (dispatch): use always LyXFind now!
16229
16230         * text2.C (init): add a reinit flag so that the LyXText can be
16231         reinited instead of deleted and reallocated (used in InsetText).
16232
16233         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16234
16235         * text.C: ditto
16236
16237         * text2.C: ditto
16238
16239 2001-07-18  Juergen Vigna  <jug@sad.it>
16240
16241         * text.C (selectNextWord): handle insets inside inset by calling
16242         always the bv->text functions so that we can go up the_locking_inset!
16243
16244         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16245         in strange locations when inside an inset!
16246
16247         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16248         handling to include insets.
16249
16250         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16251
16252 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16253
16254         * LyXAction.C (init):
16255         * commandtags.h:
16256         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16257         LIGATURE_BREAK, since the name is so stupid.
16258
16259 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16260
16261         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16262         InsetInfos.
16263
16264         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16265
16266         * sp_form.[Ch]: remove.
16267
16268         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16269
16270         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16271         InsetInfo.
16272
16273         * src/buffer.C (readInset): ditto.
16274
16275 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16276
16277         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16278         menuSeparator(), endOfSentenceDot(), ldots() and
16279         hyphenationPoint(), which are therefore removed.
16280         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16281
16282         * LyXAction.C (init):
16283         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16284
16285         * paragraph.C (getWord): removed.
16286
16287         * BufferView_pimpl.C (Dispatch): use last word or selection for
16288         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16289
16290         * lyx_main.C (queryUserLyXDir): do not ask before creating
16291         user_dir, except if it has been named explicitely.
16292
16293 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16294
16295         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16296         a document of zero size.
16297
16298 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16299
16300         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16301         approriately in the c-tor and in require().
16302         (getPackages): output the appropriate LaTeX for natbib support.
16303
16304         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16305         variables "use_natbib" and "use_numerical_citations" when reading the
16306         LyX file.
16307         (readInset): read the various natbib cite commands.
16308         (validate): white-space change.
16309
16310         * bufferparams.[Ch]: new variables "bool use_natbib" and
16311         "bool use_numerical_citations".
16312         (writeFile): output them in the LyX file.
16313
16314 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16315
16316         * lyxfunc.C (getStatus): add support for all the inset insertion
16317         commands.
16318
16319         * text2.C (insertInset):
16320         * paragraph.C (insetAllowed):
16321         * BufferView_pimpl.C (insertInset): update to take in account the
16322         renaming of insertInsetAllowed
16323
16324         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16325
16326         * text2.C (getInset): new method. returns inset at cursor position.
16327
16328         * BufferView_pimpl.C (Dispatch): changes because of this.
16329
16330         * LyXAction.C (init): rename open-stuff to inset-toggle.
16331
16332         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16333
16334         * text2.C (toggleInset): renamed from openStuff; use
16335         Inset::open().
16336
16337 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16338
16339         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16340
16341         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16342
16343 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16344
16345         * buffer.C (readLyXformat2): Add filename to the error dialog
16346
16347 2001-07-18  Juergen Vigna  <jug@sad.it>
16348
16349         * tabular.C (GetCellNumber): put an assert here instead of the check!
16350
16351 2001-07-17  Juergen Vigna  <jug@sad.it>
16352
16353         * BufferView_pimpl.C (toggleSelection): adapted too.
16354
16355         * text.C (selectNextWord): adapted for use with insets.
16356         (selectSelectedWord): ditto
16357
16358 2001-07-17  Juergen Vigna  <jug@sad.it>
16359
16360         * sp_spell.C (PSpell): fix initialitation order.
16361
16362 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16363
16364         * paragraph.C: spacing
16365
16366 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16367
16368         * sp_spell.C: repair language selection for pspell
16369
16370 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16371
16372         * lyxfunc.h: change more methods to begin with lower char.
16373
16374 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16375
16376         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16377         for unknown layouts.
16378
16379 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16380
16381         * buffer.C (readLyXformat2): Generate an error dialog if there are
16382         unknown layouts.
16383
16384 2001-07-16  Juergen Vigna  <jug@sad.it>
16385
16386         * sp_spell.C: always compile ISpell part.
16387
16388         * lyxrc.C: added use_pspell entry and it's handling.
16389
16390 2001-07-13  Juergen Vigna  <jug@sad.it>
16391
16392         * sp_spell.C: removed double includes.
16393
16394 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16395
16396         Consistent use of Lsstream.h:
16397         * Lsstream.h: added using std::stringstream for consistencies sake.
16398
16399         * buffer.C: removed using std::stringstream
16400
16401         * lyxfont.C (stateText):
16402         * paragraph.C (asString):
16403         * text.C (selectNextWord, selectSelectedWord):
16404         * text2.C (setCounter):
16405         * vspace.C (asString, asLatexString):
16406         std::ostringstream -> ostringstream.
16407
16408 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16409
16410         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16411         * commandtags.h: add LFUN_HELP_ABOUTLYX
16412         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16413
16414 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16415
16416         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16417         cursorToggle()
16418         * lyx_gui_misc.C: remove spellchecker
16419         * lyxfunc.C: showSpellchecker
16420         * sp_base.h: added
16421         * sp_ispell.h: added
16422         * sp_pspell.h: added
16423         * sp_spell.C: added
16424         * sp_form.[Ch]: removed
16425         * spellchecker.[Ch]: removed
16426
16427 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16428
16429         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16430         is set.
16431         (simpleTeXSpecialChars): Simply print the input character without
16432         any special translation if pass_thru is set.
16433
16434         * layout.h: Added bool pass_thru to layout class for being able to
16435         implement pass through of a paragraph for Literate Programming.
16436
16437         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16438         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16439         * layout.C (Read): add "passthru" to list of layout tags and add
16440         code to set the pass_thru boolean when it is read.
16441
16442 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16443
16444         * trans_decl.h: remove allowed from KmodInfo
16445
16446         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16447         remove allowed code
16448         (Load): adjust
16449
16450         * paragraph_pimpl.C (erase): use boost::prior
16451
16452         * Painter.C (text): use data() instead of c_str() when length is
16453         also provided.
16454         * WorkArea.C (putClipboard): ditto
16455         * font.h (width): ditto
16456
16457         * BufferView2.C: use it-> instead of (*it). for iterators
16458         * texrow.C: ditto
16459         * paragraph_pimpl.C: ditto
16460         * paragraph.C: ditto
16461         * minibuffer.C: ditto
16462         * language.C: ditto
16463         * kbmap.C: ditto
16464         * encoding.C: ditto
16465         * counters.C: ditto
16466         * converter.C: ditto
16467         * chset.C: ditto
16468         * Variables.C: ditto
16469         * TextCache.C: ditto
16470         * MenuBackend.C: ditto
16471         * LyXAction.C: ditto
16472         * LColor.C: ditto
16473         * FloatList.C: ditto
16474         * DepTable.C: ditto
16475         * ColorHandler.C (LyXColorHandler): ditto
16476
16477 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16478
16479         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16480
16481         * text2.C (openStuff): reintroduce this method (which had been
16482         nuked in NEW_INSETS frenzy).
16483
16484         * lyxfunc.C (Dispatch): when an action has not been handled, use
16485         its name in the error message, not its number.
16486
16487         * paragraph.C (inInset): change method name to begin with lowercase.
16488
16489         * undo_funcs.C:
16490         * text2.C: updates because of this.
16491
16492 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16493
16494         * ToolbarDefaults.C (add): add spaces in error message
16495
16496 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16497
16498         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16499         (readLyXformat2): rename return_par to first_par, use lyxlex's
16500         pushToken and remove the manual push handling.
16501         (parseSingleLyXformat2Token): add another ert comp. variable:
16502         in_tabular, rename return_par to first_par. handle newlines better
16503
16504 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16505
16506         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16507
16508 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16509
16510         * text2.C (getParFromID): removed
16511
16512         * buffer.C (getParFromID): new method moved form lyxtext.
16513         * BufferView2.C (insertErrors): adjust
16514         (setCursorFromRow): adjust
16515         * BufferView_pimpl.C (restorePosition): adjust
16516         * lyxfunc.C (Dispatch): adjust
16517         * undo_funcs.C (textUndo): adjust
16518         (textRedo): adjust
16519         (textHandleUndo): adjust
16520         (textHandleUndo): adjust
16521
16522 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16523
16524         * buffer.C: up' the LYX_FORMAT
16525
16526         * lyxfont.h: turn NO_LATEX on as default
16527
16528         * buffer.C (insertErtContents): new methods of tex style compability.
16529         (parseSingleLyXformat2Token): use it several places.
16530         * tabular.C (OldFormatRead): and here
16531
16532 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16533
16534         * text2.C: remove some commented code.
16535         reindent file.
16536
16537         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16538         * trans.C: changes because of the above.
16539
16540 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16541
16542         * text2.C (setCounter): Fix counters bug with bibliography layout.
16543
16544 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16545
16546         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16547         own member functions
16548         (simpleTeXSpecialChars): ditto
16549
16550 2001-07-06  Juergen Vigna  <jug@sad.it>
16551
16552         * a lot of files: changed the access to LyXText::status and the
16553         call of undo-functions.
16554
16555         * undo.[Ch]: added a inset_id to the undo informations.
16556
16557         * undo_funcs.[Ch]: added and moved here all undo functions.
16558
16559         * lyxtext.h: give the status enum a weight, made status_ a private
16560         variable and made accessor functions for it, removed the whole bunch
16561         of undo-functions as they are now in their own file, make some
16562         functions publically available. Added function ownerParagraph with
16563         int parameter.
16564
16565         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16566         made InInset() a const function, added getParFromID() function.
16567
16568         * buffer.[Ch]: added const version for inset_iterator functions,
16569         added getInsetFromID() function.
16570
16571         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16572         changed undo functions for new version.
16573
16574 2001-07-05  Juergen Vigna  <jug@sad.it>
16575
16576         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16577         unknow mechanism does not call the proper constructor but only this
16578         one also if I request the other!?
16579
16580 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16581
16582         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16583
16584         * text2.C (LyXText): use initialization lists.
16585
16586         * lyxtext.h (Selection): initialize set_ and mark_
16587         (init): remove method
16588
16589 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16590
16591         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16592
16593 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16594
16595         * screen.[Ch]: change method names to begin with lowercase
16596
16597         * BufferView_pimpl.C (updateScrollbar): simplify further and
16598         hopefully make it a bit faster.
16599
16600 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16601
16602         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16603         calling directly xforms functions.
16604
16605         * Painter.C (Painter):
16606         * lyx_cb.C (MenuWrite):
16607         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16608         fl_display.
16609
16610         * lyx_gui.C: remove bogus guiruntime extern declaration.
16611
16612 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16613
16614         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16615         in NEW_INSETS
16616         (redoDrawingOfParagraph): ditto
16617         (redoParagraphs): ditto
16618         (cutSelection): don't create a object for CutAndPaste use the
16619         static method directly
16620         (pasteSelection): ditto
16621
16622         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16623         LyXview (+ rename)
16624
16625 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16626
16627         * modifications to some other files because of this.
16628
16629         * Makefile.am (lyx_SOURCES): add XFormsView
16630
16631         * XFormsView.[Ch]: new files
16632
16633         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16634         the main window. Move the gui dependent stuff to XFormsView
16635
16636 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16637
16638         * tabular.C (GetCellInset): update cur_cell also in the row/col
16639         version of this function.
16640
16641         * lyxfunc.C: no need to include figure_form.h here.
16642
16643         * FontLoader.h:
16644         * lyxfunc.h:
16645         * lyxscreen.h:
16646         * text2.C:
16647         * lyxvc.C: no need to include forms.h here.
16648
16649 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16650
16651         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16652
16653         * lyxfunc.C (Dispatch):
16654         * Spacing.C (set):
16655         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16656         constructor argument.
16657
16658 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16659
16660         * paragraph.C (Paragraph): dont't clear, and just set layout.
16661         (makeSameLayout): use params's copy contructor.
16662
16663         * ParagraphParameters.[Ch] (makeSame): delete method
16664
16665 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16666
16667         * Variables.[Ch]: fix indentation, rename set to isSet
16668
16669 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16670
16671         * lyxfunc.C (Dispatch): fix typo
16672
16673 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16674
16675         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16676         upper_bound.
16677
16678         * bufferlist.C: include assert.h for emergencyWrite().
16679
16680 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16681
16682         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16683           give up at last (bug #425202) !
16684
16685 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16686
16687         * lyx_gui_misc.C:
16688         * sp_form.h:
16689         * sp_form.C:
16690         * spellchecker.h:
16691         * spellchecker.C: strip spellchecker options and bring up
16692           preferences tab instead
16693
16694 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16695
16696         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16697         the istringstream constructor
16698
16699 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16700
16701         * paragraph.C (getLayout): fix return value
16702
16703         * paragraph.h: do not declare getLayout as inline.
16704
16705         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16706
16707 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16708
16709         * lyxcursor.h (operator<): new func
16710         (operator>): new func
16711         (operator>=): new func
16712         (operator<=): new func
16713
16714         * text.C (changeCase): use selection.start and selection.end
16715         (changeRegionCase): require from to be <= to. Require par to be a
16716         valid paragraph.
16717
16718         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16719
16720 2001-06-27  Juergen Vigna  <jug@sad.it>
16721
16722         * text.C (cursorLeftOneWord): changed to return the cursor and added
16723         overlay with BufferView * parameter which calls this one.
16724         (getWord): added
16725         (selectWord): use new getWord function.
16726         (changeCase): renamed from changeWordCase as and extended to work
16727         also on selections.
16728
16729         * lyxtext.h: added enum word_location
16730
16731         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16732         changeCase as this operates now also on selections.
16733
16734 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16735
16736         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16737
16738         * many files: send debug output to Debug::INFO instead of
16739         Debug::ANY.
16740
16741         * converter.C (View):
16742         (Convert):
16743         (Move): send debug output to Debug::FILES instead of console.
16744
16745 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16746
16747         * lyxfunc.C (getStatus): use func_status
16748
16749         * func_status.h: new header, describing the results of
16750         LyXFunc::getStatus;
16751
16752         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16753         LFUN_MATH_HALIGN.
16754
16755 2001-06-25  The LyX Project  <jug@sad.it>
16756
16757         * buffer.C (sgmlOpenTag):
16758         (sgmlCloseTag):
16759         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16760
16761 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16762
16763         * text2.C: remove some dead code
16764
16765         * tabular.C (GetCellInset): store the last cell checked (gotten)
16766
16767         * tabular.h: add the helper for the speedup
16768
16769         * lyxtext.h: remove some dead code
16770
16771 2001-06-26  The LyX Project  <Asger>
16772
16773         * paragraph.C: Change export to LaTeX of alignment to
16774         \begin{center} and family for better roundtrip work with reLyX.
16775
16776         * Tune the math drawing a bit.
16777
16778 2001-06-25  The LyX Project  <Asger>
16779
16780         * LColor.C (LColor): New color for math background. New color
16781         for buttons.
16782
16783 2001-06-25  The LyX Project  <jug@sad.it>
16784
16785         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16786
16787         * lyxfunc.C (Open):
16788         * bufferlist.C (newFile): do not restrict to files ending with
16789         .lyx
16790
16791         * BufferView_pimpl.C (MenuInsertLyXFile):
16792
16793 2001-06-24  The LyX Project  <jug@sad.it>
16794
16795         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16796         of compare_no_case
16797
16798 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16799
16800         * lyxtext.h: rename most methods to begin with a small char.
16801         Lots of changes because of this.
16802
16803         * paragraph.C (Paragraph): do not call fitToSize
16804         (erase): call Pimpl::erase
16805         (insertChar): call Pimpl::insertChar
16806         (insertInset): call Pipl::insertInset
16807         (breakParagraph): do not call fitToSize
16808         (breakParagraphConservative): do not call fitToSize
16809         (fitToSize): remove method
16810
16811         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16812
16813 2001-06-24  The LyX Project  <Asger>
16814
16815         * Fix Qt compilation^2
16816
16817 2001-06-24  The LyX Project  <jug@sad.it>
16818
16819         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16820         depthHook(getDepth()-1).
16821
16822         * paragraph.h:
16823         * ParagraphParameters.h:
16824         * ParameterStruct.h: change type of depth to unsigned int ==
16825         depth_type. Many adaptations to other files before of that.
16826
16827 2001-06-24  The LyX Project  <Asger>
16828
16829         * Fix Qt compilation.
16830
16831 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16832
16833         * paragraph.h: renamed several methods to begin with small letter.
16834         several changes to many parts of the code because of this.
16835
16836 2001-06-23  The LyX Project  <jug@sad.it>
16837
16838         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16839         rewritten to discard all double spaces when KeepEmpty is off
16840         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16841         to only handle newlines but not fiddle with spaces and friends.
16842
16843         * lyxfunc.C (MenuNew): when doing 'new from template', use
16844         template_path as default directory
16845
16846 2001-06-23  The LyX Project  <Asger>
16847
16848         * Clean-up of header file includes all over
16849         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16850
16851 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16852
16853         * paragraph.h: renamed from lyxparagraph.h
16854
16855 2001-06-23  Asger  <lyx@violet.home.sad.it>
16856
16857         * Buffer.h: Removed Buffer::resize
16858         * BufferList.h: Removed BufferList::resize
16859         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16860         the document lazily when we change the width, or the font settings.
16861
16862 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16863
16864         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16865
16866 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16867
16868         * buffer.h: remove out of date comment
16869
16870 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16871
16872         * lyxscreen.h:
16873         * screen.C: fix "theoretical" GC leak
16874
16875 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16876
16877         * LaTeX.C (scanAuxFile):
16878         (deplog): remove trailing \r when reading stream (useful under
16879         win32)
16880
16881 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16882
16883         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16884         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16885         and BufferView::theLockingInset(Inset*), so should use them and not
16886         access bv_->text->the_locking_inset directly.
16887
16888         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16889
16890 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16891
16892         * Makefile.am:
16893         * tex-defs.h: remove old unused file
16894
16895 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16896
16897         * BufferView_pimpl.C: fix typo, remove minibuffer message
16898           when buffer has loaded
16899
16900 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16901
16902         * lyxfunc.C (Dispatch): use stringstream
16903         (MenuNew): use stringstream
16904         (Open): use stringstream
16905
16906         * importer.C (Import): use stringstream
16907
16908         * bufferview_funcs.C (CurrentState): use stringstream
16909
16910         * LaTeX.C (run): use stringstream
16911
16912         * BufferView_pimpl.C (savePosition): use stringstream
16913         (restorePosition): use stringstream
16914         (MenuInsertLyXFile): use stringstream
16915
16916 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16917
16918         * BufferView.C:
16919         * Bullet.C:
16920         * ColorHandler.C:
16921         * FontInfo.C:
16922         * FontLoader.C:
16923         * LColor.C:
16924         * LaTeXFeatures.C:
16925         * Painter.C:
16926         * gettext.C:
16927         * lyx_gui_misc.C:
16928         * lyxserver.C:
16929         * vspace.C: removed // -*- C++ -*- as first line.
16930
16931         * lyxfind.h:
16932         * version.h: added // -*- C++ -*- as first line.
16933
16934 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16935
16936         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16937
16938         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16939         of string
16940
16941 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16942
16943         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16944         of floats.
16945
16946 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16947
16948         * gettext.C: include LString.h even when --disable-nls is on.
16949
16950 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16951
16952         * converter.h (Get): changed argument type from int to
16953         FormatList::size_type to avoid unnecessary conversion.
16954
16955         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16956         before using it.
16957
16958 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16959
16960         * gettext.h: include LString.h even when --disable-nls is on.
16961
16962 2001-06-07  Juergen Vigna  <jug@sad.it>
16963
16964         * text.C (BreakAgain): subst spaces with tabs.
16965
16966         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16967         (resizeInsetsLyXText): set force on resizeLyXText.
16968
16969 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16970
16971         * gettext.h (gettext_init):
16972         (locale_init): use a real definition instead of a macro
16973
16974 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16975
16976         * Bufferview_pimpl.C:
16977         * LColor.h:
16978         * LColor.C: further lcolor tidies
16979
16980 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16981
16982         * BufferView_pimpl.C (updateScrollbar): simplify.
16983
16984         * BufferView2.C: don't include insets/insetinfo.h, change
16985         prototype for insertInset and call the Pimpl version. let
16986         updateInset call Pimpl version.
16987
16988         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16989         gotoInset to BufferView::Pimpl
16990
16991 2001-06-01  Juergen Vigna  <jug@sad.it>
16992
16993         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16994         inside a LockingInset (is the update needed at all?).
16995
16996 2001-05-31  Juergen Vigna  <jug@sad.it>
16997
16998         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16999         here not the old one otherwise how should we compare it afterwards
17000         if it's the same!
17001
17002 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17003
17004         * lyxfont.C:
17005         * tabular.C:
17006         * tabular-old.C:
17007         * FontInfo.C: bring C functions into global namespace when
17008         necessary
17009
17010 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17011
17012         * LString.h: make sure config.h has been loaded before LString.h.
17013
17014         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17015         (one for each char read by EatLine!).
17016
17017         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17018         variables.
17019
17020 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17021
17022         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17023         to the same as the par we break from
17024
17025 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17026
17027         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17028
17029         * MenuBackend.C (expand): also create menu entries for wide
17030         versions of the floats.
17031
17032         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17033
17034         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17035
17036         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17037         frontends/Makefile.am
17038
17039         * text2.C: adjust
17040         * text.C: adjust
17041
17042
17043         * tabular.C (getTokenValue): add std::
17044
17045         * tabular-old.C (getTokenValue): add std::
17046         (getTokenValue): ditto
17047         (getTokenValue): ditto
17048
17049         * screen.C (ToggleSelection): adjust
17050
17051         * lyxtext.h: put selection cursors inside a Selection struct.
17052
17053         * lyxfunc.C (moveCursorUpdate): adjust
17054
17055         * lyxfont.C (latexWriteStartChanges): add std::
17056
17057         * lyxfind.C: adjust
17058
17059         * font.h: delete with(char const *, LyXFont const &)
17060
17061         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17062
17063         * FontInfo.C (getFontname): add std::
17064
17065         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17066         (workAreaButtonPress): adjust
17067         (tripleClick): adjust
17068         (update): adjust
17069         (moveCursorUpdate): adjust
17070         (Dispatch): adjust
17071
17072         * BufferView2.C (gotoInset): adjust
17073
17074 2001-05-30  Juergen Vigna  <jug@sad.it>
17075
17076         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17077         to check pspell I add this as default as I now have new pspell
17078         libraries and they seem to use this.
17079
17080 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17081
17082         * text2.C (CutSelection): make the cursor valid before the call to
17083         ClearSelection.
17084
17085 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17086
17087         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17088         relied on 0 terminated strings and other horrors. Bug found due to
17089         the new assert in lyxstring!
17090
17091         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17092         KP_ keys.
17093
17094 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17095
17096         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17097         to latinkeys.bind.
17098
17099         * lyxfunc.C (processKeySym): change method of getting to the
17100         self-insert char.
17101
17102         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17103         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17104         * BufferView_pimpl.[Ch]: here as private methods.
17105
17106 2001-05-28  Juergen Vigna  <jug@sad.it>
17107
17108         * text.C (SetHeightOfRow): added the update() call again as it is
17109         needed to initialize inset dimensions!
17110
17111 2001-05-16  Juergen Vigna  <jug@sad.it>
17112
17113         * text2.C (SetCharFont): Add new function with BufferView * and
17114         bool toggleall parameters for setting insets internal fonts.
17115         (SetFont): Freeze the undo as we may change fonts in Insets and
17116         all this change should be inside only one Undo!
17117
17118         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17119         setting font's in insets as for them we have the SetFont function!
17120
17121 2001-05-15  Juergen Vigna  <jug@sad.it>
17122
17123         * text2.C (ClearSelection): to be sure we REALLY don't have any
17124         selection anymore!
17125
17126         * tabular.C (TeXCellPreamble): fixed the left border problem for
17127         multicolumn cells.
17128
17129 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17130
17131         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17132         dependancy file
17133
17134 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17135
17136         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17137         LFUN_BREAKPARAGRAPH.
17138
17139         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17140         help test to "internal only", similar for LFUN_INSERT_URL
17141
17142         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17143         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17144         auto_region_delete and deadkeys.
17145
17146 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17147
17148         * LColor.h:
17149         * LColor.C: remove some dead entries, tidy a little
17150
17151 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17152
17153         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17154         commented code.
17155         (Dispatch): implement LFUN_ESCAPE
17156
17157         * commandtags.h: add LFUN_ESCAPE
17158
17159         * LyXAction.C (init): add entry for LFUN_ESCAPE
17160
17161         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17162         Remove commented code.
17163         (insertNote): moved here
17164         (open_new_inset): moved here
17165
17166         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17167         BufferView_pimpl
17168
17169 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17170
17171         * kbmap.C (findbinding): clean it up and make it work correctly.
17172
17173         * lyx_main.C (init): do not pass argc and argv as parameters
17174
17175 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17176
17177         * buffer.C: fix path for OS/2 & Win32
17178
17179         * lyx_gui.C:
17180         * lyx_main:
17181         * lyx_main.C: Added os:: class.
17182
17183         * os2_defines.h: update
17184
17185 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17186
17187         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17188         better by trying again with reduced state.
17189
17190 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17191
17192         * lyxrc.C (read): print error about invalid key sequence only when
17193         debugging (because not all latinX keysyms are known to some X
17194         servers)
17195
17196         * kbsequence.C (getiso): add a few std:: qualifiers
17197         (getiso): comment out extra return statement.
17198
17199 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17200
17201         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17202         handling.
17203         (Dispatch): enhance the accent inset a bit. (not perfect)
17204
17205 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17206
17207         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17208
17209 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17210
17211         * bufferlist.C (emergencyWrite): fix assert() call
17212
17213 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17214
17215         * text.C (InsertChar): Added trivial patch to only send the "you
17216         can not do multiple spaces this way" message once during a
17217         session.
17218
17219 2001-05-08  Baruch Even  <baruch@lyx.org>
17220
17221         * Makefile.am: Changed order of libraries to get LyX to link properly
17222         with the gnome frontend.
17223
17224 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17225
17226         * LaTeXFeatures.h: add a std:: qualifier
17227
17228 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17229
17230         * paragraph.C (String): use stringstream
17231
17232 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17233
17234         * paragraph.C (writeFile): remove footflag arg
17235
17236         * buffer.C (makeLaTeXFile): use stringstream
17237         (latexParagraphs): remove footnot gurba
17238
17239         * LaTeXFeatures.C (getPackages): use stringstream
17240         (getMacros): likewise
17241         (getTClassPreamble): likewise
17242         (getFloatDefinitions): new method
17243
17244         * paragraph.C (writeFile): reindent
17245         (Erase): reindent
17246
17247         * WorkArea.h: revert the xpos + etc changes.
17248
17249         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17250
17251         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17252
17253         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17254         (pasteSelection): likewise
17255         * text2.C (CreateUndo): likewise
17256
17257 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17258
17259         * minibuffer.C (peek_event): temporarily reduce the functionality
17260         of the minibuffer (to allow args on lfuns)
17261
17262         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17263         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17264
17265         * buffer.C (readInset): add compability reading of old float
17266         lists, add reading of new style float list.
17267         (readInset): avoid reevaluation of inscmd.getCmdName()
17268         (getLists): reindent
17269
17270         * MenuBackend.C (MenuItem): implement parsing of
17271         md_floatlistinsert and md_floatinsert.
17272         (expand::LastFiles): move initalizaton of iterators out of loop,
17273         avoid reevaluation.
17274         (expand::Documents): introduce typdedef vector<string> Strings,
17275         and use it.
17276         (expand::ExportFormats): introduce typedef vector<Format const *>
17277         Formats, and use it.
17278         (expand): implement FloatListInsert and FloatInsert.
17279
17280         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17281         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17282         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17283
17284         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17285         handling.
17286         (Dispatch::LFUN_FLOAT_LIST): implement
17287
17288 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17289
17290         * LaTeX.C (run): Fix problem with --export code.
17291
17292 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17293
17294         * BufferView.[Ch] (workarea): removed.
17295         (getClipboard) new method; wrapper for workarea()->getClipboard()
17296
17297         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17298         bug.
17299
17300         * WorkArea.h (width, height, xpos, ypos): These methods all
17301         returned the dimensions of the work_area sub-area of WorkArea,
17302         resulting in a position error if the WorkArea were resized. Now
17303         return the dimensions of the entire WorkArea.
17304
17305         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17306
17307 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17308
17309         * LaTeX.C (deplog): correct the syntax of regex reg1
17310
17311 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17312
17313         * undo.C: remove !NEW_INSETS cruft
17314
17315 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17316
17317         * text2.C: remove !NEW_INSETS cruft
17318
17319         * text.C: remove !NEW_INSETS cruft
17320
17321         * tabular.C: remove !NEW_INSETS cruft
17322
17323         * spellchecker.C: remove !NEW_INSETS cruft
17324
17325         * lyxtext.h: remove !NEW_INSETS cruft
17326
17327         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17328
17329         * lyxfunc.C: remove !NEW_INSETS cruft
17330
17331         * lyxfind.C: remove !NEW_INSETS cruft
17332
17333         * lyx_cb.C: remove !NEW_INSETS cruft
17334
17335         * figureForm.C: remove  !NEW_INSETS cruft
17336
17337         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17338
17339         * buffer.[Ch]: remove !NEW_INSETS cruft
17340
17341         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17342
17343         * CutAndPaste.C: remove !NEW_INSETS cruft
17344
17345         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17346
17347         * BufferView2.C: remove !NEW_INSETS cruft
17348
17349         * BufferView.h: remove !NEW_INSETS cruft
17350
17351 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17352
17353         * Lsstream.h: include LString.h before the sstream headers to
17354         fix problem with gcc 2.95.3 and lyxstring
17355
17356 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17357
17358         * lyx_main.C: add using directives when needed for C functions
17359         declared in std:: namespace.
17360
17361 2001-04-27  Juergen Vigna  <jug@sad.it>
17362
17363         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17364         (SetHeightOfRow): comment out the update call should not be needed!
17365
17366 2001-04-13  Juergen Vigna  <jug@sad.it>
17367
17368         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17369         (LyXTabular): tried to minimize operator= operations (and realized
17370         hopfully Lars wish).
17371
17372 2001-04-27  Juergen Vigna  <jug@sad.it>
17373
17374         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17375
17376 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17377
17378         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17379
17380         * buffer.C (readInset): hack to make listof algorithm work
17381
17382         * BufferView_pimpl.C: hack to make listof algorithm work
17383
17384 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17385
17386         * LyXAction.C: removed all !NEW_INSETS cruft
17387         (init): moved lfun_item in method
17388
17389         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17390
17391 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17392
17393         * BufferView2.C (theLockingInset): white space.
17394
17395 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17396
17397         * minibuffer.C: include <iostream>
17398
17399         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17400
17401         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17402
17403         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17404
17405         * text.[Ch] (TransposeChars): new method
17406
17407 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17408
17409         * call message directly through LyXView instead of through LyXFunc
17410         * BufferView2.C: adjust
17411         * BufferView_pimpl.C: adjust
17412         * FontLoader.C: adjust
17413         * buffer.C: adjust
17414         * bufferview_funcs.C: adjust
17415         * converter.C: adjust
17416         * figureForm.C: adjust
17417         * importer.C: adjust
17418         * lyx_cb.C: adjust
17419         * lyx_gui_misc.C: adjust
17420         * lyxfunc.C: adjust
17421         * lyxvc.C: adjust
17422         * text2.C: adjust
17423         + more files in subdirs
17424
17425         * lyxparagraph.h (size): move up int file
17426         (GetLayout): ditto
17427
17428         * adjust all uses of Assert to lyx::Assert.
17429
17430         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17431         lyxfunctional in namespace lyx
17432         * layout.C (hasLayout): ditto
17433         (GetLayout): ditto
17434         (GetLayout): ditto
17435         (delete_layout): ditto
17436         (NumberOfClass): ditto
17437         * converter.C (GetFormat): ditto
17438         (GetNumber): ditto
17439         (Add): ditto
17440         (Delete): ditto
17441         (SetViewer): ditto
17442         * bufferlist.C (getFileNames): ditto
17443         (emergencyWriteAll): ditto
17444         (exists): ditto
17445         (getBuffer): ditto
17446         * MenuBackend.C (hasSubmenu): ditto
17447         (hasMenu): ditto
17448         (getMenu): ditto
17449         * BufferView_pimpl.C (getInsetByCode): ditto
17450
17451 2001-04-18  Juergen Vigna  <jug@sad.it>
17452
17453         * vspace.C (asLatexString): fixed the 100% problem.
17454
17455 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17456
17457         * lyxfunc.C (Dispatch):
17458         * minibuffer.C:
17459         * minibuffer.h: add a few std:: qualifiers
17460
17461 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17462
17463         * minibuffer.[Ch]: reimplement so that commands is initiated and
17464         run from lyxfunc, simplified som handling, and made the completion
17465         and history code for complete. wip.
17466
17467         * lyxfunc.C (processKeySym): call message
17468         (miniDispatch): new temporary method
17469         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17470         (LFUN_MESSAGE): implement
17471         (LFUN_MESSAGE_PUSH): implement
17472         (LFUN_MESSAGE_POP): implement
17473         (initMiniBuffer): the initial/defualt minibuffer message.
17474
17475         * lyxfont.[Ch]: inline some more getters
17476
17477         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17478
17479         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17480
17481         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17482         (AutoSave): use LFUN_MESSAGE
17483         (Reconfigure): ditto
17484
17485         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17486
17487         * figureForm.C: use LFUN_MESSAGE
17488
17489         * converter.C (runLaTeX): use LFUN_MESSAGE
17490
17491         * bufferview_funcs.C: use LFUN_MESSAGE
17492         (Melt): ditto
17493         (changeDepth): ditto
17494
17495         * bufferparams.h: use boost::
17496
17497         * bufferlist.h: inherit privately from noncopyable
17498
17499         * bufferlist.C (loadLyXFile): remove some commented code.
17500
17501         * buffer.C (runChktex): use LFUN_MESSAGE
17502
17503         * ShareContainer.h: inherit privately from noncopyable
17504
17505         * ParagraphParameters.[hC] (depth): inline it.
17506
17507         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17508         methods.
17509         (message): new method
17510         (messagePush): ditto
17511         (messagePop): ditto
17512         (show): init minibuffer
17513         (showState): direct call
17514
17515         * LaTeX.[Ch]: inherit privately from noncopyable
17516         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17517         instead of WriteStatus.
17518
17519         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17520
17521         * BufferView_pimpl.C (buffer): don't init minibuffer
17522         (workAreaButtonPress): use LFUN_MESSAGE
17523         (workAreaButtonRelease): ditto
17524         (savePosition): ditto
17525         (restorePosition): ditto
17526         (MenuInsertLyXFile): ditto
17527         (workAreaExpose): don't init minibuffer
17528         (update): remove commented code, simplify
17529
17530         * BufferView2.C (openStuff): use LFUN_MESSAGE
17531         (toggleFloat): ditto
17532         (menuUndo): ditto
17533         (menuRedo): ditto
17534         (copyEnvironment): ditto
17535         (pasteEnvironment): ditto
17536         (copy): ditto
17537         (cut): ditto
17538         (paste): ditto
17539         (gotoInset): ditto
17540         (updateInset): remove some commented code
17541
17542         * lastfiles.h: inherit privately from noncopyable
17543         * layout.h: ditto
17544         * lyx_gui.h: ditto
17545         * lyx_main.h: ditto
17546         * lyxlex.h: ditto
17547         * lyxlex_pimpl.h: ditto
17548
17549         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17550         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17551         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17552
17553         * LyXAction.h: inherit privately from noncopyable, add methods
17554         func_begin, func_end, returning iterators to the func map.
17555
17556         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17557         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17558         (func_begin): new method
17559         (func_end): new method
17560
17561         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17562         and not)
17563         (copySelection): ditto
17564         (pasteSelection): ditto
17565
17566         * BufferView.C: whitespace change
17567         * BufferView.h: inherit privately from noncopyable
17568
17569 2001-04-16  Allan Rae  <rae@lyx.org>
17570
17571         * tabular-old.C (l_getline):
17572         * spellchecker.C (sc_check_word):
17573         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17574         an unrecognised preprocessor directive.  So ensure they're wrapped.
17575
17576 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17577
17578         * src/exporter.C (Export): Give an error message when path to file
17579         contains spaces.
17580
17581 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17582
17583         * LaTeX.C (deplog): Always check that foundfile exists.
17584
17585 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17586
17587         * lyx_main.h:
17588         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17589
17590 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17591
17592         * tabular.[Ch] (getLabelList): implement new method
17593
17594         * minibuffer.h: comment ouf setTiimer
17595
17596         * minibuffer.C (ExecutingCB): constify res
17597         (peek_event): constify s
17598         (Set): constify ntext
17599         (Init): constify nicename
17600
17601         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17602
17603         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17604         (savePosition): use two params to Minibuffer::Set
17605         (restorePosition): ditto
17606
17607 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17608
17609         * lyx_main.C: include language.h
17610
17611         * Makefile.am (lyx_main.o): add language.h
17612
17613 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17614
17615         * exporter.C:
17616         * paragraph.C:
17617         * screen.C:
17618         * tabular.C:
17619         * CutAndPaste.C: include gettext.h
17620
17621         * lyxfont.h: remove old hack with ON and OFF.
17622
17623         * lyxparagraph.h:
17624         * lyxfont.h: do not include language.h...
17625
17626         * BufferView2.C:
17627         * LaTeXFeatures.C:
17628         * Painter.C:
17629         * bufferview_funcs.C:
17630         * font.C:
17631         * lyxfont.C:
17632         * text.C:
17633         * text2.C:
17634         * trans_mgr.C:
17635         * paragraph.C: ... but do it here instead
17636
17637 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17638
17639         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17640
17641         * tabular.C: small reformat
17642
17643         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17644         NEW_INSETS version
17645         (GetChar): ditto
17646         (BreakParagraph): ditto
17647         (SetOnlyLayout): ditto
17648         (SetLayout): ditto
17649
17650         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17651         with one arg less.
17652
17653         * lastfiles.C: removed most using decl, add std:: where needed
17654
17655         * buffer.C: ws changes
17656
17657         * MenuBackend.C (class compare_format): put into anon namespace
17658         (expand): constify label, names, action, action2
17659         (expand):
17660
17661         * text.C (SingleWidth): constify font
17662         (IsBoundary): constify rtl2
17663         (GetVisibleRow): constify ww
17664
17665         * LaTeX.C (deplog): constify logfile
17666
17667         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17668         start_x, end_x
17669         (workAreaExpose): constify widthChange, heightChange
17670
17671         * lyxrow.C (par): moved
17672         (height): moved
17673         (next): moved
17674         * lyxrow.h: as inlines here
17675
17676         * lyxfont.h (shape): moved from lyxfont.C
17677         (emph): moved from lyxfont.C
17678
17679         * lyxfont.C (LyXFont): use initialization list for all
17680         constructors
17681         (shape): move to lyxfont.h as inline
17682         (emph): move to lyxfont.h as inline
17683
17684
17685 2001-04-04  Juergen Vigna  <jug@sad.it>
17686
17687         * vspace.C: had to include stdio.h for use of sscanf
17688
17689 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17690
17691         * BufferView.h:
17692         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17693         independent of xforms.
17694
17695 2001-04-02  Juergen Vigna  <jug@sad.it>
17696
17697         * spellchecker.C: fixed namespace placing!
17698
17699 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17700
17701         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17702         the LyXParagraph * is 0.
17703
17704 2001-03-29  Juergen Vigna  <jug@sad.it>
17705
17706         * vspace.C: added support for %, c%, p%, l%.
17707         (stringFromUnit): added helper function.
17708         (asLatexString): changed to give right results for the %-values.
17709
17710         * buffer.C: convert the widthp in a width%.
17711
17712 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17713
17714         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17715         figureForm.[Ch].
17716
17717         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17718         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17719
17720         * lyx_cb.[Ch]: see above.
17721
17722         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17723         form1.[Ch].
17724
17725         * form1.[Ch]:
17726         * lyx.[Ch]: replaced by figure_form.[Ch].
17727
17728         * lyx_gui.C:
17729         * lyx_gui_misc.C:
17730         * lyxfunc.C: changed headers associated with above changes.
17731
17732 2001-03-27  Juergen Vigna  <jug@sad.it>
17733
17734         * BufferView_pimpl.C: set the temporary cursor right!
17735
17736 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17737
17738         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17739
17740 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17741
17742         * LString.h: removed "using std::getline"!
17743
17744         * BufferView_pimpl.C (Dispatch): changes due to changes in
17745         InsetInclude::Params.
17746
17747         * buffer.C (tag_name): removed redundant break statements as they were
17748         producing lots of warnings with my compiler.
17749
17750 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17751
17752         * LString.h: add "using std::getline" when using the real <string>.
17753
17754 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17755
17756         * buffer.C: removed bitset usage.
17757         PAR_TAG moved to an anonymous name space.
17758         (tag_name): new funtion, also in the anonymous namespace.
17759         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17760         (makeDocBookFile): clean code. Completed transition from string arrays
17761         to string vectors.
17762         (SimpleDocBookOnePar): code clean.
17763
17764 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17765
17766         * tabular.C: add some comments.
17767
17768 2001-03-22  Juergen Vigna  <jug@sad.it>
17769
17770         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17771         compatibility read a bit and fixed bug with minipage in different
17772         depth.
17773
17774 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17775
17776         * buffer.C (pop_tag): removed.
17777         (push_tag): removed.
17778         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17779         array replaced with vector. Added support for CDATA sections.
17780         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17781         at any nest level.
17782         (makeDocBookFile): XML conformant declaration of CDATA section,
17783         fixed bug related to <emphasis> in the first paragraph char.
17784         (sgmlOpenTag): exclude empty tags.
17785         (sgmlCloseTag): ditto.
17786
17787         * buffer.h (pop_tag): removed.
17788         (push_tag): removed.
17789
17790 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17791
17792         * language.h (Languages): added size_type and size().
17793
17794 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17795
17796         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17797         response on compability reading of minipages. One probliem is that
17798         the old usage of minipages was flertydig
17799
17800         * several files here and in subdirs: don't use static at file
17801         scope use anon namespaces instead.
17802
17803 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17804
17805         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17806         LaTeX output. This is necessary for Literate document
17807         processing.
17808
17809 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17810
17811         * buffer.C: insert hfill when needed.
17812
17813         * tabular.C (l_getline): use string::erase, small whitespace change.
17814
17815         * BufferView_pimpl.C: try the anon namespace.
17816         * WorkArea.C: ditto
17817
17818 2001-03-16  Juergen Vigna  <jug@sad.it>
17819
17820         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17821         otherwise it won't open options-dialogs.
17822
17823         * buffer.C: honor pextraWidth(p) on converting minipages.
17824
17825         * tabular.C (l_getline): changed the functions to strip trailing \r.
17826
17827 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17828
17829         * BufferView_pimpl.C:
17830         * minibuffer..C: added "using SigC::slot" declaration.
17831
17832 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17833
17834         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17835
17836         * text2.C: ditto
17837
17838         * text.C: ditto
17839
17840         * paragraph.C: ditto
17841
17842         * lyxtext.h: NO_PEXTRA
17843
17844         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17845
17846         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17847         * ParameterStruct.h: ditto
17848         * ParagraphParameters.h: ditto
17849         * lyxparagraph.h: ditto
17850
17851 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17852
17853         * buffer.C: add compability for minipage alignment.
17854         (latexParagraphs): remove unwanted pextra check.
17855
17856         * several files: remove CXX_WORKING_NAMESPACES
17857
17858         * buffer.C (pop_tag): tie is in namespace boost
17859
17860         * BufferView.h: noncopyable is in namespace boost
17861         * lyxlex.h: ditto
17862         * lyx_main.h: ditto
17863         * lyx_gui.h: ditto
17864         * layout.h: ditto
17865         * lastfiles.h: ditto
17866         * bufferlist.h: ditto
17867         * ShareContainer.h: ditto
17868         * LyXView.h: ditto
17869         * LyXAction.h: ditto
17870         * LaTeX.h: ditto
17871
17872 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17873
17874         * Merging changes from BRANCH_MVC back into HEAD.
17875
17876         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17877
17878 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17879
17880         * BufferView_pimpl.C: change from intl.C
17881
17882         * combox.h:
17883         * combox.C:
17884         * Makefile.am: move combox.*
17885
17886         * form1.h:
17887         * form1.C:
17888         * lyx_gui.C:
17889         * intl.h:
17890         * intl.C: remove dialog (covered by prefs)
17891
17892 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17893
17894         * lyxfunc.C (Dispatch): removed redundant break statement.
17895
17896 2001-03-14  Juergen Vigna  <jug@sad.it>
17897
17898         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17899
17900 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17901
17902         * buffer.C: add hack to fix compability reading of minipages.
17903
17904 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17905
17906         * buffer.C (getLists): Cleanup.
17907
17908 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17909
17910         * lyxfont.C (update): don't honor toggleall on font size.
17911
17912 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17913
17914         * bmtable.c:
17915         * bmtable.h:
17916         * Makefile.am: moved to frontends/xforms/
17917
17918         * lyx_gui_misc.C:
17919         * lyxfunc.C:
17920         * BufferView_pimpl.C: changes for moved mathpanel
17921
17922 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17923
17924         * gettext.h: fix gettext_init() in --disable-nls
17925
17926 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17927
17928         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17929
17930 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17931
17932         * lyx.C:
17933         * lyx.h: strip external form
17934
17935 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17936
17937         * BufferView_pimpl.C: add comment, destroySplash()
17938
17939 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17940
17941         * BufferView_pimpl.C:
17942         * LyXAction.C:
17943         * buffer.C:
17944         * commandtags.h:
17945         * lyxfunc.C: use re-worked insetinclude
17946
17947 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17948
17949         * buffer.C: add using std::stringstream.
17950
17951         * lyx_cb.C: readd using std::ios.
17952
17953         * buffer.C: add using std::map.
17954
17955         * BufferView_pimpl.C: add using std::vector.
17956
17957         * ShareContainer.h: add std:: to swap.
17958
17959         * buffer.h: add some typedefs
17960         * buffer.C (getLists): use them
17961         (getLists): renamed from getTocList.
17962         add a counter for the different float types and use it in the
17963         generated string.
17964         (getLists): use the same counter for the NEW_INSETS and the "non"
17965         NEW_INSETS
17966
17967         * lyx_cb.h: remove unused items, includes, using etc.
17968
17969         * ShareContainer.h: remove some commented code, add more comments
17970         and "documentation".
17971
17972 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17973
17974         * buffer.C (getTocList): make the list also when NEW_INSETS is
17975         defined.
17976
17977         * buffer.h: remove TocType
17978
17979         * buffer.C (getTocList): change to return a map<string,
17980         vector<TocItem> >, implement for dynamic number of list.
17981
17982         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17983         * text2.C (PasteSelection): adjust
17984         * CutAndPaste.C (pasteSelection): adjust
17985
17986         * FloatList.C (FloatList): update from the new_insets branch.
17987         * Floating.[Ch]: ditto
17988         * LaTeXFeatures.C: ditto
17989         * buffer.C: ditto
17990         * lyxlex_pimpl.C: ditto
17991
17992         * paragraph.C (Last): remove when NEW_INSETS is defined.
17993
17994         * other file: changes because of the above.
17995
17996 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17997
17998         * lyxparagraph.h: rename next to next_, previous to previous_,
17999         make them private for NEW_INSETS. Rename Next() to next(),
18000         Previous() to previous().
18001
18002         * other files: changes because of the above.
18003
18004 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18005
18006         * BufferView.h:
18007         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18008         problem.
18009
18010 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18011
18012         * main.C (main): pass lyx_localedir to gettext_init().
18013
18014         * gettext.h: remove locale_init and gettext_init macros
18015
18016         * gettext.C (locale_init): new function
18017         (gettext_init): new function
18018
18019         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18020         setlocale().
18021
18022 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18023
18024         * Moved credits to frontends:
18025         * credits.[Ch]: removed
18026         * credits_form.[Ch]: removed
18027         * lyx_gui_misc.C: remove credits stuff
18028         * Makefile.am:
18029
18030 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18031
18032         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18033
18034         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18035         unneeded destructor.
18036
18037         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18038         a standalone pointer again.
18039
18040         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18041
18042 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18043
18044         * Makefile.am:
18045         * filedlg.h:
18046         * filedlg.C:
18047         * LyXAction.C:
18048         * ToolbarDefaults.C:
18049         * bufferlist.C:
18050         * commandtags.h:
18051         * form1.C:
18052         * form1.h:
18053         * lyx_cb.C:
18054         * lyx_cb.h:
18055         * lyxfunc.h:
18056         * lyxfunc.C:
18057         * BufferView_pimpl.C: use new file dialog in GUII
18058
18059         * lyx_cb.h:
18060         * lyx_cb.C: remove LayoutsCB to Toolbar
18061
18062 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18063
18064         * ShareContainer.h (get): add std:: qualifier
18065
18066 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18067
18068         * ShareContainer.h: define a proper ShareContainer::value_type
18069         type (and use typename to please compaq cxx)
18070
18071 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18072
18073         * lyxparagraph.h: move serveral local vars to
18074         ParameterStruct/ParagraphParameters., use ShareContainer in
18075         FontTable., make vars in FontTable private and add getter and
18076         setter.
18077
18078         * paragraph.C: changes because of the above.
18079
18080         * lyxfont.h: remove copy constructor and copy assignment. (the
18081         default ones is ok), move number inside FontBits. move inlines to
18082         lyxfont.C
18083
18084         * lyxfont.C: add number to initializaton of statics, move several
18085         inlines here. constify several local vars. some whitespace
18086         cleanup. Dont hide outerscope variables.
18087
18088         * Spacing.h: add two new constructors to match the set methods.
18089
18090         * ShareContainer.h: new file, will perhaps be moved to support
18091
18092         * ParameterStruct.h: new file
18093
18094         * ParagraphParameters.h: new file
18095
18096         * ParagraphParameters.C: new file
18097
18098         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18099         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18100
18101         * BufferView_pimpl.C: ParagraphParameter changes.
18102         * buffer.C: Likewise.
18103         * bufferview_funcs.C: Likewise.
18104         * text.C: Likewise.
18105         * text2.C: Likewise.
18106
18107 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18108
18109         * lyxfind.C (LyXReplace): do not redefine default argument in
18110         implementation.
18111         (IsStringInText): ditto
18112         (SearchForward): ditto
18113         (SearchBackward): ditto
18114
18115 2001-03-06  Juergen Vigna  <jug@sad.it>
18116
18117         * lyxfind.C (IsStringInText): put parentes around expressions.
18118
18119 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18120
18121         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18122
18123 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18124
18125         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18126
18127         * stl_string_fwd.h: add comment
18128
18129         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18130
18131         * tabular.h:
18132         * tabular.C: remove unused DocBook methods
18133
18134         * intl.C:
18135         * language.C:
18136         * paragraph.C:
18137         * buffer.C:
18138         killed DO_USE_DEFAULT_LANGUAGE
18139
18140 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18141
18142         * lyx_gui.C: do not include language.h.
18143
18144         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18145         arguments in function implementation.
18146
18147 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18148
18149         * BufferView_pimpl.C: add <ctime>
18150
18151 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18152
18153         * BufferView_pimpl.C: add using std::find_if
18154
18155 2001-02-27  José Matos  <jamatos@fep.up.pt>
18156
18157         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18158         by OnlyPath.
18159
18160 2001-02-11  José Matos  <jamatos@fep.up.pt>
18161
18162         * buffer.C (makeDocBookFile): command styles now have a parameter as
18163         "title" by default.
18164
18165 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18166
18167         * layout_forms.[Ch]: removed
18168         * lyx_cb.[Ch]: out character
18169         * lyx_gui.C: out character
18170         * lyx_gui_misc.C: out character
18171         * bufferview_funcs.C: : out character,
18172         added toggleall as parameter in ToggleAndShow
18173
18174 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18175
18176         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18177
18178         * text2.C (SetCurrentFont): Disable number property at boundary.
18179
18180 2001-02-26  Juergen Vigna  <jug@sad.it>
18181
18182         * lyxfunc.C (getStatus): added a string argument override function so
18183         that this is correctly called from LyXFunc::Dispatch if it contains a
18184         do_not_use_argument which is used!
18185         (Dispatch): added check for "custom" export and call appropriate func.
18186
18187 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18188
18189         * lyxrc.C: Add language_command_local, language_use_babel and
18190         language_global_options.
18191
18192         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18193
18194         * buffer.C (makeLaTeXFile): Use language_use_babel and
18195         language_global_options.
18196
18197 2001-02-23  Juergen Vigna  <jug@sad.it>
18198
18199         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18200         which works with LyXText and putted it inside BufferView. Here now we
18201         only call for that part the BufferView::Dispatch() function.
18202
18203         * BufferView.C (Dispatch): added.
18204
18205         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18206         functions which needs to use a LyXText over from LyXFunc.
18207         (MenuInsertLyXFile): added
18208         (getInsetByCode): added
18209         (moveCursorUpdate): added
18210         (static TEXT): added
18211
18212 2001-02-22  Juergen Vigna  <jug@sad.it>
18213
18214         * BufferView_pimpl.C (update): call a status update to see if LyXText
18215         needs it.
18216
18217 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18218
18219         * vc-backend.C (revert): implement for CVS
18220         (getLog): implement for CVS
18221
18222 2001-02-20  Juergen Vigna  <jug@sad.it>
18223
18224         * text2.C (ClearSelection): added BufferView param for inset_owner call
18225
18226         * lyxfunc.C (TEXT): added this function and use it instead of
18227         directly owner->view()-text of getLyXText().
18228
18229 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18230
18231         * src/layout_forms.C: out preamble
18232         * src/layout_forms.h: out preamble
18233         * src/lyx_cb.C: out preamble
18234         * src/lyx_cb.h: out preamble
18235         * src/lyx_gui.C: out preamble
18236         * src/lyx_gui_misc.C: out preamble
18237         * src/lyxfunc.C: connect with guii preamble
18238
18239 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18240
18241         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18242
18243 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18244
18245         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18246         whether to run bibtex.
18247
18248 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18249
18250         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18251
18252 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18253
18254         * Makefile.am (lyx_SOURCES): removed bibforms.h
18255
18256         * vspace.h: doxygen
18257
18258         * text.C (GetVisibleRow): make several local vars const
18259
18260         * tabular.C: small cleanup.
18261
18262         * lyxserver.C (callback): use compare instead of strncmp
18263
18264         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18265         inlines to after class or to paragraph.C
18266
18267         * lyxfont.h: remove friend operator!=
18268
18269         * converter.h: move friend bool operator< to non friend and after
18270         class def.
18271
18272         * combox.h: small cleanup
18273
18274         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18275         to inlines after class def.
18276
18277         * buffer.C (pop_tag): use string operations instead of strcmp
18278
18279         * bmtable.c: doxygen, small cleanup
18280
18281         * LaTeX.h: remove friend operator==
18282
18283 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18284
18285         * screen.C:
18286         * lyxrc.[Ch]:
18287         * lyxfunc.C:
18288         * lyxfont.[Ch]:
18289         * lyx_cb.C:
18290         * intl.[Ch]:
18291         * commandtags.h:
18292         * buffer.C:
18293         * WorkArea.[Ch]:
18294         * LyXAction.C:
18295         * BufferView_pimpl.C:
18296         * BufferView.[Ch]: remove cruft
18297
18298 2001-02-14  Juergen Vigna  <jug@sad.it>
18299
18300         * lyxfunc.C: removed #if 0 unused code
18301
18302         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18303
18304         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18305
18306         * text2.C (SetSelection): added a BufferView * parameter
18307
18308 2001-02-13  Juergen Vigna  <jug@sad.it>
18309
18310         * lyxfunc.C (Dispatch): fixed protected blank problem.
18311         * BufferView2.C (protectedBlank): added LyxText * parameter.
18312
18313         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18314         (AppendColumn): same as above for column_info.
18315
18316         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18317         (moveCursorUpdate): use a LyXText param for support of InsetText.
18318
18319         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18320         (tripleClick): ditto
18321
18322         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18323
18324         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18325
18326         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18327
18328         * text2.C (SetSelection): set correct update status if inset_owner
18329         (ToggleFree): ditto
18330
18331 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18332
18333         * tabular.C: remove some commented code.
18334
18335 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18336
18337         * BufferView_pimpl.C: call hideSplash()
18338
18339         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18340
18341         * include_form.h:
18342         * bibforms.h: remove
18343
18344         * lyxfunc.C:
18345         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18346           add LFUN_CHILD_CREATE
18347
18348         * counters.h: fix tiny typo
18349
18350         * lyx_cb.C:
18351         * lyx.h:
18352         * lyx_gui.C:
18353         * lyx.C: move splash to frontends/xforms/
18354
18355         * lyx_gui_misc.C: move Include and Bibform to frontends
18356
18357         * lyxvc.h: clarify comment
18358
18359         * vspace.C: tiny housekeeping
18360
18361 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18362
18363         * text.C (PrepareToPrint): RTL Fix.
18364
18365         * paragraph.C (GetUChar): New method.
18366         (String):  Use GetUChar.
18367
18368         * buffer.C (asciiParagraph): Use GetUChar.
18369
18370 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18371
18372         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18373
18374 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18375
18376         * buffer.h:
18377         * buffer.C: rename to getLogName(), handle
18378           build log / latex log nicely
18379
18380 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18381
18382         * MenuBackend.C:
18383         * MenuBackend.h: remove support for reference menuitem type.
18384
18385 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18386
18387         * BufferView_pimpl.C: housekeeping
18388         * BufferView_pimpl.h:
18389         * LyXView.h:
18390         * Makefile.am:
18391         * Timeout.C:
18392         * Timeout.h:
18393         * minibuffer.h: move Timeout GUI-I
18394
18395 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18396
18397         * lyxrc.C (read): Update converters data-structures.
18398
18399 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18400
18401         * LaTeX.h (operator!=): add operator != for Aux_Info
18402
18403 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18404
18405         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18406
18407         * LaTeXLog.C: deleted, useful code moved to Buffer
18408
18409         * buffer.h:
18410         * buffer.C: new function getLatexLogName()
18411
18412         * lyx_gui_misc.C:
18413         * lyx_gui.C:
18414         * lyxvc.C:
18415         * lyxvc.h:
18416         * lyxfunc.C: use frontends for LaTeX and VC logs
18417
18418 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18419
18420         * LaTeX.h: yet another std:: that Allan forgot.
18421
18422         * Variables.C (set): renamed from isset(), because this clashes
18423         with some HP-UX macros (grr).
18424
18425 2001-02-06  Allan Rae  <rae@lyx.org>
18426
18427         * LaTeX.h: Another bug fix.  Missing std:: this time.
18428
18429 2001-02-04  Allan Rae  <rae@lyx.org>
18430
18431         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18432         floats problem. I've left it commented out because it's not quite
18433         correct.  It should also test that the current object is a table or
18434         figure inset.  But I haven't gotten around to figuring out how to do
18435         that.  I *think* it'll be something like: "table" == inset.type()
18436
18437         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18438         bool.
18439
18440 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18441
18442         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18443         all the citation/databases/styles in the auxilary file.
18444         (run): Rerun latex if there was a babel language error.
18445
18446 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18447
18448         * text.C (Backspace): Preserve the font when changing newline char
18449         with a space.
18450         (BreakParagraph): If the cursor is before a space, delete the space.
18451
18452         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18453
18454 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18455
18456         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18457         new argument (code).
18458         (ChangeCitationsIfUnique): New method.
18459
18460         * paragraph.C (GetPositionOfInset): Handle bibkey.
18461
18462 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18463
18464         * BufferView_pimpl.h: change type of Position::par_pos to
18465         LyXParagraph::size_type.
18466
18467 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18468
18469         * BufferView_pimpl.C (savePosition, restorePosition): Write
18470         messages to minibuffer.
18471
18472 2001-01-28  José Matos  <jamatos@fep.up.pt>
18473
18474         * buffer.C (makeDocBookFile): adds support for document language.
18475         A silly restriction on the name of LatexCommand types where removed.
18476         Added support for CDATA sections, allows to chars unescaped, used
18477         among others in code, to avoid escape < and >.
18478
18479 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18480
18481         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18482         saved positions instrad of a stack. Furthermore, a position is
18483         stored using paragraph id/paragraph position.
18484
18485         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18486         Remove LFUN_REF_BACK.
18487
18488 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18489
18490         * converter.C (dvipdfm_options): New method.
18491
18492 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18493
18494         * vspace.C (isValidLength): Fix for empty input string.
18495
18496 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18497
18498         * LyXAction.C (init): change description of LFUN_FIGURE to
18499         "Insert Graphics"
18500
18501 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18502
18503         * LaTeX.C: add using directive
18504
18505 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18506
18507         * MenuBackend.C (expand): Fix the sorting of the formats.
18508
18509 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18510
18511         * lyx_main.C: tiny error message fix
18512
18513 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18514
18515         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18516         calling fl_initialize(). This fixes the problem with ',' as
18517         decimal separator in text files.
18518
18519 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18520
18521         * trans.C (process): Fix the keymap bug.
18522
18523 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18524
18525         * LaTeX.C (scanAuxFiles): New method. Provides support for
18526         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18527         (scanLogFile) Scan for "run BibTeX" messages.
18528
18529         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18530         OT1 font encoding. Also, load the aecompl package if the ae
18531         package is loaded.
18532
18533         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18534
18535 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18536
18537         * texrow.C (increasePos): turn two error messages into debug
18538         messages.
18539
18540 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18541
18542         * LaTeX.C (scanAux): Handle the \@input macro.
18543         (runBibTeX): Use scanAux().
18544
18545         * language.C (latex_options_): New field.
18546
18547         * LaTeXFeatures.C (getMacros): Add language macros.
18548
18549         * buffer.C (makeLaTeXFile): Small fix.
18550
18551 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18552
18553         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18554
18555         * text2.C: add a using directive.
18556
18557 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18558
18559         * BufferView2.C:
18560         * lyx_gui_misc.h:
18561         * lyxfr1.C:
18562         * lyxfunc.C: kill LyXBell.
18563
18564 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18565
18566         * text.C (IsBoundary): Remove the error message
18567
18568         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18569
18570         * lyxrc.C (setDefaults): Correct initialization value for
18571         font_norm_type.
18572
18573 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18574
18575         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18576         gotoError().
18577
18578         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18579         and GotoNextNote().
18580
18581         * src/LyXAction.C: Added reference-next.
18582
18583         * text.C (InsertChar): Use contains instead of strchr.
18584
18585         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18586
18587 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18588
18589         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18590         alignment commands (when needed).
18591
18592         * text.C (InsertChar): Add ':' to number separator chars.