]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
restore 1.3 behaviour when changing tabular columns to variable width
[lyx.git] / src / ChangeLog
1 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * text2.C (setLayout): move recUndo call to other setLayout method
4         * tabular.C (toggleFixedWidth): new, handle cell width changes
5         * tabular.C (setColumnPWidth): move some code from insettabular.C here
6         and use toggleFixedWidth
7         * tabular.C (setMColumnPWidth): ditto
8
9 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10
11         * paragraph.C (asString): use new inset->textString method (fix bug 2089)
12
13 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14
15         * CutAndPaste.C (numberOfSelections): new helper function.
16
17         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
18
19         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
20         LyXFunc::getStatus; implement LFUN_PASTE.
21
22 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
23
24         * dociterator.[Ch]: new member realInset() that returns the cell
25         for tabulars and the inset for the rest (bug 1952).
26         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
27         (bug 1952).
28
29 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
32
33 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * lyxfunc.C:
36         * paragraph.C:
37         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
38         argument.
39
40 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
41
42         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
43         line after typing ctrl-enter
44
45 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
46
47         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
48         math insets do not return a proper editable() state yet (bug 2124).
49
50 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
51
52         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
53         docs containing very large paragraphs.
54
55 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
56
57         * cursor.C (selectionBegin, selectionEnd):
58         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
59         cursor at different depths.
60
61 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
62
63         * bufferview_funcs.C (coordOffset): do not call cursorPos
64         for collapsed collapsables (fix bug 2094).
65
66 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * paragraph.C (fontSpan): make sure that the FontSpan does not
69         span across beginOfBody (bug 1947).
70
71 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
74
75 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
76
77         * messages.C: fix crash and localization on MinGW/Windows platform
78
79 2005-11-02  Angus Leeming  <leeming@lyx.org>
80
81         * Bidi.C:
82         * lyxtextclass.C: trivial fixes to some MSVS warnings.
83
84 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
85
86         * text3.C (getStatus): re-enable disabled code. (bug 2081)
87
88         * BranchList.h (empty): constify.
89
90 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * text3.C (getStatus): 
93         * MenuBackend.C (expandBranches): take the branch list from the
94         master document (bug 2092).
95         
96         * MenuBackend.C (expandBranches): 
97         * bufferparams.C (writeFile): use BranchList type.
98
99 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * text3.C (dispatch, getStatus): 
102         * LyXAction.C (init): 
103         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
104
105 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
108
109 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
110
111         * text.C (insertChar): do not reset boundary (bug 2061)
112
113 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * dociterator.C (updateInsets): new method. Updates the inset_
116         cache of all the slices of the iterator.
117
118         * text2.C (deleteEmptyParagraphMechanism): compare also containing
119         insets when comparing pit/pos; pass the right cursor to
120         recordUndo; when a paragraph has been deleted, compare `old.top()' to
121         the right cursor slice of `cur'; use updateInsets on cur to make
122         sure that the inset caches are correct; general cleanup.
123
124 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
127         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
128         containg inset. If this does not work, the same command will be
129         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
130
131         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
132         a dispatch.
133
134 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
135
136         * lyxtextclass.C (Read): convert layout file if the format is wrong
137         * lyxtextclass.C (layout2layout): new, needed for the above
138
139 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * messages.C: do not forget to include <cerrno>.
142
143 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
144
145         * dociterator.h (StableDocIterator): add access to pos().
146         * undo.C (samePar): new method to check if two
147         iterators are in the same paragraph
148         * undo.C (recordUndo): check for samePar instead of cell identity
149         (which includes pos() and is too strict) (fixes bug 2097)
150
151 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * text.C (setCursorFromCoordinates): return a bool telling whether
154         dEPM triggered.
155
156         * text3.C (cursorPrevious): update if needed after
157         setCursorFromCoordinates (when dEPM triggered).
158
159         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
160         (otherwise the anchor may be completely wrong and make dEPM assert).
161
162 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
163
164         * buffer.C: version upgrade to 245.
165         * bufferparams.C: remove \quotes_times (bug 2090).
166         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
167         quotation marks as default.
168
169 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
170
171         * CutAndPaste.C (nrOfParagraphs): remove (unused)
172         * CutAndPaste.C (cutSelection): Remove debug message
173         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
174         undo information and only copy if this is a real cut
175         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
176         call
177         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
178         (bug 2059)
179         * CutAndPaste.C (eraseSelection): prevent cursor corruption
180         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
181         superflous cur.selection() setting
182         * CutAndPaste.[Ch] (grabSelection): take a const cursor
183         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
184
185 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
186
187         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
188         change anything.
189
190 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
191
192         * BufferView_pimpl.C: comment layout change
193
194 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
195
196         * LyXAction.C:
197         * lfuns.h:
198         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
199         by bibliography managers (bug 2071).
200
201 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
202
203         * BufferView_pimpl.C (update): choose arguments to update call so
204         that single-par update works most times
205         * text3.C (dispatch): carefully tune updating separately for
206         whole-screen and current-paragraph
207         * rowpainter.C (paintText): 1) replace painting by caching for
208         the two extra paragraphs, because we can;
209         2) suppress greying out of areas below/above drawn area in case of
210         single-par refresh
211         * lyxfunc.C (dispatch): remove superfluous update
212         * LyXAction.[Ch]: introduce SingleParUpdate
213
214 2005-10-05  Angus Leeming  <leeming@lyx.org>
215
216         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
217         always initialised before use.
218
219         * text.C (setHeightOfRow): squash warning about comparison
220         of signed and unsigned types.
221
222 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
223
224         * text.C (cursorX): two fixes involving RtL text drawing
225
226 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
229         items, not only large ones (part of bug 2057)
230
231 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
234         argument, use "newcommand".
235
236 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
237
238         * cursor.C (setSelection): do not open collapsable insets;
239         the insets do by themselves now (autoopen).
240
241 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
242
243         * buffer.C: format is up to 244.
244
245 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
246
247         * text.C (redoParagraph): fix calcultation of inset width wrt 
248         leftMargin (bug 1957).
249
250         * text3.C (dispatch): leave inset to the right when hitting ESC 
251         (bug 2034).
252
253 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * text2.C: 
256         * text.C: 
257         * factory.C:
258         * messages.C: include <boost/current_function.hpp> 
259
260 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
261
262         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
263         when command is internal. (bug 1941)
264
265 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
266
267         * text2.C (cursorRight): do not honor boundary when at the end of
268         a paragraph. (bug 2010 again)
269
270 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
271
272         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
273
274 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
275
276         * rowpainter.C (paintText): fix RtL space width display bug (2029)
277
278 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * text2.C (setCursor): remove the unused 'boundary' parameter for
281         the CursorSlice version; adapt the LCursor version.
282
283         * lyxrc.C (write): 
284         * paragraph_pimpl.C (markErased): 
285         * cursor.C (bruteFind2, bruteFond3): fix warnings.
286
287 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
290         as is already done for "chapter".
291
292 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
293
294         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
295         textclass; do not record undo if nothing is changed.
296
297 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
298
299         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
300
301 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
302
303         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
304
305 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
308         combox, it is necessary to search for the topmost paragraph in the
309         cursor stack (bug 1926)
310
311 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
314         end of paragraph. (bug 2010)
315
316 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
317
318         * text.C (leftMargin): check for inInset == 0
319
320 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
321
322         * text.C (leftMargin): test for insetbase's new neverIndent()
323         bool instead of listing each and every inset that does not
324         wish par indendation.
325
326 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * buffer_funcs.C (setCounter): put the code to compute enum label
329         here (where it belongs).
330
331         * counters.C (enumLabel): move code to buffer_funcs.C.
332
333 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
334
335         * outputparams.[Ch]: store local_font instead of local_language
336         * paragraph.C (simpleTeXOnePar): adapt to the change above
337
338 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * buffer_funcs.C:
341         * counters.[Ch]: clean up special code for Hebrew.
342
343 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
346         than 2.
347
348 2005-09-08  Angus Leeming  <leeming@lyx.org>
349
350         * ispell.C:
351         * lyxrc.C: correct grammar describing invocation of the
352         spellchecker.
353
354 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         * text.C (read): remove unused variable.
357         (readParToken): remove static Change variable (never good in
358         recursive settings...); add it as a parameter instead.
359
360         * paragraph_pimpl.C (acceptChange): make debug info conditional.
361
362         * metricsinfo.C (PainterInfo): add new member erased_.
363
364         * rowpainter.C (RowPainter): add erased_ member, initialized from
365         PainterInfo. 
366         (paintInset): pass erased_ to Inset::draw.
367
368         * lyxfunc.C (lookupChange): new function. Tells whether change 
369         tracking is disabled at a given postion.
370         (getStatus): disable some actions when in deleted text with change
371         tracking. 
372
373 2005-08-03  John Levon  <levon@movementarian.org>
374         
375         * tabular.C (appendColumn, setMultiColumn): adapt to change to
376         InsetText::clear().
377
378         * paragraph_pimpl.C (markErased): add bool argument and handle it.
379         Also make sure to mark insets recursively.
380         (rejectChange, erase): be recursive
381
382         * paragraph.C (markErased): add bool argument.
383 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * lyxfind.C (findNextChange): tiny cleanup.
386
387         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
388         change tracking with the cursor in an inset; make sure the first
389         change is not skipped.
390
391 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
392
393         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
394         tabularStackDirty to work around bug 1919 (tabular needs
395         to know whether its own cell paste buffer or the one of 
396         texted is newer.
397         * CutAndPaste.C: mark tabular_stack_ clean after copy.
398
399 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
400
401         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
402
403 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
404
405         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
406         use old deleteion algorithm when changetracking is on.
407
408 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
409
410         * messages.C (get): add debug output.
411
412 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
413
414         * text.C (cursorX): fix bug 1965: cursor movement at
415         line end broken in RtL.
416         (drawSelection): fix bug 1970: drawing of single-line 
417         selection broken for RtL.
418
419 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
420
421         bug 465.
422
423         * dociterator.h (clear, push_back, pop_back): change from
424         protected to public.
425
426         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
427         and changed to just return the value of the item depth; take a
428         ParIterator as argument; take the itemdepth at outer nesting level
429         in account if necessary; cleanup and comment the code.
430         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
431         and changed to just return true if reset is needed; take a
432         ParIterator as argument; cleanup and comment the code.
433         (setCounter): adapt to above changes.
434
435 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * text3.C (dispatch): make debug message optional
438
439 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
440
441         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
442         inset. (bug 1963)
443
444 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
445
446         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
447
448 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
449
450         * text.C (insertChar):
451         * text2.C (deleteEmptyParagraphMechanism): take care whether 
452         a blank has been deleted (in change tracking mode) (bug 1254).
453
454 2005-07-20  John Levon  <levon@movementarian.org>
455
456         * text2.C (insertStringAsLines): remove old dubious code,
457         fixing bug 1939.
458
459 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
460
461         * MenuBackend.C (expandToc): use Floating::listName() as title of
462         the floats submenus.
463
464 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
465
466         * toc.[Ch]: Do not use translatable strings (bug 1870).
467
468 2005-07-20  John Levon  <levon@movementarian.org>
469
470         * tabular.C: fix 1748 - setting multicolumn adds
471           left line to the first cell
472
473 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
474
475         bug 1920
476         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
477         pars in one go.
478
479 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
480
481         * messages.C: supress some lyxerr messages
482
483 2005-07-18  Juergen Vigna  <jug@lyx.org>
484
485         * text.C (drawSelection): honor boundary when asking for cursorX.
486
487 2005-07-17  José Matos  <jamatos@fc.up.pt>
488
489         * tabular.C (recalculateMulticolumns): fix handling of one column
490         tables.
491
492 2005-07-17  Juergen Vigna  <jug@lyx.org>
493
494         * text.C (Delete, backspace): fixed so that paragraph with the
495         same layout can be merged by Delete/Backspace.
496
497 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
498
499         * text.C (readParToken): fix spelling.
500
501 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
502
503         * text2.C: fix counter update for DEPM problem reported by
504         Georg Baum
505
506 2005-07-17  Juergen Vigna  <jug@lyx.org>
507
508         * BufferView_pimpl.C (setBuffer): save/restore the
509         cursor/selection when switching buffers
510
511         * buffer.h: 
512         * buffer.C (saveCursor): add saveDocumentIterators to save the
513         cursor when switching buffer.
514
515 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
516
517         * debug.C: fix typo
518         * buffer.C: clarify message
519         
520 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
521
522         * dociterator.C (DocIterator): fix initialization order
523
524 2005-07-17  Juergen Vigna  <jug@lyx.org>
525
526         * text2.C (cursorHome): 
527         * text.C (drawSelection, cursorX): 
528         * dociterator.C (textRow): add boundary to getRow() call
529
530         * paragraph.C (getRow): implementation of below
531
532         * paragraph.h: add parameter boundary for getRow() function
533
534 2005-07-17  José Matos  <jamatos@fc.up.pt>
535
536         * buffer.C:
537         * bufferparams.[Ch]:
538         * tex-strings.[Ch]: new file format, remove support for a4.sty,
539         a4wide.sty and a4widemargins.
540
541 2005-07-17  Juergen Vigna  <jug@lyx.org>
542
543         * text2.C (cursorLeft): fix one of error
544
545 2005-07-17  Juergen Vigna  <jug@lyx.org>
546
547         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
548                    cursorEnd):
549         more fixes for boundary handling
550
551         * text3.C (dispatch): don't reset cursor if boundary has changed
552         on cursor movement.
553
554 2005-07-16  Juergen Vigna  <jug@lyx.org>
555
556         * text2.C (getColumnNearX): hopefully got it right now,
557         check if we are on column 0 for special case.
558
559 2005-07-16  Juergen Vigna  <jug@lyx.org>
560
561         * text2.C (getColumnNearX): handle special case Newline Inset
562
563         * text.C (singleWidth): Just remove bogus check
564
565 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
566
567         * funcrequest.C (split): avoid reading uninitialized char c
568
569 2005-07-16  José Matos  <jamatos@fc.up.pt>
570
571         * buffer.C:
572         * converter.C:
573         * lyxrc.C:
574         * paper.h:
575         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
576         single papersize variable.
577
578 2005-07-16  Juergen Vigna  <jug@lyx.org>
579
580         * text3.C (dispatch): honor boundary when checking if a cursor
581         movement has been done
582
583         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
584         (setCursor, setCursorIntern): fix cursor movement with boundary
585
586 2005-07-16  Juergen Vigna  <jug@lyx.org>
587
588         * text.C (currentState): output the actual Boundary
589
590 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
591
592         * factory.C (createInset): fix bad logic for tabular creation
593
594 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
595
596         * lyx_main.C (init): change some reLyX reference to tex2lyx
597
598 2005-07-16  Juergen Vigna  <jug@lyx.org>
599
600         * dociterator.C (DocIterator): initialize boundary
601
602 2005-07-16  Juergen Vigna  <jug@lyx.org>
603
604         * text2.C (getColumnNearX): Consider rows without trailing blank.  
605
606 2005-07-16  André Pönitz  <poenitz@gmx.net>
607
608         * lyxfont.h: Change order of declarations to give the compiler
609         a better chance to inline things
610
611         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
612         questions on unsaved docs for better scritability
613
614 2005-07-16  André Pönitz  <poenitz@gmx.net>
615
616         * paragraph.h (getChar): remove asserts as the same kind of security
617         can be achieved by using a suitable standard library implementation
618         and the function was in the critical path (25.9% in profiler)
619
620 2005-07-16  Juergen Vigna  <jug@lyx.org>
621
622         * cursor.C (bruteFind2):
623         * bufferview_funcs.C (coordOffset): 
624         * text.C (cursorX,cursorY): Handle cursor position after last char
625         in row before a inset which uses a whole row.
626
627 2005-07-15  José Matos <jamatos@lyx.org>
628
629         * output_plaintext.[Ch] (writeFileAscii): control reference title
630         printing.
631         (asciiParagraph): noparbreak was already deal and was incorrectly
632         used.
633
634 2005-07-15  Juergen Vigna <jug@lyx.org>
635
636         * lyxfunc.C (dispatch): save and restore the cursor after a
637         textclass switch.
638
639 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
640
641         * text.C (backspace): bug 806 for empty keepempty paragraphs we
642         change the layout to default before letting DEPM do its thing.
643
644         * paragraph_funcs.C (breakParagraph): dont reset the layout on
645         keepEmpty paragraphs
646
647         * text.C (setCursorFromCoordinates): add a debug statement
648
649         * text2.C (getColumnNearX): bug 1825 make sure that we don't
650         return a pos that is not on the row
651
652         * output_latex.C (TeXDeeper): get rid of potential dereferencing
653         of past the end iterator
654
655 2005-07-14  André Pönitz  <poenitz@gmx.net>
656
657         * undo.C (recordUndoFullBuffer): implement undo for
658         textclass switches
659
660 2005-07-14  André Pönitz  <poenitz@gmx.net>
661
662         * cursor.C (setSelection): open insets when selection is set there
663         to avoid crashs with cold coord cache
664
665 2005-07-14  André Pönitz  <poenitz@gmx.net>
666
667         * trans_mgr.C (insert): move cursor to the right after inserting
668         a char.
669
670 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
671
672         * BufferView_pimpl.C (update): dampen some of the debug blabbering
673         * factory.C (readInset): ditto
674         * text.C, text2.C: ditto
675
676 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
677
678         * buffer.C: format incremented to 242. There is no file format per
679         se, but the "frenchb" language has been removed from lib/language
680         and has to be translated to "french" by lyx2lyx.
681
682 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
683
684         * cursor_slice.h, dociterator.h: add some documentation
685         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
686
687 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
688
689         * text.C (leftMargin): do not add identation to display() style
690         insets, because they are always centered (bug 1293).
691
692 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
693
694         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
695         formatted_time methods in support/lyxtime.
696
697 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
698
699         * toc.[Ch]: new method getGuiName, which is used by the frontends 
700         to set the toc combo (fixes bug 1870). Make TOC string translatable.
701
702 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
703
704         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
705         StableDocIterator const &)
706         * undo.C (recordUndo): use the above instead of cell.size() comparison
707         (fixes bug 1808; instructed by Andr�.
708
709 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
710
711         * cursor_slice.h: 
712         * dociterator.h: Fix the assert when copying rows/cols in math
713
714 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
715
716         * BufferView_pimpl.C:
717         * LyXAction.C:
718         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
719
720         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
721         (findInset): new functions, refactored from goto Inset that return 
722         the position of a certain inset without setting the buffer's cursor
723         (by Jean-Marc); 
724         (gotoInset): rewrite to call findInset and then set the cursor
725         (by Jean-Marc).
726
727 2005-06-16  Angus Leeming  <leeming@lyx.org>
728
729         * lyxrc.C (output, read): wrap all input and output of paths with
730         calls to os::internal_path and os::external_path, respectively.
731         (output): wrap bind_file inside quotes.
732
733         * format.C (view): enable the viewer to use the '$$s' placeholder.
734
735 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
736
737         * LColor.[Ch] (getFromLaTeXName): new
738
739 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
740
741         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
742
743 2005-06-14  Angus Leeming  <leeming@lyx.org>
744
745         * lyx_main.C (init): ensure that the LyX binary dir is the first
746         element in the PATH on non-POSIX builds.
747
748 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
749
750         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
751
752 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
753
754         * rowpainter.C (paintInset, paintHebrewComposeChar)
755         (paintArabicComposeChar, paintChars): add a LyXFont argument.
756         (paintChars): use getFontSpan to reduce calls to getFont to a
757         minimum; use Paragraph::lookupChange instead of isXXXText.
758         (paintForeignMark): rename LyXFont argument.
759         (paintFromPos): pass a LyXFont object to the various paintXXX
760         methods.
761
762         * FontIterator.C (FontIterator, operator++): use
763         Paragraph::getFontSpan
764
765         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
766         version that returns the font span as a pair.
767
768 2005-06-09  Angus Leeming  <leeming@lyx.org>
769
770         * converter.C (convert): Don't forget "outfile = real_outfile" as
771         the final step in a conversion where the input and output file names
772         are the same. Otherwise, future conversion steps won't work...
773
774 2005-06-09  Angus Leeming  <leeming@lyx.org>
775
776         * lyxsocket.C: remove stub code as it isn't needed by
777         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
778
779 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
780
781         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
782         effectively disabled -x
783
784 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
785
786         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
787         when it actually makes sense.
788
789 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
790
791         * BufferView_pimpl.C: revert to showCursor in connection with
792         Lars's front-end stack
793
794 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
795
796         * text.C (redoParagraph): move cursor right after a bibitem
797         has been inserted.
798
799         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
800
801 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
802
803         * buffer_funcs.C (bufferErrors): fix computation of the end of an
804         error range.
805
806 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
807
808         * BufferView.[Ch] (update):
809         * BufferView_pimpl.[Ch] (update, metrics):
810         * dimension.h (operator==):
811         * lyxfunc.C (dispatch):
812         * metricsinfo.h (ViewMetricsInfo):
813         * rowpainter.C (paintText):
814         * lyxtext.h:
815         * text.C (redoParagraph):
816         * text3.C (dispatch): Make LyX only repaint current paragraph in
817         case of character insert --> speedup. Also fix cursor draw
818         artifacts
819
820 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
821
822         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
823         avoid a crash (bug 1891)
824
825 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
826
827         Fix bug 1892:
828
829         * text2.C (getStringToIndex): constify cur argument.
830
831         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
832         argument has been given
833         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
834         try to invoke LFUN_INSET_APPLY).
835
836         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
837         if no inset was created by doInsertInset
838         (doInsertInset): return true if an inset has been inserted.
839
840 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
841
842         * vspace.C (asGUIName): new method. A version of the space
843         suitable for showing on screen.
844
845 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
846
847         * MenuBackend.C:
848         * lyxrc.C: rename "ASCII" to "Plain Text"
849
850 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
851
852         * buffer_funcs.C (expandLabel): take a Buffer as argument;
853         translate the labelstring.
854         (setCounter): translate labelstring as needed.
855
856         * output_docbook.C (makeCommand): fix expandLabel invokation
857
858 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
859
860         * BufferView.C: fix dialog title
861
862 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
863
864         * lyx_main.C (priv_exec): fix logic error with help from Angus
865         * lyx_main.C (parse_execute): set is_gui = false and remove now
866         obsolete comment about a segfault
867
868 2005-05-18  Angus Leeming  <leeming@lyx.org>
869
870         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
871
872 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
873
874         * tabular.[hC]: added setCellInset to fix tabular paste.
875
876 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
877
878         * buffer.C (save): check if destination is writable before trying
879         to copy a file
880
881 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
882
883         * BufferView_pimpl.C (update): fix processEvents -caused update
884         recursion bug
885
886 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
887
888         * buffer_funcs.C (setCounter): fix test for numbering of
889         environments.
890
891         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
892         depth correctly; use optional argument when it exists
893
894         * lyxtextclass.C: remove unused MaxCounterTags enum
895         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
896         (max_toclevel, min_toclevel): new methods.
897
898         * MenuBackend.C (expandToc2): fix case where depth is smaller than
899         the smallest depth in toc.
900
901         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
902         layouts that should not appear in a table of contents.
903
904 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
905
906         * cursor.h (undispatched, noUpdate): add comments from Andr�
907 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
908
909         * lfuns.h:
910         * LyXAction.C:
911         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
912
913 2005-05-07  André Pönitz  <poenitz@gmx.net>
914
915         * cursor.[Ch] (leaveInset): new function
916
917 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
918
919         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
920
921 2005-05-04  Angus Leeming  <leeming@lyx.org>
922
923         * lyxfunc.C (getStatus): disable the spell checker dialog if
924         none of USE_[AIP]SPELL are defined.
925
926 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
927
928         * tabular.C (setWidthOfCell): remove obsolete comment
929
930 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
931
932         * paragraph.C (bibitem):
933         * buffer_funcs.C (setCounter):
934         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
935
936 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
937
938         * text3.C (getStatus): immediately return after setOnOff
939
940         * rowpainter.C: fix drawing of appendix start
941
942 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
943
944         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
945         SwitchBetweenClasses and remove the unused return value.
946         Handle character styles, too
947
948 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
949
950         * factory.C (createInset): handle undefined character styles
951
952 2005-05-02  Angus Leeming  <leeming@lyx.org>
953
954         * buffer.C: protect the #include of utime.h with a preprocessor
955         guard.
956
957 2005-05-02  Angus Leeming  <leeming@lyx.org>
958
959         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
960         function so that auto-saving works, albeit in a blocking manner.
961
962         * Makefile.am: make compilation of the client sub directory, of
963         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
964         on conditionals set at configure time.
965
966         * SpellBase.[Ch]: no longer an abstract base class. Instead,
967         it can be compiled in its own right but has no-op functionality.
968
969         * aspell.C, pspell.C: remove preprocessor guards. The files should
970         be compiled only if the necessary functionality exists.
971
972         * lyxserver.C, lyxsocket.C: disable on Windows.
973
974 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
975
976         * text.C (leftMargin): Fix the parindent use bug (1764)
977         by dirty trick
978
979 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
980
981         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
982         argument.
983
984 2005-04-25  Angus Leeming  <leeming@lyx.org>
985
986         * Bidi.[Ch]:
987         * coordcache.[Ch]:
988         * ispell.C:
989         * lyxserver.C:
990         * mover.C:
991         * pch.h:
992         include <config.h> in .C files, not .h ones.
993         add licence blurb.
994         protect headers inside preprocessor guards.
995
996 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
997
998         * FuncStatus.h (StatusCodes): document
999
1000 2005-04-21  André Pönitz  <poenitz@gmx.net>
1001
1002         * FuncStatus.h (enabled, onoff): document
1003
1004 2005-04-19  Angus Leeming  <leeming@lyx.org>
1005
1006         * BufferView_pimpl.C (cursorToggle): no longer test whether
1007         any child processes have been reaped before calling
1008         handleCompletedProcesses().
1009
1010 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1011
1012         * text3.C (dispatch): fix, finally fix, the language problem in
1013         new lyxtexts, without disabling on-the-fly font changes (Helge's
1014         bug report)
1015
1016 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1017
1018         * text3.C (dispatch): set cursor on double/triple click events
1019         (bug 1811)
1020
1021 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1022
1023         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1024         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1025
1026         * rowpainter.C (paintFirst): simplify the code a little bit. In
1027         particular, remove the test for secnumdepth.
1028         * text.C (setHeightOfRow): only allocate space for chapter number
1029         when updateCounters provided an actual label, instead of looking
1030         at secnumdepth directly.
1031
1032         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1033
1034         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1035         paragraphs when secnumdepth is large enough or, for environments,
1036         when they are not the first in a sequence.
1037
1038 2005-04-17  Angus Leeming  <leeming@lyx.org>
1039
1040         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1041         containing space and '~' characters with a call to latex_path().
1042
1043 2005-04-17  Angus Leeming  <leeming@lyx.org>
1044
1045         * converter.C (convert): protect all args of convertDefault.sh
1046         script with quotes.
1047
1048 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1049
1050         * text3.C (dispatch): change the layout to "Caption" after inserting
1051         a float.
1052
1053 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1054
1055         * text3.C (dispatch): fix language problem in newly created
1056         textinsets (and main text) in non-english docs
1057
1058 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1059
1060         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1061         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1062         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1063
1064 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1065
1066         * lyxtext.h:
1067         * text.C (metrics):
1068         * text2.C (getFont):
1069         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1070         fonts fix
1071
1072 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1073
1074         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1075         output of \item arguments without trailing text.
1076
1077 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1078
1079         * FontIterator.C (operator*): avoid a copy of the font.
1080
1081 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1082
1083         * rowpainter.C (getFont): fix language bug from previous fix
1084
1085 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1086
1087         * rowpainter.C (RowPainter, getFont): fix font inside inset
1088         (bugs 1766, 1809)
1089
1090 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1091
1092         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1093         preventing inserted font, deco, delim insets jumping to start of
1094         surrounding inset.
1095
1096 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * lyxfunc.C (dispatch): translate message before sending it to the
1099         minibuffer.
1100
1101 2005-03-29  Angus Leeming  <leeming@lyx.org>
1102
1103         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1104         to LyX on the command line.
1105
1106 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1107
1108         * vc-backend.C: use QuoteName to protect file names wherever
1109         necessary.
1110
1111 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1112
1113         * buffer.[Ch]:
1114         * BranchList.h: fix bugs 1844,1845: document settings don't
1115         stick
1116
1117 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1118
1119         * lyxrc.C (setDefaults, read, output, getDescription): add support
1120         for tex_allows_spaces.
1121
1122         * exporter.C (Export): allows files in directory containing spaces
1123         if tex_allows_spaces is true.
1124
1125         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1126         output it in double quotes.
1127
1128 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1129
1130         * rowpainter.C: use default text height for drawing change tracker
1131         strikeout lines.
1132
1133 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1134
1135         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1136
1137 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1138
1139         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1140         directory is missing.
1141
1142 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1143
1144         * text2.C: fixed the fix, extended to other case.
1145
1146 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1147
1148         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1149
1150 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1151
1152         * text2.C (cursorUp): get rid of a crash
1153         * text.C (x2pos): add an assert
1154
1155 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1158
1159         * text3.C:
1160         * lyxfunc.C:
1161         * dociterator.C: include <boost/current_function.hpp>, which is
1162         needed when assertions are disabled.
1163
1164 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1165
1166         * text2.C: fix for stuck cursor when traversing two
1167         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1168
1169 2005-02-25  Andreas Vox  <avox@arcor.de>
1170
1171         * output_docbook.C (makeParagraph): suppress trailing newline
1172         after a run of paragraphs
1173
1174 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1175
1176         * paragraph.C: fix for confused change tracker when pasting
1177         text that begins with a lineseparator. [bug 1827]
1178         (setChange(0, Change::INSERTED);)
1179
1180         * paragraph_funcs.C: fix for lost changes on triple-paste
1181         in change tracking mode [bug 1827] (par.setChange()).
1182
1183 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1184
1185         * text2.C (updateCounters, setCounter, expandLabel): move to
1186         buffer_funcs.
1187
1188         * buffer_funcs.C (updateCounters): turn into a free standing
1189         function and add a buffer parameter. Remove dead code for tracking
1190         labelstring change.
1191         (setCounter): change into a free-standing function which gets a
1192         dociterator as argument. Use this iterator to fix captions in a
1193         simple way. When no float is found above the caption, use the
1194         labelstring of the caption layout as default.
1195
1196         * text.C (breakParagraph, backspace):
1197         * text2.C (init, setLayout, changeDepth):
1198         * text3.C (dispatch):
1199         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1200         updateCounters.
1201
1202         * dociterator.C (forwardPar): make it much faster by calling
1203         forwardPos() only when really necessary.
1204
1205         * output_docbook.C (makeCommand): adapt to expandLabel move.
1206
1207         * cursor.C: remove unused variable
1208
1209 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1210
1211         * paragraph_funcs.C: fix crash when pasting insets in change
1212         tracking mode [bug 1277] (honour change type in moveItem).
1213
1214 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1215
1216         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1217
1218 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1219
1220         * BufferView.C (setCursor): change to use a DocIterator.
1221         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1222         (putSelectionAt): adapt to BufferView::setCursor change.
1223
1224         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1225         moved here from LyXText and rewritten to use proper cursor
1226         methods. Fixes bug 1787, 616 and 835.
1227
1228         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1229         when inside an inset (part of bug 781).
1230         (dispatch): adapt to change of BufferView::setCursor.
1231         (getStatus, dispatch): handle LFUN_GOTOERROR,
1232         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1233
1234         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1235         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1236         * text3.C (gotoNextInset, gotoInset): removed.
1237
1238 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1239
1240         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1241
1242 2005-02-15  Angus Leeming  <leeming@lyx.org>
1243
1244         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1245         can be used meaningfully in a comparison.
1246
1247 2005-02-13  André Pönitz  <poenitz@gmx.net>
1248
1249         * bufferview_funcs.C (coordOffset): improve cursor drawing
1250
1251 2005-02-13  André Pönitz  <poenitz@gmx.net>
1252
1253         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1254         * Cursor.C (dispatch): use fixIfBroken
1255         * lyxfunc.C (getStatus): use fixIfBroken
1256
1257 2005-02-15  Angus Leeming  <leeming@lyx.org>
1258
1259         * lyx_main.C (error_handler):
1260         * lyxfunc.C:
1261         * lyxrc.C (setDefaults):
1262         s/GetEnv/getEnv/.
1263         #include "environment.h".
1264
1265         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1266
1267 2005-02-15  Angus Leeming  <leeming@lyx.org>
1268
1269         * lyxserver.C (startPipe): squash MSVC warning "local variable
1270         'fd' used without having been initialized".
1271
1272 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1273
1274         * BufferView_pimpl.C: revert accidental commit.
1275
1276 2005-02-14  André Pönitz  <poenitz@gmx.net>
1277
1278         * dociterator.[Ch]: new member forwardPosNoDescent(),
1279         which doesn't enter nested insets.
1280         * text2.C (setFont): use forwardPosNoDescent() instead
1281         of ForwardPos() (fixes crash on font change).
1282
1283 2005-02-13  Angus Leeming  <leeming@lyx.org>
1284
1285         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1286         only if lyxrc.path_prefix is not empty.
1287
1288 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1289
1290         * bufferparams.C (readGraphicsDriver): prevent crash
1291
1292 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1293
1294         * text2.C (setCounter): check for inInset() == 0
1295
1296 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297
1298         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1299         but use update() to get correct screen display; use convert
1300         instead of istringstream.
1301         (getStatus): handle LFUN_GOTO_PARAGRAPH
1302
1303         * lyxfunc.C (dispatch, getStatus): do not handle
1304         LFUN_GOTO_PARAGRAPH here.
1305
1306 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1307
1308         * text3.C (dispatch): size() -> depth()
1309
1310         * text2.C: remove some debug output
1311
1312         * paragraph.C: ws changes only
1313
1314         * lyxfunc.C (getStatus): size() -> depth()
1315
1316         * dociterator.h (clear, push_back, pop_back, internalData,
1317         operator[], resize, empty): new functions
1318         Make StableDocIterator and operator== be friends. Don't inherit
1319         from std::vector use a privat class variable slices_ instead.
1320         Modify to fit.
1321
1322         * dociterator.C: update because of not inheriting from std::vector
1323         anymore. Call explictly to slices_ instead. Use depth() instead of
1324         size() and top() instead of back()
1325
1326         * cursor.C: chagne size() -> depth and back() -> top(). Also
1327         remove some direct operator[](i) calls in favour of foo[i]
1328         (getFont): remove some dead code
1329
1330         * bufferview_funcs.C (coordOffset): size() -> depth()
1331
1332         * buffer.C: ws changes only
1333
1334         * CutAndPaste.C (eraseSelection): back() -> top()
1335
1336         * BufferView_pimpl.C (selectionRequested): back() -> top()
1337
1338         * BufferView.C (setCursor): size() -> depth()
1339
1340 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1341
1342         * text3.C (cursorPrevious): return true if depm changed something
1343         (cursorNext): ditto
1344         (dispatch): rename sl to oldTopSlice, remove moving use the new
1345         NoUpdate func attrib instead. Make sure that needsUpdate is set
1346         for function that have NoUpdate, but where depm might have changed
1347         the buffer anyway.
1348
1349         * text2.C (cursorLeft): make us return true if depm changed
1350         something
1351         (cursorRight): ditto
1352         (cursorUpParagraph): ditto
1353         (curosrDownParagraph): ditto
1354         (cursorUp, cursorDown): ditto, make sure to read comments in code
1355         (deleteEmptyParagraphMechanism): remove an assert, also return
1356         true if just a single char was deleted.
1357
1358         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1359         cursor that we modify, to avoid modifying an active cursor before
1360         we call setCursor. This allows depm to run. Also return true if
1361         depm deleted something.
1362
1363         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1364         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1365         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1366         something was changed in the buffer because of them (ie. depm run)
1367
1368         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1369         debug messages. Make update by default be false. Make sure that
1370         the result of update is retained throught several calls down to
1371         dispatch.
1372
1373         * LyXAction.h: add a new func_attrib: NoUpdate
1374
1375         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1376         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1377         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1378         and LFUN_WORDLEFT
1379         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1380
1381 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1382
1383         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1384         bv_->owner(), bv_->buffer() by direct references to the private
1385         members.
1386         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1387         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1388         (fitCursor): center() is in BufferView::Pimpl.
1389         (getStatus, trackChanges, dispatch): no need for a temporary buf
1390         variable
1391         (fitCursor, workAreaDispatch): use workarea().workheight()
1392
1393 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1394
1395         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1396
1397 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1398
1399         * buffer.C: format up to 241.
1400         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1401         break if pasting into ERT
1402         * lyxfunc.C (getStatus): suppress mathpanel and
1403         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1404
1405 2005-02-01  Angus Leeming  <leeming@lyx.org>
1406
1407         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1408
1409 2005-02-01  Angus Leeming  <leeming@lyx.org>
1410
1411         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1412         calling fs::is_directory().
1413
1414 2005-01-31  Angus Leeming  <leeming@lyx.org>
1415
1416         * lyx_main.C (priv_exec): specify explicitly the relative location
1417         of the top level build directory when run in-place.
1418
1419 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1420
1421         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1422         LyXText containing the cursor, not the top-level one.
1423
1424         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1425         true.
1426         (insertStringAsLines): rename par to pit; use temporary variable
1427         par to hold a Paragraph; do not store par.layout() in a variable,
1428         since the pointer may die when breaking paragraphs; pass pars to
1429         breakParagraph() instead of Buffer::paragraphs().
1430
1431 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1432
1433         * lyxlex_pimpl.h: #include <fstream>.
1434
1435         * BufferView.[Ch] (getLyXText): add a const version.
1436
1437         * BufferView_pimpl.C: add debug aids.
1438
1439         * RowList_fwd.h:
1440         * buffer.h:
1441         * lyxrow.h:
1442         * paragraph_funcs.h: add commentary explaining what the class does.
1443
1444
1445         * coordcache.[Ch]: add lots of commentary.
1446         (startUpdating, doneUpdating): debug aids.
1447         (arrays, insets, parPos, getParPos): accessors to private data.
1448
1449         * cursor_slice.[Ch] (text): add a const version.
1450         * dociterator.[Ch] (text, innerText): add const versions.
1451
1452         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1453         bool.
1454
1455         * paragraph.C (getRow, pos2ros): add asserts.
1456
1457         * paragraph.h: add commentary. Lots of.
1458
1459         * paragraph.[Ch] (metrucs, draw): removed.
1460
1461         * cursor.C:
1462         * rowpainter.[Ch]: const-correct changes.
1463
1464         * text.C: various obvious clean-ups. Removal of ancient cruft.
1465         Bug fixes, even.
1466
1467 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1468
1469         * vc-backend.C (find_file): rewrite to use boost.filesystem
1470         (scanMaster): ditto
1471
1472         * main.C (main): set default name check for boost.filesystem to
1473         no check
1474
1475         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1476         (open): ditto
1477         (doImport): ditto
1478         (actOnUpdatedPrefs): ditto
1479
1480         * lyx_main.C (init): rewrite to use boost.filesystem
1481         (queryUserLyXDir): ditto
1482
1483         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1484         (getContentsOfAsciiFile): ditto
1485
1486         * lastfiles.C (readFile): rewrite to use boost.filesystem
1487
1488         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1489
1490         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1491         (loadLyXFile): ditto
1492
1493         * buffer.C (Buffer): adjust for destroydir
1494         (getLogName): rewrite to use boost.filesystem
1495         (setFileName): ditto
1496         (save): use fs::copy_file (from fs_extras)
1497
1498         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1499
1500         * LaTeX.C (run): rewrite to use boost.filesystem
1501         (scanAuxFiles): ditto
1502         (handleFoundFile): ditto
1503
1504 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1505
1506         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1507
1508         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1509
1510 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1511
1512         * lyxlayout.[Ch]: change some vars from float to double
1513
1514         * buffer.C (readFile): make a local var const
1515
1516         * Several files: use convert<> instead of atoi,strToXXX and friends
1517
1518 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1519
1520         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1521         holds the contents of packages.lst. New functions getAvailable
1522         and isAvailable to parse and check that list, resp.
1523
1524         * LyXAction.C:
1525         * lfuns.h:
1526         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1527
1528         * bufferparams.[Ch]: new param output_changes.
1529
1530         * Buffer.C: increase file format to 240.
1531         Use output_changes and isVailable.
1532
1533         * changes.[Ch]:
1534         * paragraph.C:
1535         * paragraph_pimpl.C: Use output_changes and isVailable.
1536
1537 2005-01-23  Angus Leeming  <leeming@lyx.org>
1538
1539         * output_latex.C: #include "insetbibitem.h", rather than
1540         forward declare function bibitemWidest.
1541
1542 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1543
1544         * lyx_main.C (init): make it compile on the Mac.
1545
1546 2005-01-20  Angus Leeming  <leeming@lyx.org>
1547
1548         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1549         (setLyXMisc): (char string literal) != (char string literal) is
1550         performing a comparison on the addresses. Convert one operand
1551         explicitly to string to guarantee expected behaviour.
1552         From MSVC warning.
1553
1554 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1555
1556         * buffer.C:
1557         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1558
1559         * output_plaintext.C: remove unneeded #include gzstream.h.
1560
1561 2005-01-20  Angus Leeming  <leeming@lyx.org>
1562
1563         * SpellBase.h: rename some of the elements of the Result enum.
1564
1565         * aspell_local.h:
1566         * ispell.h:
1567         * pspell.h:
1568         * aspell.C (check):
1569         * ispell.C (check):
1570         * pspell.C (check): ditto
1571
1572 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1573
1574         * buffer.C: add #include <fstream>.
1575
1576         * lyx_main.C (init): Compile fix.
1577
1578         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1579
1580 2005-01-20  Angus Leeming  <leeming@lyx.org>
1581
1582         * mover.h: change commentary to reflect the changed meaning of
1583         the $$s placeholder.
1584
1585 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1586
1587         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1588
1589         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1590
1591 2005-01-20  Angus Leeming  <leeming@lyx.org>
1592
1593         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1594         printing diagnostic data by not dereferecing an iterator past the
1595         end.
1596
1597 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1598
1599         * buffer.C (readHeader): use "&&" rather than "and".
1600
1601         * lyxserver.h (inPipeName, outPipeName): make these const.
1602
1603 2005-01-19  Angus Leeming  <leeming@lyx.org>
1604
1605         * lyx_main.C (error_handler, init): protect SIGHUP with
1606         #ifdef SIGHUP guards.
1607
1608 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1611
1612 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * text.C (setHeightOfRow): add a margin at the top and bottom of
1615         the document (bug 1761)
1616
1617 2005-01-17  Angus Leeming  <leeming@lyx.org>
1618
1619         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1620         with "python ". Workaround for a brain-dead Windows.
1621
1622 2005-01-16  Angus Leeming  <leeming@lyx.org>
1623
1624         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1625         for MacOSX and Windows to use prependEnvPath.
1626         Strip out the hard-coded block to add elements to the PATH for
1627         MacOSX and replace it with a call to prependEnvPath using the
1628         contents of LyXRC::path_prefix.
1629         (queryUserLyXDir): strip out the code to run reconfigure, instead
1630         returning a boolean indicating the necessity to do so.
1631         (reconfigureUserLyXDir): contains the code to reconfigure the
1632         user support directory. Is now called after the various LyXRC data
1633         files have been read.
1634
1635         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1636
1637 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1638
1639         * converter.[Ch] (convert): take a new parameter try_default. Use
1640         a default converter (imagemagick) if try_default is true.
1641
1642 2005-01-13  Angus Leeming  <leeming@lyx.org>
1643
1644         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1645         os::cygwin_path_fix.
1646         (write): output LyXRC::cygwin_path_fix as necessary.
1647
1648 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1649
1650         * lyxrc.h:
1651         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1652
1653 2005-01-12  Angus Leeming  <leeming@lyx.org>
1654
1655         * lyx_main.C (init): set the PATH variable to include the
1656         directory containing the LyX binary when running on Mac or Windows.
1657
1658 2005-01-12  Angus Leeming  <leeming@lyx.org>
1659
1660         * lyx_main.C (init): remove cruft that purports to set the locale
1661         dir. It doesn't and is not needed anyway.
1662
1663 2005-01-10  Angus Leeming  <leeming@lyx.org>
1664
1665         * Makefile.am: remove the lyx_main.C special casing.
1666
1667         * BufferView_pimpl.C:
1668         * bufferlist.C:
1669         * exporter.C:
1670         * lyx_cb.C:
1671         * lyx_main.C:
1672         * lyxfunc.C:
1673         * messages.C: use support/package.h to provide the paths to the
1674         various directories used by LyX.
1675
1676 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1677
1678         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1679         layout if pasting into an empty paragraph)
1680
1681 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1682
1683         * tex-accent.C: add <string>
1684
1685 2005-01-06  José Matos  <jamatos@lyx.org>
1686
1687         * ParagraphParameters.C (write): put every parameter in its own line.
1688         * paragraph.C (write): reduce number of consecutive empty lines exported.
1689         * buffer.C (LYX_FORMAT): increase file format to 239.
1690
1691 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1692
1693         * everywhere: change support/tostr.h -> support/convert.h
1694
1695         * tabular.C: make all write_attributes templates, tostr -> convert
1696
1697         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1698         (emptyTag): and -> &&, and fix type for ret from getChar
1699         (getFirstWord): fix type for ret from getChar
1700         (onlyText): and -> &&
1701         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1702         getChar
1703
1704         * toc.C (goTo, action):
1705         * text3.C (dispatch):
1706         * text.C (currentState):
1707         * tex-accent.C (DoAccent):
1708         * sgml.C:
1709         * lyxrc.C:
1710         * lyxfunc.C (menuNew):
1711         * lyxfinc.C (replace):
1712         * counters.C (laberItem):
1713         * bufferview_funcs.C (font2string):
1714         * bufferparams.C (writeFile):
1715         * buffer.C (readFile):
1716         * Spacing.C (set):
1717         * MenuBackend.C: tostr -> convert
1718
1719         * LaTeX.C (runMessage): fix format
1720         (scanAuxFiles): tostr -> convert
1721
1722         * BufferView_pimpl.C (savePosition): fix format
1723         (restorePosition): ditto
1724         (dispatch): ditto
1725
1726 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1727
1728         * Spacing.[Ch]: New method getValueAsString().
1729
1730         * Spacing.[Ch]:
1731         * bufferparams.C:
1732         * ParagraphParameters.C:
1733         * lyxlayout.C:
1734         * text.C:
1735         * text3.C: store/read spacing value as string.
1736
1737         * rowpainter.C: change float value (spacing_val) to double.
1738
1739         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1740         broken custom document spacing).
1741
1742 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1743
1744         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1745         namespace, also more use of temp references and const
1746
1747         * cursor.[Ch] (getStatus): move to lyxfunc.C
1748
1749         * bufferparams.C: reformat slightly
1750
1751         * bufferview_funcs.C (font2string): constify arg
1752
1753         * changes.C:
1754         * converter.C:
1755         * counters.C:
1756         * bufferlist.C:
1757         * buffer_funcs.C: (many funcs): constify arg on function
1758         definitions, also make more local vars const, also add ASSERTS on
1759         pointer args.
1760
1761         * buffer.C (LYX_FORMAT): put const in correct place
1762         (many funcs): constify arg on function definitions, also make
1763         more local vars const
1764
1765         * aspell_local.h: remove "struct" from typdef setup
1766
1767         * aspell.C (check): make word_ok const
1768         (nextMiss): simplify slightly
1769         (error): ditto
1770
1771 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1772
1773         * lyxrc.[Ch]: store all float values as strings.
1774         use int (not float) for lyxrc.dpi.
1775
1776 2005-01-04  Angus Leeming  <leeming@lyx.org>
1777
1778         * lyx_cb.C (Reconfigure):
1779         * lyx_main.C (queryUserLyXDir):
1780         to run the <system_lyxdir>/configure correctly on Windows, prefix
1781         the path to the script with "sh " when generating the string that
1782         is passed to system().
1783
1784 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1785
1786         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1787
1788 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1789
1790         * lyxlength.C (asLatexString): get rid of setprecision
1791
1792 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1793
1794         * text2.C (setLayout): remove unused variable endpit.
1795         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1796
1797         * paragraph.C (onlyText): remove unused variable style.
1798
1799         * cursor.C (bruteFind): remove unused variables beg and end.
1800
1801         * Makefile.am (dist_noinset_DATA): not needed anymore
1802
1803         * cheaders/*: remove.
1804
1805 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1806
1807         * text3.C: fix LFUN_MATH_MODE.
1808
1809 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1810
1811         * buffer_funcs.C (countWords): new function. Counts words between
1812         two iterators.
1813
1814         * BufferView_pimpl.C (getStatus, dispatch): handle
1815         LFUN_WORDS_COUNT.
1816
1817         * LyXAction.C (init):
1818         * lfuns.h: add LFUN_WORDS_COUNT.
1819
1820 2004-12-19  Angus Leeming  <leeming@lyx.org>
1821
1822         * buffer.C (save): s/slashify_path/internal_path/.
1823
1824 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1825
1826         * lyxfind.C (findChange): do not search for end of pars, because
1827         the change tracker cannot handle this (fixes bug 1719).
1828
1829 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1830
1831         * paragraph.[Ch] (autoBreakRows): remove
1832
1833         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1834
1835         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1836         avoid using the paragraph one
1837
1838         * text2.C (LyXText, insertStringAsLines): adjust
1839
1840 2004-12-16  Angus Leeming  <leeming@lyx.org>
1841
1842         * bufferlist.C:
1843         * lyx_main.C:
1844         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1845
1846 2004-12-14  Angus Leeming  <leeming@lyx.org>
1847
1848         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1849
1850         * bufferlist.C (emergencyWrite):
1851         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1852         GetEnvPath("HOME").
1853
1854 2004-12-14  Angus Leeming  <leeming@lyx.org>
1855
1856         * main.C: (main): no longer pass pointers to os::init.
1857
1858 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1859
1860         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1861         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1862
1863 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1864
1865         * lyxfunc.C:
1866         * text3.C: remove selection_possible global flag
1867
1868 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1869
1870         * text2.C (getSelectionSpan): remove
1871         (changeDepth, changeDepthAllowed): adjust
1872
1873 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1874
1875         * Makefile.am (BOOST_LIBS): use boost variables
1876
1877 2004-12-03  José Matos  <jamatos@lyx.org>
1878
1879         * buffer.C: format up to 238.
1880
1881 2004-12-03  José Matos  <jamatos@lyx.org>
1882
1883         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1884
1885 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1886
1887         * cursor.C (goUpDown): remove call to idxUpDown2
1888
1889 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1890
1891         * tabular.[Ch]: use size_t-like types for cell, row and column
1892         indices
1893
1894 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1895
1896         * lyxfunc.C (getStatus): do not lose previous information when
1897         calling BufferView::getStatus; do not set a default "Command
1898         disabled" message at the beginning, but just before returning.
1899
1900 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1901
1902         * cursor.h (getStatus): add better comment from src/cursor.C
1903
1904 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1905
1906         * text3.C (getStatus): return false when the lfun is not handled
1907
1908 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1909
1910         * broken_headers.h: remove
1911
1912         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1913
1914 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1915
1916         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1917         offset_ref accessors
1918
1919         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1920         top_y_, merge fitcursor with update
1921         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1922         coord scheme
1923         (metrics): introduce
1924         (workAreaDispatch): adapt to new coord scheme
1925         (redoCurrentBuffer): remove
1926
1927         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1928
1929         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1930         CurStatus enum.
1931
1932         * coordcache.[Ch]: add paragraph cache and helpers
1933
1934         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1935         adjust everywhere
1936
1937         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1938         (targetX, setTargetX): introduce
1939
1940         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1941         baseline -> ascent, as the rest of lyx
1942
1943         * lyxtext.h: remove redoParagraphs, updateParPositions,
1944         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1945         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1946         have ascent/descent (ascent is ascent of first par)
1947
1948         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1949         step of BufferView
1950
1951         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1952
1953         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1954
1955         * pariterator.C: fix infinite loop introduced in par->pit renaming
1956
1957         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1958         in insets and LyXText, draw two off-screen paragraphs using
1959         NullPainter, and adapt to new coord scheme
1960
1961         * text.C:
1962         * text2.C:
1963         * text3.C: adapt lfun handlers to the new coord scheme, which
1964         means: there's only guaranteed coord information for onscreen pars
1965         plus one above and one below. This implies that one can do search
1966         from y coordinates in the range [-1,workHeight]
1967
1968 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1969
1970         * rename a lot of InsetOld to InsetBase
1971
1972 2004-11-25  Angus Leeming  <leeming@lyx.org>
1973
1974         * BufferView_pimpl.C:
1975         * lyx_cb.C:
1976         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1977
1978 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1979
1980         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1981         call BufferView::getStatus if LCursor::getStatus did nothing
1982         (setStatusMessage, getStatusMessage): removed.
1983
1984         * FuncStatus.C (message): new methods. Used to provide an error
1985         message indicating why a command is disabled.
1986         (clear, |=, FuncStatus): update for message.
1987
1988 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1989
1990         * lyxfunc.C (dispatch): always call sendDispatchMessage
1991
1992 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1993
1994         * BufferView.C:
1995         * BufferView_pimpl.C:
1996         * CutAndPaste.C:
1997         * FontIterator.C:
1998         * buffer.C:
1999         * cursor.C:
2000         * cursor_slice.[Ch]:
2001         * dociterator.[Ch]:
2002         * lyxfind.C:
2003         * paragraph_funcs.C:
2004         * pariterator.C:
2005         * rowpainter.C:
2006         * text.C:
2007         * text2.C:
2008         * text3.C:
2009         * undo.C: par->pit renaming
2010
2011 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2012
2013         * tabular.C (cellstruct): use initialization, store a shared_ptr
2014         to insettext instead of the insettext directly, adjust to fit.
2015         (operator=):  new function
2016         (swap): new function
2017         (rowstruct): use initialization
2018         (columnstruct): use initialization
2019         (ltType): use initialization
2020
2021
2022         * lyxlength.h (swap): new function
2023
2024         * LColor.[Ch] (operator=): use the common semantics
2025
2026 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2027
2028         * lyxfind.C (findNextChange): update the bufferview after setting
2029         the selection.
2030
2031 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2032
2033         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2034         number of InsetOptArgs has already been inserted.
2035
2036         * output_latex.C (latexOptArgInsets): new method. This outputs all
2037         the optarg insets, up to the limit defined in the layout file.
2038         (optArgInset): removed
2039         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2040
2041 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2042
2043         * paragraph.C (isLetter): remove special spellchecker-related
2044         code; return true also for digits
2045         (isWord, isKomma): remove
2046
2047         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2048         * lyxfind.C (MatchString()): use isLetter instead of isWord
2049
2050 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * pariterator.h (operatir=): comment out un-implemented member
2053         function.
2054
2055         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2056         static cast.
2057
2058 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2059
2060         * lyxfont.h: include LColor.h to satisfy concept checks.
2061
2062 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2063
2064         * pariterator.h: add typdefs for value_type, difference_type,
2065         pointer and reference to satisfy concept checks. Also add default
2066         constructor for same reason.
2067
2068         * pariterator.C (operator++): add post-increment operator to
2069         satisfy concept checks.
2070
2071         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2072         checks.
2073
2074         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2075
2076         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2077         checks. Also rename base_type to BaseType to follow naming
2078         standard better.
2079
2080         * FloatList.h: include Floating.h to satisfy concept checks.
2081
2082 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2083
2084         * lyxfunc.C (getStatus): when the origin of the request is menu or
2085         toolbar, and the LyXView does not have focus, do as if there was
2086         no buffer (bug 1720)
2087
2088         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2089         FuncRequest to individual entries of LFUN_SEQUENCE
2090
2091 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * output_latex.C (TeXOnePar): override runparams.moving_arg
2094         according to the needprotect value of the current paragraph (bug
2095         1739)
2096
2097         * paragraph.C (simpleTeXOnePar): no need to override
2098         runparams.moving_args here
2099
2100 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2101
2102         * vspace.C: fix off-by-one-error, related to fix #1682
2103
2104 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2105
2106         * lengthcommon.C: a more general fix for bug 1682
2107
2108 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2109
2110         * text.C (backspace): fix crash
2111
2112 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2113
2114         * format.[Ch] (getFormatFromFile): new method
2115         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2116
2117 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2118
2119         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2120
2121 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         * lyxfunc.C (dispatch): remove the verbose argument
2124         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2125         instead
2126
2127         * kbmap.C (defkey): set the origin of func to KEYBOARD
2128
2129         * MenuBackend.C (MenuItem):
2130         * ToolbarBackend.C (add): set the origin of func to UI
2131
2132         * funcrequest.[Ch]: add origin member, which indicates which part
2133         of LyX requests an action
2134
2135 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2136
2137         * converter.C (move): don't lie in the error message
2138         * converter.h (isReachable, move): document
2139
2140 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2141
2142         * buffer.C: remove unused using lyx::support::atoi
2143         * paragraph_funcs.C: ditto
2144
2145 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2146
2147         * bufferlist.C (exists): use bind and equal_to instead of
2148         compare_memfun
2149         (getBuffer): ditto
2150         * lyxtextclasslist.C (NumberOfClass): ditto
2151
2152         * cursor.C (insert): use for_each instead of explicit for loop
2153
2154         * bufferlist.C (getFileNames): use std::transform and
2155         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2156
2157         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2158         for loop
2159
2160         * buffer.C (changeLanguage): use for_each instead of explicit for
2161         loop
2162         (hasParWithID): implement using getParFromID
2163
2164         * LaTeXFeatures.C: ws change only
2165
2166         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2167         to cleanup a bit.
2168
2169         * BufferView_pimpl.C (trackChanges): use for_each instead of
2170         expilicit for loop
2171
2172 2004-11-04  André Pönitz  <poenitz@gmx.net>
2173
2174         * undo.h:
2175         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2176
2177         * dociterator.C (asDocIterator): use hard assert again.
2178
2179 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         * lyxlength.C (asLatexString): rewrite so that it does not use
2182         snprintf anymore
2183
2184 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2185
2186         * text3.C (specialChar, dispatch): make sure cursor moves to the
2187         right after inserting an inset
2188
2189 2004-11-02  José Matos  <jamatos@lyx.org>
2190
2191         * output_docbook.C (docbook):
2192         * paragraph.C (getID):
2193         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2194         garantee that the output is always legal.
2195
2196         * tabular.C (docbook):
2197         * outputprams.[Ch]: remove mixed contents.
2198
2199 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2200
2201         * text2.C (setCounter): prevent endless loop
2202
2203 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2204
2205         * exporter.C (copyFile): use the mover instead of support::copy()
2206         * exporter.C (Export): pass format and latex name to copyFile()
2207         * exporter.h (addExternalFile): document
2208         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2209
2210 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2211
2212         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2213
2214 2004-10-30  José Matos  <jamatos@lyx.org>
2215
2216         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2217         text and no inset or font change. This allows to use CDATA
2218         sections just for the whole paragraph.
2219
2220 2004-10-30  José Matos  <jamatos@lyx.org>
2221
2222         * paragraph.C (getFirstWord): remove unused variable.
2223
2224 2004-10-30  José Matos  <jamatos@lyx.org>
2225
2226         * paragraph.C (getFirstWord): the content should always be escaped
2227         there.
2228         (simpleDocBookOnePar):
2229         * output_docbook.C (makeEnvironment): replace reference to CDATA
2230         to style pass_thru.
2231
2232 2004-10-30  José Matos  <jamatos@lyx.org>
2233
2234         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2235
2236 2004-10-30  José Matos  <jamatos@lyx.org>
2237
2238         * output_docbook.C (makeParagraphs):
2239         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2240         standard paragraph has only a given type of content drop the wrapper.
2241
2242 2004-10-29  José Matos  <jamatos@lyx.org>
2243
2244         * output_docbook.C (makeEnvironment):
2245         * sgml.C (openTag):
2246         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2247
2248 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2249
2250         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2251         (cleanID): sanitize any id.
2252
2253 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2254
2255         * buffer.C, lyxlex_pimpl.C:
2256         * lyxlex_pimpl.C (setFile):
2257         s/getExtFromContents/getFormatFromContents/
2258
2259 2004-10-28  José Matos  <jamatos@lyx.org>
2260
2261         * output_docbook.C (makeEnvironment): move id to broadest possible
2262         scope.
2263
2264         * sgml.C (openTag): apply substitution of <> for all attributes.
2265
2266 2004-10-28  José Matos  <jamatos@lyx.org>
2267
2268         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2269         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2270         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2271
2272         * sgml.[Ch]: new version for open and closeTag for paragraph and
2273         for strings. Now they handle the ids of paragraphs.
2274
2275 2004-10-26  Angus Leeming  <leeming@lyx.org>
2276
2277         * Makefile.am: add mover.[Ch].
2278
2279         * converter.C (convert, move): use the new Movers to move external
2280         files to the temp directory.
2281
2282         * lyx_main.C (init): ensure that the global system_movers data
2283         is initialised.
2284
2285         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2286         preferences file.
2287
2288         * mover.[Ch]: new files, defining a Mover as a utility to move an
2289         external file between directories and, if necessary, manipulate this
2290         file using a helper script.
2291
2292 2004-10-25  José Matos  <jamatos@lyx.org>
2293
2294         * output_docbook.C (makeCommand): merge two if's that tested the
2295         same condition.
2296
2297 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2298
2299         * sgml.C (escapeString): fix warning in a better way
2300
2301 2004-10-25  José Matos  <jamatos@lyx.org>
2302
2303         * sgml.C (escapeString): import the require boosts header file for
2304         tie, and avoid a signed unsigned comparison.
2305
2306 2004-10-25  José Matos  <jamatos@lyx.org>
2307
2308         * sgml.h: add #include <string>
2309
2310 2004-10-25  José Matos  <jamatos@lyx.org>
2311
2312         * sgml.[Ch] (escapeString): new function to escape all the string.
2313
2314 2004-10-24  José Matos  <jamatos@lyx.org>
2315
2316         * paragraph.[Ch] (getFirstWord): new function to get the first
2317         word. Useful for description.
2318         (simpleDocBookOnePar): remove depth argument, add another that
2319         says where to start the paragraph.
2320
2321         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2322         use the new functions to fix cleanly the support for descriptions.
2323
2324 2004-10-24  José Matos  <jamatos@lyx.org>
2325
2326         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2327         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2328         * output_linuxdoc.C (linuxdocParagraphs):
2329         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2330         add buffer as argument.
2331
2332 2004-10-24  José Matos  <jamatos@lyx.org>
2333
2334         * output_docbook.C (makeEnvironment, searchEnvironment): place
2335         CDATA inside paragraphs and fix scope for listitems.
2336
2337 2004-10-24  José Matos  <jamatos@lyx.org>
2338
2339         * output_docbook.C: remove using statement for stack.
2340
2341 2004-10-23  José Matos  <jamatos@lyx.org>
2342
2343         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2344         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2345         docbook. The new scheme is recursive and makes use of iterators, the
2346         same as latex export works.
2347         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2348         directly with the paragraph contents. This code was moved up to
2349         output_docbook.C (docbookParagraphs).
2350         * sgml.C (openTag, closeTag): removed unneeded newlines.
2351         (closeEnvTags) removed.
2352
2353 2004-10-23  André Pönitz  <poenitz@gmx.net>
2354
2355         * undo.C (textUndoOrRedo):
2356         * dociterator.C (asDocIterator): work around crash
2357
2358         * cursor.C (getStatus): replace ASSERT by more verbose error message
2359           and manual correction of the problem. Should increase stability
2360           while providing more sensible information.
2361
2362 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2363
2364         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2365
2366         * bufferlist.C (previous, next): new methods
2367
2368         * lfuns.h:
2369         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2370
2371 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2372
2373         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2374         entities to preamble.
2375
2376 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2377
2378         * messages.C (Pimpl): strip off translation context information
2379
2380 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2381
2382         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2383         the cursor is correct (bug 1694)
2384
2385 2004-10-13  José Matos  <jamatos@lyx.org>
2386
2387         * output_docbook.C (docbookParagraphs): fix closing tags in the
2388         end of the document.
2389
2390 2004-10-09  José Matos  <jamatos@lyx.org>
2391
2392         * buffer.C: format up to 237.
2393         * bufferparams.C (write): use tostr to convert booleans to strings.
2394
2395 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2396
2397         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2398
2399 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2400
2401         * LaTeX.C: implement use of babel language in xindy.
2402
2403 2004-10-05  José Matos  <jamatos@lyx.org>
2404
2405         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2406         Add new translators to help reading and writing the lyx file.
2407
2408 2004-10-05  José Matos  <jamatos@lyx.org>
2409
2410         * ParagraphParameters.C (read):
2411         * text.C (readParToken): replace nexToken by more appropriate lex
2412         methods.
2413
2414 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2415
2416         * LaTeX.C (runMakeIndex):
2417         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2418         (usually 'makeindex') configurable.
2419
2420         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2421         with a variable rather than with a number.
2422
2423 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2424
2425         * output_latex.C (TeXOnePar): make sure font setting is the first
2426         thing that gets output (and the last at the end). Should fix bug
2427         1404.
2428
2429 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2430
2431         * pch.h: use proper signal include
2432
2433         * LaTeX.h: Use preferred calling of Boost.Signal
2434         * buffer.h: ditto
2435
2436 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * pch.h: dont include <boost/function/function0.hpp>
2439
2440         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2441
2442         * paragraph_pimpl.h: remove usage of ShareContainer
2443
2444         * paragraph_pimpl.C: remove initialization of ShareContainer.
2445
2446 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2447
2448         Fix bug #1666
2449
2450         * BufferView.C (putSelectionAt): change the semantics when
2451         backwards == true: now, this just swaps cursor and anchor wrt the
2452         forward case
2453
2454         * BufferView.h (putSelectionAt): add some documentation
2455
2456         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2457         make sure backwardChar is done at least once (to avoid getting
2458         stuck)
2459         (findNextChange): use putSelectionAt in the forward direction
2460         (operator()): use Paragraph::isWord
2461
2462 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2463
2464         * Spacing.C (set): c_str fix
2465
2466 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2467
2468         * lyx_cb.C (Reconfigure): quote the name of configure script in
2469         case it contains spaces
2470
2471 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2472
2473         * client: new dir
2474
2475         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2476         (BOOST_LIBS): use top_buildir when looking for the file
2477
2478 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * pch.h: do not use include boost/format.hpp, multiple symbols
2481                 will result (gcc bug)
2482
2483
2484 2004-08-23  José Matos  <jamatos@lyx.org>
2485
2486         * bufferparams.C (readToken): fix reading of the author field.
2487
2488 2004-08-20  José Matos  <jamatos@lyx.org>
2489
2490         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2491
2492 2004-08-20  José Matos  <jamatos@lyx.org>
2493
2494         * lyxlex.[Ch] (findToken): remove function.
2495
2496         * ParagraphParameters.C (findToken):
2497         * bufferparams.C (findToken): replace call for previous function
2498         with local copy. This local function has one more argument, the
2499         read string argument.
2500
2501 2004-08-16  José Matos  <jamatos@lyx.org>
2502
2503         * ParagraphParameters.C (write):
2504         * Spacing.C (writeFile):
2505         * bufferparams.C (writeLaTeX):
2506         * lyx_cb.C (Reconfigure):
2507         * paragraph.C (write):
2508         * tabular.C (write): remove unnecessary space at end of line.
2509
2510
2511 2004-08-16  José Matos  <jamatos@lyx.org>
2512
2513         * text.C (readParagraph): remove debug message.
2514
2515 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2516
2517         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2518         crash
2519
2520         * output_plaintext.C (asciiParagraph): set depth correctly
2521
2522         * outputparams.h: add member depth
2523
2524         * paragraph_funcs.C (ownerPar): remove.
2525
2526         * text2.C (setCounter): remove first_pit; comment out some
2527         non-working code that uses ownerPar
2528
2529         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2530         uses ownerPar
2531
2532 2004-08-16  José Matos  <jamatos@lyx.org>
2533
2534         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2535         For the same level of importance use the same chanel to report problems.
2536         (read): add code to deal with \begin_body and \end_body.
2537
2538
2539 2004-08-15  José Matos  <jamatos@lyx.org>
2540
2541         * lyxlex.C (getString): fix comment, buffer::readBody is now
2542         buffer:readDocument.
2543
2544         * tex-strings.C (string_papersize): Default -> default,
2545         Custom -> custom, for consistency with other options.
2546
2547 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * pch.h: new file
2550
2551         * Makefile.am: support pch
2552
2553 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2554
2555         * text.C (readParToken): remove the static LyXFont variable and
2556         pass it as a parameter instead. This fixes a nasty bug where an
2557         inset will be inserted with a bad font in some situations
2558         (readParagraph): adapt
2559
2560         * text2.C (setCounter): reduce number of calls to pars_[pit]
2561
2562         * text.C (singleWidth): add an assert, fix a test
2563
2564         * rowpainter.C (paintText): reduce number of calls to singleWidth
2565
2566         * paragraph.C (isHfill):
2567         (isNewline): ws only
2568
2569 2004-08-14  André Pönitz  <poenitz@gmx.net>
2570
2571         * text.C:
2572         * text2.C:
2573         * rowpainter.C:
2574         * lyxtext.h (several functions): use a Paragraph & argument
2575         instead of par_type
2576
2577 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2578
2579         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2580
2581         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2582
2583         * text.C (singleWidth): remove useless test
2584
2585 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2586
2587         * tabular.h: remove bogus comments
2588
2589         * tabular.C (getDescentOfRow):
2590         (isPartOfMultiColumn): add assertions
2591
2592         * lyxlength.C (inPixels): remove #warning
2593
2594 2004-08-14  André Pönitz  <poenitz@gmx.net>
2595
2596         * paragraph.h: inline getChar()
2597
2598         * BufferView.h: remove unused declarations
2599
2600 2004-08-14  José Matos  <jamatos@lyx.org>
2601
2602         * Buffer.[Ch] (readDocument): new name for old readBody.
2603         * Buffer.C: new file format, new keywords: \begin_document,
2604         \begin_header, \begin_body, \end_body.
2605
2606         * bufferparams.C (readToken): replace all calls to lex.nextToken
2607         by lex.next(). Do the same to eatLine except where really needed.
2608
2609         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2610         line when writing to the lyx file.
2611
2612         * output_plaintext.C (asciiParagraph): fix Bibliography style
2613         handling.
2614
2615         * text.C (read): fix end of file handling.
2616
2617 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2618
2619         * MenuBackend.C (Menu::operator[]): new method to access
2620         individual menu items
2621         (Menu::hasFunc): new method. search for an item that corresponds
2622         to a given func
2623         (MenuBackend::specialMenu): new method
2624         (MenuBackend::expand): if a special menu has been set, skip
2625         entries whose func() appears in this menu
2626
2627 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2628
2629         * text3.C: use Debug::DEBUG a bit more
2630
2631         * text.C (leftMargin): try to simplify a tiny bit change var x to
2632         l_margin. Dont output the wide margins always.
2633         (rightMargin): no margin in inner texts
2634
2635         * rowpainter.h (nestMargin): new func
2636         (changebarMargin): new func
2637         (rightMargin): new func
2638
2639         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2640         now functions.
2641         (paintLast): ditto
2642
2643         * factory.C (createInset): modify setDrawFrame
2644
2645         * cursor.C: use Debug::DEBUG a bit more
2646
2647 2004-08-14  André Pönitz  <poenitz@gmx.net>
2648
2649         * coordcache.[Ch]:
2650         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2651         cache for all insets in (at least partially) visible (top-level)
2652         paragraphs.
2653
2654         * BufferView_pimpl.C: reset external coord cache before every update.
2655         This means the coord cache only contains valid entries.
2656
2657 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2658
2659         bug 1096
2660         * BufferView_pimpl.C (getInsetByCode): move function out of class
2661         and change in to a template in anon namespace. Also fix to do what
2662         suits us better.
2663
2664 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2665
2666         bug 1305
2667         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2668         of char
2669         (breakParagraph): rename par to par_offset and use a local
2670         reference. Add code to keep the language over a rebreak.
2671         (breakParagraphConservative): rename par to par_offset, use a
2672         local reference
2673         (mergeParagraph): ditto
2674         (outerHook): ditto
2675         (isFirstInSequence): ditto
2676         (outerFont): rename pit to par_offset
2677
2678         * paragraph.C: ws change
2679         * paragraph.h: ditto
2680         * text3.C: ditto
2681         * text.C: ditto
2682
2683 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2684
2685         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2686         treatment for ']'
2687
2688         * paragraph.C (simpleTeXOnePar): when we have a \item with
2689         optional argument, enclose the argument with curly brackets (in
2690         case it contains a closing square bracket)
2691
2692         * text2.C (editXY):
2693         * text2.C (editXY):
2694         * text3.C (checkInsetHit): constify
2695
2696 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2697
2698         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2699         documents (bug 1629)
2700
2701 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2702
2703         Fix toggling of collapsable insets with the mouse (bug 1558)
2704
2705         * lyxfunc.C (dispatch): adapt to LCursor changes
2706
2707         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2708         make sure that dispatch is not invoked twice
2709
2710         * cursor.C (needsUpdate): new method
2711         (dispatch): return void
2712         (result): new method, to access the DispatchResult of the cursor.
2713
2714 2004-08-13  José Matos  <jamatos@lyx.org>
2715
2716         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2717
2718 2004-08-13  André Pönitz  <poenitz@gmx.net>
2719
2720         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2721
2722         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2723           multiple cells
2724
2725 2004-08-12  André Pönitz  <poenitz@gmx.net>
2726
2727         * text3.C: take out the 'cursor right' form insertInset and only
2728         do it in those places when it is really needed. Fixes crash on
2729         C-m...
2730
2731 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2732
2733         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2734
2735         * BufferView_pimpl.C (setBuffer): initialize the current font of
2736         the underlying LyXText
2737
2738 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2739
2740         * kbsequence.C (print): use UI native formatting for menu
2741         shortcuts
2742
2743         * text.C (insertChar): call Paragraph::insertChar with a font
2744         argument (cosmetic)
2745
2746         * paragraph.C (insertInset, insertChar): the version that takes a
2747         LyXFont argument is now a wrapper around the other one (the
2748         opposite used to be true).
2749
2750         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2751         argument. Font setting is done in Paragraph now.
2752
2753 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2754
2755         * outputparams.h: add new members intitle and lang.
2756
2757         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2758         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2759
2760 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2761
2762         * text3.C (dispatch): remove special handling of button 4 and 5,
2763         it is now taken care of in the frontend code.
2764
2765 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2766
2767         * Spacing.h: add <string> (STLPort compile fix)
2768
2769 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2770
2771         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2772
2773 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2774
2775         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2776         to bool.
2777
2778         * converter.C (showMessage): inherit from unary_function, make
2779         operator() const.
2780
2781         * buffer.C (writeFile): initialize retval
2782
2783         * InsetList.h: rename private variable list to list_
2784         * InsetList.[Ch]: adjust accordingly.
2785
2786 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2787
2788         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2789         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2790         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2791         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2792         * ParagraphParameters.C, LaTeXFeatures.C: replace
2793         "support/std_sstream.h" with <sstream>
2794
2795 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2796
2797         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2798         * lyxsocket.C (LyXServerSocket): ditto
2799         (serverCallback): ditto
2800
2801 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2802
2803         * LaTeXFeatures.C: check release date when loading jurabib.
2804
2805 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2806
2807         * lyxserver.C (startPipe): call register_socket_callback
2808         (endPipe): call unregister_socket_callback
2809
2810 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2811
2812         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2813         (LyXServerSocket): register the callback
2814         (LyXServerSocket): unregister the callback
2815         (fd): delete function
2816         (serverCallback): improve error checking and setup the callbacks.
2817         (dataCallback): change arg to fd.
2818         (writeln): new func (copied fro the client socket) used for server
2819         write to client.
2820         (LyXDataSocket): simplify
2821         (~LyXDataSocket): close ann unregiser callback
2822         (server): delete function
2823         (fd): delete function
2824         (readln): small changes, improve some std::string usage
2825         (writeln): constify a bit
2826
2827 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2828
2829         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2830         Qt frontend
2831
2832 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2833
2834         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2835         after it has been populated
2836
2837 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2838
2839         * text2.C (insertInset): move cursor when inserting inset.
2840
2841 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2842
2843         * kbmap.C (findbindings): a couple of new methods. returns a
2844         container of kb_sequence objects. The real work is done by the
2845         private recursive version
2846         (printbindings): uses findbindings to print out a bracketed list
2847         of bindings (renamed from findbinding).
2848
2849         * MenuBackend.C (binding): use kb_keymap::findbindings
2850
2851         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2852
2853 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2854
2855         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2856
2857 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2858
2859         * paragraph.C (isWord): return true on insets that report
2860         isLetter().
2861
2862         * text.C (getWord): use Paragraph::isWord to decide what is in a
2863         word and what is not; fix bug 1609.
2864
2865 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2866
2867         * tex-strings.C: add "none" to string_paperpackages[], fixes
2868         off-by-one-error in the paperpackage selection.
2869
2870         * lyxlex.[Ch]:
2871         * tex-strings.[Ch]: char const * string[n]
2872         -> char const * const string[]
2873
2874 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2875
2876         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2877         command, return early.
2878
2879 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2880
2881         * debug.h: add DEBUG to enum and fix size of ANY.
2882
2883         * debug.C: add support for Debug::DEBUG
2884         (showTags): cast errorTags.level to unsigned int
2885
2886         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2887         (redoCurrentBuffer): ditto
2888         (updateScrollbar): ditto
2889         * cursor.C (dispatch): ditto
2890         * text2.C (setLayout): ditto
2891         (setFont): ditto
2892         (updateCounters): ditto
2893         (editXY): ditto
2894         (deleteEmptyParagraphMechanism): ditto
2895
2896 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2897
2898         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2899         annotations to cleanup the Makefile slightly.
2900
2901 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2902
2903         * lyxrc.C: do not set user_email to a default value but use empty
2904         instead. The entry used to be translated, which does not work
2905         since at the point where lyxrc is constructed there is no
2906         translation service available
2907
2908         * messages.C (getLocaleDir): remove and use directly
2909         lyx_localedir() instead
2910
2911 2004-06-02  Angus Leeming  <leeming@lyx.org>
2912
2913         Fix crash caused by dereferencing null pointer 'exportdata' in
2914         OutputParams by creating a new ExportData variable on the heap,
2915         storing it in a boost::shared_ptr.
2916         The crash was triggered when generating an Instant Preview
2917         of an external inset.
2918
2919         * Makefile.am: add outputparams.C
2920
2921         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2922         (c-tor): allocate memory to it.
2923
2924         * exporter.C (c-tor): associated changes.
2925
2926 2004-06-01  Angus Leeming  <leeming@lyx.org>
2927
2928         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2929         contains data before calling isInset(0). (Bug 1513.)
2930
2931 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2932
2933         * exporter.C (checkOverwrite): new method
2934         * exporter.C (copyFile): new method
2935         * exporter.C (Export): copy referenced files to the document dir
2936         * exporter.[Ch]: new class ExportedFile
2937         * exporter.[Ch]: new class ExportData. Contains currently the
2938         names of referenced external files
2939         * outputparams.h: add exportdata member.
2940
2941 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2942
2943         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2944         version.C-tmp
2945
2946 2004-05-19  Angus Leeming  <leeming@lyx.org>
2947
2948         * LaTeXFeatures.C:
2949         * ToolbarBackend.C:
2950         * bufferparams.C:
2951         * lyxfunc.C: small changes due to the introduction of namespace
2952         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2953
2954 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2955
2956         * text3.C (dispatch): supress update when only moving the cursor
2957         * cursor.C (selHandle): remove commented code
2958
2959 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2960
2961         * paragraph.C (startTeXParParams): correct column count
2962         * CutAndPaste.C (pasteSelection): remove const_cast
2963         * output_docbook.C (docbookParagraphs): remove const_cast
2964         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2965         const_cast and return ParagraphList::const_iterator
2966         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2967         * output_plaintext.C (writeFileAscii): remove const_cast
2968         * paragraph.[Ch] (simpleTeXOnePar): make const
2969         * paragraph_funcs.C (outerPar): use const iterators
2970         * paragraph_pimpl.C (validate): use const iterators
2971         * text.C (setHeightOfRow): use const iterators
2972
2973 2004-05-17  Angus Leeming  <leeming@lyx.org>
2974
2975         * lfuns.h:
2976         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2977
2978         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2979         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2980         if the citation engine has changed.
2981
2982 2004-05-14  José Matos  <jamatos@lyx.org>
2983
2984         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2985         if the textclass does not provide it. Have it different for sgml and
2986         xml.
2987         support the language of document.
2988         * output_docbook.C (docbookParagraphs):
2989         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2990         first anchor as the id of the paragraph, remove special case code.
2991         * sgml.C (escapeChar): escape only < & >.
2992
2993 2004-05-14  Angus Leeming  <leeming@lyx.org>
2994
2995         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2996         dependencies on src/frontends/controllers/biblio.h. Define a
2997         CiteEngine_enum wrapper class to enable the enum to be forward
2998         declared.
2999
3000 2004-05-12  Angus Leeming  <leeming@lyx.org>
3001
3002         * buffer.C: up LYX_FORMAT to 234.
3003         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3004         use_numerical_citations with a single biblio::CiteEngine cite_engine
3005         variable.
3006         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3007
3008 2004-05-13  José Matos  <jamatos@lyx.org>
3009
3010         * converter.h:
3011         * converter.C (Converter, readFlags): add xml member.
3012         * outputparams.h: add XML flavor.
3013         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3014
3015 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3016
3017         * lyxfunc.C (dispatch):
3018         (getStatus): fix handling of LFUN_SEQUENCE
3019
3020 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3021
3022         * debug.C (showLevel): do not forget the end-of-line marker
3023
3024 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3025
3026         * kbmap.C (read): do not stop parsing a bind file when an error
3027         occurs (bug 1575)
3028
3029 2004-04-29  Angus Leeming  <leeming@lyx.org>
3030
3031         * cursor.C:
3032         * factory.C:
3033         * pariterator.C:
3034         * text2.C: wrap a bunch of #warning statements
3035         inside #ifdef WITH_WARNINGS blocks.
3036
3037 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3038
3039         * buffer.C: increment format to 233.
3040
3041 2004-04-28  Angus Leeming  <leeming@lyx.org>
3042
3043         * BufferView_pimpl.C:
3044         * lyxfunc.C:
3045         * text3.C:
3046         s/updateToolbar()/updateToolbars()/
3047         s/Toolbar.h/Toolbars.h/
3048
3049 2004-04-28  Angus Leeming  <leeming@lyx.org>
3050
3051         * BufferView.[Ch] (c-tor):
3052         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3053         No longer passes these data to the WorkArea generator.
3054
3055 2004-04-28  Angus Leeming  <leeming@lyx.org>
3056
3057         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3058
3059 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3060
3061         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3062
3063 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3064
3065         * output_latex.C (TeXEnvironment): make sure that there is a line
3066         break before \end{foo} for the last paragraph of a document
3067         (TeXOnePar): if the paragraph is at the end of the document (or
3068         inset) and the language has to be reset, then make sure that the
3069         line break is _before_ the language command, not after (fixes bug
3070         1225); also make sure that the language reset command is the first
3071         thing after the paragraph (to ensure proper nesting of
3072         environments and thus fix bug 1404)
3073
3074 2004-04-21  John Levon  <levon@movementarian.org>
3075
3076         * ToolbarBackend.h:
3077         * ToolbarBackend.C: make "name" be a programmatic name
3078         and a gui_name field.
3079
3080         * lyxfunc.C: display the minibuffer on M-x
3081
3082 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3083
3084         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3085         (bug 1526)
3086
3087 2004-04-19  Angus Leeming  <leeming@lyx.org>
3088
3089         * BufferView_pimpl.C (setBuffer): changed preview interface.
3090
3091         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3092         possible values.
3093
3094 2004-04-19  John Levon  <levon@movementarian.org>
3095
3096         * BufferView_pimpl.C:
3097         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3098
3099 2004-04-05  Angus Leeming  <leeming@lyx.org>
3100
3101         * text.C (redoParagraphs): add call to updateCounters(), thereby
3102         fixing the missing "Figure #:" label from the caption of a
3103         figure float.
3104
3105 2004-04-13  Angus Leeming  <leeming@lyx.org>
3106
3107         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3108         cursor is clicked out of an inset.
3109
3110 2004-04-13  Angus Leeming  <leeming@lyx.org>
3111
3112         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3113         than an InsetOld one.
3114
3115 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3116
3117         * format.[Ch]: add editor to Format
3118         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3119         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3120
3121 2004-04-08  André Pönitz  <poenitz@gmx.net>
3122
3123         * metricsinfo.h: remove PainterInfo::width member
3124
3125 2004-04-08  Angus Leeming  <leeming@lyx.org>
3126
3127         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3128         "\providecommand" rather than "\newcommand", thereby preventing
3129         clashes with packages that define "\boldsymbol" themselves.
3130         Eg, beamer.
3131
3132 2004-04-08  Angus Leeming  <leeming@lyx.org>
3133
3134         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3135         thereby squashing an unnecessary warning.
3136
3137 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3138
3139         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3140         setBuffer()
3141
3142 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3143
3144         * BufferView.C (setCursor): call redoParagraph (some insets could
3145         have been opened)
3146         (putSelectionAt): remove the 'double update' trick
3147
3148         * BufferView_pimpl.C (fitCursor): call refreshPar
3149         (workAreaDispatch): remove an uneeded update call
3150         (dispatch): remove some manual update calls
3151
3152         * cursor.[Ch]: remove cached_y_, updatePos
3153         (selHandle): set noUpdate when appropriate
3154
3155         * lyxfunc.C (dispatch): track if we need an update
3156
3157         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3158
3159         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3160         (paintSelection): cheap optimization, do not call cursorX when not
3161         needed
3162         (paintPars): change signature
3163         (refreshPar): add
3164         (paintText): adjust
3165         (paintTextInset): adjust
3166
3167         * text.C: adjust
3168
3169 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3170
3171         * lengthcommon.C: compilation fix: remove explicit array size from
3172         unit_name[] and friends
3173
3174 2004-04-05  Angus Leeming  <leeming@lyx.org>
3175
3176         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3177
3178         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3179         present only for the preferences dialog.
3180         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3181
3182 2004-04-05  Angus Leeming  <leeming@lyx.org>
3183
3184         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3185         to enable the frontends to export changes to lyxrc correctly.
3186
3187         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3188
3189 2004-04-07  André Pönitz  <poenitz@gmx.net>
3190
3191         * cursor.[Ch] (selClear, adjust): remove math
3192
3193         * cursor_slice.C: more agressive assert
3194
3195         * lyxfunc.C:
3196         * BufferView_pimpl.C: rework mouse event dispatch
3197
3198         * dociterator.C:
3199         * paragraph.C:
3200         * text2.C:
3201         * text3.C: adjust
3202
3203 2004-04-05  André Pönitz  <poenitz@gmx.net>
3204
3205         * cursor.[Ch] (valign, halign...): remove unneeded functions
3206
3207 2004-04-05  Angus Leeming  <leeming@lyx.org>
3208
3209         * lyxlength.[Ch] (unit_name et al.): const-correct.
3210
3211 2004-04-05  Angus Leeming  <leeming@lyx.org>
3212
3213         * BufferView_pimpl.C:
3214         * buffer.C:
3215         * counters.C:
3216         * cursor.C:
3217         * lyxfunc.C
3218         * paragraph.C:
3219         * pariterator.C:
3220         * text.C:
3221         * text2.C:
3222         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3223
3224 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3225
3226         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3227
3228 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3229
3230         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3231         * BufferView_pimpl.[Ch] (getStatus)
3232         * BufferView.[Ch] (getStatus): add
3233         * lyxfunc.C (getStatus): move lfuns handled in
3234         BufferView::dispatch to te function above
3235         * Cursor.C (setSelection): set selection() = true
3236
3237 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3238
3239         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3240
3241 2004-03-31  Angus Leeming  <leeming@lyx.org>
3242
3243         * lyxfunc.C (dispatch): Fall through to the generic
3244         Dialogs::show("preamble").
3245
3246 2004-03-31  Angus Leeming  <leeming@lyx.org>
3247
3248         * lyxfunc.C (dispatch): Fall through to the generic
3249         Dialogs::show("spellchecker").
3250
3251 2004-03-31  Angus Leeming  <leeming@lyx.org>
3252
3253         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3254         preferences dialog.
3255
3256 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3257
3258         * BufferView.C
3259         * cursor.[Ch]
3260         * dociterator.[Ch]:
3261         * insetiterator.[Ch]:
3262         * lyxfind.C:
3263         * lyxfunc.C:
3264         * pariterator.[Ch]:
3265         * text2.C:
3266         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3267
3268 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3269
3270         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3271         insets where we are putting the cursor.
3272
3273 2004-03-31  Angus Leeming  <leeming@lyx.org>
3274
3275         * lfuns.h:
3276         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3277
3278         * lyxrc.[Ch] (read, write): overloaded member functions taking
3279         a std::[io]stream arguments.
3280
3281         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3282
3283 2004-03-31  Angus Leeming  <leeming@lyx.org>
3284
3285         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3286         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3287
3288         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3289         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3290
3291 2004-03-31  Angus Leeming  <leeming@lyx.org>
3292
3293         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3294         the LFUN_ALL_INSETS_TOGGLE code.
3295
3296 2004-03-30  Angus Leeming  <leeming@lyx.org>
3297
3298         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3299         has died. Fall through to the generic Dialogs::show("document").
3300
3301 2004-03-30  Angus Leeming  <leeming@lyx.org>
3302
3303         * lfuns.h:
3304         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3305         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3306
3307         * lyxfunc.C (getStatus, dispatch): define the actions for these
3308         lfuns. Little more than a cut and pste job from ControlDocument.C
3309
3310         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3311
3312 2004-03-30  Angus Leeming  <leeming@lyx.org>
3313
3314         * lfuns.h:
3315         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3316         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3317
3318         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3319         open/closed state of ollapsable insets. Usage:
3320
3321         all-inset-toggle <state> <name>, where
3322         <state> == "open" || "closed" || "toggle" and
3323         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3324
3325         * lyxtext.h, text2.C (toggleInset): removed.
3326
3327         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3328         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3329         now passes LFUN_INSET_TOGGLE to the found inset.
3330
3331         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3332         is now invoked as "all-insets-toggle toggle branch".
3333
3334 2004-03-30  Angus Leeming  <leeming@lyx.org>
3335
3336         * dociterator.C:
3337         * insetiterator.C:
3338         * pariterator.[Ch]: added/corrected header blurb.
3339
3340 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3341
3342         * dociterator.[Ch]: add an inset_ member
3343         (backwardPos): implemented
3344         (backwardPos, forwardPos): use inset_ when the stack is empty.
3345         (doc_iterator_begin, doc_iterator_end): implemented
3346         * pariterator.[Ch]: adjust, add begin, end
3347         * insetiterator.[Ch]: adjust, add begin, end
3348         * cursor.C:
3349         * document.C:
3350         * BufferView.C:
3351         * BufferView_pimpl.C:
3352         * CutAndPaste.C: adjust
3353
3354 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3355
3356         * buffer.C: increment file format to 232.
3357         * LaTeXFeatures.C: add bibtopic package.
3358         * bufferparams.[Ch]: param \use_bibtopic.
3359
3360         * lyxrc.[Ch]: add lyxrc bibtex_command
3361         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3362
3363         * buffer.C: increment file format to 231.
3364
3365 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3366
3367         * dociterator.C: implement forwardPar
3368         * iterators.[Ch]: remove, replaced by
3369         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3370         * BufferView.C:
3371         * BufferView_pimpl.C:
3372         * CutAndPaste.C:
3373         * buffer.C:
3374         * bufferview_funcs.C:
3375         * cursor.C:
3376         * lyxfind.C
3377         * lyxfunc.C
3378         * paragraph_funcs.C
3379         * toc.C:
3380         * Makefile.am: adjust
3381
3382 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3383
3384         * CutAndPaste.C (pasteSelection): fix 2 crashes
3385         (eraseSelection): fix a crash
3386         * paragraph_funcs.C: remove a warning
3387
3388 2004-03-28  Angus Leeming  <leeming@lyx.org>
3389
3390         * lfuns.h:
3391         * LyXAction.C (init): new LFUN_PRINT.
3392
3393         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3394
3395 2004-03-27  Angus Leeming  <leeming@lyx.org>
3396
3397         * lfuns.h:
3398         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3399
3400         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3401
3402 2004-03-27  Angus Leeming  <leeming@lyx.org>
3403
3404         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3405         insetlist always contains non-null pointers to insets.
3406
3407 2004-03-26  Angus Leeming  <leeming@lyx.org>
3408
3409         * src/BufferView_pimpl.C:
3410         * src/CutAndPaste.C:
3411         * src/buffer.C:
3412         * src/iterators.C:
3413         * src/output_plaintext.C:
3414         * src/outputparams.h:
3415         * src/paragraph_funcs.C:
3416         * src/rowpainter.C:
3417         * src/text.C:
3418         * src/text2.C:
3419         * src/frontends/controllers/ControlErrorList.C:
3420         * src/frontends/gtk/FileDialogPrivate.C:
3421         * src/frontends/gtk/GPainter.C:
3422         * src/frontends/gtk/GToolbar.C:
3423         * src/frontends/qt2/QRef.C:
3424         * src/mathed/math_scriptinset.C: squash compiler warnings.
3425
3426 2004-03-26  Angus Leeming  <leeming@lyx.org>
3427
3428         * ispell.C (LaunchIspell::start):
3429         * lyx_cb.C (AutoSaveBuffer::start):
3430         invoke run(DontWait) rather than runNonBlocking().
3431
3432 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3433
3434         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3435
3436 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3437
3438         * kbsequence.C (print): adjust
3439
3440         * kbmap.C (printKeySym): rename and change signature
3441         (printKey): use LyXKeySym::print()
3442
3443 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3444
3445         * undo.C: add using std::advance to compile for stlport
3446
3447 2004-03-24  Angus Leeming  <leeming@lyx.org>
3448
3449         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3450         it leads to a crash when no buffer is present.
3451
3452 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3453             Martin Vermeer  <martin.vermeer@hut.fi>
3454
3455         * lyxfunc.C (dispatch):
3456         * bufferparams.C (readToken): use the new LColor::setColor
3457
3458         * LColor.[Ch] (setColor): new version that takes two strings as
3459         argument and creates a new color entry if necessary
3460
3461 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3462
3463         * buffer.C (makeLaTeXFile): if the main latex file that is
3464         processed is usually a subdocument of some master, then pretend
3465         for a while that it is actually the master
3466
3467 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3468
3469         * buffer.C (getLabelList):
3470         (getBibkeyList): use getMasterBuffer()
3471         (getMasterBuffer): new method. Returns the main document in the
3472         case where one is using included documents.
3473
3474 2004-03-25  André Pönitz  <poenitz@gmx.net>
3475
3476         * Makefile.am:
3477         * iterators.[Ch]:
3478         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3479
3480         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3481
3482         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3483         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3484
3485         * ParameterStruct.h: merge with ParagraphParameters
3486
3487         * lyxtext.h: remove LyXText::parOffset() and getPar()
3488
3489         * text3.C: Remove all 'manual' update calls. We do now one per user
3490         interaction which is completely sufficient.
3491
3492         * Bidi.C:
3493         * BufferView.[Ch]:
3494         * BufferView_pimpl.C:
3495         * FontIterator.[Ch]:
3496         * MenuBackend.C:
3497         * ParagraphParameters.[Ch]:
3498         * buffer.C:
3499         * buffer.h:
3500         * bufferlist.C:
3501         * cursor.[Ch]:
3502         * cursor_slice.[Ch]:
3503         * dociterator.[Ch]:
3504         * errorlist.[Ch]:
3505         * factory.C:
3506         * lfuns.h:
3507         * lyxfind.C:
3508         * lyxfunc.C:
3509         * output_docbook.[Ch]:
3510         * output_latex.[Ch]:
3511         * output_linuxdoc.[Ch]:
3512         * output_plaintext.[Ch]:
3513         * paragraph.[Ch]:
3514         * paragraph_funcs.[Ch]:
3515         * paragraph_pimpl.[Ch]:
3516         * rowpainter.C:
3517         * tabular.[Ch]:
3518         * text.C:
3519         * text2.C:
3520         * toc.C:
3521         * undo.[Ch]: adjust
3522
3523         * frontends/controllers/ControlDocument.C:
3524         * frontends/controllers/ControlErrorList.C:
3525         * frontends/controllers/ControlSpellchecker.C:
3526         * insets/inset.C:
3527         * insets/inset.h:
3528         * insets/insetbase.h:
3529         * insets/insetbibitem.C:
3530         * insets/insetbox.C:
3531         * insets/insetbranch.C:
3532         * insets/insetcaption.C:
3533         * insets/insetcharstyle.C:
3534         * insets/insetcharstyle.h:
3535         * insets/insetcollapsable.C:
3536         * insets/insetcollapsable.h:
3537         * insets/insetert.C:
3538         * insets/insetfloat.C:
3539         * insets/insetfoot.C:
3540         * insets/insetmarginal.C:
3541         * insets/insetnote.C:
3542         * insets/insetoptarg.C:
3543         * insets/insettabular.C:
3544         * insets/insettext.C:
3545         * insets/insettext.h:
3546         * insets/insetwrap.C:
3547         * mathed/math_mboxinset.C:
3548         * mathed/math_nestinset.C:
3549         * mathed/math_scriptinset.C:
3550         * mathed/math_scriptinset.h:
3551         * support/types.h:
3552
3553 2004-03-24  Angus Leeming  <leeming@lyx.org>
3554
3555         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3556         deal with any child processes that have finished but are waiting to
3557         communicate this fact to the rest of LyX.
3558
3559 2004-03-24  Angus Leeming  <leeming@lyx.org>
3560
3561         64-bit compile fixes.
3562
3563         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3564         (c-tor): pass lyx::pos_types rather than ints.
3565
3566         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3567         lyx::pos_type.
3568
3569         * text.C (Delete): compile fix.
3570         (getPar): ensure that function declaration is the same as that in
3571         the header file.
3572
3573 2004-03-23  Angus Leeming  <leeming@lyx.org>
3574
3575         * ispell.C (LaunchIspell):
3576         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3577         a boost::shred_ptr rather than a std::auto_ptr.
3578
3579 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3580
3581         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3582         handle LFUN_FILE_INSERT_*
3583
3584         * lyxrc.C (setDefaults, getDescription, output, read):
3585         * lyxrc.h: remove ps_command
3586
3587 2004-03-22  Angus Leeming  <leeming@lyx.org>
3588
3589         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3590         Ensure that error_handler is processed once only and that all data
3591         is saved before attempting to output any warning messages.
3592
3593         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3594
3595 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3596
3597         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3598
3599 2004-03-19  André Pönitz  <poenitz@gmx.net>
3600
3601         * cursor.[Ch] (reset): take main text inset as argument
3602
3603         * BufferView: adjust
3604         * BufferView_pimpl.C: adjust
3605
3606         * paragraph.[Ch]: fix completely broken operator=()
3607
3608 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3609
3610         * LColor.C (getFromLyXName): make sure that the color name is used
3611         as lowercase.
3612
3613 2004-03-17  Angus Leeming  <leeming@lyx.org>
3614
3615         * lfuns.h:
3616         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3617
3618         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3619         dialog and to kill a forked process.
3620
3621 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3622
3623         * text2.C (setCursorFromCoordinates): fix font problem
3624
3625 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3626
3627         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3628         bogus "rebuild cursor" code
3629
3630 2004-03-11  André Pönitz  <poenitz@gmx.net>
3631
3632         * buffer.[Ch]: use InsetText instead of LyXText as container for
3633         the main lyx text.
3634
3635         * dociterator.[Ch]: drop the BufferView * member which is not needed
3636         anymore after the change to buffer.C
3637
3638         * paragraph_funcs.C:
3639         * text.C:
3640         * text2.C:
3641         * BufferView.[Ch]:
3642         * BufferView_pimpl.[Ch]:
3643         * cursor.[Ch]:
3644         * cursor_slice.[Ch]: adjust
3645
3646         * text3.C: fix bug in mathDispatch
3647
3648 2004-03-08  André Pönitz  <poenitz@gmx.net>
3649
3650         * undo.[Ch]: use 'StableDocumentIterator' as base for
3651         the Undo struct.
3652
3653 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3654
3655         * LaTeXFeatures.C:
3656         * bufferparams.[Ch]: add jurabib support and param.
3657
3658         * LaTeX.C: add FIXME/comment.
3659
3660 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3661
3662         * buffer.C: increment file format to 230.
3663
3664 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3665
3666         * cursor.C (dispatch): avoid infinite loops
3667
3668 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3669
3670         * rowpainter.C (paintSelection): fix x coordinates
3671
3672 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3673
3674         * text.C (rowBreakPoint): fix breaking before displayed insets
3675
3676 2004-03-01  André Pönitz  <poenitz@gmx.net>
3677
3678         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3679
3680         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3681
3682         * Makefile.am:
3683         * BufferView.C:
3684         * BufferView_pimpl.C:
3685         * buffer.C:
3686         * lyxfind.C:
3687         * lyxfunc.C:
3688         * text.C:
3689         * text2.C:
3690         * text3.C: adjust
3691
3692 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3693
3694         * lyxtext.h:
3695         * text.C:
3696         * text2.C:
3697         * rowpainter.C:
3698         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3699         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3700
3701 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3702
3703         * Bidi.[Ch] (computeTables): const correctness
3704         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3705         fill_hfill, fill_label_hfill and x from Row
3706         * lyxtext.h: prepareToPrint returns a RowMetrics
3707         * rowPainter.C: adjust
3708         * text.C (prepareToPrint): use width, not textWidth. adjust
3709         (redoParagraphInternal, cursorX): adjust
3710         * text2.C (getColumnNearX): adjust
3711         (init): put a default value to the top LyXText::width
3712
3713 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3714
3715         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3716
3717 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3718
3719         * lyxtext.h: add FontIterator class
3720
3721         * text.C (FontIterator, operator*, operator->, operator++): add
3722         (rowBreakPoint, setRowWidth): adjust (fixing a
3723         rebreaking bug)
3724
3725 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3726
3727         * BufferView_pimpl.C (workAreaDispatch): allow also
3728         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3729
3730 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3731
3732         * text.C (rowBreakPoint): fix a bug showing with very large insets
3733
3734 2004-02-25  André Pönitz  <poenitz@gmx.net>
3735
3736         * text3.C:
3737         * cursor.[Ch]: move some mathed specific code to mathed
3738
3739 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3740
3741         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3742         use_tempdir in preferences
3743         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3744         tempfile creation
3745         * lyx_main.C: ensure that tempdir is valid
3746         * lyxlex.h: correct typo
3747         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3748         * paragraph.[Ch] (isMultiLingual): make const
3749         * cursor.[Ch] (openable): make const
3750
3751 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3752
3753         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3754
3755 2004-02-20  André Pönitz  <poenitz@gmx.net>
3756
3757         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3758
3759         * cursor.[Ch]: prepare for localized getStatus()
3760
3761         * lyxtext.h:
3762         * tabular.C:
3763         * text.C:
3764         * text2.C:
3765         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3766
3767 2004-02-20  André Pönitz  <poenitz@gmx.net>
3768
3769         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3770
3771 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3772
3773         * text2.C (setCursorFromCoordinates): switch to absolute coords
3774         (cursorUp): adjust
3775         (cursorDown): adjust
3776         * text3.C (dispatch): adjust
3777
3778 2004-02-16  André Pönitz  <poenitz@gmx.net>
3779
3780         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3781           insets/ChangeLog)
3782
3783         * cursor_slice.[Ch]: remove unneeded acessor function
3784
3785         * lyxtext.h: rename rtl() to isRTL()
3786
3787         * rowpainter.C:
3788         * tabular.C:
3789         * text.C:
3790         * text2.C:
3791         * text3.C: adjust
3792
3793 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3794
3795         * rowpainter.C (paintSelection): coord fix
3796
3797 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3798
3799         * Spacing.C: compile fix
3800
3801 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3802
3803         * cursor.C (dispatch): restore current_ before returning
3804
3805 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3806
3807         * text2.C (cursorUp, cursorDown): fix coords
3808         (moveUp): fix crash
3809
3810 2004-02-12  André Pönitz  <poenitz@gmx.net>
3811
3812         * lyxtext.h:
3813         * text.C:
3814         * text2.C:
3815         * text3.C: add LCursor & parameter to most cursor movement functions
3816           remove usage of LyXText::cursorRow() and cursorPar()
3817
3818         * cursor.[Ch]: add textRow() needed members
3819
3820         * BufferView.C:
3821         * BufferView_pimpl.C:
3822         * paragraph.[Ch]:
3823         * BufferView.C:
3824         * BufferView_pimpl.C: adjust
3825
3826 2004-02-11  André Pönitz  <poenitz@gmx.net>
3827
3828         * lyxfunc.C:
3829         * BufferView.[Ch]:
3830         * BufferView_pimpl.C: shift undo/redo handling
3831
3832         * cursor.[Ch]: fix mathed crash
3833
3834         * lyxfind.C:
3835         * lyxtext.h: move selectionAsText to LCursor
3836
3837         * output_latex.C:
3838         * paragraph.C:
3839         * text.C:
3840         * text2.C:
3841         * text3.C: adjust
3842
3843         * rowpainter.C: fix excessive drawing
3844
3845 2004-02-06  André Pönitz  <poenitz@gmx.net>
3846
3847         * BufferView.[Ch]:
3848         * BufferView_pimpl.[Ch]:
3849         * text3.C: move some text specific LFUN handling
3850
3851 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3852
3853         * text3.C (checkInsetHit): adjust coords
3854         * text2.C (getColumnNearX): adjust coords
3855         (edit): adjust coords
3856         * text.C (getRowNearY): add two asserts
3857
3858 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3859
3860         * converter.C:
3861         * format.C: add using std::distance to compile on gcc 2.95/stlport
3862
3863 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3864
3865         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3866
3867 2004-02-04  André Pönitz  <poenitz@gmx.net>
3868
3869         * BufferView.[Ch] (insertInset):
3870         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3871
3872         * text2.C:
3873         * text3.C: adjust
3874
3875 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3876
3877         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3878         on the default clause of the switch
3879         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3880         wasn't catched by LCursor::dispatch
3881
3882 2004-02-03  André Pönitz  <poenitz@gmx.net>
3883
3884         * BufferView.C:
3885         * cursor.[Ch]: some additional asserts
3886
3887         * undo.[Ch]: remove LyXText dependency in interface
3888
3889         * lyxfunc.C: adjust
3890
3891         * lyxtext.h (firstPar, lastPar): remove dead functions
3892
3893         * text.C:
3894         * text2.C:
3895         * text3.C:
3896         * paragraph.[Ch]: adjust
3897
3898 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3899
3900         * lyxfind.C (find): fix argument order in call to ::find
3901
3902 2004-02-02  André Pönitz  <poenitz@gmx.net>
3903
3904         * cursor.[Ch]: remove direct access to anchor
3905
3906         * text.C: remove findText() hack
3907
3908 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3909
3910         * iterators.[Ch] (lockPath): remove in favour of...
3911         * BufferView.[Ch] (setCursor): this addition
3912         * BufferView.C (putSelectionAt): adjust
3913         * undo.C (performUndoOrRedo): adjust
3914         * lyxfunc.C (dispatch): adjust
3915
3916 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3917
3918         * iterators.C (lockPath): add a missing slice
3919         * undo.C (performUndoOrRedo): remove redundant positioning code
3920
3921 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * vc-backend.C (scanMaster): ";" -> ';'
3924
3925 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3928         std::binary_function
3929
3930         * lyxtextclass.C (compare_name): rename to...
3931         (LayoutNamesEqual): ...this
3932
3933         * lyxlex_pimpl.C (compare_tags): inherit from
3934         std::binary_function, put back into anon namespace
3935
3936         * lyxfind.C (MatchString): inherig from std::binary_function
3937         (findChange): use empty() istead of !size()
3938
3939         * format.C (FormatNamesEqual): new functor
3940         (getFormat): use it
3941         (getNumber): use it
3942         (add): use it
3943         (erase): use it
3944         (setViewer): use it
3945
3946         * converter.C (compare_Converter): rename to...
3947         (ConverterEqual): ...this, and fixup a bit.
3948         (getConverter): use it, and make function const
3949         (getNumber): use it, and make function const
3950         (add): use it
3951         (erase): use it:
3952
3953         * bufferlist.C: add using boost::bind
3954
3955         * MenuBackend.C (MenuNamesEqual): new functor
3956         (hasMenu): use it, and make function const
3957         (hasSubmenu): use nested bind to get rid of compare_memfun.
3958
3959 2004-01-30  André Pönitz  <poenitz@gmx.net>
3960
3961         * BufferView_pimpl.C:
3962         * cursor.C:
3963         * cursor.h:
3964         * cursor_slice.[Ch]:
3965         * lyxfunc.C:
3966         * lyxtext.h:
3967         * paragraph_funcs.C:
3968         * paragraph_funcs.h:
3969         * rowpainter.C:
3970         * text.C:
3971         * text2.C:
3972         * text3.C: move some of the edit(x,y) handling to the insets
3973         some coordinate changes.
3974
3975 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * text.C: add using statements for std::advance and std::distance
3978
3979         * paragraph.C: add using statement for std::distance
3980
3981         * lyxfind.C: add using statement for std::advance
3982
3983         * cursor.C (region): remove std:: from swap
3984         (openable): use nucleus in stead of operator->
3985
3986         * BufferView.C: add using statements for std::distance and std::swap
3987
3988 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3989
3990         * iterators.C: Remove the pimple, move the needed structures to
3991         the header file. Create accessor for the positions stack.
3992         (asPosIterator): remove function
3993
3994         * PosIterator.C (PosIterator): move constructors to top of file
3995         (PosIterator): reimplement the constructor taking a ParIterator in
3996         terms of setFrom.
3997         (setFrom): new function
3998         (operator!=): inline it
3999
4000 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4001
4002         * lyxfind.C (replaceAll): use std::advance
4003
4004         * iterators.h: inherit from std::iterator.
4005
4006         * PosIterator.C (advance, distance): remove
4007         * PosIterator.h: interit from std::iterator.
4008
4009 2004-01-26  André Pönitz  <poenitz@gmx.net>
4010
4011         * BufferView.[Ch]:
4012         * BufferView_pimpl.[Ch]:
4013         * InsetList.[Ch]:
4014         * PosIterator.[Ch]:
4015         * buffer.h:
4016         * bufferview_funcs.C:
4017         * cursor.[Ch]:
4018         * cursor_slice.h:
4019         * factory.[Ch]:
4020         * iterators.[Ch]:
4021         * lyxfind.C:
4022         * lyxfunc.C:
4023         * lyxtext.h:
4024         * output_docbook.C:
4025         * output_latex.C:
4026         * output_linuxdoc.C:
4027         * output_plaintext.C:
4028         * paragraph.[Ch]:
4029         * paragraph_funcs.[Ch]:
4030         * paragraph_pimpl.[Ch]:
4031         * rowpainter.C:
4032         * tabular.C:
4033         * tabular.h:
4034         * text.C:
4035         * text2.C:
4036         * text3.C: more IU:  dumps most of the rest of the mathcursor
4037     implementation into cursor.[Ch]; "globalize" a bit of it.
4038
4039 2004-01-25  Angus Leeming  <leeming@lyx.org>
4040
4041         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4042
4043 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4044
4045         * LaTeXFeatures.h: add nice_ and nice() const
4046         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4047
4048 2004-01-20  André Pönitz  <poenitz@gmx.net>
4049
4050         * BufferView.[Ch]:
4051         * BufferView_pimpl.C:
4052         * PosIterator.C:
4053         * bufferview_funcs.C:
4054         * cursor.[Ch]:
4055         * cursor_slice.[Ch]:
4056         * factory.C:
4057         * iterators.C:
4058         * lyx_cb.C:
4059         * lyxfind.C:
4060         * lyxfunc.C:
4061         * lyxtext.h:
4062         * rowpainter.C:
4063         * text.C:
4064         * text2.C:
4065         * text3.C:
4066         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4067           LCursor and mathcursor parts to LCursor and InsetBase.
4068
4069 2004-01-15  André Pönitz  <poenitz@gmx.net>
4070
4071         * cursor_slice.[Ch]: add a few covienience functions
4072
4073         * funcrequest.[Ch]: remove BufferView * member
4074
4075         * BufferView_pimpl.C:
4076         * cursor.C:
4077         * factory.[Ch]:
4078         * lyxfind.[Ch]:
4079         * lyxfunc.C:
4080         * lyxtext.h:
4081         * text3.C:
4082         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4083
4084 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4085
4086         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4087         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4088
4089 2004-01-13  André Pönitz  <poenitz@gmx.net>
4090
4091         * textcursor.[Ch]:
4092         * lyxtext.h: hide cursor and selection anchor behind accessor function
4093
4094         * BufferView.C:
4095         * BufferView_pimpl.[Ch]:
4096         * PosIterator.C:
4097         * bufferview_funcs.C:
4098         * cursor.h:
4099         * lyxfind.C:
4100         * lyxfunc.C:
4101         * text.C:
4102         * text2.C:
4103         * text3.C:
4104         * undo.C: adjust
4105
4106         * cursor.h:
4107         * cursor_slice.[Ch]: some integer type changes for inset unification
4108
4109         * lyxcursor.[hC]: remove, it's CursorSlice now.
4110
4111         * Makefile.am:
4112         * BufferView_pimpl.[Ch]:
4113         * bufferview_funcs.C:
4114         * cursor_slice.C:
4115         * lyxtext.h:
4116         * text.C:
4117         * text2.C:
4118         * text3.C:
4119         * textcursor.[Ch]: adjust
4120
4121 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4122
4123         * text2.C (undoSpan): add and use
4124         * text.C (breakParagraph): use undoSpan (fix bug 578)
4125         * lyxtext.h: adjust
4126
4127 2004-01-08  Angus Leeming  <leeming@lyx.org>
4128
4129         * BufferView_pimpl.C (MenuInsertLyXFile):
4130         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4131         * lyxfunc.C (menuNew, open, doImport):
4132         FileFilterList change to the FileDialog open and save functions.
4133
4134 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4135
4136         * ShareContainer.h: make isEqual and isUnique adaptable
4137
4138         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4139
4140 2004-01-07  Angus Leeming  <leeming@lyx.org>
4141
4142         * LyXAction.C:
4143         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4144
4145         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4146
4147         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4148         functions replacing find, replace and replaceAll.
4149
4150         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4151         LFUN_WORDFIND(FORWARD|BACKWARD).
4152
4153 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4154
4155         * text.C (breakParagraph): remove an outdated #warning
4156
4157 2004-01-07  André Pönitz  <poenitz@gmx.net>
4158
4159         * lyxfind.C: somewhat clearer logic
4160
4161         * text.C: prevent crash in cursorX on unitialized row cache
4162
4163 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4164
4165         * lyxcursor.[Ch] (operator>): add
4166         * textcursor.C (selStart, selEnd): use std::min and std::max
4167
4168 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * Chktex.C: include boost/format.hpp
4171
4172 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4173
4174         * InsetList.C: replace functor MathcIt with adaptable functor
4175         InsetTablePosLess
4176         (insetIterator): modify accordingly
4177
4178         * BranchList.h: move the BranchNamesEqual functor here from...
4179         * BranchList.C: ... to here
4180
4181         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4182         SameName and match.
4183         (add): replace a finding loop with std::find_if.
4184
4185 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4186
4187         * output_docbook.C: moving LatexParam functionality into
4188         .layout files
4189
4190 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4191
4192         * buffer.C: increment format to 229.
4193
4194 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4195
4196         * LaTeXFeatures.C:
4197         * lyx_sty.[Ch]: remove minipageindent_def
4198
4199         * LyXAction.C:
4200         * factory.C:
4201         * lfuns.h:
4202         * lyxfunc.C:
4203         * text3.C: remove LFUN_INSET_MINIPAGE
4204
4205 2003-12-28  Angus Leeming  <leeming@lyx.org>
4206
4207         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4208
4209 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4210
4211         * text2.C (setParagraph): fix off-by-one crash
4212
4213 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4214
4215         * output_docbook.C: header stuff for AGU
4216
4217 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4218
4219         * text2.C (redoCursor): remove
4220         * text.C:
4221         * text3.C:
4222         * BufferView_pimpl.C: remove calls to redoCursor and
4223         setCursor(cursor.par(), cursor.pos()) all around
4224
4225 2003-12-15  Angus Leeming  <leeming@lyx.org>
4226
4227         * buffer.C: up the format to 228.
4228
4229 2003-12-15  André Pönitz  <poenitz@gmx.net>
4230
4231         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4232         slices
4233
4234         * Makefile.am:
4235
4236         * BufferView_pimpl.C:
4237         * cursor.[Ch]:
4238         * lyxcursor.[Ch]:
4239         * rowpainter.[Ch]:
4240         * lyxtext.h:
4241         * text.C:
4242         * text2.C:
4243         * text3.C: adjust
4244
4245 2003-12-15  Angus Leeming  <leeming@lyx.org>
4246
4247         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4248         than getFromGUIName to manipulate the color.
4249
4250 2003-12-14  Angus Leeming  <leeming@lyx.org>
4251
4252         * BranchList.[Ch]: minimize the API.
4253         (Branch::getBranch, getColor): now return a 'const &'.
4254         (Branch::setSelected) now returns a bool set to true if the
4255         selection status changes.
4256         (BranchList::clear, size, getColor, setColor, setSelected,
4257         allBranches, allSelected, separator): removed.
4258         (BranchList::find): new functions, returning the Branch with
4259         the given name.
4260         (BranchList::add, remove): return a bool indicating that
4261         the operation was successful.
4262
4263         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4264         new InsetBranch::isBranchSlected member function.
4265
4266         * LColor.[Ch]: mimimize the API.
4267         (fill): renamed as addColor and made private.
4268         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4269         versions of these functions taking a string arg have been removed.
4270
4271         * bufferparams.C (readToken):
4272         * lyxfunc.C (dispatch):
4273         * lyxrc.C (read): changes due to the altered BranchList and
4274         LColor APIs.
4275
4276         * factory.C (createInset, readInset): changes due to altered
4277         InsetBranch c-tor.
4278
4279 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4280
4281         * factory.C:
4282         * lyxfunc.C: remove insetminipage. "minipage-insert"
4283         now produces a frameless minipage box inset.
4284
4285 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4286
4287         * textcursor.[Ch] (selStart,selEnd): add new methods
4288         remove selection::start, end, use LyXCursor::operator<
4289         * lyxcursor.[Ch] (operator<): add
4290         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4291         * BufferView.[Ch] (unsetXSel): add
4292         * text2.C (clearSelection): use unsetXSel,adjust
4293         * text.C: adjust
4294         * text3.C: adjust
4295         * rowpainter.C: adjust
4296         * bufferview_funcs.C (put_selection_at): adjust
4297
4298 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4299
4300         * BufferView_pimpl.C: small coord. correction
4301
4302 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4303
4304         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4305         dragging over the splash screen.
4306
4307 2003-12-11  Angus Leeming  <leeming@lyx.org>
4308
4309         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4310         as it is now handled in LyXText::dispatch.
4311
4312         * text3.C (doInsertInset): remove a level of nesting.
4313
4314 2003-12-11  Angus Leeming  <leeming@lyx.org>
4315
4316         * factory.C (createInset): changes due to the changed interface to
4317         InsetCommandMailer::string2params.
4318
4319 2003-12-10  Angus Leeming  <leeming@lyx.org>
4320
4321         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4322         'dialog-show-new-inset <inset name>'
4323
4324 2003-12-10  Angus Leeming  <leeming@lyx.org>
4325
4326         * buffer.C: up the format to 227.
4327
4328         * factory.C: the box inset is now identified simply by 'Box'.
4329
4330 2003-12-10  Angus Leeming  <leeming@lyx.org>
4331
4332         * buffer.C: up the format to 226.
4333
4334         * factory.C: the note inset is now identified simply by 'Note'.
4335
4336 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4337
4338         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4339         when a pit is enough. Standarize a couple of loops.
4340
4341 2003-12-05  Angus Leeming  <leeming@lyx.org>
4342
4343         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4344         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4345         data to the re-worked "log" dialog.
4346
4347 2003-12-03  André Pönitz  <poenitz@gmx.net>
4348
4349         * PosIterator.C:
4350         * iterators.C:
4351         * lyxtext.h:
4352         * output_latex.C:
4353         * paragraph_funcs.C:
4354         * text.C:
4355         * text2.C: use Inset::getText instead of Inset::getParagraph
4356
4357 2003-12-03  André Pönitz  <poenitz@gmx.net>
4358
4359         * buffer.[Ch]:
4360         * lyxtext.h:
4361         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4362         InsetText::read() as LyXText::read()
4363
4364 2003-12-02  Angus Leeming  <leeming@lyx.org>
4365
4366         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4367         type. Add a comment in the implementation that the function uses
4368         the stream's bad() function rather than fail() as the std::streams
4369         would do.
4370
4371 2003-12-02  André Pönitz  <poenitz@gmx.net>
4372
4373         * lyxlex.[Ch]: make interface more similar to std::stream
4374
4375         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4376
4377 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4378
4379         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4380
4381 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4382
4383         * vspace.[Ch]: remove VSpace::NONE
4384
4385 2003-12-01  André Pönitz  <poenitz@gmx.net>
4386
4387         * buffer.[Ch]:
4388         * lyxtext.h: move ParagraphList member to LyXText
4389         rename LyXText::ownerParagraphs to LyXText::paragraph
4390
4391         * CutAndPaste.C:
4392         * bufferview_funcs.C:
4393         * iterators.[Ch]:
4394         * lyx_cb.C:
4395         * paragraph.C:
4396         * rowpainter.C:
4397         * tabular.C:
4398         * text.C:
4399         * text2.C:
4400         * text3.C: adjust
4401
4402         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4403
4404         * undo.C: fix cursor positioning
4405
4406 2003-12-01  John Levon  <levon@movementarian.org>
4407
4408         * BufferView_pimpl.C: fix a crash on exit with
4409         a buffer open
4410
4411 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4412
4413         * BranchList.C: fix setSelected() method.
4414
4415 2003-11-28  André Pönitz  <poenitz@gmx.net>
4416
4417         * ParagraphParameters.[Ch]:
4418         * ParameterStruct.h: remove space above/below from Paragraph to
4419          InsetVSpace
4420
4421         * BufferView_pimpl.C:
4422         * factory.C:
4423         * lyxfunc.C:
4424         * lyxtext.h:
4425         * output_latex.C:
4426         * paragraph.C:
4427         * paragraph_funcs.C:
4428         * rowpainter.[Ch]:
4429         * text.C:
4430         * text2.C:
4431         * text3.C: adjust
4432
4433 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4434
4435         * factory.C: Syntax change for CharStyles
4436
4437 2003-11-28  André Pönitz  <poenitz@gmx.net>
4438
4439         * BufferView.[Ch]:
4440         * BufferView.[Ch]:
4441         * buffer.[Ch]:
4442         * buffer.[Ch]: move LyXText member
4443
4444 2003-11-28  André Pönitz  <poenitz@gmx.net>
4445
4446         * BufferView.[Ch]: make LyXText * text a private member
4447
4448         * BufferView_pimpl.C:
4449         * cursor.C:
4450         * iterators.C:
4451         * lyx_cb.C:
4452         * lyxfind.C:
4453         * lyxtext.h:
4454         * rowpainter.[Ch]:
4455         * text.C:
4456         * text2.C:
4457         * undo.C: adjust
4458
4459         * output_plaintext.C: cleanup
4460
4461 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4462
4463         * buffer.C:
4464         * lyxtextclass.[Ch]: parametrize SGML document header
4465
4466 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4467
4468         * converter.[Ch]:
4469         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4470         getFlavor().
4471
4472 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4473
4474         * text2.C (setFont): rework using PosIterator (no more recursive)
4475         (setCharFont): no more needed
4476         (setLayout): no more selection cursors fiddling (done by redoCursor)
4477         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4478         destroy remaining ones)
4479
4480 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4481
4482         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4483         * lyxtext.h: ditto
4484         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4485         selection cursors
4486         * lyxfunc.C: adjust
4487         * text3.C: adjust + re-allow multi par depth changes
4488         * textcursor.C: simplify a bit
4489
4490 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4491
4492         * src/buffer.C:
4493         * src/lyxlayout.C:
4494         * src/lyxlayout.h:
4495         * src/lyxtext.h:
4496         * src/output_docbook.C:
4497         * src/output_latex.C:
4498         * src/paragraph.C:
4499         * src/paragraph.h:
4500         * src/sgml.C:
4501         * src/sgml.h:
4502         * src/text2.C: Introducing a number of tags parametrizing various
4503         XML formats that we may want to support
4504
4505 2003-11-25  André Pönitz  <poenitz@gmx.net>
4506
4507         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4508
4509         * lyxtext.h (leftMargin/rightMargin): simplify interface
4510
4511         * rowpainter.C:
4512         * text.C:
4513         * text2.C:
4514         * text3.C: adjust
4515
4516 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4517
4518         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4519         master file to any child files. Fixes bug 546.
4520
4521 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4522
4523         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4524
4525 2003-11-24  André Pönitz  <poenitz@gmx.net>
4526
4527         * rowpainter.C: simplification
4528
4529         * text2.C (updateCounters): remove call to redoParagraph on
4530         changed labels as this is far too expensive.
4531
4532 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4533
4534         * converter.C (convert): fix a crash: this function gets
4535         called with buffer == 0 from importer code.
4536
4537 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4538
4539         * text3.C (cursorPrevious): make sure that we do not compare
4540         iterators form different containers.
4541         (cursorNext): ditto
4542
4543         * rowpainter.C (paintSelection): make sure that we do not compare
4544         iterators from different containers.
4545
4546         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4547         iterators from different ParagraphList containers.
4548         [NEXT] ditto
4549
4550         * text2.C (LyXText): change order of initialization slightly
4551         (operator=): new function. copy all variables except cache_par_
4552         (moveUp): make sure that we do not compare iterators from
4553         different ParagraphList constainers.
4554         (moveDown): ditto
4555
4556         * text.C (firstPar): new function
4557         (lastPar): new function
4558         (endPar): new function
4559
4560         * lyxtext.h: move things around and group public functions, public
4561         variables, private functions, private variables
4562
4563 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4564
4565         * factory.C: change call to InsetERT constructor to avoid
4566         additional invocation of method status
4567         * text2.C (toggleInset): remove redundant update() call
4568         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4569         instead of a Bufferview pointer
4570
4571 2003-11-21  André Pönitz  <poenitz@gmx.net>
4572
4573         * rowpainter.C: simplification
4574
4575 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4576
4577         * text3.C (dispatch): make possible to extend a word/row selection
4578         with the mouse
4579
4580 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4581
4582         * lyxtext.h: x0_,y0_ -> xo_,yo_
4583         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4584         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4585         * rowpainter.C (paintRows): paint full paragraphs
4586
4587 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4588
4589         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4590         screen coordinates)
4591
4592 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4593
4594         * lyxtext.h: add x0_, y0_
4595         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4596         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4597
4598 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4599
4600         * text2.C (setCursorIntern): move the x_target update here *
4601         * text3.C: change some bv() to true/false in calls to
4602         cursorUp/Down/Right/Left
4603         * cursor.C: use helper function.
4604
4605 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4606
4607         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4608         * paragraph_funcs.[Ch]: correct comment
4609         * rowpainter.C: do not paint selections away from bv->cursor()
4610         Fix a long standing selection painting bug.
4611         * text3.C: generalize mouse-selection code to LyXTexts other that
4612         top one
4613         * textcursor.C: do not use y coords if we can use par offsets
4614
4615 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4616
4617         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4618         cursor position after e.g. inset insert)
4619
4620 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4621
4622         * lyxfind.C (replace): adjust to locking removal + some
4623         code simplification
4624
4625 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4626
4627         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4628         of the path
4629
4630 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4631
4632         * lyxlayout.[Ch]:
4633         * output_docbook.C: XML sanitation: new layout
4634         parameters InnerTag and CommandDepth
4635
4636 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4637
4638         * BufferView_pimpl.C:
4639         * factory.C:
4640         * text3.C: Fix the insertion and modification of button-style
4641         insets
4642
4643 2003-11-13  André Pönitz  <poenitz@gmx.net>
4644
4645         * InsetList.[Ch]: remove deleteLyXText
4646
4647         * paragraph.[Ch]: cache beginOfBody position
4648
4649         * Bidi.C:
4650         * text.C:
4651         * text2.C:
4652         * text3.C: remove superfluous update() calls
4653
4654         * vspace.C: cleanup
4655
4656 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4657
4658         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4659         * BufferView.C (fitLockedInsetCursor): remove
4660         * cursor.[Ch] (getDim): add
4661         * text.C (getRowNearY): add faster version
4662         * text3.C: remove some update calls
4663
4664 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4665
4666         * LaTeXFeatures.C:
4667         * LyXAction.C:
4668         * MenuBackend.C:
4669         * MenuBackend.h:
4670         * dispatchresult.h:
4671         * factory.C:
4672         * lfuns.h:
4673         * lyxfunc.C:
4674         * lyxtextclass.C:
4675         * lyxtextclass.h:
4676         * text3.C: The Character Style /XML short element patch.
4677
4678 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4679
4680         * text3.C:
4681         * factory.C: Small step to solving 'unable to insert some insets'
4682         problem
4683
4684 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4685
4686         * cursor.[Ch] (updatePos): new function for updating the y
4687         position of the tip inset
4688         * bufferview_funcs.C (put_selection_at):
4689         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4690
4691 2003-11-11  André Pönitz  <poenitz@gmx.net>
4692
4693         * text.C: remove big comment on invalid Paragraph pointers as it is
4694         not valid anymore
4695
4696 2003-11-11  André Pönitz  <poenitz@gmx.net>
4697
4698         * text_funcs.[Ch]: merge with ...
4699
4700         * text.C: ... this
4701
4702         * lyxtext.h:
4703         * text2.C:
4704         * text3.C: adjust
4705
4706         * Makefile.am: remove text_funcs.[Ch]
4707
4708 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4709
4710         * cursor.C (getPos): return absolute cached y coord
4711
4712         * BufferView_pimpl.C (fitCursor): new simplistic code
4713         (workAreaDispatch): add a fitCursor call
4714
4715 2003-11-10  André Pönitz  <poenitz@gmx.net>
4716
4717         * BufferView.[Ch]:
4718         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4719
4720 2003-11-10  André Pönitz  <poenitz@gmx.net>
4721
4722         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4723         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4724         indicate that the cursor needs to leave an inset
4725
4726         * lyxtext.h: remove inset locking
4727
4728         * cursor.[Ch]: re-implement functionality provided by inset locking
4729
4730         * BufferView.[Ch]:
4731         * BufferView_pimpl.[Ch]:
4732         * LyXAction.C:
4733         * bufferview_funcs.[Ch]:
4734         * factory.C:
4735         * funcrequest.[Ch]:
4736         * iterators.C:
4737         * lyx_cb.C:
4738         * lyxfind.C:
4739         * lyxfunc.C:
4740         * text.C:
4741         * text2.C:
4742         * text3.C:
4743         * undo.C: adjust
4744
4745 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4746
4747         * PosIterator.[Ch]: replace the stack with a vector, add inset
4748         accesor
4749         * iterators.[C]: adjust
4750
4751 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4752
4753         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4754         replaced
4755         * paragraph_funcs.C (readParToken): put the correct id in the
4756         error item, not the id of the top paragraph
4757
4758 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4759
4760         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4761         * bufferview_funcs.C (put_selection_at): use the above
4762
4763 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4764
4765         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4766
4767 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4768
4769         * output_linuxdoc.h:
4770         * output_plaintext.h:
4771         * output.h:
4772         * output_docbook.h: add #include statements
4773
4774 2003-11-05  José Matos  <jamatos@lyx.org>
4775
4776         * output_docbook.[Ch]:
4777         * output_latex.[Ch]:
4778         * output_linuxdoc.[Ch]:
4779         * output_plaintext.[Ch]: New files for output formats.
4780         * output.[Ch]: New file for helper functions.
4781
4782         * buffer.[Ch]:
4783         * paragraph_funcs.[Ch]: output functions moved to new files.
4784
4785         * outputparams.h: rename of latexrunparams.h
4786
4787         * LaTeX.[Ch]:
4788         * buffer.[Ch]:
4789         * bufferlist.[Ch]:
4790         * converter.[Ch]:
4791         * exporter.C:
4792         * paragraph.[Ch]:
4793         * paragraph_funcs.[Ch]:
4794         * paragraph_pimpl.[Ch]:
4795         * tabular.[Ch]: rename ascii to plaintext
4796         and LatexRunParams to OutputParams.
4797
4798 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4799
4800         * iterators.[Ch] (text): require bv argument
4801         * undo.C (recordUndo):
4802         * lyxfunc.C (dispatch):
4803         * bufferview_funcs.C (put_selection_at): adjust
4804
4805 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4806
4807         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4808
4809 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4810
4811         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4812         nestings
4813
4814 2003-11-04  André Pönitz  <poenitz@gmx.net>
4815
4816         * cursor.[Ch]: restructure
4817
4818         * BufferView.[Ch]:
4819         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4820
4821         * iterators.[Ch] (asCursor): remove
4822
4823         * lfuns.h: remove LFUN_INSET_EDIT
4824
4825         * lyxfunc.C:
4826         * tabular.C:
4827         * text.C:
4828         * text2.C:
4829         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4830
4831 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4832
4833         * lyxfind.[Ch]: complete overhaul
4834         * BufferView_pimpl.C:
4835         * lyxfunc.C: adjust
4836         * paragraph.[Ch] (insert): add
4837
4838 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4839
4840         * BufferView.[Ch]:
4841         * lyxtext.h:
4842         * text.C: remove dead spellcheck code
4843
4844 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4845
4846         * dispatchresult.h: add a val setter
4847
4848         * cursor.C (dispatch): use a tempvar for data_[i]
4849
4850 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4851
4852         * PosIterator.[Ch]: compile fix
4853
4854 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4855
4856         * text.C (cursorPar): deactivate the cursor cache
4857
4858 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4859
4860         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4861
4862 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * text3.C (dispatch): adjust for new DisptchResult semantics.
4865
4866         * lyxfunc.C (dispatch): handle update when return from
4867         Cursor::dispatch, adjust for new DispatchResult semantics.
4868
4869         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4870         DispatchResult(true) mean to not update. Add class functions for
4871         setting dispatched and update, as well as reading.
4872
4873         * cursor.C (dispatch): don't handle update here
4874
4875 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4876
4877         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4878         * trans_mgr.C: adjust
4879
4880         * paragraph_funcs.C (readParToken): exception safety
4881
4882         * lyxvc.h: store the vcs pointer in a scoped_ptr
4883         * lyxvc.C: adjust
4884
4885         * lyxsocket.C (serverCallback): exception safety
4886
4887         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4888
4889         * ispell.C (clone): make it return a auto_ptr
4890
4891         * factory.C (createInset): exception safety
4892         (readInset): exception safety
4893
4894         * bufferlist.C (newBuffer): exception safety
4895
4896         * Thesaurus.C (Thesaurus): use initialization for aik_
4897
4898         * MenuBackend.C (expandToc): exception safety.
4899
4900 2003-11-03  André Pönitz  <poenitz@gmx.net>
4901
4902         * buffer.C:
4903         * buffer.h:
4904         * bufferview_funcs.C: remove getInsetFromId()
4905
4906         * lyxcursor.[Ch]:
4907         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4908
4909         * lyxfunc.C:
4910         * text2.C:
4911         * text3.C: adjust
4912
4913 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4914
4915         * PosIterator.C (distance, advance): new
4916         * bufferview_funcs.[Ch] (put_selection_at): new
4917         * iterators.[Ch] (lockPath): new
4918
4919 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4920
4921         * iterators.[Ch] (asPosIterator): added
4922         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4923         * PosIterator.[Ch]: added
4924
4925 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * text3.C:
4928         * lyxfunc.C:
4929         * cursor.C (dispatch):
4930         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4931
4932         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4933         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4934         contructor, add a class function dispatched. Remove operator>=
4935
4936 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * debug.C: only use the default constructor for debugstream
4939         (lyxerr) here.
4940
4941         * main.C (main): include debug.h and setup the lyxerr streambuf
4942         here.
4943
4944 2003-10-31  José Matos  <jamatos@lyx.org>
4945
4946         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4947
4948         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4949         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4950         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4951         * paragraph_pimpl.C (simpleTeXSpecialC):
4952         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4953         add LatexRunParams argument.
4954
4955         * exporter.C (Export): change call accordingly.
4956
4957         * latexrunparams.h: add new member to take care of the other backends.
4958 2003-10-30  José Matos  <jamatos@lyx.org>
4959
4960         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4961         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4962         factorise code for paragraph output.
4963         * buffer.[Ch]:
4964         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4965         move functions.
4966
4967 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * text3.C (dispatch):
4970         * lyxfunc.C (dispatch):
4971         * cursor.C (dispatch):
4972         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4973
4974         * dispatchresult.h: make the dispatch_result_t ctor explicit
4975
4976 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4977
4978         * sgml.[Ch]:
4979         * buffer.C: small refactoring of docbook stuff
4980
4981 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4982
4983         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4984         meaning.
4985
4986 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4987
4988         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4989         operator dispatch_result_t, and operators for == != and >=
4990
4991         * cursor.C (dispatch): adjust for operator dispatch_result_t
4992         removal. comment out call to update
4993
4994         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4995
4996 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4997
4998         * text3.C:
4999         * text2.C:
5000         * text.C:
5001         * lyxtext.h:
5002         * lyxfunc.C:
5003         * cursor.C:
5004         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5005         (dispatch):
5006
5007         * dispatchresult.h: new file, DispatchResult broken out of
5008         insets/insetbase.h
5009
5010         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5011
5012 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5013
5014         * text.C (rowBreakPoint): put a hack inside #if 0
5015
5016 2003-10-28  André Pönitz  <poenitz@gmx.net>
5017
5018         * lyxtext.h:
5019         * metricsinfo.C:
5020         * paragraph_funcs.C:
5021         * rowpainter.C:
5022         * text.C:
5023         * text2.C: general cleanup (lots of small stuff)
5024
5025 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5026
5027         * text2.C (cursorEnd): simple fix to the "end key goes to one
5028         before the end on last row" bug
5029
5030 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5031
5032         * text.C (backspace): fix the "zombie characters"
5033
5034 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5035
5036         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5037
5038 2003-10-27  André Pönitz  <poenitz@gmx.net>
5039
5040         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5041
5042         * factory.C: handle new InsetPagebreak, InsetLine
5043
5044         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5045         and move handling into new InsetPagebreak, InsetLine
5046
5047         * BufferView_pimpl.C:
5048         * LyXAction.C:
5049         * ParagraphParameters.C:
5050         * ParameterStruct.h:
5051         * lyxfunc.C:
5052         * lyxtext.h:
5053         * paragraph.C:
5054         * paragraph.h:
5055         * paragraph_funcs.C:
5056         * paragraph_pimpl.C:
5057         * rowpainter.C:
5058         * text.C:
5059         * text2.C:
5060         * text3.C: adjust
5061
5062 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5063
5064         * text.C:
5065         * lyxrow_funcs.[Ch]:
5066         * Bidi.C:
5067         * paragraph.C:
5068         * lyxtext.h:
5069         * rowpainter.C:
5070         * text2.C:
5071         * text3.C: remove lastPos uses in favour of Row::endpos
5072
5073 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5074
5075         * undo.C (performUndoOrRedo): fix two crashes by setting a
5076         cursor by hand and reordering some calls. Use bv->lockInset instead
5077         of inset->edit because the latter loses cursor information
5078
5079 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5080
5081         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5082         by Martin
5083         (rowBreakPoint): fix width. change point to point + 1.
5084         Add a missing check.
5085
5086 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5087
5088         * MenuBackend.C:
5089         * lyxfunc.C: fix (at least partly) the problems
5090         with the Nav menu and headers inside branch insets
5091         reported by Kayvan
5092
5093 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5094
5095         * paragraph.C (getChar): add strong asserts
5096
5097         * lyxrow_funcs.C (lastPos): remove hideous hack
5098
5099         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5100         (fill): adjust to that (avoid an infinite loop)
5101
5102 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5103
5104         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5105
5106 2003-10-23  André Pönitz  <poenitz@gmx.net>
5107
5108         * RowList_fwd.h: change list<> to vector<> to gain speed
5109         after suggestion from Alfredo
5110
5111 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5112
5113         * lyxtext.h: move the bidi stuff from here...
5114         * text.C: and here
5115         * text2.C: and here
5116         * Bidi.[Ch]: ... to here
5117
5118 2003-10-23  André Pönitz  <poenitz@gmx.net>
5119
5120         * lyxtext.h:
5121         * text.C (isLastRow, isFirstRow): new functions
5122
5123         * paragraph.h: new width cache member
5124
5125         * rowpainter.C: replace RowList::iterator with Row & where possible
5126
5127         * lyxfunc.C: replace several view()->text with a single call
5128
5129         * toc.C: fix 'unused' warning
5130
5131 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5132
5133         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5134         when woring with stream::pos_type
5135         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5136
5137 2003-10-22  André Pönitz  <poenitz@gmx.net>
5138
5139         * lyxtext.h:
5140         * text.C: use Row & instead of RowList::iterator
5141
5142         * lyxrow.h: rename end() to endpos()
5143
5144         * rowpainter.C:
5145         * text.C:
5146         * text2.C: adjust
5147
5148 2003-10-22  Angus Leeming  <leeming@lyx.org>
5149
5150         * buffer.[Ch] (fully_loaded): new member function, returning true
5151         only when the file has been loaded fully.
5152         Used to prevent the premature generation of previews and by the
5153         citation inset to prevent computation of the natbib-style label.
5154
5155         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5156         templates are all set up.
5157
5158         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5159
5160 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5161
5162         * text.C: fixed an "oops" in the "is a bit silly"
5163         bug fix
5164
5165 2003-10-21  André Pönitz  <poenitz@gmx.net>
5166
5167         * FuncStatus.[Ch]: small stuff, whitespace
5168
5169         * lyxfont.[Ch]: operator<<() for debug reasons
5170
5171         * lyxfunc.C:
5172         * lyxrow_funcs.C:
5173         * lyxtext.h: whitespace, spelling
5174
5175         * paragraph.C: naming of variables
5176
5177         * text.C:
5178         * text2.C: small stuff
5179
5180
5181 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5182
5183         * text.C: (1) finish off the inset display() work;
5184         (2) fix the "is a bit silly" bug (accessing char
5185         past end of par).
5186
5187 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5188
5189         * text.C: re-introduce display() for insets, fixing the
5190         various bugs (stretch of line above, math inset
5191         positioning, ...)
5192
5193 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5194
5195         * text.C (rightMargin): remove spurious semicolon
5196
5197         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5198         1415)
5199
5200 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5201
5202         * text3.C: fix one crash due to wrong cursor def
5203
5204 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5205
5206         * vc-backend.C (scanMaster): make the regex static
5207
5208         * LaTeX.C (scanAuxFile): make the regexs static
5209
5210         * text3.C (doInsertInset, dispatch, dispatch):
5211         * text2.C (cursorUp, cursorDown):
5212         * text.C (selectNextWordToSpellcheck):
5213         * BufferView_pimpl.C (dispatch):
5214         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5215
5216 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5217
5218         * lyxsocket.C: include <cerrno>
5219
5220 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5221
5222         * lyxfunc.C (dispatch): remove textcache stuff
5223
5224         * bufferlist.C (release): remove textcache stuff
5225         (closeAll): ditto
5226
5227         * TextCache.C: delete file
5228         * TextCache.h: delete file
5229
5230         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5231
5232         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5233         delete of the bv_->text.
5234         (resizeCurrentBuffer): remove texcache stuff
5235         (workAreaResize): ditto
5236
5237 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5240         action.
5241
5242 2003-10-16  André Pönitz  <poenitz@gmx.net>
5243
5244         * lyxrow.[Ch]:
5245         * paragraph.h:
5246         * rowpainter.C:
5247         * text.C:
5248         * text2.C:
5249         * text3.C: speed up by storing y positions per paragraph plus per-row
5250         offset instead of having a 'full' y position in the row.
5251
5252 2003-10-15  André Pönitz  <poenitz@gmx.net>
5253
5254         * iterators.[Ch]:
5255         * iterators.[Ch]:
5256         * undo.[Ch]: make undo aware of inner insets
5257
5258 2003-10-14  Angus Leeming  <leeming@lyx.org>
5259
5260         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5261         static member functions LyX::ref() and LyX::cref.
5262         (lastfiles): new accessor functions for the new lastfiles_ member var.
5263         (addLyXView, views_): add a new LyXView to the list of views_.
5264         (updateInset): loop over all LyXViews to call their own updateInset
5265         member function, returning a pointer to the Buffer owning the inset.
5266
5267         * BufferView_pimpl.C (loadLyXFile):
5268         * MenuBackend.C (expandLastfiles):
5269         * bufferlist.C (MenuWrite, QuitLyX):
5270         lastfiles is no longer a global variable.
5271         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5272
5273         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5274         static function. Access through LyX::cref().emergencyCleanup().
5275
5276 2003-10-14  André Pönitz  <poenitz@gmx.net>
5277
5278         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5279
5280         * undo.[Ch]: restoring part of 'undo in insets'
5281
5282         * Makefile.am:
5283         * undo_funcs.[Ch]: merge with undo.[Ch]
5284
5285         * tabular.C: small cleansing stuff
5286
5287 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5288
5289         * paragraph_funcs.C (readParToken): report unknown insets as error
5290         boxes. Use the outer paragraph as location (also for unknown
5291         tokens).
5292
5293         * factory.C (readInset): do not abort on reading an unknown inset.
5294         Eat it and return 0.
5295
5296 2003-10-13  Angus Leeming  <leeming@lyx.org>
5297
5298         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5299
5300         * lyxrc.C: displayTranslator is now a function,
5301         declared in GraphicsTypes.h.
5302
5303 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5304
5305         * format.C: new placeholder $$a to pass the socket address.
5306
5307         * bufferlist.[Ch]: new function getBufferFromTmp.
5308
5309         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5310           files in the temporary dir.
5311
5312 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5313
5314         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5315
5316         * Makefile.am: add lyxsocket.[Ch].
5317
5318         * lyx_main.C (error_handler): handle SIGPIPE.
5319
5320 2003-10-13  André Pönitz  <poenitz@gmx.net>
5321
5322         * BufferView_pimpl.C:
5323         * lyxtext.h:
5324         * text.C:
5325         * text2.C:
5326         * text3.C:
5327         * undo_funcs.[Ch]: use paroffset_type instead of
5328           ParagraphList::iterators to prevent multiple conversion
5329           (and get a more robust interface)
5330
5331 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5332
5333         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5334         * lyxtext.h: ditto
5335         * text3.C (dispatch): ditto
5336
5337 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5340         move the onlyfile, use onlyfile instead of foundfile in a couple
5341         of places.
5342
5343         * DepTable.C (update): flush the error stream a bit more
5344
5345 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5346
5347         * lyxserver.C (callback): adjust
5348
5349         * lyxfunc.C (getStatus): add a missing brace in commented code
5350         (ensureBufferClean): reindent
5351         (dispatch): delete version taking a string
5352
5353 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * LaTeX.C (deplog): move found file handlig from here...
5356         (handleFoundFile): .. to new function here.
5357         (deplog): make sure to discover several files mentioned on the
5358         same log line.
5359
5360 2003-10-10  André Pönitz  <poenitz@gmx.net>
5361
5362         * lyxfunc.C:
5363         * lyxtext.h:
5364         * tabular.C:
5365         * text.C:
5366         * text2.C:
5367         * text3.C: fix some of the tabular crashes
5368
5369 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5370
5371         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5372
5373         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5374
5375 2003-10-09  André Pönitz  <poenitz@gmx.net>
5376
5377         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5378
5379         * BufferView.C:
5380         * BufferView_pimpl.C:
5381         * bufferview_funcs.C:
5382         * lyx_cb.C:
5383         * lyxcursor.C:
5384         * lyxfind.C:
5385         * lyxfunc.C:
5386         * lyxtext.h:
5387         * text.C:
5388         * text2.C:
5389         * text3.C:
5390         * text_funcs.[Ch]:
5391         * textcursor.[Ch]:
5392         * undo_funcs.C: adjust
5393
5394 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5395
5396         * text2.C (incrementItemDepth): new function, use a backtracking
5397         algorithm to discover the correct item depth.
5398         (resetEnumCounterIfNeeded): new function, use a backtracking
5399         algorithm to discover if counter reset is needed.
5400         (setCounter): use them. Simplify a bit. Add different labels for
5401         different item depths for itemize.
5402
5403         * paragraph.C (Paragraph): remove initialization of enumdepth
5404         (operator=): ditto
5405
5406         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5407         enumerate and itemize. Change the type of itemdepth to signed char.
5408
5409 2003-10-08  André Pönitz  <poenitz@gmx.net>
5410
5411         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5412           thing assignable.
5413         * text.C:
5414         * text2.C: adjust
5415
5416         * tabular.[Ch]: fix crash after 'row-insert'
5417
5418 2003-10-08  Angus Leeming  <leeming@lyx.org>
5419
5420         Fix doxygen warnings.
5421
5422         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5423         Remove CutAndPaste:: prefix from header file declaration.
5424
5425         * LColor.h (fill): remove LColor:: prefix from declaration.
5426
5427         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5428         use lyx::depth_type rather than Paragraph::depth_type so that
5429         header file and .C file match.
5430
5431         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5432
5433         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5434         * aspell.C: \file aspell_local.C -> \file aspell.C
5435         * gettext.C: \file gettext.C -> \file src/gettext.C
5436         * gettext.h: \file gettext.h -> \file src/gettext.h
5437         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5438         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5439         * text.C: \file text.C -> \file src/text.C
5440
5441         * toc.C: move comment so that doxygen is not confused.
5442
5443 2003-10-07  Angus Leeming  <leeming@lyx.org>
5444
5445         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5446
5447 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5448
5449         * aspell.C:
5450         * aspell_local.h: add forgotten std::string's.
5451
5452 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5453
5454         * LaTeXFeatures.C:
5455         * LyXAction.C:
5456         * factory.C:
5457         * lfuns.h:
5458         * lyxfunc.C:
5459         * text3.C: The Box patch. Fancybox support, minipage, parbox
5460
5461 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5462
5463         * CutAndPaste.h:
5464         * DepTable.h:
5465         * FloatList.h:
5466         * LaTeXFeatures.h:
5467         * ParagraphParameters.h:
5468         * TextCache.h:
5469         * Thesaurus.h:
5470         * bufferlist.h:
5471         * exporter.h:
5472         * importer.h:
5473         * lastfiles.h:
5474         * lyxfind.h:
5475         * lyxfont.h:
5476         * lyxlex.h:
5477         * lyxtextclasslist.h:
5478         * messages.h:
5479         * paragraph.h:
5480         * paragraph_pimpl.C:
5481         * textcursor.h: add <string> and other small fixes to make Lars'
5482         std::string patch compile with STLport.
5483
5484 2003-10-06  Angus Leeming  <leeming@lyx.org>
5485
5486         * LColor.h: Add missing #include <string>.
5487
5488 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * All most all file in all subdirs: Make <string> be the prefered
5491         way of getting to std::string, add using declarations.
5492
5493 2003-10-06  André Pönitz  <poenitz@gmx.net>
5494
5495         * metricsinfo.C: initialize LyXFont before changing attribute.
5496         (fixes the 'math in \emph is upright' bug)
5497
5498 2003-10-06  André Pönitz  <poenitz@gmx.net>
5499
5500         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5501
5502 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5503
5504         * graph.C:
5505         * paragraph_pimpl.C: Small fixes to build using STLport
5506
5507 2003-10-02  André Pönitz  <poenitz@gmx.net>
5508
5509         * lyxfunc.C:
5510         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5511
5512 2003-10-01  André Pönitz  <poenitz@gmx.net>
5513
5514         * factory.C: assert early
5515
5516 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * lyx_main.C: remove the global debug object
5519
5520         * debug.h: adjust for new debugstream
5521
5522         * debug.C: adjust for new debugstream and keep the global debug
5523         object here.
5524
5525 2003-09-22  Angus Leeming  <leeming@lyx.org>
5526
5527         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5528         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5529         an incomplete class LyXFont.
5530
5531 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5532
5533         * factory.C: bug fix in branches
5534
5535 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5536
5537         * lyxfunc.C (processKeySym): adjust
5538         (dispatch): adjust
5539         (dispatch): change arg name from ev to func, adjust
5540         (sendDispatchMessage): ditto
5541
5542         * lyx_main.C (defaultKeyBindings): adjust keybindings
5543         (deadKeyBindings): ditto
5544
5545         * kbsequence.C (addkey): return a FuncRequest
5546
5547         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5548
5549         * kbmap.C (bind): take a FuncRequest as arg, adjust
5550         (read): adjust
5551         (lookup): adjust
5552         (defkey): change to take a FuncRequest as arg, adjust
5553         (findbinding): take a FuncRequest as arg, adjust.
5554
5555         * funcrequest.h (operator=): added
5556
5557         * funcrequest.C (FuncRequest): default kb_action changed from
5558         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5559
5560         * buffer.C (dispatch): simplify
5561         (dispatch): adjust to take a FuncRequest as arg, adjust
5562
5563         * boost.C (assertion_failed): change assertion message slightly
5564
5565         * ToolbarBackend.C (read): simplify
5566
5567         * MenuBackend.C (binding): adjust call to findbinding, add a
5568         message if no binding is found.
5569         (read): simplify
5570         (expandToc): correct by adding a empty FuncRequest
5571
5572         * LyXAction.C: include <boost/assert.hpp>
5573         (isPseudoAction): delete function
5574         (LookupFunc): change name to...
5575         (lookupFunc): this. change return type to FuncRequest.
5576         (getActionName): take kb_action as arg, simplify
5577         (funcHasFlag): add an assert, simplify.
5578
5579 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * toc.C (action): return a FuncRequest, simplify
5582
5583         * lyxfunc.C (processKeySym): adjust
5584         (getStatus): delete version that takes an int.
5585         (getStatus): adjust
5586         (dispatch): delete version that takes action as int
5587         (dispatch): adjust
5588         (sendDispatchMessage): simplify and adjust
5589
5590         * funcrequest.C (getArg): take unsigned int as arg
5591
5592         * ToolbarBackend.C (read): adjust
5593         (add): delete version that takes func as a string.
5594         (getIton): take a FuncRequest as arg
5595
5596         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5597         action.
5598
5599         * MenuBackend.C (MenuItem): add a new construct that only takes a
5600         Kind, simplify the constructor use for submenus.
5601         (add): adjust
5602         (expandLastfiles): adjust
5603         (expandDocuments): adjust
5604         (expandFormats): adjust
5605         (expandFloatListInsert): adjust
5606         (expandFloatInsert): adjust
5607         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5608
5609         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5610         Remove class variables lyx_pseudo_map and lyx_arg_map
5611
5612         * LyXAction.C (searchActionArg): delete function
5613         (getPseudoAction): delete function
5614         (retrieveActionArg): delete function
5615         (LookupFunc): make it return kb_action, simplify.
5616         (getActionName): simplify
5617
5618         * factory.C (createInset): fix new bug
5619
5620 2003-09-19  Angus Leeming  <leeming@lyx.org>
5621
5622         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5623         masterFilename_ parameter in the include inset.
5624
5625         * factory.C (createInset): changes due to the changes to InsetInclude.
5626
5627 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5628
5629         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5630
5631 2003-09-18  Angus Leeming  <leeming@lyx.org>
5632
5633         * buffer.C:
5634         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5635         Inset::fillWithBibKeys.
5636         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5637
5638 2003-09-18  Angus Leeming  <leeming@lyx.org>
5639
5640         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5641         variables.
5642         (ctor): pass and store a 'Buffer const &'
5643         (buffer): new member function.
5644
5645         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5646         '*this' to the LaTeXFeatures ctor.
5647
5648 2003-09-18  Angus Leeming  <leeming@lyx.org>
5649
5650         * LColor.h:
5651         * lyxfont.C:
5652         * lyxfont.h:
5653         * lyxtext.h:
5654         * text.C: rename EnumLColor as LColor_color.
5655
5656 2003-09-18  Angus Leeming  <leeming@lyx.org>
5657
5658         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5659         remove #include "insets/insetbase.h" from cursor.h.
5660
5661 2003-09-18  Angus Leeming  <leeming@lyx.org>
5662
5663         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5664         InsetOld_code to remove #include "inset.h".
5665
5666         * iterators.C: add #include "insets/inset.h"
5667
5668 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5669
5670         * BufferView.C: remove more locking stuff that apparently doesn't
5671         do anything sensible.
5672
5673 2003-09-16  André Pönitz  <poenitz@gmx.net>
5674
5675         * paragraph.[Ch]:
5676         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5677           performance boost.
5678
5679 2003-09-16  Angus Leeming  <leeming@lyx.org>
5680
5681         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5682
5683         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5684         arg/return type.
5685
5686         * paragraph.h: remove #include "lyxfont.h". Forward declare
5687         LyXFont_size.
5688
5689 2003-09-16  Angus Leeming  <leeming@lyx.org>
5690
5691         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5692         of support/textutils.h.
5693         (isWord): move the contents of support/textutils.h's IsWordChar here.
5694
5695         * buffer.C:
5696         * lyxfind.C:
5697         * rowpainter.C:
5698         * text.C:
5699         * text2.C: add #include "paragraph.h".
5700
5701         * rowpainter.C:
5702         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5703
5704 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * main.C:
5707         * lyx_main.C:
5708         * lyx_cb.C:
5709         * buffer.C:
5710         * LaTeX.C: use namespace alias for lyx::support::os
5711
5712 2003-09-16  Angus Leeming  <leeming@lyx.org>
5713
5714         * bufferparams.C:
5715         * bufferview_funcs.C:
5716         * factory.C:
5717         * lyxfunc.C:
5718         * paragraph_pimpl.C:
5719         * rowpainter.C:
5720         * text.C: add #include "LColor.h".
5721
5722 2003-09-16  Angus Leeming  <leeming@lyx.org>
5723
5724         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5725         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5726         return LyXFont &.
5727         Store the FontBits::color variable as an int rather than as an
5728         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5729         file.
5730
5731         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5732         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5733         string calls together.
5734
5735         * lyxrc.C: add #include "LColor.h".
5736
5737 2003-09-15  Angus Leeming  <leeming@lyx.org>
5738
5739         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5740         a cow_ptr.
5741
5742 2003-09-15  Angus Leeming  <leeming@lyx.org>
5743
5744         * LColor.h: add an EnumLColor wrapper for LColor::color.
5745
5746         * lyxfont.[Ch] (color, setColor, realColor):
5747         * lyxtext.h, text.C (backgroundColor):
5748         pass EnumLColor args to/from the functions, rather than LColor::color
5749         ones.
5750
5751         * lyxfont.h:
5752         * lyxtext.h: forward declare EnumLColor.
5753
5754         * lyx_main.C: add #include "LColor.h".
5755
5756 2003-09-15  Angus Leeming  <leeming@lyx.org>
5757
5758         * .cvsignore: add lyx-gtk.
5759
5760 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5761
5762         * Chktex.C
5763         * LaTeX.C
5764         * LaTeXFeatures.C
5765         * ParagraphParameters.C
5766         * Spacing.C
5767         * buffer.C
5768         * bufferparams.C
5769         * bufferview_funcs.C
5770         * chset.C
5771         * counters.C
5772         * funcrequest.C
5773         * lyxfont.C
5774         * lyxgluelength.C
5775         * lyxlength.C
5776         * paragraph.C
5777         * paragraph_funcs.C
5778         * text3.C
5779         * vc-backend.C: remove usage of STRCONV
5780
5781 2003-09-15  Angus Leeming  <leeming@lyx.org>
5782
5783         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5784         explicitly define the color passed to the painter.
5785
5786 2003-09-15  Angus Leeming  <leeming@lyx.org>
5787
5788         * bufferparams.C (BufferParams): reorder member initializers to avoid
5789         compiler warning.
5790
5791 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5792
5793         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5794         * text.C (updateRowPositions): remove an unusual nop
5795
5796 2003-09-12  André Pönitz  <poenitz@gmx.net>
5797
5798         * BufferView_pimpl.C:
5799         * Bullet.C:
5800         * layout.h:
5801         * lyxfunc.C:
5802         * lyxlayout.[Ch]:
5803         * lyxtextclass.C:
5804         * rowpainter.C:
5805         * text.C:
5806         * text2.C:
5807         * Counters.[Ch]: finish the 'automatic counters' job
5808
5809 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5810
5811         * aspell.C: include <boost/assert.cpp> (compile fix)
5812
5813 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5814
5815         * boost.C (assertion_failed): use lyx::support::abort instead of
5816         assert.
5817
5818 2003-09-10  Angus Leeming  <leeming@lyx.org>
5819
5820         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5821         with their _fwd progeny.
5822
5823 2003-09-09  Angus Leeming  <leeming@lyx.org>
5824
5825         134 files throughtout the source tree: replace 'using namespace abc;'
5826         directives with the appropriate 'using abc::xyz;' declarations.
5827
5828 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5829
5830         * boost.C (emergencyCleanup): moved here from LAssert.c
5831         (assertion_failed): new function, called by BOOST_ASSERT
5832
5833         * several files: change Assert to BOOST_ASSERT
5834
5835 2003-09-09  Angus Leeming  <leeming@lyx.org>
5836
5837         * buffer.[Ch]: Add an Impl class and move Buffer's member
5838         variables into it. As a result move several header files out of
5839         buffer.h.
5840
5841         Add header files to lots of .C files all over the tree as a result.
5842
5843 2003-09-09  Angus Leeming  <leeming@lyx.org>
5844
5845         * buffer.[Ch]: make Buffer's member variables private. Add
5846         accessor functions.
5847
5848         Lots of changes all over the tree as a result.
5849
5850 2003-09-08  Angus Leeming  <leeming@lyx.org>
5851
5852         * graph.C: #include <config.h>.
5853
5854 2003-09-08  Angus Leeming  <leeming@lyx.org>
5855
5856         * BranchList.C:
5857         * BufferView.C:
5858         * BufferView_pimpl.C:
5859         * CutAndPaste.C:
5860         * DepTable.C:
5861         * LaTeX.C:
5862         * LaTeXFeatures.C:
5863         * LyXAction.C:
5864         * MenuBackend.C:
5865         * TextCache.C:
5866         * aspell.C:
5867         * buffer.C:
5868         * bufferlist.C:
5869         * changes.C:
5870         * chset.C:
5871         * converter.C:
5872         * counters.C:
5873         * debug.C:
5874         * graph.C:
5875         * ispell.C:
5876         * lyx_cb.C:
5877         * lyxfind.C:
5878         * lyxfunc.C:
5879         * lyxlex_pimpl.C:
5880         * lyxrc.C:
5881         * lyxrow.C:
5882         * paragraph.C:
5883         * rowpainter.C:
5884         * texrow.C:
5885         * text.C:
5886         * text2.C:
5887         * toc.C: remove redundant using directives.
5888
5889 2003-09-07  Angus Leeming  <leeming@lyx.org>
5890
5891         * LaTeXFeatures.h: remove #include "support/types.h".
5892         * ToolbarBackend.h: remove #include <algorithm>.
5893         * changes.h: remove #include <ctime>.
5894         * debug.h: remove #include <iosfwd>.
5895         * graph.h: remove #include "support/std_string.h".
5896         * lyx_main.h: remove #include <csignal>.
5897         * lyxlex_pimpl.h: remove #include <fstream>.
5898         * sgml.h: remove #include <algorithm>, <utility>.
5899         * toc.h: remove #include "support/std_ostream.h".
5900         Add #include <iosfwd>.
5901
5902 2003-09-07  Angus Leeming  <leeming@lyx.org>
5903
5904         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5905
5906         * converter.h: forward declare LatexRunParams.
5907         * encoding.h: remove #include "lyxrc.h".
5908         * lyxtext.h: remove #include "LColor.h".
5909         * lyxtextclass.h: remove #include "support/types.h".
5910         * trans.h: remove #include "tex-accent.h".
5911         * trans_mgr.h: remove #include "tex-accent.h".
5912         * insets/inset.h: remove #include "support/types.h", <vector>.
5913         * insets/insetcollapsable.h: remove #include "LColor.h".
5914         * insets/insetinclude.h: remove #include "dimension.h".
5915         * insets/insetlatexaccent.h: remove #include "dimension.h".
5916         * insets/insetoptarg.h:: remove #include "insettext.h".
5917         * insets/insettext.h: remove #include "dimension.h",
5918         <boost/shared_ptr.hpp>
5919
5920         * insets/renderers.h: add #include "dimension.h".
5921         * insets/updatableinset.h: add #include "support/types.h".
5922
5923         * many .C files: Associated changes.
5924
5925 2003-09-06  Angus Leeming  <leeming@lyx.org>
5926
5927         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5928         one, inside testInvariant.
5929
5930         * PrinterParams.C: new file.
5931         * PrinterParams.[Ch]: move the function bodies out of line.
5932
5933 2003-09-06  Angus Leeming  <leeming@lyx.org>
5934
5935         * ParagraphParameters.h: forward declare ParameterStruct rather than
5936         including its header file.
5937         (depth): moved out-of-line.
5938
5939 2003-09-06  Angus Leeming  <leeming@lyx.org>
5940
5941         * BufferView_pimpl.h:
5942         * kbmap.h:
5943         * kbsequence.h:
5944         * lyxfunc.h: forward declare LyXKeySym rather than
5945         #include "frontends/LyXKeySym.h".
5946
5947         * BufferView_pimpl.C:
5948         * kbmap.C:
5949         * kbsequence.C:
5950         * lyxfunc.C: associated changes.
5951
5952 2003-09-06  Angus Leeming  <leeming@lyx.org>
5953
5954         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5955         As a result, can remove the #include "insets/inset.h" from BufferView.h
5956
5957 2003-09-06  Angus Leeming  <leeming@lyx.org>
5958
5959         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5960         As a result, can remove the #include "insets/inset.h" from BufferView.h
5961
5962 2003-09-06  Angus Leeming  <leeming@lyx.org>
5963
5964         * buffer_funcs.C:
5965         * buffer.h:
5966         * bufferlist.C:
5967         * BufferView.C:
5968         * bufferview_funcs.C:
5969         * BufferView_pimpl.C:
5970         * CutAndPaste.C:
5971         * lyx_cb.C:
5972         * lyxfunc.C:
5973         * paragraph.h:
5974         * ParagraphParameters.C:
5975         * tabular.C:
5976         * text3.C:
5977         * toc.C:
5978         * undo_funcs.C:
5979         * frontends/controllers/ControlDocument.C:
5980         * insets/insetcaption.C: rearrange the #includes into some sort of
5981         coherent order.
5982
5983         * buffer.h: remove #includes ErrorList.h, undo.h
5984
5985 2003-09-06  Angus Leeming  <leeming@lyx.org>
5986
5987         * support/types.h: add a 'depth_type' typedef, used to store the
5988         nesting depth of a paragraph.
5989
5990         * paragraph.h:
5991         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5992         defining explicitly.
5993
5994         * buffer.h:
5995         * paragraph_funcs.h:
5996         * ParagraphParameters.h:
5997         * sgml.h: use lyx::depth_type rather than Paragraph or
5998         ParameterStruct's depth_type.
5999
6000         * buffer.h
6001         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6002
6003         * BufferView.C:
6004         * BufferView_pimpl.C:
6005         * CutAndPaste.C:
6006         * ParagraphParameters.C:
6007         * buffer_funcs.C:
6008         * bufferlist.C:
6009         * bufferview_funcs.C:
6010         * lyx_cb.C:
6011         * lyxfunc.C:
6012         * tabular.C:
6013         * text3.C:
6014         * toc.C:
6015         * undo_funcs.C:
6016         * frontends/LyXView.C:
6017         * frontends/controllers/ControlDocument.C:
6018         * frontends/controllers/ControlErrorList.C:
6019         * insets/insetbibitem.C:
6020         * insets/insetbranch.C:
6021         * insets/insetcaption.C:
6022         * insets/insetcollapsable.C:
6023         * insets/insetenv.C:
6024         * insets/insetert.C:
6025         * insets/insetfloat.C:
6026         * insets/insetfoot.C:
6027         * insets/insetfootlike.C:
6028         * insets/insetnewline.C:
6029         * insets/insetquotes.C:
6030         * insets/insettabular.C:
6031         * insets/insettext.C:
6032         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6033
6034         * frontends/controllers/ControlChanges.C: #include "changes.h".
6035
6036 2003-09-06  Angus Leeming  <leeming@lyx.org>
6037
6038         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6039         than #including paragraph.h.
6040
6041         * ParagraphList.h:
6042         * RowList.h: deleted. Superfluous.
6043
6044         * CutAndPaste.h:
6045         * iterators.h:
6046         * lyxcursor.h:
6047         * lyxtext.h:
6048         * text_funcs.h:
6049         * undo.h:
6050         * undo_funcs.h:
6051         * insets/inset.h:
6052         * insets/insettext.h: use ParagraphList_fwd.h rather than
6053         ParagraphList.h.
6054
6055         * paragraph.h: don't forward declare ParagraphList.
6056
6057         * buffer.h:
6058         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6059         rather than ParagraphList.h. paragraph.h is still needed for the
6060         Paragraph::depth_type parameters.
6061
6062         * textcursor.h: enable it to compile stand-alone in light of the
6063         above changes.
6064
6065         * bufferview_funcs.C:
6066         * iterators.C:
6067         * lyxfunc.C:
6068         * lyxrow_funcs.C:
6069         * paragraph.C:
6070         * rowpainter.C:
6071         * text.C:
6072         * text2.C:
6073         * text3.C:
6074         * text_funcs.C:
6075         * textcursor.C:
6076         * undo.C:
6077         * frontends/controllers/ControlParagraph.C:
6078         * frontends/controllers/ControlTabular.C:
6079         * insets/insetmarginal.C:
6080         * insets/insetminipage.C:
6081         * insets/insetnote.C:
6082         * insets/insetoptarg.C: add header files needed to compile again.
6083
6084 2003-09-06  Angus Leeming  <leeming@lyx.org>
6085
6086         * RowList_fwd.h: new file, forward-declaring Row rather than
6087         #including lyxrow.h.
6088
6089         * lyxrow_funcs.h:
6090         * lyxtext.h:
6091         * paragraph.h:
6092         * insets/insettext.h: use it instead of RowList.h
6093
6094         * bufferview_funcs.C:
6095         * lyxfunc.C:
6096         * lyxrow_funcs.C:
6097         * paragraph.C:
6098         * rowpainter.C:
6099         * text.C:
6100         * text2.C:
6101         * text3.C: #include "RowList.h".
6102
6103 2003-09-05  Angus Leeming  <leeming@lyx.org>
6104
6105         * factory.C (createInset):
6106         * vspace.C (c-tor): replace sscanf call with an istringstream.
6107         * ispell.C: re-add missing HP/UX headers.
6108         * lyxserver.C: re-add missing  os2 headers.
6109
6110 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6111
6112         * BranchList.C:
6113         * graph.C:
6114         * ispell.C:
6115         * lastfiles.C:
6116         * lyx_cb.C:
6117         * lyxserver.C:
6118         * texrow.C:
6119         * text3.C: re-add missing system headers, needed for 2.95.2.
6120
6121 2003-09-05  Angus Leeming  <leeming@lyx.org>
6122
6123         Changes most place everywhere due to the removal of using directives
6124         from support/std_sstream.h.
6125
6126 2003-09-05  Angus Leeming  <leeming@lyx.org>
6127
6128         Replace LString.h with support/std_string.h,
6129         Lsstream.h with support/std_sstream.h,
6130         support/LIstream.h with support/std_istream.h,
6131         support/LOstream.h with support/std_ostream.h.
6132
6133         Changes resulting throughout the tree.
6134
6135 2003-09-05  Angus Leeming  <leeming@lyx.org>
6136
6137         * sgml.h: ensure that the header file can be compiled stand-alone.
6138         * *.C: strip out redundant #includes. (320 in total.)
6139
6140 2003-09-04  Angus Leeming  <leeming@lyx.org>
6141
6142         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6143         here (from getPackages).
6144
6145         * debug.[Ch]: add a new EXTERNAL tag.
6146
6147 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6148
6149         * text2.C (cursorEnd): simplify
6150         (setCursor): adjust
6151         (getColumnNearX): adjust
6152
6153         * text.C (computeBidiTables): adjust
6154         (fill): adjust
6155
6156         * rowpainter.C (paintChars): adjust
6157         (paintSelection): adjust
6158         (paintChangeBar): adjust
6159         (paintText): adjust
6160
6161         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6162         lastPos instead.
6163         (numberOfSeparators): adjust
6164
6165 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6166
6167         * LyXAction.C:
6168         * box.[Ch]:
6169         * lfuns.h:
6170         * lyxfunc.C:
6171         * text3.C: Restricts the mouse click functionality
6172         of insets like bibtex, include, toc and floatlist to the visible
6173         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6174         up the dialogs. Cursor has to be in front of the inset (i.e.
6175         start of row) for this to function.
6176
6177 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6178
6179         * bufferview_funcs.C (currentState): output row information
6180
6181 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6182
6183         * bufferview_funcs.C (currentState): output paragraph position
6184
6185 2003-09-04  Angus Leeming  <leeming@lyx.org>
6186
6187         * FloatList.h: move out #include "Floating.h".
6188         * LaTeX.h: move out #include "DepTable.h".
6189         * LyXAction.h: move out #include "funcrequest.h".
6190         * buffer.h: move out #include "author.h", "iterators.h".
6191         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6192         * lyx_main.h: move out #include "errorlist.h".
6193         * lyxfunc.h: move out #include "FuncStatus.h".
6194         * lyxtext: move out #include "lyxcursor.h".
6195         * paragraph_pimpl.h: move out #include "counters.h".
6196
6197 2003-09-03  Angus Leeming  <leeming@lyx.org>
6198
6199         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6200         preamble_snippets list, enabling us to add snippets to the preamble
6201         only if the snippet was not there already.
6202
6203 2003-09-04  Angus Leeming  <leeming@lyx.org>
6204
6205         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6206
6207 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6210         update
6211
6212 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6213
6214         * BranchList.C: point fix, earlier forgotten
6215
6216 2003-09-02  Angus Leeming  <leeming@lyx.org>
6217
6218         * box.C (contains): renamed from 'contained' after a fantastic
6219         amount of hot air.
6220
6221 2003-09-02  John Levon  <levon@movementarian.org>
6222
6223         * BufferView.C:
6224         * lyxcursor.h:
6225         * lyxcursor.C:
6226         * lyxfunc.C:
6227         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6228
6229 2003-09-02  John Levon  <levon@movementarian.org>
6230
6231         * text2.C: simplification of cursorEnd(), including partial
6232         fix for bug 1376
6233
6234 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6235
6236         * buffer.C (readFile): add a space
6237
6238 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6239
6240         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6241
6242 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6243
6244         * buffer.C (readFile): new function, take a filename and a
6245         ParagraphList::iterator
6246         (readFile): adjust
6247         (readFile): adjust, make it private. don't use setStream, make
6248         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6249         always contain the filename.
6250
6251         * BufferView.C (insertLyXFile): simplify and make it work for
6252         gzipped files.
6253
6254 2003-08-30  John Levon  <levon@movementarian.org>
6255
6256         * Makefile.am: fix dist (from Kayvan)
6257
6258 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6259
6260         * most files: change to use const Buffer refs
6261
6262 2003-08-27  André Pönitz  <poenitz@gmx.net>
6263
6264         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6265         on top of ownerPar().
6266
6267 2003-08-27  John Levon  <levon@movementarian.org>
6268
6269         * funcrequest.C: properly initialise POD members
6270
6271 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6272
6273         * lyxtext.h (top_y): move top_y from here
6274         * text.C:
6275         * text2.C:
6276         * text3.C:
6277         * BufferView.[Ch]:
6278         * BufferView_pimpl.[Ch]: to here
6279         * frontends/screen.C:
6280         * insets/insettabular.C:
6281         * insets/insettext.C: adjust
6282         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6283
6284 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6285
6286         * BufferView.[Ch]:
6287         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6288
6289 2003-08-26  André Pönitz  <poenitz@gmx.net>
6290
6291         * paragraph_func.[Ch] (outerPar): new function
6292
6293         * paragraph.C:
6294         * paragraph_funcs.C:
6295         * paragraph_funcs.h:
6296         * paragraph_pimpl.C:
6297         * text2.C: remove Inset::par_owner
6298
6299 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6300
6301         * lyxrow_funcs.C:
6302         * lyxtext.h:
6303         * text.C:
6304         * text2.C: eliminates the needFullRow/display() stuff
6305         altogether, putting the logic in metrics/draw in the insets.
6306
6307 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6308
6309         * text2.C (redoParagraphInternal, redoParagraphs):
6310         * text.C (redoParagraph): add a call to updateRowPositions at the
6311         end of each 'metrics-like' call. Remove all others.
6312         (getRow): remove the 'y-computing' version.
6313         (getRowNearY): do not compute nor return the real y. Solve the
6314         'y < 0' problem and simplify.
6315
6316 2003-08-22  Angus Leeming  <leeming@lyx.org>
6317
6318         * *.[Ch]: clean-up of licence and author blurbs.
6319         Also move config.h out of a few .h files and into a few .C files.
6320
6321 2003-08-22  André Pönitz  <poenitz@gmx.net>
6322
6323         * lyxrow.[Ch]: add x_ and *fill_ members
6324
6325         * lyxtext.h:
6326         * text.C:
6327         * rowpainter.C:
6328         * text2.C: adjust/remove prepareToPrint() calls
6329
6330 2003-08-22  André Pönitz  <poenitz@gmx.net>
6331
6332         * lyxrow.[Ch]: add  end_ member
6333
6334         * lyxrow_funcs.C: use LyXRow::end_
6335
6336         * lyxtext.h (singleWidth): add LyXFont parameter
6337
6338         * rowpainter.C:
6339         * text2.C: adjust LyXText::singleWidth() calls
6340
6341         * text.C (redoParagraph): simplify row breaking logic
6342
6343
6344 2003-08-19  André Pönitz  <poenitz@gmx.net>
6345
6346         * funcrequest.C: initialize button_ member
6347
6348         * text3.C:
6349         * rowpainter.[Ch]: interface consolidation
6350
6351 2003-08-18  André Pönitz  <poenitz@gmx.net>
6352
6353         * BufferView.C:
6354         * BufferView_pimpl.C:
6355         * lyxfind.C:
6356         * paragraph_funcs.C:
6357         * rowpainter.C:
6358         * text3.C: remove LyXScreen::draw() and fitCursor calls
6359
6360         * BranchList.h: remove spurious semicolons
6361
6362         * MenuBackend.C: fix branchlist related crash
6363
6364 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6365
6366         * BranchList.[Ch]:
6367         * InsetList.[Ch]:
6368         * LColor.[Ch]:
6369         * LyXAction.C:
6370         * Makefile.am:
6371         * MenuBackend.[Ch]:
6372         * bufferparams.[Ch]:
6373         * factory.C:
6374         * lfuns.h:
6375         * lyxfunc.C:
6376         * text3.C: implements the 'branch inset'
6377         idea. This allows the output of various versions of a document
6378         from a single source version, selectively outputing or suppressing
6379         output of parts of the text.
6380         This implementation contains a 'branch list editor' in a separate
6381         tab of the document settings dialog. Branches are user definable
6382         and have a "display colour" to distinguish them on-screen.
6383
6384         ColorHandler was somewhat cleaned up.
6385         (1) make possible a dynamically growing LColor list by allowing
6386         the graphic context cache to grow along (vector);
6387         (2) eliminate an IMHO unnecessary step in colour allocation.
6388
6389 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6390
6391         * BufferView_pimpl.C: compile fix
6392
6393 2003-08-15  André Pönitz  <poenitz@gmx.net>
6394
6395         * rowpainter.C: remove extra metrics calls
6396
6397         * lyxtext.h: merge the two constructors into a single one,
6398           pass reference to owner's par list
6399
6400         * BufferView_pimpl.C:
6401         * text.C:
6402         * text2.C: adjust
6403
6404 2003-08-15  André Pönitz  <poenitz@gmx.net>
6405
6406         * lyxrow_funcs.[Ch]:
6407         * lyxtext.h:
6408         * paragraph.h:
6409         * paragraph_funcs.C:
6410         * rowpainter.C:
6411         * text.C:
6412         * text2.C:
6413         * text3.C:
6414         * text_funcs.C: split LyXText::rowlist_ into individual
6415         Paragraph::rows_ chunks
6416
6417         * BufferView.[Ch]:
6418         * BufferView_pimpl.[Ch]:
6419         * lyxfind.C:
6420         * lyxtext.h:
6421         * text3.C: remove toggleSelection()
6422
6423 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6424
6425         * bufferlist.C: beautify two alerts (shorter text of buttons)
6426         * buffer.C: Remove redundant ' ' from message
6427         * tabular.h:
6428         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6429         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6430         rename VALIGN_CENTER to VALIGN_MIDDLE
6431
6432 2003-08-11  André Pönitz  <poenitz@gmx.net>
6433
6434         * lyxtext.h (getPar):
6435         * text.C: new function
6436
6437 2003-08-11  André Pönitz  <poenitz@gmx.net>
6438
6439         * Makefile.am:
6440         * tracer.[Ch]: remove unneeded files
6441
6442         * InsetList.[Ch]: remove resizeInsetsLyXText()
6443
6444         * lyxtext.h:
6445         * text.C:
6446         * text2.C:
6447         * text3.C: merge insertParagraphs() and appendParagraph()
6448         remove breakAgain(), update()
6449
6450         * BufferView_pimpl.[Ch]:
6451         * bufferview_funcs.[Ch]:
6452         * lyxfunc.C:
6453         * paragraph.[Ch]:
6454         * rowpainter.C:
6455         * tabular.C: adjust after text & InsetList changes.
6456
6457 2003-08-08  André Pönitz  <poenitz@gmx.net>
6458
6459         * text.C (insertChar, backspace): replace rowlist fiddling
6460         with rebreak of full par
6461
6462         * lyxtext.h:
6463         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6464         checkParagraph, updateInset): removed
6465
6466 2003-08-07  André Pönitz  <poenitz@gmx.net>
6467
6468         * paragraph.C:
6469         * text3.C: merge some LFUN handlers, remove dead code
6470
6471 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6472
6473         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6474
6475 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6476
6477         * text2.C (DEPM): fix part of bug 1255 and 1256
6478
6479 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6480
6481         * BufferView_pimpl.C (workAreaDispatch): change to use
6482         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6483         that are no mouse related.
6484
6485 2003-08-05  André Pönitz  <poenitz@gmx.net>
6486
6487         * BufferView.[Ch]:
6488         * BufferView_pimpl.[Ch]:
6489         * bufferview_funcs.C:
6490         * text2.C:
6491         * text3.C: rip out "deep update"
6492
6493         * textcursor.[Ch] (last_sel_cursor): remove unused member
6494
6495 2003-08-04  André Pönitz  <poenitz@gmx.net>
6496
6497         * BufferView.[Ch]:
6498         * BufferView_pimpl.[Ch]:
6499         * ParagraphParameters.C:
6500         * bufferview_funcs.C:
6501         * lyx_cb.C:
6502         * lyxfind.C:
6503         * lyxfunc.C:
6504         * text.C:
6505         * text2.C:
6506         * text3.C: replace "complicated" BufferView::update(...) calls with
6507         simpler ones.
6508
6509         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6510
6511 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6512
6513         * Makefile.am (lyx_SOURCES): add paper.h
6514
6515 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6516
6517         * Makefile.am: move things around so that both lyx-qt and
6518         lyx-xforms can be built (according to --with-frontend). Then lyx
6519         is a symbolic link to lyx-[firstfrontend]
6520
6521 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6522
6523         * Always use std::endl with lyxerr
6524
6525 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6526
6527         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6528
6529 2003-08-01  André Pönitz  <poenitz@gmx.net>
6530
6531         * BufferView.[Ch]:
6532         * BufferView_pimpl.[Ch]:
6533         * lyxfunc.C:
6534         * text3.C: merge BufferView::repaint() and BufferView::update()
6535
6536 2003-08-01  José Matos  <jamatos@lyx.org>
6537
6538         * buffer.[Ch]: file_format is no longer a buffer data element.
6539
6540 2003-08-01  André Pönitz  <poenitz@gmx.net>
6541
6542         * BufferView.C:
6543         * lyxtext.h:
6544         * text.C:
6545         * text2.C: make redoParagraph more independent of current cursor
6546
6547         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6548         * text.C:
6549         * text2.C: remove unneeded members
6550
6551 2003-07-30  André Pönitz  <poenitz@gmx.net>
6552
6553         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6554
6555         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6556           create a single function...
6557
6558         * paragraph_funcs.C (moveItem): ... here.
6559
6560         * text.C:
6561           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6562
6563 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6564
6565         * LColor.[Ch]: Add comment and greyedout logical colors.
6566
6567 2003-07-30  André Pönitz  <poenitz@gmx.net>
6568
6569         * tabular.C: don't use Assert too heavily. This crashes where it
6570           shouldn't
6571
6572 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6573
6574         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6575         is disabled (bug 1232)
6576
6577 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6578
6579         * factory.C: limited 'arg' scope
6580
6581 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6582
6583         * factory.C: fixed Note submenu issues
6584
6585 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6586
6587         * factory.C: submenu for Note/Comment/Greyedout
6588
6589 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6590
6591         * lyx_main.C (LyX):
6592         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6593
6594 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6595
6596         * LaTeXFeatures.C:
6597         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6598         greyedout. Patch provided by Jürgen Spitzmüller.
6599
6600 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6601
6602         * kbmap.C (read): fix error message when reading bind files
6603
6604 2003-07-29  Angus Leeming  <leeming@lyx.org>
6605
6606         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6607         certainly does not do what it purports to do. I am doing it, and
6608         us, a favour by killing it.
6609
6610 2003-07-28  José Matos  <jamatos@lyx.org>
6611
6612         * buffer.C (readBody, do_writeFile):
6613         * paragraph.C(readParagraph): \end_document replaces \the_end.
6614
6615 2003-07-29  André Pönitz  <poenitz@gmx.net>
6616
6617         * BufferView.[Ch]:
6618         * BufferView_pimpl.[Ch]:
6619         * lyxfunc.C:
6620         * text2.C:
6621         * text3.C:
6622         * textcursor.[Ch]: remove toggleToggle & Co
6623
6624 2003-07-28  José Matos  <jamatos@fep.up.pt>
6625
6626         * buffer.C (readParagraph):
6627         * params_func (readParToken, readParagraph):
6628         * paragraph.C (write): \layout -> \begin_layout.
6629
6630 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * lyxlex_pimpl.C (setFile): clean up slightly.
6633
6634         * bufferparams.h: add compressed var
6635
6636         * buffer_funcs.C (readFile): adjust for LyXLex change
6637         (newFile): ditto + simplify
6638
6639         * buffer.C (writeFile): handle writing of compressed files
6640
6641         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6642         Check if the file is compressed and set a bufferparm if so.
6643
6644         * Makefile.am (lyx_LDADD): remove explicit -lz
6645
6646 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6647
6648         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6649         makeDocBookFile): put the real LyX version in the first line of
6650         the file
6651
6652         * version.h:
6653         * version.C.in: remove lyx_docversion
6654
6655         * tabular.C (write_attribute): add a template-based version to
6656         write enums properly
6657
6658 2003-07-28  André Pönitz  <poenitz@gmx.net>
6659
6660         * lyxtext.h:
6661         * text.C:
6662         * text2.C:
6663         * text3.C: use doubles again for x-coordinates. They are needed.
6664
6665 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6666
6667         * messages.C (getLocaleDir): use lyx_localedir()
6668
6669         * lyxlex_pimpl.C (setFile): compress stuff
6670
6671         * buffer.C (writeFile): add some compression stuff
6672         (do_writeFile): new func, dont call expliti close... will this
6673         breake anything?
6674
6675         * Makefile.am (lyx_LDADD): add -lz
6676
6677 2003-07-28  José Matos  <jamatos@fep.up.pt>
6678
6679         * buffer.C: increment file format.
6680         * paragraph_funcs (readParagraph, readParToken):
6681         * paragraph.C (readParagraph): add \end_layout.
6682
6683 2003-07-27  Angus Leeming  <leeming@lyx.org>
6684
6685         * Makefile.am: remove special casing for configure-time setting of
6686         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6687
6688         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6689         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6690
6691 2003-07-26  André Pönitz  <poenitz@gmx.net>
6692
6693         * paragraph_func.[Ch]:
6694         * paragraph.C (realizeFont): inline it whereever it is used
6695
6696         * rowpainter.C:
6697         * text.C:
6698         * text2.C:
6699         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6700
6701
6702 2003-07-26  André Pönitz  <poenitz@gmx.net>
6703
6704         *       lyxtext.h:
6705         * text.C:
6706         * text2.C: get rid of LyXText::need_break_row
6707
6708 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6709
6710         * toc.[Ch]: put namespace toc inside namespace lyx
6711
6712         * MenuBackend.C (expandToc2): adjust for lyx::toc
6713         (expandToc): ditto
6714
6715         * lyxfunc.C (dispatch): adjust for lyx::find
6716
6717         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6718         lyx::find instead. Reorganize a bit.
6719         (LyXReplace): rename to replace
6720         (LyXFind): rename to find
6721
6722         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6723         (dispatch): ditto
6724
6725 2003-07-26  André Pönitz  <poenitz@gmx.net>
6726
6727         * text.C (setHeightOfRow): restrict scope of temporary variable
6728
6729         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6730           code (never has been used?)
6731
6732 2003-07-27  Asger Alstrup  <alstrup@local>
6733
6734         * text.C (fill): Optimise algorithm to exploit that we can reuse
6735         the LyXFont for many characters.
6736         (setHeightOfRow): Same thing.
6737         (rowBreakPoint): Same thing.
6738
6739 2003-07-26  Asger Alstrup  <alstrup@local>
6740
6741         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6742
6743         * text.C (singleWidth): Spurious font copying in hot-spot
6744         singleWidth avoided. Reorder tests for arabic for efficiency.
6745
6746         * text.C (fill): handle empty paragraphs better.
6747
6748 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6749
6750         * ispell.C:
6751         * encoding.h: add includes
6752
6753         * lyxrc.C: remove reading of bind files
6754
6755         * lyx_main.C (init): setup bindings and menus only if we have a
6756         gui.
6757
6758         * kbmap.C (read): new method. Do the actual reading of bind
6759         files.
6760
6761         * converter.C (dvipdfm_options):
6762         * bufferparams.C:
6763         * lyxrc.C (read):
6764         (output): adapt PAPER_* enums.
6765
6766         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6767
6768         * bufferparams.h: remove paper-related enums from there
6769
6770         * paper.h: New file. A trivial header file to hold paper-related
6771         enums. It should later expand to contain many paper-related
6772         horrors access.
6773
6774         * lyxrc.C: declare extern displayTranslator
6775
6776 2003-07-27  José Matos  <jamatos@fep.up.pt>
6777
6778         * tabular.[Ch] (linuxdoc): add support for tables and figures
6779         (linuxdoc).
6780
6781 2003-07-27  José Matos  <jamatos@fep.up.pt>
6782
6783         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6784         consistency in both functions.
6785         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6786
6787 2003-07-26  Asger Alstrup  <alstrup@local>
6788
6789         * rowpainter.C (paintRows): Change algorithm to work directly on
6790         the insets rather than asking every character in the document
6791         whether its an inset.
6792
6793 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6794
6795         * buffer.C (openFileWrite): factorize some code
6796
6797 2003-07-26  Angus Leeming  <leeming@lyx.org>
6798
6799         * lyx_cb.C:
6800         * lyx_main.[Ch]: replace occurances of system_tempdir with
6801         os::getTmpDir().
6802
6803 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6804
6805         * rename Inset to InsetOld
6806
6807 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6808
6809         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6810         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6811         which I think is a bit clearer. EDIT is gone, since it was
6812         premature optimisation, and broken for mathed anyway.
6813         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6814         with cursor positioning in insets as well (math insets still do not
6815         work, but that's a different story anyway.) It mysteriously
6816         crashes sometimes with undo in the first paragraph, but I'm fairly
6817         confident that this is a compiler bug.
6818
6819 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * paragraph.C (Paragraph): adjust for new clone return type
6822         (operator==): ditto
6823         (copyIntoMinibuffer): ditto
6824
6825 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6826
6827         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6828         by not having a special case, and always doing a full rebreak of
6829         the document after undo.
6830
6831 2003-07-23  Angus Leeming  <leeming@lyx.org>
6832
6833         * factory.C (createInset): InsetExternal::setParams now takes a
6834         Buffer const * arg.
6835
6836 2003-07-23  Angus Leeming  <leeming@lyx.org>
6837
6838         * factory.C (createInset): changed interface to the external and
6839         graphics mailers' string2params functions.
6840
6841 2003-07-23  Angus Leeming  <leeming@lyx.org>
6842
6843         * factory.C (createInset): pass a
6844         Buffer const * parameter to InsetExternalMailer's string2params.
6845
6846 2003-07-22  John Levon  <levon@movementarian.org>
6847
6848         * Thesaurus.h: include the right aiksaurus header
6849
6850 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6851
6852         * MenuBackend.C (expand): check menu shortcuts unconditionally
6853
6854 2003-07-21  Angus Leeming  <leeming@lyx.org>
6855
6856         * factory.C (createInset): pass a
6857         buffer_path parameter to InsetGraphicsMailer's string2params.
6858
6859 2003-07-21  Angus Leeming  <leeming@lyx.org>
6860
6861         * BufferView_pimpl.C (buffer):
6862         * buffer.C (d-tor):
6863         * lyx_main.C (LyX):
6864         * lyxfunc.C (dispatch):
6865         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6866         rather than the grfx shortcut.
6867
6868 2003-07-21  André Pönitz  <poenitz@gmx.net>
6869
6870         * rowpainter.C: remove unused variables
6871
6872         * tabular_funcs.C:
6873         * tabular_funcs.h: move to tabular.C
6874         * Makefile.am: adjust
6875
6876         * tabular.[Ch]: basic optical cleaning
6877
6878         * author.h: pass references, not values
6879
6880 2003-07-18  André Pönitz  <poenitz@gmx.net>
6881
6882         * lyxtext.h:
6883         * metricsinfo.C:
6884         * metricsinfo.h:
6885         * rowpainter.C:
6886         * text.C:
6887         * text2.C:
6888         * text3.C: two-phase drawing for InsetText and InsetTabular
6889         some float -> int changes.
6890
6891 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6892
6893         * lyx_main.C: fix the fix
6894
6895 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6896
6897         * lyx_main.C: fix a crash in batch mode if no files specified
6898         * converter.C: ws
6899
6900 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6901
6902         * format.[Ch] (papersize): moved to BufferParams
6903         * converter.[Ch] (dvips_options): moved to BufferParams
6904         (dvipdfm_options): moved to anon namespace
6905         * bufferparams.[Ch]: added above functions.
6906
6907 2003-07-17  André Pönitz  <poenitz@gmx.net>
6908
6909         * lyxtext.h:
6910         * rowpainter.C:
6911         * text2.C: don't call inset->update() anymore
6912
6913         * metricsinfo.[Ch]: add convenience constructor
6914
6915 2003-07-16  André Pönitz  <poenitz@gmx.net>
6916
6917         * lyxcursor.[Ch]:
6918         * lyxfunc.[Ch]:
6919         * text.C:
6920         * text2.C: replace the LyXCursor::irow_ member with
6921          on-demand computation of the value
6922
6923 2003-07-16  John Levon  <levon@movementarian.org>
6924
6925         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6926
6927 2003-07-15  André Pönitz  <poenitz@gmx.net>
6928
6929         * text.C:
6930         * text2.C: remove no more needed refresh_row
6931
6932 2003-07-15  André Pönitz  <poenitz@gmx.net>
6933
6934         * lyxtext.h:
6935         * rowpainter.C:
6936         * text2.C:
6937         * text3.C: refresh_status tristate -> need_update bool
6938
6939 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6940
6941         * lyxtext.h (init): remove reinit argument (act as if always true)
6942         * text2.C: adjust to that
6943
6944 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6945
6946         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6947         * text3.C: use it to delete selections in some cases
6948         (bugs 441, 673, 702, 954).
6949
6950 2003-07-14  André Pönitz  <poenitz@gmx.net>
6951
6952         * rowpainter.[Ch]: reduce interface
6953
6954 2003-07-14  André Pönitz  <poenitz@gmx.net>
6955
6956         * BufferView_pimpl.C:
6957         * text2.C: adjust after removing unused BufferView * argument
6958
6959 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6960
6961         * text2.C (init): fix a crash fired on resize
6962
6963 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6964
6965         * buffer.[Ch]: added new closing signal
6966         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6967         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6968         BufferView::Pimpl via the closing the signal
6969
6970 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6971
6972         * buffer.[Ch]: take out all bv-related from buffer
6973         * BufferView.C:
6974         * BufferView_pimpl.[Ch]: connect to new signals
6975         * CutAndPaste.C: removed useless asserts
6976         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6977         * lyxvc.[Ch]:
6978         * vc-backend.[Ch]:
6979         * lyxfunc.C: moved view-related funciontality from vc here
6980         * paragraph.C: removed outdated comments
6981         * text.C: ws
6982
6983 2003-07-10  André Pönitz  <poenitz@gmx.net>
6984
6985         * BufferView_pimpl.C:
6986         * tabular.h:
6987         * tabular_funcs.C:
6988         * text.C:
6989         * text2.C: remove InsetText::InnerCache, clean up consequences
6990
6991 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6992
6993         * ispell.C: fix two typos in error messages
6994
6995 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6996
6997         * Extend Note inset to other forms of annotation like Comment
6998         and Greyedout. Right button click gives dialog.
6999
7000         Files modified or added (+):
7001
7002         * insetnote.[Ch]
7003         * FormNote.[Ch]      +
7004         * ControlNote.[Ch]   +
7005         * form_note.fd       +
7006         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7007         frontends/controllers
7008         * xforms/Dialogs.C
7009         * factory.C
7010
7011 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7012
7013         * aspell.C: add missing namespace lyx::support
7014
7015 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7016
7017         * BufferView.[Ch] (newFile): Add
7018         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7019         * LaTeX.[Ch] (message): added this signal and use it
7020         * buffer.[Ch] (busy, message): added these signals and use them
7021         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7022         * converter.C:
7023         * exporter.C:
7024         * format.C:
7025         * importer.C: use buffer signals instead of direct bv calling
7026         * lyx_cb.[Ch] (ShowMessage): removed
7027         * lyx_main.C:
7028         * lyxfunc.C:
7029         * paragraph_funcs.C:
7030         * text2.C: use buffer signals
7031
7032 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * introduce namespace lyx::graphics
7035
7036 2003-07-02  André Pönitz  <poenitz@gmx.net>
7037
7038         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7039
7040 2003-07-01  André Pönitz  <poenitz@gmx.net>
7041
7042         * text.C:
7043         * text2.C:
7044         * text3.C:
7045         * text_funcs.[Ch]:
7046         * textcursor.h:
7047         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7048           text*.C to text_func.C
7049
7050 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7051
7052         * introduce namespace lyx::support
7053
7054 2003-06-30  André Pönitz  <poenitz@gmx.net>
7055
7056         * Chktex.C:
7057         * funcrequest.C:
7058         * lyxtext.h:
7059         * text.C: re-enable --with-included-string
7060
7061 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * textcursor.C: add <config.h>
7064
7065         * text.C (getWord): remove const from word_location arg
7066
7067         * lyxvc.C (getLogFile): fix const type order
7068
7069         * lyxtext.h: remove const from word_location arg, add arg name
7070
7071         * lyxlayout.h: currect type on labeltype.
7072
7073         * importer.C: correct \file
7074
7075         * converter.C (intToFormat): use std:: on ret val, ws changes
7076
7077         * bufferlist.h: correct \file
7078
7079         * buffer.C (makeLinuxDocFile): fix const type order
7080         (makeDocBookFile): ditto
7081         (fillWithBibKeys): use std:: on stdlib args.
7082
7083         * CutAndPaste.C: fix authors.
7084         (availableSelections): use std:: on return vector
7085
7086 2003-06-27  André Pönitz  <poenitz@gmx.net>
7087
7088         * BufferView_pimpl.C:
7089         * bufferview_funcs.C:
7090         * lyxcursor.C:
7091         * lyxcursor.h:
7092         * lyxfunc.C:
7093         * lyxtext.h:
7094         * rowpainter.C:
7095         * text.C:
7096         * text2.C:
7097         * text3.C: remove LyXCursor::row_ member
7098
7099         * lyxtext.h:
7100         * text.C: rename fullRebreak() to partialRebreak() and implement
7101           a fullRebreak() that really bereks fully
7102
7103         * textcursor.h: new struct for cursor-related data
7104
7105 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7106
7107         * lyx_main.C (LyX): get full path of document loaded on the
7108         command line
7109
7110 2003-06-26  André Pönitz  <poenitz@gmx.net>
7111
7112         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7113           remove unused/broken operator>,<,>=.
7114
7115         *       text.C: remove only use of broken operator<= in an Assert().
7116
7117 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7118
7119         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7120         moved errorlist_.clear to showErrorList
7121
7122 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7123
7124         * converter.C (scanLog, runLaTeX):
7125         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7126         move the bv->showErrorList call to the callers
7127         * lyxfunc.C: i.e. here...
7128         * text2.C: and here
7129         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7130         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7131         namespace, the second to...
7132         * buffer_funcs (BufferFormat, parseErrors): added
7133         * errorlist.C (ErrorList(TeXErrors const &)): removed
7134
7135 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7136
7137         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7138
7139 2003-06-24  "Garst R. Reese" <reese@isn.net>
7140
7141         * debug.C: fix typo
7142
7143 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7144
7145         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7146
7147         * version.C.in: change docversion to 1.4
7148
7149 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7150
7151         * buffer.C: fix a bug just introduced
7152
7153 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7154
7155         * buffer.[Ch]: added the parseError signal and use it, removed
7156         sgmlError
7157         * BufferView.[Ch] (addError): moved to ...
7158         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7159         to the Buffer::parseError signal to catch (guess what) parse errors
7160         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7161
7162 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7163
7164         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7165         ability to create a buffer and to return an existing one from
7166         the list. Moved these functions to...
7167         * buffer_funcs.[Ch]: added
7168         * BufferView.[Ch] (loadLyXFile): added
7169         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7170         job removed from bufferlist::loadLyXFile.
7171         * buffer.C (setReadOnly): make it work without view
7172         (i.e added an if (users))
7173
7174 2003-06-19  Angus Leeming  <leeming@lyx.org>
7175
7176         * lfuns.h:
7177         * LyXAction.C (init):
7178         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7179         with LFUN_DIALOG_SHOW <name> <data>.
7180
7181 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7182
7183         * CutAndPaste.C (availableSelections): small compilation fix for
7184         ancient (gcc 2.9x) compilers
7185
7186 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * text3.C (cursorNext): add tmp var
7189
7190         * text2.C (updateCounters): for function calling out of for clause
7191         (replaceSelectionWithString): ditto
7192         (insertStringAsParagraphs): ditto
7193         (getColumnNearX): add tmp var
7194         (setCursorFromCoordinates): add tmp var
7195         (cursorDownParagraph): add tmp var
7196         (deleteEmptyParagraphMechanism): add tmp var
7197
7198         * text.C (insertChar): add tmp var
7199
7200         * rowpainter.C (paintDepthBar): add tmp var
7201
7202         * CutAndPaste.C (availableSelections): potentially check all
7203         paragraphs in a cut to fill the shown strings.
7204
7205 2003-06-18  André Pönitz  <poenitz@gmx.net>
7206
7207         * kbmap.[Ch]: use vector<> instead of list<>
7208
7209 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7210
7211         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7212         pasteSelection with index
7213
7214         * text2.C (pasteSelection): modify, call pasteSelection with index
7215
7216         * paragraph.C (asString): reimplement version with no interval to
7217         call the one with interval.
7218
7219         * lyxtext.h: add index arg to pasteSelection
7220
7221         * MenuBackend.C (MenuItem): handle PasteRecent
7222         (Menu::read::Menutags): add md_pasterecent
7223         (read): handle it
7224         (expandPasteRecent): new function
7225         (expand): use it
7226
7227         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7228
7229         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7230         the limited stack
7231         (availableSelections): new function
7232
7233 2003-06-17  Angus Leeming  <leeming@lyx.org>
7234
7235         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7236
7237 2003-06-17  Angus Leeming  <leeming@lyx.org>
7238
7239         * lfuns.h:
7240         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7241
7242         * lyxfunc.C (dispatch): invoke it.
7243
7244 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7245
7246         * iterators.C (operator++, ParPosition): reintroduce some
7247         const_cast for the benefit of older compilers.
7248
7249 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7250
7251         * text3.C (dispatch): do not modify clipboard when doing
7252         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7253         LFUN_DELETE_SKIP on a selection selection
7254
7255 2003-06-16  André Pönitz  <poenitz@gmx.net>
7256
7257         * BufferView.C:
7258         * buffer.C:
7259         * buffer.h:
7260         * paragraph.C:
7261         * tabular.[Ch]: IU of clone() and getLabelList();
7262
7263 2003-06-13  André Pönitz  <poenitz@gmx.net>
7264
7265         * tabular.h: compactification
7266
7267 2003-06-12  André Pönitz  <poenitz@gmx.net>
7268
7269         * tabular.C:
7270         * tabular.h:
7271         * tabular_funcs.h: some renaming plus whitespace
7272
7273 2003-06-12  André Pönitz  <poenitz@gmx.net>
7274
7275         * BufferView.C:
7276         * BufferView_pimpl.C:
7277         * CutAndPaste.C:
7278         * buffer.C:
7279         * iterators.[Ch]:
7280         * lyxfunc.C:
7281         * text.C:
7282         * toc.C: Return a Paragraph & for ParIterator::operator*()
7283
7284 2003-06-11  John Levon  <levon@movementarian.org>
7285
7286         * lyx_main.C:
7287         * ToolbarBackend.h:
7288         * ToolbarBackend.C: add "Toolbars" section and
7289         put the flags there
7290
7291 2003-06-10  Angus Leeming  <leeming@lyx.org>
7292
7293         * lfuns.h:
7294         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7295
7296         * lyxfunc.C (dispatch): invoke it.
7297
7298 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * main.C: protect <ios> with HAVE_IOS
7301         (main): protect sync_with_stdio with HAVE_IOS
7302
7303 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7304
7305         * text2.C (cutSelection): adjust
7306         (pasteSelection): adjust
7307
7308         * messages.C: handle get of empty string
7309
7310         * main.C (main): use sync_with_stdio(false)
7311
7312         * lyxfunc.C (dispatch): adjust
7313
7314         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7315         (WriteAs): remove unneeded BufferView arg.
7316
7317         * bufferparams.h: use correct types on papersize, papersize2 and
7318         paperpackage.
7319
7320         * bufferparams.C (readToken): adjust for type
7321         (writeLaTeX): add missing cases to switch.
7322
7323         * bufferlist.C (quitWriteBuffer): adjust
7324         (close): adjust
7325
7326         * buffer.C (asciiParagraph): remove some commented code.
7327
7328         * CutAndPaste.C: remove current_view extern variable.
7329         (cutSelection): add BufferParams arg.
7330         (eraseSelection): add BufferParams arg.
7331         (pasteSelection): add Buffer const & arg
7332
7333 2003-06-07  John Levon  <levon@movementarian.org>
7334
7335         * buffer.C:
7336         * paragraph_funcs.C:
7337         * paragraph_pimpl.C:
7338         * text.C:
7339         * text2.C:
7340         * paragraph.h:
7341         * paragraph.C: allow InsetERT to freely space lines,
7342         and some consolidation of code
7343
7344 2003-06-06  José Matos  <jamatos@fep.up.pt>
7345
7346         * buffer.C (makeDocBookFile): fix bug #821
7347
7348 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7349
7350         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7351
7352 2003-06-04  Angus Leeming  <leeming@lyx.org>
7353
7354         * buffer.C: bump format to 224.
7355
7356 2003-06-05  André Pönitz  <poenitz@gmx.net>
7357
7358         * text2.C (redoParagraphs): remove two const_cast<>
7359
7360 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7361
7362         * ParagraphList.h: remove last remnants of NO_STD_LIST
7363
7364 2003-06-03  Angus Leeming  <leeming@lyx.org>
7365
7366         * factory.C (createInset): small change to the way InsetExternal's params
7367         are set.
7368
7369 2003-06-04  André Pönitz  <poenitz@gmx.net>
7370
7371         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7372
7373         * paragraph_pimpl.h:
7374         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7375
7376         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7377
7378         * undo_funcs.C: make some simple cases of undo work again
7379
7380 2003-06-03  John Levon  <levon@movementarian.org>
7381
7382         * ispell.C: HPUX doesn't have sys/select.h
7383         (from Albert Chin)
7384
7385 2003-06-03  John Levon  <levon@movementarian.org>
7386
7387         * CutAndPaste.C: update tabular and include inset
7388         buffer references
7389
7390         * buffer.h:
7391         * paragraph.h:
7392         * paragraph.C: remove owningBuffer(), don't pass Buffer
7393         to clone()
7394
7395         * factory.C: insetGraphicsParams changed
7396
7397 2003-06-02  John Levon  <levon@movementarian.org>
7398
7399         * LyXAction.C:
7400         * factory.C:
7401         * lfuns.h:
7402         * lyxfunc.C:
7403         * text3.C: remove insetparent
7404
7405 2003-06-02  John Levon  <levon@movementarian.org>
7406
7407         * buffer.h:
7408         * buffer.C: fix inset_iterator.end(), move out of line
7409         (bug 1149)
7410
7411 2003-06-01  John Levon  <levon@movementarian.org>
7412
7413         * text3.C: use a proper cut/paste when doing inset
7414         insert (from Jürgen Spitzmüller)
7415
7416 2003-06-01  John Levon  <levon@movementarian.org>
7417
7418         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7419
7420 2003-05-30  André Pönitz  <poenitz@gmx.net>
7421
7422         * rowpainter.C: unify second drawing phase
7423
7424 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7425
7426         * trans_mgr.C: remove one case of current_view
7427
7428         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7429
7430         * paragraph_funcs.h: remove paragraph.h include
7431
7432         * paragraph.h: delete NO_STD_LIST stuff
7433
7434         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7435
7436         * buffer.h: remove paragraph.h include
7437
7438         * ParagraphList.C: delete file
7439
7440         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7441
7442         * toc.C (getTocList): adjust
7443
7444         * paragraph_pimpl.C (validate): adjust
7445
7446         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7447
7448         * paragraph.C (Paragraph): adjust
7449         (getPositionOfInset): use const_iterator, adjust
7450         (bibitem): use const_iterator, adjust
7451         (setInsetOwner): adjust
7452
7453         * iterators.C (operator++): adjust
7454
7455         * InsetList.[Ch]: Replace selfmade iterator with standard
7456         vector::iterator also introduce const_iterator. Remove getPos,
7457         getInset and setInset from InsetTable. Adjust accordingly.
7458
7459         * BufferView.C (lockInset): adjust
7460         (ChangeInsets): adjust
7461
7462         * tabular.[Ch]: delete commented same_id functions
7463
7464 2003-05-28  John Levon  <levon@movementarian.org>
7465
7466         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7467
7468 2003-05-28  André Pönitz  <poenitz@gmx.net>
7469
7470         * metricsinfo.[Ch]: remove 'fullredraw' member
7471
7472 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7473
7474         * lyxtextclass.C (operator): remove caching.
7475
7476 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7477
7478         * text3.C: adjust
7479
7480         * text2.C (cursorBottom): adjust
7481         (setCounter): use ParagraphList::find, adjust
7482
7483         * text.C (workWidth): use ParagraphList::find, adjust
7484
7485         * lyxcursor.C (LyXCursor): adjust
7486
7487         * buffer.C (inset_iterator): adjust
7488
7489         * ParagraphList.h: make iterator(value_type) private, make
7490         ParagraphList a friend of iterator.
7491
7492         * ParagraphList.C (find): new function
7493
7494         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7495
7496 2003-05-27  André Pönitz  <poenitz@gmx.net>
7497
7498         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7499
7500 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7501
7502         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7503
7504 2003-05-26  John Levon  <levon@movementarian.org>
7505
7506         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7507
7508 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7509
7510         * remove same_id from function signatures, adjust.
7511
7512 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7513
7514         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7515
7516         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7517
7518         * paragraph.C (Paragraph): get rid of same_ids parameter
7519
7520         * ParagraphList.C (insert): adjust
7521         (push_back): adjust
7522
7523 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7524
7525         * paragraph_funcs.C (breakParagraph): adjust
7526         (breakParagraphConservative): adjust
7527
7528         * buffer.C (readParagraph): adjust
7529
7530         * ParagraphList.C (insert): take a reference instead of a pointer
7531         (insert): adjust
7532
7533         * paragraph.[Ch] (id): new function
7534
7535         * bufferlist.C (newFile): adjust
7536
7537         * ParagraphList.C (ParagraphList): adjust
7538         (assign): adjust
7539         (push_back): take a reference instead of a pointer.
7540
7541         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7542
7543         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7544         instead.
7545
7546         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7547         set else use old code.
7548
7549         * ParagraphList.C: remove all NO_NEXT code and only compile this
7550         code of NO_STD_LIST is set.
7551
7552 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7553
7554         * BufferView_pimpl.C:
7555         * TextCache.C:
7556         * TextCache.h:
7557         * bufferlist.C:
7558         * errorlist.h:
7559         * format.C:
7560         * format.h:
7561         * graph.C:
7562         * lyxfunc.C:
7563         * lyxrc.C:
7564         * graphics/GraphicsConverter.C:
7565         * graphics/PreviewLoader.C: header adjustment
7566
7567 2003-05-23  Angus Leeming  <leeming@lyx.org>
7568
7569         * LaTeXFeatures.[Ch] (useBabel): new method.
7570         * bufferparams.C (writeLaTeX): use it.
7571
7572 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * ParagraphList.h (set): remove unused function.
7575
7576 2003-05-23  André Pönitz  <poenitz@gmx.net>
7577
7578         * BufferView.C:
7579         * BufferView_pimpl.C:
7580         * buffer.C:
7581         * buffer.h:
7582         * lyxfunc.C:
7583         * undo_funcs.C: setUndo reworked
7584
7585         * iterators.[Ch]: add access to topmost ParagraphList
7586
7587         * lyxtext.[Ch] (workWidth): add a const
7588
7589 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7590
7591         * texrow.[Ch] (increasePos): remove function
7592         * exporter.C (export): removed unused var and outdated comment
7593
7594 2003-05-23  Angus Leeming  <leeming@lyx.org>
7595
7596         * latexrunparams.h: rename fragile as moving_arg.
7597         * paragraph.C (simpleTeXOnePar): ditto.
7598         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7599
7600 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7601
7602         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7603         (createUndo): ditto
7604         (textUndoOrRedo): comment out a currently unused var.
7605
7606         * paragraph.h (NO_NEXT): enable NO_NEXT
7607
7608         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7609
7610         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7611
7612         * exporter.C (Export): adjust for removeAutoInsets removal.
7613
7614         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7615
7616         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7617
7618         * BufferView.[Ch] (removeAutoInsets): delete function
7619
7620 2003-05-22  Angus Leeming  <leeming@lyx.org>
7621
7622         * latexrunparams.h: add a free_spacing variable.
7623
7624         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7625         to pass moving_arg, as the data is stored in runparams.fragile.
7626
7627         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7628         to Inset::latexOptional or to simpleTeXOnePar.
7629
7630         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7631         free_spacing arg to Inset::latexOptional.
7632
7633         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7634         free_spacing arg.
7635
7636 2003-05-22  Angus Leeming  <leeming@lyx.org>
7637
7638         * latexrunparams.h: add fragile and use_babel variables.
7639
7640         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7641         * buffer.C (makeLaTeXFile): store this returned value in
7642         runparams.use_babel, thus passing it to the inset::latex methods.
7643
7644         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7645         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7646
7647         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7648         longer has a fragile arg, as it is stored in runparams.fragile.
7649
7650         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7651         moving_arg parameter as the data is stored in runparams.fragile.
7652
7653         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7654         a fragile parameter as the data is stored in runparams.fragile.
7655
7656 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7659
7660 2003-05-22  Angus Leeming  <leeming@lyx.org>
7661
7662         * latexrunparams.h: add a 'bool nice' which defaults to false.
7663
7664         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7665         now encapsulated within runparams.
7666
7667         * bufferlist.C (updateIncludedTeXfiles):
7668         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7669
7670 2003-05-22  Angus Leeming  <leeming@lyx.org>
7671
7672         * latexrunparams.h: new file containing struct LatexRunParams.
7673         * Makefile.am: add new file.
7674
7675         * LaTeX.[Ch] (c-tor, run):
7676         * buffer.[Ch] (makeLaTeXFile):
7677         * bufferlist.[Ch] (updateIncludedTeXfiles):
7678         * converter.C (convert, scanLog):
7679         * converter.[Ch] (runLaTeX):
7680         * exporter.C (Export):
7681         * paragraph.[Ch] (simpleTeXOnePar):
7682         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7683         * paragraph_funcs.[Ch] (latexParagraphs):
7684         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7685         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7686         pass around a LatexRunParams parameter.
7687
7688 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * paragraph.[Ch]: remove unused constructor
7691
7692         * ParagraphList.C (erase): new function, taking two iterators
7693
7694 2003-05-22  André Pönitz  <poenitz@gmx.net>
7695
7696         * undo_funcs.C: remove duplicated code
7697
7698         * iterator.[Ch]: operator=
7699
7700 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * tabular.C (SetMultiColumn): ws changes
7703
7704         * rowpainter.C (paintFirst): get rid of a ->previous
7705
7706         * lyx_cb.C (getPossibleLabel): parlist simplification
7707
7708         * BufferView.C (ChangeInsets): simplify slightly.
7709
7710 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7711
7712         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7713         * lfuns.h: new LFUN_SPACE
7714         * lyxfunc.C: protected space has a new lfun
7715         * paragraph_funcs.C: read new space insets
7716         * text3.C:
7717         * factory.C: handle new space insets
7718
7719 2003-05-22  André Pönitz  <poenitz@gmx.net>
7720
7721         * BufferView.C:
7722         * BufferView_pimpl.C:
7723         * buffer.[Ch]:
7724         * lyxfunc.C:
7725         * undo_funcs.C: return a ParIterator from getParFromID.
7726
7727         * iterators.[Ch]: add two const's
7728
7729 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * toc.C (getTocList): adjust
7732
7733         * iterators.[Ch]: rework for parlist
7734
7735         * buffer.C (par_iterator_begin): adjust
7736         (par_iterator_end): adjust
7737
7738         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7739
7740         * BufferView.C (removeAutoInsets): adjust
7741         (ChangeInsets): adjust
7742
7743 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7744
7745         * text.C (top_y): fix bug 1110
7746
7747 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7748
7749         * errorlist.[Ch]: added
7750         * buffer.C:
7751         * BufferView.[Ch]:
7752         * BufferView_pimpl.C:
7753         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7754         instead
7755
7756 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * Makefile.am: ensure that lyx is relinked upon changes to the
7759         various "convenience" libs.
7760
7761 2003-05-20  Angus Leeming  <leeming@lyx.org>
7762
7763         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7764         files are compiled in alphabetical order again.
7765
7766         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7767
7768 2003-05-19  Angus Leeming  <leeming@lyx.org>
7769
7770         * gettext.[Ch]: remove "char const * _(char const *)".
7771
7772 2003-05-19  André Pönitz  <poenitz@gmx.net>
7773
7774         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7775
7776         * Makefile.am:
7777         * BufferView.C:
7778         * DepTable.h:
7779         * LaTeXFeatures.C:
7780         * buffer.C:
7781         * lyxfont.C:
7782         * lyxlex.h:
7783         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7784
7785 2003-05-19  André Pönitz  <poenitz@gmx.net>
7786
7787         * buffer.C:
7788         * lyxlayout.[Ch]:
7789         * lyxtextclass.[Ch]:
7790         * paragraph.C:
7791         * paragraph_funcs.[Ch]:
7792         * text2.C:
7793         * text3.C: more insetenv work
7794
7795 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7796
7797         * ParagraphParameters.C (params2string): small bug fixed
7798
7799 2003-05-16  André Pönitz  <poenitz@gmx.net>
7800
7801         * debug.C:
7802         * bufferview_funcs.C: patch from Kornel Benko to prevent
7803           crash when _(...) is called twice in a statement
7804
7805 2003-05-16  André Pönitz  <poenitz@gmx.net>
7806
7807         * BufferView.C:
7808         * lyxfunc.C:
7809         * text.C:
7810         * text2.C:
7811         * text3.C:
7812         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7813
7814 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7815
7816         * lyx_main.C (init): remove spurious static_cast
7817
7818 2003-05-14  André Pönitz  <poenitz@gmx.net>
7819
7820         * BufferView.C: fix format string
7821
7822 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7823
7824         * BufferView.[Ch] (insertErrors): removed
7825         * BufferView.[Ch] (showErrorList): added
7826         * buffer.C (runChkTeX):
7827         * converter.C (scanLog): call showErrorList instead of inserterrors
7828
7829 2003-05-13  André Pönitz  <poenitz@gmx.net>
7830
7831         * BufferView_pimpl.C:
7832         * buffer.C:
7833         * bufferview_func.C:
7834         * MenuBackend.C:
7835         * lyxfunc.C:
7836         * lyxrc.C:
7837         * tex-accent.C:
7838         * text3.C:
7839         * toc.C:
7840         * tabular_funcs.h: tostr() from its own header
7841
7842         * ParagraphParameters.C:
7843         * ToolbarBackend.C:
7844         * bufferparams.C:
7845         * format.C:
7846         * lyxlex_pimpl.C:
7847         * text3.C: STRCONV()
7848
7849 2003-05-12  André Pönitz  <poenitz@gmx.net>
7850
7851         * BufferView.C:
7852         * BufferView_pimpl.C:
7853         * CutAndPaste.C:
7854         * LaTeX.C:
7855         * LaTeXFeatures.C:
7856         * ParagraphParameters.C:
7857         * buffer.C:
7858         * bufferlist.C:
7859         * bufferparams.C:
7860         * bufferview_funcs.C:
7861         * converter.C:
7862         * counters.C:
7863         * debug.C:
7864         * exporter.C:
7865         * format.C:
7866         * importer.C:
7867         * lyx_cb.C:
7868         * lyx_main.C:
7869         * lyxfont.C:
7870         * lyxfunc.C:
7871         * lyxvc.C:
7872         * paragraph.C:
7873         * paragraph_funcs.C:
7874         * tabular.C:
7875         * tabular_funcs.C:
7876         * text2.C:
7877         * text3.C:  boost::format -> bformat  all over the place
7878
7879
7880 2003-05-09  André Pönitz  <poenitz@gmx.net>
7881
7882         * LColor.[Ch]: Pimpl the #include <map> away
7883
7884 2003-05-09  John Levon  <levon@movementarian.org>
7885
7886         * bufferlist.C: never remove emergency saves
7887
7888 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7889
7890         * Makefile.am: better lib building
7891
7892 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7895         instead.
7896         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7897         (simpleTeXSpecialChars): adjust
7898         (simpleTeXSpecialChars): adjust
7899         * paragraph.C (simpleTeXOnePar): adjust
7900         * buffer.C (makeLaTeXFile): adjust
7901
7902         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7903
7904         * text2.C (changeDepth): parlist cleanup
7905         (getColumnNearX): ditto
7906
7907         * rowpainter.C (getLabelFont): parlist cleanup
7908
7909         * bufferlist.C (newFile): parlist cleanup
7910
7911         * CutAndPaste.C (eraseSelection): parlist cleanup
7912
7913         * BufferView_pimpl.C (trackChanges): parlist cleanup
7914         (dispatch): ditto
7915
7916         * BufferView.C (lockInset): parlist cleanup.
7917         (ChangeInsets): ditto
7918
7919 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7920
7921         * CutAndPaste.h: Update file header.
7922
7923         * CutAndPaste.C: Update file header.
7924         Store the parts cut out of the Document in a limited_stack.
7925         (copySelection): adjust
7926         (pasteSelection): new function, takes the index in the limited stack.
7927         (nrOfParagraphs): adjust
7928         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7929         simplify error inset insertion.
7930         (checkPastePossible): adjust
7931
7932 2003-05-06  John Levon  <levon@movementarian.org>
7933
7934         * text2.C: don't cast wrap inset to float
7935
7936 2003-05-05  André Pönitz  <poenitz@gmx.net>
7937
7938         * iterator.C:
7939         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7940
7941         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7942           few naked Paragraph *.
7943
7944 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7945
7946         * bufferparams.C: Output warning if a document with missing
7947         TeX document class is loaded
7948         * exporter.C: Disable TeX exports if the document class is missing
7949         * lyxtextclass.C:
7950         * lyxtextclass.h:
7951         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7952         isTeXClassAvailable()
7953
7954 2003-05-03  John Levon  <levon@movementarian.org>
7955
7956         * BufferView.h:
7957         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7958         explicit cursor show/hide
7959
7960         * BufferView_pimpl.h:
7961         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7962         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7963
7964         * lyxfunc.C: hide cursor before dispatching.
7965
7966         * lyx_cb.C:
7967         * lyxfind.C:
7968         * text.C:
7969         * text3.C: remove explicit cursor hides
7970
7971 2003-05-02  André Pönitz  <poenitz@gmx.net>
7972
7973         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7974
7975         * undo_funcs.C:
7976         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7977           linked lists
7978
7979         * text2.C: tiny whitespace
7980
7981 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7982
7983         * undo_funcs.C: almost only ws changes.
7984
7985         * ParagraphList.C (splice): just return if pl is empty.
7986
7987 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * ParagraphList.C (splice): new function.
7990
7991         * CutAndPaste.C (pasteSelection): use it
7992
7993 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7994
7995         * CutAndPaste.C (pasteSelection): remove the last next and
7996         previous from this file.
7997
7998 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7999
8000         * CutAndPaste.C (pasteSelection): more clean up, user proper
8001         ParagraphList functions for pasteing.
8002
8003         * ParagraphList.C (insert): new function, three arg insert
8004
8005 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8006
8007         * ParagraphList.C (insert): new function, three arg insert
8008
8009         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8010         not on paragraphs.
8011
8012 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8015
8016 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8017
8018         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8019
8020 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8023         (copySelection): clean up a bit.
8024         (pasteSelection): use make_pair
8025
8026         * ParagraphList.C (ParagraphList): implement copy constructor
8027         (operator=): implement, base on copy constructor.
8028         (assign): new func
8029
8030         * paragraph.C (erase): return a bool
8031
8032         * paragraph_pimpl.C (erasePos): remove function, move contents...
8033         (erase): ... here. Return a bool.
8034         (erase): call erase instead of erasePos.
8035
8036 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8037
8038         * ParagraphList.h: define PitPosPair
8039         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8040         ParagraphList, fix a bug on pasting multiple pars
8041         * text2.C: change interface to C&P
8042
8043 2003-04-30  André Pönitz  <poenitz@gmx.net>
8044
8045         * undo_func.C: revert part of yesterday's patch 2
8046
8047 2003-04-30  John Levon  <levon@movementarian.org>
8048
8049         * LColor.C: s/tabular/table/
8050
8051 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8052
8053         * text3.C (dispatch): do not convert iterator -> pointer
8054         * undo_funcs.C (setCursorParUndo): ditto
8055         * text_funcs.C (transposeChars): ditto
8056
8057         * text2.C (setLayout): ws changes only
8058
8059         * text.C (breakParagraph): do not convert iterator -> pointer
8060         (insertChar): ditto
8061         (acceptChange): ditto
8062         (rejectChange): ditto
8063         (changeCase): ditto
8064         (Delete): ditto
8065         (backspace): ditto
8066
8067         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8068         pointer
8069
8070 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8071
8072         * text3.C (gotoInset): YABG (yet another bad getChar)
8073
8074 2003-04-29  André Pönitz  <poenitz@gmx.net>
8075
8076         * paragraph.h: make operator= private unimplemented as long as
8077           it is unusable
8078
8079         * ParagraphList.C: whitespace
8080
8081         * paragraph.[Ch]:
8082         * paragraph_pimpl.[Ch]:
8083         * paragraph_funcs.C:
8084         * CutAndPaste.C:
8085         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8086
8087         * text2.C:
8088           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8089
8090 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8091
8092         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8093         * paragraph.[Ch] (erase):
8094         * paragraph_pimpl.[Ch] (erase): change return type and value
8095         * text2.C (cutSelection): some rework
8096
8097 2003-04-28  John Levon  <levon@movementarian.org>
8098
8099         * bufferlist.C: changes for unsaved changes dialog
8100
8101 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8102
8103         * bufferlist.C (newFile): set language (messages_) for new
8104         documents also.
8105
8106         * buffer.C (readFile): ws changes only.
8107
8108 2003-04-28  André Pönitz  <poenitz@gmx.net>
8109
8110         * undo_funcs.C:
8111         * lyxfunc.C:
8112         * buffer.[Ch]:
8113         * BufferView_pimpl.C:
8114         * BufferView.C: getParFromID related ParagraphList::iterator changes
8115
8116 2003-04-28  André Pönitz  <poenitz@gmx.net>
8117
8118         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8119           Changes
8120
8121 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8122
8123         * messages.C: remove one more localedir class variable.
8124
8125 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8126
8127         * messages.C (getLocaleDir): singleton generation function
8128         (Pimpl): use it.
8129         (Messages): add a default constructor.
8130
8131         * main.C (main): do not setup localedir here, do not call
8132         gettext_init.
8133
8134         * gettext.C (_): use it.
8135         (gettext_init): delete funciton
8136
8137 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * gettext.C (getLyXMessages): new singleton generating function.
8140
8141         * buffer.C (updateDocLang): adjust
8142
8143         * Makefile.am (messages.o): add target
8144         (main.o): remove target
8145
8146 2003-04-27  John Levon  <levon@movementarian.org>
8147
8148         * bufferlist.C:
8149         * lyx_cb.C:
8150         * lyxfunc.C:
8151         * lyxvc.C: specify cancel button in Alert::prompt
8152
8153 2003-04-26  John Levon  <levon@movementarian.org>
8154
8155         * text3.C:
8156         * lyxfunc.C:
8157         * lfuns.h:
8158         * LyXAction.C: add LFUN_INSET_SETTINGS
8159
8160         * lyxfunc.C: don't enable tabular-feature when there's
8161         just any locking inset
8162
8163 2003-04-26  John Levon  <levon@movementarian.org>
8164
8165         * bufferlist.C: re-add Cancel to buffer close question
8166
8167         * lyxfunc.C: fix import UI a bit
8168
8169 2003-04-25  John Levon  <levon@movementarian.org>
8170
8171         * gettext.C: remove the broken asserts for now
8172
8173 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * messages.C: make case where setlocale cannot comply work better.
8176
8177         * buffer.C (updateDocLang): new function
8178         (changeLanguage): use it
8179         (readFile): use it
8180
8181         * text2.C (setCounter): use B_ a bit.
8182
8183         * lyxlayout.C (Read): be sure to trim the label strings.
8184
8185         * messages.C (Messages): fix typo in comment
8186
8187         * buffer.C (readFile): set message_ after file is loaded.
8188         (makeDocBookFile): remove double return
8189         (changeLanguage): reset message_ upon language change.
8190         (B_): new func, use this to get translated buffer strings.
8191
8192         * main.C: add myself and Jean Marc as authors.
8193
8194 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8195
8196         * messages.[hC]: pimplify Messages, and three different pimpls to be
8197         used in different circumstances.
8198
8199         * gettext.[Ch]: change for use with new message code.
8200
8201 2003-04-24 André Pönitz <poenitz@gmx.net>
8202
8203         * factory.C: support for eqref
8204
8205 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8206
8207         * messages.[Ch]: add missing char
8208
8209         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8210
8211         * messages.[Ch]: New files
8212
8213 2003-04-18  John Levon  <levon@movementarian.org>
8214
8215         * BufferView.h:
8216         * BufferView.C:
8217         * BufferView_pimpl.C:
8218         * lfuns.h:
8219         * LyXAction.C:
8220         * lyxtext.h:
8221         * text2.C: remove layout-copy/paste (bug 778)
8222
8223 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8224
8225         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8226
8227 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8228
8229         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8230         if they succeed. Act accordingly.
8231
8232 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8233
8234         * text2.C (setCharFont): adjust
8235         (setCounter): adjust
8236         (insertStringAsLines): adjust
8237
8238         * text.C (leftMargin): adjust
8239         (setHeightOfRow): adjust
8240
8241         * rowpainter.C (paintFirst): adjust
8242         (paintLast): adjust
8243
8244         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8245         (outerHook): ditto
8246         (isFirstInSequence): ditto
8247         (getEndLabel): ditto
8248         (outerFont): adjust
8249
8250         * paragraph.C (getParLanguage): comment out some hard stuff.
8251
8252         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8253         (sgmlError): ditto
8254         (simpleDocBookOnePar): ditto
8255         (makeDocBookFile): use ParagraphList::iterator
8256
8257         * CutAndPaste.C (pasteSelection): adjust
8258
8259 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8260
8261         * text2.C (getFont): adjust
8262         (getLayoutFont): adjust
8263         (getLabelFont): adjust
8264
8265         * paragraph_funcs.C (TeXOnePar): adjust
8266
8267         * buffer.C (simpleLinuxDocOnePar): adjust
8268         (simpleDocBookOnePar): adjust
8269
8270         * CutAndPaste.C (pasteSelection): adjust
8271
8272         * BufferView.C (getEncoding): adjust
8273
8274         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8275
8276 2003-04-16  John Levon  <levon@movementarian.org>
8277
8278         * lyxfind.C: use parlist stuff for search/changes
8279
8280 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8283
8284         * text2.C (deleteEmptyParagraphMechanism): adjust
8285
8286         * text2.[Ch] (ownerParagraph): delete func (both of them
8287
8288 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8291
8292 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8293
8294         * ParagraphList.C: prepare for NO_NEXT
8295
8296 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8297
8298         * text2.C (getFont): adjust
8299         (getLayoutFont): adjust
8300         (getLabelFont): adjust
8301
8302         * paragraph.C (getFont): adjust
8303         (getLabelFont): adjust
8304         (getLayoutFont): adjust
8305
8306         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8307
8308 2003-04-15  John Levon  <levon@movementarian.org>
8309
8310         From Angus Leeming
8311
8312         * lyx_main.C: handle Include in .ui files
8313
8314 2003-04-15  John Levon  <levon@movementarian.org>
8315
8316         * MenuBackend.C: make the doc files length shorter
8317
8318         * ToolbarBackend.h:
8319         * ToolbarBackend.C: handle toolbar placement flags,
8320         Minibuffer
8321
8322 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8323
8324         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8325         adjust
8326
8327         * paragraph_funcs.C (TeXOnePar): adjust
8328
8329         * paragraph.C (getLabelFont): add outerfont arg, adjust
8330         (getLayoutFont): ditto
8331         (simpleTeXOnePar): adjust
8332
8333         * paragraph_pimpl.C (realizeFont): delete func
8334
8335 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8336
8337         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8338         row argument, constify cur argument.
8339
8340 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8341
8342         * text2.C (getFont): adjust
8343         (getLayoutFont): adjust
8344         (getLabelFont): adjust
8345
8346         * paragraph_funcs.C (TeXOnePar): adjust
8347         (outerFont): new func...
8348         (realizeFont): ...moved out from here, changed this to facilitate
8349         transition
8350
8351         * paragraph.C (getFont): take outerfont as arg, adjust
8352         (simpleTeXOnePar): add outerfont arg, adjust
8353
8354         * buffer.C (simpleLinuxDocOnePar): adjust
8355         (simpleDocBookOnePar): adjust
8356
8357         * CutAndPaste.C (pasteSelection): adjust
8358
8359         * BufferView.C (getEncoding): adjust
8360
8361 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8362
8363         * text2.C (setCharFont): adjust
8364         (setCounter): adjust
8365
8366         * text.C (leftMargin): adjust
8367         (setHeightOfRow): adjust
8368
8369         * rowpainter.C (paintFirst): adjust
8370         (paintLast): adjust
8371
8372         * paragraph_pimpl.C (realizeFont): adjust
8373
8374         * paragraph.C (isFirstInSequence): move from here...
8375         * paragraph_funcs.C (isFirstInSequence): ...to here
8376
8377         * paragraph.C (outerHook): move from here...
8378         * paragraph_funcs.C (outerHook): ...to here
8379
8380         * paragraph.C (depthHook): move from here...
8381         * paragraph_funcs.C (depthHook): ...to here
8382
8383         * paragraph.C (getEndLabel): move from here...
8384         * paragraph_funcs.C (getEndLabel): ...to here
8385
8386         * text2.C (realizeFont): move from here...
8387         * paragraph_funcs.C (realizeFont): ...to here
8388
8389 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8392
8393 2003-04-14  Angus Leeming  <leeming@lyx.org>
8394
8395         * LColor.[Ch]: scrap LColor mathcursor.
8396
8397 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * lyxlex.[Ch] (text): delete function
8400         * trans.C (Load): adjust
8401         * paragraph_funcs.C (readParToken): adjust
8402
8403 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8404
8405         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8406         vector<char> instead of a char[].
8407
8408         * lyxlex_pimpl.C (getString): adjust
8409         (next): adjust
8410         (lex): use getString
8411         (eatLine): adjust
8412         (nextToken): adjust
8413
8414         * lyxlex.C (text): use pimpl_->getString()
8415         (getBool): ditto
8416         (findToken): ditto
8417
8418 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8419
8420         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8421         (makeFontEntriesLayoutSpecific): temp var for par.size()
8422         (setLayout): temp var for ownerParagraphs().end()
8423         (fullRebreak): temp var for rows().end()
8424         (selectionAsString): temp var for boost::next(startpit), realize
8425         that the while really is a regular for loop.
8426         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8427         setCursor in one place.
8428         (setParagraph): temp vr for ownerParagraphs().end()
8429         (updateCounters): make the while loop a for loop
8430         (cutSelection): temp var for ownerParagraphs().end()
8431         (updateInset): make the do {} while() a regular for loop
8432         (getCursorX): use temp vars
8433         (setCurrentFont): use temp vars
8434         (getColumnNearX): use temp vars
8435
8436 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8437
8438         * text.C (transformChar): use temp var for getChar
8439         (computeBidiTables): use temp var for row->par()
8440         (fill): move temp vars for row->par() and pit->layout() earlier in
8441         the function.
8442         (labelFill): use temp var for row->par()
8443         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8444         asc and desc, realize that pit never changes and that firstpit is
8445         just a duplicate and not needed. Exchange rit->par() with pit in a
8446         lot of places.
8447         (breakAgain): use a temp var for boost::next(rit)
8448         (breakAgainOneRow): ditto
8449         (breakParagraph): use a temp var for rows().begin()
8450         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8451         (cursorRightOneWord): use temp var for cursor.par() and
8452         cursor.pos(), remove usage of tmpcursor.
8453         (cursorLeftOneWord): use temp var for cursor.par() and
8454         cursor.pos() only set cur at end of function.
8455
8456 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8457
8458         * text.C, text2.C: exchange all usage of Paragraph::next with
8459         boost::next(ParagraphList::iterator)
8460
8461         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8462
8463         * text2.C (cursorTop): simplify implementation
8464         (cursorBottom): ditto
8465         (setParagraph): use ParagraphList::iterator
8466         (setCurrentFont): adjust
8467         (getColumnNearX): adjust
8468         (cursorRight): adjust
8469         (cursorLeft): remove usage of Paragraph::previous
8470         (cursorUpParagraph): ditto
8471         (deleteEmptyParagraphMechanism): slight cleanup
8472
8473         * text.C (isBoundary): take a Paragraph const & instead of a
8474         pointer as arg.
8475         (addressBreakPoint): ditto
8476         (leftMargin): remove usage of Paragraph::previous.
8477         (setHeightOfRow): ditto
8478         (cursorLeftOneWord): ditto
8479         (selectNextWordToSpellcheck): ditto
8480         (Delete): ditto
8481         (backspace): ditto
8482         (breakParagraph): remove one usage of Paragraph::next
8483         (redoParagraph): ditto
8484         (acceptChange): ditto
8485         (insertChar): adjust
8486         (rowBreakPoint): adjust
8487
8488         * bufferview_funcs.C (toggleAndShow): adjust
8489
8490 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8491
8492         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8493         methods to access it.
8494         * lyxtext.h:
8495         * text.C: Added updateRowPositions to compute all row positions.
8496         Make top_y and getRowNearY() to use the cached y position
8497
8498 2003-04-11  John Levon  <levon@movementarian.org>
8499
8500         * text.C (rowBreakPoint): reintroduce the labelEnd
8501         checks, code copied from the row fill stuff. Deep voodoo.
8502
8503         * text.C (fill): add a comment and debugging for the
8504         next poor soul.
8505
8506 2003-04-11  John Levon  <levon@movementarian.org>
8507
8508         * text.C: make sure fullrow insets get wrapped to the next line,
8509         even when they're in a manual label
8510
8511 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8512
8513         * text2.C (insertParagraph): make it take ParagraphList::iterator
8514         as arg.
8515         (setLayout): make it return ParagraphList::iterator
8516         (redoParagraphs): ditto
8517         (setCounter): ditto
8518         (checkParagraph): ditto
8519
8520         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8521
8522         * text2.C: adjust several funcs.
8523         (realizeFont): take a ParagraphList::iterator as arg.
8524         (getLayoutFont): ditto
8525         (getLabelFont): ditto
8526         (setCharFont): ditto
8527
8528         * text.C: adjust several funcs.
8529
8530 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8531
8532         * text.C (selectNextWordToSpellcheck): don't accidentally
8533         skip insets
8534
8535 2003-04-10  John Levon  <levon@movementarian.org>
8536
8537         * ToolbarBackend.C (getIcon): special handling for
8538         LFUN_MATH_DELIM
8539
8540 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8541
8542         * text2.C (cursorRight): a getChar assert fixed
8543
8544 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8545
8546         * text2.C (getFont): change to take a ParagraphList::iterator
8547         instead of Paragraph*
8548         Adjust several functions.
8549
8550         * text.C (transformChar): change to take a ParagraphList::iterator
8551         instead of Paragraph*
8552         (singleWidth): ditto
8553         Adjust several functions.
8554
8555         * rowpainter.C: adjust several functions
8556         * rowpainter.h:store a ParagraphList::iterator and not a
8557         Paragraph&.
8558
8559
8560 2003-04-09  John Levon  <levon@movementarian.org>
8561
8562         * lyxfunc.C:
8563         * lfuns.h:
8564         * LyXAction.h:
8565         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8566         and the "help" bits as well
8567
8568 2003-04-09  John Levon  <levon@movementarian.org>
8569
8570         * ToolbarBackend.h:
8571         * ToolbarBackend.C: allow multiple toolbars
8572
8573 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8574
8575         * undo_funcs.C (setCursorParUndo): adjust
8576
8577         * text_funcs.C (transposeChars): adjust
8578
8579         * text3.C (gotoNextInset): adjust
8580         (dispatch): adjust
8581
8582         * text2.C (setLayout): adjust
8583         (changeDepth): adjust
8584         (setFont): adjust
8585         (redoParagraphs): adjust
8586         (selectionAsString): adjust
8587         (setParagraph): adjust
8588         (insertInset): adjust
8589         (cutSelection): adjust
8590         (copySelection): adjust
8591         (pasteSelection): adjust
8592         (insertStringAsLines): adjust
8593         (updateInset): adjust
8594         (setCursor): change to take a ParagraphList::iterator parameter
8595         (setCursorIntern): change to take a ParagraphList::iterator parameter
8596         (setCurrentFont): adjust
8597         (cursorLeft): adjust
8598         (cursorRight): adjust
8599         (deleteEmptyParagraphMechanism): adjust
8600
8601         * text.C (breakParagraph): adjust
8602         (insertChar): adjust
8603         (acceptChange): adjust
8604         (rejectChange): adjust
8605         (selectNextWordToSpellcheck): adjust
8606         (changeCase): adjust
8607         (Delete): adjust
8608         (backspace): adjust
8609
8610         * lyxfind.C (SearchForward): adjust
8611         (SearchBackward): adjust
8612         (nextChange): adjust
8613
8614         * lyxcursor.C (par): adjust
8615
8616         * lyxcursor.h: store a ParagraphList::iterator instead of a
8617         Paragraph*
8618
8619         * lyx_cb.C (getPossibleLabel): adjust
8620
8621         * bufferview_funcs.C (toggleAndShow): adjust
8622
8623         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8624         (dispatch): adjust
8625
8626         * BufferView.C (removeAutoInsets): adjust
8627         (lockedInsetStoreUndo): adjust
8628
8629 2003-04-09  John Levon  <levon@movementarian.org>
8630
8631         * ToolbarBackend.C: try icon without argument
8632         if with argument fails
8633
8634 2003-04-08  John Levon  <levon@movementarian.org>
8635
8636         * ToolbarBackend.h:
8637         * ToolbarBackend.C: add getIcon(), handle tooltip,
8638         and change from "Icon" to "Item".
8639
8640 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8641
8642         * BufferView.C (lockInset): another bad getchar crunched
8643
8644 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8645
8646         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8647         again)
8648
8649 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8650
8651         * lyxfind.C (searchForward, searchBackwards): bug 782
8652
8653 2003-04-07  John Levon  <levon@movementarian.org>
8654
8655         * paragraph.C: remove dead comment
8656
8657         * text.C: remove troublesome depth-fiddling code
8658         in leftMargin() and rightMargin() (bug 1017)
8659
8660         * text.C: fix breaking of rows in nested lists
8661         (bug 1004)
8662
8663         * text2.C (updateCounters): fix up depth values
8664         (bug 1013)
8665
8666 2003-04-07  John Levon  <levon@movementarian.org>
8667
8668         * BufferView_pimpl.C: clear message when doc finishes resizing,
8669         and after a mouse event
8670
8671         * lyxfunc.C: clear message after exiting inset
8672
8673 2003-04-07  John Levon  <levon@movementarian.org>
8674
8675         * bufferview_funcs.C: show math status not outside
8676         status in the statusbar
8677
8678 2003-04-07  John Levon  <levon@movementarian.org>
8679
8680         * lyxfunc.C: note status changed after a depth change
8681
8682 2003-04-04  Angus Leeming  <leeming@lyx.org>
8683
8684         * LaTeX.h: move AuxInfo operator==, != out of line.
8685         Remove LaTeX virtual destructor; nothing derives from it.
8686         Move operator()() out of public area and rename it startscript().
8687         Change protected for private.
8688
8689 2003-04-04  Angus Leeming  <leeming@lyx.org>
8690
8691         * lyxfunc.C:
8692         * text2.C: remove unneeded #includes.
8693
8694 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8695
8696         * text2.C (dEPM): fix the heigth of the next row
8697
8698 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8699
8700         * text.C: squashed an invalid getChar requester + some ws changes
8701
8702 2003-04-03  John Levon  <levon@movementarian.org>
8703
8704         * bufferview_funcs.h:
8705         * bufferview_funcs.C:
8706         * lyxfunc.C:
8707         * lyxtext.h:
8708         * text2.C: make getStatus work for the env depth lfuns
8709
8710 2003-04-03  John Levon  <levon@movementarian.org>
8711
8712         * bufferview_funcs.h:
8713         * bufferview_funcs.C:
8714         * lyxfunc.C:
8715         * lyxtext.h:
8716         * text2.C: parlistize decDepth(), by merging it with incDepth()
8717
8718 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8719
8720         * lyxrow.h: store a ParagraphList::iterator instead of a
8721         Paragraph* and adjust other class functions to suit.
8722
8723         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8724         above.
8725
8726 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8727
8728         * text2.C (setCursor): do not anchor to cursor row for the time being
8729
8730 2003-04-02  John Levon  <levon@movementarian.org>
8731
8732         * LyXAction.C:
8733         * lfuns.h:
8734         * lyx_main.C:
8735         * lyxtext.h:
8736         * text.C:
8737         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8738
8739 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8740
8741         * paragraph.h: make ParagraphList and ParagraphList::iterator
8742         friends of Paragraph.
8743
8744         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8745
8746         * ParagraphList.C: Use the private next_ and previous_ from
8747         Paragraph.
8748
8749 2003-04-01  John Levon  <levon@movementarian.org>
8750
8751         * ToolbarBackend.h:
8752         * ToolbarBackend.C:
8753         * Makefile.am: rename, remove defaults gunk
8754
8755         * MenuBackend.h:
8756         * MenuBackend.C: remove defaults gunk
8757
8758         * Languages.h:
8759         * Languages.C: remove defaults gunk
8760
8761         * lyx_main.h:
8762         * lyx_main.C: error out if files couldn't be found.
8763
8764 2003-04-02  John Levon  <levon@movementarian.org>
8765
8766         * text2.C: make incDepth() use parlist
8767
8768 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8769
8770         * undo_funcs.C (firstUndoParagraph): adjust
8771
8772         * text3.C (gotoInset): adjust
8773         (dispatch): adjust, and rewrite loop.
8774
8775         * text2.C (init): adjust, and rewrite loop.
8776         (redoParagraphs): adjust
8777         (updateInset): adjust, and rewrite loop.
8778         (deleteEmptyParagraphMechanism): adjust
8779
8780         * tabular.C (LyXTabular): adjust
8781         (SetMultiColumn): adjust
8782         (TeXRow): adjust
8783
8784         * lyxtext.[Ch] (ownerParagraph): delete function
8785         (ownerParagraphs): new function returns a ParagraphList.
8786
8787         * BufferView.C (removeAutoInsets): adjust
8788         (insertErrors): adjust
8789         (setCursorFromRow): adjust
8790
8791 2003-04-01  Angus Leeming  <leeming@lyx.org>
8792
8793         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8794         in the frontends.
8795
8796 2003-04-02  John Levon  <levon@movementarian.org>
8797
8798         * lyxtext.h:
8799         * text.C:
8800         * Makefile.am:
8801         * text_funcs.h:
8802         * text_funcs.C: make transposeChars a free function
8803
8804         * lyxrow_funcs.C: remove wrong comment
8805
8806 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8807
8808         * lyxtext.h: adjust
8809         * rowpainter.C: adjust
8810         * text.C: adjust
8811         * text2.C: adjust
8812         * text3.C: adjust
8813
8814         * lyxrow_funcs. [Ch]: new files
8815
8816         * lyxrow.[Ch]: remove next and previous pointers
8817         (next,previous): remove accessor functions
8818         (isParEnd): move to lyxrow_funcs
8819         (lastPos): move to lyxrow_funcs
8820         (nextRowIsAllInset): move to lyxrow_funcs
8821         (lastPrintablePos): move to lyxrow_funcs
8822         (numberOfSeparators): move to lyxrow_funcs
8823         (numberOfHfills): move to lyxrow_funcs
8824         (numberOfLabelHfills): move to lyxrow_funcs
8825         (hfillExpansion): move to lyxrow_funcs
8826
8827         * lyxfunc.C: adjust
8828
8829         * bufferview_funcs.C (toggleAndShow): adjust
8830
8831         * RowList.h: Remove class RowList from file leave just a
8832         std::list<Row>.
8833
8834         * RowList.C: delete file
8835
8836         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8837         and lyxrow_funcs.h
8838
8839 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8840
8841         * text3.C (cursorPrevious): adjust
8842         (cursorNext): adjust
8843         (dispatch): adjust
8844
8845         * text2.C (redoHeightOfParagraph): adjust
8846         (redoDrawingOfParagraph): adjust
8847         (setCursor): adjust
8848
8849         * text.C (breakParagraph): adjust
8850         (insertChar): adjust
8851         (backspace): adjust
8852
8853         * rowpainter.C (RowPainter): adjust
8854         (leftMargin): simplify and adjust
8855         (most rowpainter functions): adjust.
8856
8857         * rowpainter.h: store the row as RowList::iterator not as Row*
8858
8859         * lyxcursor.C (row): taka RowList::iterator as arg
8860         (irow): ditto
8861
8862         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8863         of Row*.
8864
8865 2003-04-01  Angus Leeming  <leeming@lyx.org>
8866
8867         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8868         stuff like bool Bool.
8869
8870 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8871
8872         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8873         rewrite a loop
8874
8875 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8876
8877         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8878         RowList::iterator.
8879
8880         * lyxtext.h (rows): drop one version and leve a const variant that
8881         returns a RowList::iterator.
8882
8883 2003-03-31  Angus Leeming  <leeming@lyx.org>
8884
8885         * text.C (fill): ensure that the signature is the same as that in the
8886         header file.
8887
8888 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8889
8890         * text2.C (redoParagraphs): adjust
8891         (updateCounters): adjust
8892         (checkParagraph): adjust
8893         (getColumnNearX): adjust and reformat a bit.
8894
8895         * text.C (top_y): adjust
8896         (workWidth): adjust
8897         (leftMargin): adjust
8898         (prepareToPrint): adjust
8899         (getRow): adjust
8900         (getRowNearY): adjust
8901
8902         * lyxtext.h: make rowlist_ mutable.
8903
8904         * RowList.h: add const_iterator
8905         * RowList.C: adjust for RowList::const_iterator.
8906
8907         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8908         adjust.
8909
8910 2003-03-31  John Levon  <levon@movementarian.org>
8911
8912         * lyxrc.h:
8913         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8914
8915         * lyx_main.C: set default fonts from using lyx_gui funcs
8916
8917         * exporter.C: pdf_mode moved from lyxrc
8918
8919         * lyx_cb.C:
8920         * lyxfunc.C: changes from above
8921
8922 2003-03-31  John Levon  <levon@movementarian.org>
8923
8924         * lyx_main.C: fix to the last fix
8925
8926 2003-03-31  John Levon  <levon@movementarian.org>
8927
8928         * bufferlist.C: "Load original" -> "Load Original"
8929
8930         * converter.C:
8931         * exporter.C:
8932         * importer.C:
8933         * lyx_main.C:
8934         * format.C: more Alert cleanups
8935
8936 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8937
8938         * text2.C (removeParagraph): make it take a RowList::iterator as
8939         arg, adjust.
8940         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8941         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8942
8943         * text.C (anchor_row): make it take a RowList::iterator as arg,
8944         adjust.
8945         (computeBidiTables): make it take a const reference to Row instead
8946         of Row pointer, adjust.
8947         (leftMargin): make it take a RowList::iterator as arg, adjust.
8948         (rowBreakPoint): adjust
8949         (breakAgainOneRow): make it take a RowList::iterator as arg,
8950         adjust.
8951         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8952
8953         * bufferview_funcs.C (toggleAndShow): adjust
8954
8955 2003-03-30  John Levon  <levon@movementarian.org>
8956
8957         * Makefile.am:
8958         * BoostFormat.h:
8959         * boost-inst.C: moved to support
8960
8961         * several files: changes as a result
8962
8963 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8964
8965         * text2.C (LyXText): adjust.
8966         (init): adjust
8967         (removeRow): make it take a RowList::iterator as arg, adjust.
8968         (fullRebreak): adjust
8969         (deleteEmptyParagraphMechanism): adjust
8970         (clearPaint): adjust
8971         (postPaint): adjust
8972
8973         * text.C (top_y): adjust
8974         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8975         (breakAgain): make it take a RowList::iterator as arg, adjust.
8976         (breakParagraph): adjust
8977         (insertChar): adjust
8978         (backspace): adjust
8979
8980         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8981         need_break_row, and refresh_row.
8982
8983         * text3.C (dispatch): adjust
8984
8985         * text2.C (checkParagraph): adjust
8986         (setCursor): adjust
8987         (setCursorFromCoordinates): adjust
8988
8989         * text.C (top_y): adjust
8990         (workWidth): adjust
8991         (getRow): make it return a RowList::iterator, adjust
8992         (getRowNearY): make it return a RowList::iterator, adjust
8993
8994         * text2.C (init): adjust
8995         (insertRow): remove function
8996         (insertParagraph): adjust
8997         (redoParagraphs): adjust
8998         (fullRebreak): adjust
8999         (updateCounters): adjust
9000
9001         * text.C (top_y): rewrite to use RowList iterators.
9002         (top_y): adjust
9003         (setHeightOfRow): rewrite to sue RowList iterators.
9004         (appendParagraph): adjust
9005         (breakAgain): adjust
9006         (breakAgainOneRow): adjust
9007         (breakParagraph): adjust
9008         (getRow): adjust
9009         (getRowNearY): adjust, and remove commented code.
9010
9011         * lyxtext.h (firstRow): delete function
9012         (lastRow): delete function
9013         (rows): new function (const and non-const versions.)
9014         (insertRow): delete function
9015
9016         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9017
9018 2003-03-29  John Levon  <levon@movementarian.org>
9019
9020         * BufferView_pimpl.C: always update scrollbar top
9021         because pasting text when we're anchored could mean we
9022         miss an update altogether
9023
9024 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9025
9026         * text2.C (init): use rowlist_.end() and not 0.
9027         (insertRow): change to take a RowList::iterator as arg, adjust
9028         for this.
9029         (insertParagraph): change to take a RowList::iterator as arg,
9030         adjust for this.
9031         (redoParagraphs): remove some debug msgs.
9032
9033         * text.C (appendParagraph): change to take a RowList::iterator
9034         arg, adjust for this.
9035         (breakAgain): add an assert
9036         (breakAgainOneRow): ditto
9037
9038 2003-03-29  John Levon  <levon@movementarian.org>
9039
9040         * text2.C: do not clear selection after inc/decDepth
9041         (bug 550)
9042
9043 2003-03-29  John Levon  <levon@movementarian.org>
9044
9045         * BufferView.C:
9046         * buffer.C: fix broken strerrors according to Lars
9047
9048 2003-03-29  John Levon  <levon@movementarian.org>
9049
9050         * converters.C: more Alert cleanups
9051
9052 2003-03-29  John Levon  <levon@movementarian.org>
9053
9054         * bufferview_funcs.C: remove pointless Alert
9055
9056         * buffer.C: fix confusing error message when
9057         a template is chmoded 000
9058
9059 2003-03-29  John Levon  <levon@movementarian.org>
9060
9061         * BufferView.C:
9062         * BufferView.h:
9063         * BufferView_pimpl.C: Alert fixes
9064
9065         * Makefile.am:
9066         * tabular.C:
9067         * tabular-old.C: remove unused table compat reading
9068
9069 2003-03-29  John Levon  <levon@movementarian.org>
9070
9071         * BufferView.C:
9072         * buffer.C:
9073         * lyx_cb.h:
9074         * lyx_cb.C: more Alert cleanups
9075
9076         * lyxfunc.C: don't allow chktex if not latex document
9077
9078 2003-03-29  John Levon  <levon@movementarian.org>
9079
9080         * lyx_cb.C:
9081         * BufferView.C:
9082         * buffer.C: warnings pushed down from support/,
9083         kill err_alert
9084
9085 2003-03-29  John Levon  <levon@movementarian.org>
9086
9087         * lyxfunc.C: safety check for C-r (revert)
9088
9089 2003-03-29  John Levon  <levon@movementarian.org>
9090
9091         * bufferlist.h:
9092         * bufferlist.C: several UI fixes using Alert::prompt.
9093         Fix the pointless looping quit code. Fix stupid revert
9094         behaviour (bug 938)
9095
9096         * lyxvc.h:
9097         * lyxvc.C:
9098         * lyx_cb.C: use Alert::prompt
9099
9100         * lyx_main.C: remove a silly question
9101
9102         * lyxfunc.C: remove a couple of silly questions,
9103         use Alert::prompt
9104
9105 2003-03-28  John Levon  <levon@movementarian.org>
9106
9107         * text2.C: fix bug 974 (End on empty par)
9108
9109 2003-03-28  John Levon  <levon@movementarian.org>
9110
9111         * BufferView_pimpl.C:
9112         * LyXAction.C:
9113         * lfuns.h: remove do-nothing math greek lfuns
9114
9115 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9116
9117         * lyxgluelength.h (isValidGlueLength): add default arg on
9118         parameter 2. Remove default arg from friend in class.
9119
9120         * lyxlength.h (isValidLength): add default arg on parameter 2.
9121         Remove default arg from friend in class.
9122
9123         * text2.C (LyXText): adjust, initialize refresh_row.
9124         (init): adjust
9125         (removeRow): adjust
9126         (insertRow): adjust
9127         (insertParagraph): adjst
9128         (redoParagraphs): adjust
9129         (fullRebreak): adjust
9130         (updateCounters): adjust
9131         (deleteEmptyParagraphMechanism): first attempt at fixing a
9132         crashing bug.
9133
9134         * text.C (top_y): adjust
9135         (setHeightOfRow): adjust
9136         (getRow): adjust
9137         (getRowNearY): adjust
9138
9139         * lyxtext.h: include RowList.h
9140         (~LyXText): not needed anymore, deleted.
9141         (firstRow): modify for RowList
9142         (lastRow): new function
9143         Delete firstrow and lastrow class variables, add a Rowlist
9144         rowlist_ class variable.
9145
9146         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9147         paragraph is empty.
9148
9149         * RowList.C (insert): fix case where it == begin().
9150
9151 2003-03-26  Angus Leeming  <leeming@lyx.org>
9152
9153         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9154         the thesaurus dialog.
9155
9156 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9157
9158         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9159
9160         * RowList.[Ch]: new files
9161
9162         * ParagraphList.C (erase): handle the case where it == begin
9163         correctly.
9164
9165 2003-03-25  John Levon  <levon@movementarian.org>
9166
9167         * Makefile.am:
9168         * aspell_local.h:
9169         * aspell.C: add new aspell support
9170
9171         * lyxrc.h:
9172         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9173         have it accessible.
9174
9175 2003-03-25  Angus Leeming  <leeming@lyx.org>
9176
9177         * lfuns.h:
9178         * LyXAction.C (init): new LFUN_INSET_INSERT.
9179
9180         * BufferView_pimpl.C (dispatch): split out part of the
9181         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9182
9183         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9184         LFUN_INSET_APPLY.
9185
9186 2003-03-25  Angus Leeming  <leeming@lyx.org>
9187
9188         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9189
9190 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9191
9192         * text2.C:
9193         * text3.C: remove useless row->height(0)
9194
9195 2003-03-25  John Levon  <levon@movementarian.org>
9196
9197         * lyxtext.h:
9198         * text2.C:
9199         * text3.C: rename the refreshing stuff to better names
9200
9201 2003-03-24  John Levon  <levon@movementarian.org>
9202
9203         * BufferView_pimpl.h:
9204         * BufferView_pimpl.C: update layout choice on a mouse
9205         press/release
9206
9207 2003-03-23  John Levon  <levon@movementarian.org>
9208
9209         * Makefile.am: fix commandtags.h reference
9210
9211 2003-03-22  John Levon  <levon@movementarian.org>
9212
9213         * BufferView_pimpl.C:
9214         * lyxtext.h:
9215         * rowpainter.C:
9216         * rowpainter.h:
9217         * text.C:
9218         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9219
9220 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9221
9222         * lyxtext.h:
9223         * text.C: take the rtl methods out of line
9224
9225 2003-03-21 André Pönitz <poenitz@gmx.net>
9226
9227         * metricsinfo.[Ch]: new files containing structures to be passed around
9228         during the two-phase-drawing...
9229
9230 2003-03-21 André Pönitz <poenitz@gmx.net>
9231
9232         * lyxtextclass.C: read 'environment' tag.
9233
9234 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9235
9236         * text2.C (removeRow): fix bug 964
9237
9238 2003-03-20  John Levon  <levon@movementarian.org>
9239
9240         * rowpainter.C:
9241         * text.C:
9242         * text2.C: paint cleanups. Inset::update() dropped font
9243         parameter
9244
9245 2003-03-19  John Levon  <levon@movementarian.org>
9246
9247         * lyxfunc.C: only fitcursor/markDirty if available()
9248
9249 2003-03-19  John Levon  <levon@movementarian.org>
9250
9251         * commandtags.h: rename to ...
9252
9253         * lfuns.h: ... this, and renumber / cleanup
9254
9255 2003-03-19  John Levon  <levon@movementarian.org>
9256
9257         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9258         fit the cursor after an lfun
9259
9260         * BufferView.h:
9261         * BufferView.C:
9262         * BufferView_pimpl.h:
9263         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9264
9265         * LyXAction.C: layout-character should have ReadOnly
9266
9267         * ParagraphParameters.C:
9268         * buffer.C:
9269         * bufferview_funcs.C:
9270         * lyx_cb.C:
9271         * lyxfind.C:
9272         * lyxtext.h:
9273         * text.C:
9274         * text2.C:
9275         * text3.C:
9276         * undo_funcs.C: changes from above
9277
9278 2003-03-18  John Levon  <levon@movementarian.org>
9279
9280         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9281         remove it from update()
9282
9283         * lyxfunc.C: update layout choice after an lfun
9284
9285         * text3.C: remove extra updateLayoutChoice()s
9286
9287 2003-03-18  John Levon  <levon@movementarian.org>
9288
9289         * text.C: top_y change means full repaint, fix
9290         a drawing bug with cursor movement
9291
9292 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9293
9294         * lyxtext.h:
9295         * text.C:
9296         * text2.C: anchor row on setCursor
9297
9298 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9299
9300         * lyxtext.h: remove almost all mutable keywords
9301         * text.C:
9302         * text2.C:
9303         * text3.C: remove const keywords accordingly
9304
9305 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9306
9307         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9308         anon namespace
9309         (TeXEnvironment): ditto
9310         (TeXOnePar): ditto
9311
9312 2003-03-17  John Levon  <levon@movementarian.org>
9313
9314         * text.C (rowBreakPoint): remove attempt to fix displayed
9315         math insets inside a manual label
9316
9317 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9318
9319         * lyxtext.h: remove BufferView* as first arg from almost all class
9320         functions.
9321         * other files: adjust.
9322
9323 2003-03-17  John Levon  <levon@movementarian.org>
9324
9325         * lyxtext.h:
9326         * undo_funcs.C:
9327         * text2.C: more paint cleanups
9328
9329         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9330
9331         * rowpainter.h:
9332         * rowpainter.C: remove "smart" background painting code
9333
9334 2003-03-16  John Levon  <levon@movementarian.org>
9335
9336         * lyxtext.h:
9337         * text.C:
9338         * text2.C:
9339         * text3.C: add helper functions for setting refresh_row/y
9340
9341 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9342
9343         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9344         newline inset which *can* get inserted in the pass_thru layouts.
9345         This is primarily for literate documents.
9346
9347 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9348
9349         * buffer.C: increment LYX_FORMAT to 223
9350
9351 2003-03-14 André Pönitz <poenitz@gmx.net>
9352
9353         * textclass.h: prepare for environment handling, ws changes
9354         * lyxlayout.C: read latexheader and latexfooter tags
9355
9356 2003-03-14  John Levon  <levon@movementarian.org>
9357
9358         * text2.C: rewrite ::status() a bit
9359
9360 2003-03-13  John Levon  <levon@movementarian.org>
9361
9362         * lyxtext.h: add some docs
9363
9364 2003-03-13  John Levon  <levon@movementarian.org>
9365
9366         * lyxtext.h:
9367         * text.C:
9368         * text2.C:
9369         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9370
9371 2003-03-13  John Levon  <levon@movementarian.org>
9372
9373         * text3.C: fix appendix redrawing
9374
9375 2003-03-13  John Levon  <levon@movementarian.org>
9376
9377         * text.C (setHeightOfRow):
9378         * rowpainter.h:
9379         * rowpainter.C: make appendix mark have the text
9380           "Appendix" so the user knows what it is
9381
9382         * LColor.h:
9383         * LColor.C: s/appendixline/appendix/ from above
9384
9385 2003-03-13  John Levon  <levon@movementarian.org>
9386
9387         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9388
9389         * text.C: fix a getChar(pos) bug properly
9390
9391 2003-03-13  Angus Leeming  <leeming@lyx.org>
9392
9393         * commandtags.h:
9394         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9395         Probably only temporary. Let's see how things pan out.
9396
9397         * BufferView.C (unlockInset):
9398         * BufferView_pimpl.C (fitCursor):
9399         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9400
9401         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9402         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9403
9404         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9405         new functions that convert ParagraphParameters to and from a string.
9406
9407         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9408         BufferView::Pimpl's dispatch.
9409         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9410
9411 2003-03-13 André Pönitz <poenitz@gmx.net>
9412
9413         * lyxfunc.C:
9414         * text3.C:
9415         * factory.C: make it aware of InsetEnv
9416
9417 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9418
9419         * text2.C (setCursor): never ask for one past last
9420         (setCursor): add some debugging messages.
9421
9422         * text.C (singleWidth): never ask for one past last
9423         (singleWidth): ditto
9424         (leftMargin): ditto
9425         (rightMargin): ditto
9426         (rowBreakPoint): ditto
9427         (setHeightOfRow): ditto
9428         (prepareToPrint): ditto
9429
9430         * rowpainter.C (paintBackground): never ask for one past last
9431         (paintText): never ask for one past last
9432
9433         * paragraph_pimpl.C (getChar): make the assert stricter, never
9434         allow the one past last pos to be taken
9435
9436         * paragraph.C (getChar): ws changes only
9437
9438         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9439         (numberOfSeparators): ditto
9440         (numberOfHfills): ditto
9441
9442 2003-03-12  John Levon  <levon@movementarian.org>
9443
9444         * author.h:
9445         * author.C:
9446         * bufferparams.h:
9447         * bufferparams.C:
9448         * paragraph_funcs.C: fix per-buffer authorlists
9449
9450 2003-03-12  John Levon  <levon@movementarian.org>
9451
9452         * text.C: fix newline in right address
9453
9454 2003-03-12  Angus Leeming  <leeming@lyx.org>
9455
9456         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9457         duplicate those in LyXFunc::dispatch.
9458
9459         * commandtags.h:
9460         * LyXAction.C:
9461         * ToolbarDefaults.C:
9462         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9463         Add LFUN_FONTFREE_UPDATE.
9464
9465         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9466         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9467
9468         * bufferview_func.[Ch]: several new functions to facilliate
9469         transfer of data to and from the character dialog.
9470
9471 2003-03-12  John Levon  <levon@movementarian.org>
9472
9473         * buffer.C:
9474         * paragraph.h:
9475         * paragraph.C:
9476         * paragraph_funcs.C:
9477         * paragraph_pimpl.C:
9478         * sgml.C:
9479         * tabular.C:
9480         * text.C:
9481         * text3.C: remove META_NEWLINE in favour of an inset
9482
9483         * rowpainter.h:
9484         * rowpainter.C: remove paintNewline (done by inset)
9485
9486 2003-03-12  John Levon  <levon@movementarian.org>
9487
9488         * paragraph_pimpl.C: complain about bad getChar()s
9489         for a while at least
9490
9491 2003-03-12  John Levon  <levon@movementarian.org>
9492
9493         * buffer.h:
9494         * buffer.C: move paragraph read into a separate function,
9495         a little renaming to reflect that.
9496
9497         * bufferparams.h:
9498         * bufferparams.C: remove the author_ids map, not necessary now
9499
9500         * factory.h:
9501         * factory.C: moved Buffer::readInset to here
9502
9503         * paragraph_funcs.h:
9504         * paragraph_funcs.C: readParagraph free function moved from
9505         buffer.C
9506
9507         * tabular.C: name change
9508
9509 2003-03-12  John Levon  <levon@movementarian.org>
9510
9511         * buffer.C:
9512         * ParagraphParameters.C: move par params input to
9513         a read() method
9514
9515         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9516         behave like a normal read from the stream wrt reading
9517         a line vs. a \\token
9518
9519 2003-03-12  John Levon  <levon@movementarian.org>
9520
9521         * paragraph.C:
9522         * ParagraphParameters.h:
9523         * ParagraphParameters.C: move output code to a
9524         ::write() method
9525
9526 2003-03-12  John Levon  <levon@movementarian.org>
9527
9528         * BufferView.C (insertLyXFile):
9529         * buffer.h:
9530         * buffer.C:
9531         * tabular.C: use a parlist iterator for creating the
9532           document.
9533
9534 2003-03-12  John Levon  <levon@movementarian.org>
9535
9536         * buffer.C: make current_change static local not
9537           static file-scope
9538
9539 2003-03-12  John Levon  <levon@movementarian.org>
9540
9541         * buffer.C: fix insertStringAsLines for change tracking
9542
9543 2003-03-12  John Levon  <levon@movementarian.org>
9544
9545         * BufferView.C:
9546         * tabular.C:
9547         * buffer.h:
9548         * buffer.C:
9549         * bufferparams.h:
9550         * bufferparams.C: move author list into params. Rename some
9551           functions. Move the header reading into a separate token
9552           loop. Move the header token reading into BufferParams.
9553
9554 2003-03-12  John Levon  <levon@movementarian.org>
9555
9556         * changes.C: put debug inside lyxerr.debugging() checks
9557
9558 2003-03-11 André Pönitz <poenitz@gmx.net>
9559
9560         * factory.C: make it aware of InsetHFill
9561
9562 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9563
9564         * buffer.C (latexParagraphs): move function from here...
9565         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9566         args.
9567
9568 2003-03-10  Angus Leeming  <leeming@lyx.org>
9569
9570         * LyXAction.C (init): fix bug in poplating array with multiple entries
9571         with the same LFUN (spotted by JMarc).
9572
9573 2003-03-10  John Levon  <levon@movementarian.org>
9574
9575         * text.C:
9576         * text2.C: move getColumnNearX() near its
9577         only call site
9578
9579 2003-03-10  John Levon  <levon@movementarian.org>
9580
9581         * text.C: fix break before a minipage
9582
9583 2003-03-10  John Levon  <levon@movementarian.org>
9584
9585         * text.C: fix the last commit
9586
9587 2003-03-09  John Levon  <levon@movementarian.org>
9588
9589         * lyxtext.h:
9590         * text.C:
9591         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9592         bug 365 (don't break before insets unless needed). Don't
9593         return a value > last under any circumstances.
9594
9595 2003-03-09  Angus Leeming  <leeming@lyx.org>
9596
9597         * BufferView_pimpl.C (trackChanges, dispatch): call
9598         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9599
9600 2003-03-09  Angus Leeming  <leeming@lyx.org>
9601
9602         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9603         than Dialogs::showAboutlyx().
9604
9605 2003-03-09  Angus Leeming  <leeming@lyx.org>
9606
9607         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9608         than Dialogs::showTabularCreate().
9609
9610 2003-03-09  John Levon  <levon@movementarian.org>
9611
9612         * lyxtext.h:
9613         * text.C:
9614         * text2.C: 3rd arg to nextBreakPoint was always the same.
9615           Use references.
9616
9617 2003-03-08  John Levon  <levon@movementarian.org>
9618
9619         * lyxrow.C:
9620         * paragraph.C:
9621         * paragraph.h:
9622         * rowpainter.C:
9623         * text.C:
9624         * text2.C: Remove the "main" bit from the "main body"
9625           notion.
9626
9627 2003-03-08  John Levon  <levon@movementarian.org>
9628
9629         * text.C (leftMargin): The left margin of an empty
9630         manual label paragraph should not include the label width
9631         string length.
9632
9633         * text.C (prepareToPrint): don't attempt to measure hfills
9634         for empty manual label paragraphs - the answer should be 0
9635
9636 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9637
9638         * CutAndPaste.C: remove commented code and reindent.
9639
9640 2003-03-08  John Levon  <levon@movementarian.org>
9641
9642         * lyxfunc.h:
9643         * lyxfunc.C: move reloadBuffer()
9644
9645         * BufferView.h:
9646         * BufferView.C: to here
9647
9648         * lyxvc.C: add comment
9649
9650         * vc-backend.h:
9651         * vc-backend.C: call bv->reload() to avoid
9652           getStatus() check on MENURELOAD
9653
9654 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9655
9656         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9657         to an old format .dep file.
9658
9659 2003-03-07  Angus Leeming  <leeming@lyx.org>
9660
9661         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9662         when the LFUN_MOUSE_RELEASE should have been handled by
9663         inset->localDispatch.
9664
9665 2003-03-07  Angus Leeming  <leeming@lyx.org>
9666
9667         * BufferView_pimpl.C (dispatch):
9668         * LyXAction.C (init):
9669         * ToolbarDefaults.C (init):
9670         * commandtags.h:
9671         * lyxfunc.C (getStatus):
9672         remove LFUN_INSET_GRAPHICS.
9673
9674         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9675
9676 2003-03-07  Angus Leeming  <leeming@lyx.org>
9677
9678         * commandtags.h:
9679         * LyXAction.C (init):
9680         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9681
9682         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9683
9684         * commandtags.h:
9685         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9686
9687         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9688         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9689
9690 2003-03-07  Angus Leeming  <leeming@lyx.org>
9691
9692         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9693         remove "ert".
9694
9695 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9696
9697         * ParagraphList.C (front): new function
9698         (back): implement
9699
9700 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9701
9702         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9703         and top_row_offset_. removed var first_y.
9704         * text.C (top_y):
9705         * text2.C (LyXText, removeRow):
9706         * text3.C:
9707         * BufferView_pimpl.C:
9708         use these methods instead of using first_y
9709
9710 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9711
9712         * text2.C (pasteSelection): adjust for checkPastePossible
9713
9714         * CutAndPaste.C: remove Paragraph * buf and replace with
9715         ParagraphList paragraphs.
9716         (DeleteBuffer): delete
9717         (cutSelection): change the tc type to textclass_type
9718         (copySelection): change the tc type to textclass_type
9719         (copySelection): adjust for ParagraphList
9720         (pasteSelection): change the tc type to textclass_type
9721         (pasteSelection): adjust for Paragraphlist
9722         (nrOfParagraphs): simplify for ParagraphList
9723         (checkPastePossible): simplify for ParagraphList
9724         (checkPastePossible): remove unused arg
9725
9726         * ParagraphList.C (insert): handle the case where there are no
9727         paragraphs yet.
9728
9729         * CutAndPaste.h: make CutAndPaste a namespace.
9730
9731         * text3.C (dispatch): adjust
9732
9733         * text.C (breakParagraph): add a ParagraphList as arg
9734
9735         * paragraph_funcs.C (breakParagraph): change to take a
9736         BufferParams and a ParagraphList as args.
9737         (breakParagraphConservative): ditto
9738         (mergeParagraph): ditto
9739         (TeXDeeper): add a ParagraphList arg
9740         (TeXEnvironment): ditto
9741         (TeXOnePar): ditto
9742
9743         * buffer.C (readLyXformat2): adjust
9744         (insertStringAsLines): adjust
9745         (latexParagraphs): adjust
9746
9747         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9748         (cutSelection): adjust
9749         (pasteSelection): adjust
9750
9751         * BufferView_pimpl.C (insertInset): adjust
9752
9753 2003-03-05  Angus Leeming  <leeming@lyx.org>
9754
9755         * commandtags.h:
9756         * LyXAction.C (init):
9757         * BufferView_pimpl.C (dispatch):
9758         * lyxfunc.C (getStatus):
9759         remove LFUN_CHILD_INSERT.
9760
9761         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9762
9763 2003-03-05  Angus Leeming  <leeming@lyx.org>
9764
9765         * commandtags.h:
9766         * LyXAction.C (init):
9767         * src/factory.C (createInset):
9768         * lyxfunc.C (getStatus):
9769         * text3.C (dispatch):
9770         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9771
9772         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9773
9774 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9775
9776         * ParagraphList.C (insert): handle insert right before end()
9777         (erase): fix cases where it can be first or last paragraph.
9778
9779 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9780
9781         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9782         Paragraph::next and Paragraph::previous
9783         (TeXOnePar): ditto
9784
9785         * text.C (breakParagraph): adjust
9786
9787         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9788         BufferParams& as arg.
9789         (breakParagraph): use ParagraphList::insert
9790         (breakParagraphConservative): take a Buffer* instead of a
9791         BufferParams& as arg.
9792         (breakParagraphConservative): use ParagraphList::insert.
9793
9794         * buffer.C (insertStringAsLines): un-const it
9795         (insertStringAsLines): adjust
9796
9797         * ParagraphList.C (insert): new function
9798
9799         * CutAndPaste.C (pasteSelection): adjust
9800
9801         * text.C (backspace): adjust
9802
9803         * tabular.C (SetMultiColumn): adjust
9804
9805         * CutAndPaste.C (cutSelection): adjust
9806         (pasteSelection): adjust
9807
9808         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9809         Buffer const * as arg
9810
9811         * ParagraphList.C (erase): new function
9812         * paragraph_funcs.C (mergeParagraph): use it
9813         (mergeParagraph): make it take a Buffer* instead of a
9814         BufferParams* as arg
9815
9816         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9817         as arg
9818         (breakParagraphConservative): ditto
9819
9820         * paragraph.h: remove the breakParagraph friend
9821
9822         * paragraph.C (eraseIntern): new function
9823         (setChange): new function
9824
9825         * paragraph_funcs.C (mergeParagraph): make it take a
9826         ParagraphList::iterator instead of a Paragraph *, adjust
9827         accordingly.
9828
9829         * paragraph.h: move an #endif so that the change tracking stuff
9830         also works in the NO_NEXT case.
9831
9832 2003-03-04  Angus Leeming  <leeming@lyx.org>
9833
9834         * commandtags.h:
9835         * LyXAction.C: new LFUN_INSET_MODIFY.
9836
9837         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9838         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9839
9840 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9841
9842         * several files: ws changes only
9843
9844         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9845         (TeXEnvironment): ditto
9846         (TeXDeeper): ditto
9847
9848         * buffer.C (makeLaTeXFile): adjust
9849         (latexParagraphs): make it take ParagraphList::iterator as args
9850
9851 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9852
9853         * buffer.C (latexParagraphs): adjust
9854
9855         * paragraph.C (TeXOnePar): move function...
9856         (optArgInset): move function...
9857         (TeXEnvironment): move function...
9858         * paragraph_pimpl.C (TeXDeeper): move function...
9859         * paragraph_funcs.C: ...here
9860
9861         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9862
9863 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9864
9865         * buffer.C (readInset): remove compability code for old Figure and
9866         InsetInfo insets
9867
9868 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9869
9870         * buffer.C: ws changes
9871         (readInset):
9872
9873         * BufferView_pimpl.C: ditto
9874         * author.C: ditto
9875         * buffer.h: ditto
9876         * bufferlist.h: ditto
9877         * changes.h: ditto
9878         * lyxfunc.C: ditto
9879
9880 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9881
9882         * converter.[Ch]: split into itself +
9883         * graph.[Ch]
9884         * format.[Ch]
9885         * Makefile.am: += graph.[Ch] + format.[Ch]
9886         * MenuBackend.C
9887         * buffer.C
9888         * exporter.C
9889         * importer.C
9890         * lyx_main.C
9891         * lyxfunc.C
9892         * lyxrc.C: added #include "format.h"
9893
9894 2003-02-27  Angus Leeming  <leeming@lyx.org>
9895
9896         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9897           a label.
9898
9899         * factory.C (createInset): add "label" to the factory.
9900
9901         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9902           string and do no more.
9903
9904 2003-02-27  Angus Leeming  <leeming@lyx.org>
9905
9906         * commandtags.h:
9907         * LyXAction.C (init):
9908         * factory.C (createInset):
9909         * BufferView_pimpl.C (dispatch):
9910           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9911
9912         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9913
9914         * lyxfunc.C (dispatch):
9915         * text3.C (dispatch): pass name to params2string.
9916
9917 2003-02-26  Angus Leeming  <leeming@lyx.org>
9918
9919         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9920           blocks together.
9921           Rearrange the ~includes. Strip out the unnecessary ones.
9922
9923         * factory.C (createInset): reformat.
9924           create new insets for the various LFUN_XYZ_APPLY lfuns.
9925
9926 2003-02-26  John Levon  <levon@movementarian.org>
9927
9928         * lyxrow.h:
9929         * lyxrow.C: add isParStart,isParEnd helpers
9930
9931         * paragraph.h: make isInserted/DeletedText take refs
9932
9933         * paragraph_funcs.h:
9934         * paragraph_funcs.C: remove #if 0'd code
9935
9936         * lyxtext.h:
9937         * text3.C:
9938         * text2.C:
9939         * text.C: use lyxrow helpers above.
9940           Move draw and paint routines to RowPainter.
9941           Make several methods use refs not pointers.
9942           Make backgroundColor() const.
9943           Add markChangeInDraw(), isInInset().
9944           Merge changeRegionCase into changeCase.
9945           Make workWidth() shouldn't-happen code into an Assert.
9946
9947         * rowpainter.h:
9948         * rowpainter.C: new class for painting a row.
9949
9950         * vspace.h:
9951         * vspace.C: make inPixels take a ref
9952
9953 2003-02-26  Angus Leeming  <leeming@lyx.org>
9954
9955         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9956         LFUN_REF_APPLY.
9957
9958 2003-02-25  John Levon  <levon@movementarian.org>
9959
9960         * ispell.C: give the forked command a more accurate name
9961
9962 2003-02-22  John Levon  <levon@movementarian.org>
9963
9964         * toc.h:
9965         * toc.C: make TocItem store an id not a Paragraph *
9966           (bug #913)
9967
9968 2003-02-21  Angus Leeming  <leeming@lyx.org>
9969
9970         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9971           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9972           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9973           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9974           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9975           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9976
9977         * BufferView_pimpl.C (dispatch):
9978         * LyXAction.C (init):
9979         * factory.C (createInset):
9980         * lyxfunc.C (getStatus, dispatch):
9981         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9982
9983 2003-02-21  Angus Leeming  <leeming@lyx.org>
9984
9985         * BufferView_pimpl.C (MenuInsertLyXFile):
9986         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9987         * lyxfunc.C (menuNew, open, doImport):
9988           no longer pass a LyXView & to fileDlg.
9989
9990 2003-02-21  Angus Leeming  <leeming@lyx.org>
9991
9992         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9993         * LyXAction.C: change, BIBKEY to BIBITEM.
9994         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9995         Change InsetBibKey to InsetBibitem.
9996         Change BIBKEY_CODE to BIBITEM_CODE.
9997         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9998         * factory.C: replace insetbib.h with insetbibitem.h.
9999         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10000         * paragraph.C: replace insetbib.h with insetbibitem.h.
10001         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10002         Change bibkey() to bibitem().
10003         * text.C: remove insetbib.h.
10004         * text2.C: replace insetbib.h with insetbibitem.h.
10005         change bibkey() to bibitem().
10006         * text3.C: remove insetbib.h.
10007         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10008
10009 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10010
10011         * lyxrc.C (output): enclose user email in quotes (in case there are
10012         several words)
10013
10014 2003-02-18  John Levon  <levon@movementarian.org>
10015
10016         * buffer.h: add std::
10017
10018 2003-02-17  John Levon  <levon@movementarian.org>
10019
10020         * SpellBase.h:
10021         * ispell.h:
10022         * ispell.C:
10023         * pspell.h:
10024         * pspell.C: reworking. Especially in ispell, a large
10025           number of clean ups and bug fixes.
10026
10027         * lyxfunc.C: fix revert to behave sensibly
10028
10029 2003-02-17 André Pönitz <poenitz@gmx.net>
10030
10031         * LyXAction.C:
10032         * commandtags.h: new LFUN_INSERT_BIBKEY
10033
10034         * layout.h:
10035         * lyxlayout.C:
10036         * buffer.C:
10037         * factory.C:
10038         * text.C:
10039         * text2.C:
10040         * text3.C:
10041         * paragraph.[Ch]:
10042         * paragraph_func.C: remove special bibkey handling
10043
10044 2003-02-17  John Levon  <levon@movementarian.org>
10045
10046         * text.C (Delete): fix case where delete at the end of
10047           the very first paragraph would not merge the pars
10048
10049 2003-02-17  John Levon  <levon@movementarian.org>
10050
10051         * lyxrow.C: fix lastPrintablePos()
10052
10053 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10054
10055         * bufferparams.C (writeLaTeX): add a std:here
10056
10057         * buffer.C: and remove a using directive there
10058
10059 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10060
10061         * buffer.C (makeLaTeXFile): move the code that generates the
10062           preamble...
10063
10064         * bufferparams.C (writeLaTeX): ... in this new method
10065
10066         * LaTeXFeatures.C (getEncodingSet): make const
10067           (getLanguages): make const
10068
10069         * MenuBackend.C (binding): returns the binding associated to this
10070           action
10071           (add): sets the status of each item by calling getStatus. Adds
10072           some intelligence.
10073           (read): add support for OptSubMenu
10074           (expand): remove extra separator at the end of expanded menu
10075
10076 2003-02-15  John Levon  <levon@movementarian.org>
10077
10078         * BufferView.C:
10079         * BufferView_pimpl.C:
10080         * bufferlist.h:
10081         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10082           inset code that had no actual effect. Remove unneeded status
10083           code.
10084
10085 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10086
10087         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10088           in preamble
10089
10090 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10091
10092         * text.C (drawLengthMarker): also draw an arrow marker for
10093           symbolic lengths (medskip...)
10094
10095 2003-02-14  John Levon  <levon@movementarian.org>
10096
10097         * tabular.h:
10098         * tabular.C: better method names
10099
10100 2003-02-14  John Levon  <levon@movementarian.org>
10101
10102         * BufferView_pimpl.C:
10103         * bufferlist.C:
10104         * buffer.C:
10105         * converter.C:
10106         * lyx_cb.C:
10107         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10108           it's a more accurate name. Remove some pointless uses.
10109
10110 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10111
10112         * text2.C (LyXText): change order of initilizers to shut off
10113           warnings
10114
10115 2003-02-14  John Levon  <levon@movementarian.org>
10116
10117         * buffer.C: use ParIterator for getParFromID()
10118
10119         * paragraph.h:
10120         * paragraph.C:
10121         * paragraph_pimpl.h:
10122         * paragraph_pimpl.C: remove unused getParFromID()
10123
10124 2003-02-14  John Levon  <levon@movementarian.org>
10125
10126         * buffer.C: remove some very old #if 0'd parse code
10127
10128 2003-02-13  John Levon  <levon@movementarian.org>
10129
10130         * text.h:
10131         * text.C:
10132         * text2.C: move hfillExpansion(), numberOfSeparators(),
10133           rowLast(), rowLastPrintable(), numberofHfills(),
10134           numberOfLabelHfills() ...
10135
10136         * lyxrow.h:
10137         * lyxrow.C: ... to member functions here.
10138
10139         * paragraph.h:
10140         * paragraph.C:
10141         * lyxtext.h:
10142         * text.C: remove LyXText::beginningOfMainBody(), and call
10143           p->beginningOfMainBody() directly. Move the check for
10144           LABEL_MANUAL into the latter.
10145
10146         * text.h:
10147         * text.C:
10148         * text2.C:
10149         * vspace.C:
10150         * BufferView.h:
10151         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10152
10153         * text.h:
10154         * text.C:
10155         * text2.C:
10156         * text3.C:
10157         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10158           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10159
10160 2003-02-13  John Levon  <levon@movementarian.org>
10161
10162         * CutAndPaste.C: remove debug
10163
10164 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10165
10166         * paragraph.C (asString): remove two unused variables
10167
10168         * lyxtextclass.C (readTitleType):
10169           (Read):
10170           (LyXTextClass): handle new members titletype_ and titlename_
10171
10172         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10173
10174 2003-02-09  John Levon  <levon@movementarian.org>
10175
10176         * buffer.h:
10177         * buffer.C: replace hand-coded list with a map for the dep clean
10178
10179 2003-02-08  John Levon  <levon@movementarian.org>
10180
10181         * LaTeX.C: consolidate code into showRunMessage() helper
10182
10183 2003-02-08  John Levon  <levon@movementarian.org>
10184
10185         * lyxfind.C:
10186         * lyxtext.h:
10187         * text2.C:
10188         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10189           and pass the size in explicitly
10190
10191         * BufferView_pimpl.h:
10192         * BufferView_pimpl.C:
10193         * BufferView.h:
10194         * BufferView.C: add getCurrentChange()
10195
10196         * BufferView_pimpl.h:
10197         * BufferView_pimpl.C: handle change lfuns
10198
10199         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10200           for changes. Mark pasted paragraphs as new.
10201
10202         * support/lyxtime.h:
10203         * support/lyxtime.C:
10204         * DepTable.C: abstract time_t as lyx::time_type
10205
10206         * LColor.h:
10207         * LColor.C: add colours for new text, deleted text, changebars
10208
10209         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10210           package use "usenames" option.
10211
10212         * commandtags.h:
10213         * lyxfunc.C:
10214         * LyXAction.C: add change lfuns
10215
10216         * Makefile.am:
10217         * author.h:
10218         * author.C: author handling
10219
10220         * buffer.h:
10221         * buffer.C: add a per-buffer author list, with first entry as
10222           current author. Handle new .lyx tokens for change tracking. Output
10223           author list to .lyx file. Output dvipost stuff to .tex preamble.
10224           Bump lyx format to 222.
10225
10226         * bufferlist.h:
10227         * bufferlist.C: add setCurrentAuthor() to reset current author details
10228           in all buffers.
10229
10230         * bufferparams.h:
10231         * bufferparams.C: add param for tracking
10232
10233         * bufferview_funcs.C: output change info in minibuffer
10234
10235         * Makefile.am:
10236         * changes.h:
10237         * changes.C: add change-tracking structure
10238
10239         * debug.h:
10240         * debug.C: add CHANGES debug flag
10241
10242         * lyxfind.h:
10243         * lyxfind.C: add code for finding the next change piece
10244
10245         * lyxrc.h:
10246         * lyxrc.C: add user_name and user_email
10247
10248         * lyxrow.h:
10249         * lyxrow.C: add a metric for the top of the text line
10250
10251         * lyxtext.h:
10252         * text.C: implement accept/rejectChange()
10253
10254         * lyxtext.h:
10255         * text.C: paint changebars. Paint new/deleted text in the chosen
10256         colours. Strike through deleted text.
10257
10258         * paragraph.h:
10259         * paragraph.C:
10260         * paragraph_pimpl.h:
10261         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10262           in the current change to the insert functions. Rework erase to
10263           mark text as deleted, adding an eraseIntern() and a range-based
10264           erase(). Implement per-paragraph change lookup and
10265           accept/reject.
10266
10267         * paragraph_funcs.C: Fixup paste for change tracking.
10268
10269         * tabular.C: mark added row/columns as new.
10270
10271         * text.C: fix rowLast() to never return -1. Don't allow
10272           spellchecking of deleted text. Track transpose changes. Don't
10273           allow paragraph break or merge where appropriate.
10274
10275         * text2.C: leave cursor at end of selection after a cut.
10276
10277 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10278
10279         * text.C (getLengthMarkerHeight):
10280         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10281         visible on screen too.
10282
10283 2003-02-07  John Levon  <levon@movementarian.org>
10284
10285         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10286
10287 2003-02-05  Angus Leeming  <leeming@lyx.org>
10288
10289         * lyxserver.C (read_ready): revert my patch of 11 September last year
10290         as it sends PC cpu through the roof. Presumably this means that
10291         the lyxserver will no longer run on an Alpha...
10292
10293 2003-01-30  Angus Leeming  <leeming@lyx.org>
10294
10295         * factory.C (createInset): create an InsetCommandParam of type "index"
10296         and use it to 'do the right thing'.
10297
10298         * text2.C (getStringToIndex): ensure that cursor position is always
10299         reset to the reset_cursor position.
10300
10301 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10302
10303         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10304         disabled.
10305
10306 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10307
10308         * bufferview.C:
10309         * lyxcb.C:
10310         * lyxfunc.C: Output messages with identical spelling, punctuation,
10311         and spaces
10312
10313 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10314
10315         * MenuBackend.C (expandFormats): List only viewable export formats
10316         in "View" menu
10317
10318         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10319         message
10320
10321         * lyxfunc.C (getStatus): Make sure that formats other than
10322         "fax" can also be disabled
10323
10324 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10325
10326         * text3.C (dispatch): put the lfuns that insert insets in 3
10327         groups, and call doInsertInset with appropriate arguments.
10328         (doInsertInset): new function, that creates an inset and inserts
10329         it according to some boolean parameters.
10330
10331 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10332
10333         * buffer.C (readFile): remember to pass on 'par' when calling
10334         readFile recursively.
10335
10336 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10337
10338         * MenuBackend.C (expandFormats): add "..." to import formats.
10339
10340 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10341
10342         * paragraph.C (asString): Remove XForms RTL hacks.
10343
10344 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10345         * buffer.C: fix typo
10346
10347 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10348
10349         * Makefile.am (LIBS): delete var
10350         (lyx_LDADD): add @LIBS@ here instead.
10351
10352 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10353
10354         * Clarify the meaning of "wheel mouse jump"
10355
10356 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10357
10358         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10359         tabular in a float
10360
10361 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10362
10363         * importer.C (Loaders): do not preallocate 3 elements in the
10364         vector, since one ends up with 6 elements otherwise
10365
10366 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10367
10368         * DepTable.C (write): write the file name as last element of the
10369         .dep file (because it may contain spaces)
10370         (read): read info in the right order
10371
10372 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10373
10374         * paragraph_pimpl.C (simpleTeXBlanks):
10375         (simpleTeXSpecialChars):
10376         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10377
10378         * tabular.C (latex): add some missing case statements. Reindent.
10379
10380         * MenuBackend.C (expandToc): remove unused variable.
10381
10382 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10383
10384         * LColor.C:
10385         * LaTeX.C:
10386         * LyXAction.C:
10387         * MenuBackend.C:
10388         * buffer.C:
10389         * exporter.C:
10390         * lyxfunc.C:
10391         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10392         and the like.
10393
10394 2003-01-05  John Levon  <levon@movementarian.org>
10395
10396         * BufferView.h:
10397         * BufferView.C: add getEncoding()
10398
10399         * kbsequence.h:
10400         * kbsequence.C: do not store last keypress
10401
10402         * lyxfunc.h:
10403         * lyxfunc.C: store last keypress here instead. Pass encoding
10404           to getISOEncoded()
10405
10406 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10407
10408         * lyx_main.C (init): remove annoying error message when following
10409         symbolic links (bug #780)
10410
10411 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10412
10413         * text.C (insertChar):
10414         * lyxrc.C (getDescription): remove extra spaces
10415
10416 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10417
10418         * lyxrc.C (getDescription): remove extra spaces
10419
10420 2002-12-20  John Levon  <levon@movementarian.org>
10421
10422         * text3.C: hack fix for page up/down across tall rows
10423
10424 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10425
10426         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10427         not been invoked
10428
10429 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10430
10431         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10432         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10433         thesaurus is not compiled in
10434
10435 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10436
10437         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10438
10439 2002-12-16  Angus Leeming  <leeming@lyx.org>
10440
10441         * lyxrc.[Ch]:
10442         * lyx_main.C (init): remove override_x_deadkeys stuff.
10443
10444 2002-12-12  John Levon  <levon@movementarian.org>
10445
10446         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10447           insert. Only remove shift modifier under strict
10448           circumstances.
10449
10450 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10451
10452         * MenuBackend.C (expandToc): fix crash.
10453
10454 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10455
10456         * MenuBackend.C (expandToc): gettext on float names.
10457
10458 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10459
10460         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10461         implement bool empty() [bug 490]
10462
10463 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10464
10465         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10466
10467 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10468
10469         * several files: ws changes
10470
10471 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10472
10473         * text2.C (setCounter): clean up a bit, use boost.format.
10474         (updateCounters): initialize par upon declaration.
10475
10476         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10477         if the layout exists. We do not just store the layout any more.
10478         (SwitchLayoutsBetweenClasses): use boost.format
10479
10480 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10481
10482         * converter.C (convert): if from and to files are the same, use a
10483         temporary files as intermediary
10484
10485 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10486
10487         * commandtags.h:
10488         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10489
10490 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10491
10492         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10493
10494 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10495
10496         * tabular.C (asciiPrintCell): use string(size, char) instead of
10497         explicit loop.
10498
10499         * sgml.C (openTag): fix order of arguments to string constructor
10500         (closeTag): ditto
10501
10502         * lyxfunc.C (dispatch): use boost.format
10503
10504         * lots of files: change "c" -> 'c'
10505
10506 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10507
10508         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10509
10510 2002-11-25  Angus Leeming  <leeming@lyx.org>
10511
10512         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10513
10514         * lyx_main.C (init): compile fix.
10515
10516 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10517
10518         * lyx_cb.C (start): boost.formatify
10519         do not include <iostream>
10520
10521         * lengthcommon.C: ws only
10522
10523         * boost-inst.C,BoostFormat.h: add more explict instantations
10524
10525 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10526
10527         * lots of files: handle USE_BOOST_FORMAT
10528
10529 2002-11-21  John Levon  <levon@movementarian.org>
10530
10531         * pspell.C: fix compile
10532
10533 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10534
10535         * lyxfunc.C (dispatch): use boost::format
10536         (open): ditto
10537         (doImport): ditto
10538
10539         * lyxfont.C (stateText): use boost::format
10540
10541         * lyx_main.C (LyX): use boost::format
10542         (init): ditto
10543         (queryUserLyXDir): ditto
10544         (readRcFile): ditto
10545         (parse_dbg): ditto
10546         (typedef boost::function): use the recommened syntax.
10547
10548         * importer.C (Import): use boost::format
10549
10550         * debug.C (showLevel): use boost::format
10551
10552         * converter.C (view): use boost::format
10553         (convert): ditto
10554         (move): ditto
10555         (scanLog): ditto
10556
10557         * bufferview_funcs.C (currentState): use boost::format
10558
10559         * bufferlist.C (emergencyWrite): use boost::format
10560
10561         * buffer.C (readLyXformat2): use boost::format
10562         (parseSingleLyXformat2Token): ditto
10563
10564         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10565
10566         * LaTeX.C (run): use boost::format
10567
10568         * Chktex.C (scanLogFile): use boost::format
10569
10570         * BufferView_pimpl.C (savePosition): use boost::format
10571         (restorePosition): ditto
10572         (MenuInsertLyXFile): ditto
10573
10574         * BoostFormat.h: help file for explicit instation.
10575
10576 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10577
10578         * tabular.C (latex): Support for block alignment in fixed width
10579         columns.
10580
10581 2002-11-17  John Levon  <levon@movementarian.org>
10582
10583         * BufferView_pimpl.C:
10584         * lyx_cb.C:
10585         * lyxfunc.C: split filedialog into open/save
10586
10587 2002-11-08  Juergen Vigna  <jug@sad.it>
10588
10589         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10590         by my last patch (hopefully).
10591
10592 2002-11-08  John Levon  <levon@movementarian.org>
10593
10594         * iterators.h:
10595         * iterators.C:
10596         * buffer.h:
10597         * buffer.C:
10598         * paragraph.h:
10599         * paragraph.C:
10600         * toc.h:
10601         * toc.C: ParConstIterator, and use it (from Lars)
10602
10603 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10604
10605         * lyxtextclass.[Ch]: revise and add doxygen comments
10606
10607 2002-11-07  John Levon  <levon@movementarian.org>
10608
10609         * text.C: fix progress value for spellchecker
10610
10611         * toc.C: fix navigate menu for insetwrap inside minipage
10612
10613         * paragraph_funcs.C: added FIXME for suspect code
10614
10615 2002-11-07  John Levon  <levon@movementarian.org>
10616
10617         * BufferView_pimpl.C: fix redrawing of insets
10618           on buffer switch
10619
10620 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10621
10622         * text2.C (updateCounters): fix bug 668
10623
10624 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10625
10626         * text3.C (dispatch): Do not make the buffer dirty when moving the
10627         cursor.
10628
10629 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10630
10631         * vc-backend.C: STRCONV
10632         (scanMaster): ditto
10633
10634         * text2.C (setCounter): STRCONV
10635
10636         * paragraph.C (asString): STRCONV
10637
10638         * lyxlength.C (asString): STRCONV
10639         (asLatexString): ditto
10640
10641         * lyxgluelength.C (asString): STRCONV
10642         (asLatexString): ditto
10643
10644         * lyxfunc.C (dispatch): STRCONV
10645         (open): ditto
10646
10647         * lyxfont.C (stateText): STRCONV
10648
10649         * importer.C (Import): STRCONV
10650
10651         * counters.C (labelItem): STRCONV
10652         (numberLabel): ditto
10653         (numberLabel): remove unused ostringstream o
10654
10655         * chset.C: STRCONV
10656         (loadFile): ditto
10657
10658         * bufferview_funcs.C (currentState): STRCONV
10659
10660         * buffer.C (readFile): STRCONV
10661         (asciiParagraph): ditto
10662         (makeLaTeXFile): ditto
10663
10664         * Spacing.C (writeEnvirBegin): STRCONV
10665
10666         * LaTeXFeatures.C (getLanguages): STRCONV
10667         (getPackages): ditto
10668         (getMacros): ditto
10669         (getBabelOptions): ditto
10670         (getTClassPreamble): ditto
10671         (getLyXSGMLEntities): ditto
10672         (getIncludedFiles): ditto
10673
10674         * LaTeX.C: STRCONV
10675         (run): ditto
10676         (scanAuxFile): ditto
10677         (deplog): ditto
10678
10679         * LString.h: add the STRCONV macros
10680
10681         * BufferView_pimpl.C (savePosition): STRCONV
10682         (restorePosition): ditto
10683         (MenuInsertLyXFile): ditto
10684
10685         * vc-backend.C (scanMaster): change from submatch[...] to
10686         submatch.str(...)
10687
10688         * funcrequest.C: include config.h
10689
10690         * factory.C: include config.h
10691
10692         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10693
10694         * box.C: include config.h
10695
10696         * LaTeX.C (scanAuxFile): change from submatch[...] to
10697         submatch.str(...)
10698         (deplog): ditto
10699
10700 2002-10-25  Angus Leeming  <leeming@lyx.org>
10701
10702         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10703
10704         * ispell.[Ch] (setError): new method.
10705         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10706         Use setError() insetead of goto END.
10707
10708         * lyx_cb.C (AutoSave): move out child process into new class
10709         AutoSaveBuffer.
10710
10711 2002-10-30  John Levon  <levon@movementarian.org>
10712
10713         * text3.C: make start appendix undoable
10714
10715 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10716
10717         * lyxlength.C (inPixels): Fix returned value.
10718
10719         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10720         environment.
10721
10722 2002-10-24  Angus Leeming  <leeming@lyx.org>
10723
10724         * lyxgluelength.h: no need to forward declare BufferParams
10725         or BufferView, so don't.
10726
10727 2002-10-21  John Levon  <levon@movementarian.org>
10728
10729         * BufferView.C: menuUndo ->undo, redo
10730
10731         * BufferView.h: document, remove dead, make some methods private
10732
10733         * paragraph_funcs.h:
10734         * paragraph_funcs.C:
10735         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10736
10737         * buffer.h:
10738         * buffer.C:
10739         * sgml.h:
10740         * sgml.C: move sgml open/close tag into sgml.C
10741
10742         * bufferview_funcs.h: unused prototype
10743
10744         * lyxfunc.h:
10745         * lyxfunc.C: remove unused
10746
10747         * lyxtext.h:
10748         * text.C: remove unused
10749
10750 2002-10-21  John Levon  <levon@movementarian.org>
10751
10752         * BufferView.h:
10753         * BufferView.C:
10754         * BufferView_pimpl.h:
10755         * BufferView_pimpl.C: fix mouse wheel handling based on
10756           patch from Darren Freeman
10757
10758 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10759
10760         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10761
10762 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10763
10764         * lyxlength.C (inPixels): Fix hanfling of negative length.
10765         Fix LyXLength::MU case.
10766
10767 2002-10-16  John Levon  <levon@movementarian.org>
10768
10769         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10770
10771 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10772
10773         * converter.C (view): add support for $$i (file name) and $$p
10774         (file path) for the viewer command. If $$i is not specified, then
10775         it is appended to the command (for compatibility with old syntax)
10776
10777 2002-10-14  Juergen Vigna  <jug@sad.it>
10778
10779         * undo_funcs.C (textHandleUndo): alter the order in which the
10780         new undopar is added to the LyXText, as we have to set first
10781         the right prev/next and then add it as otherwise the rebuild of
10782         LyXText is not correct. Also reset the cursor to the right paragraph,
10783         with this IMO we could remove the hack in "redoParagraphs()".
10784
10785 2002-10-09  Angus Leeming  <leeming@lyx.org>
10786
10787         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10788         to turn off an optimisation if a new inset is to be inserted.
10789
10790 2002-10-11 André Pönitz <poenitz@gmx.net>
10791
10792         * lyxtext.h: make some functions public to allow access
10793         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10794
10795 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10796
10797         * text3.C (dispatch): when changing layout, avoid an infinite loop
10798         [bug #652]
10799
10800 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10801
10802         * lyxrc.C (read): treat a viewer or converter command of "none" as
10803         if it were empty.
10804
10805         * MenuBackend.C (expandFormats): for an update, also allow the
10806         formats that are not viewable
10807
10808         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10809         script if it is newer than the lyxrc.defaults in user directory
10810
10811 2002-10-07 André Pönitz <poenitz@gmx.net>
10812
10813         * text.C: Vitaly Lipatov's small i18n fix
10814
10815 2002-09-25  Angus Leeming  <leeming@lyx.org>
10816
10817         * ispell.h: doxygen fix.
10818
10819 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10820
10821         * buffer.h (readFile): Add a new argument to the method, to allow
10822         reading of old-format templates.
10823
10824 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10825
10826         * toc.C (getTocList): Get TOC from InsetWrap.
10827
10828 2002-09-16  John Levon  <levon@movementarian.org>
10829
10830         * lyxfunc.C: check tabular for cut/copy too
10831
10832 2002-09-12  John Levon  <levon@movementarian.org>
10833
10834         * LyXAction.C: tidy
10835
10836         * factory.h:
10837         * factory.C: add header
10838
10839         * paragraph_funcs.h:
10840         * paragraph_funcs.C: cleanup
10841
10842 2002-09-11  John Levon  <levon@movementarian.org>
10843
10844         * PrinterParams.h: odd/even default to true
10845
10846 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10847
10848         * PrinterParams.h: update printer parameters for new xforms dialog
10849
10850 2002-09-11  Angus Leeming  <leeming@lyx.org>
10851
10852         * lyxserver.C (read_ready): re-write to make it more transparent
10853         and to make it work in coherent fashion under Tru64 Unix.
10854
10855 2002-09-11  André Pönitz <poenitz@gmx.net>
10856
10857         * commandtags.h:
10858         * LyXAction.C:
10859         * text3.C: implement LFUN_WORDSEL
10860
10861 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10862
10863         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10864         make floatlist_ a boost::shared_ptr<FloatList>
10865
10866         * lyxtextclass.C: include FloatList.h
10867         (LyXTextClass): initialize floatlist_
10868         (TextClassTags): add TC_NOFLOAT
10869         (Read): match "nofloat" to TC_NOFLOAT and use it.
10870         (readFloat): modify call to floatlist_
10871         (floats): ditto
10872         (floats): ditto
10873
10874         * FloatList.[Ch] (FloatList): remove commented out float
10875         initialization.
10876         (erase): new function
10877
10878 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10879
10880         * MenuBackend.C (expandToc): fix crash when there is no document
10881         open
10882
10883 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10884
10885         * many files: Add insetwrap.
10886
10887 2002-09-09  John Levon  <levon@movementarian.org>
10888
10889         * text2.C: remove confusing and awkward depth wraparound
10890
10891 2002-09-09  John Levon  <levon@movementarian.org>
10892
10893         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10894
10895         * buffer.h:
10896         * buffer.C: remove getIncludeonlyList()
10897
10898         * paragraph.C:
10899         * lyxfunc.C: remove headers
10900
10901 2002-09-09  Juergen Vigna  <jug@sad.it>
10902
10903         * text.C (getColumnNearX): fix form Michael this is most
10904         probably a cut&paste bug.
10905
10906 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10907
10908         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10909
10910         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10911         references, ws changes.
10912
10913         * text2.C (init): update counters after init
10914         (insertParagraph): no need to set counter on idividual paragraphs.
10915         (setCounter): access the counters object in the textclass object
10916         on in the buffer object.
10917         (updateCounters): ditto
10918
10919         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10920         shared_ptr<Counters> to avoid loading counters.h in all
10921         compilation units.
10922         (LyXTextClass): initialize ctrs_
10923         (TextClassTags): add TC_COUNTER, and ...
10924         (Read): use it here.
10925         (CounterTags): new tags
10926         (readCounter): new function
10927         (counters): new funtion
10928         (defaultLayoutName): return a const reference
10929
10930         * counters.C (Counters): remove contructor
10931         (newCounter): remove a couple of unneeded statements.
10932         (newCounter): simplify a bit.
10933         (numberLabel): some small formatting changes.
10934
10935         * buffer.[Ch]: remove all traces of counters, move the Counters
10936         object to the LyXTextClass.
10937
10938 2002-09-06  Alain Castera  <castera@in2p3.fr>
10939
10940         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10941         package to set the horizontal alignment on fixed width columns.
10942
10943         * lyx_sty.C:
10944         * lyx_sty.h: added tabularnewline macro def.
10945
10946         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10947
10948 2002-09-06  John Levon  <levon@movementarian.org>
10949
10950         * LyXAction.C: tooltips for sub/superscript
10951
10952         * MenuBackend.C: a bit more verbose
10953
10954         * lyxfunc.C: tiny clean
10955
10956         * undo_funcs.C: document undo_frozen
10957
10958 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10959
10960         * counters.C (Counters): add missing algorithm counter.
10961
10962         * text2.C (setCounter): lookup the counter with layouts latexname
10963         instead of by section number.
10964         (setCounter): use a hackish way to lookup the correct enum
10965         counter.
10966         a float name->type change
10967         reset enum couners with counter name directly instead of depth value.
10968
10969         * counters.C (Counters): remove the push_backs, change to use the
10970         float type not the float name.
10971         (labelItem): remove unused string, float name->type change
10972
10973         * counters.h: don't include vector, loose the enums and sects vectors
10974
10975 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10976
10977         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10978         (Read): add float->TC_FLOAT to textclassTags
10979         (Read): and handle it in the switch
10980         (readFloat): new function
10981
10982         * FloatList.C (FloatList): comment out the hardcoded float
10983         definitions.
10984
10985         * lyxlayout.h: ws change.
10986
10987 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10988
10989         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10990
10991 2002-09-03  Angus Leeming  <leeming@lyx.org>
10992
10993         * BufferView_pimpl.h: qualified name is not allowed in member
10994         declaration: WorkArea & Pimpl::workarea() const;
10995
10996         * factory.C: added using std::endl directive.
10997
10998         * text3.C: added using std::find and std::vector directives.
10999
11000 2002-08-29  André Pönitz <poenitz@gmx.net>
11001
11002         * lyxtext.h:
11003         * text2.C: remove unused member number_of_rows
11004
11005         * Makefile.am:
11006         * BufferView2.C: remove file, move contents to...
11007         * BufferView.C: ... here
11008
11009         * BufferView_pimpl.C:
11010         * factory.C: move more inset creation to factory
11011
11012         * vspace.C: avoid direct usage of LyXText, ws changes
11013
11014         * BufferView.[Ch]:
11015                 don't provide direct access to WorkArea, use two simple
11016                 acessors haveSelction() and workHeight() instead
11017
11018
11019 2002-08-29  John Levon  <levon@movementarian.org>
11020
11021         * BufferView_pimpl.C (dispatch): do not continue when
11022           no buffer
11023
11024 2002-08-28  André Pönitz <poenitz@gmx.net>
11025
11026         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11027
11028         * BufferView.h:
11029         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11030
11031 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11032
11033         * buffer.C: increment LYX_FORMAT to 221
11034
11035         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11036         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11037
11038         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11039
11040         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11041
11042 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11043
11044         * factory.C (createInset): use LyXTextClass::floats
11045
11046         * MenuBackend.C (expandFloatListInsert):
11047         (expandFloatInsert):
11048         (expandToc):
11049
11050         * text2.C (setCounter):
11051
11052         * LaTeXFeatures.C (useFloat):
11053         (getFloatDefinitions):
11054
11055         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11056
11057         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11058         floatlist_, with accessor floats().
11059
11060         * FloatList.h: remove global FloatList
11061
11062 2002-08-26  André Pönitz <poenitz@gmx.net>
11063
11064         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11065
11066         * BufferView.h:
11067         * BufferView2.C:
11068         * BufferView_pimpl.C:
11069         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11070
11071 2002-08-25  John Levon  <levon@movementarian.org>
11072
11073         * LyXAction.C: fix margin note description
11074
11075 2002-08-24  John Levon  <levon@movementarian.org>
11076
11077         * buffer.C:
11078         * bufferlist.C:
11079         * bufferview_funcs.C:
11080         * lyxfont.C:
11081         * undo_funcs.C: cleanups
11082
11083         * lyxfunc.C: disable CUT/COPY when no selection
11084
11085 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11086
11087         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11088         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11089
11090         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11091         Add backward compatibility to "mono", "gray" and "no".
11092
11093 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11094
11095         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11096         (and file_format >= 200).
11097
11098 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11101
11102 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11103
11104         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11105
11106 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11107
11108         * BufferView_pimpl.C:
11109         * LyXAction.C:
11110         * buffer.C:
11111         * commandtags.h:
11112         * lyxfunc.C:
11113         * paragraph.[Ch]:
11114         * text2.C:
11115         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11116         inset and code to make it  work with the paragraph code. The inset
11117         can be anywhere in the paragraph, but will only do the expected
11118         thing in LaTeX if the layout file contains the parameter line
11119                         OptionalArgs    1
11120         (or more generally, a nonzero value) for that layout.
11121
11122 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11123
11124         * paragraph.h: remove the declaration of undefined counters class
11125         function.
11126
11127 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11128
11129         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11130         Dr. Richard Hawkins.
11131
11132 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11133
11134         * paragraph_funcs.h: remove some unneeded includes
11135
11136         * text.C (backspace): pasteParagraph now in global scipe
11137
11138         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11139         (pasteSelection): ditto
11140
11141         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11142         * paragraph_funcs.C (pasteParagraph): ... here
11143
11144 2002-08-20  André Pönitz <poenitz@gmx.net>
11145
11146         * commandtags.h: new LFUNs for swapping/copying table row/colums
11147
11148         * LyXAction.C:
11149         * lyxfunc.C: support for new lfuns
11150
11151 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11152
11153         * tabular.C:
11154         * buffer.[Ch]: remove NO_COMPABILITY stuff
11155
11156 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11157
11158         * boost.C (throw_exception): new file, with helper function for
11159         boost compiled without exceptions.
11160
11161         * paragraph.h:
11162         * lyxlength.C:
11163         * buffer.C:
11164         * ParameterStruct.h:
11165         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11166
11167         * bufferlist.C (emergencyWriteAll): use boost bind
11168
11169         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11170
11171         * text.C: include paragraph_funcs.h
11172         (breakParagraph): breakParagraph is now in global scope
11173
11174         * paragraph_funcs.[Ch]: new files
11175
11176         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11177         global scope
11178
11179         * buffer.C: include paragraph_funcs.h
11180         (insertStringAsLines): breakParagraph is now in global scope
11181
11182         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11183         paragraph_funcs.C
11184
11185         * CutAndPaste.C: include paragraph_funcs.h
11186         (cutSelection): breakParagraphConservative is now in global scope
11187         (pasteSelection): ditto
11188
11189         * buffer.h: declare oprator== and operator!= for
11190         Buffer::inset_iterator
11191
11192         * bufferlist.C (emergencyWrite): don't use fmt(...)
11193
11194         * text3.C: add using std::endl
11195
11196         * BufferView.C (moveCursorUpdate): remove default arg
11197
11198 2002-08-20  André Pönitz <poenitz@gmx.net>
11199
11200         * buffer.[Ch]: move inline functions to .C
11201
11202         * BufferView2.C:
11203         * BufferView_pimpl.C:
11204         * text.C:
11205         * buffer.[Ch]: use improved inset_iterator
11206
11207         * buffer.C:
11208         * paragraph.[Ch]: write one paragraph at a time
11209
11210 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11211
11212         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11213         style if style is not specified.
11214
11215 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11216
11217         * text2.C (setCounter): when searching for right label for a
11218         caption, make sure to recurse to parent insets (so that a caption
11219         in a minipage in a figure float works) (bug #568)
11220
11221 2002-08-20  André Pönitz <poenitz@gmx.net>
11222
11223         * text3.C: new file for LyXText::dispatch() and helpers
11224
11225         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11226
11227         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11228
11229 2002-08-19  André Pönitz <poenitz@gmx.net>
11230
11231         * lyxtext.h:
11232         * text.C: new LyXText::dispatch()
11233
11234         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11235
11236 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11237
11238         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11239
11240         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11241         Hebrew text.
11242
11243 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11244
11245         * Makefile.am: use $(variables) instead of @substitutions@
11246
11247 2002-08-15  André Pönitz <poenitz@gmx.net>
11248
11249         * lyxfunc.C:
11250         * BufferView_pimpl.C: streamlining mathed <-> outer world
11251         interaction
11252
11253         * commandtags.h:
11254         * LyXAction.C: remove unused LFUN_MATH
11255
11256 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11257
11258         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11259
11260 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11261
11262         * paragraph.C (Paragraph): reformat a bit
11263         (cutIntoMinibuffer): use builtin InsetList function instad of
11264         doing it manually.
11265         (getInset): ditto
11266
11267         * buffer.C: include boost/bind.hpp, add using std::for_each
11268         (writeFileAscii): use ParagraphList iterators
11269         (validate): use for_each for validate traversal of paragraphs
11270         (getBibkeyList): use ParagraphList iterators
11271         (resizeInsets): use for_each to resizeInsetsLyXText for all
11272         paragraphs.
11273         (getParFromID): use ParagraphList iterators
11274
11275         * BufferView2.C (lockInset): use paragraph list and iterators
11276
11277 2002-08-14  John Levon  <levon@movementarian.org>
11278
11279         * lyxserver.C: remove spurious xforms include
11280
11281 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11284
11285 2002-08-13  André Pönitz <poenitz@gmx.net>
11286
11287         * LyXAction.[Ch]:
11288         * lyxfunc.C: further cleaning
11289
11290 2002-08-13  André Pönitz <poenitz@gmx.net>
11291
11292         * funcrequest.h: new constructor
11293
11294         * funcrequest.C: move stuff here from .h
11295
11296         * Makefile.am:
11297         * BufferView_pimpl.C:
11298         * LyXAction.C:
11299         * toc.C:
11300         * lyxfunc.C: subsequent changes
11301
11302         * lyxfunc.h: new view() member function
11303
11304         * lyxfunc.C: subsequent changes
11305
11306 2002-08-13  Angus Leeming  <leeming@lyx.org>
11307
11308         * BufferView2.C:
11309         * BufferView_pimpl.C:
11310         * buffer.C:
11311         * converter.C:
11312         * importer.C:
11313         * lyxfunc.C:
11314         * lyxvc.C:
11315         * toc.C:
11316         * vc-backend.C:
11317         changes due to the changed LyXView interface that now returns references
11318         to member variables not pointers.
11319
11320 2002-08-13  Angus Leeming  <leeming@lyx.org>
11321
11322         * WordLangTuple (word, lang_code): return references to strings,
11323         not strings.
11324
11325         * BufferView.h:
11326         * SpellBase.h:
11327         * lyxtext.h: forward-declare WordLangTuple.
11328
11329         * BufferView2.C:
11330         * ispell.C:
11331         * pspell.C:
11332         * text.C: #include "WordLangTuple.h".
11333
11334         * lyxtext.h:
11335         * text.C: (selectNextWordToSpellcheck): constify return type.
11336
11337 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11338
11339         * buffer.C:
11340         * buffer.h:
11341         * lyxtext.h:
11342         * paragraph.C:
11343         * paragraph_pimpl.h:
11344         * text.C:
11345         * text2.C:
11346         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11347         suggested by Angus.
11348         Made updateCounter always count from start of buffer, and removed
11349         second argument (par).
11350         Reverted floats number display to '#'. Perhaps I'll try again when the
11351         code base is sanitized a bit.
11352
11353 2002-08-12  Angus Leeming  <leeming@lyx.org>
11354
11355         * buffer.[Ch] (getLabelList): constify.
11356
11357 2002-08-07  André Pönitz <poenitz@gmx.net>
11358
11359         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11360
11361         * funcrequest.h: extension to keep mouse (x,y) position
11362
11363 2002-08-12  Juergen Vigna  <jug@sad.it>
11364
11365         * BufferView2.C (insertErrors): forbid undo when inserting error
11366         insets.
11367
11368         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11369
11370 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11371
11372         * ParagraphList.[Ch]: new files
11373
11374         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11375
11376         * BufferView2.C (lockInset): ParagraphList changes
11377         * toc.C: ditto
11378         * text2.C: ditto
11379         * bufferlist.C: ditto
11380         * buffer.h: ditto
11381         * buffer.C: ditto
11382
11383 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11384
11385         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11386         unused class variable counter_,
11387
11388         * paragraph.[Ch] (getFirstCounter): delete unused function
11389
11390         * counters.C: include LAssert.h
11391         (reset): add a new function with no arg, change other version to
11392         not have def. arg and to not allow empty arg.
11393
11394         * text2.C (setCounter): remove empty arg from call to Counters::reset
11395
11396 2002-08-11  John Levon  <levon@movementarian.org>
11397
11398         * Makefile.am: add WordLangTuple.h
11399
11400 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11401
11402         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11403         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11404
11405         * insets/insettext.C: InsetList changes
11406
11407         * graphics/GraphicsSupport.C (operator()): InsetList changes
11408
11409         * toc.C (getTocList): InsetList changes
11410
11411         * paragraph_pimpl.[Ch]: InsetList changes
11412
11413         * paragraph.[Ch]: InsetList changes
11414
11415         * buffer.C (inset_iterator): InsetList changes
11416         (setParagraph): ditto
11417         * buffer.h (inset_iterator): ditto
11418         * iterators.C (operator++): ditto
11419         * iterators.h: ditto
11420
11421         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11422
11423         * InsetList.[Ch]: new files, most InsetList handling moved out of
11424         paragraph.C.
11425
11426         * BufferView2.C (removeAutoInsets): InsetList changes
11427         (lockInset): ditto
11428         (ChangeInsets): ditto
11429
11430 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11431
11432         * paragraph_pimpl.h (empty): new function
11433
11434         * paragraph.[Ch] (empty): new function
11435
11436         * other files: use the new Paragraph::empty function
11437
11438 2002-08-09  John Levon  <levon@movementarian.org>
11439
11440         * lyxtext.h: remove unused refresh_height
11441
11442 2002-08-09  John Levon  <levon@movementarian.org>
11443
11444         * Makefile.am:
11445         * sgml.h:
11446         * sgml.C:
11447         * buffer.C:
11448         * paragraph.h:
11449         * paragraph.C: move sgml char escaping out of paragraph
11450
11451         * paragraph.h:
11452         * paragraph.C: remove id setter
11453
11454         * buffer.C:
11455         * paragraph.C:
11456         * paragraph_pimpl.C: remove dead tex_code_break_column
11457
11458         * bufferview_funcs.C: small cleanup
11459
11460         * lyxfunc.C: remove dead proto
11461
11462         * lyxtext.h: make some stuff private. Remove some dead stuff.
11463
11464         * lyxgluelength.C: make as[LyX]String() readable
11465
11466 2002-08-08  John Levon  <levon@movementarian.org>
11467
11468         * LyXAction.h:
11469         * LyXAction.C:
11470         * MenuBackend.C:
11471         * ToolbarDefaults.C:
11472         * lyxfunc.C:
11473         * lyxrc.C:
11474         * toc.C: lyxaction cleanup
11475
11476 2002-08-08  John Levon  <levon@movementarian.org>
11477
11478         * BufferView2.C: small cleanup
11479
11480         * lyxfind.h:
11481         * lyxfind.C: move unnecessary header into the .C
11482
11483 2002-08-08  John Levon  <levon@movementarian.org>
11484
11485         * funcrequest.h: just tedious nonsense
11486
11487         * lyx_main.h:
11488         * lyx_main.C: cleanups
11489
11490         * buffer.C:
11491         * vspace.C: remove dead header lyx_main.h
11492
11493 2002-08-07  Angus Leeming  <leeming@lyx.org>
11494
11495         * Paragraph.[Ch]:
11496         * paragraph_pimpl.h:
11497         Forward declare class Counters in paragraph.h by moving the ctrs member
11498         variable into Paragraph::Pimpl.
11499         (counters): new method, returning a reference to pimpl_->ctrs.
11500
11501         * text2.C: ensuing changes.
11502
11503 2002-08-07  John Levon  <levon@movementarian.org>
11504
11505         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11506
11507         * BufferView_pimpl.C: announce X selection on double/triple
11508           click
11509
11510         * lyx_main.C: use correct bool in batch dispatch
11511
11512         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11513
11514 2002-08-07  André Pönitz <poenitz@gmx.net>
11515
11516         * funcrequest.h: new class to wrap a kb_action and its argument
11517
11518         * BufferView.[Ch]:
11519         * BufferView_pimpl[Ch]:
11520         * LaTeX.C:
11521         * LyXAction.[Ch]:
11522         * lyxfunc.[Ch]:
11523         * lyxrc.C: subsequent changes
11524
11525
11526 2002-08-07  John Levon  <levon@movementarian.org>
11527
11528         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11529           document options change.
11530
11531 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11532
11533         * counters.[Ch]
11534         * text2.C
11535         * paragraph.[Ch]
11536         * makefile.am: move counters functionality over from
11537         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11538
11539 2002-08-06  John Levon  <levon@movementarian.org>
11540
11541         * WordLangTuple.h: new file for word + language code tuple
11542
11543         * SpellBase.h:
11544         * pspell.h:
11545         * pspell.C:
11546         * ispell.h:
11547         * ispell.C:
11548         * lyxtext.h:
11549         * text.C:
11550         * text2.C:
11551         * BufferView.h:
11552         * BufferView2.C: use WordLangTuple
11553
11554         * layout.h:
11555         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11556
11557 2002-08-06  John Levon  <levon@movementarian.org>
11558
11559         * lyx_main.C: fix cmdline batch handling
11560
11561 2002-08-06  André Pönitz <poenitz@gmx.net>
11562
11563         * lyxrc.C: set default for show_banner to true
11564
11565 2002-08-06  John Levon  <levon@movementarian.org>
11566
11567         * pspell.C: fix a crash, and allow new aspell to work
11568
11569 2002-08-06  John Levon  <levon@movementarian.org>
11570
11571         * lyxfunc.C:
11572         * kbmap.C: small cleanup
11573
11574         * vspace.h:
11575         * vspace.C: add const
11576
11577 2002-08-05  John Levon  <levon@movementarian.org>
11578
11579         * LyXAction.C: back to tabular-insert
11580
11581 2002-08-04  John Levon  <levon@movementarian.org>
11582
11583         * BufferView.h:
11584         * BufferView.C: cosmetic change
11585
11586         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11587
11588         * bufferlist.C:
11589         * buffer.h:
11590         * buffer.C:
11591         * lyxcb.h:
11592         * lyxcb.C:
11593         * lyxserver.C:
11594         * lyxvc.C:
11595         * vc-backend.C:
11596         * BufferView2.C: purge all "Lyx" not "LyX" strings
11597
11598         * lyxcursor.h:
11599         * lyxcursor.C: attempt to add some documentation
11600
11601         * lyxfunc.C:
11602         * commandtags.h:
11603         * LyXAction.C:
11604         * ToolbarDefaults.C:
11605         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11606           merge with LFUN_TABULAR_INSERT
11607
11608         * Makefile.am:
11609         * SpellBase.h:
11610         * ispell.h:
11611         * ispell.C:
11612         * pspell.h:
11613         * pspell.C: split up i/pspell implementations into separate
11614           files, many cleanups
11615
11616         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11617
11618         * text2.C: some cleanup
11619
11620         * lyxfunc.C: don't check for isp_command == "none" any more, it
11621           didn't make any sense
11622
11623 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11624
11625         * counters.[Ch]
11626         * text2.C
11627         * paragraph.[Ch]
11628         * makefile.am: move counters functionality over
11629         from text2.C/paragraph.[Ch] to counters.[Ch], and
11630         make proper C++.
11631 2002-08-02  John Levon  <levon@movementarian.org>
11632
11633         * buffer.C: s/lyxconvert/lyx2lyx/
11634
11635 2002-08-02  Angus Leeming  <leeming@lyx.org>
11636
11637         * lyxlex.C: revert John's change as it breaks reading of the user
11638         preamble.
11639
11640 2002-08-02  Angus Leeming  <leeming@lyx.org>
11641
11642         * importer.C (Import):
11643         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11644         changes due to LyXView::view() now returning a boost::shared_ptr.
11645
11646 2002-08-02  John Levon  <levon@movementarian.org>
11647
11648         * lyxlex.C: small cleanup
11649
11650 2002-08-02  John Levon  <levon@movementarian.org>
11651
11652         * text2.C (status): small cleanup, no logic change
11653
11654 2002-08-01  John Levon  <levon@movementarian.org>
11655
11656         * buffer.h:
11657         * buffer.C (writeFile): don't output alerts, caller
11658           handles this
11659
11660         * bufferlist.C:
11661         * lyx_cb.C: from above
11662
11663         * lyxfunc.C: allow to open non-existent files
11664
11665 2002-07-31  John Levon  <levon@movementarian.org>
11666
11667         * lyxserver.C: don't let incidental errors get
11668           in the way (errno)
11669
11670 2002-07-30  John Levon  <levon@movementarian.org>
11671
11672         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11673
11674 2002-07-30  John Levon  <levon@movementarian.org>
11675
11676         * lyxserver.h:
11677         * lyxserver.C: remove I/O callback too
11678
11679 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11680
11681         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11682         log.
11683
11684 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11685
11686         * many files: strip,frontStrip -> trim,ltrim,rtrim
11687
11688 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11689
11690         * PrinterParams.h: remove extern containsOnly, and include
11691         support/lstrings.h instead.
11692
11693         * LaTeX.C (scanAuxFile): modify because of strip changes
11694         (deplog): ditto
11695         * buffer.C (makeLaTeXFile): ditto
11696         * bufferparams.C (writeFile): ditt
11697         * lyxfont.C (stateText): ditto
11698         * lyxserver.C (read_ready): ditto
11699         * vc-backend.C (scanMaster): ditto
11700
11701         * BufferView_pimpl.h: ws changes
11702
11703         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11704
11705 2002-07-26  André Pönitz <poenitz@gmx.net>
11706
11707         * kb_sequence.C: remove unnedred usings
11708
11709 2002-07-26  Juergen Vigna  <jug@sad.it>
11710
11711         * lyxfind.C (LyXReplace): we have to check better if the returned
11712         text is not of theLockingInset()->getLockingInset().
11713
11714 2002-07-25  Juergen Vigna  <jug@sad.it>
11715
11716         * lyxfind.C (LyXReplace): don't replace if we don't get the
11717         right LyXText.
11718
11719         * undo_funcs.C (createUndo): remove debugging code.
11720
11721 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11722
11723         * buffer.C (parseSingleLyXformat2Token): Use default placement
11724         when reading old floats.
11725
11726         * FloatList.C (FloatList): Change the default placement of figure
11727         and tables to "tbp".
11728
11729 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * MenuBackend.C: using std::max
11732
11733 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11734
11735         * MenuBackend.C (expandToc):
11736         (expandToc2): code moved from xforms menu frontend. It is now
11737         generic and TOCs are transparent to menu frontends.
11738
11739 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11740
11741         * toc.C (getTocList): protect against buf=0
11742
11743         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11744         Menu as first parameter. Now, this calls itself recursively to
11745         expand a whole tree (this will be useful for TOC handling)
11746         (expandFloatInsert): remove 'wide' version of floats
11747
11748         * MenuBackend.h (submenuname): returns the name of the submenu.
11749         (submenu): returns the submenu itself, provided it has been
11750         created by MenuBackend::expand
11751
11752 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11753
11754         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11755         insets which have noFontChange == true. (bug #172)
11756
11757 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11758
11759         * BufferView_pimpl.C: add connection objects and use them...
11760         (Pimpl): here.
11761
11762 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11763
11764         * MenuBackend.C (expandLastfiles):
11765         (expandDocuments):
11766         (expandFormats):
11767         (expandFloatListInsert):
11768         (expandFloatInsert):
11769         (expand): split expand in parts
11770
11771 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * lyx_gui.C: use lyx_gui::exit()
11774
11775 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11776
11777         * LyXAction.C: show the failing pseudo action
11778
11779 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11780
11781         * buffer.C (readFile): Run the lyxconvert script in order to read
11782         old files.
11783
11784 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11785
11786         * LyXAction.C:
11787         * commandtags.h:
11788         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11789
11790 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11791
11792         * LyXAction.C:
11793         * commandtags.h:
11794         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11795
11796 2002-07-22  Herbert Voss  <voss@lyx.org>
11797
11798         * lengthcommon.C:
11799         * lyxlength.[Ch]: add support for the vertical lengths
11800
11801 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * toc.[Ch]: std:: fixes
11804
11805 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11806
11807         * lyxrc.C: do not include lyx_main.h
11808
11809         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11810         for layouts
11811
11812         * lyxrc.C:
11813         * encoding.C:
11814         * bufferlist.C:
11815         * BufferView2.C: include "lyxlex.h"
11816
11817         * tabular.h:
11818         * bufferparams.h: do not #include "lyxlex.h"
11819
11820         * lyxtextclasslist.C (Add): remove method
11821         (classlist): renamed to classlist_
11822
11823         * paragraph_pimpl.C:
11824         * paragraph.C:
11825         * text2.C:
11826         * CutAndPaste.C:
11827         * bufferview_funcs.C:
11828         * bufferlist.C:
11829         * text.C:
11830         * LaTeXFeatures.C:
11831         * buffer.C:
11832         * toc.C (getTocList): use BufferParams::getLyXTextClass
11833
11834         * toc.C (getTocList): use InsetFloat::addToToc
11835
11836         * toc.[Ch]: new files, containing helper functions to handle table
11837         of contents
11838
11839         * lyxfunc.C (dispatch): no need to remove spaces around command
11840         given as a string
11841         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11842         first command of the sequence; it is not very clever, but I do not
11843         have a better idea, actually
11844
11845         * LyXAction.C (LookupFunc): make sure to remove space at the
11846         beginning and end of the command
11847
11848 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11849
11850         * MenuBackend.C (getMenubar): new method: return the menubar of
11851         this menu set
11852         (read): treat differently reading of menu and menubar (in
11853         particular, the menubar has no name now)
11854         (Menu::menubar): remove
11855
11856         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11857         saving is finished
11858
11859 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11860
11861         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11862         a bibitem inset in a RTL paragraph.
11863
11864 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * paragraph_pimpl.C: constify
11867
11868         * BufferView_pimpl.C:
11869         * LaTeX.C:
11870         * lyxfunc.C: fix dispatch in a nicer way
11871
11872 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11873
11874         * lyxfunc.C (dispatch):
11875         * BufferView_pimpl.C:
11876         * BufferView_pimpl.h:
11877         * BufferView.C:
11878         * BufferView.h: rename Dispatch() to dispatch()
11879
11880         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11881
11882         * lyxlayout.C (Read): honor DependsOn tag
11883
11884         * lyxlayout.[Ch] (depends_on): new method
11885
11886         * version.C.in: update lyx_docversion
11887
11888         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11889
11890         * paragraph.C (validate): remove from here...
11891         * paragraph_pimpl.C (validate): ... and move here
11892         (isTextAt): make it const
11893
11894         * buffer.C (getLists): ws cleanup
11895
11896 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11897
11898         * language.C (read): Use iso8859-1 encoding in latex_lang
11899         (this prevents LyX from crashing when using iso10646-1 encoding).
11900
11901 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11902
11903         * text2.C (toggleInset): if cursor is inside an inset, close the
11904         inset and leave cursor _after_ it
11905
11906 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * lyxfunc.C: move minibuffer completion handling out of here
11909
11910 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11911
11912         * BufferView_pimpl.C:
11913         * LaTeX.C: fix dispatch calls
11914
11915 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11916
11917         * text.C (drawChars): Fix Arabic text rendering.
11918
11919 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * LyXAction.C:
11922         * commandtags.h:
11923         * lyxfunc.C: remove message-push/pop
11924
11925         * lyxserver.C:
11926         * lyxfunc.h:
11927         * lyxfunc.C: rationalise some code by removing verboseDispatch
11928           in favour of a bool argument to dispatch()
11929
11930 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11931
11932         * lyx_main.C (init): make sure to read symlinks as absolute paths
11933
11934 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * lyxfunc.h:
11937         * lyxfunc.C: no need for commandshortcut to be a member
11938
11939 2002-07-15  André Pönitz <poenitz@gmx.net>
11940
11941         * converter.C: add support for $$s (scripts from lib/scripts dir)
11942         * lyx_main.C: white space
11943
11944 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * bufferlist.C:
11947         * lyxrc.h:
11948         * lyxrc.C: remove second exit confirmation
11949
11950 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11951
11952         * BufferView.h:
11953         * BufferView.C:
11954         * BufferView2.C:
11955         * BufferView_pimpl.h:
11956         * BufferView_pimpl.C:
11957         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11958
11959 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11960
11961         * MenuBackend.C (expand): add numeric shortcuts to document menu
11962
11963         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11964
11965 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11966
11967         * lyxfont.C (setLyXFamily):
11968         (setLyXSeries):
11969         (setLyXShape):
11970         (setLyXSize):
11971         (setLyXMisc):
11972         (lyxRead):
11973         * debug.C (value):
11974         * buffer.C (asciiParagraph): use ascii_lowercase
11975
11976 2002-07-15  Mike Fabian  <mfabian@suse.de>
11977
11978         * lyxlex_pimpl.C (search_kw):
11979         * lyxlex.C (getLongString):
11980         * converter.h (operator<):
11981         * converter.C (operator<):
11982         * buffer.C (parseSingleLyXformat2Token):
11983         (asciiParagraph):
11984         * ToolbarDefaults.C (read):
11985         * MenuBackend.C (checkShortcuts):
11986         (read):
11987         * LColor.C (getFromGUIName):
11988         (getFromLyXName): use the compare_ascii_no_case instead of
11989         compare_no_case, because in turkish, 'i' is not the lowercase
11990         version of 'I', and thus turkish locale breaks parsing of tags.
11991
11992 2002-07-16  Angus Leeming  <leeming@lyx.org>
11993
11994         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11995         now takes a Buffer const & argument.
11996
11997 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * BufferView.C (resize): check there's a buffer to resize
12000
12001 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * lyxfunc.C: remove dead code
12004
12005         * lyxserver.h:
12006         * lyxserver.C: use lyx_guii::set_read_callback
12007
12008 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12009
12010         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12011         an inset in a RTL paragraph.
12012
12013 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * lyxfunc.C: repaint after a font size update
12016
12017 2002-07-15  André Pönitz <poenitz@gmx.net>
12018
12019         * lyxlength.C: inBP should be able to return negative values
12020
12021 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * lyxfunc.C: use lyx_gui::update_fonts()
12024
12025 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * lyxfunc.C: use lyx_gui::update_color()
12028
12029 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * bufferlist.C:
12032         * lyxfunc.h:
12033         * lyxfunc.C:
12034         * lyxrc.h:
12035         * lyxrc.C: remove file->new asks for name option, and let
12036           buffer-new take an argument
12037
12038 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12039
12040         * BufferView_pimpl.C: remove unneeded extra repaint()
12041
12042 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * LyXAction.C: allow command-sequence with NoBuffer
12045
12046         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12047
12048 2002-07-10  Angus Leeming  <leeming@lyx.org>
12049
12050         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12051
12052 2002-07-09  Angus Leeming  <leeming@lyx.org>
12053
12054         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12055
12056 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * lengthcommon.h: whitespace
12059
12060         * lyxfunc.C: update scrollbar after goto paragraph
12061
12062         * lyxtext.h: factor out page break drawing, and fix it so
12063           page break/added space paints as selected nicely
12064
12065 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12066
12067         * BufferView_pimpl.C: add FIXMEs, clean up a little
12068
12069 2002-07-09  André Pönitz <poenitz@gmx.net>
12070
12071         * lyxfont.[Ch]: support for wasy symbols
12072
12073 2002-07-08  André Pönitz <poenitz@gmx.net>
12074
12075         * BufferView_pimpl.C: apply John's patch for #93.
12076
12077 2002-07-05  Angus Leeming  <leeming@lyx.org>
12078
12079         * BufferView_pimpl.C (buffer): generate previews if desired.
12080
12081         * LColor.h: add "preview" to the color enum.
12082
12083         * LColor.C (LColor): add a corresponding entry to the items array.
12084
12085         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12086         with this buffer.
12087
12088 2002-07-05  Angus Leeming  <leeming@lyx.org>
12089
12090         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12091         The body of the code is now in the method that is passed an ostream &
12092         rather than a file name.
12093         Pass an additional only_preamble parameter, useful for the forthcoming
12094         preview stuff.
12095
12096 2002-07-03  André Pönitz <poenitz@gmx.net>
12097
12098         * lyxfunc.C: simplify getStatus() a bit for math stuff
12099
12100 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12101
12102         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12103
12104 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12105
12106         * text.C (changeRegionCase): do not change case of all the
12107         document when region ends at paragraph end (bug #461)
12108
12109 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12110
12111         * paragraph.C (startTeXParParams):
12112         (endTeXParParams): add \protect when necessary
12113
12114 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * BufferView_pimpl.C (workAreaExpose): remove warning
12117
12118 2002-06-27  Angus Leeming  <leeming@lyx.org>
12119
12120         * Makefile.am: add lyxlayout_ptr_fwd.h.
12121
12122 2002-06-26  André Pönitz <poenitz@gmx.net>
12123
12124         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12125
12126 2002-06-25  Angus Leeming  <leeming@lyx.org>
12127
12128         * lyxfunc.C (dispatch): Comment out the call to
12129         grfx::GCache::changeDisplay. The method no longer exists now that the
12130         pixmap generation part of the graphics loader has been moved into
12131         InsetGraphics.
12132
12133 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * text2.C: layout as layout
12136
12137         * text.C: layout as layout
12138
12139         * tabular.C (OldFormatRead): layout as layout
12140
12141         * paragraph_pimpl.C (TeXDeeper): layout as layout
12142         (realizeFont): layout as layout
12143
12144         * paragraph.C (writeFile): layout as layout
12145         (validate): layout as layout
12146         (getFont): layout as layout
12147         (getLabelFont): layout as layout
12148         (getLayoutFont): layout as layout
12149         (breakParagraph): layout as layout
12150         (stripLeadingSpaces): layout as layout
12151         (getEndLabel): layout as layout
12152         (getMaxDepthAfter): layout as layout
12153         (applyLayout): layout as layout
12154         (TeXOnePar): layout as layout
12155         (simpleTeXOnePar): layout as layout
12156         (TeXEnvironment): layout as layout
12157         (layout): layout as layout
12158         (layout): layout as layout
12159
12160         * lyxtextclass.C (compare_name): new functor to work with
12161         shared_ptr, layout as layout
12162         (Read): layout as layout
12163         (hasLayout): layout as layout
12164         (operator): layout as layout
12165         (delete_layout): layout as layout
12166         (defaultLayout): layout as layout
12167
12168         * lyxlayout_ptr_fwd.h: new file
12169
12170         * lyxlayout.C (Read): layout as layout
12171
12172         * lyx_cb.C (MenuInsertLabel): layout as layout
12173
12174         * bufferlist.C (newFile): layout as layout
12175
12176         * buffer.C (readLyXformat2): layout as layout
12177         (parseSingleLyXformat2Token): layout as layout
12178         (insertStringAsLines): layout as layout
12179         (asciiParagraph): layout as layout
12180         (latexParagraphs): layout as layout
12181         (makeLinuxDocFile): layout as layout
12182         (simpleLinuxDocOnePar): layout as layout
12183         (makeDocBookFile): layout as layout
12184         (simpleDocBookOnePar): layout as layout
12185         (getLists): layout as layout
12186
12187         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12188
12189         * CutAndPaste.C (cutSelection): layout as layout
12190         (pasteSelection): layout as layout
12191         (SwitchLayoutsBetweenClasses): layout as layout
12192
12193         * BufferView_pimpl.C (Dispatch): layout as layout
12194         (smartQuote): layout as layout
12195
12196         * BufferView2.C (unlockInset): layout as layout
12197
12198 2002-06-24  André Pönitz <poenitz@gmx.net>
12199
12200         * lyxfunc.C: fix #487
12201
12202 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * lyxrc.h:
12205         * lyxrc.C:
12206         * lyxfunc.C: remove display_shortcuts, show_banner
12207
12208 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * Buffer_pimpl.C: oops, update on resize
12211
12212 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12213
12214         * buffer.C:
12215         * converter.C:
12216         * exporter.C:
12217         * lyxfunc.C:
12218         * BufferView.h:
12219         * BufferView.C: use repaint()
12220
12221         * BufferView_pimpl.h:
12222         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12223           as it's a clearer description. Remove superfluous
12224           redraws.
12225
12226 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * text.C: fix bug 488. Not ideal, but getting
12229           getWord() to work properly for the insets that
12230           matter is more difficult ...
12231
12232 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12233
12234         * BufferView_pimpl.C:
12235         * LyXAction.C:
12236         * commandtags.h:
12237         * lyxfunc.C: remove the six million index lyxfuncs to just
12238           one, and DTRT (bug 458)
12239
12240 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * BufferView.h:
12243         * BufferView.C:
12244         * BufferView_pimpl.h:
12245         * BufferView_pimpl.C: clean up resize() stuff,
12246           and unnecessary updateScreen()s
12247
12248 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12249
12250         * BufferView.h:
12251         * BufferView.C:
12252         * BufferView_pimpl.h:
12253         * BufferView_pimpl.C:
12254         * lyxfind.h:
12255         * lyxfind.C:
12256         * minibuffer.C: remove focus management of workarea,
12257           not needed. Use screen's greyOut()
12258
12259 2002-06-17  Herbert Voss  <voss@lyx.org>
12260
12261         * converter.C: (convert) do not post a message, when converting
12262         fails, let the calling function decide what to do in this case
12263
12264 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12265
12266         * lyxfunc.C: tidy up a little
12267
12268 2002-06-16    <alstrup@diku.dk>
12269
12270         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12271         Got rid of FORMS_H_LOCATION include. Now we are
12272         GUII.
12273
12274 2002-06-15  LyX Development team  <lyx@rilke>
12275
12276         * buffer.[Ch] (sgmlOpenTag):
12277         (sgmlCloseTag): Added support for avoiding pernicious mixed
12278         content. Return number of lines written.
12279
12280         (makeLinuxDocFile):
12281         (makeDocBookFile): Fixed calls to sgml*Tag.
12282         Simple white space clean.
12283
12284         (simpleDocBookOnePar): Simple white space clean.
12285
12286         * tabular.[Ch] (docBook): Renamed to docbook and got another
12287         argument to related with the pernicious mixed content.
12288
12289         (docbookRow): Fixed calls for docbook inset method.
12290
12291 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12292
12293         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12294         so it's X11 independent.
12295
12296         * kb*.[Ch]: ditto.
12297
12298         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12299
12300 2002-06-15  Lyx Development team  <lyx@electronia>
12301
12302         * intl.h: Renamed getTrans to getTransManager.
12303
12304 2002-06-14  Angus Leeming  <leeming@lyx.org>
12305
12306         * Makefile.am: nuke forgotten stl_string_fwd.h.
12307
12308 2002-06-12  Angus Leeming  <leeming@lyx.org>
12309
12310         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12311
12312 2002-06-13  Angus Leeming  <leeming@lyx.org>
12313
12314         * LaTeX.C:
12315         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12316
12317 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12318
12319         * kbmap.C (getiso): add support for cyrillic and greek
12320
12321 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * BufferView.h:
12324         * BufferView.C:
12325         * BufferView_pimpl.h:
12326         * BufferView_pimpl.C: move bogus scrolling logic
12327           to xforms
12328
12329 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12330
12331         * lyxfunc.C:
12332         * BufferView_pimpl.C: view->resize() change
12333
12334 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12335
12336         * BufferView_pimpl.C: topCursorVisible
12337           prototype change
12338
12339 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * Makefile.am:
12342         * lyx_gui.h:
12343         * lyx_gui.C: move to frontends/
12344
12345         * main.C:
12346         * lyx_main.h:
12347         * lyx_main.C: changes from above
12348
12349 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * intl.C:
12352         * intl.h:
12353         * kbmap.C:
12354         * kbsequence.C:
12355         * lyx_cb.C:
12356         * lyx_main.C: minor tidy
12357
12358 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * BufferView_pimpl.h:
12361         * BufferView_pimpl.C:
12362         * BufferView.h:
12363         * BufferView.C: make painter() const,
12364           remove dead code
12365
12366         * BufferView2.C: use screen() accessor
12367
12368         * lyx_main.h:
12369         * lyx_main.C: some minor cleanup
12370
12371 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12372
12373         * BufferView_pimpl.h:
12374         * BufferView_pimpl.C: remove enter/leaveView,
12375           use workHeight()
12376
12377 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * BufferView.h:
12380         * BufferView.C:
12381         * BufferView2.C:
12382         * BufferView_pimpl.h:
12383         * BufferView_pimpl.C: only construct screen once,
12384           rename
12385
12386         * lyxrc.C: remove pointless comment
12387
12388 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12389
12390         * BufferView.h:
12391         * BufferView.C: remove active() and belowMouse()
12392
12393         * BufferView_pimpl.h:
12394         * BufferView_pimpl.C: use workarea() not workarea_,
12395           and make it use a scoped_ptr instead
12396
12397 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12398
12399         * lyx_gui.C: add debug message on BadWindow
12400
12401 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12402
12403         * sp_spell.C: fdopen is not part of the C++ standard.
12404
12405         * paragraph.C (InsetIterator): use >= instead of ==
12406
12407 2002-06-07  Angus Leeming  <leeming@lyx.org>
12408
12409         Fixes needed to compile with Compaq cxx 6.5.
12410         * BufferView_pimpl.C:
12411         * DepTable.C:
12412         * buffer.C:
12413         * converter.C:
12414         * encoding.C:
12415         * lyx_gui.C:
12416         * lyx_main.C:
12417         * lyxtextclasslist.C:
12418         * minibuffer.C:
12419         * sp_spell.C:
12420         * tabular_funcs.C:
12421         * vc-backend.C:
12422         all c-library variables have been moved into namespace std. Wrap
12423         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12424
12425         * lyxlength.C:
12426         * tabular-old.C:
12427         * tabular.C:
12428         Add a using std::abs declaration.
12429
12430         * kbmap.h (modifier_pair):
12431         * paragraph.h (InsetTable, InsetList):
12432         * lyxfont.h (FontBits):
12433         type definition made public.
12434
12435         * bufferlist.C (emergencyWriteAll): the compiler complains that
12436         there is more than one possible lyx::class_fun template to choose from.
12437         I re-named the void specialisation as lyx::void_class_fun.
12438
12439         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12440
12441         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12442         the compiler is is unable to find tostr in write_attribute.
12443
12444 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12445
12446         * buffer.C (sgmlError): hide #warning
12447
12448 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12449
12450         * xtl/*: get rid of xtl, which is not in use anyway
12451
12452         * LyXAction.C (init):
12453         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12454         were unimplemented xtl experimentation
12455
12456 2002-06-04  André Pönitz <poenitz@gmx.net>
12457
12458         * lyxfunc.C: disable array operation on simple formulae
12459
12460 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12461
12462         * converter.C: constify a bit
12463
12464 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * lyx_gui.C: check xforms version correctly
12467
12468 2002-04-30  Herbert Voss  <voss@lyx.org>
12469
12470         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12471         "keep" option
12472
12473 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12474
12475         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12476           attempt to register it with a VCS)
12477
12478 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12479
12480         * lyx_main.C (init): honor variables LYX_DIR_13x and
12481         LYX_USERDIR_13x
12482
12483 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12484
12485         * buffer.h:
12486         * buffer.C:
12487         * lyx_main.C: fix a crash on bad command line,
12488           and give a useful exit status on error
12489
12490         * lyxfunc.C (doImport): allow -i lyx to work
12491
12492 2002-03-30  André Pönitz <poenitz@gmx.net>
12493
12494         * lyxfunc.C: mathed font changes
12495
12496 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * LaTeX.C:
12499         * importer.h:
12500         * importer.C:
12501         * lyx_sty.h:
12502         * lyx_sty.C:
12503         * lyxlex.C:
12504         * lyxrow.h:
12505         * lyxtext.h:
12506         * paragraph.h:
12507         * paragraph.C:
12508         * texrow.h:
12509         * texrow.C:
12510         * text.C:
12511         * trans_mgr.h: srcdocs, and some minor cleanups
12512
12513 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12514
12515         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12516         call getFont all the time)
12517
12518 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12519
12520         * switch from SigC signals to boost::signals
12521
12522 2002-05-29  André Pönitz <poenitz@gmx.net>
12523
12524         * paragraph_pimpl.C (getChar): don't call size() too often...
12525
12526 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12527
12528         * paragraph_pimpl.C (insertChar): do not try to update tables when
12529         appending (pos == size())
12530
12531         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12532         in order to reduce drastically the number of comparisons needed to
12533         parse a large document
12534
12535 2002-05-29  André Pönitz <poenitz@gmx.net>
12536
12537         * text.C:
12538         * text2.C:
12539         * lyxtextclass.C:
12540         * sp_pspell.h:
12541         * textclasslist.[Ch]:
12542         * sp_ispell.h: whitespace change
12543
12544 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12545
12546         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12547         lyxaction directly now.
12548
12549 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * trans.C:
12552         * lyxfont.C:
12553         * lyxvc.C: remove unused headers
12554
12555 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12556
12557         * Makefile.am:
12558         * buffer.h:
12559         * undostack.h:
12560         * undostack.C:
12561         * undo_funcs.h:
12562         * undo_funcs.C: some cleanups. Use shared_ptr
12563           and a template for the undo stacks.
12564
12565 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12566
12567         * BufferView_pimpl.h:
12568         * BufferView_pimpl.C:
12569         * kbmap.h:
12570         * kbmap.C:
12571         * kbsequence.h:
12572         * kbsequence.C:
12573         * lyxfunc.h:
12574         * lyxfunc.C:
12575         * text2.C: use key_state/mouse_state
12576
12577 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12580         and LSubstring
12581
12582         * chset.C: change include order
12583         (loadFile): use boost regex and get rid of LRegex and LSubstring
12584
12585         * Makefile.am (BOOST_LIBS): new variable
12586         (lyx_LDADD): use it
12587
12588         * LaTeX.C: change include order.
12589         (scanAuxFile): use boost regex and get rid of LRegex and
12590         LSubstring
12591         (deplog): ditto
12592
12593 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * ColorHandler.h:
12596         * ColorHandler.C:
12597         * FontInfo.h:
12598         * FontInfo.C: moved to frontends/xforms/
12599
12600         * FontLoader.h:
12601         * FontLoader.C: moved into frontends for GUIIzation
12602
12603         * Makefile.am:
12604         * lyx_gui.C:
12605         * lyxfont.C:
12606         * lyxfunc.C: changes from above
12607
12608 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * LColor.C: remove spurious X include
12611
12612         * BufferView_pimpl.C:
12613         * Makefile.am:
12614         * font.h:
12615         * font.C:
12616         * text.C:
12617         * text2.C: move font metrics to frontends/
12618
12619 2002-05-24  Juergen Vigna  <jug@sad.it>
12620
12621         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12622         setting the undo_cursor.
12623
12624         * ParagraphParameters.h: include local includes first.
12625
12626 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12627
12628         * BufferView_pimpl.C:
12629         * BufferView_pimpl.h:
12630         * Makefile.am:
12631         * WorkArea.h:
12632         * WorkArea.C:
12633         * screen.C: move WorkArea into frontends/
12634
12635         * lyxscreen.h:
12636         * screen.C:
12637         * text.C:
12638         * BufferView.C:
12639         * BufferView2.C: move LyXScreen into frontends/
12640
12641         * lyxlookup.h:
12642         * lyxlookup.C:
12643         * lyx_gui.C: move lyxlookup into frontends/xforms/
12644
12645 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12646
12647         * BufferView2.C:
12648         * BufferView_pimpl.C:
12649         * FontLoader.C:
12650         * LyXView.h:
12651         * LyXView.C:
12652         * Makefile.am:
12653         * WorkArea.C:
12654         * XFormsView.h:
12655         * XFormsView.C:
12656         * buffer.C:
12657         * bufferlist.C:
12658         * bufferview_funcs.C:
12659         * converter.C:
12660         * importer.C:
12661         * lyx_cb.C:
12662         * lyx_gui.C:
12663         * lyx_main.C:
12664         * lyx_find.C:
12665         * lyxfunc.C:
12666         * lyxvc.C:
12667         * minibuffer.C:
12668         * text.C:
12669         * text2.C:
12670         * trans.C:
12671         * vc-backend.C: move LyX/XFormsView into frontends/
12672
12673 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12674
12675         * Makefile.am:
12676         * PainterBase.C:
12677         * PainterBase.h:
12678         * Painter.C:
12679         * Painter.h:
12680         * WorkArea.C:
12681         * WorkArea.h:
12682         * screen.C:
12683         * tabular.C:
12684         * text.C:
12685         * text2.C: move Painter to frontends/
12686
12687 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12688
12689         * buffer.C: comment out some some code that depend upon lyx_format
12690         < 220
12691
12692         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12693         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12694
12695         * buffer.h (NO_COMPABILITY): turn off compability
12696
12697         * ColorHandler.C: include scoped_array.hpp
12698
12699         * font.C: Use more specific smart_ptr header.
12700         * Painter.C: ditto
12701         * gettext.C: ditto
12702         * ShareContainer.h: ditto
12703         * lyx_main.h: ditto
12704         * kbmap.h: ditto
12705         * FontInfo.h: ditto
12706         * BufferView_pimpl.h: ditto
12707         * ColorHandler.h: ditto
12708
12709         * kbmap.C (defkey): change call to shared_ptr::reset
12710
12711 2002-05-21  Juergen Vigna  <jug@sad.it>
12712
12713         * buffer.C (insertErtContents): fix to insert ert asis if it is
12714         non empty. Skip it completely if it contains only whitespaces.
12715
12716 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12717
12718         * BufferView_pimpl.C:
12719         * BufferView2.C: clear selection on paste (bug 393)
12720
12721 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12722
12723         * DepTable.C: include ctime
12724
12725 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12726
12727         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12728
12729 2002-05-14  Juergen Vigna  <jug@sad.it>
12730
12731         * text.C (breakParagraph): fixed function to honor the keepempty
12732         layout in the right maner and also to permit the right breaking
12733         algorithm on empty or non empyt keepempty paragraphs.
12734
12735         * paragraph.C (breakParagraph): we have to check also if the par
12736         is really empty (!size()) for isempty otherwise we do the wrong
12737         paragraph break.
12738
12739 2002-05-10  Juergen Vigna  <jug@sad.it>
12740
12741         * buffer.[Ch] : The following are only changes to the ert
12742         compatibility read reading old LaTeX layout and font stuff and
12743         convert it to ERTInsets.
12744
12745         * buffer.h: added isErtInset().
12746
12747         * buffer.C (struct ErtComp): add a fromlayout bool to check
12748         if we're inside a LaTeX layout.
12749         (isErtInset): new helper function.
12750         (insertErtContents): look for other ert insets before this one
12751         and insert the contents there, so that we don't have subsequent
12752         ERT insets with nothing between them. This way we create only one
12753         inset with multiple paragraphs. Also check if we don't insert only
12754         spaces ' ' as they are ignored anyway afterwards in the .tex file
12755         so if we have only spaces we will ignore this latex part in the
12756         new file.
12757         (parseSingleLyXformat2Token \\layout): better compatibility when
12758         reading layout-latex stuff.
12759         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12760         language tag.
12761         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12762         stuff after reading the inset only get the information back from
12763         the stack.
12764
12765 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12766
12767         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12768
12769         * LaTeXFeatures.C (getBabelOptions): New method.
12770
12771 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * BufferView_pimpl.C (Dispatch): work around missing argument for
12774         'layout'
12775
12776 2002-05-08  Juergen Vigna  <jug@sad.it>
12777
12778         * text.C (leftMargin): handle paragraph leftindent.
12779
12780         * paragraph.C (writeFile): write the new \\leftindent tag.
12781         (validate): handle leftindent code.
12782         (TeXEnvironment): handle paragraphleftindent code again.
12783
12784         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12785
12786         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12787         for paragrap_extra indent code and new token \\leftindent.
12788         (latexParagraphs): handle the leftindent as environment.
12789
12790         * ParameterStruct.h: added leftindent support.
12791
12792         * ParagraphParameters.C (leftIndent): added support functions for
12793         the paragraph left indent.
12794
12795         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12796         more appropriate.
12797
12798 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12799
12800         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12801         inside insetERT.
12802
12803         * text.C (computeBidiTables): No bidi in insetERT.
12804
12805         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12806         in RTL documents.
12807
12808 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * version.C.in: pre 5
12811
12812 2002-05-02  José Matos  <jamatos@fep.up.pt>
12813         * buffer.C (makeDocBookFile): white space changes, add newline to
12814         command styles.
12815         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12816
12817         * tabular.C (docBook): fix typo.
12818
12819 2002-05-03  Juergen Vigna  <jug@sad.it>
12820
12821         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12822         change in LyXText as we can not be sure it was not freed.
12823         (drawOneRow): remove unused code.
12824
12825         * text.C (drawInset): redo the calculation of the need_break_row as
12826         it could have a row which was already freed.
12827         (draw): look at the return value of drawInset and return false if
12828         it also returned false.
12829         (paintRowText): look at the return value of draw and return false if
12830         it also returned false.
12831
12832         * lyxtext.h: added bool return type to drawInset() and draw() so that
12833         if we have a change in the row so that the rowbreak has to be redone
12834         we abort drawing as it will be called again.
12835
12836 2002-05-02  Juergen Vigna  <jug@sad.it>
12837
12838         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12839         a change in the maintext also if we're inside an inset.
12840         (Dispatch): set the cursor again after a break line and after the
12841         screen has been updated as it could be we're in a different row.
12842
12843         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12844         to set the cursor behind the pargraph with > size().
12845         (setCursor): check also for the same paragraph when checking where
12846         to put the cursor if we have a NFR inset.
12847
12848         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12849         parts of layout read further up as it still was in the wrong
12850         position.
12851
12852 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * screen.C (drawFromTo): change sine fullRebreak always return
12855         true.
12856
12857         * buffer.C (parseSingleLyXformat2Token): reindent some
12858
12859         * BufferView_pimpl.C (update): change since fullRebreak always
12860         return true.
12861         (Dispatch): git rid of the last hardcoded "Standard"s.
12862
12863 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12864
12865         * text2.[Ch] (fullRebreak): make it return void now that we always
12866         returned true.
12867
12868 2002-04-30  Juergen Vigna  <jug@sad.it>
12869
12870         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12871         ert compatibility check for "latex" layout.
12872
12873 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12874
12875         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12876         minipages: use col% instead of p%, and also use the current font.
12877         (makeLaTeXFile): Fix use babel condition.
12878         (parseSingleLyXformat2Token): Correct font when reading old floats.
12879
12880 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12881
12882         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12883         inserting list of floats.
12884
12885 2002-04-25  Herbert Voss  <voss@lyx.org>
12886
12887         * MenuBackend.C (expand): don't add the graphics extensions to the
12888         export menu
12889
12890 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12891
12892         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12893         non-existing layout, do not complain if it was the default layout
12894         of the original class (bug #342)
12895
12896 2002-04-24  Juergen Vigna  <jug@sad.it>
12897
12898         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12899         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12900
12901 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12902
12903         * buffer.C (getBibkeyList): If using \bibliography, return the
12904         option field with the reference itself. Enables us to provide natbib
12905         support when using \bibliography.
12906
12907 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12908
12909         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12910
12911         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12912         natbib is provided by the LaTeX class.
12913
12914 2002-04-23  Juergen Vigna  <jug@sad.it>
12915
12916         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12917         Wakeup functions.
12918
12919         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12920
12921 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12922
12923         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12924
12925         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12926         ensuremath around textordmasculine, textordfeminine and
12927         textdegree.
12928
12929 2002-04-19  Juergen Vigna  <jug@sad.it>
12930
12931         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12932         reinitializing the buffer otherwise row-dimensions may be wrong.
12933         (update): reset also the selection cursors if they do exits otherwise
12934         their x/y positions may be wrong.
12935
12936         * text2.C (cursorDown): don't enter the inset if we came from a row
12937         above and are one row over the inset.
12938
12939         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12940         really leaving an inset.
12941
12942 2002-04-18  Juergen Vigna  <jug@sad.it>
12943
12944         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12945         of the selected paragraph does not have the selected layout also if
12946         the last one had!
12947
12948         * text2.C (setLayout): fixed bug which did not change last selected
12949         paragraph.
12950
12951         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12952         changed the read and substituted \\end_float with \\end_inset!
12953
12954         * BufferView_pimpl.C (cursorPrevious):
12955         (cursorNext): fixed to make it work with rows heigher than the work
12956         area without moving the cursor only the draw of the row.
12957         (workAreaMotionNotify): fix jumping over high rows.
12958
12959 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12960
12961         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12962         Ressler.
12963
12964 2002-04-16  Juergen Vigna  <jug@sad.it>
12965
12966         * text2.C (setCursor): set also the irow().
12967         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12968         (cursorUp):
12969         (cursorDown): support for locking an inset if the x_fix value goes
12970         inside it. That way I can transverse insets too with cursor up/down.
12971
12972         * lyxrow.h: added irow helper function same as other (i) functions.
12973
12974         * BufferView_pimpl.C (cursorPrevious):
12975         (cursorNext): fixed for insets!
12976
12977 2002-04-15  Juergen Vigna  <jug@sad.it>
12978
12979         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12980         position otherwise it is wrong in some cases.
12981
12982         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12983         inside the inset before the call.
12984
12985 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12986
12987         * buffer.[Ch] (getBibkeyList): make it const.
12988
12989 2002-04-12  Juergen Vigna  <jug@sad.it>
12990
12991         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12992
12993         * text2.C (getCursorX): new helper function
12994         (setCursor): compute also ix_
12995         (setCursorFromCoordinates): set also ix.
12996
12997         * lyxcursor.h: added ix_ and helper functions.
12998
12999         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13000
13001         * buffer.C (insertStringAsLines): dont break paragraph if the this
13002         paragraph is inside an inset which does not permit it!
13003
13004         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13005         also with no chars on this paragraph.
13006         (paintRowText): only paint stuff if it's inside the workarea!
13007
13008         * paragraph.C (breakParagraph): honor keepempty flag and break the
13009         paragraph always below not above.
13010
13011         * BufferView2.C (unlockInset): update the paragraph layout on inset
13012         unlock as we changed paragraph in such a case.
13013
13014         * lyxfind.C (LyXFind): clear the former selection if not found!
13015
13016         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13017         again called in insertChar().
13018
13019         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13020         an inset which uses the whole row!
13021         (rightMargin): ditto.
13022         (insertChar): force a rebreak if we inserted an inset!
13023
13024 2002-03-28  Herbert Voss  <voss@lyx.org>
13025
13026         * lyxlength.[Ch]: add inBP() to get the right PS-point
13027         units (BigPoint). With inPixels we have rounding errors
13028
13029 2002-04-11  Juergen Vigna  <jug@sad.it>
13030
13031         * text2.C (setCursorFromCoordinates): set iy to the right value.
13032         (setCursor): add check if row->previous exists!
13033
13034         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13035         an old float_type as this was the case in the old code!
13036
13037         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13038
13039         * BufferView2.C (showLockedInsetCursor): use iy
13040         (fitLockedInsetCursor): ditto
13041
13042         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13043         locked insets as there we have the right value now.
13044
13045         * lyxcursor.C: added iy_ variable and iy functions to set to the
13046         baseline of cursor-y of the locked inset.
13047
13048         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13049         (setCursor): fixed for insets which need a full row.
13050
13051         * text.C (rowLastPrintable): don't ignore the last space when before
13052         an inset which needs a full row.
13053         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13054         as last character of a row when before a inset which needs a full row.
13055
13056 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * version.C.in: update date
13059
13060         * text2.C (fullRebreak): try to always return true and see what
13061         happens...
13062
13063 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13064
13065         * MenuBackend.C (expand): use Floating::listName
13066
13067         * FloatList.C (FloatList): add listName argument to the built-in
13068         floats
13069
13070         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13071         text associated with the float.
13072
13073 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13074
13075         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13076
13077 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13078
13079         * ShareContainer.h: add a couple of missing typenames.
13080
13081 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13082
13083         * lyxrc.C (getDescription): use _() correctly rather than N_().
13084
13085 2002-03-28  Herbert Voss  <voss@lyx.org>
13086
13087         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13088         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13089
13090 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13091
13092         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13093         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13094
13095 2002-03-29  Juergen Vigna  <jug@sad.it>
13096
13097         * lyxfunc.C (dispatch): add a missing fitCursor call.
13098
13099         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13100         it was scrolled by a cursor move, so return the bool status.
13101
13102         * BufferView.C (fitCursor): return the bool flag also to the outside
13103         world as this is needed.
13104
13105         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13106
13107         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13108         call the edit() as it is not needed (and wrong) IMO.
13109         (workAreaButtonPress): set the screen_first variable before evt.
13110         unlock the inset as this may change screen_first and then we have
13111         a wrong y position for the click!
13112
13113 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13114
13115         * MenuBackend.C (expand): another translation that I missed
13116
13117 2002-03-28  Juergen Vigna  <jug@sad.it>
13118
13119         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13120
13121         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13122
13123 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13124
13125         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13126
13127         * MenuBackend.C (expand): fix export/view/update when there is no
13128         document open.
13129
13130 2002-03-27  Herbert Voss  <voss@lyx.org>
13131
13132         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13133         and text%
13134
13135 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13136
13137         * bufferview_funcs.C (currentState): only show paragraph number
13138         for is DEVEL_VERSION is set.
13139
13140         * lyxfunc.C (dispatch): put warning in INFO channel
13141
13142         * MenuBackend.C (expand): translate the name of floats
13143
13144         * FloatList.C (FloatList): mark the float names for translation
13145
13146         * converter.C (convert): use LibScriptSearch
13147
13148 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13149
13150         * MenuBackend.C (defaults): fix default menu (we might as well get
13151         rid of it...)
13152
13153 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13156         directory.
13157
13158 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * lyxvc.C: reorder includes.
13161
13162 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13165           properly
13166
13167 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * CutAndPaste.C: change layouts earlier on paste
13170           to avoid crashing when calling getFont()
13171
13172 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13173
13174         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13175         irritating #error.
13176
13177 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13178
13179         * WorkArea.C: remove 'Pending' debug message.
13180
13181         * most files: ws cleanup
13182
13183         * buffer.[Ch]: ws changes
13184
13185         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13186
13187 2002-03-21  Juergen Vigna  <jug@sad.it>
13188
13189         * tabular.C (SetMultiColumn): collapse also the contents of the
13190         cells and set the last border right. Added a Buffer const * param.
13191
13192 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13193
13194         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13195         linking or not.
13196
13197 2002-03-19  Juergen Vigna  <jug@sad.it>
13198
13199         * text2.C (clearSelection): reset also xsel_cache.
13200
13201         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13202         where it needs to be called (John tells us to do so too :)
13203         (selectionLost): reset sel_cache.
13204
13205         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13206
13207 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13208
13209         * text2.C (setCursorIntern): put debuging code in INSETS channel
13210
13211 2002-03-19  André Pönitz <poenitz@gmx.net>
13212
13213         * lyxfunc.C: tiny whitespace change
13214
13215 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13216
13217         * ToolbarDefaults.C (init):
13218         * LyXAction.C (init):
13219         * commandtags.h:
13220         * BufferView_pimpl.C (Dispatch):
13221         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13222
13223 2002-03-19  Allan Rae  <rae@lyx.org>
13224
13225         * exporter.C (Export): removeAutoInsets before doing anything else.
13226         While I've just introduced a dependency on BufferView this really is
13227         the best place to clean the buffer otherwise you need to cleanup in
13228         a dozen places before calling export or cleanup in a dozen functions
13229         that export calls.
13230
13231         * converter.C (runLaTeX):
13232         (scanLog): Better handling of removeAutoInsets and screen updates.
13233
13234         * lyxfunc.C (dispatch): small whitespace changes
13235
13236 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13237
13238         * WorkArea.C (C_WorkAreaEvent): return a value.
13239         (event_cb): return 1 if we handled the event, 0 otherwise.
13240
13241         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13242
13243 2002-03-18  Juergen Vigna  <jug@sad.it>
13244
13245         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13246         (GetAdditionalWidth): ditto.
13247         (RightLine): ditto.
13248         (LeftLine): ditto.
13249
13250         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13251         inset if we're there actually (probably not used right now but this
13252         is the direction to go for unifying code).
13253         (paste): disable code to clear the selection.
13254
13255         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13256         inside an InsetText and move the check further up as it is in the
13257         wrong place.
13258
13259         * text2.C (pasteSelection): set a selection over the pasted text.
13260
13261 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13262
13263         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13264         and libgraphics to build on Cygwin.
13265
13266 2002-03-15  Juergen Vigna  <jug@sad.it>
13267
13268         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13269         inserting an Inset into the paragraph. I know this is not the best
13270         fix but we already use current_view in CutAndPaste so we will remove
13271         all of it's using at the same time.
13272
13273         * buffer.C (sgmlError): deactivated function till it is rewritten in
13274         the right mode, now it can create problems.
13275
13276         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13277         before accessing it.
13278
13279 2002-03-14  Juergen Vigna  <jug@sad.it>
13280
13281         * undo_funcs.C (textHandleUndo): do the right thing when updating
13282         the inset after the undo/redo.
13283
13284         * text2.C (setCursor): just some testcode for #44 not ready yet.
13285
13286         * undo_funcs.C (textHandleUndo): set the next() and previous()
13287         pointers of the paragraph to 0 before deleting otherwise we have
13288         problems with the Paragraph::[destructor].
13289
13290         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13291         on a paragraph insertion.
13292
13293 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * buffer.C (asciiParagraph): use += operator for char append to
13296         string.
13297
13298         * paragraph.C (getFontSettings): compare >= not just >
13299         (highestFontInRange): ditto
13300         (setFont): ditto
13301
13302 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * paragraph.C: change several algorithm to be more appripriate for
13305         the problem domain. This is lookip in FontList and in the InsetList.
13306
13307 2002-03-13  André Pönitz <poenitz@gmx.net>
13308
13309         * commandtags.h:
13310         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13311
13312 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13313
13314         * commandtags.h:
13315         * LyXAction.C:
13316         * lyxfunc.C:
13317         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13318
13319 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13320
13321         * Painter.C (display): anon helper function, adjust code for this
13322         change.
13323         (pixmap): remove function.
13324
13325         * Painter.h: remove private display variable.
13326
13327         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13328
13329 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13330
13331         * WorkArea.[Ch]: remove figinset_canvas cruft.
13332
13333 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13334
13335         * lyxtextclass.C (operator): add one item cache optimization.
13336
13337         * bufferlist.h: doxy changes
13338
13339         * bufferlist.C: ws changes
13340
13341         * DepTable.[Ch] (ext_exist): place const in the right spot.
13342
13343         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13344         call resizeInsets.
13345         (workAreaExpose): call resizeInsets when the with BufferView changes.
13346         (Dispatch): adjust for protectedBlank removal
13347         (specialChar): call updateInset if the insert went ok.
13348
13349         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13350         specialChar instead.
13351
13352         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13353
13354         * BufferView.h: doxy change
13355
13356         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13357
13358         * lyxtextclass.C (operator[]): remove non-const version
13359         (defaultLayout): remove non-const version
13360
13361 2002-03-12  Juergen Vigna  <jug@sad.it>
13362
13363         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13364         did resize the LyXText too.
13365
13366         * buffer.C (readLyXformat2): set layout information on newly allocated
13367         paragraphs.
13368
13369         * tabular.C (OldFormatRead): set layout information on the paragraph.
13370
13371 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13372
13373         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13374
13375 2002-03-11  Juergen Vigna  <jug@sad.it>
13376
13377         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13378         plainly wrong.
13379         (resizeCurrentBuffer): force also the insets to resize themselfes.
13380         (moveCursorUpdate): fixed up for InsetText.
13381
13382 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13383
13384         * commandtags.h:
13385         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13386         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13387         value of Dialogs::tooltipsEnabled().
13388         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13389
13390 2002-03-08  Juergen Vigna  <jug@sad.it>
13391
13392         * BufferView_pimpl.C (updateInset): update inset inside inset also
13393         if it isn't inside theLockingInset().
13394
13395 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13396
13397         * buffer.C (asciiParagraph): redo some of the word and line length
13398         handling.
13399         (getLists): look for Caption instead of caption.
13400
13401 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13402
13403         * buffer.C (Buffer): initialize niceFile to true
13404         (makeLaTeXFile):
13405         (makeLinuxDocFile):
13406         (makeDocBookFile): make sure niceFile is true on exit
13407
13408 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13409
13410         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13411
13412 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13413
13414         * LyXSendto.C: remove.
13415         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13416         * lyx_gui.C: remove now-redundant comment.
13417         * ColorHandler.h: remove forward declaration of class WorkArea.
13418         * lyxfunc.C: remove #include "WorkArea.h".
13419
13420 2002-03-07  Juergen Vigna  <jug@sad.it>
13421
13422         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13423         got moved away with the DEPM and also set the inset_owner always
13424         right which before could have been omitted.
13425
13426 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13427
13428         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13429         wanted layout is not found.
13430
13431 2002-03-07  Juergen Vigna  <jug@sad.it>
13432
13433         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13434
13435 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13436
13437         * paragraph.C (breakParagraph): use default layout not layout of
13438         prev paragraph.
13439         (Paragraph): clear ParagraphParameters.
13440
13441 2002-03-06  Juergen Vigna  <jug@sad.it>
13442
13443         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13444         otherwise it would not be a valid lenght. Fixed a special case in
13445         the minipage compatibility read where we end the document with a
13446         minipage.
13447
13448         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13449         was set as it could be 0 for InsetTexts first entry.
13450
13451 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13452
13453         * paragraph.C (writeFile): if layout is empty write out
13454         defaultLayoutName().
13455
13456         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13457         file without named layout we set layout to defaultLayoutName().
13458
13459 2002-03-06  Juergen Vigna  <jug@sad.it>
13460
13461         * CutAndPaste.C (copySelection): set layout for new paragraph.
13462
13463         * text.C (prepareToPrint): leave ERT inset left aligned
13464         (leftMargin): don't indent paragraphs inside ERT insets
13465
13466 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13467
13468         * paragraph.C (breakParagraph): dont call clear do the work manually
13469
13470         * paragraph.[Ch] (clear): remove function
13471
13472 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13473
13474         * paragraph.C (Paragraph): dont call clear, the work has already
13475         been done.
13476
13477         * lyxtextclass.C (operator): assert if n is empty
13478
13479         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13480         work manually instead.
13481
13482 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13483
13484         * BufferView_pimpl.C: protect selectionLost against text == 0
13485
13486 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13487
13488         * text.C (breakParagraph): fix a setting layout to '0' problem.
13489
13490 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13491
13492         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13493         final location of file, for the included files, and graphics.
13494
13495 2002-03-05  Juergen Vigna  <jug@sad.it>
13496
13497         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13498
13499 2002-03-04  Juergen Vigna  <jug@sad.it>
13500
13501         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13502
13503         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13504         last column of multicolumn cells.
13505         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13506
13507 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13508
13509         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13510         file if it doesn't go to a temporary file.
13511
13512         * buffer.C (sgmlOpenTag):
13513         (sgmlCloseTag):  remove extra newline insertion.
13514
13515 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13516
13517         * text.C (getRowNearY): comment out debug msg
13518
13519 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13520
13521         * text2.C: first -> first_y
13522
13523         * text.C (getRowNearY): add some attemts at a possible
13524         optimization, not working.
13525
13526         * tabular.[Ch]: add BufferParams to several function so that newly
13527         created paragraph can be initialized to he default layotu for the
13528         buffers textclass.
13529
13530         * tabular-old.C (ReadOld): add buf->params to call of Init
13531
13532         * screen.C: rename text->first to text->first_y
13533
13534         * paragraph.C (breakParagraph): always set layout in the broken
13535         paragraph
13536
13537         * lyxtextclass.C (Read): remove lowercase
13538         (hasLayout): ditto
13539         (operator): ditto
13540         (delete_layout): ditto
13541
13542         * lyxtext.h: rename first -> first_y
13543
13544         * lyxlayout.C (Read): remove lowercase
13545         (name): ditto
13546         (setName): ditto
13547         (obsoleted_by): ditto
13548
13549         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13550
13551         * buffer.C (insertErtContents): add params are to InsetERT
13552         (parseSingleLyXformat2Token): add code to check if a paragraphs
13553         layout really exist.
13554         (parseSingleLyXformat2Token): add params to several inset
13555         constructors
13556         (asciiParagraph): remove lowercase, do the layout comparisons with
13557         no_case
13558
13559         * BufferView_pimpl.C (cursorNext): first -> first_y
13560         (resizeCurrentBuffer): first -> first_y
13561         (updateScrollbar): first -> first_y
13562         (scrollCB): first -> first_y
13563         (workAreaMotionNotify): first -> first_y
13564         (workAreaButtonPress): first -> first_y
13565         (checkInsetHit): first -> first_y
13566         (cursorPrevious): first -> first_y
13567         (cursorNext): first -> first_y
13568         (Dispatch): add buffer_->params to severl inset contructors
13569
13570 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13571
13572         * lyxlayout.C (Read): remove some debug info that I forgot.
13573
13574         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13575         clean up the code slightly.
13576         (makeLinuxDocFile): ditto
13577         (makeDocBookFile): ditto
13578
13579         * text2.C: layout as string
13580
13581         * text.C: layout as string
13582
13583         * paragraph_pimpl.C: layout as string
13584
13585         * paragraph.[Ch]: layout as string
13586
13587         * lyxtextclasslist.[Ch]: layout as string
13588
13589         * lyxtextclass.[Ch]: layout as string
13590
13591         * lyxtext.h: layout as string
13592
13593         * lyxlayout.[Ch]: layout as string
13594
13595         * lyx_cb.C: layout as string
13596
13597         * bufferview_funcs.C: layout as string
13598
13599         * bufferparams.C: layout as string
13600
13601         * buffer.C: layout as string
13602
13603         * LyXView.[Ch]: layout as string
13604
13605         * LaTeXFeatures.[Ch]: layout as string
13606
13607         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13608
13609         * BufferView_pimpl.C: change current_layout to string, remove
13610         lyx::layout_type.
13611         (Dispatch):
13612         (smartQuote):
13613         (insertInset):
13614         (workAreaButtonRelease): layout as string
13615
13616         * BufferView2.C (unlockInset): adjust
13617
13618         * vspace.C (asLatexCommand): use an explict temp variable.
13619
13620 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13621
13622         * Makefile.am: use FRONTEND_*
13623
13624 2002-03-01  Juergen Vigna  <jug@sad.it>
13625
13626         * tabular.C (SetWidthOfMulticolCell): changed to something better
13627         I hope but still work in progress.
13628         (recalculateMulticolumnsOfColumn): renamed function from
13629         recalculateMulticolCells as it is more appropriate now.
13630         (SetWidthOfCell): calculate multicols better.
13631
13632 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13633
13634         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13635
13636         * lyxfunc.C (processKeySym): print sequence also if it is
13637         `deleted' (complete)
13638
13639         * kbsequence.C (print): print sequence even if it is deleted
13640         (complete would be a better word, actually).
13641
13642         * lyxfunc.C (dispatch): print complete options after a prefix key
13643
13644         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13645
13646 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13647
13648         * text2.C (setCharFont): eliminate setCharFont code duplication.
13649
13650 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13651
13652         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13653         LFUN_TABULAR_FEATURE (bug #177)
13654
13655 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13656
13657         * Makefile.am: remove figure.h
13658
13659 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13660
13661         * Bufferview_pimpl.C:
13662         * CutAndPasteC:
13663         * LaTeX.C:
13664         * LyXSendto.C:
13665         * buffer.C:
13666         * bufferlist.C:
13667         * converter.C:
13668         * language.C:
13669         * lyxfunc.C:
13670         * lyxvc.C:
13671         * paragraph.C:
13672         * text.C:
13673         * text2.C: remove #include "lyx_gui_misc.h".
13674
13675         * LaTeX.C: added #include <cstdio>
13676
13677 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13678
13679         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13680         that the paragraph following this one can have.
13681
13682         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13683
13684         * vspace.C (asLatexCommand): fix bogus gcc warning
13685
13686         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13687
13688 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13689
13690         * text2.C (setLayout): get rid of redundant code
13691
13692 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13693
13694         * text2.C (incDepth): make sure depth cannot be increased beyond
13695         reasonable values.
13696
13697 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13698
13699         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13700         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13701
13702         * PainterBase.h (image):
13703         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13704         a LyXImage const *.
13705
13706 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13707
13708         * BufferView.C:
13709         * BufferView.h:
13710         * BufferView_pimpl.C:
13711         * BufferView_pimpl.h:
13712         * LaTeXFeatures.C:
13713         * LyXAction.C:
13714         * LyXView.C:
13715         * Makefile.am:
13716         * UpdateList.h:
13717         * UpdateList.C:
13718         * buffer.C:
13719         * figure.h:
13720         * figureForm.C:
13721         * figureForm.h:
13722         * figure_form.C:
13723         * figure_form.h:
13724         * lyx_cb.C:
13725         * lyx_gui.C:
13726         * lyx_gui_misc.C:
13727         * lyxfunc.C:
13728         * sp_base.h:
13729         * sp_ispell.h:
13730         * sp_pspell.h:
13731         * sp_spell.C: remove fig inset, and the crap house of
13732           cards that follows it
13733
13734 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13735
13736         * Makefile.am:
13737         * lyxserver.C:
13738         * os2_defines.h:
13739         * os2_errortable.h:
13740         * nt_defines.h: move .h into support/
13741
13742         * vms_defines.h: remove
13743
13744         * WorkArea.C: add space in debug output
13745
13746         * text2.C:
13747         * paragraph.C:
13748         * buffer.C: add WITH_WARNINGS
13749
13750         * vc-backend.h:
13751         * vc-backend.C:
13752         * bufferlist.C: s/retrive/retrieve/, add docs
13753
13754         * vspace.h:
13755         * vspace.C:
13756         * kbmap.h:
13757         * lyxlength.h:
13758         * lyxgluelength.h:
13759         * length_common.h:
13760         * chset.h:
13761         * chset.C: add docs
13762
13763         * lyxgui.C: add ID to X error handler
13764
13765         * lyxtestclass.c: fix typo
13766
13767 2002-02-26  Juergen Vigna  <jug@sad.it>
13768
13769         * tabular_funcs.C (write_attribute): changed so that some default
13770         attributes are not written at all.
13771         (getTokenValue): set default values before trying to read the
13772         value so we have the return value always set as default if we don't
13773         find the token we search for.
13774
13775         * tabular.C (Write): write bools as bools not as strings!
13776
13777 2002-02-22  Juergen Vigna  <jug@sad.it>
13778
13779         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13780         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13781
13782         * text.C (leftMargin): don't add an indent for paragraphs inside
13783         tabular cells (fix #208).
13784
13785 2002-02-21  José Matos  <jamatos@fep.up.pt>
13786
13787         * tabular.C (docBook): fixed support for long tables.
13788
13789 2002-02-20  Juergen Vigna  <jug@sad.it>
13790
13791         * text2.C (getFont): get the drawing font of the Inset if this
13792         paragraph is inside an inset (only important for InsetERT for now).
13793
13794         * buffer.C (insertErtContents): use new lanugage params in ERT
13795         constructor.
13796
13797         * CutAndPaste.C: commenting out seemingly uneeded code.
13798
13799 2002-02-19  Allan Rae  <rae@lyx.org>
13800
13801         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13802         Iterators might be simple to use but they also get invalidated.
13803         (removeAutoInsets): renamed saved cursor tracking variables and added
13804         some comments to clarify what everything does.
13805
13806 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13807
13808         * Chktex.C:
13809         * LaTeX.C:
13810         * LyXSendto.C:
13811         * converter.C:
13812         * lyx_cb.C:
13813         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13814         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13815
13816         * lyxfunc.C:
13817         * vc-backend.h: remove #include "support/syscall.h"
13818
13819         * LaTeX.C:
13820         * LyXSendto.C:
13821         * converter.C: rearrange #includes in Lars' approved fashion.
13822
13823         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13824         forward declare class Timeout in the header file.
13825
13826         * XFormsView.C: changes due to the above.
13827
13828         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13829         similar to LyXView.
13830
13831         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13832         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13833
13834 2002-02-18  José Matos  <jamatos@fep.up.pt>
13835
13836         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13837         insets contents.
13838
13839 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13840
13841         * a lot of small ws changes
13842         * add a lot of using std::XXX
13843         * use std construcs some places where approp.
13844         * use some exisint stuff from lyxfunctional where approp.
13845         * Make file changes to use partial linking (lets test this now...)
13846
13847 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13848
13849         * Chktex.C:
13850         * buffer.C:
13851         remove #include "support/syscontr.h" as it's redundant. Always has been.
13852
13853         * Chktex.C:
13854         * LaTeX.C:
13855         * LyXSendto.C:
13856         * converter.C:
13857         * lyx_cb.C:
13858         * vc-backend.C:
13859         change Systemcalls::System to Systemcalls::Wait and
13860         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13861         No change of functionality, just reflects the stripped down Systemcalls
13862         class.
13863
13864 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13865
13866         * debug.[Ch]: add a GRAPHICS type to the enum.
13867
13868 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13869
13870         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13871
13872         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13873         there is an inset.
13874
13875 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13876
13877         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13878         match the changes below.
13879
13880         * text2.C (toggleInset): if there is not editable inset at cursor
13881         position, try to see if cursor is _inside_ a collapsable inset
13882         and close it.
13883
13884 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13885
13886         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13887         document menu has a nice checkbox
13888
13889 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13890
13891         * lyxlength.C (asLatexString): change PW to output as percent of
13892         \textwidth.
13893
13894         * lengthcommon.C: change '%' to 't%'
13895
13896         * lyxfunc.C (dispatch): a few comments from Martin
13897
13898 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13899
13900         * WorkArea.h:
13901         * WorkArea.C:
13902         * BufferView_pimpl.h:
13903         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13904           the X selection.
13905
13906 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13907
13908         * vspace.C (inPixels): fix compiler warning
13909
13910 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13911
13912         * lyxfunc.C (getStatus): fix status message for disabled commands.
13913
13914 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13915
13916         * BufferView_pimpl.C: fix crash on close buffer
13917         during selection (#227)
13918
13919 2002-01-27  Herbert Voss  <voss@lyx.org>
13920
13921         * buffer.C: link old Figure to new graphic inset
13922
13923 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13924
13925         * FontLoader.C (getFontinfo): Change the latex font names in order
13926         to match the names of type1inst.
13927
13928 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13931
13932         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13933         (extchanged): ditto
13934         (ext_exist): ditto
13935         (remove_files_with_extension): ditto
13936         (remove_file): ditto
13937         (write): ditto
13938
13939         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13940         document is smaller than the work area height. Do not initialize
13941         static variables to 0.
13942
13943 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13944
13945         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13946
13947         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13948         LFUN_LAYOUT_PARAGRAPHS.
13949
13950         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13951         tabular. It is possible to provide a possible cell, which will
13952         typically be the actcell from the corresponding insettabular
13953
13954         * lyxfunc.C (getStatus): small cleanup; disable
13955         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13956         true
13957
13958 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13959
13960         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13961
13962         * paragraph.C (startTeXParParams):
13963         (endTeXParParams): new methods. The LaTeX code to
13964         start/end paragraph formatting
13965         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13966         empty (fixes bug #200)
13967
13968         * vspace.C (inPixels): adapt to the change below
13969         (inPixels): [later] more cleanups (remove unused variables)
13970
13971         * lyxlength.C (inPixels): change to use a width and a height as
13972         parameter.
13973
13974 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13975
13976         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13977         Replaced with \paperwidth
13978
13979         * DepTable.C (insert): add std:: qualifier
13980
13981 2002-01-18  Allan Rae  <rae@lyx.org>
13982
13983         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13984         updated also?
13985
13986         * text.C (drawInset): Turned out I didn't know enough about how
13987         rebreaking worked.  This fixes most of the redraw problems.  I see
13988         an occasional cursor trail when a line is broken now and the cursor
13989         placement can seem out by a few pixels also after a rebreak.
13990
13991 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13992
13993         * buffer.C (parseSingleLyXformat2Token): update because minipage
13994         width is now a LyXLength
13995
13996         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13997
13998         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13999         math insets
14000
14001 2002-01-17  Juergen Vigna  <jug@sad.it>
14002
14003         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14004
14005         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14006         is set correctly and the inset is updated correctly.
14007
14008 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14009
14010         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14011         the beginning of the loop.
14012
14013 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14014
14015         * lyxrc.C: improve help for use_scalable_fonts
14016
14017 2002-01-17  Allan Rae  <rae@lyx.org>
14018
14019         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14020
14021 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14022
14023         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14024         make sure to set their inset_owner to the right value (bug #171)
14025
14026 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14027
14028         * DepTable.h
14029         * DepTable.C: Implement mtime checking to reduce time spent doing
14030         CRCs.
14031
14032 2002-01-16  Juergen Vigna  <jug@sad.it>
14033
14034         * tabular.C (GetAdditionalHeight): one of error fixed.
14035
14036         * lyxrc.C (output): small fix in writing use_pspell.
14037
14038 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14039
14040         * sp_base.h: #include LString.h
14041
14042 2002-01-16  Allan Rae  <rae@lyx.org>
14043
14044         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14045         Can someone check this please?
14046
14047         * text.C (drawInset): It was possible that p.row would be removed by
14048         breakAgainOneRow upsetting a few other settings.  There may be another
14049         small tweak possible by setting need_break_row = 0 when p.row has been
14050         removed but I don't know enough about the logic here.
14051
14052 2002-01-15  Allan Rae  <rae@lyx.org>
14053
14054         * text.C (insertChar): removed conditional truism.
14055
14056         * BufferView2.C (removeAutoInsets): More tweaks.
14057         cur_par_prev could be a stray pointer.  Check for trailing empty line
14058         in case last line was cur_par and only had an error inset on it.
14059
14060 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14061
14062         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14063         absolute
14064
14065         * vc-backend.C (most methods):
14066         * exporter.C (Export):
14067         * converter.C (convert):
14068         (runLaTeX):
14069         * LyXSendto.C (SendtoApplyCB):
14070         * lyxfunc.C (dispatch):
14071         (menuNew):
14072         (open):
14073         (doImport):
14074         * lyx_cb.C (AutoSave):
14075         (InsertAsciiFile):
14076         * BufferView_pimpl.C (MenuInsertLyXFile):
14077         * buffer.C (runChktex): use Buffer::filePath().
14078
14079         * buffer.h: rename filename to filename_; rename filepath to
14080         filepath_ and make it private
14081         (filePath): new method
14082
14083         * buffer.C (writeFile): use fileName()
14084         (getLatexName):
14085
14086         * lyx_main.C (init): fix starting  of LyX when the binary is a
14087         link from so,ewhere else.
14088
14089         * minibuffer.C: include <cctype> for isprint
14090
14091 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14092
14093         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14094         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14095         name clash with InsetCollapsable's width function.
14096
14097 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14098
14099         * lastfiles.C: include <iterator>
14100
14101 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14102
14103         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14104         std::count.
14105
14106         * buffer.C (makeLaTeXFile): ditto.
14107         Also make loop operation more transparent.
14108
14109 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14110
14111         * ToolbarDefaults.C: remove trailing comma closing namespace.
14112
14113         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14114
14115         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14116         as in WorkArea.
14117
14118         * trans.C (Load): comment out unused variable, allowed.
14119
14120 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14121
14122         * minibuffer.[Ch] (append_char): new method to recieve input from the
14123         drop-down completion browser. If a key was pressed, then recieve this
14124         char and append it to the existing string.
14125         (peek_event): modify the positioning data passed to the completion
14126         browser so that it can be placed above the minibuffer rather than below.
14127 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14128
14129         * LyXAction.C (init): alloe error-next for readonly documents.
14130
14131         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14132         count.
14133
14134 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14135
14136         * bufferlist.C (readFile): create the buffer _after_ checking that
14137         the file exists.
14138
14139         * lyxfunc.C (verboseDispatch): fix handling of arguments
14140
14141         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14142
14143         * lyxrc.C: use string::erase() instead of initializing to "".
14144
14145
14146 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * BufferView_pimpl.h:
14149         * BufferView_pimpl.C:
14150         * WorkArea.h:
14151         * WorkArea.C:
14152         * text2.C: tell X when we have made a selection for copying
14153
14154 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14155
14156         * BufferView_pimpl.C (MenuInsertLyXFile):
14157         * lyxfunc.C (menuNew):
14158         (open):
14159         (doImport): add shortcuts to directory buttons
14160
14161         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14162         open a float)
14163
14164         * lyxfunc.C (setStatusMessage):
14165         (getStatusMessage): new methods
14166         (getStatus):use setStatusMessage instead of setErrorMessage
14167         (dispatch): when function is disabled, set error message here
14168         [instead of in getStatus previously]
14169
14170         * BufferView_pimpl.C (workAreaButtonRelease): update
14171         toolbar/menubar here too.
14172
14173 2002-01-13  Allan Rae  <rae@lyx.org>
14174
14175         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14176         Now seems indestructible.  Remaining task is to audit all other
14177         code affected by deleteEmptyParagraphMechanism.  One small quirk
14178         left is that an empty document with an error in the preamble can
14179         be made to report an error but no error box appears.  I don't know
14180         where it goes.
14181         (removeAutoInsets): Improved comments.
14182
14183 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14184
14185         * Thesaurus.h:
14186         * Thesaurus.C: update for Aiksaurus 0.14
14187
14188 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14189
14190         * text2.C (firstParagraph): removed member function, all uses
14191         replaces with ownerParagraph
14192         (redoParagraphs): here
14193         (updateInset): here
14194         (toggleAppendix): here
14195         * BufferView2.C (insertErrors): here
14196         (setCursorFromRow): here
14197
14198 2002-01-13  Allan Rae  <rae@lyx.org>
14199
14200         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14201         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14202         There is still a way to segfault this although you may have to do this
14203         multiple times: Have an InsetERT with an unknown command in it.
14204         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14205         <down-arrow>, <Enter> again, View->DVI, BANG!
14206
14207         * text2.C (setCursor):
14208         (deleteEmptyParagraphMechanism):
14209         * lyxtext.h (setCursor):
14210         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14211         Making use of the return value may help fix other bugs.
14212
14213 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14214
14215         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14216
14217         * LyXView.C (updateMenubar): call MenuBar::update here
14218         (updateToolbar): but not here
14219         (showState): do not update toolbar/menubar
14220
14221         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14222         should need to care about that.
14223
14224         * lyxfunc.C (verboseDispatch): simplify a bit
14225         (getStatus): have a version which takes a pseudoaction, and
14226         another which requires a (kb_action,string).
14227
14228         * LyXAction.C (retrieveActionArg): make it work also when action
14229         is not a pseudo-action.
14230         (getActionName): simplify a bit
14231         (helpText):
14232
14233 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14234
14235         * lyxfunc.C (verboseDispatch): new families of methods with
14236         several ways to specify a command and a bool to indicate whether
14237         the command name and shortcut should be displayed in minibuffer
14238         (eventually, we could extend that to a finer bitmask like
14239         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14240         (dispatch): the pristine dispatch command which just, well,
14241         dispatchs! Note it still sets its result to minibuffer; I'm not
14242         sure we want that.
14243
14244         * lyxfunc.h: remove setHintMessage
14245
14246         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14247
14248 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14249
14250         * BufferView_pimpl.C (specialChar): delete new inset if we have
14251         not been able to insert it.
14252
14253         * kbmap.C: revert to using int instead of kb_action, since all we
14254         are dealing with is pseudo-actions.
14255
14256         * LyXAction.C (searchActionArg): change to return int instead of
14257         kb_action, since the result is a pseudoaction.
14258
14259 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14260
14261         * buffer.C (insertErtContents): Fix (partially) the font bug.
14262
14263 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14264
14265         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14266         as the other one is broken on my machine!
14267
14268 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14269
14270         * commandtags.h:
14271         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14272
14273 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14274
14275         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14276         reflect their actual use. Provide compatibility code for older lyxrc
14277         files.
14278
14279         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14280         FL_NORMAL_STYLE.
14281         change names of popup font variables in line with the changes to lyxrc.C
14282
14283 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14284
14285         * buffer.C (asciiParagraph): avoid outputing a word twice after
14286         an inset.
14287
14288         * lyxrc.C (getDescription): document that document_path and
14289         template_path can be empty.
14290
14291 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14292
14293         * LaTeXFeatures.C (getMacros):
14294         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14295
14296         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14297
14298         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14299         getPackages.
14300         (getPackages): rename feature "floats" to "float". Use an array to
14301         iterate over 'simple' features (i.e. just a \usepackage). Add
14302         handling of "amsmath" (renamed from "amsstyle").
14303
14304 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14305
14306         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14307         features list.
14308
14309 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14310
14311         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14312         FuncStaus::FuncStatus & FuncStaus::some_method().
14313
14314 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14315
14316         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14317         of the func_satus stuff. Edited and massaged in various ways by
14318         JMarc.
14319
14320         * lyxfunc.C (getStatus): use FuncStatus
14321
14322 2002-01-08  Juergen Vigna  <jug@sad.it>
14323
14324         * text.C (nextBreakPoint): use function Inset::isChar().
14325
14326         * paragraph.C (TeXOnePar): use function
14327         Inset::forceDefaultParagraphs.
14328
14329         * buffer.C (latexParagraphs): use function
14330         Inset::forceDefaultParagraphs.
14331
14332 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14333
14334         * lyx_gui.C (init): set the style of the menu popups to
14335         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14336
14337 2002-01-07  Juergen Vigna  <jug@sad.it>
14338
14339         * text.C (setHeightOfRow): small fix
14340         (prepareToPrint): don't look at alignment if we don't have the place
14341         for doing it.
14342
14343 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14344
14345         * box.C: New file. Move the Box methods and functions out of box.h,
14346         following Lars' suggestion.
14347
14348 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14349
14350         * box.h: #include "support/LOstream.h", needed for inlined function.
14351
14352         * lyxtextclass.C:
14353         * lyxtextclasslist.C: added some using std declarations.
14354
14355 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * box.h: make signed dimensions to allow insets wider than
14358           the screen (bug #162)
14359
14360         * BufferView_pimpl.C: add some insetHit debug
14361
14362 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14363
14364         * vc-backend.C: add FIXME
14365
14366 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14367
14368         * lyxfunc.C (getStatus): enable code for showing math font status
14369         in toolbar/menu.
14370
14371 2002-01-07  Juergen Vigna  <jug@sad.it>
14372
14373         * text.C (nextBreakPoint): removed debug output not needed anymore.
14374
14375 2002-01-06  Juergen Vigna  <jug@sad.it>
14376
14377         * text.C (nextBreakPoint): fixed up this function we had this bug
14378         since ever but now hopefully we break row better.
14379         (insertChar): we have to check if an inset is the next char as it
14380         could now happen that a large inset is causing a break.
14381
14382 2002-01-05  Juergen Vigna  <jug@sad.it>
14383
14384         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14385         if it doesn't like to be drawed.
14386
14387 2002-01-04  Juergen Vigna  <jug@sad.it>
14388
14389         * BufferView2.C (lockInset): forgot to set a cursor.
14390
14391         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14392
14393 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14394
14395         * FormMathsPanel.C:
14396         * FormMathsPanel.h
14397         * MathsSymbols.C:
14398         * form_maths_panel.C:
14399         * form_maths_panel.h:
14400         * form_maths_panel.fd: implemented sub- and super- buttons in math
14401         panel.
14402
14403         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14404         (or ^ space) to be used as in TeX (req'd by Andr�.
14405
14406         * lyxfunc.C: Allow ^ and _ again to be used both as
14407         super/subscript (mathed) and as themselves (in text).
14408
14409 2002-01-03  Allan Rae  <rae@lyx.org>
14410
14411         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14412         "LyX" or the filename of the current buffer if it has one.  This is a
14413         modified form of John Levon's patch.
14414
14415         * XFormsView.C (setWindowTitle): also set icon title.
14416
14417         * LyXView.h (setWindowTitle): signature changed.
14418         * XFormsView.h (setWindowTitle): ditto.
14419
14420 2002-01-02  Juergen Vigna  <jug@sad.it>
14421
14422         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14423
14424 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14425
14426         * screen.C (topCursorVisible): introduce a temp var for
14427         text->cursor.row(), handle the case where this row is null. (kindo
14428         hachish)
14429
14430         * text2.C (setCursor): add a couple of asserts.
14431
14432         * paragraph.h (inset_iterator): add -> operator
14433
14434         * paragraph.[Ch] (autoDeleteInsets): remove member function
14435
14436         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14437         cursor pos correctly and handle inset deletion by itself.
14438         (insertErrors): move iterator declaration out of for expression
14439
14440         * lyxtextclass.C: add <algorithm>
14441
14442         * Makefile.am: added the new files to sources, removed layout.C
14443
14444         * layout.C: removed file
14445
14446         * layout.h: remove LYX_DUMMY_LAYOUT
14447
14448         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14449         layout.
14450
14451         * lyxlayout.[Ch]:
14452         * lyxtextclass.[Ch]:
14453         * lyxtextclasslist.[Ch]: new files
14454
14455         * include order changes to a lot of files, also changes because of
14456         the six new files.
14457
14458 2001-12-27  Juergen Vigna  <jug@sad.it>
14459
14460         * buffer.C (asciiParagraph): more fixes.
14461
14462         * tabular.C (ascii): make ascii export support export of only the
14463         data separated by a column-delimiter.
14464         (ascii): better support for ascii export.
14465
14466         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14467
14468 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14469
14470         * tabular_funcs.C: use a "using std::getline" instead of the
14471         previous fix from Angus (necessary for cxx + lyxstring)
14472
14473 2001-12-24  Juergen Vigna  <jug@sad.it>
14474
14475         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14476
14477         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14478         problems. First check a minipage also if we have some ert-contents
14479         (not only on par->size(), second set the right depth of the paragraph
14480         on the relink to the root-paragraph-list!
14481
14482         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14483         which then did not anymore update the main paragraphs on undo/redo!
14484
14485 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14486
14487         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14488         code. Support all font-changing funcs (even those which are not in
14489         menu currently). Support for reporting font settings in
14490         mathed (disabled until Andre provides a function on mathed's side).
14491
14492         * func_status.h (toggle): small helper function to set toggle
14493         state on a flag.
14494
14495 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14496
14497         * tabular_funcs.C: getline -> std::getline
14498
14499 2001-12-21  Juergen Vigna  <jug@sad.it>
14500
14501         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14502         accessed and could be 0 (I couldn't generate this but it seems
14503         Michael could!).
14504
14505 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14506
14507         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14508         * tabular_funcs.h: here and include iosfwd
14509
14510 2001-12-20  Juergen Vigna  <jug@sad.it>
14511
14512         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14513         inside inset but undo_par was.
14514
14515 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14516
14517         * Thesaurus.C: always include <config.h> in sources.
14518
14519         * Painter.h:
14520         * lyxlookup.h:
14521         * box.h: do not include <config.h> in header files
14522
14523         * text.C (paintLastRow): remove unused variable
14524
14525         * text.C (transformChar):
14526         (insertChar):
14527         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14528
14529         * Painter.C (text):
14530         * font.C (width): rewrite to use uppercase() instead of
14531         islower/toupper.
14532
14533         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14534
14535 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14536
14537         * lyxfind.C: clean up of find failure position change
14538
14539 2001-12-20  Juergen Vigna  <jug@sad.it>
14540
14541         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14542
14543         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14544         (TeXRow): added to LaTeX a single tabular row.
14545         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14546         (Latex): simplified and finally good LT-h/f support.
14547         (various_functions): just small adaptions for LT-h/f support.
14548
14549         * tabular_funcs.[hC]: added and moved here all not classfunctions
14550         of LyXTabular.
14551
14552 2001-12-19  Juergen Vigna  <jug@sad.it>
14553
14554         * tabular.[Ch]: better support for longtabular options (not finished
14555         yet!)
14556
14557 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14558
14559         * text.C (paintLastRow): use the label font instead of the font of
14560         the last character to compute the size of *_BOX. This makes more
14561         sense and avoids a crash with empty paragraphs.
14562         Use Painter::rectangle to draw EMPTY_BOX.
14563
14564 2001-12-19  Juergen Vigna  <jug@sad.it>
14565
14566         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14567         the paragraphs if the replaced paragraph is not the first one!
14568         Tried to delete not used paragraphs but does not work yet so for
14569         now it's inside #ifdef's and by default off!
14570
14571 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14572
14573         * MenuBackend.C: include "lyx_main.h" instead of declaring
14574         lastfiles (actually was declared as LastFiles* instead of a
14575         scoped_ptr).
14576
14577 2001-12-17  Juergen Vigna  <jug@sad.it>
14578
14579         * tabular.C (AppendColumn): applied John's fix
14580
14581 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14582
14583         * BufferView.h:
14584         * BufferView.C:
14585         * BufferView_pimpl.h:
14586         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14587
14588         * Makefile.am:
14589         * box.h: new start of class for above
14590
14591         * lyxfunc.C: ignore space-only minibuffer dispatches.
14592           Show the command name when it doesn't exist
14593
14594         * minibuffer.C: don't add empty lines to the history
14595
14596         * minibuffer.C: add a space on dropdown completion
14597
14598 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14599
14600         * text.C: fix line above/below drawing in insets
14601
14602 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14603
14604         * lyxlength.C (LyXLength): Initialize private variables.
14605
14606 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14607
14608         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14609         when inserting error insets.
14610
14611 2001-12-13  Juergen Vigna  <jug@sad.it>
14612
14613         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14614         actually sometimes the before-paragraph.
14615         (setUndo): don't clear the redostack if we're not actually undoing!
14616
14617 2001-12-06  Juergen Vigna  <jug@sad.it>
14618
14619         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14620         and fixed redoing of main paragraph, so we can use it now ;)
14621
14622         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14623
14624 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14625
14626         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14627         Juergen's request
14628
14629 2001-12-13  André Pönitz <poenitz@gmx.net>
14630
14631         * undostack.[Ch]:
14632         * undo_func.C: minor cleanup
14633
14634 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14635
14636         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14637         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14638         font in urw-fonts package which is marked as -urw-fontspecific and
14639         does not work (incidentally, changing the encoding in the
14640         fonts.dir of this package to -adobe-fontspecific fixes the
14641         problem).
14642
14643         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14644         is a crash when undoing first paragraph (Juergen, please take a
14645         look). THis does not mean the undo fix is wrong, just that it
14646         uncovers problems.
14647
14648         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14649         the (Paragraph*) version when needed instead of duplicating the
14650         code.
14651
14652         * text.C (workWidth): use Inset::parOwner to find out where the
14653         inset has been inserted. This is a huge performance gain for large
14654         documents with lots of insets. If Inset::parOwner is not set, fall
14655         back on the brute force method
14656
14657         * paragraph_pimpl.C (insertInset):
14658         * paragraph.C (Paragraph):
14659         (cutIntoMinibuffer): set parOwner of insets when
14660         inserting/removing them
14661
14662         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14663
14664 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14665
14666         * commandtags.h:
14667         * LyXAction.C:
14668         * lyx_main.C:
14669         * lyxfunc.C:
14670         * mathed/formulabase.C:
14671         * mathed/math_cursor.[Ch]:
14672         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14673
14674
14675 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14676
14677         * lyxlength.[Ch] (operator!=): new function
14678
14679 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14680
14681         * text.C (workWidth): use Inset::parOwner to find out where the
14682         inset has been inserted. This is a huge performance gain for large
14683         documents with lots of insets. If Inset::parOwner is not set, fall
14684         back on the brute force method
14685
14686         * paragraph_pimpl.C (insertInset):
14687         * paragraph.C (Paragraph):
14688         (cutIntoMinibuffer): set parOwner of insets when
14689         inserting/removing them
14690
14691         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14692
14693 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14694
14695         * tabular-old.C (getTokenValue):
14696         * tabular.C (getTokenValue):
14697         (write_attribute): new versions for LyXLength
14698         (everywhere): adjust the use of widths
14699
14700         * tabular.h: change the type of widths from string to LyXLength
14701
14702 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14703
14704         * paragraph.C: fixed missing line number count when exporting
14705         Environments to LaTeX file
14706
14707         * buffer.C: added informational message for checking line numbers.
14708
14709 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14710
14711         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14712         paragraph, do the 'double space' part, but not the 'empty
14713         paragraph' one.
14714
14715         * text.C (workWidth): small optimization
14716         (getLengthMarkerHeight): use minimal size for negative lengths.
14717
14718 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14719
14720         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14721
14722         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14723
14724 2001-12-11  André Pönitz <poenitz@gmx.net>
14725
14726         * FontLoader.C:
14727         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14728
14729 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * text2.C: keep selection on a setFont()
14732
14733 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14734
14735         * lyx_cb.C: another bv->text misuse, from insert label
14736
14737 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14738
14739         * kbsequence.h:
14740         * kbsequence.C: re-instate nmodifier mask
14741
14742 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14743
14744         * lyx_main.h: make lyxGUI private.
14745
14746 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14747
14748         * lyxfind.C: place the cursor correctly on failed search
14749
14750 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14751
14752         * text.C (getLengthMarkerHeight): for small heights, the arrows
14753         are not always on top/bottom of the text
14754         (drawLengthMarker): smaller arrows; take the left margin in
14755         account; draw also vfills.
14756         (paintFirstRow):
14757         (paintLastRow): remove special code for vfill and standard spaces,
14758         since everything is handled in drawLengthMarker now.
14759
14760 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14761
14762         * buffer.C (insertErtContents): try to handle font and language
14763         interaction a bit better.g
14764
14765         * ColorHandler.C (updateColor): change the hash to cover the whole
14766         LColor enum, ws cleanup
14767         (getGCLinepars): ditto
14768         (getGCLinepars): only lookup in the linecache once.
14769
14770 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14771
14772         * iterators.C (operator++): Make the iterator more robust
14773
14774         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14775         (John's patch)
14776         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14777
14778 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14779
14780         * lyxtext.h:
14781         * text.C: better added space drawing
14782
14783 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14784
14785         * LyXView.C:
14786         * BufferView2.C: fix layout combo update on inset unlock
14787
14788 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14789
14790         * Makefile.am: don't compile unused files
14791
14792 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14793
14794         * lyxfunc.C:
14795         * commandtags.h:
14796         * LyXAction.C: remove old LFUN_LAYOUTNO
14797
14798 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14799
14800         * paragraph_pimpl.h:
14801         * paragraph_pimpl.C: isTextAt() doesn't need font param
14802
14803 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14804
14805         * lyxlex.h:
14806         * lyxlex.C: little cleanup
14807
14808 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14809
14810         * BufferView_pimpl.C: fix insertAscii for insets
14811
14812 2001-12-05  Juergen Vigna  <jug@sad.it>
14813
14814         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14815         set the right font on the "multi" paragraph paste!
14816
14817 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14818
14819         * trans_decl.h:
14820         * trans_mgr.[Ch]:
14821         * trans.[Ch]:
14822         * lyxgluelength.C:
14823         * lyxlength.C: remove out-commented code.
14824
14825         * BufferView_pimpl:
14826         * CutAndPaste.C:
14827         * DepTable.C:
14828         * buffer.C:
14829         * chset.C:
14830         * lastfiles.C:
14831         * lyxlex.C:
14832         * lyxlex_pimpl.C:
14833         * lyxserver.C:
14834         * screen.C:
14835         * tabular-old.C:
14836         * tabular.C:
14837         * text.C:
14838         * trans_mgr.C:
14839         * vc-backend.C: change "while(" to "while ("
14840
14841         * lyxlength.[Ch]: add zero function to check if length is zero or
14842         not
14843         * lyxgluelength.C: use it
14844
14845 2001-12-05  Allan Rae  <rae@lyx.org>
14846
14847         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14848         Works for 2.95.3, from what I understand of Garst's reports this should
14849         work for other g++ versions.  We're screwed if the abs(int) definition
14850         changed between bugfix releases of gcc.
14851
14852 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14853
14854         * text.C: fix chapter label offset !
14855
14856 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14857
14858         * lyxtext.h:
14859         * text.C: fix hfill at end of line, clean up
14860
14861 2001-12-04  Juergen Vigna  <jug@sad.it>
14862
14863         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14864         that we force an update of the inset and it's owners if neccessary.
14865
14866 2001-12-03  Juergen Vigna  <jug@sad.it>
14867
14868         * text.C (rowLast): simplified code
14869
14870 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14871
14872         * lyxfunc.C: fix show options on timeout
14873
14874 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * screen.C (topCursorVisible): scroll half a page when the cursor
14877         reached top of bottom of screen
14878
14879 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14880
14881         * minibuffer.C: deactivate on loss of focus
14882
14883 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14884
14885         * vspace.[Ch] (operator!=): add operator.
14886
14887 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14888
14889         * BufferView_pimpl.C: refuse to open an inset when
14890         there's a selection.
14891
14892 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14893
14894         * BufferView_pimpl.C: allow to click on RHS of full row insets
14895
14896 2001-11-30  Juergen Vigna  <jug@sad.it>
14897
14898         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14899         insets for undo reasons.
14900
14901 2001-11-28  André Pönitz <poenitz@gmx.net>
14902
14903         * vspace.[Ch]: cosmetical changes
14904
14905 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14906
14907         * LyXAction.h:
14908         * LyXAction.C:
14909         * lyxfunc.h:
14910         * lyxfunc.C:
14911         * kbmap.h:
14912         * kbmap.C:
14913         * lyxrc.C:
14914         * kbsequence.h:
14915         * kbsequence.C: part re-write of old kb code
14916
14917         * Painter.C:
14918         * WorkArea.C: remove Lgb_bug_find_hack
14919
14920 2001-11-30  José Matos <jamatos@fep.up.pt>
14921
14922         * buffer.C (makeDocBookFile): add a comment to point a hack.
14923         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14924         Fixed a double write of labels.
14925
14926 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14927
14928         * LaTeX.C:
14929         * LaTeX.h Fixed bug in LaTeX class where it would not
14930         re-run latex if no depfiles were changed, but the .dvi was removed.
14931
14932 2001-11-28  André Pönitz <poenitz@gmx.net>
14933
14934         * all the files from the change on 2001/11/26:
14935         use lyx::layout_type instead of LyXTextClass::size_type
14936         use lyx::textclass_type instead of LyXTextClassList::size_type
14937
14938 2001-11-29  Juergen Vigna  <jug@sad.it>
14939
14940         * text.C: added support for paragraph::isFreeSpacing()
14941
14942         * buffer.C: same as above
14943
14944         * paragraph.h: inserted isFreeSpacing() function to enable
14945         FreeSpacing inside InsetERT.
14946
14947         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14948         of the paragraph's in the cut/copy buffer to 0!
14949
14950         * text2.C (removeRow): remove the assert as it can!
14951
14952         * lyxtext.h: added helper function firstRow returning firstrow and
14953         made firstrow private again.
14954
14955         * BufferView2.C (lockInset): don't relock if we're already locked!
14956
14957         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14958         the only paragraph.
14959         (removeRow): added Assert::(firstrow)
14960
14961         * debug.C: forgot to add INSETTEXT here.
14962
14963 2001-11-28  Juergen Vigna  <jug@sad.it>
14964
14965         * sp_spell.C (initialize): changed error text to more general
14966         spellchecker command use (not only ispell!)
14967
14968         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14969
14970         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14971
14972 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14973
14974         * vspace.C: initialise lyxgluelength on failure
14975
14976 2001-11-28  Allan Rae  <rae@lyx.org>
14977
14978         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14979         declaration & definition that looks like a function declaration.
14980
14981 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14982
14983         * BufferView2.C (copy):
14984         (copyEnvironment): do not clear the selection when doing a copy.
14985
14986         * text.C (paintFirstRow): compilation fix
14987
14988 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14989
14990         * tabular.C (Latex): correct line count when writing latex.
14991
14992 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14993
14994         * paragraph_pimpl.h:
14995         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14996           bug a bit
14997
14998 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14999
15000         * text.C:
15001         * LColor.h:
15002         * LColor.C: change vfillline->added_space
15003
15004         * text.C: add markers and text for added space
15005
15006         * vspace.C: fix comment
15007
15008 2001-11-28  André Pönitz <poenitz@gmx.net>
15009
15010         * paragraph.C: whitespace changes
15011         * all the other files from the change on 2001/11/26:
15012         change *::pos_type into lyx::pos_type
15013
15014 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15015
15016         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15017         language of the document when inserting error insets.
15018
15019 2001-11-26  André Pönitz <poenitz@gmx.net>
15020
15021         * BufferView_pimpl.[Ch]:
15022         *       CutAndPaste.C:
15023         * buffer.[Ch]:
15024         * lyxcursor.[Ch]:
15025         * lyxfind.C:
15026         * lyxfunc.C:
15027         * lyxrow.[Ch]:
15028         * paragraph.[Ch]:
15029         * paragraph_pimpl.[Ch]:
15030         * sp_spell.C:
15031         * text.C:
15032         * text2.C: reduce header dependencies, introduce type for positions
15033
15034 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15035
15036         * <various>: change to use Alert.h
15037
15038 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15039
15040         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15041         when encountering an unknown token.
15042         (readLyXformat2): Show an error message if there were unknown tokens.
15043
15044 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15045
15046         * BufferView2.C:
15047         * BufferView_pimpl.C:
15048         * buffer.C:
15049         * paragraph.h:
15050         * text.C:
15051         * text2.C: use par->isInset()
15052
15053 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15054
15055         * paragraph_pimpl.h:
15056         * paragraph_pimpl.C: cleanup
15057
15058 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15059
15060         * text2.C (removeRow):
15061         * text.C (setHeightOfRow): remove useless (and costly) call to
15062         getRow.
15063
15064 2001-11-20  Allan Rae  <rae@lyx.org>
15065
15066         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15067         Now need Inset*::checkInsertChar() to return true for appropriate
15068         cases so that the characters in the minibuffer will actually be
15069         inserted.
15070
15071 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * text.C: change the order of the includes.
15074         (workWidth): initialize it at once.
15075         (workWidth): make maxw unsigned
15076         (setHeightOfRow): remove unused variable (inset)
15077         (selectSelectedWord): remove unused variable (inset)
15078         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15079
15080 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15081
15082         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15083         server is not running.
15084         (openConnection):
15085         (closeConnection): add debug info when server is disabled.
15086
15087         * ColorHandler.C (getGCForeground): send debug message to GUI
15088         channel.
15089
15090         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15091
15092         * kbmap.C (bind): modify because return conventions of
15093         kb_sequence::parse have changed.
15094
15095         * kbsequence.C (parse): only ignore spaces and not any stupid
15096         control character. This avoids tests like s[i] <= ' ', which are
15097         guaranteed to fail with 8bit characters and signed chars.
15098         Change return code to string::npos when there have been no error
15099         (0 was a bad idea when error is at first character)
15100
15101 2001-11-14  José Matos  <jamatos@fep.up.pt>
15102
15103         * buffer.h:
15104         * buffer.C (simpleDocBookOnePar): removed unused argument.
15105
15106 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15107
15108         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15109         insets which are part of a word. Paragraph::isLetter takes care of
15110         that now. Use Paragraph::isInset to identify insets.
15111         (selectSelectedWord): do not test for hyphenation break.
15112
15113         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15114         that protected spaces are considered as spaces.
15115
15116         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15117         Inset::isLetter.
15118
15119 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15120
15121         * lyxserver.h:
15122         * lyxserver.C: fix it. and small cleanup.
15123
15124 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15125
15126         * BufferView_pimpl.C: use inline helpers
15127
15128         * LaTeXFeatures.h:
15129         * LaTeXFeatures.C: fix typos
15130
15131         * Spacing.h:
15132         * Spacing.C: move spacing_string into class
15133
15134         * ToolbarDefaults.C: move stuff into namespace anon
15135
15136         * layout.h: update enum
15137
15138         * lyxfunc.C: use better debug
15139
15140         * minibuffer.h: fix typo
15141
15142         * debug.h:
15143         * debug.C:
15144         * WorkArea.C: add and use Debug::WORKAREA
15145
15146         * lyxtext.h:
15147         * text.C:
15148         * text2.C: code re-organisation, inline helpers
15149
15150 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15151
15152         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15153         std::vector.empty().
15154
15155 2001-11-09  Allan Rae  <rae@lyx.org>
15156
15157         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15158         '\n's after tables.  Tabular and ERT inset work now makes this no
15159         longer necessary.
15160
15161 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15162
15163         * minibuffer.h:
15164         * minibuffer.C: fix crash, improve drop-down completion
15165
15166 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15167
15168         * lyxserver.h:
15169         * lyxserver.C: invalidate fd's when doing endPipe()
15170
15171 2001-11-08  José Matos  <jamatos@fep.up.pt>
15172
15173         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15174         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15175
15176         * paragraph.h:
15177         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15178
15179 2001-11-07  José Matos  <jamatos@fep.up.pt>
15180
15181         * buffer.h:
15182         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15183         const qualifier.
15184
15185         * buffer.C (sgmlOpenTag):
15186         * buffer.C (sgmlCloseTag): removed debug info.
15187
15188         * buffer.h (sgmlOpenTag):
15189         * buffer.h (sgmlCloseTag): made public.
15190
15191 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15192
15193         * buffer.C (saveParamsAsDefaults):
15194         * lyx_cb.C (MenuLayoutSave): remove
15195
15196         * LyXAction.C (init):
15197         * commandtags.h:
15198         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15199
15200 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15201
15202         * buffer.C (setPaperStuff): removed from here...
15203
15204         * bufferparams.C (setPaperStuff): ... and moved there.
15205
15206 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15207
15208         * minibuffer.h:
15209         * minibuffer.C:
15210         * XFormsView.C: add support for drop-down completion
15211
15212 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15213
15214         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15215         commands.
15216
15217 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15218
15219         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15220         disabled.
15221
15222 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15223
15224         * lyx_main.C: change ref to known bugs
15225
15226 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15227
15228         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15229         to work around older babel problems.
15230
15231 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15232
15233         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15234
15235 2001-10-24  Juergen Vigna  <jug@sad.it>
15236
15237         * tabular-old.C (ReadOld): below variable changes reflected.
15238
15239         * tabular.[Ch]: added ltType struct for longtable header/footer
15240         defines and changed all instances where they are used. Added
15241         future support for double top/bottom rows.
15242
15243 2001-10-24  José Matos  <jamatos@fep.up.pt>
15244
15245         * buffer.h (docbookHandleCaption):
15246         * buffer.C (docbookHandleCaption): removed unused function.
15247         (makeDocBookFile): moved docbook supported version to v4.1.
15248
15249 2001-10-24  José Matos  <jamatos@fep.up.pt>
15250
15251         * tabular.h:
15252         * tabular.C (docbookRow): new function to export docbook code of a row.
15253         (DocBook): now honors the longtable flags.
15254
15255 2001-10-23  José Matos  <jamatos@fep.up.pt>
15256
15257         * LaTeXFeatures.h:
15258         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15259         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15260
15261         * buffer.C (makeLinuxDocFile):
15262         (makeDocBookFile): reworked the preamble, more clean, and with
15263         support for lyx defined entities. Changed the document declaration
15264         to be more XML friendly.
15265
15266         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15267         if we need to output XML that should be done with a filter.
15268
15269 2001-10-22  Juergen Vigna  <jug@sad.it>
15270
15271         * sp_pspell.h (class PSpell): add alive function needed in the
15272         controller to see if the spellchecker could be started.
15273
15274 2001-10-22  Juergen Vigna  <jug@sad.it>
15275
15276         * buffer.C (insertStringAsLines): modify the font for inserting
15277         chars in certain conditions by calling checkInsertChar(font).
15278
15279 2001-10-19  Juergen Vigna  <jug@sad.it>
15280
15281         * text.C (workWidth): use getRow instead of wrong algorithm.
15282         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15283
15284 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15285
15286         * lyxserver.h:
15287         * lyxserver.C:
15288         * lyx_main.h:
15289         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15290
15291 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15292
15293         * text.C (workWidth): do not search for the exact row when
15294         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15295         optimization for big documents.
15296
15297 2001-10-18  Juergen Vigna  <jug@sad.it>
15298
15299         * text.C (workWidth): new function with added Inset * parameter.
15300
15301 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15302
15303         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15304
15305         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15306         change return type of getColumnNearX.
15307
15308
15309         * text.C (changeRegionCase): use uppercase/lowercase instead of
15310         toupper/tolower.
15311         (leftMargin):
15312         (rightMargin): simplify code by factoring out the uses of
15313         textclasslist.
15314         (labelFill):
15315         (numberOfHfills):
15316         (setHeightOfRow):
15317         (appendParagraph): use Paragraph::size_type
15318
15319 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15320
15321         * vspace.C (asLatexString): add a missing break
15322
15323 2001-10-15  Herbert Voss  <voss@perce.de>
15324
15325         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15326
15327 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15328
15329         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15330         is not available.
15331
15332 2001-10-10  André Pönitz <poenitz@gmx.net>
15333
15334         * lyxfunc.C: removed greek_kb_flag.
15335
15336 2001-10-10  Herbert Voss  <voss@perce.de>
15337
15338         * lyx_main.C: delete global string help_lyxdir.
15339
15340 2001-10-09  Herbert Voss  <voss@perce.de>
15341
15342         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15343
15344         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15345
15346         * lyx_main.C: added global string help_lyxdir.
15347
15348         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15349
15350 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15351
15352         * lyxrc.C (set_font_norm_type): support iso8859-4
15353
15354 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15355
15356         * LaTeX.C (deplog): add another regex for MikTeX
15357
15358 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15359
15360         * lyxrc.C (set_font_norm_type): support iso8859-3
15361
15362 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15363
15364         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15365
15366         * LaTeXFeatures.C: remove special case of french and index
15367
15368         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15369         before \begin{document}). This solves several incompatibilities.
15370
15371 2001-10-03  Garst Reese  <reese@isn.net>
15372
15373         * lyx_cb.C: change CheckTex error msg.
15374
15375 2001-10-03  José Matos  <jamatos@fep.up.pt>
15376
15377         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15378
15379 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * .cvsignore: update
15382
15383         * lyx_main.C (commandLineVersionInfo): use new style version info.
15384
15385         * buffer.C (writeFile):
15386         (makeLaTeXFile):
15387         (makeLinuxDocFile):
15388         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15389
15390         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15391
15392         * version.h: update to use stuff in version.C
15393
15394         * version.C.in: new file. Contains version information determined
15395         at compile time. This is a merging of version.h and
15396         version_info.h.in.
15397
15398 2001-10-03  Juergen Vigna  <jug@sad.it>
15399
15400         * BufferView_pimpl.C (update): don't change "dirty" status in
15401         updateInset call.
15402
15403 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15404
15405         * WorkArea.C (c-tor): re-position version string slightly.
15406
15407 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15408
15409         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15410         revert to previous code.
15411
15412         WorkArea.[Ch]: (show, destroySplash): methods removed.
15413
15414         WorkArea.C: rework code so that it's an amalgam of the codes before and
15415         after the splash screen was moved to WorkArea.
15416
15417 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15418
15419         * lyxrc.C (read):
15420         * vspace.C (inPixels):
15421         (lyx_advance):
15422         * kbmap.C (bind):
15423         * buffer.C (insertStringAsLines):
15424         (asciiParagraph): fix types to be large enough
15425
15426         * lyxlex_pimpl.h: change member status from short to int
15427
15428         * layout.h: fix type of endlabeltype
15429
15430         * kbmap.C (bind):
15431         * kbsequence.C (parse): change return type to string::size_type
15432
15433         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15434         variable
15435
15436         * Bullet.C (bulletSize):
15437         (bulletEntry): do not use short ints as parameters
15438
15439         * BufferView2.C (insertLyXFile): change a char to an int.
15440
15441         * WorkArea.C (WorkArea): remove unneeded floats in computation
15442
15443 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15444
15445         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15446
15447         * paragraph.C (asString): Do not ignore newline/hfill chars when
15448         copying to the clipboard.
15449
15450 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15451
15452         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15453         after a multi-line inset.
15454
15455 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15456
15457         * paragraph.C (validate): Set NeedLyXFootnoteCode
15458
15459 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15460
15461         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15462         and decrease-error to decrease.
15463
15464 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15465
15466         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15467         it more readable (should be equivalent)
15468
15469 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15470
15471         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15472
15473 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15474
15475         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15476         of a cursor (row, etc.) after a character has been deleted
15477         (deleteEmptyParagraphMechanism): call the method above on _all_
15478         cursors held by the LyXText when a double space has been
15479         detected/deleted.
15480
15481 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15482
15483         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15484         pixmap.
15485         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15486
15487         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15488         background. Use greyOut() and the new show() methods to toggle between
15489         the foreground and background. Add code to remove the splash after
15490         its initial showing.
15491
15492         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15493         (create_forms): no longer call Dialogs::showSplash.
15494
15495 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15496
15497         * .cvsignore: add version_info.h
15498
15499 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15500
15501         * version_info.h.in: new file
15502
15503         * Makefile.am: add version_info.h.in
15504
15505         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15506         version_info.h instead of VERSION_INFO
15507
15508 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15509
15510         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15511         The ERT inset now returns string().
15512
15513 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15514
15515         * lyxtext.h, text.C (selectNextWord): renamed as
15516         selectNextWordToSpellcheck.
15517
15518         * text.C (selectNextWordToSpellcheck): Modified to not select
15519         words inside an ERT inset.
15520
15521 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15522
15523         * lyx_cb.C (MenuLayoutSave): change a bit the question
15524
15525         * sp_base.h: include <sys/types.h>
15526
15527 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15528
15529         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15530
15531 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15532
15533         * several files: fix typos in user-visible strings
15534
15535 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15536
15537         * text2.C (pasteSelection): do not set the selection, since it
15538         will be cleared later. Actually, the intent was to fix the way the
15539         selection was set, but I figured rmoving the code was just as good.
15540
15541 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15542
15543         * FontLoader.C (available): Check if font is available without
15544         loading the font.
15545
15546 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15547
15548         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15549
15550 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15551
15552         * lyxrc.[Ch]: added display_graphics variable and associated code.
15553
15554 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15555
15556         * bufferparams.C (hasClassDefaults): new method. Returns true if
15557         the buffer parameters correspond to known class defaults
15558
15559 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15560
15561         * XFormsView.C (show): set minimum size to the main window.
15562
15563 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15564
15565         * text2.C (copySelection):
15566         (cutSelection):
15567         * lyxfind.C (LyXReplace):
15568         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15569         LyXText::selectionAsString.
15570
15571         * paragraph.C (asString): add "label" argument to the second form
15572
15573         * text2.C (selectionAsString): add "label" argument and pass it to
15574         Paragraph::asString.
15575
15576 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15577
15578         * lyx_main.C (commandLineHelp): remove version information
15579
15580 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15581
15582         * lyx_main.C: add -version commandline option
15583
15584 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15585
15586         * paragraph.h: make the optional constructor arg required instead.
15587         some modifications to other files because of this.
15588
15589         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15590
15591         * lyxserver.C (C_LyXComm_callback): make it static
15592
15593         * lyx_main.C (error_handler): make it static
15594
15595         * lyx_gui.C (LyX_XErrHandler): make it static
15596
15597         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15598
15599         * WorkArea.C: make the extern "C" methods static.
15600
15601         * Makefile.am (lyx_LDADD): simplify
15602
15603 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15604
15605         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15606         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15607
15608         * LyXAction.C (init):
15609         * lyxfunc.C (dispatch): associated code removal.
15610
15611 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * lyxfont.h (isSymbolFont): shut off warning
15614
15615         * text.C (setHeightOfRow):
15616         (getVisibleRow): fix crash with empty paragraphs which have a
15617         bottom line
15618
15619 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15620
15621         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15622         code.
15623
15624 2001-09-04  José Matos  <jamatos@fep.up.pt>
15625         * buffer.C
15626         * buffer.h
15627         * tabular.C (docbook): rename docBook method to docbook.
15628
15629 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15630
15631         * Makefile.am: add dependencies to main.o.
15632
15633 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15634
15635         * FontLoader.C (available): Return false if !lyxrc.use_gui
15636
15637 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15638
15639         * FontInfo.C (query):
15640         * converter.C (view):
15641         * importer.C (Import):
15642         * exporter.C (Export): Can not -> cannot.
15643
15644 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15645
15646         * BufferView_pimpl.C: allow to create index inset even if
15647           string is empty
15648
15649 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15650
15651         * buffer.C (getLists): replace boost::tie code with an explicit pair
15652         as boost::tie can break some compilers.
15653
15654         * iterators.h: Added a std:: declaration to the return type of
15655         ParIterator::size.
15656
15657 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15658
15659         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15660           case.
15661
15662 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15663
15664         * iterators.[Ch]: New files. Provide paragraph iterators.
15665
15666         * buffer.C (changeLanguage): Use paragraph iterators.
15667         (isMultiLingual): ditto
15668
15669         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15670
15671 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15672
15673         * FontLoader.C: Support for cmr font.
15674
15675 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15676
15677         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15678         (available): New method.
15679
15680         * FontInfo.C (getFontname): Use scalable fonts even when
15681         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15682         found.
15683
15684 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15685
15686         * converter.C (Formats::view): reverted! Incorrect fix.
15687
15688 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15689
15690         * converter.C (Formats::view): only output the -paper option
15691         if the dvi viewer is xdvi, thereby fixing bug #233429.
15692
15693 2001-08-23  Herbert Voss  <voss@perce>
15694
15695         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15696
15697 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15698
15699         * Spacing.h (Spacing): Set space to Default on in the default
15700         constructor.
15701
15702 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15703
15704         * vc-backend.h (RCS::versionString): add RCS to version
15705         (CVS::versionString): add CVS to version
15706
15707         * vc-backend.C (scanMaster): do not add CVS to version.
15708         (scanMaster): do not add RCS to version
15709
15710         * lyxvc.C (versionString): new method
15711
15712         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15713
15714 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15715
15716         * Spacing.C (set): initialize fval
15717
15718 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15719
15720         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15721         " or \.
15722
15723 2001-08-16  Juergen Vigna  <jug@sad.it>
15724
15725         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15726
15727 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15728
15729         * BufferView_pimpl.C:
15730         * figureForm.C:
15731         * lyxtext.h:
15732         * text2.C: setParagraph takes linespacing now
15733
15734 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15735
15736         * LyxAction.C: add internal LFUN_CITATION_INSERT
15737
15738         * LyXView.C: actually apply fix
15739
15740         * bufferlist.C: fix open non-existent file
15741
15742         * lyxfind.C: fix indentation
15743
15744         * lyxfunc.C: remove unneeded assert, fix typo
15745
15746 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15747
15748         * MenuBackend.C: use "Floatname List"
15749
15750 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15751
15752         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15753         when converting LaTeX layout to insetERT.
15754         Generate a non-collapsed float when reading old float
15755
15756 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15757
15758         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15759         ERT insets.
15760
15761 2001-08-13  Juergen Vigna  <jug@sad.it>
15762
15763         * text.C (fill): return 0 instead of 20 as this seems to be the more
15764         correct value.
15765
15766 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15767
15768         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15769         lyxrc.font_norm.
15770
15771 2001-08-13  Juergen Vigna  <jug@sad.it>
15772
15773         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15774         casesensitive off.
15775         (SearchBackward): comment out the unlocking of the inset_owner this
15776         should not be needed!
15777
15778 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * Many files: Remove inherit_language, and add latex_language
15781
15782         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15783         collapsible insets.
15784
15785 2001-08-10  Juergen Vigna  <jug@sad.it>
15786
15787         * text.C (prepareToPrint): fixed hfill-width in draw!
15788
15789         * BufferView2.C (selectLastWord): save the selection cursor as this
15790         now is cleared in the function LyXText::clearSelection!
15791
15792 2001-08-08  Juergen Vigna  <jug@sad.it>
15793
15794         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15795         BACKSPACE type functions.
15796
15797         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15798         is only cutted from the document but not put in the cut-buffer, where
15799         still the old stuff should be.
15800
15801         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15802
15803         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15804
15805         * tabular.C (SetWidthOfCell): fixed special case where the width
15806         was not updated!
15807         (LeftLine): handle '|' in align_special.
15808         (RightLine): ditto
15809         (LeftAlreadyDrawed): ditto
15810         (SetWidthOfCell): ditto
15811
15812 2001-08-07  Juergen Vigna  <jug@sad.it>
15813
15814         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15815
15816 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15817
15818         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15819         * lyxlex.[hC]: ditto
15820
15821 2001-08-06  Juergen Vigna  <jug@sad.it>
15822
15823         * text.C (getVisibleRow): fix up row clearing a bit.
15824
15825 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15826
15827         * minibuffer.C: make sure the X server sees the changes in the input.
15828
15829 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15830
15831         * paragraph.C (getFont): split into...
15832         (getLabelFont): this
15833         (getLayoutFont): and this
15834         * paragraph_pimpl.C (realizeFont): calling this
15835
15836         * text2.C (getFont): split into...
15837         (getLayoutFont): this
15838         (getLabelFont): and this
15839         (realizeFont): all three calling this
15840
15841         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15842         files where used.
15843
15844 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15845
15846         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15847
15848 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15849
15850         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15851         layouts from the Quote inset insertion.
15852
15853 2001-08-03  Juergen Vigna  <jug@sad.it>
15854
15855         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15856
15857         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15858         only if status not is already CHANGED_IN_DRAW (second level).
15859
15860         * text.C (draw): don't set the need_break_row when inside an
15861         InsetText LyXText.
15862
15863 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15864
15865         * buffer.C (parseSingleLyXformat2Token): handle more latex
15866         conversion cases.
15867
15868         * bufferview_funcs.[hC]: change function names to
15869         begin with small char, adjust other files.
15870
15871 2001-08-02  André Pönitz <poenitz@gmx.net>
15872
15873         * lyxfunc.C:
15874         BufferView_pimpl.C: remove broken special code for math-greek
15875
15876 2001-08-02  Juergen Vigna  <jug@sad.it>
15877
15878         * BufferView_pimpl.C (update): redone this function so that we
15879         update the text again if there was a CHANGE_IN_DRAW.
15880
15881         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15882         (drawFromTo): added a new internal bool which is used by draw() and
15883         redraw() function.
15884         (general): some cursor drawing problems fixed.
15885
15886 2001-08-01  Juergen Vigna  <jug@sad.it>
15887
15888         * lyxfind.C (LyXFind): fixed
15889         (SearchForward): ditto
15890         (SearchBackward): ditto
15891
15892         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15893         spurius drawing of the cursor in the main area.
15894
15895         * text2.C (status): small fix which could lead to a segfault!
15896         (clearSelection): remove unneeded BufferView param.
15897
15898 2001-08-01  André Pönitz <poenitz@gmx.net>
15899
15900         * lyxfunc.C: small change due to changed mathed interface
15901
15902 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15903
15904         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15905
15906 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15907
15908         * lyxfunc.c: fail gracefully if file doesn't exist
15909
15910         * LyXSendto.C:
15911         * buffer.C:
15912         * lyxfunc.C:
15913         * BufferView_pimpl.C: IsDirWriteable() proto changed
15914
15915         * LyXView.C: fix updateWindowTitle() to store the last title
15916
15917 2001-07-31  Juergen Vigna  <jug@sad.it>
15918
15919         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15920         the font (wrong since using of Paragraph::highestFontInRange).
15921
15922         * paragraph.C (highestFontInRange): added a default_size parameter.
15923
15924         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15925         (setHeightOfRow): reformat
15926
15927 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15928
15929         * converter.[hC] + affected files: move to (inital-char)lowercase
15930         function names.
15931
15932         * ParagraphParameters.C (ParagraphParameters): remove commented code
15933
15934         * PainterBase.[Ch]: remove commented code
15935
15936         * LaTeXFeatures.h: add "bool floats" for float.sty
15937
15938         * LaTeXFeatures.C (LaTeXFeatures): init floats
15939         (require): handle float
15940         (getPackages): do it with floats
15941
15942 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15943
15944         * BufferView_pimpl.C (Dispatch): improve handling of
15945         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15946
15947         * commandtags.h: #include lyxfont.h here temporarily to avoid
15948         keybinding bug.
15949
15950         * bufferlist.h: include LString.h here.
15951
15952 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15953
15954         * text2.C (getStringToIndex): new method.
15955
15956 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15957
15958         * *: Reduced header file dependencies all over.
15959
15960 2001-07-30  Baruch Even  <baruch@lyx.org>
15961
15962         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15963
15964 2001-07-29  Baruch Even  <baruch@lyx.org>
15965
15966         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15967
15968 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15969
15970         * ParameterStruct.h (endif): add a default constructor to make
15971         sure that all variables is initialized.
15972
15973         * ParagraphParameters.C (ParagraphParameters): adjust
15974
15975 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15976
15977         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15978         index; also, check that there is something to index, and that it
15979         does not span over several paragraphs.
15980         (doubleClick): use WHOLE_WORD_STRICT for double click.
15981
15982         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15983
15984         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15985         scheme.
15986
15987 2001-07-26  Baruch Even  <baruch@lyx.org>
15988
15989         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15990         an InsetFig figure, backwards compatible reading of old figure code.
15991
15992 2001-07-27  Juergen Vigna  <jug@sad.it>
15993
15994         * text2.C: font.realize function adaption.
15995
15996         * text.C (draw): add a warnings lyxerr text if needed.
15997
15998         * layout.C: font.realize function adaption.
15999
16000         * language.C: add inherit_language and implement it's handlings
16001
16002         * bufferview_funcs.C (StyleReset): remove language parameter from
16003         font creation (should be language_inherit now).
16004
16005         * bufferparams.C (writeFile): handle ignore_language.
16006
16007         * paragraph.C (getFontSettings): the language has to be resolved
16008         otherwise we have problems in LyXFont!
16009
16010         * lyxfont.C (lyxWriteChanges): added document_language parameter
16011         (update): removed unneeded language parameter
16012
16013         * paragraph.C (validate): fixed wrong output of color-package when
16014         using interface colors for certain fonts in certain environments,
16015         which should not seen as that on the final output.
16016
16017 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16018
16019         * BufferView_pimpl.C:
16020         * Thesaurus.h:
16021         * Thesaurus.C:
16022         * Makefile.am:
16023         * commandtags.h:
16024         * LyXAction.C: add thesaurus support
16025
16026         * lyxfind.h:
16027         * lyxfind.C: add "once" parameter, for thesaurus, to not
16028           move to the next match
16029
16030 2001-07-26  Juergen Vigna  <jug@sad.it>
16031
16032         * lyxfont.C (realize): honor ignore_language too!
16033         (resolved): ditto.
16034
16035         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16036
16037         * text.C (draw): one place more for ignore_language to not draw
16038         itself!
16039
16040 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16041
16042         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16043
16044 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16045
16046         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16047         the minipage conversion problem.
16048
16049 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16050
16051         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16052         insert an inset.
16053
16054 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16055
16056         * BufferView.h: don't forward declare WorkArea
16057
16058         * BufferView.C: don't include WorkArea.h
16059
16060 2001-07-25  André Pönitz <poenitz@gmx.net>
16061
16062         * commandtags.h:
16063         * LyXAction.C:
16064         * lyxfunc.C:  new LFUN 'math-space'
16065
16066         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16067
16068 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16069
16070         * text2.C (toggleInset): call open/close
16071
16072 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16073
16074         * lyxfunc.C (dispatch): add debug for the disabled case
16075
16076         * font.C (buttonText): make similar to rectText
16077
16078         * buffer.C (readInset): comment out parsing of insetlist and
16079         insttheorem
16080
16081         * PainterBase.C (rectText): small correction
16082
16083         * BufferView_pimpl.C: comment out insettheorem and insetlist
16084         * LyXAction.C: ditto
16085         * commandtags.h: ditto
16086
16087 2001-07-24  Juergen Vigna  <jug@sad.it>
16088
16089         * text.C (draw): honor the ignore_language.
16090
16091         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16092
16093 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16094
16095         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16096         char inset.
16097
16098 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16099
16100         * lyxtext.h: remove unused (and unimplemented) methods
16101
16102 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16103
16104         * text.C (getVisibleRow): honor background color
16105
16106         * PainterBase.h:
16107         * Painter.h: remove default color argument for fillRectangle
16108
16109         * text.C (backgroundColor): new method
16110
16111 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16112
16113         * text.C (getVisibleRow): adjust
16114
16115         * font.[Ch] (rectText): new method, metrics
16116         (buttonText): new method, metrics
16117
16118         * PainterBase.[hC]: make rectText and buttonText always draw and take
16119         fewer paramteres.
16120
16121 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16122
16123         * ToolbarDefaults.C (read):
16124         * MenuBackend.C (read): allow escaping in all strings
16125
16126         * BufferView_pimpl.C (insertAndEditInset): new method.
16127         (Dispatch): use insertAndEditInset whenever appropriate.
16128
16129         * BufferView_pimpl.C (insertNote): removed
16130
16131         * BufferView_pimpl.C (smartQuote): new method, moved from
16132         BufferView; if an insetquote cannot be inserted, insert a '"'
16133         character instead.
16134
16135         * BufferView2.C: remove insertCorrectQuote();
16136
16137         * lyxfunc.C (getStatus): Add support for all remaingin
16138         inset-insert lfuns.
16139
16140         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16141
16142         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16143         command (necessary to pass " as parameter of self-insert.
16144
16145         * text.C (selectWordWhenUnderCursor):
16146         (selectWord): add word_location parameter
16147         (selectWordWhenUnderCursor): same + remove special code for word
16148         boundary.
16149         (selectNextWord): use kind() to guess type of insetspecialchar,
16150         not latex().
16151
16152         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16153         (insertErtContents): create ert insets as collapsed.
16154         (readInset): better compatibility code for Info inset.
16155
16156 2001-07-20  Juergen Vigna  <jug@sad.it>
16157
16158         * lyxfunc.C (dispatch): use always LyXFind now!
16159
16160         * text2.C (init): add a reinit flag so that the LyXText can be
16161         reinited instead of deleted and reallocated (used in InsetText).
16162
16163         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16164
16165         * text.C: ditto
16166
16167         * text2.C: ditto
16168
16169 2001-07-18  Juergen Vigna  <jug@sad.it>
16170
16171         * text.C (selectNextWord): handle insets inside inset by calling
16172         always the bv->text functions so that we can go up the_locking_inset!
16173
16174         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16175         in strange locations when inside an inset!
16176
16177         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16178         handling to include insets.
16179
16180         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16181
16182 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16183
16184         * LyXAction.C (init):
16185         * commandtags.h:
16186         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16187         LIGATURE_BREAK, since the name is so stupid.
16188
16189 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16190
16191         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16192         InsetInfos.
16193
16194         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16195
16196         * sp_form.[Ch]: remove.
16197
16198         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16199
16200         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16201         InsetInfo.
16202
16203         * src/buffer.C (readInset): ditto.
16204
16205 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16206
16207         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16208         menuSeparator(), endOfSentenceDot(), ldots() and
16209         hyphenationPoint(), which are therefore removed.
16210         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16211
16212         * LyXAction.C (init):
16213         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16214
16215         * paragraph.C (getWord): removed.
16216
16217         * BufferView_pimpl.C (Dispatch): use last word or selection for
16218         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16219
16220         * lyx_main.C (queryUserLyXDir): do not ask before creating
16221         user_dir, except if it has been named explicitely.
16222
16223 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16224
16225         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16226         a document of zero size.
16227
16228 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16229
16230         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16231         approriately in the c-tor and in require().
16232         (getPackages): output the appropriate LaTeX for natbib support.
16233
16234         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16235         variables "use_natbib" and "use_numerical_citations" when reading the
16236         LyX file.
16237         (readInset): read the various natbib cite commands.
16238         (validate): white-space change.
16239
16240         * bufferparams.[Ch]: new variables "bool use_natbib" and
16241         "bool use_numerical_citations".
16242         (writeFile): output them in the LyX file.
16243
16244 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16245
16246         * lyxfunc.C (getStatus): add support for all the inset insertion
16247         commands.
16248
16249         * text2.C (insertInset):
16250         * paragraph.C (insetAllowed):
16251         * BufferView_pimpl.C (insertInset): update to take in account the
16252         renaming of insertInsetAllowed
16253
16254         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16255
16256         * text2.C (getInset): new method. returns inset at cursor position.
16257
16258         * BufferView_pimpl.C (Dispatch): changes because of this.
16259
16260         * LyXAction.C (init): rename open-stuff to inset-toggle.
16261
16262         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16263
16264         * text2.C (toggleInset): renamed from openStuff; use
16265         Inset::open().
16266
16267 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16268
16269         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16270
16271         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16272
16273 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16274
16275         * buffer.C (readLyXformat2): Add filename to the error dialog
16276
16277 2001-07-18  Juergen Vigna  <jug@sad.it>
16278
16279         * tabular.C (GetCellNumber): put an assert here instead of the check!
16280
16281 2001-07-17  Juergen Vigna  <jug@sad.it>
16282
16283         * BufferView_pimpl.C (toggleSelection): adapted too.
16284
16285         * text.C (selectNextWord): adapted for use with insets.
16286         (selectSelectedWord): ditto
16287
16288 2001-07-17  Juergen Vigna  <jug@sad.it>
16289
16290         * sp_spell.C (PSpell): fix initialitation order.
16291
16292 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16293
16294         * paragraph.C: spacing
16295
16296 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16297
16298         * sp_spell.C: repair language selection for pspell
16299
16300 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16301
16302         * lyxfunc.h: change more methods to begin with lower char.
16303
16304 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16305
16306         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16307         for unknown layouts.
16308
16309 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16310
16311         * buffer.C (readLyXformat2): Generate an error dialog if there are
16312         unknown layouts.
16313
16314 2001-07-16  Juergen Vigna  <jug@sad.it>
16315
16316         * sp_spell.C: always compile ISpell part.
16317
16318         * lyxrc.C: added use_pspell entry and it's handling.
16319
16320 2001-07-13  Juergen Vigna  <jug@sad.it>
16321
16322         * sp_spell.C: removed double includes.
16323
16324 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16325
16326         Consistent use of Lsstream.h:
16327         * Lsstream.h: added using std::stringstream for consistencies sake.
16328
16329         * buffer.C: removed using std::stringstream
16330
16331         * lyxfont.C (stateText):
16332         * paragraph.C (asString):
16333         * text.C (selectNextWord, selectSelectedWord):
16334         * text2.C (setCounter):
16335         * vspace.C (asString, asLatexString):
16336         std::ostringstream -> ostringstream.
16337
16338 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16339
16340         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16341         * commandtags.h: add LFUN_HELP_ABOUTLYX
16342         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16343
16344 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16345
16346         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16347         cursorToggle()
16348         * lyx_gui_misc.C: remove spellchecker
16349         * lyxfunc.C: showSpellchecker
16350         * sp_base.h: added
16351         * sp_ispell.h: added
16352         * sp_pspell.h: added
16353         * sp_spell.C: added
16354         * sp_form.[Ch]: removed
16355         * spellchecker.[Ch]: removed
16356
16357 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16358
16359         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16360         is set.
16361         (simpleTeXSpecialChars): Simply print the input character without
16362         any special translation if pass_thru is set.
16363
16364         * layout.h: Added bool pass_thru to layout class for being able to
16365         implement pass through of a paragraph for Literate Programming.
16366
16367         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16368         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16369         * layout.C (Read): add "passthru" to list of layout tags and add
16370         code to set the pass_thru boolean when it is read.
16371
16372 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16373
16374         * trans_decl.h: remove allowed from KmodInfo
16375
16376         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16377         remove allowed code
16378         (Load): adjust
16379
16380         * paragraph_pimpl.C (erase): use boost::prior
16381
16382         * Painter.C (text): use data() instead of c_str() when length is
16383         also provided.
16384         * WorkArea.C (putClipboard): ditto
16385         * font.h (width): ditto
16386
16387         * BufferView2.C: use it-> instead of (*it). for iterators
16388         * texrow.C: ditto
16389         * paragraph_pimpl.C: ditto
16390         * paragraph.C: ditto
16391         * minibuffer.C: ditto
16392         * language.C: ditto
16393         * kbmap.C: ditto
16394         * encoding.C: ditto
16395         * counters.C: ditto
16396         * converter.C: ditto
16397         * chset.C: ditto
16398         * Variables.C: ditto
16399         * TextCache.C: ditto
16400         * MenuBackend.C: ditto
16401         * LyXAction.C: ditto
16402         * LColor.C: ditto
16403         * FloatList.C: ditto
16404         * DepTable.C: ditto
16405         * ColorHandler.C (LyXColorHandler): ditto
16406
16407 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16408
16409         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16410
16411         * text2.C (openStuff): reintroduce this method (which had been
16412         nuked in NEW_INSETS frenzy).
16413
16414         * lyxfunc.C (Dispatch): when an action has not been handled, use
16415         its name in the error message, not its number.
16416
16417         * paragraph.C (inInset): change method name to begin with lowercase.
16418
16419         * undo_funcs.C:
16420         * text2.C: updates because of this.
16421
16422 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16423
16424         * ToolbarDefaults.C (add): add spaces in error message
16425
16426 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16427
16428         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16429         (readLyXformat2): rename return_par to first_par, use lyxlex's
16430         pushToken and remove the manual push handling.
16431         (parseSingleLyXformat2Token): add another ert comp. variable:
16432         in_tabular, rename return_par to first_par. handle newlines better
16433
16434 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16435
16436         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16437
16438 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16439
16440         * text2.C (getParFromID): removed
16441
16442         * buffer.C (getParFromID): new method moved form lyxtext.
16443         * BufferView2.C (insertErrors): adjust
16444         (setCursorFromRow): adjust
16445         * BufferView_pimpl.C (restorePosition): adjust
16446         * lyxfunc.C (Dispatch): adjust
16447         * undo_funcs.C (textUndo): adjust
16448         (textRedo): adjust
16449         (textHandleUndo): adjust
16450         (textHandleUndo): adjust
16451
16452 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16453
16454         * buffer.C: up' the LYX_FORMAT
16455
16456         * lyxfont.h: turn NO_LATEX on as default
16457
16458         * buffer.C (insertErtContents): new methods of tex style compability.
16459         (parseSingleLyXformat2Token): use it several places.
16460         * tabular.C (OldFormatRead): and here
16461
16462 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16463
16464         * text2.C: remove some commented code.
16465         reindent file.
16466
16467         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16468         * trans.C: changes because of the above.
16469
16470 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16471
16472         * text2.C (setCounter): Fix counters bug with bibliography layout.
16473
16474 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16475
16476         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16477         own member functions
16478         (simpleTeXSpecialChars): ditto
16479
16480 2001-07-06  Juergen Vigna  <jug@sad.it>
16481
16482         * a lot of files: changed the access to LyXText::status and the
16483         call of undo-functions.
16484
16485         * undo.[Ch]: added a inset_id to the undo informations.
16486
16487         * undo_funcs.[Ch]: added and moved here all undo functions.
16488
16489         * lyxtext.h: give the status enum a weight, made status_ a private
16490         variable and made accessor functions for it, removed the whole bunch
16491         of undo-functions as they are now in their own file, make some
16492         functions publically available. Added function ownerParagraph with
16493         int parameter.
16494
16495         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16496         made InInset() a const function, added getParFromID() function.
16497
16498         * buffer.[Ch]: added const version for inset_iterator functions,
16499         added getInsetFromID() function.
16500
16501         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16502         changed undo functions for new version.
16503
16504 2001-07-05  Juergen Vigna  <jug@sad.it>
16505
16506         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16507         unknow mechanism does not call the proper constructor but only this
16508         one also if I request the other!?
16509
16510 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16511
16512         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16513
16514         * text2.C (LyXText): use initialization lists.
16515
16516         * lyxtext.h (Selection): initialize set_ and mark_
16517         (init): remove method
16518
16519 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16520
16521         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16522
16523 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16524
16525         * screen.[Ch]: change method names to begin with lowercase
16526
16527         * BufferView_pimpl.C (updateScrollbar): simplify further and
16528         hopefully make it a bit faster.
16529
16530 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16531
16532         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16533         calling directly xforms functions.
16534
16535         * Painter.C (Painter):
16536         * lyx_cb.C (MenuWrite):
16537         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16538         fl_display.
16539
16540         * lyx_gui.C: remove bogus guiruntime extern declaration.
16541
16542 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16543
16544         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16545         in NEW_INSETS
16546         (redoDrawingOfParagraph): ditto
16547         (redoParagraphs): ditto
16548         (cutSelection): don't create a object for CutAndPaste use the
16549         static method directly
16550         (pasteSelection): ditto
16551
16552         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16553         LyXview (+ rename)
16554
16555 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16556
16557         * modifications to some other files because of this.
16558
16559         * Makefile.am (lyx_SOURCES): add XFormsView
16560
16561         * XFormsView.[Ch]: new files
16562
16563         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16564         the main window. Move the gui dependent stuff to XFormsView
16565
16566 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16567
16568         * tabular.C (GetCellInset): update cur_cell also in the row/col
16569         version of this function.
16570
16571         * lyxfunc.C: no need to include figure_form.h here.
16572
16573         * FontLoader.h:
16574         * lyxfunc.h:
16575         * lyxscreen.h:
16576         * text2.C:
16577         * lyxvc.C: no need to include forms.h here.
16578
16579 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16580
16581         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16582
16583         * lyxfunc.C (Dispatch):
16584         * Spacing.C (set):
16585         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16586         constructor argument.
16587
16588 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16589
16590         * paragraph.C (Paragraph): dont't clear, and just set layout.
16591         (makeSameLayout): use params's copy contructor.
16592
16593         * ParagraphParameters.[Ch] (makeSame): delete method
16594
16595 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16596
16597         * Variables.[Ch]: fix indentation, rename set to isSet
16598
16599 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16600
16601         * lyxfunc.C (Dispatch): fix typo
16602
16603 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16604
16605         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16606         upper_bound.
16607
16608         * bufferlist.C: include assert.h for emergencyWrite().
16609
16610 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16611
16612         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16613           give up at last (bug #425202) !
16614
16615 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16616
16617         * lyx_gui_misc.C:
16618         * sp_form.h:
16619         * sp_form.C:
16620         * spellchecker.h:
16621         * spellchecker.C: strip spellchecker options and bring up
16622           preferences tab instead
16623
16624 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16625
16626         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16627         the istringstream constructor
16628
16629 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16630
16631         * paragraph.C (getLayout): fix return value
16632
16633         * paragraph.h: do not declare getLayout as inline.
16634
16635         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16636
16637 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16638
16639         * lyxcursor.h (operator<): new func
16640         (operator>): new func
16641         (operator>=): new func
16642         (operator<=): new func
16643
16644         * text.C (changeCase): use selection.start and selection.end
16645         (changeRegionCase): require from to be <= to. Require par to be a
16646         valid paragraph.
16647
16648         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16649
16650 2001-06-27  Juergen Vigna  <jug@sad.it>
16651
16652         * text.C (cursorLeftOneWord): changed to return the cursor and added
16653         overlay with BufferView * parameter which calls this one.
16654         (getWord): added
16655         (selectWord): use new getWord function.
16656         (changeCase): renamed from changeWordCase as and extended to work
16657         also on selections.
16658
16659         * lyxtext.h: added enum word_location
16660
16661         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16662         changeCase as this operates now also on selections.
16663
16664 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16665
16666         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16667
16668         * many files: send debug output to Debug::INFO instead of
16669         Debug::ANY.
16670
16671         * converter.C (View):
16672         (Convert):
16673         (Move): send debug output to Debug::FILES instead of console.
16674
16675 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16676
16677         * lyxfunc.C (getStatus): use func_status
16678
16679         * func_status.h: new header, describing the results of
16680         LyXFunc::getStatus;
16681
16682         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16683         LFUN_MATH_HALIGN.
16684
16685 2001-06-25  The LyX Project  <jug@sad.it>
16686
16687         * buffer.C (sgmlOpenTag):
16688         (sgmlCloseTag):
16689         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16690
16691 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16692
16693         * text2.C: remove some dead code
16694
16695         * tabular.C (GetCellInset): store the last cell checked (gotten)
16696
16697         * tabular.h: add the helper for the speedup
16698
16699         * lyxtext.h: remove some dead code
16700
16701 2001-06-26  The LyX Project  <Asger>
16702
16703         * paragraph.C: Change export to LaTeX of alignment to
16704         \begin{center} and family for better roundtrip work with reLyX.
16705
16706         * Tune the math drawing a bit.
16707
16708 2001-06-25  The LyX Project  <Asger>
16709
16710         * LColor.C (LColor): New color for math background. New color
16711         for buttons.
16712
16713 2001-06-25  The LyX Project  <jug@sad.it>
16714
16715         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16716
16717         * lyxfunc.C (Open):
16718         * bufferlist.C (newFile): do not restrict to files ending with
16719         .lyx
16720
16721         * BufferView_pimpl.C (MenuInsertLyXFile):
16722
16723 2001-06-24  The LyX Project  <jug@sad.it>
16724
16725         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16726         of compare_no_case
16727
16728 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16729
16730         * lyxtext.h: rename most methods to begin with a small char.
16731         Lots of changes because of this.
16732
16733         * paragraph.C (Paragraph): do not call fitToSize
16734         (erase): call Pimpl::erase
16735         (insertChar): call Pimpl::insertChar
16736         (insertInset): call Pipl::insertInset
16737         (breakParagraph): do not call fitToSize
16738         (breakParagraphConservative): do not call fitToSize
16739         (fitToSize): remove method
16740
16741         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16742
16743 2001-06-24  The LyX Project  <Asger>
16744
16745         * Fix Qt compilation^2
16746
16747 2001-06-24  The LyX Project  <jug@sad.it>
16748
16749         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16750         depthHook(getDepth()-1).
16751
16752         * paragraph.h:
16753         * ParagraphParameters.h:
16754         * ParameterStruct.h: change type of depth to unsigned int ==
16755         depth_type. Many adaptations to other files before of that.
16756
16757 2001-06-24  The LyX Project  <Asger>
16758
16759         * Fix Qt compilation.
16760
16761 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16762
16763         * paragraph.h: renamed several methods to begin with small letter.
16764         several changes to many parts of the code because of this.
16765
16766 2001-06-23  The LyX Project  <jug@sad.it>
16767
16768         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16769         rewritten to discard all double spaces when KeepEmpty is off
16770         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16771         to only handle newlines but not fiddle with spaces and friends.
16772
16773         * lyxfunc.C (MenuNew): when doing 'new from template', use
16774         template_path as default directory
16775
16776 2001-06-23  The LyX Project  <Asger>
16777
16778         * Clean-up of header file includes all over
16779         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16780
16781 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16782
16783         * paragraph.h: renamed from lyxparagraph.h
16784
16785 2001-06-23  Asger  <lyx@violet.home.sad.it>
16786
16787         * Buffer.h: Removed Buffer::resize
16788         * BufferList.h: Removed BufferList::resize
16789         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16790         the document lazily when we change the width, or the font settings.
16791
16792 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16793
16794         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16795
16796 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16797
16798         * buffer.h: remove out of date comment
16799
16800 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16801
16802         * lyxscreen.h:
16803         * screen.C: fix "theoretical" GC leak
16804
16805 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16806
16807         * LaTeX.C (scanAuxFile):
16808         (deplog): remove trailing \r when reading stream (useful under
16809         win32)
16810
16811 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16812
16813         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16814         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16815         and BufferView::theLockingInset(Inset*), so should use them and not
16816         access bv_->text->the_locking_inset directly.
16817
16818         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16819
16820 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16821
16822         * Makefile.am:
16823         * tex-defs.h: remove old unused file
16824
16825 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16826
16827         * BufferView_pimpl.C: fix typo, remove minibuffer message
16828           when buffer has loaded
16829
16830 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16831
16832         * lyxfunc.C (Dispatch): use stringstream
16833         (MenuNew): use stringstream
16834         (Open): use stringstream
16835
16836         * importer.C (Import): use stringstream
16837
16838         * bufferview_funcs.C (CurrentState): use stringstream
16839
16840         * LaTeX.C (run): use stringstream
16841
16842         * BufferView_pimpl.C (savePosition): use stringstream
16843         (restorePosition): use stringstream
16844         (MenuInsertLyXFile): use stringstream
16845
16846 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16847
16848         * BufferView.C:
16849         * Bullet.C:
16850         * ColorHandler.C:
16851         * FontInfo.C:
16852         * FontLoader.C:
16853         * LColor.C:
16854         * LaTeXFeatures.C:
16855         * Painter.C:
16856         * gettext.C:
16857         * lyx_gui_misc.C:
16858         * lyxserver.C:
16859         * vspace.C: removed // -*- C++ -*- as first line.
16860
16861         * lyxfind.h:
16862         * version.h: added // -*- C++ -*- as first line.
16863
16864 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16865
16866         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16867
16868         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16869         of string
16870
16871 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16872
16873         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16874         of floats.
16875
16876 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16877
16878         * gettext.C: include LString.h even when --disable-nls is on.
16879
16880 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16881
16882         * converter.h (Get): changed argument type from int to
16883         FormatList::size_type to avoid unnecessary conversion.
16884
16885         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16886         before using it.
16887
16888 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16889
16890         * gettext.h: include LString.h even when --disable-nls is on.
16891
16892 2001-06-07  Juergen Vigna  <jug@sad.it>
16893
16894         * text.C (BreakAgain): subst spaces with tabs.
16895
16896         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16897         (resizeInsetsLyXText): set force on resizeLyXText.
16898
16899 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16900
16901         * gettext.h (gettext_init):
16902         (locale_init): use a real definition instead of a macro
16903
16904 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16905
16906         * Bufferview_pimpl.C:
16907         * LColor.h:
16908         * LColor.C: further lcolor tidies
16909
16910 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16911
16912         * BufferView_pimpl.C (updateScrollbar): simplify.
16913
16914         * BufferView2.C: don't include insets/insetinfo.h, change
16915         prototype for insertInset and call the Pimpl version. let
16916         updateInset call Pimpl version.
16917
16918         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16919         gotoInset to BufferView::Pimpl
16920
16921 2001-06-01  Juergen Vigna  <jug@sad.it>
16922
16923         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16924         inside a LockingInset (is the update needed at all?).
16925
16926 2001-05-31  Juergen Vigna  <jug@sad.it>
16927
16928         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16929         here not the old one otherwise how should we compare it afterwards
16930         if it's the same!
16931
16932 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16933
16934         * lyxfont.C:
16935         * tabular.C:
16936         * tabular-old.C:
16937         * FontInfo.C: bring C functions into global namespace when
16938         necessary
16939
16940 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16941
16942         * LString.h: make sure config.h has been loaded before LString.h.
16943
16944         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16945         (one for each char read by EatLine!).
16946
16947         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16948         variables.
16949
16950 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16951
16952         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16953         to the same as the par we break from
16954
16955 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16956
16957         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16958
16959         * MenuBackend.C (expand): also create menu entries for wide
16960         versions of the floats.
16961
16962         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16963
16964         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16965
16966         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16967         frontends/Makefile.am
16968
16969         * text2.C: adjust
16970         * text.C: adjust
16971
16972
16973         * tabular.C (getTokenValue): add std::
16974
16975         * tabular-old.C (getTokenValue): add std::
16976         (getTokenValue): ditto
16977         (getTokenValue): ditto
16978
16979         * screen.C (ToggleSelection): adjust
16980
16981         * lyxtext.h: put selection cursors inside a Selection struct.
16982
16983         * lyxfunc.C (moveCursorUpdate): adjust
16984
16985         * lyxfont.C (latexWriteStartChanges): add std::
16986
16987         * lyxfind.C: adjust
16988
16989         * font.h: delete with(char const *, LyXFont const &)
16990
16991         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16992
16993         * FontInfo.C (getFontname): add std::
16994
16995         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16996         (workAreaButtonPress): adjust
16997         (tripleClick): adjust
16998         (update): adjust
16999         (moveCursorUpdate): adjust
17000         (Dispatch): adjust
17001
17002         * BufferView2.C (gotoInset): adjust
17003
17004 2001-05-30  Juergen Vigna  <jug@sad.it>
17005
17006         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17007         to check pspell I add this as default as I now have new pspell
17008         libraries and they seem to use this.
17009
17010 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17011
17012         * text2.C (CutSelection): make the cursor valid before the call to
17013         ClearSelection.
17014
17015 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17016
17017         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17018         relied on 0 terminated strings and other horrors. Bug found due to
17019         the new assert in lyxstring!
17020
17021         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17022         KP_ keys.
17023
17024 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17025
17026         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17027         to latinkeys.bind.
17028
17029         * lyxfunc.C (processKeySym): change method of getting to the
17030         self-insert char.
17031
17032         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17033         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17034         * BufferView_pimpl.[Ch]: here as private methods.
17035
17036 2001-05-28  Juergen Vigna  <jug@sad.it>
17037
17038         * text.C (SetHeightOfRow): added the update() call again as it is
17039         needed to initialize inset dimensions!
17040
17041 2001-05-16  Juergen Vigna  <jug@sad.it>
17042
17043         * text2.C (SetCharFont): Add new function with BufferView * and
17044         bool toggleall parameters for setting insets internal fonts.
17045         (SetFont): Freeze the undo as we may change fonts in Insets and
17046         all this change should be inside only one Undo!
17047
17048         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17049         setting font's in insets as for them we have the SetFont function!
17050
17051 2001-05-15  Juergen Vigna  <jug@sad.it>
17052
17053         * text2.C (ClearSelection): to be sure we REALLY don't have any
17054         selection anymore!
17055
17056         * tabular.C (TeXCellPreamble): fixed the left border problem for
17057         multicolumn cells.
17058
17059 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17060
17061         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17062         dependancy file
17063
17064 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17065
17066         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17067         LFUN_BREAKPARAGRAPH.
17068
17069         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17070         help test to "internal only", similar for LFUN_INSERT_URL
17071
17072         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17073         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17074         auto_region_delete and deadkeys.
17075
17076 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17077
17078         * LColor.h:
17079         * LColor.C: remove some dead entries, tidy a little
17080
17081 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17082
17083         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17084         commented code.
17085         (Dispatch): implement LFUN_ESCAPE
17086
17087         * commandtags.h: add LFUN_ESCAPE
17088
17089         * LyXAction.C (init): add entry for LFUN_ESCAPE
17090
17091         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17092         Remove commented code.
17093         (insertNote): moved here
17094         (open_new_inset): moved here
17095
17096         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17097         BufferView_pimpl
17098
17099 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17100
17101         * kbmap.C (findbinding): clean it up and make it work correctly.
17102
17103         * lyx_main.C (init): do not pass argc and argv as parameters
17104
17105 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17106
17107         * buffer.C: fix path for OS/2 & Win32
17108
17109         * lyx_gui.C:
17110         * lyx_main:
17111         * lyx_main.C: Added os:: class.
17112
17113         * os2_defines.h: update
17114
17115 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17116
17117         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17118         better by trying again with reduced state.
17119
17120 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17121
17122         * lyxrc.C (read): print error about invalid key sequence only when
17123         debugging (because not all latinX keysyms are known to some X
17124         servers)
17125
17126         * kbsequence.C (getiso): add a few std:: qualifiers
17127         (getiso): comment out extra return statement.
17128
17129 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17130
17131         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17132         handling.
17133         (Dispatch): enhance the accent inset a bit. (not perfect)
17134
17135 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17136
17137         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17138
17139 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17140
17141         * bufferlist.C (emergencyWrite): fix assert() call
17142
17143 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17144
17145         * text.C (InsertChar): Added trivial patch to only send the "you
17146         can not do multiple spaces this way" message once during a
17147         session.
17148
17149 2001-05-08  Baruch Even  <baruch@lyx.org>
17150
17151         * Makefile.am: Changed order of libraries to get LyX to link properly
17152         with the gnome frontend.
17153
17154 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17155
17156         * LaTeXFeatures.h: add a std:: qualifier
17157
17158 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17159
17160         * paragraph.C (String): use stringstream
17161
17162 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17163
17164         * paragraph.C (writeFile): remove footflag arg
17165
17166         * buffer.C (makeLaTeXFile): use stringstream
17167         (latexParagraphs): remove footnot gurba
17168
17169         * LaTeXFeatures.C (getPackages): use stringstream
17170         (getMacros): likewise
17171         (getTClassPreamble): likewise
17172         (getFloatDefinitions): new method
17173
17174         * paragraph.C (writeFile): reindent
17175         (Erase): reindent
17176
17177         * WorkArea.h: revert the xpos + etc changes.
17178
17179         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17180
17181         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17182
17183         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17184         (pasteSelection): likewise
17185         * text2.C (CreateUndo): likewise
17186
17187 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17188
17189         * minibuffer.C (peek_event): temporarily reduce the functionality
17190         of the minibuffer (to allow args on lfuns)
17191
17192         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17193         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17194
17195         * buffer.C (readInset): add compability reading of old float
17196         lists, add reading of new style float list.
17197         (readInset): avoid reevaluation of inscmd.getCmdName()
17198         (getLists): reindent
17199
17200         * MenuBackend.C (MenuItem): implement parsing of
17201         md_floatlistinsert and md_floatinsert.
17202         (expand::LastFiles): move initalizaton of iterators out of loop,
17203         avoid reevaluation.
17204         (expand::Documents): introduce typdedef vector<string> Strings,
17205         and use it.
17206         (expand::ExportFormats): introduce typedef vector<Format const *>
17207         Formats, and use it.
17208         (expand): implement FloatListInsert and FloatInsert.
17209
17210         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17211         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17212         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17213
17214         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17215         handling.
17216         (Dispatch::LFUN_FLOAT_LIST): implement
17217
17218 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17219
17220         * LaTeX.C (run): Fix problem with --export code.
17221
17222 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17223
17224         * BufferView.[Ch] (workarea): removed.
17225         (getClipboard) new method; wrapper for workarea()->getClipboard()
17226
17227         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17228         bug.
17229
17230         * WorkArea.h (width, height, xpos, ypos): These methods all
17231         returned the dimensions of the work_area sub-area of WorkArea,
17232         resulting in a position error if the WorkArea were resized. Now
17233         return the dimensions of the entire WorkArea.
17234
17235         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17236
17237 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17238
17239         * LaTeX.C (deplog): correct the syntax of regex reg1
17240
17241 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17242
17243         * undo.C: remove !NEW_INSETS cruft
17244
17245 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17246
17247         * text2.C: remove !NEW_INSETS cruft
17248
17249         * text.C: remove !NEW_INSETS cruft
17250
17251         * tabular.C: remove !NEW_INSETS cruft
17252
17253         * spellchecker.C: remove !NEW_INSETS cruft
17254
17255         * lyxtext.h: remove !NEW_INSETS cruft
17256
17257         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17258
17259         * lyxfunc.C: remove !NEW_INSETS cruft
17260
17261         * lyxfind.C: remove !NEW_INSETS cruft
17262
17263         * lyx_cb.C: remove !NEW_INSETS cruft
17264
17265         * figureForm.C: remove  !NEW_INSETS cruft
17266
17267         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17268
17269         * buffer.[Ch]: remove !NEW_INSETS cruft
17270
17271         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17272
17273         * CutAndPaste.C: remove !NEW_INSETS cruft
17274
17275         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17276
17277         * BufferView2.C: remove !NEW_INSETS cruft
17278
17279         * BufferView.h: remove !NEW_INSETS cruft
17280
17281 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17282
17283         * Lsstream.h: include LString.h before the sstream headers to
17284         fix problem with gcc 2.95.3 and lyxstring
17285
17286 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17287
17288         * lyx_main.C: add using directives when needed for C functions
17289         declared in std:: namespace.
17290
17291 2001-04-27  Juergen Vigna  <jug@sad.it>
17292
17293         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17294         (SetHeightOfRow): comment out the update call should not be needed!
17295
17296 2001-04-13  Juergen Vigna  <jug@sad.it>
17297
17298         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17299         (LyXTabular): tried to minimize operator= operations (and realized
17300         hopfully Lars wish).
17301
17302 2001-04-27  Juergen Vigna  <jug@sad.it>
17303
17304         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17305
17306 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17307
17308         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17309
17310         * buffer.C (readInset): hack to make listof algorithm work
17311
17312         * BufferView_pimpl.C: hack to make listof algorithm work
17313
17314 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17315
17316         * LyXAction.C: removed all !NEW_INSETS cruft
17317         (init): moved lfun_item in method
17318
17319         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17320
17321 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17322
17323         * BufferView2.C (theLockingInset): white space.
17324
17325 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17326
17327         * minibuffer.C: include <iostream>
17328
17329         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17330
17331         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17332
17333         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17334
17335         * text.[Ch] (TransposeChars): new method
17336
17337 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17338
17339         * call message directly through LyXView instead of through LyXFunc
17340         * BufferView2.C: adjust
17341         * BufferView_pimpl.C: adjust
17342         * FontLoader.C: adjust
17343         * buffer.C: adjust
17344         * bufferview_funcs.C: adjust
17345         * converter.C: adjust
17346         * figureForm.C: adjust
17347         * importer.C: adjust
17348         * lyx_cb.C: adjust
17349         * lyx_gui_misc.C: adjust
17350         * lyxfunc.C: adjust
17351         * lyxvc.C: adjust
17352         * text2.C: adjust
17353         + more files in subdirs
17354
17355         * lyxparagraph.h (size): move up int file
17356         (GetLayout): ditto
17357
17358         * adjust all uses of Assert to lyx::Assert.
17359
17360         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17361         lyxfunctional in namespace lyx
17362         * layout.C (hasLayout): ditto
17363         (GetLayout): ditto
17364         (GetLayout): ditto
17365         (delete_layout): ditto
17366         (NumberOfClass): ditto
17367         * converter.C (GetFormat): ditto
17368         (GetNumber): ditto
17369         (Add): ditto
17370         (Delete): ditto
17371         (SetViewer): ditto
17372         * bufferlist.C (getFileNames): ditto
17373         (emergencyWriteAll): ditto
17374         (exists): ditto
17375         (getBuffer): ditto
17376         * MenuBackend.C (hasSubmenu): ditto
17377         (hasMenu): ditto
17378         (getMenu): ditto
17379         * BufferView_pimpl.C (getInsetByCode): ditto
17380
17381 2001-04-18  Juergen Vigna  <jug@sad.it>
17382
17383         * vspace.C (asLatexString): fixed the 100% problem.
17384
17385 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17386
17387         * lyxfunc.C (Dispatch):
17388         * minibuffer.C:
17389         * minibuffer.h: add a few std:: qualifiers
17390
17391 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17392
17393         * minibuffer.[Ch]: reimplement so that commands is initiated and
17394         run from lyxfunc, simplified som handling, and made the completion
17395         and history code for complete. wip.
17396
17397         * lyxfunc.C (processKeySym): call message
17398         (miniDispatch): new temporary method
17399         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17400         (LFUN_MESSAGE): implement
17401         (LFUN_MESSAGE_PUSH): implement
17402         (LFUN_MESSAGE_POP): implement
17403         (initMiniBuffer): the initial/defualt minibuffer message.
17404
17405         * lyxfont.[Ch]: inline some more getters
17406
17407         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17408
17409         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17410
17411         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17412         (AutoSave): use LFUN_MESSAGE
17413         (Reconfigure): ditto
17414
17415         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17416
17417         * figureForm.C: use LFUN_MESSAGE
17418
17419         * converter.C (runLaTeX): use LFUN_MESSAGE
17420
17421         * bufferview_funcs.C: use LFUN_MESSAGE
17422         (Melt): ditto
17423         (changeDepth): ditto
17424
17425         * bufferparams.h: use boost::
17426
17427         * bufferlist.h: inherit privately from noncopyable
17428
17429         * bufferlist.C (loadLyXFile): remove some commented code.
17430
17431         * buffer.C (runChktex): use LFUN_MESSAGE
17432
17433         * ShareContainer.h: inherit privately from noncopyable
17434
17435         * ParagraphParameters.[hC] (depth): inline it.
17436
17437         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17438         methods.
17439         (message): new method
17440         (messagePush): ditto
17441         (messagePop): ditto
17442         (show): init minibuffer
17443         (showState): direct call
17444
17445         * LaTeX.[Ch]: inherit privately from noncopyable
17446         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17447         instead of WriteStatus.
17448
17449         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17450
17451         * BufferView_pimpl.C (buffer): don't init minibuffer
17452         (workAreaButtonPress): use LFUN_MESSAGE
17453         (workAreaButtonRelease): ditto
17454         (savePosition): ditto
17455         (restorePosition): ditto
17456         (MenuInsertLyXFile): ditto
17457         (workAreaExpose): don't init minibuffer
17458         (update): remove commented code, simplify
17459
17460         * BufferView2.C (openStuff): use LFUN_MESSAGE
17461         (toggleFloat): ditto
17462         (menuUndo): ditto
17463         (menuRedo): ditto
17464         (copyEnvironment): ditto
17465         (pasteEnvironment): ditto
17466         (copy): ditto
17467         (cut): ditto
17468         (paste): ditto
17469         (gotoInset): ditto
17470         (updateInset): remove some commented code
17471
17472         * lastfiles.h: inherit privately from noncopyable
17473         * layout.h: ditto
17474         * lyx_gui.h: ditto
17475         * lyx_main.h: ditto
17476         * lyxlex.h: ditto
17477         * lyxlex_pimpl.h: ditto
17478
17479         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17480         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17481         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17482
17483         * LyXAction.h: inherit privately from noncopyable, add methods
17484         func_begin, func_end, returning iterators to the func map.
17485
17486         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17487         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17488         (func_begin): new method
17489         (func_end): new method
17490
17491         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17492         and not)
17493         (copySelection): ditto
17494         (pasteSelection): ditto
17495
17496         * BufferView.C: whitespace change
17497         * BufferView.h: inherit privately from noncopyable
17498
17499 2001-04-16  Allan Rae  <rae@lyx.org>
17500
17501         * tabular-old.C (l_getline):
17502         * spellchecker.C (sc_check_word):
17503         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17504         an unrecognised preprocessor directive.  So ensure they're wrapped.
17505
17506 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17507
17508         * src/exporter.C (Export): Give an error message when path to file
17509         contains spaces.
17510
17511 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17512
17513         * LaTeX.C (deplog): Always check that foundfile exists.
17514
17515 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17516
17517         * lyx_main.h:
17518         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17519
17520 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17521
17522         * tabular.[Ch] (getLabelList): implement new method
17523
17524         * minibuffer.h: comment ouf setTiimer
17525
17526         * minibuffer.C (ExecutingCB): constify res
17527         (peek_event): constify s
17528         (Set): constify ntext
17529         (Init): constify nicename
17530
17531         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17532
17533         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17534         (savePosition): use two params to Minibuffer::Set
17535         (restorePosition): ditto
17536
17537 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17538
17539         * lyx_main.C: include language.h
17540
17541         * Makefile.am (lyx_main.o): add language.h
17542
17543 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17544
17545         * exporter.C:
17546         * paragraph.C:
17547         * screen.C:
17548         * tabular.C:
17549         * CutAndPaste.C: include gettext.h
17550
17551         * lyxfont.h: remove old hack with ON and OFF.
17552
17553         * lyxparagraph.h:
17554         * lyxfont.h: do not include language.h...
17555
17556         * BufferView2.C:
17557         * LaTeXFeatures.C:
17558         * Painter.C:
17559         * bufferview_funcs.C:
17560         * font.C:
17561         * lyxfont.C:
17562         * text.C:
17563         * text2.C:
17564         * trans_mgr.C:
17565         * paragraph.C: ... but do it here instead
17566
17567 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17568
17569         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17570
17571         * tabular.C: small reformat
17572
17573         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17574         NEW_INSETS version
17575         (GetChar): ditto
17576         (BreakParagraph): ditto
17577         (SetOnlyLayout): ditto
17578         (SetLayout): ditto
17579
17580         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17581         with one arg less.
17582
17583         * lastfiles.C: removed most using decl, add std:: where needed
17584
17585         * buffer.C: ws changes
17586
17587         * MenuBackend.C (class compare_format): put into anon namespace
17588         (expand): constify label, names, action, action2
17589         (expand):
17590
17591         * text.C (SingleWidth): constify font
17592         (IsBoundary): constify rtl2
17593         (GetVisibleRow): constify ww
17594
17595         * LaTeX.C (deplog): constify logfile
17596
17597         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17598         start_x, end_x
17599         (workAreaExpose): constify widthChange, heightChange
17600
17601         * lyxrow.C (par): moved
17602         (height): moved
17603         (next): moved
17604         * lyxrow.h: as inlines here
17605
17606         * lyxfont.h (shape): moved from lyxfont.C
17607         (emph): moved from lyxfont.C
17608
17609         * lyxfont.C (LyXFont): use initialization list for all
17610         constructors
17611         (shape): move to lyxfont.h as inline
17612         (emph): move to lyxfont.h as inline
17613
17614
17615 2001-04-04  Juergen Vigna  <jug@sad.it>
17616
17617         * vspace.C: had to include stdio.h for use of sscanf
17618
17619 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17620
17621         * BufferView.h:
17622         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17623         independent of xforms.
17624
17625 2001-04-02  Juergen Vigna  <jug@sad.it>
17626
17627         * spellchecker.C: fixed namespace placing!
17628
17629 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17630
17631         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17632         the LyXParagraph * is 0.
17633
17634 2001-03-29  Juergen Vigna  <jug@sad.it>
17635
17636         * vspace.C: added support for %, c%, p%, l%.
17637         (stringFromUnit): added helper function.
17638         (asLatexString): changed to give right results for the %-values.
17639
17640         * buffer.C: convert the widthp in a width%.
17641
17642 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17643
17644         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17645         figureForm.[Ch].
17646
17647         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17648         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17649
17650         * lyx_cb.[Ch]: see above.
17651
17652         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17653         form1.[Ch].
17654
17655         * form1.[Ch]:
17656         * lyx.[Ch]: replaced by figure_form.[Ch].
17657
17658         * lyx_gui.C:
17659         * lyx_gui_misc.C:
17660         * lyxfunc.C: changed headers associated with above changes.
17661
17662 2001-03-27  Juergen Vigna  <jug@sad.it>
17663
17664         * BufferView_pimpl.C: set the temporary cursor right!
17665
17666 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17667
17668         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17669
17670 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17671
17672         * LString.h: removed "using std::getline"!
17673
17674         * BufferView_pimpl.C (Dispatch): changes due to changes in
17675         InsetInclude::Params.
17676
17677         * buffer.C (tag_name): removed redundant break statements as they were
17678         producing lots of warnings with my compiler.
17679
17680 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17681
17682         * LString.h: add "using std::getline" when using the real <string>.
17683
17684 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17685
17686         * buffer.C: removed bitset usage.
17687         PAR_TAG moved to an anonymous name space.
17688         (tag_name): new funtion, also in the anonymous namespace.
17689         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17690         (makeDocBookFile): clean code. Completed transition from string arrays
17691         to string vectors.
17692         (SimpleDocBookOnePar): code clean.
17693
17694 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17695
17696         * tabular.C: add some comments.
17697
17698 2001-03-22  Juergen Vigna  <jug@sad.it>
17699
17700         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17701         compatibility read a bit and fixed bug with minipage in different
17702         depth.
17703
17704 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17705
17706         * buffer.C (pop_tag): removed.
17707         (push_tag): removed.
17708         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17709         array replaced with vector. Added support for CDATA sections.
17710         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17711         at any nest level.
17712         (makeDocBookFile): XML conformant declaration of CDATA section,
17713         fixed bug related to <emphasis> in the first paragraph char.
17714         (sgmlOpenTag): exclude empty tags.
17715         (sgmlCloseTag): ditto.
17716
17717         * buffer.h (pop_tag): removed.
17718         (push_tag): removed.
17719
17720 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17721
17722         * language.h (Languages): added size_type and size().
17723
17724 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17725
17726         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17727         response on compability reading of minipages. One probliem is that
17728         the old usage of minipages was flertydig
17729
17730         * several files here and in subdirs: don't use static at file
17731         scope use anon namespaces instead.
17732
17733 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17734
17735         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17736         LaTeX output. This is necessary for Literate document
17737         processing.
17738
17739 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17740
17741         * buffer.C: insert hfill when needed.
17742
17743         * tabular.C (l_getline): use string::erase, small whitespace change.
17744
17745         * BufferView_pimpl.C: try the anon namespace.
17746         * WorkArea.C: ditto
17747
17748 2001-03-16  Juergen Vigna  <jug@sad.it>
17749
17750         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17751         otherwise it won't open options-dialogs.
17752
17753         * buffer.C: honor pextraWidth(p) on converting minipages.
17754
17755         * tabular.C (l_getline): changed the functions to strip trailing \r.
17756
17757 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17758
17759         * BufferView_pimpl.C:
17760         * minibuffer..C: added "using SigC::slot" declaration.
17761
17762 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17763
17764         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17765
17766         * text2.C: ditto
17767
17768         * text.C: ditto
17769
17770         * paragraph.C: ditto
17771
17772         * lyxtext.h: NO_PEXTRA
17773
17774         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17775
17776         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17777         * ParameterStruct.h: ditto
17778         * ParagraphParameters.h: ditto
17779         * lyxparagraph.h: ditto
17780
17781 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17782
17783         * buffer.C: add compability for minipage alignment.
17784         (latexParagraphs): remove unwanted pextra check.
17785
17786         * several files: remove CXX_WORKING_NAMESPACES
17787
17788         * buffer.C (pop_tag): tie is in namespace boost
17789
17790         * BufferView.h: noncopyable is in namespace boost
17791         * lyxlex.h: ditto
17792         * lyx_main.h: ditto
17793         * lyx_gui.h: ditto
17794         * layout.h: ditto
17795         * lastfiles.h: ditto
17796         * bufferlist.h: ditto
17797         * ShareContainer.h: ditto
17798         * LyXView.h: ditto
17799         * LyXAction.h: ditto
17800         * LaTeX.h: ditto
17801
17802 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17803
17804         * Merging changes from BRANCH_MVC back into HEAD.
17805
17806         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17807
17808 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17809
17810         * BufferView_pimpl.C: change from intl.C
17811
17812         * combox.h:
17813         * combox.C:
17814         * Makefile.am: move combox.*
17815
17816         * form1.h:
17817         * form1.C:
17818         * lyx_gui.C:
17819         * intl.h:
17820         * intl.C: remove dialog (covered by prefs)
17821
17822 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17823
17824         * lyxfunc.C (Dispatch): removed redundant break statement.
17825
17826 2001-03-14  Juergen Vigna  <jug@sad.it>
17827
17828         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17829
17830 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17831
17832         * buffer.C: add hack to fix compability reading of minipages.
17833
17834 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17835
17836         * buffer.C (getLists): Cleanup.
17837
17838 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17839
17840         * lyxfont.C (update): don't honor toggleall on font size.
17841
17842 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17843
17844         * bmtable.c:
17845         * bmtable.h:
17846         * Makefile.am: moved to frontends/xforms/
17847
17848         * lyx_gui_misc.C:
17849         * lyxfunc.C:
17850         * BufferView_pimpl.C: changes for moved mathpanel
17851
17852 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17853
17854         * gettext.h: fix gettext_init() in --disable-nls
17855
17856 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17857
17858         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17859
17860 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17861
17862         * lyx.C:
17863         * lyx.h: strip external form
17864
17865 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17866
17867         * BufferView_pimpl.C: add comment, destroySplash()
17868
17869 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17870
17871         * BufferView_pimpl.C:
17872         * LyXAction.C:
17873         * buffer.C:
17874         * commandtags.h:
17875         * lyxfunc.C: use re-worked insetinclude
17876
17877 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17878
17879         * buffer.C: add using std::stringstream.
17880
17881         * lyx_cb.C: readd using std::ios.
17882
17883         * buffer.C: add using std::map.
17884
17885         * BufferView_pimpl.C: add using std::vector.
17886
17887         * ShareContainer.h: add std:: to swap.
17888
17889         * buffer.h: add some typedefs
17890         * buffer.C (getLists): use them
17891         (getLists): renamed from getTocList.
17892         add a counter for the different float types and use it in the
17893         generated string.
17894         (getLists): use the same counter for the NEW_INSETS and the "non"
17895         NEW_INSETS
17896
17897         * lyx_cb.h: remove unused items, includes, using etc.
17898
17899         * ShareContainer.h: remove some commented code, add more comments
17900         and "documentation".
17901
17902 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17903
17904         * buffer.C (getTocList): make the list also when NEW_INSETS is
17905         defined.
17906
17907         * buffer.h: remove TocType
17908
17909         * buffer.C (getTocList): change to return a map<string,
17910         vector<TocItem> >, implement for dynamic number of list.
17911
17912         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17913         * text2.C (PasteSelection): adjust
17914         * CutAndPaste.C (pasteSelection): adjust
17915
17916         * FloatList.C (FloatList): update from the new_insets branch.
17917         * Floating.[Ch]: ditto
17918         * LaTeXFeatures.C: ditto
17919         * buffer.C: ditto
17920         * lyxlex_pimpl.C: ditto
17921
17922         * paragraph.C (Last): remove when NEW_INSETS is defined.
17923
17924         * other file: changes because of the above.
17925
17926 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17927
17928         * lyxparagraph.h: rename next to next_, previous to previous_,
17929         make them private for NEW_INSETS. Rename Next() to next(),
17930         Previous() to previous().
17931
17932         * other files: changes because of the above.
17933
17934 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17935
17936         * BufferView.h:
17937         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17938         problem.
17939
17940 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17941
17942         * main.C (main): pass lyx_localedir to gettext_init().
17943
17944         * gettext.h: remove locale_init and gettext_init macros
17945
17946         * gettext.C (locale_init): new function
17947         (gettext_init): new function
17948
17949         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17950         setlocale().
17951
17952 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17953
17954         * Moved credits to frontends:
17955         * credits.[Ch]: removed
17956         * credits_form.[Ch]: removed
17957         * lyx_gui_misc.C: remove credits stuff
17958         * Makefile.am:
17959
17960 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17961
17962         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17963
17964         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17965         unneeded destructor.
17966
17967         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17968         a standalone pointer again.
17969
17970         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17971
17972 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17973
17974         * Makefile.am:
17975         * filedlg.h:
17976         * filedlg.C:
17977         * LyXAction.C:
17978         * ToolbarDefaults.C:
17979         * bufferlist.C:
17980         * commandtags.h:
17981         * form1.C:
17982         * form1.h:
17983         * lyx_cb.C:
17984         * lyx_cb.h:
17985         * lyxfunc.h:
17986         * lyxfunc.C:
17987         * BufferView_pimpl.C: use new file dialog in GUII
17988
17989         * lyx_cb.h:
17990         * lyx_cb.C: remove LayoutsCB to Toolbar
17991
17992 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17993
17994         * ShareContainer.h (get): add std:: qualifier
17995
17996 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17997
17998         * ShareContainer.h: define a proper ShareContainer::value_type
17999         type (and use typename to please compaq cxx)
18000
18001 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18002
18003         * lyxparagraph.h: move serveral local vars to
18004         ParameterStruct/ParagraphParameters., use ShareContainer in
18005         FontTable., make vars in FontTable private and add getter and
18006         setter.
18007
18008         * paragraph.C: changes because of the above.
18009
18010         * lyxfont.h: remove copy constructor and copy assignment. (the
18011         default ones is ok), move number inside FontBits. move inlines to
18012         lyxfont.C
18013
18014         * lyxfont.C: add number to initializaton of statics, move several
18015         inlines here. constify several local vars. some whitespace
18016         cleanup. Dont hide outerscope variables.
18017
18018         * Spacing.h: add two new constructors to match the set methods.
18019
18020         * ShareContainer.h: new file, will perhaps be moved to support
18021
18022         * ParameterStruct.h: new file
18023
18024         * ParagraphParameters.h: new file
18025
18026         * ParagraphParameters.C: new file
18027
18028         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18029         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18030
18031         * BufferView_pimpl.C: ParagraphParameter changes.
18032         * buffer.C: Likewise.
18033         * bufferview_funcs.C: Likewise.
18034         * text.C: Likewise.
18035         * text2.C: Likewise.
18036
18037 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18038
18039         * lyxfind.C (LyXReplace): do not redefine default argument in
18040         implementation.
18041         (IsStringInText): ditto
18042         (SearchForward): ditto
18043         (SearchBackward): ditto
18044
18045 2001-03-06  Juergen Vigna  <jug@sad.it>
18046
18047         * lyxfind.C (IsStringInText): put parentes around expressions.
18048
18049 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18050
18051         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18052
18053 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18054
18055         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18056
18057         * stl_string_fwd.h: add comment
18058
18059         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18060
18061         * tabular.h:
18062         * tabular.C: remove unused DocBook methods
18063
18064         * intl.C:
18065         * language.C:
18066         * paragraph.C:
18067         * buffer.C:
18068         killed DO_USE_DEFAULT_LANGUAGE
18069
18070 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18071
18072         * lyx_gui.C: do not include language.h.
18073
18074         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18075         arguments in function implementation.
18076
18077 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18078
18079         * BufferView_pimpl.C: add <ctime>
18080
18081 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18082
18083         * BufferView_pimpl.C: add using std::find_if
18084
18085 2001-02-27  José Matos  <jamatos@fep.up.pt>
18086
18087         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18088         by OnlyPath.
18089
18090 2001-02-11  José Matos  <jamatos@fep.up.pt>
18091
18092         * buffer.C (makeDocBookFile): command styles now have a parameter as
18093         "title" by default.
18094
18095 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18096
18097         * layout_forms.[Ch]: removed
18098         * lyx_cb.[Ch]: out character
18099         * lyx_gui.C: out character
18100         * lyx_gui_misc.C: out character
18101         * bufferview_funcs.C: : out character,
18102         added toggleall as parameter in ToggleAndShow
18103
18104 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18105
18106         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18107
18108         * text2.C (SetCurrentFont): Disable number property at boundary.
18109
18110 2001-02-26  Juergen Vigna  <jug@sad.it>
18111
18112         * lyxfunc.C (getStatus): added a string argument override function so
18113         that this is correctly called from LyXFunc::Dispatch if it contains a
18114         do_not_use_argument which is used!
18115         (Dispatch): added check for "custom" export and call appropriate func.
18116
18117 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18118
18119         * lyxrc.C: Add language_command_local, language_use_babel and
18120         language_global_options.
18121
18122         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18123
18124         * buffer.C (makeLaTeXFile): Use language_use_babel and
18125         language_global_options.
18126
18127 2001-02-23  Juergen Vigna  <jug@sad.it>
18128
18129         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18130         which works with LyXText and putted it inside BufferView. Here now we
18131         only call for that part the BufferView::Dispatch() function.
18132
18133         * BufferView.C (Dispatch): added.
18134
18135         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18136         functions which needs to use a LyXText over from LyXFunc.
18137         (MenuInsertLyXFile): added
18138         (getInsetByCode): added
18139         (moveCursorUpdate): added
18140         (static TEXT): added
18141
18142 2001-02-22  Juergen Vigna  <jug@sad.it>
18143
18144         * BufferView_pimpl.C (update): call a status update to see if LyXText
18145         needs it.
18146
18147 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18148
18149         * vc-backend.C (revert): implement for CVS
18150         (getLog): implement for CVS
18151
18152 2001-02-20  Juergen Vigna  <jug@sad.it>
18153
18154         * text2.C (ClearSelection): added BufferView param for inset_owner call
18155
18156         * lyxfunc.C (TEXT): added this function and use it instead of
18157         directly owner->view()-text of getLyXText().
18158
18159 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18160
18161         * src/layout_forms.C: out preamble
18162         * src/layout_forms.h: out preamble
18163         * src/lyx_cb.C: out preamble
18164         * src/lyx_cb.h: out preamble
18165         * src/lyx_gui.C: out preamble
18166         * src/lyx_gui_misc.C: out preamble
18167         * src/lyxfunc.C: connect with guii preamble
18168
18169 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18170
18171         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18172
18173 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18174
18175         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18176         whether to run bibtex.
18177
18178 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18179
18180         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18181
18182 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18183
18184         * Makefile.am (lyx_SOURCES): removed bibforms.h
18185
18186         * vspace.h: doxygen
18187
18188         * text.C (GetVisibleRow): make several local vars const
18189
18190         * tabular.C: small cleanup.
18191
18192         * lyxserver.C (callback): use compare instead of strncmp
18193
18194         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18195         inlines to after class or to paragraph.C
18196
18197         * lyxfont.h: remove friend operator!=
18198
18199         * converter.h: move friend bool operator< to non friend and after
18200         class def.
18201
18202         * combox.h: small cleanup
18203
18204         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18205         to inlines after class def.
18206
18207         * buffer.C (pop_tag): use string operations instead of strcmp
18208
18209         * bmtable.c: doxygen, small cleanup
18210
18211         * LaTeX.h: remove friend operator==
18212
18213 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18214
18215         * screen.C:
18216         * lyxrc.[Ch]:
18217         * lyxfunc.C:
18218         * lyxfont.[Ch]:
18219         * lyx_cb.C:
18220         * intl.[Ch]:
18221         * commandtags.h:
18222         * buffer.C:
18223         * WorkArea.[Ch]:
18224         * LyXAction.C:
18225         * BufferView_pimpl.C:
18226         * BufferView.[Ch]: remove cruft
18227
18228 2001-02-14  Juergen Vigna  <jug@sad.it>
18229
18230         * lyxfunc.C: removed #if 0 unused code
18231
18232         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18233
18234         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18235
18236         * text2.C (SetSelection): added a BufferView * parameter
18237
18238 2001-02-13  Juergen Vigna  <jug@sad.it>
18239
18240         * lyxfunc.C (Dispatch): fixed protected blank problem.
18241         * BufferView2.C (protectedBlank): added LyxText * parameter.
18242
18243         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18244         (AppendColumn): same as above for column_info.
18245
18246         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18247         (moveCursorUpdate): use a LyXText param for support of InsetText.
18248
18249         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18250         (tripleClick): ditto
18251
18252         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18253
18254         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18255
18256         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18257
18258         * text2.C (SetSelection): set correct update status if inset_owner
18259         (ToggleFree): ditto
18260
18261 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18262
18263         * tabular.C: remove some commented code.
18264
18265 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18266
18267         * BufferView_pimpl.C: call hideSplash()
18268
18269         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18270
18271         * include_form.h:
18272         * bibforms.h: remove
18273
18274         * lyxfunc.C:
18275         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18276           add LFUN_CHILD_CREATE
18277
18278         * counters.h: fix tiny typo
18279
18280         * lyx_cb.C:
18281         * lyx.h:
18282         * lyx_gui.C:
18283         * lyx.C: move splash to frontends/xforms/
18284
18285         * lyx_gui_misc.C: move Include and Bibform to frontends
18286
18287         * lyxvc.h: clarify comment
18288
18289         * vspace.C: tiny housekeeping
18290
18291 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18292
18293         * text.C (PrepareToPrint): RTL Fix.
18294
18295         * paragraph.C (GetUChar): New method.
18296         (String):  Use GetUChar.
18297
18298         * buffer.C (asciiParagraph): Use GetUChar.
18299
18300 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18301
18302         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18303
18304 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18305
18306         * buffer.h:
18307         * buffer.C: rename to getLogName(), handle
18308           build log / latex log nicely
18309
18310 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18311
18312         * MenuBackend.C:
18313         * MenuBackend.h: remove support for reference menuitem type.
18314
18315 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18316
18317         * BufferView_pimpl.C: housekeeping
18318         * BufferView_pimpl.h:
18319         * LyXView.h:
18320         * Makefile.am:
18321         * Timeout.C:
18322         * Timeout.h:
18323         * minibuffer.h: move Timeout GUI-I
18324
18325 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18326
18327         * lyxrc.C (read): Update converters data-structures.
18328
18329 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18330
18331         * LaTeX.h (operator!=): add operator != for Aux_Info
18332
18333 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18334
18335         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18336
18337         * LaTeXLog.C: deleted, useful code moved to Buffer
18338
18339         * buffer.h:
18340         * buffer.C: new function getLatexLogName()
18341
18342         * lyx_gui_misc.C:
18343         * lyx_gui.C:
18344         * lyxvc.C:
18345         * lyxvc.h:
18346         * lyxfunc.C: use frontends for LaTeX and VC logs
18347
18348 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18349
18350         * LaTeX.h: yet another std:: that Allan forgot.
18351
18352         * Variables.C (set): renamed from isset(), because this clashes
18353         with some HP-UX macros (grr).
18354
18355 2001-02-06  Allan Rae  <rae@lyx.org>
18356
18357         * LaTeX.h: Another bug fix.  Missing std:: this time.
18358
18359 2001-02-04  Allan Rae  <rae@lyx.org>
18360
18361         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18362         floats problem. I've left it commented out because it's not quite
18363         correct.  It should also test that the current object is a table or
18364         figure inset.  But I haven't gotten around to figuring out how to do
18365         that.  I *think* it'll be something like: "table" == inset.type()
18366
18367         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18368         bool.
18369
18370 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18371
18372         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18373         all the citation/databases/styles in the auxilary file.
18374         (run): Rerun latex if there was a babel language error.
18375
18376 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18377
18378         * text.C (Backspace): Preserve the font when changing newline char
18379         with a space.
18380         (BreakParagraph): If the cursor is before a space, delete the space.
18381
18382         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18383
18384 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18385
18386         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18387         new argument (code).
18388         (ChangeCitationsIfUnique): New method.
18389
18390         * paragraph.C (GetPositionOfInset): Handle bibkey.
18391
18392 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18393
18394         * BufferView_pimpl.h: change type of Position::par_pos to
18395         LyXParagraph::size_type.
18396
18397 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18398
18399         * BufferView_pimpl.C (savePosition, restorePosition): Write
18400         messages to minibuffer.
18401
18402 2001-01-28  José Matos  <jamatos@fep.up.pt>
18403
18404         * buffer.C (makeDocBookFile): adds support for document language.
18405         A silly restriction on the name of LatexCommand types where removed.
18406         Added support for CDATA sections, allows to chars unescaped, used
18407         among others in code, to avoid escape < and >.
18408
18409 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18410
18411         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18412         saved positions instrad of a stack. Furthermore, a position is
18413         stored using paragraph id/paragraph position.
18414
18415         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18416         Remove LFUN_REF_BACK.
18417
18418 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18419
18420         * converter.C (dvipdfm_options): New method.
18421
18422 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18423
18424         * vspace.C (isValidLength): Fix for empty input string.
18425
18426 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18427
18428         * LyXAction.C (init): change description of LFUN_FIGURE to
18429         "Insert Graphics"
18430
18431 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18432
18433         * LaTeX.C: add using directive
18434
18435 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18436
18437         * MenuBackend.C (expand): Fix the sorting of the formats.
18438
18439 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18440
18441         * lyx_main.C: tiny error message fix
18442
18443 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18444
18445         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18446         calling fl_initialize(). This fixes the problem with ',' as
18447         decimal separator in text files.
18448
18449 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18450
18451         * trans.C (process): Fix the keymap bug.
18452
18453 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18454
18455         * LaTeX.C (scanAuxFiles): New method. Provides support for
18456         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18457         (scanLogFile) Scan for "run BibTeX" messages.
18458
18459         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18460         OT1 font encoding. Also, load the aecompl package if the ae
18461         package is loaded.
18462
18463         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18464
18465 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18466
18467         * texrow.C (increasePos): turn two error messages into debug
18468         messages.
18469
18470 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18471
18472         * LaTeX.C (scanAux): Handle the \@input macro.
18473         (runBibTeX): Use scanAux().
18474
18475         * language.C (latex_options_): New field.
18476
18477         * LaTeXFeatures.C (getMacros): Add language macros.
18478
18479         * buffer.C (makeLaTeXFile): Small fix.
18480
18481 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18482
18483         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18484
18485         * text2.C: add a using directive.
18486
18487 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18488
18489         * BufferView2.C:
18490         * lyx_gui_misc.h:
18491         * lyxfr1.C:
18492         * lyxfunc.C: kill LyXBell.
18493
18494 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18495
18496         * text.C (IsBoundary): Remove the error message
18497
18498         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18499
18500         * lyxrc.C (setDefaults): Correct initialization value for
18501         font_norm_type.
18502
18503 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18504
18505         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18506         gotoError().
18507
18508         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18509         and GotoNextNote().
18510
18511         * src/LyXAction.C: Added reference-next.
18512
18513         * text.C (InsertChar): Use contains instead of strchr.
18514
18515         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18516
18517 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18518
18519         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18520         alignment commands (when needed).
18521
18522         * text.C (InsertChar): Add ':' to number separator chars.