]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b03f12b384cd289438744fb7f8f093acb4a7c5ec
[lyx.git] / src / ChangeLog
1 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
4         do not remove it (this inset behaves differently from the others).
5
6 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         Fix bug 2096.
9         
10         * BufferView_pimpl.C (getStatus): it is only possible to insert a
11         file in a text inset.
12
13         * buffer.C (readDocument): remove pit argument and code releated
14         to it; set the inset owner correctly (unrelated, but useful).
15         (readFile): get rid of pit argument.
16
17         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
18         textclass instead of a selection index.
19         (pasteParagraphList): new function.
20         (pasteSelection): make it a wrapper around pasteParagraphList.
21
22         * BufferView_pimpl.C (MenuInsertLyXFile): use
23         cap::pasteParagraphList to insert a file.
24
25 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
26
27         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
28
29 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
30
31         * exporter.C: fix typo in text message
32
33 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
34
35         * text2.C (setLayout): move recUndo call to other setLayout method
36         * tabular.C (toggleFixedWidth): new, handle cell width changes
37         * tabular.C (setColumnPWidth): move some code from insettabular.C here
38         and use toggleFixedWidth
39         * tabular.C (setMColumnPWidth): ditto
40
41 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
42
43         * paragraph.C (asString): use new inset->textString method (fix
44         bug 2089) 
45
46 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
47
48         * CutAndPaste.C (numberOfSelections): new helper function.
49
50         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
51
52         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
53         LyXFunc::getStatus; implement LFUN_PASTE.
54
55 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
56
57         * dociterator.[Ch]: new member realInset() that returns the cell
58         for tabulars and the inset for the rest (bug 1952).
59         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
60         (bug 1952).
61
62 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
63
64         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
65
66 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
67
68         * lyxfunc.C:
69         * paragraph.C:
70         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
71         argument.
72
73 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
74
75         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
76         line after typing ctrl-enter
77
78 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
79
80         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
81         math insets do not return a proper editable() state yet (bug 2124).
82
83 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
84
85         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
86         docs containing very large paragraphs.
87
88 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
89
90         * cursor.C (selectionBegin, selectionEnd):
91         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
92         cursor at different depths.
93
94 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * bufferview_funcs.C (coordOffset): do not call cursorPos
97         for collapsed collapsables (fix bug 2094).
98
99 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * paragraph.C (fontSpan): make sure that the FontSpan does not
102         span across beginOfBody (bug 1947).
103
104 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
105
106         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
107
108 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
109
110         * messages.C: fix crash and localization on MinGW/Windows platform
111
112 2005-11-02  Angus Leeming  <leeming@lyx.org>
113
114         * Bidi.C:
115         * lyxtextclass.C: trivial fixes to some MSVS warnings.
116
117 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * text3.C (getStatus): re-enable disabled code. (bug 2081)
120
121         * BranchList.h (empty): constify.
122
123 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * text3.C (getStatus): 
126         * MenuBackend.C (expandBranches): take the branch list from the
127         master document (bug 2092).
128         
129         * MenuBackend.C (expandBranches): 
130         * bufferparams.C (writeFile): use BranchList type.
131
132 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * text3.C (dispatch, getStatus): 
135         * LyXAction.C (init): 
136         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
137
138 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
141
142 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * text.C (insertChar): do not reset boundary (bug 2061)
145
146 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
147
148         * dociterator.C (updateInsets): new method. Updates the inset_
149         cache of all the slices of the iterator.
150
151         * text2.C (deleteEmptyParagraphMechanism): compare also containing
152         insets when comparing pit/pos; pass the right cursor to
153         recordUndo; when a paragraph has been deleted, compare `old.top()' to
154         the right cursor slice of `cur'; use updateInsets on cur to make
155         sure that the inset caches are correct; general cleanup.
156
157 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
160         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
161         containg inset. If this does not work, the same command will be
162         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
163
164         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
165         a dispatch.
166
167 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
168
169         * lyxtextclass.C (Read): convert layout file if the format is wrong
170         * lyxtextclass.C (layout2layout): new, needed for the above
171
172 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * messages.C: do not forget to include <cerrno>.
175
176 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
177
178         * dociterator.h (StableDocIterator): add access to pos().
179         * undo.C (samePar): new method to check if two
180         iterators are in the same paragraph
181         * undo.C (recordUndo): check for samePar instead of cell identity
182         (which includes pos() and is too strict) (fixes bug 2097)
183
184 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * text.C (setCursorFromCoordinates): return a bool telling whether
187         dEPM triggered.
188
189         * text3.C (cursorPrevious): update if needed after
190         setCursorFromCoordinates (when dEPM triggered).
191
192         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
193         (otherwise the anchor may be completely wrong and make dEPM assert).
194
195 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
196
197         * buffer.C: version upgrade to 245.
198         * bufferparams.C: remove \quotes_times (bug 2090).
199         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
200         quotation marks as default.
201
202 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
203
204         * CutAndPaste.C (nrOfParagraphs): remove (unused)
205         * CutAndPaste.C (cutSelection): Remove debug message
206         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
207         undo information and only copy if this is a real cut
208         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
209         call
210         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
211         (bug 2059)
212         * CutAndPaste.C (eraseSelection): prevent cursor corruption
213         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
214         superflous cur.selection() setting
215         * CutAndPaste.[Ch] (grabSelection): take a const cursor
216         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
217
218 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
219
220         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
221         change anything.
222
223 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
224
225         * BufferView_pimpl.C: comment layout change
226
227 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
228
229         * LyXAction.C:
230         * lfuns.h:
231         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
232         by bibliography managers (bug 2071).
233
234 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
235
236         * BufferView_pimpl.C (update): choose arguments to update call so
237         that single-par update works most times
238         * text3.C (dispatch): carefully tune updating separately for
239         whole-screen and current-paragraph
240         * rowpainter.C (paintText): 1) replace painting by caching for
241         the two extra paragraphs, because we can;
242         2) suppress greying out of areas below/above drawn area in case of
243         single-par refresh
244         * lyxfunc.C (dispatch): remove superfluous update
245         * LyXAction.[Ch]: introduce SingleParUpdate
246
247 2005-10-05  Angus Leeming  <leeming@lyx.org>
248
249         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
250         always initialised before use.
251
252         * text.C (setHeightOfRow): squash warning about comparison
253         of signed and unsigned types.
254
255 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
256
257         * text.C (cursorX): two fixes involving RtL text drawing
258
259 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
260
261         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
262         items, not only large ones (part of bug 2057)
263
264 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
267         argument, use "newcommand".
268
269 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
270
271         * cursor.C (setSelection): do not open collapsable insets;
272         the insets do by themselves now (autoopen).
273
274 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
275
276         * buffer.C: format is up to 244.
277
278 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
279
280         * text.C (redoParagraph): fix calcultation of inset width wrt 
281         leftMargin (bug 1957).
282
283         * text3.C (dispatch): leave inset to the right when hitting ESC 
284         (bug 2034).
285
286 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * text2.C: 
289         * text.C: 
290         * factory.C:
291         * messages.C: include <boost/current_function.hpp> 
292
293 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
296         when command is internal. (bug 1941)
297
298 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * text2.C (cursorRight): do not honor boundary when at the end of
301         a paragraph. (bug 2010 again)
302
303 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
306
307 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
308
309         * rowpainter.C (paintText): fix RtL space width display bug (2029)
310
311 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         * text2.C (setCursor): remove the unused 'boundary' parameter for
314         the CursorSlice version; adapt the LCursor version.
315
316         * lyxrc.C (write): 
317         * paragraph_pimpl.C (markErased): 
318         * cursor.C (bruteFind2, bruteFond3): fix warnings.
319
320 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
321
322         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
323         as is already done for "chapter".
324
325 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
326
327         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
328         textclass; do not record undo if nothing is changed.
329
330 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
331
332         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
333
334 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
335
336         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
337
338 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
339
340         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
341         combox, it is necessary to search for the topmost paragraph in the
342         cursor stack (bug 1926)
343
344 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
347         end of paragraph. (bug 2010)
348
349 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
350
351         * text.C (leftMargin): check for inInset == 0
352
353 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
354
355         * text.C (leftMargin): test for insetbase's new neverIndent()
356         bool instead of listing each and every inset that does not
357         wish par indendation.
358
359 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
360
361         * buffer_funcs.C (setCounter): put the code to compute enum label
362         here (where it belongs).
363
364         * counters.C (enumLabel): move code to buffer_funcs.C.
365
366 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
367
368         * outputparams.[Ch]: store local_font instead of local_language
369         * paragraph.C (simpleTeXOnePar): adapt to the change above
370
371 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
372
373         * buffer_funcs.C:
374         * counters.[Ch]: clean up special code for Hebrew.
375
376 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
379         than 2.
380
381 2005-09-08  Angus Leeming  <leeming@lyx.org>
382
383         * ispell.C:
384         * lyxrc.C: correct grammar describing invocation of the
385         spellchecker.
386
387 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * text.C (read): remove unused variable.
390         (readParToken): remove static Change variable (never good in
391         recursive settings...); add it as a parameter instead.
392
393         * paragraph_pimpl.C (acceptChange): make debug info conditional.
394
395         * metricsinfo.C (PainterInfo): add new member erased_.
396
397         * rowpainter.C (RowPainter): add erased_ member, initialized from
398         PainterInfo. 
399         (paintInset): pass erased_ to Inset::draw.
400
401         * lyxfunc.C (lookupChange): new function. Tells whether change 
402         tracking is disabled at a given postion.
403         (getStatus): disable some actions when in deleted text with change
404         tracking. 
405
406 2005-08-03  John Levon  <levon@movementarian.org>
407         
408         * tabular.C (appendColumn, setMultiColumn): adapt to change to
409         InsetText::clear().
410
411         * paragraph_pimpl.C (markErased): add bool argument and handle it.
412         Also make sure to mark insets recursively.
413         (rejectChange, erase): be recursive
414
415         * paragraph.C (markErased): add bool argument.
416 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
417
418         * lyxfind.C (findNextChange): tiny cleanup.
419
420         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
421         change tracking with the cursor in an inset; make sure the first
422         change is not skipped.
423
424 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
425
426         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
427         tabularStackDirty to work around bug 1919 (tabular needs
428         to know whether its own cell paste buffer or the one of 
429         texted is newer.
430         * CutAndPaste.C: mark tabular_stack_ clean after copy.
431
432 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
433
434         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
435
436 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
437
438         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
439         use old deleteion algorithm when changetracking is on.
440
441 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
442
443         * messages.C (get): add debug output.
444
445 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
446
447         * text.C (cursorX): fix bug 1965: cursor movement at
448         line end broken in RtL.
449         (drawSelection): fix bug 1970: drawing of single-line 
450         selection broken for RtL.
451
452 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         bug 465.
455
456         * dociterator.h (clear, push_back, pop_back): change from
457         protected to public.
458
459         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
460         and changed to just return the value of the item depth; take a
461         ParIterator as argument; take the itemdepth at outer nesting level
462         in account if necessary; cleanup and comment the code.
463         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
464         and changed to just return true if reset is needed; take a
465         ParIterator as argument; cleanup and comment the code.
466         (setCounter): adapt to above changes.
467
468 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * text3.C (dispatch): make debug message optional
471
472 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
473
474         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
475         inset. (bug 1963)
476
477 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
478
479         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
480
481 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
482
483         * text.C (insertChar):
484         * text2.C (deleteEmptyParagraphMechanism): take care whether 
485         a blank has been deleted (in change tracking mode) (bug 1254).
486
487 2005-07-20  John Levon  <levon@movementarian.org>
488
489         * text2.C (insertStringAsLines): remove old dubious code,
490         fixing bug 1939.
491
492 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * MenuBackend.C (expandToc): use Floating::listName() as title of
495         the floats submenus.
496
497 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
498
499         * toc.[Ch]: Do not use translatable strings (bug 1870).
500
501 2005-07-20  John Levon  <levon@movementarian.org>
502
503         * tabular.C: fix 1748 - setting multicolumn adds
504           left line to the first cell
505
506 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
507
508         bug 1920
509         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
510         pars in one go.
511
512 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
513
514         * messages.C: supress some lyxerr messages
515
516 2005-07-18  Juergen Vigna  <jug@lyx.org>
517
518         * text.C (drawSelection): honor boundary when asking for cursorX.
519
520 2005-07-17  José Matos  <jamatos@fc.up.pt>
521
522         * tabular.C (recalculateMulticolumns): fix handling of one column
523         tables.
524
525 2005-07-17  Juergen Vigna  <jug@lyx.org>
526
527         * text.C (Delete, backspace): fixed so that paragraph with the
528         same layout can be merged by Delete/Backspace.
529
530 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
531
532         * text.C (readParToken): fix spelling.
533
534 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
535
536         * text2.C: fix counter update for DEPM problem reported by
537         Georg Baum
538
539 2005-07-17  Juergen Vigna  <jug@lyx.org>
540
541         * BufferView_pimpl.C (setBuffer): save/restore the
542         cursor/selection when switching buffers
543
544         * buffer.h: 
545         * buffer.C (saveCursor): add saveDocumentIterators to save the
546         cursor when switching buffer.
547
548 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
549
550         * debug.C: fix typo
551         * buffer.C: clarify message
552         
553 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
554
555         * dociterator.C (DocIterator): fix initialization order
556
557 2005-07-17  Juergen Vigna  <jug@lyx.org>
558
559         * text2.C (cursorHome): 
560         * text.C (drawSelection, cursorX): 
561         * dociterator.C (textRow): add boundary to getRow() call
562
563         * paragraph.C (getRow): implementation of below
564
565         * paragraph.h: add parameter boundary for getRow() function
566
567 2005-07-17  José Matos  <jamatos@fc.up.pt>
568
569         * buffer.C:
570         * bufferparams.[Ch]:
571         * tex-strings.[Ch]: new file format, remove support for a4.sty,
572         a4wide.sty and a4widemargins.
573
574 2005-07-17  Juergen Vigna  <jug@lyx.org>
575
576         * text2.C (cursorLeft): fix one of error
577
578 2005-07-17  Juergen Vigna  <jug@lyx.org>
579
580         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
581                    cursorEnd):
582         more fixes for boundary handling
583
584         * text3.C (dispatch): don't reset cursor if boundary has changed
585         on cursor movement.
586
587 2005-07-16  Juergen Vigna  <jug@lyx.org>
588
589         * text2.C (getColumnNearX): hopefully got it right now,
590         check if we are on column 0 for special case.
591
592 2005-07-16  Juergen Vigna  <jug@lyx.org>
593
594         * text2.C (getColumnNearX): handle special case Newline Inset
595
596         * text.C (singleWidth): Just remove bogus check
597
598 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
599
600         * funcrequest.C (split): avoid reading uninitialized char c
601
602 2005-07-16  José Matos  <jamatos@fc.up.pt>
603
604         * buffer.C:
605         * converter.C:
606         * lyxrc.C:
607         * paper.h:
608         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
609         single papersize variable.
610
611 2005-07-16  Juergen Vigna  <jug@lyx.org>
612
613         * text3.C (dispatch): honor boundary when checking if a cursor
614         movement has been done
615
616         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
617         (setCursor, setCursorIntern): fix cursor movement with boundary
618
619 2005-07-16  Juergen Vigna  <jug@lyx.org>
620
621         * text.C (currentState): output the actual Boundary
622
623 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         * factory.C (createInset): fix bad logic for tabular creation
626
627 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
628
629         * lyx_main.C (init): change some reLyX reference to tex2lyx
630
631 2005-07-16  Juergen Vigna  <jug@lyx.org>
632
633         * dociterator.C (DocIterator): initialize boundary
634
635 2005-07-16  Juergen Vigna  <jug@lyx.org>
636
637         * text2.C (getColumnNearX): Consider rows without trailing blank.  
638
639 2005-07-16  André Pönitz  <poenitz@gmx.net>
640
641         * lyxfont.h: Change order of declarations to give the compiler
642         a better chance to inline things
643
644         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
645         questions on unsaved docs for better scritability
646
647 2005-07-16  André Pönitz  <poenitz@gmx.net>
648
649         * paragraph.h (getChar): remove asserts as the same kind of security
650         can be achieved by using a suitable standard library implementation
651         and the function was in the critical path (25.9% in profiler)
652
653 2005-07-16  Juergen Vigna  <jug@lyx.org>
654
655         * cursor.C (bruteFind2):
656         * bufferview_funcs.C (coordOffset): 
657         * text.C (cursorX,cursorY): Handle cursor position after last char
658         in row before a inset which uses a whole row.
659
660 2005-07-15  José Matos <jamatos@lyx.org>
661
662         * output_plaintext.[Ch] (writeFileAscii): control reference title
663         printing.
664         (asciiParagraph): noparbreak was already deal and was incorrectly
665         used.
666
667 2005-07-15  Juergen Vigna <jug@lyx.org>
668
669         * lyxfunc.C (dispatch): save and restore the cursor after a
670         textclass switch.
671
672 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
673
674         * text.C (backspace): bug 806 for empty keepempty paragraphs we
675         change the layout to default before letting DEPM do its thing.
676
677         * paragraph_funcs.C (breakParagraph): dont reset the layout on
678         keepEmpty paragraphs
679
680         * text.C (setCursorFromCoordinates): add a debug statement
681
682         * text2.C (getColumnNearX): bug 1825 make sure that we don't
683         return a pos that is not on the row
684
685         * output_latex.C (TeXDeeper): get rid of potential dereferencing
686         of past the end iterator
687
688 2005-07-14  André Pönitz  <poenitz@gmx.net>
689
690         * undo.C (recordUndoFullBuffer): implement undo for
691         textclass switches
692
693 2005-07-14  André Pönitz  <poenitz@gmx.net>
694
695         * cursor.C (setSelection): open insets when selection is set there
696         to avoid crashs with cold coord cache
697
698 2005-07-14  André Pönitz  <poenitz@gmx.net>
699
700         * trans_mgr.C (insert): move cursor to the right after inserting
701         a char.
702
703 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
704
705         * BufferView_pimpl.C (update): dampen some of the debug blabbering
706         * factory.C (readInset): ditto
707         * text.C, text2.C: ditto
708
709 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
710
711         * buffer.C: format incremented to 242. There is no file format per
712         se, but the "frenchb" language has been removed from lib/language
713         and has to be translated to "french" by lyx2lyx.
714
715 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
716
717         * cursor_slice.h, dociterator.h: add some documentation
718         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
719
720 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
721
722         * text.C (leftMargin): do not add identation to display() style
723         insets, because they are always centered (bug 1293).
724
725 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
726
727         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
728         formatted_time methods in support/lyxtime.
729
730 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
731
732         * toc.[Ch]: new method getGuiName, which is used by the frontends 
733         to set the toc combo (fixes bug 1870). Make TOC string translatable.
734
735 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
736
737         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
738         StableDocIterator const &)
739         * undo.C (recordUndo): use the above instead of cell.size() comparison
740         (fixes bug 1808; instructed by Andr�.
741
742 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
743
744         * cursor_slice.h: 
745         * dociterator.h: Fix the assert when copying rows/cols in math
746
747 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
748
749         * BufferView_pimpl.C:
750         * LyXAction.C:
751         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
752
753         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
754         (findInset): new functions, refactored from goto Inset that return 
755         the position of a certain inset without setting the buffer's cursor
756         (by Jean-Marc); 
757         (gotoInset): rewrite to call findInset and then set the cursor
758         (by Jean-Marc).
759
760 2005-06-16  Angus Leeming  <leeming@lyx.org>
761
762         * lyxrc.C (output, read): wrap all input and output of paths with
763         calls to os::internal_path and os::external_path, respectively.
764         (output): wrap bind_file inside quotes.
765
766         * format.C (view): enable the viewer to use the '$$s' placeholder.
767
768 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
769
770         * LColor.[Ch] (getFromLaTeXName): new
771
772 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
773
774         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
775
776 2005-06-14  Angus Leeming  <leeming@lyx.org>
777
778         * lyx_main.C (init): ensure that the LyX binary dir is the first
779         element in the PATH on non-POSIX builds.
780
781 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
782
783         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
784
785 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * rowpainter.C (paintInset, paintHebrewComposeChar)
788         (paintArabicComposeChar, paintChars): add a LyXFont argument.
789         (paintChars): use getFontSpan to reduce calls to getFont to a
790         minimum; use Paragraph::lookupChange instead of isXXXText.
791         (paintForeignMark): rename LyXFont argument.
792         (paintFromPos): pass a LyXFont object to the various paintXXX
793         methods.
794
795         * FontIterator.C (FontIterator, operator++): use
796         Paragraph::getFontSpan
797
798         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
799         version that returns the font span as a pair.
800
801 2005-06-09  Angus Leeming  <leeming@lyx.org>
802
803         * converter.C (convert): Don't forget "outfile = real_outfile" as
804         the final step in a conversion where the input and output file names
805         are the same. Otherwise, future conversion steps won't work...
806
807 2005-06-09  Angus Leeming  <leeming@lyx.org>
808
809         * lyxsocket.C: remove stub code as it isn't needed by
810         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
811
812 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
813
814         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
815         effectively disabled -x
816
817 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
818
819         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
820         when it actually makes sense.
821
822 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
823
824         * BufferView_pimpl.C: revert to showCursor in connection with
825         Lars's front-end stack
826
827 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
828
829         * text.C (redoParagraph): move cursor right after a bibitem
830         has been inserted.
831
832         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
833
834 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
835
836         * buffer_funcs.C (bufferErrors): fix computation of the end of an
837         error range.
838
839 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
840
841         * BufferView.[Ch] (update):
842         * BufferView_pimpl.[Ch] (update, metrics):
843         * dimension.h (operator==):
844         * lyxfunc.C (dispatch):
845         * metricsinfo.h (ViewMetricsInfo):
846         * rowpainter.C (paintText):
847         * lyxtext.h:
848         * text.C (redoParagraph):
849         * text3.C (dispatch): Make LyX only repaint current paragraph in
850         case of character insert --> speedup. Also fix cursor draw
851         artifacts
852
853 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
856         avoid a crash (bug 1891)
857
858 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         Fix bug 1892:
861
862         * text2.C (getStringToIndex): constify cur argument.
863
864         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
865         argument has been given
866         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
867         try to invoke LFUN_INSET_APPLY).
868
869         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
870         if no inset was created by doInsertInset
871         (doInsertInset): return true if an inset has been inserted.
872
873 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
874
875         * vspace.C (asGUIName): new method. A version of the space
876         suitable for showing on screen.
877
878 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
879
880         * MenuBackend.C:
881         * lyxrc.C: rename "ASCII" to "Plain Text"
882
883 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
884
885         * buffer_funcs.C (expandLabel): take a Buffer as argument;
886         translate the labelstring.
887         (setCounter): translate labelstring as needed.
888
889         * output_docbook.C (makeCommand): fix expandLabel invokation
890
891 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
892
893         * BufferView.C: fix dialog title
894
895 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
896
897         * lyx_main.C (priv_exec): fix logic error with help from Angus
898         * lyx_main.C (parse_execute): set is_gui = false and remove now
899         obsolete comment about a segfault
900
901 2005-05-18  Angus Leeming  <leeming@lyx.org>
902
903         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
904
905 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
906
907         * tabular.[hC]: added setCellInset to fix tabular paste.
908
909 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
910
911         * buffer.C (save): check if destination is writable before trying
912         to copy a file
913
914 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
915
916         * BufferView_pimpl.C (update): fix processEvents -caused update
917         recursion bug
918
919 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
920
921         * buffer_funcs.C (setCounter): fix test for numbering of
922         environments.
923
924         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
925         depth correctly; use optional argument when it exists
926
927         * lyxtextclass.C: remove unused MaxCounterTags enum
928         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
929         (max_toclevel, min_toclevel): new methods.
930
931         * MenuBackend.C (expandToc2): fix case where depth is smaller than
932         the smallest depth in toc.
933
934         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
935         layouts that should not appear in a table of contents.
936
937 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
938
939         * cursor.h (undispatched, noUpdate): add comments from Andr�
940 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
941
942         * lfuns.h:
943         * LyXAction.C:
944         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
945
946 2005-05-07  André Pönitz  <poenitz@gmx.net>
947
948         * cursor.[Ch] (leaveInset): new function
949
950 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
951
952         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
953
954 2005-05-04  Angus Leeming  <leeming@lyx.org>
955
956         * lyxfunc.C (getStatus): disable the spell checker dialog if
957         none of USE_[AIP]SPELL are defined.
958
959 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
960
961         * tabular.C (setWidthOfCell): remove obsolete comment
962
963 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
964
965         * paragraph.C (bibitem):
966         * buffer_funcs.C (setCounter):
967         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
968
969 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
970
971         * text3.C (getStatus): immediately return after setOnOff
972
973         * rowpainter.C: fix drawing of appendix start
974
975 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
976
977         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
978         SwitchBetweenClasses and remove the unused return value.
979         Handle character styles, too
980
981 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
982
983         * factory.C (createInset): handle undefined character styles
984
985 2005-05-02  Angus Leeming  <leeming@lyx.org>
986
987         * buffer.C: protect the #include of utime.h with a preprocessor
988         guard.
989
990 2005-05-02  Angus Leeming  <leeming@lyx.org>
991
992         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
993         function so that auto-saving works, albeit in a blocking manner.
994
995         * Makefile.am: make compilation of the client sub directory, of
996         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
997         on conditionals set at configure time.
998
999         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1000         it can be compiled in its own right but has no-op functionality.
1001
1002         * aspell.C, pspell.C: remove preprocessor guards. The files should
1003         be compiled only if the necessary functionality exists.
1004
1005         * lyxserver.C, lyxsocket.C: disable on Windows.
1006
1007 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * text.C (leftMargin): Fix the parindent use bug (1764)
1010         by dirty trick
1011
1012 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1013
1014         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1015         argument.
1016
1017 2005-04-25  Angus Leeming  <leeming@lyx.org>
1018
1019         * Bidi.[Ch]:
1020         * coordcache.[Ch]:
1021         * ispell.C:
1022         * lyxserver.C:
1023         * mover.C:
1024         * pch.h:
1025         include <config.h> in .C files, not .h ones.
1026         add licence blurb.
1027         protect headers inside preprocessor guards.
1028
1029 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1030
1031         * FuncStatus.h (StatusCodes): document
1032
1033 2005-04-21  André Pönitz  <poenitz@gmx.net>
1034
1035         * FuncStatus.h (enabled, onoff): document
1036
1037 2005-04-19  Angus Leeming  <leeming@lyx.org>
1038
1039         * BufferView_pimpl.C (cursorToggle): no longer test whether
1040         any child processes have been reaped before calling
1041         handleCompletedProcesses().
1042
1043 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1044
1045         * text3.C (dispatch): fix, finally fix, the language problem in
1046         new lyxtexts, without disabling on-the-fly font changes (Helge's
1047         bug report)
1048
1049 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1050
1051         * text3.C (dispatch): set cursor on double/triple click events
1052         (bug 1811)
1053
1054 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1057         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1058
1059         * rowpainter.C (paintFirst): simplify the code a little bit. In
1060         particular, remove the test for secnumdepth.
1061         * text.C (setHeightOfRow): only allocate space for chapter number
1062         when updateCounters provided an actual label, instead of looking
1063         at secnumdepth directly.
1064
1065         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1066
1067         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1068         paragraphs when secnumdepth is large enough or, for environments,
1069         when they are not the first in a sequence.
1070
1071 2005-04-17  Angus Leeming  <leeming@lyx.org>
1072
1073         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1074         containing space and '~' characters with a call to latex_path().
1075
1076 2005-04-17  Angus Leeming  <leeming@lyx.org>
1077
1078         * converter.C (convert): protect all args of convertDefault.sh
1079         script with quotes.
1080
1081 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1082
1083         * text3.C (dispatch): change the layout to "Caption" after inserting
1084         a float.
1085
1086 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1087
1088         * text3.C (dispatch): fix language problem in newly created
1089         textinsets (and main text) in non-english docs
1090
1091 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1092
1093         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1094         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1095         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1096
1097 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1098
1099         * lyxtext.h:
1100         * text.C (metrics):
1101         * text2.C (getFont):
1102         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1103         fonts fix
1104
1105 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1106
1107         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1108         output of \item arguments without trailing text.
1109
1110 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1111
1112         * FontIterator.C (operator*): avoid a copy of the font.
1113
1114 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1115
1116         * rowpainter.C (getFont): fix language bug from previous fix
1117
1118 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1119
1120         * rowpainter.C (RowPainter, getFont): fix font inside inset
1121         (bugs 1766, 1809)
1122
1123 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1124
1125         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1126         preventing inserted font, deco, delim insets jumping to start of
1127         surrounding inset.
1128
1129 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1130
1131         * lyxfunc.C (dispatch): translate message before sending it to the
1132         minibuffer.
1133
1134 2005-03-29  Angus Leeming  <leeming@lyx.org>
1135
1136         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1137         to LyX on the command line.
1138
1139 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1140
1141         * vc-backend.C: use QuoteName to protect file names wherever
1142         necessary.
1143
1144 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1145
1146         * buffer.[Ch]:
1147         * BranchList.h: fix bugs 1844,1845: document settings don't
1148         stick
1149
1150 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1151
1152         * lyxrc.C (setDefaults, read, output, getDescription): add support
1153         for tex_allows_spaces.
1154
1155         * exporter.C (Export): allows files in directory containing spaces
1156         if tex_allows_spaces is true.
1157
1158         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1159         output it in double quotes.
1160
1161 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1162
1163         * rowpainter.C: use default text height for drawing change tracker
1164         strikeout lines.
1165
1166 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1167
1168         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1169
1170 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1173         directory is missing.
1174
1175 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1176
1177         * text2.C: fixed the fix, extended to other case.
1178
1179 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1180
1181         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1182
1183 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1184
1185         * text2.C (cursorUp): get rid of a crash
1186         * text.C (x2pos): add an assert
1187
1188 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1189
1190         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1191
1192         * text3.C:
1193         * lyxfunc.C:
1194         * dociterator.C: include <boost/current_function.hpp>, which is
1195         needed when assertions are disabled.
1196
1197 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1198
1199         * text2.C: fix for stuck cursor when traversing two
1200         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1201
1202 2005-02-25  Andreas Vox  <avox@arcor.de>
1203
1204         * output_docbook.C (makeParagraph): suppress trailing newline
1205         after a run of paragraphs
1206
1207 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1208
1209         * paragraph.C: fix for confused change tracker when pasting
1210         text that begins with a lineseparator. [bug 1827]
1211         (setChange(0, Change::INSERTED);)
1212
1213         * paragraph_funcs.C: fix for lost changes on triple-paste
1214         in change tracking mode [bug 1827] (par.setChange()).
1215
1216 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1217
1218         * text2.C (updateCounters, setCounter, expandLabel): move to
1219         buffer_funcs.
1220
1221         * buffer_funcs.C (updateCounters): turn into a free standing
1222         function and add a buffer parameter. Remove dead code for tracking
1223         labelstring change.
1224         (setCounter): change into a free-standing function which gets a
1225         dociterator as argument. Use this iterator to fix captions in a
1226         simple way. When no float is found above the caption, use the
1227         labelstring of the caption layout as default.
1228
1229         * text.C (breakParagraph, backspace):
1230         * text2.C (init, setLayout, changeDepth):
1231         * text3.C (dispatch):
1232         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1233         updateCounters.
1234
1235         * dociterator.C (forwardPar): make it much faster by calling
1236         forwardPos() only when really necessary.
1237
1238         * output_docbook.C (makeCommand): adapt to expandLabel move.
1239
1240         * cursor.C: remove unused variable
1241
1242 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1243
1244         * paragraph_funcs.C: fix crash when pasting insets in change
1245         tracking mode [bug 1277] (honour change type in moveItem).
1246
1247 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1248
1249         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1250
1251 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1252
1253         * BufferView.C (setCursor): change to use a DocIterator.
1254         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1255         (putSelectionAt): adapt to BufferView::setCursor change.
1256
1257         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1258         moved here from LyXText and rewritten to use proper cursor
1259         methods. Fixes bug 1787, 616 and 835.
1260
1261         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1262         when inside an inset (part of bug 781).
1263         (dispatch): adapt to change of BufferView::setCursor.
1264         (getStatus, dispatch): handle LFUN_GOTOERROR,
1265         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1266
1267         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1268         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1269         * text3.C (gotoNextInset, gotoInset): removed.
1270
1271 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1272
1273         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1274
1275 2005-02-15  Angus Leeming  <leeming@lyx.org>
1276
1277         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1278         can be used meaningfully in a comparison.
1279
1280 2005-02-13  André Pönitz  <poenitz@gmx.net>
1281
1282         * bufferview_funcs.C (coordOffset): improve cursor drawing
1283
1284 2005-02-13  André Pönitz  <poenitz@gmx.net>
1285
1286         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1287         * Cursor.C (dispatch): use fixIfBroken
1288         * lyxfunc.C (getStatus): use fixIfBroken
1289
1290 2005-02-15  Angus Leeming  <leeming@lyx.org>
1291
1292         * lyx_main.C (error_handler):
1293         * lyxfunc.C:
1294         * lyxrc.C (setDefaults):
1295         s/GetEnv/getEnv/.
1296         #include "environment.h".
1297
1298         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1299
1300 2005-02-15  Angus Leeming  <leeming@lyx.org>
1301
1302         * lyxserver.C (startPipe): squash MSVC warning "local variable
1303         'fd' used without having been initialized".
1304
1305 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1306
1307         * BufferView_pimpl.C: revert accidental commit.
1308
1309 2005-02-14  André Pönitz  <poenitz@gmx.net>
1310
1311         * dociterator.[Ch]: new member forwardPosNoDescent(),
1312         which doesn't enter nested insets.
1313         * text2.C (setFont): use forwardPosNoDescent() instead
1314         of ForwardPos() (fixes crash on font change).
1315
1316 2005-02-13  Angus Leeming  <leeming@lyx.org>
1317
1318         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1319         only if lyxrc.path_prefix is not empty.
1320
1321 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1322
1323         * bufferparams.C (readGraphicsDriver): prevent crash
1324
1325 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1326
1327         * text2.C (setCounter): check for inInset() == 0
1328
1329 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1330
1331         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1332         but use update() to get correct screen display; use convert
1333         instead of istringstream.
1334         (getStatus): handle LFUN_GOTO_PARAGRAPH
1335
1336         * lyxfunc.C (dispatch, getStatus): do not handle
1337         LFUN_GOTO_PARAGRAPH here.
1338
1339 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1340
1341         * text3.C (dispatch): size() -> depth()
1342
1343         * text2.C: remove some debug output
1344
1345         * paragraph.C: ws changes only
1346
1347         * lyxfunc.C (getStatus): size() -> depth()
1348
1349         * dociterator.h (clear, push_back, pop_back, internalData,
1350         operator[], resize, empty): new functions
1351         Make StableDocIterator and operator== be friends. Don't inherit
1352         from std::vector use a privat class variable slices_ instead.
1353         Modify to fit.
1354
1355         * dociterator.C: update because of not inheriting from std::vector
1356         anymore. Call explictly to slices_ instead. Use depth() instead of
1357         size() and top() instead of back()
1358
1359         * cursor.C: chagne size() -> depth and back() -> top(). Also
1360         remove some direct operator[](i) calls in favour of foo[i]
1361         (getFont): remove some dead code
1362
1363         * bufferview_funcs.C (coordOffset): size() -> depth()
1364
1365         * buffer.C: ws changes only
1366
1367         * CutAndPaste.C (eraseSelection): back() -> top()
1368
1369         * BufferView_pimpl.C (selectionRequested): back() -> top()
1370
1371         * BufferView.C (setCursor): size() -> depth()
1372
1373 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1374
1375         * text3.C (cursorPrevious): return true if depm changed something
1376         (cursorNext): ditto
1377         (dispatch): rename sl to oldTopSlice, remove moving use the new
1378         NoUpdate func attrib instead. Make sure that needsUpdate is set
1379         for function that have NoUpdate, but where depm might have changed
1380         the buffer anyway.
1381
1382         * text2.C (cursorLeft): make us return true if depm changed
1383         something
1384         (cursorRight): ditto
1385         (cursorUpParagraph): ditto
1386         (curosrDownParagraph): ditto
1387         (cursorUp, cursorDown): ditto, make sure to read comments in code
1388         (deleteEmptyParagraphMechanism): remove an assert, also return
1389         true if just a single char was deleted.
1390
1391         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1392         cursor that we modify, to avoid modifying an active cursor before
1393         we call setCursor. This allows depm to run. Also return true if
1394         depm deleted something.
1395
1396         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1397         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1398         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1399         something was changed in the buffer because of them (ie. depm run)
1400
1401         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1402         debug messages. Make update by default be false. Make sure that
1403         the result of update is retained throught several calls down to
1404         dispatch.
1405
1406         * LyXAction.h: add a new func_attrib: NoUpdate
1407
1408         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1409         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1410         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1411         and LFUN_WORDLEFT
1412         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1413
1414 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1415
1416         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1417         bv_->owner(), bv_->buffer() by direct references to the private
1418         members.
1419         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1420         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1421         (fitCursor): center() is in BufferView::Pimpl.
1422         (getStatus, trackChanges, dispatch): no need for a temporary buf
1423         variable
1424         (fitCursor, workAreaDispatch): use workarea().workheight()
1425
1426 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1427
1428         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1429
1430 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1431
1432         * buffer.C: format up to 241.
1433         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1434         break if pasting into ERT
1435         * lyxfunc.C (getStatus): suppress mathpanel and
1436         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1437
1438 2005-02-01  Angus Leeming  <leeming@lyx.org>
1439
1440         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1441
1442 2005-02-01  Angus Leeming  <leeming@lyx.org>
1443
1444         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1445         calling fs::is_directory().
1446
1447 2005-01-31  Angus Leeming  <leeming@lyx.org>
1448
1449         * lyx_main.C (priv_exec): specify explicitly the relative location
1450         of the top level build directory when run in-place.
1451
1452 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1453
1454         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1455         LyXText containing the cursor, not the top-level one.
1456
1457         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1458         true.
1459         (insertStringAsLines): rename par to pit; use temporary variable
1460         par to hold a Paragraph; do not store par.layout() in a variable,
1461         since the pointer may die when breaking paragraphs; pass pars to
1462         breakParagraph() instead of Buffer::paragraphs().
1463
1464 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1465
1466         * lyxlex_pimpl.h: #include <fstream>.
1467
1468         * BufferView.[Ch] (getLyXText): add a const version.
1469
1470         * BufferView_pimpl.C: add debug aids.
1471
1472         * RowList_fwd.h:
1473         * buffer.h:
1474         * lyxrow.h:
1475         * paragraph_funcs.h: add commentary explaining what the class does.
1476
1477
1478         * coordcache.[Ch]: add lots of commentary.
1479         (startUpdating, doneUpdating): debug aids.
1480         (arrays, insets, parPos, getParPos): accessors to private data.
1481
1482         * cursor_slice.[Ch] (text): add a const version.
1483         * dociterator.[Ch] (text, innerText): add const versions.
1484
1485         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1486         bool.
1487
1488         * paragraph.C (getRow, pos2ros): add asserts.
1489
1490         * paragraph.h: add commentary. Lots of.
1491
1492         * paragraph.[Ch] (metrucs, draw): removed.
1493
1494         * cursor.C:
1495         * rowpainter.[Ch]: const-correct changes.
1496
1497         * text.C: various obvious clean-ups. Removal of ancient cruft.
1498         Bug fixes, even.
1499
1500 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1501
1502         * vc-backend.C (find_file): rewrite to use boost.filesystem
1503         (scanMaster): ditto
1504
1505         * main.C (main): set default name check for boost.filesystem to
1506         no check
1507
1508         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1509         (open): ditto
1510         (doImport): ditto
1511         (actOnUpdatedPrefs): ditto
1512
1513         * lyx_main.C (init): rewrite to use boost.filesystem
1514         (queryUserLyXDir): ditto
1515
1516         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1517         (getContentsOfAsciiFile): ditto
1518
1519         * lastfiles.C (readFile): rewrite to use boost.filesystem
1520
1521         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1522
1523         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1524         (loadLyXFile): ditto
1525
1526         * buffer.C (Buffer): adjust for destroydir
1527         (getLogName): rewrite to use boost.filesystem
1528         (setFileName): ditto
1529         (save): use fs::copy_file (from fs_extras)
1530
1531         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1532
1533         * LaTeX.C (run): rewrite to use boost.filesystem
1534         (scanAuxFiles): ditto
1535         (handleFoundFile): ditto
1536
1537 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1538
1539         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1540
1541         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1542
1543 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1544
1545         * lyxlayout.[Ch]: change some vars from float to double
1546
1547         * buffer.C (readFile): make a local var const
1548
1549         * Several files: use convert<> instead of atoi,strToXXX and friends
1550
1551 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1552
1553         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1554         holds the contents of packages.lst. New functions getAvailable
1555         and isAvailable to parse and check that list, resp.
1556
1557         * LyXAction.C:
1558         * lfuns.h:
1559         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1560
1561         * bufferparams.[Ch]: new param output_changes.
1562
1563         * Buffer.C: increase file format to 240.
1564         Use output_changes and isVailable.
1565
1566         * changes.[Ch]:
1567         * paragraph.C:
1568         * paragraph_pimpl.C: Use output_changes and isVailable.
1569
1570 2005-01-23  Angus Leeming  <leeming@lyx.org>
1571
1572         * output_latex.C: #include "insetbibitem.h", rather than
1573         forward declare function bibitemWidest.
1574
1575 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1576
1577         * lyx_main.C (init): make it compile on the Mac.
1578
1579 2005-01-20  Angus Leeming  <leeming@lyx.org>
1580
1581         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1582         (setLyXMisc): (char string literal) != (char string literal) is
1583         performing a comparison on the addresses. Convert one operand
1584         explicitly to string to guarantee expected behaviour.
1585         From MSVC warning.
1586
1587 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1588
1589         * buffer.C:
1590         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1591
1592         * output_plaintext.C: remove unneeded #include gzstream.h.
1593
1594 2005-01-20  Angus Leeming  <leeming@lyx.org>
1595
1596         * SpellBase.h: rename some of the elements of the Result enum.
1597
1598         * aspell_local.h:
1599         * ispell.h:
1600         * pspell.h:
1601         * aspell.C (check):
1602         * ispell.C (check):
1603         * pspell.C (check): ditto
1604
1605 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1606
1607         * buffer.C: add #include <fstream>.
1608
1609         * lyx_main.C (init): Compile fix.
1610
1611         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1612
1613 2005-01-20  Angus Leeming  <leeming@lyx.org>
1614
1615         * mover.h: change commentary to reflect the changed meaning of
1616         the $$s placeholder.
1617
1618 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1619
1620         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1621
1622         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1623
1624 2005-01-20  Angus Leeming  <leeming@lyx.org>
1625
1626         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1627         printing diagnostic data by not dereferecing an iterator past the
1628         end.
1629
1630 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1631
1632         * buffer.C (readHeader): use "&&" rather than "and".
1633
1634         * lyxserver.h (inPipeName, outPipeName): make these const.
1635
1636 2005-01-19  Angus Leeming  <leeming@lyx.org>
1637
1638         * lyx_main.C (error_handler, init): protect SIGHUP with
1639         #ifdef SIGHUP guards.
1640
1641 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1642
1643         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1644
1645 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1646
1647         * text.C (setHeightOfRow): add a margin at the top and bottom of
1648         the document (bug 1761)
1649
1650 2005-01-17  Angus Leeming  <leeming@lyx.org>
1651
1652         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1653         with "python ". Workaround for a brain-dead Windows.
1654
1655 2005-01-16  Angus Leeming  <leeming@lyx.org>
1656
1657         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1658         for MacOSX and Windows to use prependEnvPath.
1659         Strip out the hard-coded block to add elements to the PATH for
1660         MacOSX and replace it with a call to prependEnvPath using the
1661         contents of LyXRC::path_prefix.
1662         (queryUserLyXDir): strip out the code to run reconfigure, instead
1663         returning a boolean indicating the necessity to do so.
1664         (reconfigureUserLyXDir): contains the code to reconfigure the
1665         user support directory. Is now called after the various LyXRC data
1666         files have been read.
1667
1668         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1669
1670 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1671
1672         * converter.[Ch] (convert): take a new parameter try_default. Use
1673         a default converter (imagemagick) if try_default is true.
1674
1675 2005-01-13  Angus Leeming  <leeming@lyx.org>
1676
1677         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1678         os::cygwin_path_fix.
1679         (write): output LyXRC::cygwin_path_fix as necessary.
1680
1681 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1682
1683         * lyxrc.h:
1684         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1685
1686 2005-01-12  Angus Leeming  <leeming@lyx.org>
1687
1688         * lyx_main.C (init): set the PATH variable to include the
1689         directory containing the LyX binary when running on Mac or Windows.
1690
1691 2005-01-12  Angus Leeming  <leeming@lyx.org>
1692
1693         * lyx_main.C (init): remove cruft that purports to set the locale
1694         dir. It doesn't and is not needed anyway.
1695
1696 2005-01-10  Angus Leeming  <leeming@lyx.org>
1697
1698         * Makefile.am: remove the lyx_main.C special casing.
1699
1700         * BufferView_pimpl.C:
1701         * bufferlist.C:
1702         * exporter.C:
1703         * lyx_cb.C:
1704         * lyx_main.C:
1705         * lyxfunc.C:
1706         * messages.C: use support/package.h to provide the paths to the
1707         various directories used by LyX.
1708
1709 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1710
1711         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1712         layout if pasting into an empty paragraph)
1713
1714 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * tex-accent.C: add <string>
1717
1718 2005-01-06  José Matos  <jamatos@lyx.org>
1719
1720         * ParagraphParameters.C (write): put every parameter in its own line.
1721         * paragraph.C (write): reduce number of consecutive empty lines exported.
1722         * buffer.C (LYX_FORMAT): increase file format to 239.
1723
1724 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1725
1726         * everywhere: change support/tostr.h -> support/convert.h
1727
1728         * tabular.C: make all write_attributes templates, tostr -> convert
1729
1730         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1731         (emptyTag): and -> &&, and fix type for ret from getChar
1732         (getFirstWord): fix type for ret from getChar
1733         (onlyText): and -> &&
1734         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1735         getChar
1736
1737         * toc.C (goTo, action):
1738         * text3.C (dispatch):
1739         * text.C (currentState):
1740         * tex-accent.C (DoAccent):
1741         * sgml.C:
1742         * lyxrc.C:
1743         * lyxfunc.C (menuNew):
1744         * lyxfinc.C (replace):
1745         * counters.C (laberItem):
1746         * bufferview_funcs.C (font2string):
1747         * bufferparams.C (writeFile):
1748         * buffer.C (readFile):
1749         * Spacing.C (set):
1750         * MenuBackend.C: tostr -> convert
1751
1752         * LaTeX.C (runMessage): fix format
1753         (scanAuxFiles): tostr -> convert
1754
1755         * BufferView_pimpl.C (savePosition): fix format
1756         (restorePosition): ditto
1757         (dispatch): ditto
1758
1759 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1760
1761         * Spacing.[Ch]: New method getValueAsString().
1762
1763         * Spacing.[Ch]:
1764         * bufferparams.C:
1765         * ParagraphParameters.C:
1766         * lyxlayout.C:
1767         * text.C:
1768         * text3.C: store/read spacing value as string.
1769
1770         * rowpainter.C: change float value (spacing_val) to double.
1771
1772         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1773         broken custom document spacing).
1774
1775 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1776
1777         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1778         namespace, also more use of temp references and const
1779
1780         * cursor.[Ch] (getStatus): move to lyxfunc.C
1781
1782         * bufferparams.C: reformat slightly
1783
1784         * bufferview_funcs.C (font2string): constify arg
1785
1786         * changes.C:
1787         * converter.C:
1788         * counters.C:
1789         * bufferlist.C:
1790         * buffer_funcs.C: (many funcs): constify arg on function
1791         definitions, also make more local vars const, also add ASSERTS on
1792         pointer args.
1793
1794         * buffer.C (LYX_FORMAT): put const in correct place
1795         (many funcs): constify arg on function definitions, also make
1796         more local vars const
1797
1798         * aspell_local.h: remove "struct" from typdef setup
1799
1800         * aspell.C (check): make word_ok const
1801         (nextMiss): simplify slightly
1802         (error): ditto
1803
1804 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1805
1806         * lyxrc.[Ch]: store all float values as strings.
1807         use int (not float) for lyxrc.dpi.
1808
1809 2005-01-04  Angus Leeming  <leeming@lyx.org>
1810
1811         * lyx_cb.C (Reconfigure):
1812         * lyx_main.C (queryUserLyXDir):
1813         to run the <system_lyxdir>/configure correctly on Windows, prefix
1814         the path to the script with "sh " when generating the string that
1815         is passed to system().
1816
1817 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1818
1819         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1820
1821 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1822
1823         * lyxlength.C (asLatexString): get rid of setprecision
1824
1825 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1826
1827         * text2.C (setLayout): remove unused variable endpit.
1828         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1829
1830         * paragraph.C (onlyText): remove unused variable style.
1831
1832         * cursor.C (bruteFind): remove unused variables beg and end.
1833
1834         * Makefile.am (dist_noinset_DATA): not needed anymore
1835
1836         * cheaders/*: remove.
1837
1838 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1839
1840         * text3.C: fix LFUN_MATH_MODE.
1841
1842 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1843
1844         * buffer_funcs.C (countWords): new function. Counts words between
1845         two iterators.
1846
1847         * BufferView_pimpl.C (getStatus, dispatch): handle
1848         LFUN_WORDS_COUNT.
1849
1850         * LyXAction.C (init):
1851         * lfuns.h: add LFUN_WORDS_COUNT.
1852
1853 2004-12-19  Angus Leeming  <leeming@lyx.org>
1854
1855         * buffer.C (save): s/slashify_path/internal_path/.
1856
1857 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1858
1859         * lyxfind.C (findChange): do not search for end of pars, because
1860         the change tracker cannot handle this (fixes bug 1719).
1861
1862 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1863
1864         * paragraph.[Ch] (autoBreakRows): remove
1865
1866         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1867
1868         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1869         avoid using the paragraph one
1870
1871         * text2.C (LyXText, insertStringAsLines): adjust
1872
1873 2004-12-16  Angus Leeming  <leeming@lyx.org>
1874
1875         * bufferlist.C:
1876         * lyx_main.C:
1877         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1878
1879 2004-12-14  Angus Leeming  <leeming@lyx.org>
1880
1881         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1882
1883         * bufferlist.C (emergencyWrite):
1884         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1885         GetEnvPath("HOME").
1886
1887 2004-12-14  Angus Leeming  <leeming@lyx.org>
1888
1889         * main.C: (main): no longer pass pointers to os::init.
1890
1891 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1892
1893         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1894         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1895
1896 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1897
1898         * lyxfunc.C:
1899         * text3.C: remove selection_possible global flag
1900
1901 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1902
1903         * text2.C (getSelectionSpan): remove
1904         (changeDepth, changeDepthAllowed): adjust
1905
1906 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1907
1908         * Makefile.am (BOOST_LIBS): use boost variables
1909
1910 2004-12-03  José Matos  <jamatos@lyx.org>
1911
1912         * buffer.C: format up to 238.
1913
1914 2004-12-03  José Matos  <jamatos@lyx.org>
1915
1916         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1917
1918 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1919
1920         * cursor.C (goUpDown): remove call to idxUpDown2
1921
1922 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1923
1924         * tabular.[Ch]: use size_t-like types for cell, row and column
1925         indices
1926
1927 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1928
1929         * lyxfunc.C (getStatus): do not lose previous information when
1930         calling BufferView::getStatus; do not set a default "Command
1931         disabled" message at the beginning, but just before returning.
1932
1933 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1934
1935         * cursor.h (getStatus): add better comment from src/cursor.C
1936
1937 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1938
1939         * text3.C (getStatus): return false when the lfun is not handled
1940
1941 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1942
1943         * broken_headers.h: remove
1944
1945         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1946
1947 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1948
1949         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1950         offset_ref accessors
1951
1952         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1953         top_y_, merge fitcursor with update
1954         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1955         coord scheme
1956         (metrics): introduce
1957         (workAreaDispatch): adapt to new coord scheme
1958         (redoCurrentBuffer): remove
1959
1960         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1961
1962         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1963         CurStatus enum.
1964
1965         * coordcache.[Ch]: add paragraph cache and helpers
1966
1967         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1968         adjust everywhere
1969
1970         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1971         (targetX, setTargetX): introduce
1972
1973         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1974         baseline -> ascent, as the rest of lyx
1975
1976         * lyxtext.h: remove redoParagraphs, updateParPositions,
1977         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1978         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1979         have ascent/descent (ascent is ascent of first par)
1980
1981         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1982         step of BufferView
1983
1984         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1985
1986         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1987
1988         * pariterator.C: fix infinite loop introduced in par->pit renaming
1989
1990         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1991         in insets and LyXText, draw two off-screen paragraphs using
1992         NullPainter, and adapt to new coord scheme
1993
1994         * text.C:
1995         * text2.C:
1996         * text3.C: adapt lfun handlers to the new coord scheme, which
1997         means: there's only guaranteed coord information for onscreen pars
1998         plus one above and one below. This implies that one can do search
1999         from y coordinates in the range [-1,workHeight]
2000
2001 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2002
2003         * rename a lot of InsetOld to InsetBase
2004
2005 2004-11-25  Angus Leeming  <leeming@lyx.org>
2006
2007         * BufferView_pimpl.C:
2008         * lyx_cb.C:
2009         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2010
2011 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2012
2013         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2014         call BufferView::getStatus if LCursor::getStatus did nothing
2015         (setStatusMessage, getStatusMessage): removed.
2016
2017         * FuncStatus.C (message): new methods. Used to provide an error
2018         message indicating why a command is disabled.
2019         (clear, |=, FuncStatus): update for message.
2020
2021 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2022
2023         * lyxfunc.C (dispatch): always call sendDispatchMessage
2024
2025 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2026
2027         * BufferView.C:
2028         * BufferView_pimpl.C:
2029         * CutAndPaste.C:
2030         * FontIterator.C:
2031         * buffer.C:
2032         * cursor.C:
2033         * cursor_slice.[Ch]:
2034         * dociterator.[Ch]:
2035         * lyxfind.C:
2036         * paragraph_funcs.C:
2037         * pariterator.C:
2038         * rowpainter.C:
2039         * text.C:
2040         * text2.C:
2041         * text3.C:
2042         * undo.C: par->pit renaming
2043
2044 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2045
2046         * tabular.C (cellstruct): use initialization, store a shared_ptr
2047         to insettext instead of the insettext directly, adjust to fit.
2048         (operator=):  new function
2049         (swap): new function
2050         (rowstruct): use initialization
2051         (columnstruct): use initialization
2052         (ltType): use initialization
2053
2054
2055         * lyxlength.h (swap): new function
2056
2057         * LColor.[Ch] (operator=): use the common semantics
2058
2059 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2060
2061         * lyxfind.C (findNextChange): update the bufferview after setting
2062         the selection.
2063
2064 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2067         number of InsetOptArgs has already been inserted.
2068
2069         * output_latex.C (latexOptArgInsets): new method. This outputs all
2070         the optarg insets, up to the limit defined in the layout file.
2071         (optArgInset): removed
2072         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2073
2074 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2075
2076         * paragraph.C (isLetter): remove special spellchecker-related
2077         code; return true also for digits
2078         (isWord, isKomma): remove
2079
2080         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2081         * lyxfind.C (MatchString()): use isLetter instead of isWord
2082
2083 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2084
2085         * pariterator.h (operatir=): comment out un-implemented member
2086         function.
2087
2088         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2089         static cast.
2090
2091 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2092
2093         * lyxfont.h: include LColor.h to satisfy concept checks.
2094
2095 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * pariterator.h: add typdefs for value_type, difference_type,
2098         pointer and reference to satisfy concept checks. Also add default
2099         constructor for same reason.
2100
2101         * pariterator.C (operator++): add post-increment operator to
2102         satisfy concept checks.
2103
2104         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2105         checks.
2106
2107         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2108
2109         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2110         checks. Also rename base_type to BaseType to follow naming
2111         standard better.
2112
2113         * FloatList.h: include Floating.h to satisfy concept checks.
2114
2115 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2116
2117         * lyxfunc.C (getStatus): when the origin of the request is menu or
2118         toolbar, and the LyXView does not have focus, do as if there was
2119         no buffer (bug 1720)
2120
2121         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2122         FuncRequest to individual entries of LFUN_SEQUENCE
2123
2124 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2125
2126         * output_latex.C (TeXOnePar): override runparams.moving_arg
2127         according to the needprotect value of the current paragraph (bug
2128         1739)
2129
2130         * paragraph.C (simpleTeXOnePar): no need to override
2131         runparams.moving_args here
2132
2133 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2134
2135         * vspace.C: fix off-by-one-error, related to fix #1682
2136
2137 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2138
2139         * lengthcommon.C: a more general fix for bug 1682
2140
2141 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2142
2143         * text.C (backspace): fix crash
2144
2145 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2146
2147         * format.[Ch] (getFormatFromFile): new method
2148         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2149
2150 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2151
2152         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2153
2154 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2155
2156         * lyxfunc.C (dispatch): remove the verbose argument
2157         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2158         instead
2159
2160         * kbmap.C (defkey): set the origin of func to KEYBOARD
2161
2162         * MenuBackend.C (MenuItem):
2163         * ToolbarBackend.C (add): set the origin of func to UI
2164
2165         * funcrequest.[Ch]: add origin member, which indicates which part
2166         of LyX requests an action
2167
2168 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2169
2170         * converter.C (move): don't lie in the error message
2171         * converter.h (isReachable, move): document
2172
2173 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2174
2175         * buffer.C: remove unused using lyx::support::atoi
2176         * paragraph_funcs.C: ditto
2177
2178 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2179
2180         * bufferlist.C (exists): use bind and equal_to instead of
2181         compare_memfun
2182         (getBuffer): ditto
2183         * lyxtextclasslist.C (NumberOfClass): ditto
2184
2185         * cursor.C (insert): use for_each instead of explicit for loop
2186
2187         * bufferlist.C (getFileNames): use std::transform and
2188         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2189
2190         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2191         for loop
2192
2193         * buffer.C (changeLanguage): use for_each instead of explicit for
2194         loop
2195         (hasParWithID): implement using getParFromID
2196
2197         * LaTeXFeatures.C: ws change only
2198
2199         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2200         to cleanup a bit.
2201
2202         * BufferView_pimpl.C (trackChanges): use for_each instead of
2203         expilicit for loop
2204
2205 2004-11-04  André Pönitz  <poenitz@gmx.net>
2206
2207         * undo.h:
2208         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2209
2210         * dociterator.C (asDocIterator): use hard assert again.
2211
2212 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2213
2214         * lyxlength.C (asLatexString): rewrite so that it does not use
2215         snprintf anymore
2216
2217 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2218
2219         * text3.C (specialChar, dispatch): make sure cursor moves to the
2220         right after inserting an inset
2221
2222 2004-11-02  José Matos  <jamatos@lyx.org>
2223
2224         * output_docbook.C (docbook):
2225         * paragraph.C (getID):
2226         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2227         garantee that the output is always legal.
2228
2229         * tabular.C (docbook):
2230         * outputprams.[Ch]: remove mixed contents.
2231
2232 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2233
2234         * text2.C (setCounter): prevent endless loop
2235
2236 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2237
2238         * exporter.C (copyFile): use the mover instead of support::copy()
2239         * exporter.C (Export): pass format and latex name to copyFile()
2240         * exporter.h (addExternalFile): document
2241         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2242
2243 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2244
2245         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2246
2247 2004-10-30  José Matos  <jamatos@lyx.org>
2248
2249         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2250         text and no inset or font change. This allows to use CDATA
2251         sections just for the whole paragraph.
2252
2253 2004-10-30  José Matos  <jamatos@lyx.org>
2254
2255         * paragraph.C (getFirstWord): remove unused variable.
2256
2257 2004-10-30  José Matos  <jamatos@lyx.org>
2258
2259         * paragraph.C (getFirstWord): the content should always be escaped
2260         there.
2261         (simpleDocBookOnePar):
2262         * output_docbook.C (makeEnvironment): replace reference to CDATA
2263         to style pass_thru.
2264
2265 2004-10-30  José Matos  <jamatos@lyx.org>
2266
2267         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2268
2269 2004-10-30  José Matos  <jamatos@lyx.org>
2270
2271         * output_docbook.C (makeParagraphs):
2272         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2273         standard paragraph has only a given type of content drop the wrapper.
2274
2275 2004-10-29  José Matos  <jamatos@lyx.org>
2276
2277         * output_docbook.C (makeEnvironment):
2278         * sgml.C (openTag):
2279         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2280
2281 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2282
2283         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2284         (cleanID): sanitize any id.
2285
2286 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2287
2288         * buffer.C, lyxlex_pimpl.C:
2289         * lyxlex_pimpl.C (setFile):
2290         s/getExtFromContents/getFormatFromContents/
2291
2292 2004-10-28  José Matos  <jamatos@lyx.org>
2293
2294         * output_docbook.C (makeEnvironment): move id to broadest possible
2295         scope.
2296
2297         * sgml.C (openTag): apply substitution of <> for all attributes.
2298
2299 2004-10-28  José Matos  <jamatos@lyx.org>
2300
2301         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2302         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2303         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2304
2305         * sgml.[Ch]: new version for open and closeTag for paragraph and
2306         for strings. Now they handle the ids of paragraphs.
2307
2308 2004-10-26  Angus Leeming  <leeming@lyx.org>
2309
2310         * Makefile.am: add mover.[Ch].
2311
2312         * converter.C (convert, move): use the new Movers to move external
2313         files to the temp directory.
2314
2315         * lyx_main.C (init): ensure that the global system_movers data
2316         is initialised.
2317
2318         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2319         preferences file.
2320
2321         * mover.[Ch]: new files, defining a Mover as a utility to move an
2322         external file between directories and, if necessary, manipulate this
2323         file using a helper script.
2324
2325 2004-10-25  José Matos  <jamatos@lyx.org>
2326
2327         * output_docbook.C (makeCommand): merge two if's that tested the
2328         same condition.
2329
2330 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2331
2332         * sgml.C (escapeString): fix warning in a better way
2333
2334 2004-10-25  José Matos  <jamatos@lyx.org>
2335
2336         * sgml.C (escapeString): import the require boosts header file for
2337         tie, and avoid a signed unsigned comparison.
2338
2339 2004-10-25  José Matos  <jamatos@lyx.org>
2340
2341         * sgml.h: add #include <string>
2342
2343 2004-10-25  José Matos  <jamatos@lyx.org>
2344
2345         * sgml.[Ch] (escapeString): new function to escape all the string.
2346
2347 2004-10-24  José Matos  <jamatos@lyx.org>
2348
2349         * paragraph.[Ch] (getFirstWord): new function to get the first
2350         word. Useful for description.
2351         (simpleDocBookOnePar): remove depth argument, add another that
2352         says where to start the paragraph.
2353
2354         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2355         use the new functions to fix cleanly the support for descriptions.
2356
2357 2004-10-24  José Matos  <jamatos@lyx.org>
2358
2359         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2360         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2361         * output_linuxdoc.C (linuxdocParagraphs):
2362         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2363         add buffer as argument.
2364
2365 2004-10-24  José Matos  <jamatos@lyx.org>
2366
2367         * output_docbook.C (makeEnvironment, searchEnvironment): place
2368         CDATA inside paragraphs and fix scope for listitems.
2369
2370 2004-10-24  José Matos  <jamatos@lyx.org>
2371
2372         * output_docbook.C: remove using statement for stack.
2373
2374 2004-10-23  José Matos  <jamatos@lyx.org>
2375
2376         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2377         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2378         docbook. The new scheme is recursive and makes use of iterators, the
2379         same as latex export works.
2380         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2381         directly with the paragraph contents. This code was moved up to
2382         output_docbook.C (docbookParagraphs).
2383         * sgml.C (openTag, closeTag): removed unneeded newlines.
2384         (closeEnvTags) removed.
2385
2386 2004-10-23  André Pönitz  <poenitz@gmx.net>
2387
2388         * undo.C (textUndoOrRedo):
2389         * dociterator.C (asDocIterator): work around crash
2390
2391         * cursor.C (getStatus): replace ASSERT by more verbose error message
2392           and manual correction of the problem. Should increase stability
2393           while providing more sensible information.
2394
2395 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2396
2397         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2398
2399         * bufferlist.C (previous, next): new methods
2400
2401         * lfuns.h:
2402         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2403
2404 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2405
2406         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2407         entities to preamble.
2408
2409 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2410
2411         * messages.C (Pimpl): strip off translation context information
2412
2413 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2414
2415         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2416         the cursor is correct (bug 1694)
2417
2418 2004-10-13  José Matos  <jamatos@lyx.org>
2419
2420         * output_docbook.C (docbookParagraphs): fix closing tags in the
2421         end of the document.
2422
2423 2004-10-09  José Matos  <jamatos@lyx.org>
2424
2425         * buffer.C: format up to 237.
2426         * bufferparams.C (write): use tostr to convert booleans to strings.
2427
2428 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2429
2430         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2431
2432 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2433
2434         * LaTeX.C: implement use of babel language in xindy.
2435
2436 2004-10-05  José Matos  <jamatos@lyx.org>
2437
2438         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2439         Add new translators to help reading and writing the lyx file.
2440
2441 2004-10-05  José Matos  <jamatos@lyx.org>
2442
2443         * ParagraphParameters.C (read):
2444         * text.C (readParToken): replace nexToken by more appropriate lex
2445         methods.
2446
2447 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2448
2449         * LaTeX.C (runMakeIndex):
2450         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2451         (usually 'makeindex') configurable.
2452
2453         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2454         with a variable rather than with a number.
2455
2456 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2457
2458         * output_latex.C (TeXOnePar): make sure font setting is the first
2459         thing that gets output (and the last at the end). Should fix bug
2460         1404.
2461
2462 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2463
2464         * pch.h: use proper signal include
2465
2466         * LaTeX.h: Use preferred calling of Boost.Signal
2467         * buffer.h: ditto
2468
2469 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * pch.h: dont include <boost/function/function0.hpp>
2472
2473         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2474
2475         * paragraph_pimpl.h: remove usage of ShareContainer
2476
2477         * paragraph_pimpl.C: remove initialization of ShareContainer.
2478
2479 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         Fix bug #1666
2482
2483         * BufferView.C (putSelectionAt): change the semantics when
2484         backwards == true: now, this just swaps cursor and anchor wrt the
2485         forward case
2486
2487         * BufferView.h (putSelectionAt): add some documentation
2488
2489         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2490         make sure backwardChar is done at least once (to avoid getting
2491         stuck)
2492         (findNextChange): use putSelectionAt in the forward direction
2493         (operator()): use Paragraph::isWord
2494
2495 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2496
2497         * Spacing.C (set): c_str fix
2498
2499 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2500
2501         * lyx_cb.C (Reconfigure): quote the name of configure script in
2502         case it contains spaces
2503
2504 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * client: new dir
2507
2508         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2509         (BOOST_LIBS): use top_buildir when looking for the file
2510
2511 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2512
2513         * pch.h: do not use include boost/format.hpp, multiple symbols
2514                 will result (gcc bug)
2515
2516
2517 2004-08-23  José Matos  <jamatos@lyx.org>
2518
2519         * bufferparams.C (readToken): fix reading of the author field.
2520
2521 2004-08-20  José Matos  <jamatos@lyx.org>
2522
2523         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2524
2525 2004-08-20  José Matos  <jamatos@lyx.org>
2526
2527         * lyxlex.[Ch] (findToken): remove function.
2528
2529         * ParagraphParameters.C (findToken):
2530         * bufferparams.C (findToken): replace call for previous function
2531         with local copy. This local function has one more argument, the
2532         read string argument.
2533
2534 2004-08-16  José Matos  <jamatos@lyx.org>
2535
2536         * ParagraphParameters.C (write):
2537         * Spacing.C (writeFile):
2538         * bufferparams.C (writeLaTeX):
2539         * lyx_cb.C (Reconfigure):
2540         * paragraph.C (write):
2541         * tabular.C (write): remove unnecessary space at end of line.
2542
2543
2544 2004-08-16  José Matos  <jamatos@lyx.org>
2545
2546         * text.C (readParagraph): remove debug message.
2547
2548 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2549
2550         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2551         crash
2552
2553         * output_plaintext.C (asciiParagraph): set depth correctly
2554
2555         * outputparams.h: add member depth
2556
2557         * paragraph_funcs.C (ownerPar): remove.
2558
2559         * text2.C (setCounter): remove first_pit; comment out some
2560         non-working code that uses ownerPar
2561
2562         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2563         uses ownerPar
2564
2565 2004-08-16  José Matos  <jamatos@lyx.org>
2566
2567         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2568         For the same level of importance use the same chanel to report problems.
2569         (read): add code to deal with \begin_body and \end_body.
2570
2571
2572 2004-08-15  José Matos  <jamatos@lyx.org>
2573
2574         * lyxlex.C (getString): fix comment, buffer::readBody is now
2575         buffer:readDocument.
2576
2577         * tex-strings.C (string_papersize): Default -> default,
2578         Custom -> custom, for consistency with other options.
2579
2580 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2581
2582         * pch.h: new file
2583
2584         * Makefile.am: support pch
2585
2586 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2587
2588         * text.C (readParToken): remove the static LyXFont variable and
2589         pass it as a parameter instead. This fixes a nasty bug where an
2590         inset will be inserted with a bad font in some situations
2591         (readParagraph): adapt
2592
2593         * text2.C (setCounter): reduce number of calls to pars_[pit]
2594
2595         * text.C (singleWidth): add an assert, fix a test
2596
2597         * rowpainter.C (paintText): reduce number of calls to singleWidth
2598
2599         * paragraph.C (isHfill):
2600         (isNewline): ws only
2601
2602 2004-08-14  André Pönitz  <poenitz@gmx.net>
2603
2604         * text.C:
2605         * text2.C:
2606         * rowpainter.C:
2607         * lyxtext.h (several functions): use a Paragraph & argument
2608         instead of par_type
2609
2610 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2611
2612         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2613
2614         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2615
2616         * text.C (singleWidth): remove useless test
2617
2618 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2619
2620         * tabular.h: remove bogus comments
2621
2622         * tabular.C (getDescentOfRow):
2623         (isPartOfMultiColumn): add assertions
2624
2625         * lyxlength.C (inPixels): remove #warning
2626
2627 2004-08-14  André Pönitz  <poenitz@gmx.net>
2628
2629         * paragraph.h: inline getChar()
2630
2631         * BufferView.h: remove unused declarations
2632
2633 2004-08-14  José Matos  <jamatos@lyx.org>
2634
2635         * Buffer.[Ch] (readDocument): new name for old readBody.
2636         * Buffer.C: new file format, new keywords: \begin_document,
2637         \begin_header, \begin_body, \end_body.
2638
2639         * bufferparams.C (readToken): replace all calls to lex.nextToken
2640         by lex.next(). Do the same to eatLine except where really needed.
2641
2642         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2643         line when writing to the lyx file.
2644
2645         * output_plaintext.C (asciiParagraph): fix Bibliography style
2646         handling.
2647
2648         * text.C (read): fix end of file handling.
2649
2650 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2651
2652         * MenuBackend.C (Menu::operator[]): new method to access
2653         individual menu items
2654         (Menu::hasFunc): new method. search for an item that corresponds
2655         to a given func
2656         (MenuBackend::specialMenu): new method
2657         (MenuBackend::expand): if a special menu has been set, skip
2658         entries whose func() appears in this menu
2659
2660 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2661
2662         * text3.C: use Debug::DEBUG a bit more
2663
2664         * text.C (leftMargin): try to simplify a tiny bit change var x to
2665         l_margin. Dont output the wide margins always.
2666         (rightMargin): no margin in inner texts
2667
2668         * rowpainter.h (nestMargin): new func
2669         (changebarMargin): new func
2670         (rightMargin): new func
2671
2672         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2673         now functions.
2674         (paintLast): ditto
2675
2676         * factory.C (createInset): modify setDrawFrame
2677
2678         * cursor.C: use Debug::DEBUG a bit more
2679
2680 2004-08-14  André Pönitz  <poenitz@gmx.net>
2681
2682         * coordcache.[Ch]:
2683         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2684         cache for all insets in (at least partially) visible (top-level)
2685         paragraphs.
2686
2687         * BufferView_pimpl.C: reset external coord cache before every update.
2688         This means the coord cache only contains valid entries.
2689
2690 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2691
2692         bug 1096
2693         * BufferView_pimpl.C (getInsetByCode): move function out of class
2694         and change in to a template in anon namespace. Also fix to do what
2695         suits us better.
2696
2697 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2698
2699         bug 1305
2700         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2701         of char
2702         (breakParagraph): rename par to par_offset and use a local
2703         reference. Add code to keep the language over a rebreak.
2704         (breakParagraphConservative): rename par to par_offset, use a
2705         local reference
2706         (mergeParagraph): ditto
2707         (outerHook): ditto
2708         (isFirstInSequence): ditto
2709         (outerFont): rename pit to par_offset
2710
2711         * paragraph.C: ws change
2712         * paragraph.h: ditto
2713         * text3.C: ditto
2714         * text.C: ditto
2715
2716 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2717
2718         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2719         treatment for ']'
2720
2721         * paragraph.C (simpleTeXOnePar): when we have a \item with
2722         optional argument, enclose the argument with curly brackets (in
2723         case it contains a closing square bracket)
2724
2725         * text2.C (editXY):
2726         * text2.C (editXY):
2727         * text3.C (checkInsetHit): constify
2728
2729 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2730
2731         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2732         documents (bug 1629)
2733
2734 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2735
2736         Fix toggling of collapsable insets with the mouse (bug 1558)
2737
2738         * lyxfunc.C (dispatch): adapt to LCursor changes
2739
2740         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2741         make sure that dispatch is not invoked twice
2742
2743         * cursor.C (needsUpdate): new method
2744         (dispatch): return void
2745         (result): new method, to access the DispatchResult of the cursor.
2746
2747 2004-08-13  José Matos  <jamatos@lyx.org>
2748
2749         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2750
2751 2004-08-13  André Pönitz  <poenitz@gmx.net>
2752
2753         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2754
2755         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2756           multiple cells
2757
2758 2004-08-12  André Pönitz  <poenitz@gmx.net>
2759
2760         * text3.C: take out the 'cursor right' form insertInset and only
2761         do it in those places when it is really needed. Fixes crash on
2762         C-m...
2763
2764 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2765
2766         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2767
2768         * BufferView_pimpl.C (setBuffer): initialize the current font of
2769         the underlying LyXText
2770
2771 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2772
2773         * kbsequence.C (print): use UI native formatting for menu
2774         shortcuts
2775
2776         * text.C (insertChar): call Paragraph::insertChar with a font
2777         argument (cosmetic)
2778
2779         * paragraph.C (insertInset, insertChar): the version that takes a
2780         LyXFont argument is now a wrapper around the other one (the
2781         opposite used to be true).
2782
2783         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2784         argument. Font setting is done in Paragraph now.
2785
2786 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2787
2788         * outputparams.h: add new members intitle and lang.
2789
2790         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2791         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2792
2793 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2794
2795         * text3.C (dispatch): remove special handling of button 4 and 5,
2796         it is now taken care of in the frontend code.
2797
2798 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2799
2800         * Spacing.h: add <string> (STLPort compile fix)
2801
2802 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2803
2804         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2805
2806 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2807
2808         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2809         to bool.
2810
2811         * converter.C (showMessage): inherit from unary_function, make
2812         operator() const.
2813
2814         * buffer.C (writeFile): initialize retval
2815
2816         * InsetList.h: rename private variable list to list_
2817         * InsetList.[Ch]: adjust accordingly.
2818
2819 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2820
2821         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2822         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2823         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2824         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2825         * ParagraphParameters.C, LaTeXFeatures.C: replace
2826         "support/std_sstream.h" with <sstream>
2827
2828 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2829
2830         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2831         * lyxsocket.C (LyXServerSocket): ditto
2832         (serverCallback): ditto
2833
2834 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2835
2836         * LaTeXFeatures.C: check release date when loading jurabib.
2837
2838 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2839
2840         * lyxserver.C (startPipe): call register_socket_callback
2841         (endPipe): call unregister_socket_callback
2842
2843 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2844
2845         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2846         (LyXServerSocket): register the callback
2847         (LyXServerSocket): unregister the callback
2848         (fd): delete function
2849         (serverCallback): improve error checking and setup the callbacks.
2850         (dataCallback): change arg to fd.
2851         (writeln): new func (copied fro the client socket) used for server
2852         write to client.
2853         (LyXDataSocket): simplify
2854         (~LyXDataSocket): close ann unregiser callback
2855         (server): delete function
2856         (fd): delete function
2857         (readln): small changes, improve some std::string usage
2858         (writeln): constify a bit
2859
2860 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2861
2862         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2863         Qt frontend
2864
2865 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2866
2867         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2868         after it has been populated
2869
2870 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2871
2872         * text2.C (insertInset): move cursor when inserting inset.
2873
2874 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2875
2876         * kbmap.C (findbindings): a couple of new methods. returns a
2877         container of kb_sequence objects. The real work is done by the
2878         private recursive version
2879         (printbindings): uses findbindings to print out a bracketed list
2880         of bindings (renamed from findbinding).
2881
2882         * MenuBackend.C (binding): use kb_keymap::findbindings
2883
2884         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2885
2886 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2887
2888         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2889
2890 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2891
2892         * paragraph.C (isWord): return true on insets that report
2893         isLetter().
2894
2895         * text.C (getWord): use Paragraph::isWord to decide what is in a
2896         word and what is not; fix bug 1609.
2897
2898 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2899
2900         * tex-strings.C: add "none" to string_paperpackages[], fixes
2901         off-by-one-error in the paperpackage selection.
2902
2903         * lyxlex.[Ch]:
2904         * tex-strings.[Ch]: char const * string[n]
2905         -> char const * const string[]
2906
2907 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2908
2909         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2910         command, return early.
2911
2912 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2913
2914         * debug.h: add DEBUG to enum and fix size of ANY.
2915
2916         * debug.C: add support for Debug::DEBUG
2917         (showTags): cast errorTags.level to unsigned int
2918
2919         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2920         (redoCurrentBuffer): ditto
2921         (updateScrollbar): ditto
2922         * cursor.C (dispatch): ditto
2923         * text2.C (setLayout): ditto
2924         (setFont): ditto
2925         (updateCounters): ditto
2926         (editXY): ditto
2927         (deleteEmptyParagraphMechanism): ditto
2928
2929 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2930
2931         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2932         annotations to cleanup the Makefile slightly.
2933
2934 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2935
2936         * lyxrc.C: do not set user_email to a default value but use empty
2937         instead. The entry used to be translated, which does not work
2938         since at the point where lyxrc is constructed there is no
2939         translation service available
2940
2941         * messages.C (getLocaleDir): remove and use directly
2942         lyx_localedir() instead
2943
2944 2004-06-02  Angus Leeming  <leeming@lyx.org>
2945
2946         Fix crash caused by dereferencing null pointer 'exportdata' in
2947         OutputParams by creating a new ExportData variable on the heap,
2948         storing it in a boost::shared_ptr.
2949         The crash was triggered when generating an Instant Preview
2950         of an external inset.
2951
2952         * Makefile.am: add outputparams.C
2953
2954         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2955         (c-tor): allocate memory to it.
2956
2957         * exporter.C (c-tor): associated changes.
2958
2959 2004-06-01  Angus Leeming  <leeming@lyx.org>
2960
2961         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2962         contains data before calling isInset(0). (Bug 1513.)
2963
2964 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2965
2966         * exporter.C (checkOverwrite): new method
2967         * exporter.C (copyFile): new method
2968         * exporter.C (Export): copy referenced files to the document dir
2969         * exporter.[Ch]: new class ExportedFile
2970         * exporter.[Ch]: new class ExportData. Contains currently the
2971         names of referenced external files
2972         * outputparams.h: add exportdata member.
2973
2974 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2975
2976         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2977         version.C-tmp
2978
2979 2004-05-19  Angus Leeming  <leeming@lyx.org>
2980
2981         * LaTeXFeatures.C:
2982         * ToolbarBackend.C:
2983         * bufferparams.C:
2984         * lyxfunc.C: small changes due to the introduction of namespace
2985         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2986
2987 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2988
2989         * text3.C (dispatch): supress update when only moving the cursor
2990         * cursor.C (selHandle): remove commented code
2991
2992 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2993
2994         * paragraph.C (startTeXParParams): correct column count
2995         * CutAndPaste.C (pasteSelection): remove const_cast
2996         * output_docbook.C (docbookParagraphs): remove const_cast
2997         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2998         const_cast and return ParagraphList::const_iterator
2999         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3000         * output_plaintext.C (writeFileAscii): remove const_cast
3001         * paragraph.[Ch] (simpleTeXOnePar): make const
3002         * paragraph_funcs.C (outerPar): use const iterators
3003         * paragraph_pimpl.C (validate): use const iterators
3004         * text.C (setHeightOfRow): use const iterators
3005
3006 2004-05-17  Angus Leeming  <leeming@lyx.org>
3007
3008         * lfuns.h:
3009         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3010
3011         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3012         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3013         if the citation engine has changed.
3014
3015 2004-05-14  José Matos  <jamatos@lyx.org>
3016
3017         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3018         if the textclass does not provide it. Have it different for sgml and
3019         xml.
3020         support the language of document.
3021         * output_docbook.C (docbookParagraphs):
3022         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3023         first anchor as the id of the paragraph, remove special case code.
3024         * sgml.C (escapeChar): escape only < & >.
3025
3026 2004-05-14  Angus Leeming  <leeming@lyx.org>
3027
3028         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3029         dependencies on src/frontends/controllers/biblio.h. Define a
3030         CiteEngine_enum wrapper class to enable the enum to be forward
3031         declared.
3032
3033 2004-05-12  Angus Leeming  <leeming@lyx.org>
3034
3035         * buffer.C: up LYX_FORMAT to 234.
3036         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3037         use_numerical_citations with a single biblio::CiteEngine cite_engine
3038         variable.
3039         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3040
3041 2004-05-13  José Matos  <jamatos@lyx.org>
3042
3043         * converter.h:
3044         * converter.C (Converter, readFlags): add xml member.
3045         * outputparams.h: add XML flavor.
3046         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3047
3048 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3049
3050         * lyxfunc.C (dispatch):
3051         (getStatus): fix handling of LFUN_SEQUENCE
3052
3053 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3054
3055         * debug.C (showLevel): do not forget the end-of-line marker
3056
3057 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3058
3059         * kbmap.C (read): do not stop parsing a bind file when an error
3060         occurs (bug 1575)
3061
3062 2004-04-29  Angus Leeming  <leeming@lyx.org>
3063
3064         * cursor.C:
3065         * factory.C:
3066         * pariterator.C:
3067         * text2.C: wrap a bunch of #warning statements
3068         inside #ifdef WITH_WARNINGS blocks.
3069
3070 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3071
3072         * buffer.C: increment format to 233.
3073
3074 2004-04-28  Angus Leeming  <leeming@lyx.org>
3075
3076         * BufferView_pimpl.C:
3077         * lyxfunc.C:
3078         * text3.C:
3079         s/updateToolbar()/updateToolbars()/
3080         s/Toolbar.h/Toolbars.h/
3081
3082 2004-04-28  Angus Leeming  <leeming@lyx.org>
3083
3084         * BufferView.[Ch] (c-tor):
3085         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3086         No longer passes these data to the WorkArea generator.
3087
3088 2004-04-28  Angus Leeming  <leeming@lyx.org>
3089
3090         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3091
3092 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3093
3094         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3095
3096 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3097
3098         * output_latex.C (TeXEnvironment): make sure that there is a line
3099         break before \end{foo} for the last paragraph of a document
3100         (TeXOnePar): if the paragraph is at the end of the document (or
3101         inset) and the language has to be reset, then make sure that the
3102         line break is _before_ the language command, not after (fixes bug
3103         1225); also make sure that the language reset command is the first
3104         thing after the paragraph (to ensure proper nesting of
3105         environments and thus fix bug 1404)
3106
3107 2004-04-21  John Levon  <levon@movementarian.org>
3108
3109         * ToolbarBackend.h:
3110         * ToolbarBackend.C: make "name" be a programmatic name
3111         and a gui_name field.
3112
3113         * lyxfunc.C: display the minibuffer on M-x
3114
3115 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3116
3117         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3118         (bug 1526)
3119
3120 2004-04-19  Angus Leeming  <leeming@lyx.org>
3121
3122         * BufferView_pimpl.C (setBuffer): changed preview interface.
3123
3124         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3125         possible values.
3126
3127 2004-04-19  John Levon  <levon@movementarian.org>
3128
3129         * BufferView_pimpl.C:
3130         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3131
3132 2004-04-05  Angus Leeming  <leeming@lyx.org>
3133
3134         * text.C (redoParagraphs): add call to updateCounters(), thereby
3135         fixing the missing "Figure #:" label from the caption of a
3136         figure float.
3137
3138 2004-04-13  Angus Leeming  <leeming@lyx.org>
3139
3140         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3141         cursor is clicked out of an inset.
3142
3143 2004-04-13  Angus Leeming  <leeming@lyx.org>
3144
3145         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3146         than an InsetOld one.
3147
3148 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3149
3150         * format.[Ch]: add editor to Format
3151         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3152         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3153
3154 2004-04-08  André Pönitz  <poenitz@gmx.net>
3155
3156         * metricsinfo.h: remove PainterInfo::width member
3157
3158 2004-04-08  Angus Leeming  <leeming@lyx.org>
3159
3160         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3161         "\providecommand" rather than "\newcommand", thereby preventing
3162         clashes with packages that define "\boldsymbol" themselves.
3163         Eg, beamer.
3164
3165 2004-04-08  Angus Leeming  <leeming@lyx.org>
3166
3167         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3168         thereby squashing an unnecessary warning.
3169
3170 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3171
3172         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3173         setBuffer()
3174
3175 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3176
3177         * BufferView.C (setCursor): call redoParagraph (some insets could
3178         have been opened)
3179         (putSelectionAt): remove the 'double update' trick
3180
3181         * BufferView_pimpl.C (fitCursor): call refreshPar
3182         (workAreaDispatch): remove an uneeded update call
3183         (dispatch): remove some manual update calls
3184
3185         * cursor.[Ch]: remove cached_y_, updatePos
3186         (selHandle): set noUpdate when appropriate
3187
3188         * lyxfunc.C (dispatch): track if we need an update
3189
3190         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3191
3192         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3193         (paintSelection): cheap optimization, do not call cursorX when not
3194         needed
3195         (paintPars): change signature
3196         (refreshPar): add
3197         (paintText): adjust
3198         (paintTextInset): adjust
3199
3200         * text.C: adjust
3201
3202 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3203
3204         * lengthcommon.C: compilation fix: remove explicit array size from
3205         unit_name[] and friends
3206
3207 2004-04-05  Angus Leeming  <leeming@lyx.org>
3208
3209         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3210
3211         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3212         present only for the preferences dialog.
3213         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3214
3215 2004-04-05  Angus Leeming  <leeming@lyx.org>
3216
3217         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3218         to enable the frontends to export changes to lyxrc correctly.
3219
3220         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3221
3222 2004-04-07  André Pönitz  <poenitz@gmx.net>
3223
3224         * cursor.[Ch] (selClear, adjust): remove math
3225
3226         * cursor_slice.C: more agressive assert
3227
3228         * lyxfunc.C:
3229         * BufferView_pimpl.C: rework mouse event dispatch
3230
3231         * dociterator.C:
3232         * paragraph.C:
3233         * text2.C:
3234         * text3.C: adjust
3235
3236 2004-04-05  André Pönitz  <poenitz@gmx.net>
3237
3238         * cursor.[Ch] (valign, halign...): remove unneeded functions
3239
3240 2004-04-05  Angus Leeming  <leeming@lyx.org>
3241
3242         * lyxlength.[Ch] (unit_name et al.): const-correct.
3243
3244 2004-04-05  Angus Leeming  <leeming@lyx.org>
3245
3246         * BufferView_pimpl.C:
3247         * buffer.C:
3248         * counters.C:
3249         * cursor.C:
3250         * lyxfunc.C
3251         * paragraph.C:
3252         * pariterator.C:
3253         * text.C:
3254         * text2.C:
3255         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3256
3257 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3258
3259         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3260
3261 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3262
3263         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3264         * BufferView_pimpl.[Ch] (getStatus)
3265         * BufferView.[Ch] (getStatus): add
3266         * lyxfunc.C (getStatus): move lfuns handled in
3267         BufferView::dispatch to te function above
3268         * Cursor.C (setSelection): set selection() = true
3269
3270 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3271
3272         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3273
3274 2004-03-31  Angus Leeming  <leeming@lyx.org>
3275
3276         * lyxfunc.C (dispatch): Fall through to the generic
3277         Dialogs::show("preamble").
3278
3279 2004-03-31  Angus Leeming  <leeming@lyx.org>
3280
3281         * lyxfunc.C (dispatch): Fall through to the generic
3282         Dialogs::show("spellchecker").
3283
3284 2004-03-31  Angus Leeming  <leeming@lyx.org>
3285
3286         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3287         preferences dialog.
3288
3289 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3290
3291         * BufferView.C
3292         * cursor.[Ch]
3293         * dociterator.[Ch]:
3294         * insetiterator.[Ch]:
3295         * lyxfind.C:
3296         * lyxfunc.C:
3297         * pariterator.[Ch]:
3298         * text2.C:
3299         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3300
3301 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3302
3303         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3304         insets where we are putting the cursor.
3305
3306 2004-03-31  Angus Leeming  <leeming@lyx.org>
3307
3308         * lfuns.h:
3309         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3310
3311         * lyxrc.[Ch] (read, write): overloaded member functions taking
3312         a std::[io]stream arguments.
3313
3314         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3315
3316 2004-03-31  Angus Leeming  <leeming@lyx.org>
3317
3318         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3319         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3320
3321         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3322         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3323
3324 2004-03-31  Angus Leeming  <leeming@lyx.org>
3325
3326         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3327         the LFUN_ALL_INSETS_TOGGLE code.
3328
3329 2004-03-30  Angus Leeming  <leeming@lyx.org>
3330
3331         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3332         has died. Fall through to the generic Dialogs::show("document").
3333
3334 2004-03-30  Angus Leeming  <leeming@lyx.org>
3335
3336         * lfuns.h:
3337         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3338         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3339
3340         * lyxfunc.C (getStatus, dispatch): define the actions for these
3341         lfuns. Little more than a cut and pste job from ControlDocument.C
3342
3343         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3344
3345 2004-03-30  Angus Leeming  <leeming@lyx.org>
3346
3347         * lfuns.h:
3348         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3349         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3350
3351         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3352         open/closed state of ollapsable insets. Usage:
3353
3354         all-inset-toggle <state> <name>, where
3355         <state> == "open" || "closed" || "toggle" and
3356         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3357
3358         * lyxtext.h, text2.C (toggleInset): removed.
3359
3360         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3361         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3362         now passes LFUN_INSET_TOGGLE to the found inset.
3363
3364         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3365         is now invoked as "all-insets-toggle toggle branch".
3366
3367 2004-03-30  Angus Leeming  <leeming@lyx.org>
3368
3369         * dociterator.C:
3370         * insetiterator.C:
3371         * pariterator.[Ch]: added/corrected header blurb.
3372
3373 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3374
3375         * dociterator.[Ch]: add an inset_ member
3376         (backwardPos): implemented
3377         (backwardPos, forwardPos): use inset_ when the stack is empty.
3378         (doc_iterator_begin, doc_iterator_end): implemented
3379         * pariterator.[Ch]: adjust, add begin, end
3380         * insetiterator.[Ch]: adjust, add begin, end
3381         * cursor.C:
3382         * document.C:
3383         * BufferView.C:
3384         * BufferView_pimpl.C:
3385         * CutAndPaste.C: adjust
3386
3387 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3388
3389         * buffer.C: increment file format to 232.
3390         * LaTeXFeatures.C: add bibtopic package.
3391         * bufferparams.[Ch]: param \use_bibtopic.
3392
3393         * lyxrc.[Ch]: add lyxrc bibtex_command
3394         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3395
3396         * buffer.C: increment file format to 231.
3397
3398 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3399
3400         * dociterator.C: implement forwardPar
3401         * iterators.[Ch]: remove, replaced by
3402         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3403         * BufferView.C:
3404         * BufferView_pimpl.C:
3405         * CutAndPaste.C:
3406         * buffer.C:
3407         * bufferview_funcs.C:
3408         * cursor.C:
3409         * lyxfind.C
3410         * lyxfunc.C
3411         * paragraph_funcs.C
3412         * toc.C:
3413         * Makefile.am: adjust
3414
3415 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3416
3417         * CutAndPaste.C (pasteSelection): fix 2 crashes
3418         (eraseSelection): fix a crash
3419         * paragraph_funcs.C: remove a warning
3420
3421 2004-03-28  Angus Leeming  <leeming@lyx.org>
3422
3423         * lfuns.h:
3424         * LyXAction.C (init): new LFUN_PRINT.
3425
3426         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3427
3428 2004-03-27  Angus Leeming  <leeming@lyx.org>
3429
3430         * lfuns.h:
3431         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3432
3433         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3434
3435 2004-03-27  Angus Leeming  <leeming@lyx.org>
3436
3437         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3438         insetlist always contains non-null pointers to insets.
3439
3440 2004-03-26  Angus Leeming  <leeming@lyx.org>
3441
3442         * src/BufferView_pimpl.C:
3443         * src/CutAndPaste.C:
3444         * src/buffer.C:
3445         * src/iterators.C:
3446         * src/output_plaintext.C:
3447         * src/outputparams.h:
3448         * src/paragraph_funcs.C:
3449         * src/rowpainter.C:
3450         * src/text.C:
3451         * src/text2.C:
3452         * src/frontends/controllers/ControlErrorList.C:
3453         * src/frontends/gtk/FileDialogPrivate.C:
3454         * src/frontends/gtk/GPainter.C:
3455         * src/frontends/gtk/GToolbar.C:
3456         * src/frontends/qt2/QRef.C:
3457         * src/mathed/math_scriptinset.C: squash compiler warnings.
3458
3459 2004-03-26  Angus Leeming  <leeming@lyx.org>
3460
3461         * ispell.C (LaunchIspell::start):
3462         * lyx_cb.C (AutoSaveBuffer::start):
3463         invoke run(DontWait) rather than runNonBlocking().
3464
3465 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3466
3467         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3468
3469 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3470
3471         * kbsequence.C (print): adjust
3472
3473         * kbmap.C (printKeySym): rename and change signature
3474         (printKey): use LyXKeySym::print()
3475
3476 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3477
3478         * undo.C: add using std::advance to compile for stlport
3479
3480 2004-03-24  Angus Leeming  <leeming@lyx.org>
3481
3482         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3483         it leads to a crash when no buffer is present.
3484
3485 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3486             Martin Vermeer  <martin.vermeer@hut.fi>
3487
3488         * lyxfunc.C (dispatch):
3489         * bufferparams.C (readToken): use the new LColor::setColor
3490
3491         * LColor.[Ch] (setColor): new version that takes two strings as
3492         argument and creates a new color entry if necessary
3493
3494 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3495
3496         * buffer.C (makeLaTeXFile): if the main latex file that is
3497         processed is usually a subdocument of some master, then pretend
3498         for a while that it is actually the master
3499
3500 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3501
3502         * buffer.C (getLabelList):
3503         (getBibkeyList): use getMasterBuffer()
3504         (getMasterBuffer): new method. Returns the main document in the
3505         case where one is using included documents.
3506
3507 2004-03-25  André Pönitz  <poenitz@gmx.net>
3508
3509         * Makefile.am:
3510         * iterators.[Ch]:
3511         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3512
3513         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3514
3515         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3516         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3517
3518         * ParameterStruct.h: merge with ParagraphParameters
3519
3520         * lyxtext.h: remove LyXText::parOffset() and getPar()
3521
3522         * text3.C: Remove all 'manual' update calls. We do now one per user
3523         interaction which is completely sufficient.
3524
3525         * Bidi.C:
3526         * BufferView.[Ch]:
3527         * BufferView_pimpl.C:
3528         * FontIterator.[Ch]:
3529         * MenuBackend.C:
3530         * ParagraphParameters.[Ch]:
3531         * buffer.C:
3532         * buffer.h:
3533         * bufferlist.C:
3534         * cursor.[Ch]:
3535         * cursor_slice.[Ch]:
3536         * dociterator.[Ch]:
3537         * errorlist.[Ch]:
3538         * factory.C:
3539         * lfuns.h:
3540         * lyxfind.C:
3541         * lyxfunc.C:
3542         * output_docbook.[Ch]:
3543         * output_latex.[Ch]:
3544         * output_linuxdoc.[Ch]:
3545         * output_plaintext.[Ch]:
3546         * paragraph.[Ch]:
3547         * paragraph_funcs.[Ch]:
3548         * paragraph_pimpl.[Ch]:
3549         * rowpainter.C:
3550         * tabular.[Ch]:
3551         * text.C:
3552         * text2.C:
3553         * toc.C:
3554         * undo.[Ch]: adjust
3555
3556         * frontends/controllers/ControlDocument.C:
3557         * frontends/controllers/ControlErrorList.C:
3558         * frontends/controllers/ControlSpellchecker.C:
3559         * insets/inset.C:
3560         * insets/inset.h:
3561         * insets/insetbase.h:
3562         * insets/insetbibitem.C:
3563         * insets/insetbox.C:
3564         * insets/insetbranch.C:
3565         * insets/insetcaption.C:
3566         * insets/insetcharstyle.C:
3567         * insets/insetcharstyle.h:
3568         * insets/insetcollapsable.C:
3569         * insets/insetcollapsable.h:
3570         * insets/insetert.C:
3571         * insets/insetfloat.C:
3572         * insets/insetfoot.C:
3573         * insets/insetmarginal.C:
3574         * insets/insetnote.C:
3575         * insets/insetoptarg.C:
3576         * insets/insettabular.C:
3577         * insets/insettext.C:
3578         * insets/insettext.h:
3579         * insets/insetwrap.C:
3580         * mathed/math_mboxinset.C:
3581         * mathed/math_nestinset.C:
3582         * mathed/math_scriptinset.C:
3583         * mathed/math_scriptinset.h:
3584         * support/types.h:
3585
3586 2004-03-24  Angus Leeming  <leeming@lyx.org>
3587
3588         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3589         deal with any child processes that have finished but are waiting to
3590         communicate this fact to the rest of LyX.
3591
3592 2004-03-24  Angus Leeming  <leeming@lyx.org>
3593
3594         64-bit compile fixes.
3595
3596         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3597         (c-tor): pass lyx::pos_types rather than ints.
3598
3599         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3600         lyx::pos_type.
3601
3602         * text.C (Delete): compile fix.
3603         (getPar): ensure that function declaration is the same as that in
3604         the header file.
3605
3606 2004-03-23  Angus Leeming  <leeming@lyx.org>
3607
3608         * ispell.C (LaunchIspell):
3609         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3610         a boost::shred_ptr rather than a std::auto_ptr.
3611
3612 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3613
3614         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3615         handle LFUN_FILE_INSERT_*
3616
3617         * lyxrc.C (setDefaults, getDescription, output, read):
3618         * lyxrc.h: remove ps_command
3619
3620 2004-03-22  Angus Leeming  <leeming@lyx.org>
3621
3622         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3623         Ensure that error_handler is processed once only and that all data
3624         is saved before attempting to output any warning messages.
3625
3626         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3627
3628 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3629
3630         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3631
3632 2004-03-19  André Pönitz  <poenitz@gmx.net>
3633
3634         * cursor.[Ch] (reset): take main text inset as argument
3635
3636         * BufferView: adjust
3637         * BufferView_pimpl.C: adjust
3638
3639         * paragraph.[Ch]: fix completely broken operator=()
3640
3641 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3642
3643         * LColor.C (getFromLyXName): make sure that the color name is used
3644         as lowercase.
3645
3646 2004-03-17  Angus Leeming  <leeming@lyx.org>
3647
3648         * lfuns.h:
3649         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3650
3651         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3652         dialog and to kill a forked process.
3653
3654 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3655
3656         * text2.C (setCursorFromCoordinates): fix font problem
3657
3658 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3659
3660         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3661         bogus "rebuild cursor" code
3662
3663 2004-03-11  André Pönitz  <poenitz@gmx.net>
3664
3665         * buffer.[Ch]: use InsetText instead of LyXText as container for
3666         the main lyx text.
3667
3668         * dociterator.[Ch]: drop the BufferView * member which is not needed
3669         anymore after the change to buffer.C
3670
3671         * paragraph_funcs.C:
3672         * text.C:
3673         * text2.C:
3674         * BufferView.[Ch]:
3675         * BufferView_pimpl.[Ch]:
3676         * cursor.[Ch]:
3677         * cursor_slice.[Ch]: adjust
3678
3679         * text3.C: fix bug in mathDispatch
3680
3681 2004-03-08  André Pönitz  <poenitz@gmx.net>
3682
3683         * undo.[Ch]: use 'StableDocumentIterator' as base for
3684         the Undo struct.
3685
3686 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3687
3688         * LaTeXFeatures.C:
3689         * bufferparams.[Ch]: add jurabib support and param.
3690
3691         * LaTeX.C: add FIXME/comment.
3692
3693 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3694
3695         * buffer.C: increment file format to 230.
3696
3697 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3698
3699         * cursor.C (dispatch): avoid infinite loops
3700
3701 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3702
3703         * rowpainter.C (paintSelection): fix x coordinates
3704
3705 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3706
3707         * text.C (rowBreakPoint): fix breaking before displayed insets
3708
3709 2004-03-01  André Pönitz  <poenitz@gmx.net>
3710
3711         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3712
3713         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3714
3715         * Makefile.am:
3716         * BufferView.C:
3717         * BufferView_pimpl.C:
3718         * buffer.C:
3719         * lyxfind.C:
3720         * lyxfunc.C:
3721         * text.C:
3722         * text2.C:
3723         * text3.C: adjust
3724
3725 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3726
3727         * lyxtext.h:
3728         * text.C:
3729         * text2.C:
3730         * rowpainter.C:
3731         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3732         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3733
3734 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3735
3736         * Bidi.[Ch] (computeTables): const correctness
3737         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3738         fill_hfill, fill_label_hfill and x from Row
3739         * lyxtext.h: prepareToPrint returns a RowMetrics
3740         * rowPainter.C: adjust
3741         * text.C (prepareToPrint): use width, not textWidth. adjust
3742         (redoParagraphInternal, cursorX): adjust
3743         * text2.C (getColumnNearX): adjust
3744         (init): put a default value to the top LyXText::width
3745
3746 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3747
3748         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3749
3750 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3751
3752         * lyxtext.h: add FontIterator class
3753
3754         * text.C (FontIterator, operator*, operator->, operator++): add
3755         (rowBreakPoint, setRowWidth): adjust (fixing a
3756         rebreaking bug)
3757
3758 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3759
3760         * BufferView_pimpl.C (workAreaDispatch): allow also
3761         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3762
3763 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3764
3765         * text.C (rowBreakPoint): fix a bug showing with very large insets
3766
3767 2004-02-25  André Pönitz  <poenitz@gmx.net>
3768
3769         * text3.C:
3770         * cursor.[Ch]: move some mathed specific code to mathed
3771
3772 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3773
3774         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3775         use_tempdir in preferences
3776         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3777         tempfile creation
3778         * lyx_main.C: ensure that tempdir is valid
3779         * lyxlex.h: correct typo
3780         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3781         * paragraph.[Ch] (isMultiLingual): make const
3782         * cursor.[Ch] (openable): make const
3783
3784 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3785
3786         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3787
3788 2004-02-20  André Pönitz  <poenitz@gmx.net>
3789
3790         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3791
3792         * cursor.[Ch]: prepare for localized getStatus()
3793
3794         * lyxtext.h:
3795         * tabular.C:
3796         * text.C:
3797         * text2.C:
3798         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3799
3800 2004-02-20  André Pönitz  <poenitz@gmx.net>
3801
3802         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3803
3804 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3805
3806         * text2.C (setCursorFromCoordinates): switch to absolute coords
3807         (cursorUp): adjust
3808         (cursorDown): adjust
3809         * text3.C (dispatch): adjust
3810
3811 2004-02-16  André Pönitz  <poenitz@gmx.net>
3812
3813         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3814           insets/ChangeLog)
3815
3816         * cursor_slice.[Ch]: remove unneeded acessor function
3817
3818         * lyxtext.h: rename rtl() to isRTL()
3819
3820         * rowpainter.C:
3821         * tabular.C:
3822         * text.C:
3823         * text2.C:
3824         * text3.C: adjust
3825
3826 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3827
3828         * rowpainter.C (paintSelection): coord fix
3829
3830 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3831
3832         * Spacing.C: compile fix
3833
3834 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3835
3836         * cursor.C (dispatch): restore current_ before returning
3837
3838 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3839
3840         * text2.C (cursorUp, cursorDown): fix coords
3841         (moveUp): fix crash
3842
3843 2004-02-12  André Pönitz  <poenitz@gmx.net>
3844
3845         * lyxtext.h:
3846         * text.C:
3847         * text2.C:
3848         * text3.C: add LCursor & parameter to most cursor movement functions
3849           remove usage of LyXText::cursorRow() and cursorPar()
3850
3851         * cursor.[Ch]: add textRow() needed members
3852
3853         * BufferView.C:
3854         * BufferView_pimpl.C:
3855         * paragraph.[Ch]:
3856         * BufferView.C:
3857         * BufferView_pimpl.C: adjust
3858
3859 2004-02-11  André Pönitz  <poenitz@gmx.net>
3860
3861         * lyxfunc.C:
3862         * BufferView.[Ch]:
3863         * BufferView_pimpl.C: shift undo/redo handling
3864
3865         * cursor.[Ch]: fix mathed crash
3866
3867         * lyxfind.C:
3868         * lyxtext.h: move selectionAsText to LCursor
3869
3870         * output_latex.C:
3871         * paragraph.C:
3872         * text.C:
3873         * text2.C:
3874         * text3.C: adjust
3875
3876         * rowpainter.C: fix excessive drawing
3877
3878 2004-02-06  André Pönitz  <poenitz@gmx.net>
3879
3880         * BufferView.[Ch]:
3881         * BufferView_pimpl.[Ch]:
3882         * text3.C: move some text specific LFUN handling
3883
3884 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3885
3886         * text3.C (checkInsetHit): adjust coords
3887         * text2.C (getColumnNearX): adjust coords
3888         (edit): adjust coords
3889         * text.C (getRowNearY): add two asserts
3890
3891 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3892
3893         * converter.C:
3894         * format.C: add using std::distance to compile on gcc 2.95/stlport
3895
3896 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3897
3898         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3899
3900 2004-02-04  André Pönitz  <poenitz@gmx.net>
3901
3902         * BufferView.[Ch] (insertInset):
3903         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3904
3905         * text2.C:
3906         * text3.C: adjust
3907
3908 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3909
3910         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3911         on the default clause of the switch
3912         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3913         wasn't catched by LCursor::dispatch
3914
3915 2004-02-03  André Pönitz  <poenitz@gmx.net>
3916
3917         * BufferView.C:
3918         * cursor.[Ch]: some additional asserts
3919
3920         * undo.[Ch]: remove LyXText dependency in interface
3921
3922         * lyxfunc.C: adjust
3923
3924         * lyxtext.h (firstPar, lastPar): remove dead functions
3925
3926         * text.C:
3927         * text2.C:
3928         * text3.C:
3929         * paragraph.[Ch]: adjust
3930
3931 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3932
3933         * lyxfind.C (find): fix argument order in call to ::find
3934
3935 2004-02-02  André Pönitz  <poenitz@gmx.net>
3936
3937         * cursor.[Ch]: remove direct access to anchor
3938
3939         * text.C: remove findText() hack
3940
3941 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3942
3943         * iterators.[Ch] (lockPath): remove in favour of...
3944         * BufferView.[Ch] (setCursor): this addition
3945         * BufferView.C (putSelectionAt): adjust
3946         * undo.C (performUndoOrRedo): adjust
3947         * lyxfunc.C (dispatch): adjust
3948
3949 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3950
3951         * iterators.C (lockPath): add a missing slice
3952         * undo.C (performUndoOrRedo): remove redundant positioning code
3953
3954 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3955
3956         * vc-backend.C (scanMaster): ";" -> ';'
3957
3958 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3959
3960         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3961         std::binary_function
3962
3963         * lyxtextclass.C (compare_name): rename to...
3964         (LayoutNamesEqual): ...this
3965
3966         * lyxlex_pimpl.C (compare_tags): inherit from
3967         std::binary_function, put back into anon namespace
3968
3969         * lyxfind.C (MatchString): inherig from std::binary_function
3970         (findChange): use empty() istead of !size()
3971
3972         * format.C (FormatNamesEqual): new functor
3973         (getFormat): use it
3974         (getNumber): use it
3975         (add): use it
3976         (erase): use it
3977         (setViewer): use it
3978
3979         * converter.C (compare_Converter): rename to...
3980         (ConverterEqual): ...this, and fixup a bit.
3981         (getConverter): use it, and make function const
3982         (getNumber): use it, and make function const
3983         (add): use it
3984         (erase): use it:
3985
3986         * bufferlist.C: add using boost::bind
3987
3988         * MenuBackend.C (MenuNamesEqual): new functor
3989         (hasMenu): use it, and make function const
3990         (hasSubmenu): use nested bind to get rid of compare_memfun.
3991
3992 2004-01-30  André Pönitz  <poenitz@gmx.net>
3993
3994         * BufferView_pimpl.C:
3995         * cursor.C:
3996         * cursor.h:
3997         * cursor_slice.[Ch]:
3998         * lyxfunc.C:
3999         * lyxtext.h:
4000         * paragraph_funcs.C:
4001         * paragraph_funcs.h:
4002         * rowpainter.C:
4003         * text.C:
4004         * text2.C:
4005         * text3.C: move some of the edit(x,y) handling to the insets
4006         some coordinate changes.
4007
4008 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * text.C: add using statements for std::advance and std::distance
4011
4012         * paragraph.C: add using statement for std::distance
4013
4014         * lyxfind.C: add using statement for std::advance
4015
4016         * cursor.C (region): remove std:: from swap
4017         (openable): use nucleus in stead of operator->
4018
4019         * BufferView.C: add using statements for std::distance and std::swap
4020
4021 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4022
4023         * iterators.C: Remove the pimple, move the needed structures to
4024         the header file. Create accessor for the positions stack.
4025         (asPosIterator): remove function
4026
4027         * PosIterator.C (PosIterator): move constructors to top of file
4028         (PosIterator): reimplement the constructor taking a ParIterator in
4029         terms of setFrom.
4030         (setFrom): new function
4031         (operator!=): inline it
4032
4033 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4034
4035         * lyxfind.C (replaceAll): use std::advance
4036
4037         * iterators.h: inherit from std::iterator.
4038
4039         * PosIterator.C (advance, distance): remove
4040         * PosIterator.h: interit from std::iterator.
4041
4042 2004-01-26  André Pönitz  <poenitz@gmx.net>
4043
4044         * BufferView.[Ch]:
4045         * BufferView_pimpl.[Ch]:
4046         * InsetList.[Ch]:
4047         * PosIterator.[Ch]:
4048         * buffer.h:
4049         * bufferview_funcs.C:
4050         * cursor.[Ch]:
4051         * cursor_slice.h:
4052         * factory.[Ch]:
4053         * iterators.[Ch]:
4054         * lyxfind.C:
4055         * lyxfunc.C:
4056         * lyxtext.h:
4057         * output_docbook.C:
4058         * output_latex.C:
4059         * output_linuxdoc.C:
4060         * output_plaintext.C:
4061         * paragraph.[Ch]:
4062         * paragraph_funcs.[Ch]:
4063         * paragraph_pimpl.[Ch]:
4064         * rowpainter.C:
4065         * tabular.C:
4066         * tabular.h:
4067         * text.C:
4068         * text2.C:
4069         * text3.C: more IU:  dumps most of the rest of the mathcursor
4070     implementation into cursor.[Ch]; "globalize" a bit of it.
4071
4072 2004-01-25  Angus Leeming  <leeming@lyx.org>
4073
4074         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4075
4076 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4077
4078         * LaTeXFeatures.h: add nice_ and nice() const
4079         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4080
4081 2004-01-20  André Pönitz  <poenitz@gmx.net>
4082
4083         * BufferView.[Ch]:
4084         * BufferView_pimpl.C:
4085         * PosIterator.C:
4086         * bufferview_funcs.C:
4087         * cursor.[Ch]:
4088         * cursor_slice.[Ch]:
4089         * factory.C:
4090         * iterators.C:
4091         * lyx_cb.C:
4092         * lyxfind.C:
4093         * lyxfunc.C:
4094         * lyxtext.h:
4095         * rowpainter.C:
4096         * text.C:
4097         * text2.C:
4098         * text3.C:
4099         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4100           LCursor and mathcursor parts to LCursor and InsetBase.
4101
4102 2004-01-15  André Pönitz  <poenitz@gmx.net>
4103
4104         * cursor_slice.[Ch]: add a few covienience functions
4105
4106         * funcrequest.[Ch]: remove BufferView * member
4107
4108         * BufferView_pimpl.C:
4109         * cursor.C:
4110         * factory.[Ch]:
4111         * lyxfind.[Ch]:
4112         * lyxfunc.C:
4113         * lyxtext.h:
4114         * text3.C:
4115         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4116
4117 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4118
4119         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4120         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4121
4122 2004-01-13  André Pönitz  <poenitz@gmx.net>
4123
4124         * textcursor.[Ch]:
4125         * lyxtext.h: hide cursor and selection anchor behind accessor function
4126
4127         * BufferView.C:
4128         * BufferView_pimpl.[Ch]:
4129         * PosIterator.C:
4130         * bufferview_funcs.C:
4131         * cursor.h:
4132         * lyxfind.C:
4133         * lyxfunc.C:
4134         * text.C:
4135         * text2.C:
4136         * text3.C:
4137         * undo.C: adjust
4138
4139         * cursor.h:
4140         * cursor_slice.[Ch]: some integer type changes for inset unification
4141
4142         * lyxcursor.[hC]: remove, it's CursorSlice now.
4143
4144         * Makefile.am:
4145         * BufferView_pimpl.[Ch]:
4146         * bufferview_funcs.C:
4147         * cursor_slice.C:
4148         * lyxtext.h:
4149         * text.C:
4150         * text2.C:
4151         * text3.C:
4152         * textcursor.[Ch]: adjust
4153
4154 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4155
4156         * text2.C (undoSpan): add and use
4157         * text.C (breakParagraph): use undoSpan (fix bug 578)
4158         * lyxtext.h: adjust
4159
4160 2004-01-08  Angus Leeming  <leeming@lyx.org>
4161
4162         * BufferView_pimpl.C (MenuInsertLyXFile):
4163         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4164         * lyxfunc.C (menuNew, open, doImport):
4165         FileFilterList change to the FileDialog open and save functions.
4166
4167 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * ShareContainer.h: make isEqual and isUnique adaptable
4170
4171         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4172
4173 2004-01-07  Angus Leeming  <leeming@lyx.org>
4174
4175         * LyXAction.C:
4176         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4177
4178         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4179
4180         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4181         functions replacing find, replace and replaceAll.
4182
4183         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4184         LFUN_WORDFIND(FORWARD|BACKWARD).
4185
4186 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4187
4188         * text.C (breakParagraph): remove an outdated #warning
4189
4190 2004-01-07  André Pönitz  <poenitz@gmx.net>
4191
4192         * lyxfind.C: somewhat clearer logic
4193
4194         * text.C: prevent crash in cursorX on unitialized row cache
4195
4196 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4197
4198         * lyxcursor.[Ch] (operator>): add
4199         * textcursor.C (selStart, selEnd): use std::min and std::max
4200
4201 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * Chktex.C: include boost/format.hpp
4204
4205 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * InsetList.C: replace functor MathcIt with adaptable functor
4208         InsetTablePosLess
4209         (insetIterator): modify accordingly
4210
4211         * BranchList.h: move the BranchNamesEqual functor here from...
4212         * BranchList.C: ... to here
4213
4214         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4215         SameName and match.
4216         (add): replace a finding loop with std::find_if.
4217
4218 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4219
4220         * output_docbook.C: moving LatexParam functionality into
4221         .layout files
4222
4223 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4224
4225         * buffer.C: increment format to 229.
4226
4227 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4228
4229         * LaTeXFeatures.C:
4230         * lyx_sty.[Ch]: remove minipageindent_def
4231
4232         * LyXAction.C:
4233         * factory.C:
4234         * lfuns.h:
4235         * lyxfunc.C:
4236         * text3.C: remove LFUN_INSET_MINIPAGE
4237
4238 2003-12-28  Angus Leeming  <leeming@lyx.org>
4239
4240         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4241
4242 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4243
4244         * text2.C (setParagraph): fix off-by-one crash
4245
4246 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4247
4248         * output_docbook.C: header stuff for AGU
4249
4250 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4251
4252         * text2.C (redoCursor): remove
4253         * text.C:
4254         * text3.C:
4255         * BufferView_pimpl.C: remove calls to redoCursor and
4256         setCursor(cursor.par(), cursor.pos()) all around
4257
4258 2003-12-15  Angus Leeming  <leeming@lyx.org>
4259
4260         * buffer.C: up the format to 228.
4261
4262 2003-12-15  André Pönitz  <poenitz@gmx.net>
4263
4264         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4265         slices
4266
4267         * Makefile.am:
4268
4269         * BufferView_pimpl.C:
4270         * cursor.[Ch]:
4271         * lyxcursor.[Ch]:
4272         * rowpainter.[Ch]:
4273         * lyxtext.h:
4274         * text.C:
4275         * text2.C:
4276         * text3.C: adjust
4277
4278 2003-12-15  Angus Leeming  <leeming@lyx.org>
4279
4280         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4281         than getFromGUIName to manipulate the color.
4282
4283 2003-12-14  Angus Leeming  <leeming@lyx.org>
4284
4285         * BranchList.[Ch]: minimize the API.
4286         (Branch::getBranch, getColor): now return a 'const &'.
4287         (Branch::setSelected) now returns a bool set to true if the
4288         selection status changes.
4289         (BranchList::clear, size, getColor, setColor, setSelected,
4290         allBranches, allSelected, separator): removed.
4291         (BranchList::find): new functions, returning the Branch with
4292         the given name.
4293         (BranchList::add, remove): return a bool indicating that
4294         the operation was successful.
4295
4296         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4297         new InsetBranch::isBranchSlected member function.
4298
4299         * LColor.[Ch]: mimimize the API.
4300         (fill): renamed as addColor and made private.
4301         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4302         versions of these functions taking a string arg have been removed.
4303
4304         * bufferparams.C (readToken):
4305         * lyxfunc.C (dispatch):
4306         * lyxrc.C (read): changes due to the altered BranchList and
4307         LColor APIs.
4308
4309         * factory.C (createInset, readInset): changes due to altered
4310         InsetBranch c-tor.
4311
4312 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4313
4314         * factory.C:
4315         * lyxfunc.C: remove insetminipage. "minipage-insert"
4316         now produces a frameless minipage box inset.
4317
4318 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4319
4320         * textcursor.[Ch] (selStart,selEnd): add new methods
4321         remove selection::start, end, use LyXCursor::operator<
4322         * lyxcursor.[Ch] (operator<): add
4323         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4324         * BufferView.[Ch] (unsetXSel): add
4325         * text2.C (clearSelection): use unsetXSel,adjust
4326         * text.C: adjust
4327         * text3.C: adjust
4328         * rowpainter.C: adjust
4329         * bufferview_funcs.C (put_selection_at): adjust
4330
4331 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4332
4333         * BufferView_pimpl.C: small coord. correction
4334
4335 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4336
4337         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4338         dragging over the splash screen.
4339
4340 2003-12-11  Angus Leeming  <leeming@lyx.org>
4341
4342         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4343         as it is now handled in LyXText::dispatch.
4344
4345         * text3.C (doInsertInset): remove a level of nesting.
4346
4347 2003-12-11  Angus Leeming  <leeming@lyx.org>
4348
4349         * factory.C (createInset): changes due to the changed interface to
4350         InsetCommandMailer::string2params.
4351
4352 2003-12-10  Angus Leeming  <leeming@lyx.org>
4353
4354         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4355         'dialog-show-new-inset <inset name>'
4356
4357 2003-12-10  Angus Leeming  <leeming@lyx.org>
4358
4359         * buffer.C: up the format to 227.
4360
4361         * factory.C: the box inset is now identified simply by 'Box'.
4362
4363 2003-12-10  Angus Leeming  <leeming@lyx.org>
4364
4365         * buffer.C: up the format to 226.
4366
4367         * factory.C: the note inset is now identified simply by 'Note'.
4368
4369 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4370
4371         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4372         when a pit is enough. Standarize a couple of loops.
4373
4374 2003-12-05  Angus Leeming  <leeming@lyx.org>
4375
4376         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4377         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4378         data to the re-worked "log" dialog.
4379
4380 2003-12-03  André Pönitz  <poenitz@gmx.net>
4381
4382         * PosIterator.C:
4383         * iterators.C:
4384         * lyxtext.h:
4385         * output_latex.C:
4386         * paragraph_funcs.C:
4387         * text.C:
4388         * text2.C: use Inset::getText instead of Inset::getParagraph
4389
4390 2003-12-03  André Pönitz  <poenitz@gmx.net>
4391
4392         * buffer.[Ch]:
4393         * lyxtext.h:
4394         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4395         InsetText::read() as LyXText::read()
4396
4397 2003-12-02  Angus Leeming  <leeming@lyx.org>
4398
4399         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4400         type. Add a comment in the implementation that the function uses
4401         the stream's bad() function rather than fail() as the std::streams
4402         would do.
4403
4404 2003-12-02  André Pönitz  <poenitz@gmx.net>
4405
4406         * lyxlex.[Ch]: make interface more similar to std::stream
4407
4408         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4409
4410 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4411
4412         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4413
4414 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4415
4416         * vspace.[Ch]: remove VSpace::NONE
4417
4418 2003-12-01  André Pönitz  <poenitz@gmx.net>
4419
4420         * buffer.[Ch]:
4421         * lyxtext.h: move ParagraphList member to LyXText
4422         rename LyXText::ownerParagraphs to LyXText::paragraph
4423
4424         * CutAndPaste.C:
4425         * bufferview_funcs.C:
4426         * iterators.[Ch]:
4427         * lyx_cb.C:
4428         * paragraph.C:
4429         * rowpainter.C:
4430         * tabular.C:
4431         * text.C:
4432         * text2.C:
4433         * text3.C: adjust
4434
4435         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4436
4437         * undo.C: fix cursor positioning
4438
4439 2003-12-01  John Levon  <levon@movementarian.org>
4440
4441         * BufferView_pimpl.C: fix a crash on exit with
4442         a buffer open
4443
4444 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4445
4446         * BranchList.C: fix setSelected() method.
4447
4448 2003-11-28  André Pönitz  <poenitz@gmx.net>
4449
4450         * ParagraphParameters.[Ch]:
4451         * ParameterStruct.h: remove space above/below from Paragraph to
4452          InsetVSpace
4453
4454         * BufferView_pimpl.C:
4455         * factory.C:
4456         * lyxfunc.C:
4457         * lyxtext.h:
4458         * output_latex.C:
4459         * paragraph.C:
4460         * paragraph_funcs.C:
4461         * rowpainter.[Ch]:
4462         * text.C:
4463         * text2.C:
4464         * text3.C: adjust
4465
4466 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4467
4468         * factory.C: Syntax change for CharStyles
4469
4470 2003-11-28  André Pönitz  <poenitz@gmx.net>
4471
4472         * BufferView.[Ch]:
4473         * BufferView.[Ch]:
4474         * buffer.[Ch]:
4475         * buffer.[Ch]: move LyXText member
4476
4477 2003-11-28  André Pönitz  <poenitz@gmx.net>
4478
4479         * BufferView.[Ch]: make LyXText * text a private member
4480
4481         * BufferView_pimpl.C:
4482         * cursor.C:
4483         * iterators.C:
4484         * lyx_cb.C:
4485         * lyxfind.C:
4486         * lyxtext.h:
4487         * rowpainter.[Ch]:
4488         * text.C:
4489         * text2.C:
4490         * undo.C: adjust
4491
4492         * output_plaintext.C: cleanup
4493
4494 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4495
4496         * buffer.C:
4497         * lyxtextclass.[Ch]: parametrize SGML document header
4498
4499 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4500
4501         * converter.[Ch]:
4502         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4503         getFlavor().
4504
4505 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4506
4507         * text2.C (setFont): rework using PosIterator (no more recursive)
4508         (setCharFont): no more needed
4509         (setLayout): no more selection cursors fiddling (done by redoCursor)
4510         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4511         destroy remaining ones)
4512
4513 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4514
4515         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4516         * lyxtext.h: ditto
4517         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4518         selection cursors
4519         * lyxfunc.C: adjust
4520         * text3.C: adjust + re-allow multi par depth changes
4521         * textcursor.C: simplify a bit
4522
4523 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4524
4525         * src/buffer.C:
4526         * src/lyxlayout.C:
4527         * src/lyxlayout.h:
4528         * src/lyxtext.h:
4529         * src/output_docbook.C:
4530         * src/output_latex.C:
4531         * src/paragraph.C:
4532         * src/paragraph.h:
4533         * src/sgml.C:
4534         * src/sgml.h:
4535         * src/text2.C: Introducing a number of tags parametrizing various
4536         XML formats that we may want to support
4537
4538 2003-11-25  André Pönitz  <poenitz@gmx.net>
4539
4540         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4541
4542         * lyxtext.h (leftMargin/rightMargin): simplify interface
4543
4544         * rowpainter.C:
4545         * text.C:
4546         * text2.C:
4547         * text3.C: adjust
4548
4549 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4550
4551         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4552         master file to any child files. Fixes bug 546.
4553
4554 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4555
4556         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4557
4558 2003-11-24  André Pönitz  <poenitz@gmx.net>
4559
4560         * rowpainter.C: simplification
4561
4562         * text2.C (updateCounters): remove call to redoParagraph on
4563         changed labels as this is far too expensive.
4564
4565 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4566
4567         * converter.C (convert): fix a crash: this function gets
4568         called with buffer == 0 from importer code.
4569
4570 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4571
4572         * text3.C (cursorPrevious): make sure that we do not compare
4573         iterators form different containers.
4574         (cursorNext): ditto
4575
4576         * rowpainter.C (paintSelection): make sure that we do not compare
4577         iterators from different containers.
4578
4579         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4580         iterators from different ParagraphList containers.
4581         [NEXT] ditto
4582
4583         * text2.C (LyXText): change order of initialization slightly
4584         (operator=): new function. copy all variables except cache_par_
4585         (moveUp): make sure that we do not compare iterators from
4586         different ParagraphList constainers.
4587         (moveDown): ditto
4588
4589         * text.C (firstPar): new function
4590         (lastPar): new function
4591         (endPar): new function
4592
4593         * lyxtext.h: move things around and group public functions, public
4594         variables, private functions, private variables
4595
4596 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4597
4598         * factory.C: change call to InsetERT constructor to avoid
4599         additional invocation of method status
4600         * text2.C (toggleInset): remove redundant update() call
4601         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4602         instead of a Bufferview pointer
4603
4604 2003-11-21  André Pönitz  <poenitz@gmx.net>
4605
4606         * rowpainter.C: simplification
4607
4608 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4609
4610         * text3.C (dispatch): make possible to extend a word/row selection
4611         with the mouse
4612
4613 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4614
4615         * lyxtext.h: x0_,y0_ -> xo_,yo_
4616         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4617         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4618         * rowpainter.C (paintRows): paint full paragraphs
4619
4620 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4621
4622         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4623         screen coordinates)
4624
4625 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4626
4627         * lyxtext.h: add x0_, y0_
4628         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4629         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4630
4631 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4632
4633         * text2.C (setCursorIntern): move the x_target update here *
4634         * text3.C: change some bv() to true/false in calls to
4635         cursorUp/Down/Right/Left
4636         * cursor.C: use helper function.
4637
4638 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4639
4640         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4641         * paragraph_funcs.[Ch]: correct comment
4642         * rowpainter.C: do not paint selections away from bv->cursor()
4643         Fix a long standing selection painting bug.
4644         * text3.C: generalize mouse-selection code to LyXTexts other that
4645         top one
4646         * textcursor.C: do not use y coords if we can use par offsets
4647
4648 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4649
4650         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4651         cursor position after e.g. inset insert)
4652
4653 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4654
4655         * lyxfind.C (replace): adjust to locking removal + some
4656         code simplification
4657
4658 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4659
4660         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4661         of the path
4662
4663 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4664
4665         * lyxlayout.[Ch]:
4666         * output_docbook.C: XML sanitation: new layout
4667         parameters InnerTag and CommandDepth
4668
4669 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4670
4671         * BufferView_pimpl.C:
4672         * factory.C:
4673         * text3.C: Fix the insertion and modification of button-style
4674         insets
4675
4676 2003-11-13  André Pönitz  <poenitz@gmx.net>
4677
4678         * InsetList.[Ch]: remove deleteLyXText
4679
4680         * paragraph.[Ch]: cache beginOfBody position
4681
4682         * Bidi.C:
4683         * text.C:
4684         * text2.C:
4685         * text3.C: remove superfluous update() calls
4686
4687         * vspace.C: cleanup
4688
4689 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4690
4691         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4692         * BufferView.C (fitLockedInsetCursor): remove
4693         * cursor.[Ch] (getDim): add
4694         * text.C (getRowNearY): add faster version
4695         * text3.C: remove some update calls
4696
4697 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4698
4699         * LaTeXFeatures.C:
4700         * LyXAction.C:
4701         * MenuBackend.C:
4702         * MenuBackend.h:
4703         * dispatchresult.h:
4704         * factory.C:
4705         * lfuns.h:
4706         * lyxfunc.C:
4707         * lyxtextclass.C:
4708         * lyxtextclass.h:
4709         * text3.C: The Character Style /XML short element patch.
4710
4711 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4712
4713         * text3.C:
4714         * factory.C: Small step to solving 'unable to insert some insets'
4715         problem
4716
4717 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4718
4719         * cursor.[Ch] (updatePos): new function for updating the y
4720         position of the tip inset
4721         * bufferview_funcs.C (put_selection_at):
4722         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4723
4724 2003-11-11  André Pönitz  <poenitz@gmx.net>
4725
4726         * text.C: remove big comment on invalid Paragraph pointers as it is
4727         not valid anymore
4728
4729 2003-11-11  André Pönitz  <poenitz@gmx.net>
4730
4731         * text_funcs.[Ch]: merge with ...
4732
4733         * text.C: ... this
4734
4735         * lyxtext.h:
4736         * text2.C:
4737         * text3.C: adjust
4738
4739         * Makefile.am: remove text_funcs.[Ch]
4740
4741 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4742
4743         * cursor.C (getPos): return absolute cached y coord
4744
4745         * BufferView_pimpl.C (fitCursor): new simplistic code
4746         (workAreaDispatch): add a fitCursor call
4747
4748 2003-11-10  André Pönitz  <poenitz@gmx.net>
4749
4750         * BufferView.[Ch]:
4751         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4752
4753 2003-11-10  André Pönitz  <poenitz@gmx.net>
4754
4755         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4756         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4757         indicate that the cursor needs to leave an inset
4758
4759         * lyxtext.h: remove inset locking
4760
4761         * cursor.[Ch]: re-implement functionality provided by inset locking
4762
4763         * BufferView.[Ch]:
4764         * BufferView_pimpl.[Ch]:
4765         * LyXAction.C:
4766         * bufferview_funcs.[Ch]:
4767         * factory.C:
4768         * funcrequest.[Ch]:
4769         * iterators.C:
4770         * lyx_cb.C:
4771         * lyxfind.C:
4772         * lyxfunc.C:
4773         * text.C:
4774         * text2.C:
4775         * text3.C:
4776         * undo.C: adjust
4777
4778 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4779
4780         * PosIterator.[Ch]: replace the stack with a vector, add inset
4781         accesor
4782         * iterators.[C]: adjust
4783
4784 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4785
4786         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4787         replaced
4788         * paragraph_funcs.C (readParToken): put the correct id in the
4789         error item, not the id of the top paragraph
4790
4791 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4792
4793         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4794         * bufferview_funcs.C (put_selection_at): use the above
4795
4796 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4797
4798         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4799
4800 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4801
4802         * output_linuxdoc.h:
4803         * output_plaintext.h:
4804         * output.h:
4805         * output_docbook.h: add #include statements
4806
4807 2003-11-05  José Matos  <jamatos@lyx.org>
4808
4809         * output_docbook.[Ch]:
4810         * output_latex.[Ch]:
4811         * output_linuxdoc.[Ch]:
4812         * output_plaintext.[Ch]: New files for output formats.
4813         * output.[Ch]: New file for helper functions.
4814
4815         * buffer.[Ch]:
4816         * paragraph_funcs.[Ch]: output functions moved to new files.
4817
4818         * outputparams.h: rename of latexrunparams.h
4819
4820         * LaTeX.[Ch]:
4821         * buffer.[Ch]:
4822         * bufferlist.[Ch]:
4823         * converter.[Ch]:
4824         * exporter.C:
4825         * paragraph.[Ch]:
4826         * paragraph_funcs.[Ch]:
4827         * paragraph_pimpl.[Ch]:
4828         * tabular.[Ch]: rename ascii to plaintext
4829         and LatexRunParams to OutputParams.
4830
4831 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4832
4833         * iterators.[Ch] (text): require bv argument
4834         * undo.C (recordUndo):
4835         * lyxfunc.C (dispatch):
4836         * bufferview_funcs.C (put_selection_at): adjust
4837
4838 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4839
4840         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4841
4842 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4843
4844         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4845         nestings
4846
4847 2003-11-04  André Pönitz  <poenitz@gmx.net>
4848
4849         * cursor.[Ch]: restructure
4850
4851         * BufferView.[Ch]:
4852         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4853
4854         * iterators.[Ch] (asCursor): remove
4855
4856         * lfuns.h: remove LFUN_INSET_EDIT
4857
4858         * lyxfunc.C:
4859         * tabular.C:
4860         * text.C:
4861         * text2.C:
4862         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4863
4864 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * lyxfind.[Ch]: complete overhaul
4867         * BufferView_pimpl.C:
4868         * lyxfunc.C: adjust
4869         * paragraph.[Ch] (insert): add
4870
4871 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4872
4873         * BufferView.[Ch]:
4874         * lyxtext.h:
4875         * text.C: remove dead spellcheck code
4876
4877 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4878
4879         * dispatchresult.h: add a val setter
4880
4881         * cursor.C (dispatch): use a tempvar for data_[i]
4882
4883 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4884
4885         * PosIterator.[Ch]: compile fix
4886
4887 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4888
4889         * text.C (cursorPar): deactivate the cursor cache
4890
4891 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4892
4893         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4894
4895 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * text3.C (dispatch): adjust for new DisptchResult semantics.
4898
4899         * lyxfunc.C (dispatch): handle update when return from
4900         Cursor::dispatch, adjust for new DispatchResult semantics.
4901
4902         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4903         DispatchResult(true) mean to not update. Add class functions for
4904         setting dispatched and update, as well as reading.
4905
4906         * cursor.C (dispatch): don't handle update here
4907
4908 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4909
4910         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4911         * trans_mgr.C: adjust
4912
4913         * paragraph_funcs.C (readParToken): exception safety
4914
4915         * lyxvc.h: store the vcs pointer in a scoped_ptr
4916         * lyxvc.C: adjust
4917
4918         * lyxsocket.C (serverCallback): exception safety
4919
4920         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4921
4922         * ispell.C (clone): make it return a auto_ptr
4923
4924         * factory.C (createInset): exception safety
4925         (readInset): exception safety
4926
4927         * bufferlist.C (newBuffer): exception safety
4928
4929         * Thesaurus.C (Thesaurus): use initialization for aik_
4930
4931         * MenuBackend.C (expandToc): exception safety.
4932
4933 2003-11-03  André Pönitz  <poenitz@gmx.net>
4934
4935         * buffer.C:
4936         * buffer.h:
4937         * bufferview_funcs.C: remove getInsetFromId()
4938
4939         * lyxcursor.[Ch]:
4940         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4941
4942         * lyxfunc.C:
4943         * text2.C:
4944         * text3.C: adjust
4945
4946 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4947
4948         * PosIterator.C (distance, advance): new
4949         * bufferview_funcs.[Ch] (put_selection_at): new
4950         * iterators.[Ch] (lockPath): new
4951
4952 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4953
4954         * iterators.[Ch] (asPosIterator): added
4955         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4956         * PosIterator.[Ch]: added
4957
4958 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4959
4960         * text3.C:
4961         * lyxfunc.C:
4962         * cursor.C (dispatch):
4963         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4964
4965         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4966         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4967         contructor, add a class function dispatched. Remove operator>=
4968
4969 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * debug.C: only use the default constructor for debugstream
4972         (lyxerr) here.
4973
4974         * main.C (main): include debug.h and setup the lyxerr streambuf
4975         here.
4976
4977 2003-10-31  José Matos  <jamatos@lyx.org>
4978
4979         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4980
4981         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4982         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4983         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4984         * paragraph_pimpl.C (simpleTeXSpecialC):
4985         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4986         add LatexRunParams argument.
4987
4988         * exporter.C (Export): change call accordingly.
4989
4990         * latexrunparams.h: add new member to take care of the other backends.
4991 2003-10-30  José Matos  <jamatos@lyx.org>
4992
4993         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4994         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4995         factorise code for paragraph output.
4996         * buffer.[Ch]:
4997         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4998         move functions.
4999
5000 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5001
5002         * text3.C (dispatch):
5003         * lyxfunc.C (dispatch):
5004         * cursor.C (dispatch):
5005         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5006
5007         * dispatchresult.h: make the dispatch_result_t ctor explicit
5008
5009 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5010
5011         * sgml.[Ch]:
5012         * buffer.C: small refactoring of docbook stuff
5013
5014 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5015
5016         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5017         meaning.
5018
5019 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5022         operator dispatch_result_t, and operators for == != and >=
5023
5024         * cursor.C (dispatch): adjust for operator dispatch_result_t
5025         removal. comment out call to update
5026
5027         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5028
5029 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * text3.C:
5032         * text2.C:
5033         * text.C:
5034         * lyxtext.h:
5035         * lyxfunc.C:
5036         * cursor.C:
5037         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5038         (dispatch):
5039
5040         * dispatchresult.h: new file, DispatchResult broken out of
5041         insets/insetbase.h
5042
5043         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5044
5045 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5046
5047         * text.C (rowBreakPoint): put a hack inside #if 0
5048
5049 2003-10-28  André Pönitz  <poenitz@gmx.net>
5050
5051         * lyxtext.h:
5052         * metricsinfo.C:
5053         * paragraph_funcs.C:
5054         * rowpainter.C:
5055         * text.C:
5056         * text2.C: general cleanup (lots of small stuff)
5057
5058 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5059
5060         * text2.C (cursorEnd): simple fix to the "end key goes to one
5061         before the end on last row" bug
5062
5063 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * text.C (backspace): fix the "zombie characters"
5066
5067 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5070
5071 2003-10-27  André Pönitz  <poenitz@gmx.net>
5072
5073         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5074
5075         * factory.C: handle new InsetPagebreak, InsetLine
5076
5077         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5078         and move handling into new InsetPagebreak, InsetLine
5079
5080         * BufferView_pimpl.C:
5081         * LyXAction.C:
5082         * ParagraphParameters.C:
5083         * ParameterStruct.h:
5084         * lyxfunc.C:
5085         * lyxtext.h:
5086         * paragraph.C:
5087         * paragraph.h:
5088         * paragraph_funcs.C:
5089         * paragraph_pimpl.C:
5090         * rowpainter.C:
5091         * text.C:
5092         * text2.C:
5093         * text3.C: adjust
5094
5095 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5096
5097         * text.C:
5098         * lyxrow_funcs.[Ch]:
5099         * Bidi.C:
5100         * paragraph.C:
5101         * lyxtext.h:
5102         * rowpainter.C:
5103         * text2.C:
5104         * text3.C: remove lastPos uses in favour of Row::endpos
5105
5106 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * undo.C (performUndoOrRedo): fix two crashes by setting a
5109         cursor by hand and reordering some calls. Use bv->lockInset instead
5110         of inset->edit because the latter loses cursor information
5111
5112 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5113
5114         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5115         by Martin
5116         (rowBreakPoint): fix width. change point to point + 1.
5117         Add a missing check.
5118
5119 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5120
5121         * MenuBackend.C:
5122         * lyxfunc.C: fix (at least partly) the problems
5123         with the Nav menu and headers inside branch insets
5124         reported by Kayvan
5125
5126 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5127
5128         * paragraph.C (getChar): add strong asserts
5129
5130         * lyxrow_funcs.C (lastPos): remove hideous hack
5131
5132         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5133         (fill): adjust to that (avoid an infinite loop)
5134
5135 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5136
5137         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5138
5139 2003-10-23  André Pönitz  <poenitz@gmx.net>
5140
5141         * RowList_fwd.h: change list<> to vector<> to gain speed
5142         after suggestion from Alfredo
5143
5144 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5145
5146         * lyxtext.h: move the bidi stuff from here...
5147         * text.C: and here
5148         * text2.C: and here
5149         * Bidi.[Ch]: ... to here
5150
5151 2003-10-23  André Pönitz  <poenitz@gmx.net>
5152
5153         * lyxtext.h:
5154         * text.C (isLastRow, isFirstRow): new functions
5155
5156         * paragraph.h: new width cache member
5157
5158         * rowpainter.C: replace RowList::iterator with Row & where possible
5159
5160         * lyxfunc.C: replace several view()->text with a single call
5161
5162         * toc.C: fix 'unused' warning
5163
5164 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5167         when woring with stream::pos_type
5168         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5169
5170 2003-10-22  André Pönitz  <poenitz@gmx.net>
5171
5172         * lyxtext.h:
5173         * text.C: use Row & instead of RowList::iterator
5174
5175         * lyxrow.h: rename end() to endpos()
5176
5177         * rowpainter.C:
5178         * text.C:
5179         * text2.C: adjust
5180
5181 2003-10-22  Angus Leeming  <leeming@lyx.org>
5182
5183         * buffer.[Ch] (fully_loaded): new member function, returning true
5184         only when the file has been loaded fully.
5185         Used to prevent the premature generation of previews and by the
5186         citation inset to prevent computation of the natbib-style label.
5187
5188         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5189         templates are all set up.
5190
5191         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5192
5193 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5194
5195         * text.C: fixed an "oops" in the "is a bit silly"
5196         bug fix
5197
5198 2003-10-21  André Pönitz  <poenitz@gmx.net>
5199
5200         * FuncStatus.[Ch]: small stuff, whitespace
5201
5202         * lyxfont.[Ch]: operator<<() for debug reasons
5203
5204         * lyxfunc.C:
5205         * lyxrow_funcs.C:
5206         * lyxtext.h: whitespace, spelling
5207
5208         * paragraph.C: naming of variables
5209
5210         * text.C:
5211         * text2.C: small stuff
5212
5213
5214 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5215
5216         * text.C: (1) finish off the inset display() work;
5217         (2) fix the "is a bit silly" bug (accessing char
5218         past end of par).
5219
5220 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5221
5222         * text.C: re-introduce display() for insets, fixing the
5223         various bugs (stretch of line above, math inset
5224         positioning, ...)
5225
5226 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5227
5228         * text.C (rightMargin): remove spurious semicolon
5229
5230         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5231         1415)
5232
5233 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5234
5235         * text3.C: fix one crash due to wrong cursor def
5236
5237 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * vc-backend.C (scanMaster): make the regex static
5240
5241         * LaTeX.C (scanAuxFile): make the regexs static
5242
5243         * text3.C (doInsertInset, dispatch, dispatch):
5244         * text2.C (cursorUp, cursorDown):
5245         * text.C (selectNextWordToSpellcheck):
5246         * BufferView_pimpl.C (dispatch):
5247         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5248
5249 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5250
5251         * lyxsocket.C: include <cerrno>
5252
5253 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * lyxfunc.C (dispatch): remove textcache stuff
5256
5257         * bufferlist.C (release): remove textcache stuff
5258         (closeAll): ditto
5259
5260         * TextCache.C: delete file
5261         * TextCache.h: delete file
5262
5263         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5264
5265         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5266         delete of the bv_->text.
5267         (resizeCurrentBuffer): remove texcache stuff
5268         (workAreaResize): ditto
5269
5270 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5273         action.
5274
5275 2003-10-16  André Pönitz  <poenitz@gmx.net>
5276
5277         * lyxrow.[Ch]:
5278         * paragraph.h:
5279         * rowpainter.C:
5280         * text.C:
5281         * text2.C:
5282         * text3.C: speed up by storing y positions per paragraph plus per-row
5283         offset instead of having a 'full' y position in the row.
5284
5285 2003-10-15  André Pönitz  <poenitz@gmx.net>
5286
5287         * iterators.[Ch]:
5288         * iterators.[Ch]:
5289         * undo.[Ch]: make undo aware of inner insets
5290
5291 2003-10-14  Angus Leeming  <leeming@lyx.org>
5292
5293         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5294         static member functions LyX::ref() and LyX::cref.
5295         (lastfiles): new accessor functions for the new lastfiles_ member var.
5296         (addLyXView, views_): add a new LyXView to the list of views_.
5297         (updateInset): loop over all LyXViews to call their own updateInset
5298         member function, returning a pointer to the Buffer owning the inset.
5299
5300         * BufferView_pimpl.C (loadLyXFile):
5301         * MenuBackend.C (expandLastfiles):
5302         * bufferlist.C (MenuWrite, QuitLyX):
5303         lastfiles is no longer a global variable.
5304         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5305
5306         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5307         static function. Access through LyX::cref().emergencyCleanup().
5308
5309 2003-10-14  André Pönitz  <poenitz@gmx.net>
5310
5311         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5312
5313         * undo.[Ch]: restoring part of 'undo in insets'
5314
5315         * Makefile.am:
5316         * undo_funcs.[Ch]: merge with undo.[Ch]
5317
5318         * tabular.C: small cleansing stuff
5319
5320 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5321
5322         * paragraph_funcs.C (readParToken): report unknown insets as error
5323         boxes. Use the outer paragraph as location (also for unknown
5324         tokens).
5325
5326         * factory.C (readInset): do not abort on reading an unknown inset.
5327         Eat it and return 0.
5328
5329 2003-10-13  Angus Leeming  <leeming@lyx.org>
5330
5331         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5332
5333         * lyxrc.C: displayTranslator is now a function,
5334         declared in GraphicsTypes.h.
5335
5336 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5337
5338         * format.C: new placeholder $$a to pass the socket address.
5339
5340         * bufferlist.[Ch]: new function getBufferFromTmp.
5341
5342         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5343           files in the temporary dir.
5344
5345 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5346
5347         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5348
5349         * Makefile.am: add lyxsocket.[Ch].
5350
5351         * lyx_main.C (error_handler): handle SIGPIPE.
5352
5353 2003-10-13  André Pönitz  <poenitz@gmx.net>
5354
5355         * BufferView_pimpl.C:
5356         * lyxtext.h:
5357         * text.C:
5358         * text2.C:
5359         * text3.C:
5360         * undo_funcs.[Ch]: use paroffset_type instead of
5361           ParagraphList::iterators to prevent multiple conversion
5362           (and get a more robust interface)
5363
5364 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5365
5366         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5367         * lyxtext.h: ditto
5368         * text3.C (dispatch): ditto
5369
5370 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5373         move the onlyfile, use onlyfile instead of foundfile in a couple
5374         of places.
5375
5376         * DepTable.C (update): flush the error stream a bit more
5377
5378 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * lyxserver.C (callback): adjust
5381
5382         * lyxfunc.C (getStatus): add a missing brace in commented code
5383         (ensureBufferClean): reindent
5384         (dispatch): delete version taking a string
5385
5386 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * LaTeX.C (deplog): move found file handlig from here...
5389         (handleFoundFile): .. to new function here.
5390         (deplog): make sure to discover several files mentioned on the
5391         same log line.
5392
5393 2003-10-10  André Pönitz  <poenitz@gmx.net>
5394
5395         * lyxfunc.C:
5396         * lyxtext.h:
5397         * tabular.C:
5398         * text.C:
5399         * text2.C:
5400         * text3.C: fix some of the tabular crashes
5401
5402 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5403
5404         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5405
5406         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5407
5408 2003-10-09  André Pönitz  <poenitz@gmx.net>
5409
5410         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5411
5412         * BufferView.C:
5413         * BufferView_pimpl.C:
5414         * bufferview_funcs.C:
5415         * lyx_cb.C:
5416         * lyxcursor.C:
5417         * lyxfind.C:
5418         * lyxfunc.C:
5419         * lyxtext.h:
5420         * text.C:
5421         * text2.C:
5422         * text3.C:
5423         * text_funcs.[Ch]:
5424         * textcursor.[Ch]:
5425         * undo_funcs.C: adjust
5426
5427 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5428
5429         * text2.C (incrementItemDepth): new function, use a backtracking
5430         algorithm to discover the correct item depth.
5431         (resetEnumCounterIfNeeded): new function, use a backtracking
5432         algorithm to discover if counter reset is needed.
5433         (setCounter): use them. Simplify a bit. Add different labels for
5434         different item depths for itemize.
5435
5436         * paragraph.C (Paragraph): remove initialization of enumdepth
5437         (operator=): ditto
5438
5439         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5440         enumerate and itemize. Change the type of itemdepth to signed char.
5441
5442 2003-10-08  André Pönitz  <poenitz@gmx.net>
5443
5444         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5445           thing assignable.
5446         * text.C:
5447         * text2.C: adjust
5448
5449         * tabular.[Ch]: fix crash after 'row-insert'
5450
5451 2003-10-08  Angus Leeming  <leeming@lyx.org>
5452
5453         Fix doxygen warnings.
5454
5455         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5456         Remove CutAndPaste:: prefix from header file declaration.
5457
5458         * LColor.h (fill): remove LColor:: prefix from declaration.
5459
5460         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5461         use lyx::depth_type rather than Paragraph::depth_type so that
5462         header file and .C file match.
5463
5464         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5465
5466         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5467         * aspell.C: \file aspell_local.C -> \file aspell.C
5468         * gettext.C: \file gettext.C -> \file src/gettext.C
5469         * gettext.h: \file gettext.h -> \file src/gettext.h
5470         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5471         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5472         * text.C: \file text.C -> \file src/text.C
5473
5474         * toc.C: move comment so that doxygen is not confused.
5475
5476 2003-10-07  Angus Leeming  <leeming@lyx.org>
5477
5478         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5479
5480 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5481
5482         * aspell.C:
5483         * aspell_local.h: add forgotten std::string's.
5484
5485 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5486
5487         * LaTeXFeatures.C:
5488         * LyXAction.C:
5489         * factory.C:
5490         * lfuns.h:
5491         * lyxfunc.C:
5492         * text3.C: The Box patch. Fancybox support, minipage, parbox
5493
5494 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5495
5496         * CutAndPaste.h:
5497         * DepTable.h:
5498         * FloatList.h:
5499         * LaTeXFeatures.h:
5500         * ParagraphParameters.h:
5501         * TextCache.h:
5502         * Thesaurus.h:
5503         * bufferlist.h:
5504         * exporter.h:
5505         * importer.h:
5506         * lastfiles.h:
5507         * lyxfind.h:
5508         * lyxfont.h:
5509         * lyxlex.h:
5510         * lyxtextclasslist.h:
5511         * messages.h:
5512         * paragraph.h:
5513         * paragraph_pimpl.C:
5514         * textcursor.h: add <string> and other small fixes to make Lars'
5515         std::string patch compile with STLport.
5516
5517 2003-10-06  Angus Leeming  <leeming@lyx.org>
5518
5519         * LColor.h: Add missing #include <string>.
5520
5521 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * All most all file in all subdirs: Make <string> be the prefered
5524         way of getting to std::string, add using declarations.
5525
5526 2003-10-06  André Pönitz  <poenitz@gmx.net>
5527
5528         * metricsinfo.C: initialize LyXFont before changing attribute.
5529         (fixes the 'math in \emph is upright' bug)
5530
5531 2003-10-06  André Pönitz  <poenitz@gmx.net>
5532
5533         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5534
5535 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5536
5537         * graph.C:
5538         * paragraph_pimpl.C: Small fixes to build using STLport
5539
5540 2003-10-02  André Pönitz  <poenitz@gmx.net>
5541
5542         * lyxfunc.C:
5543         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5544
5545 2003-10-01  André Pönitz  <poenitz@gmx.net>
5546
5547         * factory.C: assert early
5548
5549 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5550
5551         * lyx_main.C: remove the global debug object
5552
5553         * debug.h: adjust for new debugstream
5554
5555         * debug.C: adjust for new debugstream and keep the global debug
5556         object here.
5557
5558 2003-09-22  Angus Leeming  <leeming@lyx.org>
5559
5560         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5561         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5562         an incomplete class LyXFont.
5563
5564 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5565
5566         * factory.C: bug fix in branches
5567
5568 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * lyxfunc.C (processKeySym): adjust
5571         (dispatch): adjust
5572         (dispatch): change arg name from ev to func, adjust
5573         (sendDispatchMessage): ditto
5574
5575         * lyx_main.C (defaultKeyBindings): adjust keybindings
5576         (deadKeyBindings): ditto
5577
5578         * kbsequence.C (addkey): return a FuncRequest
5579
5580         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5581
5582         * kbmap.C (bind): take a FuncRequest as arg, adjust
5583         (read): adjust
5584         (lookup): adjust
5585         (defkey): change to take a FuncRequest as arg, adjust
5586         (findbinding): take a FuncRequest as arg, adjust.
5587
5588         * funcrequest.h (operator=): added
5589
5590         * funcrequest.C (FuncRequest): default kb_action changed from
5591         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5592
5593         * buffer.C (dispatch): simplify
5594         (dispatch): adjust to take a FuncRequest as arg, adjust
5595
5596         * boost.C (assertion_failed): change assertion message slightly
5597
5598         * ToolbarBackend.C (read): simplify
5599
5600         * MenuBackend.C (binding): adjust call to findbinding, add a
5601         message if no binding is found.
5602         (read): simplify
5603         (expandToc): correct by adding a empty FuncRequest
5604
5605         * LyXAction.C: include <boost/assert.hpp>
5606         (isPseudoAction): delete function
5607         (LookupFunc): change name to...
5608         (lookupFunc): this. change return type to FuncRequest.
5609         (getActionName): take kb_action as arg, simplify
5610         (funcHasFlag): add an assert, simplify.
5611
5612 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5613
5614         * toc.C (action): return a FuncRequest, simplify
5615
5616         * lyxfunc.C (processKeySym): adjust
5617         (getStatus): delete version that takes an int.
5618         (getStatus): adjust
5619         (dispatch): delete version that takes action as int
5620         (dispatch): adjust
5621         (sendDispatchMessage): simplify and adjust
5622
5623         * funcrequest.C (getArg): take unsigned int as arg
5624
5625         * ToolbarBackend.C (read): adjust
5626         (add): delete version that takes func as a string.
5627         (getIton): take a FuncRequest as arg
5628
5629         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5630         action.
5631
5632         * MenuBackend.C (MenuItem): add a new construct that only takes a
5633         Kind, simplify the constructor use for submenus.
5634         (add): adjust
5635         (expandLastfiles): adjust
5636         (expandDocuments): adjust
5637         (expandFormats): adjust
5638         (expandFloatListInsert): adjust
5639         (expandFloatInsert): adjust
5640         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5641
5642         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5643         Remove class variables lyx_pseudo_map and lyx_arg_map
5644
5645         * LyXAction.C (searchActionArg): delete function
5646         (getPseudoAction): delete function
5647         (retrieveActionArg): delete function
5648         (LookupFunc): make it return kb_action, simplify.
5649         (getActionName): simplify
5650
5651         * factory.C (createInset): fix new bug
5652
5653 2003-09-19  Angus Leeming  <leeming@lyx.org>
5654
5655         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5656         masterFilename_ parameter in the include inset.
5657
5658         * factory.C (createInset): changes due to the changes to InsetInclude.
5659
5660 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5661
5662         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5663
5664 2003-09-18  Angus Leeming  <leeming@lyx.org>
5665
5666         * buffer.C:
5667         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5668         Inset::fillWithBibKeys.
5669         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5670
5671 2003-09-18  Angus Leeming  <leeming@lyx.org>
5672
5673         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5674         variables.
5675         (ctor): pass and store a 'Buffer const &'
5676         (buffer): new member function.
5677
5678         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5679         '*this' to the LaTeXFeatures ctor.
5680
5681 2003-09-18  Angus Leeming  <leeming@lyx.org>
5682
5683         * LColor.h:
5684         * lyxfont.C:
5685         * lyxfont.h:
5686         * lyxtext.h:
5687         * text.C: rename EnumLColor as LColor_color.
5688
5689 2003-09-18  Angus Leeming  <leeming@lyx.org>
5690
5691         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5692         remove #include "insets/insetbase.h" from cursor.h.
5693
5694 2003-09-18  Angus Leeming  <leeming@lyx.org>
5695
5696         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5697         InsetOld_code to remove #include "inset.h".
5698
5699         * iterators.C: add #include "insets/inset.h"
5700
5701 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5702
5703         * BufferView.C: remove more locking stuff that apparently doesn't
5704         do anything sensible.
5705
5706 2003-09-16  André Pönitz  <poenitz@gmx.net>
5707
5708         * paragraph.[Ch]:
5709         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5710           performance boost.
5711
5712 2003-09-16  Angus Leeming  <leeming@lyx.org>
5713
5714         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5715
5716         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5717         arg/return type.
5718
5719         * paragraph.h: remove #include "lyxfont.h". Forward declare
5720         LyXFont_size.
5721
5722 2003-09-16  Angus Leeming  <leeming@lyx.org>
5723
5724         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5725         of support/textutils.h.
5726         (isWord): move the contents of support/textutils.h's IsWordChar here.
5727
5728         * buffer.C:
5729         * lyxfind.C:
5730         * rowpainter.C:
5731         * text.C:
5732         * text2.C: add #include "paragraph.h".
5733
5734         * rowpainter.C:
5735         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5736
5737 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5738
5739         * main.C:
5740         * lyx_main.C:
5741         * lyx_cb.C:
5742         * buffer.C:
5743         * LaTeX.C: use namespace alias for lyx::support::os
5744
5745 2003-09-16  Angus Leeming  <leeming@lyx.org>
5746
5747         * bufferparams.C:
5748         * bufferview_funcs.C:
5749         * factory.C:
5750         * lyxfunc.C:
5751         * paragraph_pimpl.C:
5752         * rowpainter.C:
5753         * text.C: add #include "LColor.h".
5754
5755 2003-09-16  Angus Leeming  <leeming@lyx.org>
5756
5757         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5758         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5759         return LyXFont &.
5760         Store the FontBits::color variable as an int rather than as an
5761         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5762         file.
5763
5764         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5765         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5766         string calls together.
5767
5768         * lyxrc.C: add #include "LColor.h".
5769
5770 2003-09-15  Angus Leeming  <leeming@lyx.org>
5771
5772         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5773         a cow_ptr.
5774
5775 2003-09-15  Angus Leeming  <leeming@lyx.org>
5776
5777         * LColor.h: add an EnumLColor wrapper for LColor::color.
5778
5779         * lyxfont.[Ch] (color, setColor, realColor):
5780         * lyxtext.h, text.C (backgroundColor):
5781         pass EnumLColor args to/from the functions, rather than LColor::color
5782         ones.
5783
5784         * lyxfont.h:
5785         * lyxtext.h: forward declare EnumLColor.
5786
5787         * lyx_main.C: add #include "LColor.h".
5788
5789 2003-09-15  Angus Leeming  <leeming@lyx.org>
5790
5791         * .cvsignore: add lyx-gtk.
5792
5793 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5794
5795         * Chktex.C
5796         * LaTeX.C
5797         * LaTeXFeatures.C
5798         * ParagraphParameters.C
5799         * Spacing.C
5800         * buffer.C
5801         * bufferparams.C
5802         * bufferview_funcs.C
5803         * chset.C
5804         * counters.C
5805         * funcrequest.C
5806         * lyxfont.C
5807         * lyxgluelength.C
5808         * lyxlength.C
5809         * paragraph.C
5810         * paragraph_funcs.C
5811         * text3.C
5812         * vc-backend.C: remove usage of STRCONV
5813
5814 2003-09-15  Angus Leeming  <leeming@lyx.org>
5815
5816         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5817         explicitly define the color passed to the painter.
5818
5819 2003-09-15  Angus Leeming  <leeming@lyx.org>
5820
5821         * bufferparams.C (BufferParams): reorder member initializers to avoid
5822         compiler warning.
5823
5824 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5825
5826         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5827         * text.C (updateRowPositions): remove an unusual nop
5828
5829 2003-09-12  André Pönitz  <poenitz@gmx.net>
5830
5831         * BufferView_pimpl.C:
5832         * Bullet.C:
5833         * layout.h:
5834         * lyxfunc.C:
5835         * lyxlayout.[Ch]:
5836         * lyxtextclass.C:
5837         * rowpainter.C:
5838         * text.C:
5839         * text2.C:
5840         * Counters.[Ch]: finish the 'automatic counters' job
5841
5842 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5843
5844         * aspell.C: include <boost/assert.cpp> (compile fix)
5845
5846 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5847
5848         * boost.C (assertion_failed): use lyx::support::abort instead of
5849         assert.
5850
5851 2003-09-10  Angus Leeming  <leeming@lyx.org>
5852
5853         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5854         with their _fwd progeny.
5855
5856 2003-09-09  Angus Leeming  <leeming@lyx.org>
5857
5858         134 files throughtout the source tree: replace 'using namespace abc;'
5859         directives with the appropriate 'using abc::xyz;' declarations.
5860
5861 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5862
5863         * boost.C (emergencyCleanup): moved here from LAssert.c
5864         (assertion_failed): new function, called by BOOST_ASSERT
5865
5866         * several files: change Assert to BOOST_ASSERT
5867
5868 2003-09-09  Angus Leeming  <leeming@lyx.org>
5869
5870         * buffer.[Ch]: Add an Impl class and move Buffer's member
5871         variables into it. As a result move several header files out of
5872         buffer.h.
5873
5874         Add header files to lots of .C files all over the tree as a result.
5875
5876 2003-09-09  Angus Leeming  <leeming@lyx.org>
5877
5878         * buffer.[Ch]: make Buffer's member variables private. Add
5879         accessor functions.
5880
5881         Lots of changes all over the tree as a result.
5882
5883 2003-09-08  Angus Leeming  <leeming@lyx.org>
5884
5885         * graph.C: #include <config.h>.
5886
5887 2003-09-08  Angus Leeming  <leeming@lyx.org>
5888
5889         * BranchList.C:
5890         * BufferView.C:
5891         * BufferView_pimpl.C:
5892         * CutAndPaste.C:
5893         * DepTable.C:
5894         * LaTeX.C:
5895         * LaTeXFeatures.C:
5896         * LyXAction.C:
5897         * MenuBackend.C:
5898         * TextCache.C:
5899         * aspell.C:
5900         * buffer.C:
5901         * bufferlist.C:
5902         * changes.C:
5903         * chset.C:
5904         * converter.C:
5905         * counters.C:
5906         * debug.C:
5907         * graph.C:
5908         * ispell.C:
5909         * lyx_cb.C:
5910         * lyxfind.C:
5911         * lyxfunc.C:
5912         * lyxlex_pimpl.C:
5913         * lyxrc.C:
5914         * lyxrow.C:
5915         * paragraph.C:
5916         * rowpainter.C:
5917         * texrow.C:
5918         * text.C:
5919         * text2.C:
5920         * toc.C: remove redundant using directives.
5921
5922 2003-09-07  Angus Leeming  <leeming@lyx.org>
5923
5924         * LaTeXFeatures.h: remove #include "support/types.h".
5925         * ToolbarBackend.h: remove #include <algorithm>.
5926         * changes.h: remove #include <ctime>.
5927         * debug.h: remove #include <iosfwd>.
5928         * graph.h: remove #include "support/std_string.h".
5929         * lyx_main.h: remove #include <csignal>.
5930         * lyxlex_pimpl.h: remove #include <fstream>.
5931         * sgml.h: remove #include <algorithm>, <utility>.
5932         * toc.h: remove #include "support/std_ostream.h".
5933         Add #include <iosfwd>.
5934
5935 2003-09-07  Angus Leeming  <leeming@lyx.org>
5936
5937         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5938
5939         * converter.h: forward declare LatexRunParams.
5940         * encoding.h: remove #include "lyxrc.h".
5941         * lyxtext.h: remove #include "LColor.h".
5942         * lyxtextclass.h: remove #include "support/types.h".
5943         * trans.h: remove #include "tex-accent.h".
5944         * trans_mgr.h: remove #include "tex-accent.h".
5945         * insets/inset.h: remove #include "support/types.h", <vector>.
5946         * insets/insetcollapsable.h: remove #include "LColor.h".
5947         * insets/insetinclude.h: remove #include "dimension.h".
5948         * insets/insetlatexaccent.h: remove #include "dimension.h".
5949         * insets/insetoptarg.h:: remove #include "insettext.h".
5950         * insets/insettext.h: remove #include "dimension.h",
5951         <boost/shared_ptr.hpp>
5952
5953         * insets/renderers.h: add #include "dimension.h".
5954         * insets/updatableinset.h: add #include "support/types.h".
5955
5956         * many .C files: Associated changes.
5957
5958 2003-09-06  Angus Leeming  <leeming@lyx.org>
5959
5960         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5961         one, inside testInvariant.
5962
5963         * PrinterParams.C: new file.
5964         * PrinterParams.[Ch]: move the function bodies out of line.
5965
5966 2003-09-06  Angus Leeming  <leeming@lyx.org>
5967
5968         * ParagraphParameters.h: forward declare ParameterStruct rather than
5969         including its header file.
5970         (depth): moved out-of-line.
5971
5972 2003-09-06  Angus Leeming  <leeming@lyx.org>
5973
5974         * BufferView_pimpl.h:
5975         * kbmap.h:
5976         * kbsequence.h:
5977         * lyxfunc.h: forward declare LyXKeySym rather than
5978         #include "frontends/LyXKeySym.h".
5979
5980         * BufferView_pimpl.C:
5981         * kbmap.C:
5982         * kbsequence.C:
5983         * lyxfunc.C: associated changes.
5984
5985 2003-09-06  Angus Leeming  <leeming@lyx.org>
5986
5987         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5988         As a result, can remove the #include "insets/inset.h" from BufferView.h
5989
5990 2003-09-06  Angus Leeming  <leeming@lyx.org>
5991
5992         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5993         As a result, can remove the #include "insets/inset.h" from BufferView.h
5994
5995 2003-09-06  Angus Leeming  <leeming@lyx.org>
5996
5997         * buffer_funcs.C:
5998         * buffer.h:
5999         * bufferlist.C:
6000         * BufferView.C:
6001         * bufferview_funcs.C:
6002         * BufferView_pimpl.C:
6003         * CutAndPaste.C:
6004         * lyx_cb.C:
6005         * lyxfunc.C:
6006         * paragraph.h:
6007         * ParagraphParameters.C:
6008         * tabular.C:
6009         * text3.C:
6010         * toc.C:
6011         * undo_funcs.C:
6012         * frontends/controllers/ControlDocument.C:
6013         * insets/insetcaption.C: rearrange the #includes into some sort of
6014         coherent order.
6015
6016         * buffer.h: remove #includes ErrorList.h, undo.h
6017
6018 2003-09-06  Angus Leeming  <leeming@lyx.org>
6019
6020         * support/types.h: add a 'depth_type' typedef, used to store the
6021         nesting depth of a paragraph.
6022
6023         * paragraph.h:
6024         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6025         defining explicitly.
6026
6027         * buffer.h:
6028         * paragraph_funcs.h:
6029         * ParagraphParameters.h:
6030         * sgml.h: use lyx::depth_type rather than Paragraph or
6031         ParameterStruct's depth_type.
6032
6033         * buffer.h
6034         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6035
6036         * BufferView.C:
6037         * BufferView_pimpl.C:
6038         * CutAndPaste.C:
6039         * ParagraphParameters.C:
6040         * buffer_funcs.C:
6041         * bufferlist.C:
6042         * bufferview_funcs.C:
6043         * lyx_cb.C:
6044         * lyxfunc.C:
6045         * tabular.C:
6046         * text3.C:
6047         * toc.C:
6048         * undo_funcs.C:
6049         * frontends/LyXView.C:
6050         * frontends/controllers/ControlDocument.C:
6051         * frontends/controllers/ControlErrorList.C:
6052         * insets/insetbibitem.C:
6053         * insets/insetbranch.C:
6054         * insets/insetcaption.C:
6055         * insets/insetcollapsable.C:
6056         * insets/insetenv.C:
6057         * insets/insetert.C:
6058         * insets/insetfloat.C:
6059         * insets/insetfoot.C:
6060         * insets/insetfootlike.C:
6061         * insets/insetnewline.C:
6062         * insets/insetquotes.C:
6063         * insets/insettabular.C:
6064         * insets/insettext.C:
6065         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6066
6067         * frontends/controllers/ControlChanges.C: #include "changes.h".
6068
6069 2003-09-06  Angus Leeming  <leeming@lyx.org>
6070
6071         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6072         than #including paragraph.h.
6073
6074         * ParagraphList.h:
6075         * RowList.h: deleted. Superfluous.
6076
6077         * CutAndPaste.h:
6078         * iterators.h:
6079         * lyxcursor.h:
6080         * lyxtext.h:
6081         * text_funcs.h:
6082         * undo.h:
6083         * undo_funcs.h:
6084         * insets/inset.h:
6085         * insets/insettext.h: use ParagraphList_fwd.h rather than
6086         ParagraphList.h.
6087
6088         * paragraph.h: don't forward declare ParagraphList.
6089
6090         * buffer.h:
6091         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6092         rather than ParagraphList.h. paragraph.h is still needed for the
6093         Paragraph::depth_type parameters.
6094
6095         * textcursor.h: enable it to compile stand-alone in light of the
6096         above changes.
6097
6098         * bufferview_funcs.C:
6099         * iterators.C:
6100         * lyxfunc.C:
6101         * lyxrow_funcs.C:
6102         * paragraph.C:
6103         * rowpainter.C:
6104         * text.C:
6105         * text2.C:
6106         * text3.C:
6107         * text_funcs.C:
6108         * textcursor.C:
6109         * undo.C:
6110         * frontends/controllers/ControlParagraph.C:
6111         * frontends/controllers/ControlTabular.C:
6112         * insets/insetmarginal.C:
6113         * insets/insetminipage.C:
6114         * insets/insetnote.C:
6115         * insets/insetoptarg.C: add header files needed to compile again.
6116
6117 2003-09-06  Angus Leeming  <leeming@lyx.org>
6118
6119         * RowList_fwd.h: new file, forward-declaring Row rather than
6120         #including lyxrow.h.
6121
6122         * lyxrow_funcs.h:
6123         * lyxtext.h:
6124         * paragraph.h:
6125         * insets/insettext.h: use it instead of RowList.h
6126
6127         * bufferview_funcs.C:
6128         * lyxfunc.C:
6129         * lyxrow_funcs.C:
6130         * paragraph.C:
6131         * rowpainter.C:
6132         * text.C:
6133         * text2.C:
6134         * text3.C: #include "RowList.h".
6135
6136 2003-09-05  Angus Leeming  <leeming@lyx.org>
6137
6138         * factory.C (createInset):
6139         * vspace.C (c-tor): replace sscanf call with an istringstream.
6140         * ispell.C: re-add missing HP/UX headers.
6141         * lyxserver.C: re-add missing  os2 headers.
6142
6143 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6144
6145         * BranchList.C:
6146         * graph.C:
6147         * ispell.C:
6148         * lastfiles.C:
6149         * lyx_cb.C:
6150         * lyxserver.C:
6151         * texrow.C:
6152         * text3.C: re-add missing system headers, needed for 2.95.2.
6153
6154 2003-09-05  Angus Leeming  <leeming@lyx.org>
6155
6156         Changes most place everywhere due to the removal of using directives
6157         from support/std_sstream.h.
6158
6159 2003-09-05  Angus Leeming  <leeming@lyx.org>
6160
6161         Replace LString.h with support/std_string.h,
6162         Lsstream.h with support/std_sstream.h,
6163         support/LIstream.h with support/std_istream.h,
6164         support/LOstream.h with support/std_ostream.h.
6165
6166         Changes resulting throughout the tree.
6167
6168 2003-09-05  Angus Leeming  <leeming@lyx.org>
6169
6170         * sgml.h: ensure that the header file can be compiled stand-alone.
6171         * *.C: strip out redundant #includes. (320 in total.)
6172
6173 2003-09-04  Angus Leeming  <leeming@lyx.org>
6174
6175         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6176         here (from getPackages).
6177
6178         * debug.[Ch]: add a new EXTERNAL tag.
6179
6180 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6181
6182         * text2.C (cursorEnd): simplify
6183         (setCursor): adjust
6184         (getColumnNearX): adjust
6185
6186         * text.C (computeBidiTables): adjust
6187         (fill): adjust
6188
6189         * rowpainter.C (paintChars): adjust
6190         (paintSelection): adjust
6191         (paintChangeBar): adjust
6192         (paintText): adjust
6193
6194         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6195         lastPos instead.
6196         (numberOfSeparators): adjust
6197
6198 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6199
6200         * LyXAction.C:
6201         * box.[Ch]:
6202         * lfuns.h:
6203         * lyxfunc.C:
6204         * text3.C: Restricts the mouse click functionality
6205         of insets like bibtex, include, toc and floatlist to the visible
6206         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6207         up the dialogs. Cursor has to be in front of the inset (i.e.
6208         start of row) for this to function.
6209
6210 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6211
6212         * bufferview_funcs.C (currentState): output row information
6213
6214 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6215
6216         * bufferview_funcs.C (currentState): output paragraph position
6217
6218 2003-09-04  Angus Leeming  <leeming@lyx.org>
6219
6220         * FloatList.h: move out #include "Floating.h".
6221         * LaTeX.h: move out #include "DepTable.h".
6222         * LyXAction.h: move out #include "funcrequest.h".
6223         * buffer.h: move out #include "author.h", "iterators.h".
6224         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6225         * lyx_main.h: move out #include "errorlist.h".
6226         * lyxfunc.h: move out #include "FuncStatus.h".
6227         * lyxtext: move out #include "lyxcursor.h".
6228         * paragraph_pimpl.h: move out #include "counters.h".
6229
6230 2003-09-03  Angus Leeming  <leeming@lyx.org>
6231
6232         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6233         preamble_snippets list, enabling us to add snippets to the preamble
6234         only if the snippet was not there already.
6235
6236 2003-09-04  Angus Leeming  <leeming@lyx.org>
6237
6238         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6239
6240 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6241
6242         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6243         update
6244
6245 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6246
6247         * BranchList.C: point fix, earlier forgotten
6248
6249 2003-09-02  Angus Leeming  <leeming@lyx.org>
6250
6251         * box.C (contains): renamed from 'contained' after a fantastic
6252         amount of hot air.
6253
6254 2003-09-02  John Levon  <levon@movementarian.org>
6255
6256         * BufferView.C:
6257         * lyxcursor.h:
6258         * lyxcursor.C:
6259         * lyxfunc.C:
6260         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6261
6262 2003-09-02  John Levon  <levon@movementarian.org>
6263
6264         * text2.C: simplification of cursorEnd(), including partial
6265         fix for bug 1376
6266
6267 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * buffer.C (readFile): add a space
6270
6271 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6272
6273         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6274
6275 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6276
6277         * buffer.C (readFile): new function, take a filename and a
6278         ParagraphList::iterator
6279         (readFile): adjust
6280         (readFile): adjust, make it private. don't use setStream, make
6281         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6282         always contain the filename.
6283
6284         * BufferView.C (insertLyXFile): simplify and make it work for
6285         gzipped files.
6286
6287 2003-08-30  John Levon  <levon@movementarian.org>
6288
6289         * Makefile.am: fix dist (from Kayvan)
6290
6291 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * most files: change to use const Buffer refs
6294
6295 2003-08-27  André Pönitz  <poenitz@gmx.net>
6296
6297         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6298         on top of ownerPar().
6299
6300 2003-08-27  John Levon  <levon@movementarian.org>
6301
6302         * funcrequest.C: properly initialise POD members
6303
6304 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6305
6306         * lyxtext.h (top_y): move top_y from here
6307         * text.C:
6308         * text2.C:
6309         * text3.C:
6310         * BufferView.[Ch]:
6311         * BufferView_pimpl.[Ch]: to here
6312         * frontends/screen.C:
6313         * insets/insettabular.C:
6314         * insets/insettext.C: adjust
6315         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6316
6317 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6318
6319         * BufferView.[Ch]:
6320         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6321
6322 2003-08-26  André Pönitz  <poenitz@gmx.net>
6323
6324         * paragraph_func.[Ch] (outerPar): new function
6325
6326         * paragraph.C:
6327         * paragraph_funcs.C:
6328         * paragraph_funcs.h:
6329         * paragraph_pimpl.C:
6330         * text2.C: remove Inset::par_owner
6331
6332 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6333
6334         * lyxrow_funcs.C:
6335         * lyxtext.h:
6336         * text.C:
6337         * text2.C: eliminates the needFullRow/display() stuff
6338         altogether, putting the logic in metrics/draw in the insets.
6339
6340 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6341
6342         * text2.C (redoParagraphInternal, redoParagraphs):
6343         * text.C (redoParagraph): add a call to updateRowPositions at the
6344         end of each 'metrics-like' call. Remove all others.
6345         (getRow): remove the 'y-computing' version.
6346         (getRowNearY): do not compute nor return the real y. Solve the
6347         'y < 0' problem and simplify.
6348
6349 2003-08-22  Angus Leeming  <leeming@lyx.org>
6350
6351         * *.[Ch]: clean-up of licence and author blurbs.
6352         Also move config.h out of a few .h files and into a few .C files.
6353
6354 2003-08-22  André Pönitz  <poenitz@gmx.net>
6355
6356         * lyxrow.[Ch]: add x_ and *fill_ members
6357
6358         * lyxtext.h:
6359         * text.C:
6360         * rowpainter.C:
6361         * text2.C: adjust/remove prepareToPrint() calls
6362
6363 2003-08-22  André Pönitz  <poenitz@gmx.net>
6364
6365         * lyxrow.[Ch]: add  end_ member
6366
6367         * lyxrow_funcs.C: use LyXRow::end_
6368
6369         * lyxtext.h (singleWidth): add LyXFont parameter
6370
6371         * rowpainter.C:
6372         * text2.C: adjust LyXText::singleWidth() calls
6373
6374         * text.C (redoParagraph): simplify row breaking logic
6375
6376
6377 2003-08-19  André Pönitz  <poenitz@gmx.net>
6378
6379         * funcrequest.C: initialize button_ member
6380
6381         * text3.C:
6382         * rowpainter.[Ch]: interface consolidation
6383
6384 2003-08-18  André Pönitz  <poenitz@gmx.net>
6385
6386         * BufferView.C:
6387         * BufferView_pimpl.C:
6388         * lyxfind.C:
6389         * paragraph_funcs.C:
6390         * rowpainter.C:
6391         * text3.C: remove LyXScreen::draw() and fitCursor calls
6392
6393         * BranchList.h: remove spurious semicolons
6394
6395         * MenuBackend.C: fix branchlist related crash
6396
6397 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6398
6399         * BranchList.[Ch]:
6400         * InsetList.[Ch]:
6401         * LColor.[Ch]:
6402         * LyXAction.C:
6403         * Makefile.am:
6404         * MenuBackend.[Ch]:
6405         * bufferparams.[Ch]:
6406         * factory.C:
6407         * lfuns.h:
6408         * lyxfunc.C:
6409         * text3.C: implements the 'branch inset'
6410         idea. This allows the output of various versions of a document
6411         from a single source version, selectively outputing or suppressing
6412         output of parts of the text.
6413         This implementation contains a 'branch list editor' in a separate
6414         tab of the document settings dialog. Branches are user definable
6415         and have a "display colour" to distinguish them on-screen.
6416
6417         ColorHandler was somewhat cleaned up.
6418         (1) make possible a dynamically growing LColor list by allowing
6419         the graphic context cache to grow along (vector);
6420         (2) eliminate an IMHO unnecessary step in colour allocation.
6421
6422 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6423
6424         * BufferView_pimpl.C: compile fix
6425
6426 2003-08-15  André Pönitz  <poenitz@gmx.net>
6427
6428         * rowpainter.C: remove extra metrics calls
6429
6430         * lyxtext.h: merge the two constructors into a single one,
6431           pass reference to owner's par list
6432
6433         * BufferView_pimpl.C:
6434         * text.C:
6435         * text2.C: adjust
6436
6437 2003-08-15  André Pönitz  <poenitz@gmx.net>
6438
6439         * lyxrow_funcs.[Ch]:
6440         * lyxtext.h:
6441         * paragraph.h:
6442         * paragraph_funcs.C:
6443         * rowpainter.C:
6444         * text.C:
6445         * text2.C:
6446         * text3.C:
6447         * text_funcs.C: split LyXText::rowlist_ into individual
6448         Paragraph::rows_ chunks
6449
6450         * BufferView.[Ch]:
6451         * BufferView_pimpl.[Ch]:
6452         * lyxfind.C:
6453         * lyxtext.h:
6454         * text3.C: remove toggleSelection()
6455
6456 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6457
6458         * bufferlist.C: beautify two alerts (shorter text of buttons)
6459         * buffer.C: Remove redundant ' ' from message
6460         * tabular.h:
6461         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6462         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6463         rename VALIGN_CENTER to VALIGN_MIDDLE
6464
6465 2003-08-11  André Pönitz  <poenitz@gmx.net>
6466
6467         * lyxtext.h (getPar):
6468         * text.C: new function
6469
6470 2003-08-11  André Pönitz  <poenitz@gmx.net>
6471
6472         * Makefile.am:
6473         * tracer.[Ch]: remove unneeded files
6474
6475         * InsetList.[Ch]: remove resizeInsetsLyXText()
6476
6477         * lyxtext.h:
6478         * text.C:
6479         * text2.C:
6480         * text3.C: merge insertParagraphs() and appendParagraph()
6481         remove breakAgain(), update()
6482
6483         * BufferView_pimpl.[Ch]:
6484         * bufferview_funcs.[Ch]:
6485         * lyxfunc.C:
6486         * paragraph.[Ch]:
6487         * rowpainter.C:
6488         * tabular.C: adjust after text & InsetList changes.
6489
6490 2003-08-08  André Pönitz  <poenitz@gmx.net>
6491
6492         * text.C (insertChar, backspace): replace rowlist fiddling
6493         with rebreak of full par
6494
6495         * lyxtext.h:
6496         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6497         checkParagraph, updateInset): removed
6498
6499 2003-08-07  André Pönitz  <poenitz@gmx.net>
6500
6501         * paragraph.C:
6502         * text3.C: merge some LFUN handlers, remove dead code
6503
6504 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6505
6506         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6507
6508 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6509
6510         * text2.C (DEPM): fix part of bug 1255 and 1256
6511
6512 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6513
6514         * BufferView_pimpl.C (workAreaDispatch): change to use
6515         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6516         that are no mouse related.
6517
6518 2003-08-05  André Pönitz  <poenitz@gmx.net>
6519
6520         * BufferView.[Ch]:
6521         * BufferView_pimpl.[Ch]:
6522         * bufferview_funcs.C:
6523         * text2.C:
6524         * text3.C: rip out "deep update"
6525
6526         * textcursor.[Ch] (last_sel_cursor): remove unused member
6527
6528 2003-08-04  André Pönitz  <poenitz@gmx.net>
6529
6530         * BufferView.[Ch]:
6531         * BufferView_pimpl.[Ch]:
6532         * ParagraphParameters.C:
6533         * bufferview_funcs.C:
6534         * lyx_cb.C:
6535         * lyxfind.C:
6536         * lyxfunc.C:
6537         * text.C:
6538         * text2.C:
6539         * text3.C: replace "complicated" BufferView::update(...) calls with
6540         simpler ones.
6541
6542         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6543
6544 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6545
6546         * Makefile.am (lyx_SOURCES): add paper.h
6547
6548 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6549
6550         * Makefile.am: move things around so that both lyx-qt and
6551         lyx-xforms can be built (according to --with-frontend). Then lyx
6552         is a symbolic link to lyx-[firstfrontend]
6553
6554 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6555
6556         * Always use std::endl with lyxerr
6557
6558 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6559
6560         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6561
6562 2003-08-01  André Pönitz  <poenitz@gmx.net>
6563
6564         * BufferView.[Ch]:
6565         * BufferView_pimpl.[Ch]:
6566         * lyxfunc.C:
6567         * text3.C: merge BufferView::repaint() and BufferView::update()
6568
6569 2003-08-01  José Matos  <jamatos@lyx.org>
6570
6571         * buffer.[Ch]: file_format is no longer a buffer data element.
6572
6573 2003-08-01  André Pönitz  <poenitz@gmx.net>
6574
6575         * BufferView.C:
6576         * lyxtext.h:
6577         * text.C:
6578         * text2.C: make redoParagraph more independent of current cursor
6579
6580         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6581         * text.C:
6582         * text2.C: remove unneeded members
6583
6584 2003-07-30  André Pönitz  <poenitz@gmx.net>
6585
6586         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6587
6588         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6589           create a single function...
6590
6591         * paragraph_funcs.C (moveItem): ... here.
6592
6593         * text.C:
6594           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6595
6596 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6597
6598         * LColor.[Ch]: Add comment and greyedout logical colors.
6599
6600 2003-07-30  André Pönitz  <poenitz@gmx.net>
6601
6602         * tabular.C: don't use Assert too heavily. This crashes where it
6603           shouldn't
6604
6605 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6606
6607         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6608         is disabled (bug 1232)
6609
6610 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6611
6612         * factory.C: limited 'arg' scope
6613
6614 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6615
6616         * factory.C: fixed Note submenu issues
6617
6618 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6619
6620         * factory.C: submenu for Note/Comment/Greyedout
6621
6622 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6623
6624         * lyx_main.C (LyX):
6625         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6626
6627 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6628
6629         * LaTeXFeatures.C:
6630         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6631         greyedout. Patch provided by Jürgen Spitzmüller.
6632
6633 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6634
6635         * kbmap.C (read): fix error message when reading bind files
6636
6637 2003-07-29  Angus Leeming  <leeming@lyx.org>
6638
6639         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6640         certainly does not do what it purports to do. I am doing it, and
6641         us, a favour by killing it.
6642
6643 2003-07-28  José Matos  <jamatos@lyx.org>
6644
6645         * buffer.C (readBody, do_writeFile):
6646         * paragraph.C(readParagraph): \end_document replaces \the_end.
6647
6648 2003-07-29  André Pönitz  <poenitz@gmx.net>
6649
6650         * BufferView.[Ch]:
6651         * BufferView_pimpl.[Ch]:
6652         * lyxfunc.C:
6653         * text2.C:
6654         * text3.C:
6655         * textcursor.[Ch]: remove toggleToggle & Co
6656
6657 2003-07-28  José Matos  <jamatos@fep.up.pt>
6658
6659         * buffer.C (readParagraph):
6660         * params_func (readParToken, readParagraph):
6661         * paragraph.C (write): \layout -> \begin_layout.
6662
6663 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6664
6665         * lyxlex_pimpl.C (setFile): clean up slightly.
6666
6667         * bufferparams.h: add compressed var
6668
6669         * buffer_funcs.C (readFile): adjust for LyXLex change
6670         (newFile): ditto + simplify
6671
6672         * buffer.C (writeFile): handle writing of compressed files
6673
6674         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6675         Check if the file is compressed and set a bufferparm if so.
6676
6677         * Makefile.am (lyx_LDADD): remove explicit -lz
6678
6679 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6680
6681         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6682         makeDocBookFile): put the real LyX version in the first line of
6683         the file
6684
6685         * version.h:
6686         * version.C.in: remove lyx_docversion
6687
6688         * tabular.C (write_attribute): add a template-based version to
6689         write enums properly
6690
6691 2003-07-28  André Pönitz  <poenitz@gmx.net>
6692
6693         * lyxtext.h:
6694         * text.C:
6695         * text2.C:
6696         * text3.C: use doubles again for x-coordinates. They are needed.
6697
6698 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6699
6700         * messages.C (getLocaleDir): use lyx_localedir()
6701
6702         * lyxlex_pimpl.C (setFile): compress stuff
6703
6704         * buffer.C (writeFile): add some compression stuff
6705         (do_writeFile): new func, dont call expliti close... will this
6706         breake anything?
6707
6708         * Makefile.am (lyx_LDADD): add -lz
6709
6710 2003-07-28  José Matos  <jamatos@fep.up.pt>
6711
6712         * buffer.C: increment file format.
6713         * paragraph_funcs (readParagraph, readParToken):
6714         * paragraph.C (readParagraph): add \end_layout.
6715
6716 2003-07-27  Angus Leeming  <leeming@lyx.org>
6717
6718         * Makefile.am: remove special casing for configure-time setting of
6719         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6720
6721         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6722         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6723
6724 2003-07-26  André Pönitz  <poenitz@gmx.net>
6725
6726         * paragraph_func.[Ch]:
6727         * paragraph.C (realizeFont): inline it whereever it is used
6728
6729         * rowpainter.C:
6730         * text.C:
6731         * text2.C:
6732         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6733
6734
6735 2003-07-26  André Pönitz  <poenitz@gmx.net>
6736
6737         *       lyxtext.h:
6738         * text.C:
6739         * text2.C: get rid of LyXText::need_break_row
6740
6741 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * toc.[Ch]: put namespace toc inside namespace lyx
6744
6745         * MenuBackend.C (expandToc2): adjust for lyx::toc
6746         (expandToc): ditto
6747
6748         * lyxfunc.C (dispatch): adjust for lyx::find
6749
6750         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6751         lyx::find instead. Reorganize a bit.
6752         (LyXReplace): rename to replace
6753         (LyXFind): rename to find
6754
6755         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6756         (dispatch): ditto
6757
6758 2003-07-26  André Pönitz  <poenitz@gmx.net>
6759
6760         * text.C (setHeightOfRow): restrict scope of temporary variable
6761
6762         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6763           code (never has been used?)
6764
6765 2003-07-27  Asger Alstrup  <alstrup@local>
6766
6767         * text.C (fill): Optimise algorithm to exploit that we can reuse
6768         the LyXFont for many characters.
6769         (setHeightOfRow): Same thing.
6770         (rowBreakPoint): Same thing.
6771
6772 2003-07-26  Asger Alstrup  <alstrup@local>
6773
6774         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6775
6776         * text.C (singleWidth): Spurious font copying in hot-spot
6777         singleWidth avoided. Reorder tests for arabic for efficiency.
6778
6779         * text.C (fill): handle empty paragraphs better.
6780
6781 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6782
6783         * ispell.C:
6784         * encoding.h: add includes
6785
6786         * lyxrc.C: remove reading of bind files
6787
6788         * lyx_main.C (init): setup bindings and menus only if we have a
6789         gui.
6790
6791         * kbmap.C (read): new method. Do the actual reading of bind
6792         files.
6793
6794         * converter.C (dvipdfm_options):
6795         * bufferparams.C:
6796         * lyxrc.C (read):
6797         (output): adapt PAPER_* enums.
6798
6799         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6800
6801         * bufferparams.h: remove paper-related enums from there
6802
6803         * paper.h: New file. A trivial header file to hold paper-related
6804         enums. It should later expand to contain many paper-related
6805         horrors access.
6806
6807         * lyxrc.C: declare extern displayTranslator
6808
6809 2003-07-27  José Matos  <jamatos@fep.up.pt>
6810
6811         * tabular.[Ch] (linuxdoc): add support for tables and figures
6812         (linuxdoc).
6813
6814 2003-07-27  José Matos  <jamatos@fep.up.pt>
6815
6816         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6817         consistency in both functions.
6818         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6819
6820 2003-07-26  Asger Alstrup  <alstrup@local>
6821
6822         * rowpainter.C (paintRows): Change algorithm to work directly on
6823         the insets rather than asking every character in the document
6824         whether its an inset.
6825
6826 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * buffer.C (openFileWrite): factorize some code
6829
6830 2003-07-26  Angus Leeming  <leeming@lyx.org>
6831
6832         * lyx_cb.C:
6833         * lyx_main.[Ch]: replace occurances of system_tempdir with
6834         os::getTmpDir().
6835
6836 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6837
6838         * rename Inset to InsetOld
6839
6840 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6841
6842         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6843         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6844         which I think is a bit clearer. EDIT is gone, since it was
6845         premature optimisation, and broken for mathed anyway.
6846         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6847         with cursor positioning in insets as well (math insets still do not
6848         work, but that's a different story anyway.) It mysteriously
6849         crashes sometimes with undo in the first paragraph, but I'm fairly
6850         confident that this is a compiler bug.
6851
6852 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * paragraph.C (Paragraph): adjust for new clone return type
6855         (operator==): ditto
6856         (copyIntoMinibuffer): ditto
6857
6858 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6859
6860         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6861         by not having a special case, and always doing a full rebreak of
6862         the document after undo.
6863
6864 2003-07-23  Angus Leeming  <leeming@lyx.org>
6865
6866         * factory.C (createInset): InsetExternal::setParams now takes a
6867         Buffer const * arg.
6868
6869 2003-07-23  Angus Leeming  <leeming@lyx.org>
6870
6871         * factory.C (createInset): changed interface to the external and
6872         graphics mailers' string2params functions.
6873
6874 2003-07-23  Angus Leeming  <leeming@lyx.org>
6875
6876         * factory.C (createInset): pass a
6877         Buffer const * parameter to InsetExternalMailer's string2params.
6878
6879 2003-07-22  John Levon  <levon@movementarian.org>
6880
6881         * Thesaurus.h: include the right aiksaurus header
6882
6883 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6884
6885         * MenuBackend.C (expand): check menu shortcuts unconditionally
6886
6887 2003-07-21  Angus Leeming  <leeming@lyx.org>
6888
6889         * factory.C (createInset): pass a
6890         buffer_path parameter to InsetGraphicsMailer's string2params.
6891
6892 2003-07-21  Angus Leeming  <leeming@lyx.org>
6893
6894         * BufferView_pimpl.C (buffer):
6895         * buffer.C (d-tor):
6896         * lyx_main.C (LyX):
6897         * lyxfunc.C (dispatch):
6898         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6899         rather than the grfx shortcut.
6900
6901 2003-07-21  André Pönitz  <poenitz@gmx.net>
6902
6903         * rowpainter.C: remove unused variables
6904
6905         * tabular_funcs.C:
6906         * tabular_funcs.h: move to tabular.C
6907         * Makefile.am: adjust
6908
6909         * tabular.[Ch]: basic optical cleaning
6910
6911         * author.h: pass references, not values
6912
6913 2003-07-18  André Pönitz  <poenitz@gmx.net>
6914
6915         * lyxtext.h:
6916         * metricsinfo.C:
6917         * metricsinfo.h:
6918         * rowpainter.C:
6919         * text.C:
6920         * text2.C:
6921         * text3.C: two-phase drawing for InsetText and InsetTabular
6922         some float -> int changes.
6923
6924 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6925
6926         * lyx_main.C: fix the fix
6927
6928 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6929
6930         * lyx_main.C: fix a crash in batch mode if no files specified
6931         * converter.C: ws
6932
6933 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6934
6935         * format.[Ch] (papersize): moved to BufferParams
6936         * converter.[Ch] (dvips_options): moved to BufferParams
6937         (dvipdfm_options): moved to anon namespace
6938         * bufferparams.[Ch]: added above functions.
6939
6940 2003-07-17  André Pönitz  <poenitz@gmx.net>
6941
6942         * lyxtext.h:
6943         * rowpainter.C:
6944         * text2.C: don't call inset->update() anymore
6945
6946         * metricsinfo.[Ch]: add convenience constructor
6947
6948 2003-07-16  André Pönitz  <poenitz@gmx.net>
6949
6950         * lyxcursor.[Ch]:
6951         * lyxfunc.[Ch]:
6952         * text.C:
6953         * text2.C: replace the LyXCursor::irow_ member with
6954          on-demand computation of the value
6955
6956 2003-07-16  John Levon  <levon@movementarian.org>
6957
6958         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6959
6960 2003-07-15  André Pönitz  <poenitz@gmx.net>
6961
6962         * text.C:
6963         * text2.C: remove no more needed refresh_row
6964
6965 2003-07-15  André Pönitz  <poenitz@gmx.net>
6966
6967         * lyxtext.h:
6968         * rowpainter.C:
6969         * text2.C:
6970         * text3.C: refresh_status tristate -> need_update bool
6971
6972 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6973
6974         * lyxtext.h (init): remove reinit argument (act as if always true)
6975         * text2.C: adjust to that
6976
6977 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6978
6979         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6980         * text3.C: use it to delete selections in some cases
6981         (bugs 441, 673, 702, 954).
6982
6983 2003-07-14  André Pönitz  <poenitz@gmx.net>
6984
6985         * rowpainter.[Ch]: reduce interface
6986
6987 2003-07-14  André Pönitz  <poenitz@gmx.net>
6988
6989         * BufferView_pimpl.C:
6990         * text2.C: adjust after removing unused BufferView * argument
6991
6992 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6993
6994         * text2.C (init): fix a crash fired on resize
6995
6996 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6997
6998         * buffer.[Ch]: added new closing signal
6999         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7000         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7001         BufferView::Pimpl via the closing the signal
7002
7003 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7004
7005         * buffer.[Ch]: take out all bv-related from buffer
7006         * BufferView.C:
7007         * BufferView_pimpl.[Ch]: connect to new signals
7008         * CutAndPaste.C: removed useless asserts
7009         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7010         * lyxvc.[Ch]:
7011         * vc-backend.[Ch]:
7012         * lyxfunc.C: moved view-related funciontality from vc here
7013         * paragraph.C: removed outdated comments
7014         * text.C: ws
7015
7016 2003-07-10  André Pönitz  <poenitz@gmx.net>
7017
7018         * BufferView_pimpl.C:
7019         * tabular.h:
7020         * tabular_funcs.C:
7021         * text.C:
7022         * text2.C: remove InsetText::InnerCache, clean up consequences
7023
7024 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7025
7026         * ispell.C: fix two typos in error messages
7027
7028 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7029
7030         * Extend Note inset to other forms of annotation like Comment
7031         and Greyedout. Right button click gives dialog.
7032
7033         Files modified or added (+):
7034
7035         * insetnote.[Ch]
7036         * FormNote.[Ch]      +
7037         * ControlNote.[Ch]   +
7038         * form_note.fd       +
7039         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7040         frontends/controllers
7041         * xforms/Dialogs.C
7042         * factory.C
7043
7044 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7045
7046         * aspell.C: add missing namespace lyx::support
7047
7048 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7049
7050         * BufferView.[Ch] (newFile): Add
7051         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7052         * LaTeX.[Ch] (message): added this signal and use it
7053         * buffer.[Ch] (busy, message): added these signals and use them
7054         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7055         * converter.C:
7056         * exporter.C:
7057         * format.C:
7058         * importer.C: use buffer signals instead of direct bv calling
7059         * lyx_cb.[Ch] (ShowMessage): removed
7060         * lyx_main.C:
7061         * lyxfunc.C:
7062         * paragraph_funcs.C:
7063         * text2.C: use buffer signals
7064
7065 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * introduce namespace lyx::graphics
7068
7069 2003-07-02  André Pönitz  <poenitz@gmx.net>
7070
7071         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7072
7073 2003-07-01  André Pönitz  <poenitz@gmx.net>
7074
7075         * text.C:
7076         * text2.C:
7077         * text3.C:
7078         * text_funcs.[Ch]:
7079         * textcursor.h:
7080         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7081           text*.C to text_func.C
7082
7083 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * introduce namespace lyx::support
7086
7087 2003-06-30  André Pönitz  <poenitz@gmx.net>
7088
7089         * Chktex.C:
7090         * funcrequest.C:
7091         * lyxtext.h:
7092         * text.C: re-enable --with-included-string
7093
7094 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7095
7096         * textcursor.C: add <config.h>
7097
7098         * text.C (getWord): remove const from word_location arg
7099
7100         * lyxvc.C (getLogFile): fix const type order
7101
7102         * lyxtext.h: remove const from word_location arg, add arg name
7103
7104         * lyxlayout.h: currect type on labeltype.
7105
7106         * importer.C: correct \file
7107
7108         * converter.C (intToFormat): use std:: on ret val, ws changes
7109
7110         * bufferlist.h: correct \file
7111
7112         * buffer.C (makeLinuxDocFile): fix const type order
7113         (makeDocBookFile): ditto
7114         (fillWithBibKeys): use std:: on stdlib args.
7115
7116         * CutAndPaste.C: fix authors.
7117         (availableSelections): use std:: on return vector
7118
7119 2003-06-27  André Pönitz  <poenitz@gmx.net>
7120
7121         * BufferView_pimpl.C:
7122         * bufferview_funcs.C:
7123         * lyxcursor.C:
7124         * lyxcursor.h:
7125         * lyxfunc.C:
7126         * lyxtext.h:
7127         * rowpainter.C:
7128         * text.C:
7129         * text2.C:
7130         * text3.C: remove LyXCursor::row_ member
7131
7132         * lyxtext.h:
7133         * text.C: rename fullRebreak() to partialRebreak() and implement
7134           a fullRebreak() that really bereks fully
7135
7136         * textcursor.h: new struct for cursor-related data
7137
7138 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7139
7140         * lyx_main.C (LyX): get full path of document loaded on the
7141         command line
7142
7143 2003-06-26  André Pönitz  <poenitz@gmx.net>
7144
7145         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7146           remove unused/broken operator>,<,>=.
7147
7148         *       text.C: remove only use of broken operator<= in an Assert().
7149
7150 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7151
7152         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7153         moved errorlist_.clear to showErrorList
7154
7155 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7156
7157         * converter.C (scanLog, runLaTeX):
7158         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7159         move the bv->showErrorList call to the callers
7160         * lyxfunc.C: i.e. here...
7161         * text2.C: and here
7162         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7163         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7164         namespace, the second to...
7165         * buffer_funcs (BufferFormat, parseErrors): added
7166         * errorlist.C (ErrorList(TeXErrors const &)): removed
7167
7168 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7169
7170         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7171
7172 2003-06-24  "Garst R. Reese" <reese@isn.net>
7173
7174         * debug.C: fix typo
7175
7176 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7177
7178         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7179
7180         * version.C.in: change docversion to 1.4
7181
7182 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7183
7184         * buffer.C: fix a bug just introduced
7185
7186 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7187
7188         * buffer.[Ch]: added the parseError signal and use it, removed
7189         sgmlError
7190         * BufferView.[Ch] (addError): moved to ...
7191         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7192         to the Buffer::parseError signal to catch (guess what) parse errors
7193         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7194
7195 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7196
7197         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7198         ability to create a buffer and to return an existing one from
7199         the list. Moved these functions to...
7200         * buffer_funcs.[Ch]: added
7201         * BufferView.[Ch] (loadLyXFile): added
7202         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7203         job removed from bufferlist::loadLyXFile.
7204         * buffer.C (setReadOnly): make it work without view
7205         (i.e added an if (users))
7206
7207 2003-06-19  Angus Leeming  <leeming@lyx.org>
7208
7209         * lfuns.h:
7210         * LyXAction.C (init):
7211         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7212         with LFUN_DIALOG_SHOW <name> <data>.
7213
7214 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7215
7216         * CutAndPaste.C (availableSelections): small compilation fix for
7217         ancient (gcc 2.9x) compilers
7218
7219 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7220
7221         * text3.C (cursorNext): add tmp var
7222
7223         * text2.C (updateCounters): for function calling out of for clause
7224         (replaceSelectionWithString): ditto
7225         (insertStringAsParagraphs): ditto
7226         (getColumnNearX): add tmp var
7227         (setCursorFromCoordinates): add tmp var
7228         (cursorDownParagraph): add tmp var
7229         (deleteEmptyParagraphMechanism): add tmp var
7230
7231         * text.C (insertChar): add tmp var
7232
7233         * rowpainter.C (paintDepthBar): add tmp var
7234
7235         * CutAndPaste.C (availableSelections): potentially check all
7236         paragraphs in a cut to fill the shown strings.
7237
7238 2003-06-18  André Pönitz  <poenitz@gmx.net>
7239
7240         * kbmap.[Ch]: use vector<> instead of list<>
7241
7242 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7243
7244         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7245         pasteSelection with index
7246
7247         * text2.C (pasteSelection): modify, call pasteSelection with index
7248
7249         * paragraph.C (asString): reimplement version with no interval to
7250         call the one with interval.
7251
7252         * lyxtext.h: add index arg to pasteSelection
7253
7254         * MenuBackend.C (MenuItem): handle PasteRecent
7255         (Menu::read::Menutags): add md_pasterecent
7256         (read): handle it
7257         (expandPasteRecent): new function
7258         (expand): use it
7259
7260         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7261
7262         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7263         the limited stack
7264         (availableSelections): new function
7265
7266 2003-06-17  Angus Leeming  <leeming@lyx.org>
7267
7268         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7269
7270 2003-06-17  Angus Leeming  <leeming@lyx.org>
7271
7272         * lfuns.h:
7273         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7274
7275         * lyxfunc.C (dispatch): invoke it.
7276
7277 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7278
7279         * iterators.C (operator++, ParPosition): reintroduce some
7280         const_cast for the benefit of older compilers.
7281
7282 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7283
7284         * text3.C (dispatch): do not modify clipboard when doing
7285         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7286         LFUN_DELETE_SKIP on a selection selection
7287
7288 2003-06-16  André Pönitz  <poenitz@gmx.net>
7289
7290         * BufferView.C:
7291         * buffer.C:
7292         * buffer.h:
7293         * paragraph.C:
7294         * tabular.[Ch]: IU of clone() and getLabelList();
7295
7296 2003-06-13  André Pönitz  <poenitz@gmx.net>
7297
7298         * tabular.h: compactification
7299
7300 2003-06-12  André Pönitz  <poenitz@gmx.net>
7301
7302         * tabular.C:
7303         * tabular.h:
7304         * tabular_funcs.h: some renaming plus whitespace
7305
7306 2003-06-12  André Pönitz  <poenitz@gmx.net>
7307
7308         * BufferView.C:
7309         * BufferView_pimpl.C:
7310         * CutAndPaste.C:
7311         * buffer.C:
7312         * iterators.[Ch]:
7313         * lyxfunc.C:
7314         * text.C:
7315         * toc.C: Return a Paragraph & for ParIterator::operator*()
7316
7317 2003-06-11  John Levon  <levon@movementarian.org>
7318
7319         * lyx_main.C:
7320         * ToolbarBackend.h:
7321         * ToolbarBackend.C: add "Toolbars" section and
7322         put the flags there
7323
7324 2003-06-10  Angus Leeming  <leeming@lyx.org>
7325
7326         * lfuns.h:
7327         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7328
7329         * lyxfunc.C (dispatch): invoke it.
7330
7331 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * main.C: protect <ios> with HAVE_IOS
7334         (main): protect sync_with_stdio with HAVE_IOS
7335
7336 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7337
7338         * text2.C (cutSelection): adjust
7339         (pasteSelection): adjust
7340
7341         * messages.C: handle get of empty string
7342
7343         * main.C (main): use sync_with_stdio(false)
7344
7345         * lyxfunc.C (dispatch): adjust
7346
7347         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7348         (WriteAs): remove unneeded BufferView arg.
7349
7350         * bufferparams.h: use correct types on papersize, papersize2 and
7351         paperpackage.
7352
7353         * bufferparams.C (readToken): adjust for type
7354         (writeLaTeX): add missing cases to switch.
7355
7356         * bufferlist.C (quitWriteBuffer): adjust
7357         (close): adjust
7358
7359         * buffer.C (asciiParagraph): remove some commented code.
7360
7361         * CutAndPaste.C: remove current_view extern variable.
7362         (cutSelection): add BufferParams arg.
7363         (eraseSelection): add BufferParams arg.
7364         (pasteSelection): add Buffer const & arg
7365
7366 2003-06-07  John Levon  <levon@movementarian.org>
7367
7368         * buffer.C:
7369         * paragraph_funcs.C:
7370         * paragraph_pimpl.C:
7371         * text.C:
7372         * text2.C:
7373         * paragraph.h:
7374         * paragraph.C: allow InsetERT to freely space lines,
7375         and some consolidation of code
7376
7377 2003-06-06  José Matos  <jamatos@fep.up.pt>
7378
7379         * buffer.C (makeDocBookFile): fix bug #821
7380
7381 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7382
7383         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7384
7385 2003-06-04  Angus Leeming  <leeming@lyx.org>
7386
7387         * buffer.C: bump format to 224.
7388
7389 2003-06-05  André Pönitz  <poenitz@gmx.net>
7390
7391         * text2.C (redoParagraphs): remove two const_cast<>
7392
7393 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7394
7395         * ParagraphList.h: remove last remnants of NO_STD_LIST
7396
7397 2003-06-03  Angus Leeming  <leeming@lyx.org>
7398
7399         * factory.C (createInset): small change to the way InsetExternal's params
7400         are set.
7401
7402 2003-06-04  André Pönitz  <poenitz@gmx.net>
7403
7404         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7405
7406         * paragraph_pimpl.h:
7407         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7408
7409         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7410
7411         * undo_funcs.C: make some simple cases of undo work again
7412
7413 2003-06-03  John Levon  <levon@movementarian.org>
7414
7415         * ispell.C: HPUX doesn't have sys/select.h
7416         (from Albert Chin)
7417
7418 2003-06-03  John Levon  <levon@movementarian.org>
7419
7420         * CutAndPaste.C: update tabular and include inset
7421         buffer references
7422
7423         * buffer.h:
7424         * paragraph.h:
7425         * paragraph.C: remove owningBuffer(), don't pass Buffer
7426         to clone()
7427
7428         * factory.C: insetGraphicsParams changed
7429
7430 2003-06-02  John Levon  <levon@movementarian.org>
7431
7432         * LyXAction.C:
7433         * factory.C:
7434         * lfuns.h:
7435         * lyxfunc.C:
7436         * text3.C: remove insetparent
7437
7438 2003-06-02  John Levon  <levon@movementarian.org>
7439
7440         * buffer.h:
7441         * buffer.C: fix inset_iterator.end(), move out of line
7442         (bug 1149)
7443
7444 2003-06-01  John Levon  <levon@movementarian.org>
7445
7446         * text3.C: use a proper cut/paste when doing inset
7447         insert (from Jürgen Spitzmüller)
7448
7449 2003-06-01  John Levon  <levon@movementarian.org>
7450
7451         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7452
7453 2003-05-30  André Pönitz  <poenitz@gmx.net>
7454
7455         * rowpainter.C: unify second drawing phase
7456
7457 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7458
7459         * trans_mgr.C: remove one case of current_view
7460
7461         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7462
7463         * paragraph_funcs.h: remove paragraph.h include
7464
7465         * paragraph.h: delete NO_STD_LIST stuff
7466
7467         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7468
7469         * buffer.h: remove paragraph.h include
7470
7471         * ParagraphList.C: delete file
7472
7473         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7474
7475         * toc.C (getTocList): adjust
7476
7477         * paragraph_pimpl.C (validate): adjust
7478
7479         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7480
7481         * paragraph.C (Paragraph): adjust
7482         (getPositionOfInset): use const_iterator, adjust
7483         (bibitem): use const_iterator, adjust
7484         (setInsetOwner): adjust
7485
7486         * iterators.C (operator++): adjust
7487
7488         * InsetList.[Ch]: Replace selfmade iterator with standard
7489         vector::iterator also introduce const_iterator. Remove getPos,
7490         getInset and setInset from InsetTable. Adjust accordingly.
7491
7492         * BufferView.C (lockInset): adjust
7493         (ChangeInsets): adjust
7494
7495         * tabular.[Ch]: delete commented same_id functions
7496
7497 2003-05-28  John Levon  <levon@movementarian.org>
7498
7499         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7500
7501 2003-05-28  André Pönitz  <poenitz@gmx.net>
7502
7503         * metricsinfo.[Ch]: remove 'fullredraw' member
7504
7505 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7506
7507         * lyxtextclass.C (operator): remove caching.
7508
7509 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * text3.C: adjust
7512
7513         * text2.C (cursorBottom): adjust
7514         (setCounter): use ParagraphList::find, adjust
7515
7516         * text.C (workWidth): use ParagraphList::find, adjust
7517
7518         * lyxcursor.C (LyXCursor): adjust
7519
7520         * buffer.C (inset_iterator): adjust
7521
7522         * ParagraphList.h: make iterator(value_type) private, make
7523         ParagraphList a friend of iterator.
7524
7525         * ParagraphList.C (find): new function
7526
7527         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7528
7529 2003-05-27  André Pönitz  <poenitz@gmx.net>
7530
7531         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7532
7533 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7534
7535         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7536
7537 2003-05-26  John Levon  <levon@movementarian.org>
7538
7539         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7540
7541 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7542
7543         * remove same_id from function signatures, adjust.
7544
7545 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7548
7549         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7550
7551         * paragraph.C (Paragraph): get rid of same_ids parameter
7552
7553         * ParagraphList.C (insert): adjust
7554         (push_back): adjust
7555
7556 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7557
7558         * paragraph_funcs.C (breakParagraph): adjust
7559         (breakParagraphConservative): adjust
7560
7561         * buffer.C (readParagraph): adjust
7562
7563         * ParagraphList.C (insert): take a reference instead of a pointer
7564         (insert): adjust
7565
7566         * paragraph.[Ch] (id): new function
7567
7568         * bufferlist.C (newFile): adjust
7569
7570         * ParagraphList.C (ParagraphList): adjust
7571         (assign): adjust
7572         (push_back): take a reference instead of a pointer.
7573
7574         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7575
7576         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7577         instead.
7578
7579         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7580         set else use old code.
7581
7582         * ParagraphList.C: remove all NO_NEXT code and only compile this
7583         code of NO_STD_LIST is set.
7584
7585 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7586
7587         * BufferView_pimpl.C:
7588         * TextCache.C:
7589         * TextCache.h:
7590         * bufferlist.C:
7591         * errorlist.h:
7592         * format.C:
7593         * format.h:
7594         * graph.C:
7595         * lyxfunc.C:
7596         * lyxrc.C:
7597         * graphics/GraphicsConverter.C:
7598         * graphics/PreviewLoader.C: header adjustment
7599
7600 2003-05-23  Angus Leeming  <leeming@lyx.org>
7601
7602         * LaTeXFeatures.[Ch] (useBabel): new method.
7603         * bufferparams.C (writeLaTeX): use it.
7604
7605 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * ParagraphList.h (set): remove unused function.
7608
7609 2003-05-23  André Pönitz  <poenitz@gmx.net>
7610
7611         * BufferView.C:
7612         * BufferView_pimpl.C:
7613         * buffer.C:
7614         * buffer.h:
7615         * lyxfunc.C:
7616         * undo_funcs.C: setUndo reworked
7617
7618         * iterators.[Ch]: add access to topmost ParagraphList
7619
7620         * lyxtext.[Ch] (workWidth): add a const
7621
7622 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7623
7624         * texrow.[Ch] (increasePos): remove function
7625         * exporter.C (export): removed unused var and outdated comment
7626
7627 2003-05-23  Angus Leeming  <leeming@lyx.org>
7628
7629         * latexrunparams.h: rename fragile as moving_arg.
7630         * paragraph.C (simpleTeXOnePar): ditto.
7631         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7632
7633 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7634
7635         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7636         (createUndo): ditto
7637         (textUndoOrRedo): comment out a currently unused var.
7638
7639         * paragraph.h (NO_NEXT): enable NO_NEXT
7640
7641         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7642
7643         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7644
7645         * exporter.C (Export): adjust for removeAutoInsets removal.
7646
7647         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7648
7649         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7650
7651         * BufferView.[Ch] (removeAutoInsets): delete function
7652
7653 2003-05-22  Angus Leeming  <leeming@lyx.org>
7654
7655         * latexrunparams.h: add a free_spacing variable.
7656
7657         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7658         to pass moving_arg, as the data is stored in runparams.fragile.
7659
7660         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7661         to Inset::latexOptional or to simpleTeXOnePar.
7662
7663         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7664         free_spacing arg to Inset::latexOptional.
7665
7666         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7667         free_spacing arg.
7668
7669 2003-05-22  Angus Leeming  <leeming@lyx.org>
7670
7671         * latexrunparams.h: add fragile and use_babel variables.
7672
7673         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7674         * buffer.C (makeLaTeXFile): store this returned value in
7675         runparams.use_babel, thus passing it to the inset::latex methods.
7676
7677         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7678         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7679
7680         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7681         longer has a fragile arg, as it is stored in runparams.fragile.
7682
7683         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7684         moving_arg parameter as the data is stored in runparams.fragile.
7685
7686         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7687         a fragile parameter as the data is stored in runparams.fragile.
7688
7689 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7690
7691         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7692
7693 2003-05-22  Angus Leeming  <leeming@lyx.org>
7694
7695         * latexrunparams.h: add a 'bool nice' which defaults to false.
7696
7697         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7698         now encapsulated within runparams.
7699
7700         * bufferlist.C (updateIncludedTeXfiles):
7701         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7702
7703 2003-05-22  Angus Leeming  <leeming@lyx.org>
7704
7705         * latexrunparams.h: new file containing struct LatexRunParams.
7706         * Makefile.am: add new file.
7707
7708         * LaTeX.[Ch] (c-tor, run):
7709         * buffer.[Ch] (makeLaTeXFile):
7710         * bufferlist.[Ch] (updateIncludedTeXfiles):
7711         * converter.C (convert, scanLog):
7712         * converter.[Ch] (runLaTeX):
7713         * exporter.C (Export):
7714         * paragraph.[Ch] (simpleTeXOnePar):
7715         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7716         * paragraph_funcs.[Ch] (latexParagraphs):
7717         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7718         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7719         pass around a LatexRunParams parameter.
7720
7721 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * paragraph.[Ch]: remove unused constructor
7724
7725         * ParagraphList.C (erase): new function, taking two iterators
7726
7727 2003-05-22  André Pönitz  <poenitz@gmx.net>
7728
7729         * undo_funcs.C: remove duplicated code
7730
7731         * iterator.[Ch]: operator=
7732
7733 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7734
7735         * tabular.C (SetMultiColumn): ws changes
7736
7737         * rowpainter.C (paintFirst): get rid of a ->previous
7738
7739         * lyx_cb.C (getPossibleLabel): parlist simplification
7740
7741         * BufferView.C (ChangeInsets): simplify slightly.
7742
7743 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7744
7745         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7746         * lfuns.h: new LFUN_SPACE
7747         * lyxfunc.C: protected space has a new lfun
7748         * paragraph_funcs.C: read new space insets
7749         * text3.C:
7750         * factory.C: handle new space insets
7751
7752 2003-05-22  André Pönitz  <poenitz@gmx.net>
7753
7754         * BufferView.C:
7755         * BufferView_pimpl.C:
7756         * buffer.[Ch]:
7757         * lyxfunc.C:
7758         * undo_funcs.C: return a ParIterator from getParFromID.
7759
7760         * iterators.[Ch]: add two const's
7761
7762 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7763
7764         * toc.C (getTocList): adjust
7765
7766         * iterators.[Ch]: rework for parlist
7767
7768         * buffer.C (par_iterator_begin): adjust
7769         (par_iterator_end): adjust
7770
7771         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7772
7773         * BufferView.C (removeAutoInsets): adjust
7774         (ChangeInsets): adjust
7775
7776 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7777
7778         * text.C (top_y): fix bug 1110
7779
7780 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7781
7782         * errorlist.[Ch]: added
7783         * buffer.C:
7784         * BufferView.[Ch]:
7785         * BufferView_pimpl.C:
7786         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7787         instead
7788
7789 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7790
7791         * Makefile.am: ensure that lyx is relinked upon changes to the
7792         various "convenience" libs.
7793
7794 2003-05-20  Angus Leeming  <leeming@lyx.org>
7795
7796         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7797         files are compiled in alphabetical order again.
7798
7799         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7800
7801 2003-05-19  Angus Leeming  <leeming@lyx.org>
7802
7803         * gettext.[Ch]: remove "char const * _(char const *)".
7804
7805 2003-05-19  André Pönitz  <poenitz@gmx.net>
7806
7807         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7808
7809         * Makefile.am:
7810         * BufferView.C:
7811         * DepTable.h:
7812         * LaTeXFeatures.C:
7813         * buffer.C:
7814         * lyxfont.C:
7815         * lyxlex.h:
7816         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7817
7818 2003-05-19  André Pönitz  <poenitz@gmx.net>
7819
7820         * buffer.C:
7821         * lyxlayout.[Ch]:
7822         * lyxtextclass.[Ch]:
7823         * paragraph.C:
7824         * paragraph_funcs.[Ch]:
7825         * text2.C:
7826         * text3.C: more insetenv work
7827
7828 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7829
7830         * ParagraphParameters.C (params2string): small bug fixed
7831
7832 2003-05-16  André Pönitz  <poenitz@gmx.net>
7833
7834         * debug.C:
7835         * bufferview_funcs.C: patch from Kornel Benko to prevent
7836           crash when _(...) is called twice in a statement
7837
7838 2003-05-16  André Pönitz  <poenitz@gmx.net>
7839
7840         * BufferView.C:
7841         * lyxfunc.C:
7842         * text.C:
7843         * text2.C:
7844         * text3.C:
7845         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7846
7847 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7848
7849         * lyx_main.C (init): remove spurious static_cast
7850
7851 2003-05-14  André Pönitz  <poenitz@gmx.net>
7852
7853         * BufferView.C: fix format string
7854
7855 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7856
7857         * BufferView.[Ch] (insertErrors): removed
7858         * BufferView.[Ch] (showErrorList): added
7859         * buffer.C (runChkTeX):
7860         * converter.C (scanLog): call showErrorList instead of inserterrors
7861
7862 2003-05-13  André Pönitz  <poenitz@gmx.net>
7863
7864         * BufferView_pimpl.C:
7865         * buffer.C:
7866         * bufferview_func.C:
7867         * MenuBackend.C:
7868         * lyxfunc.C:
7869         * lyxrc.C:
7870         * tex-accent.C:
7871         * text3.C:
7872         * toc.C:
7873         * tabular_funcs.h: tostr() from its own header
7874
7875         * ParagraphParameters.C:
7876         * ToolbarBackend.C:
7877         * bufferparams.C:
7878         * format.C:
7879         * lyxlex_pimpl.C:
7880         * text3.C: STRCONV()
7881
7882 2003-05-12  André Pönitz  <poenitz@gmx.net>
7883
7884         * BufferView.C:
7885         * BufferView_pimpl.C:
7886         * CutAndPaste.C:
7887         * LaTeX.C:
7888         * LaTeXFeatures.C:
7889         * ParagraphParameters.C:
7890         * buffer.C:
7891         * bufferlist.C:
7892         * bufferparams.C:
7893         * bufferview_funcs.C:
7894         * converter.C:
7895         * counters.C:
7896         * debug.C:
7897         * exporter.C:
7898         * format.C:
7899         * importer.C:
7900         * lyx_cb.C:
7901         * lyx_main.C:
7902         * lyxfont.C:
7903         * lyxfunc.C:
7904         * lyxvc.C:
7905         * paragraph.C:
7906         * paragraph_funcs.C:
7907         * tabular.C:
7908         * tabular_funcs.C:
7909         * text2.C:
7910         * text3.C:  boost::format -> bformat  all over the place
7911
7912
7913 2003-05-09  André Pönitz  <poenitz@gmx.net>
7914
7915         * LColor.[Ch]: Pimpl the #include <map> away
7916
7917 2003-05-09  John Levon  <levon@movementarian.org>
7918
7919         * bufferlist.C: never remove emergency saves
7920
7921 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7922
7923         * Makefile.am: better lib building
7924
7925 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7926
7927         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7928         instead.
7929         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7930         (simpleTeXSpecialChars): adjust
7931         (simpleTeXSpecialChars): adjust
7932         * paragraph.C (simpleTeXOnePar): adjust
7933         * buffer.C (makeLaTeXFile): adjust
7934
7935         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7936
7937         * text2.C (changeDepth): parlist cleanup
7938         (getColumnNearX): ditto
7939
7940         * rowpainter.C (getLabelFont): parlist cleanup
7941
7942         * bufferlist.C (newFile): parlist cleanup
7943
7944         * CutAndPaste.C (eraseSelection): parlist cleanup
7945
7946         * BufferView_pimpl.C (trackChanges): parlist cleanup
7947         (dispatch): ditto
7948
7949         * BufferView.C (lockInset): parlist cleanup.
7950         (ChangeInsets): ditto
7951
7952 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7953
7954         * CutAndPaste.h: Update file header.
7955
7956         * CutAndPaste.C: Update file header.
7957         Store the parts cut out of the Document in a limited_stack.
7958         (copySelection): adjust
7959         (pasteSelection): new function, takes the index in the limited stack.
7960         (nrOfParagraphs): adjust
7961         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7962         simplify error inset insertion.
7963         (checkPastePossible): adjust
7964
7965 2003-05-06  John Levon  <levon@movementarian.org>
7966
7967         * text2.C: don't cast wrap inset to float
7968
7969 2003-05-05  André Pönitz  <poenitz@gmx.net>
7970
7971         * iterator.C:
7972         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7973
7974         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7975           few naked Paragraph *.
7976
7977 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7978
7979         * bufferparams.C: Output warning if a document with missing
7980         TeX document class is loaded
7981         * exporter.C: Disable TeX exports if the document class is missing
7982         * lyxtextclass.C:
7983         * lyxtextclass.h:
7984         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7985         isTeXClassAvailable()
7986
7987 2003-05-03  John Levon  <levon@movementarian.org>
7988
7989         * BufferView.h:
7990         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7991         explicit cursor show/hide
7992
7993         * BufferView_pimpl.h:
7994         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7995         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7996
7997         * lyxfunc.C: hide cursor before dispatching.
7998
7999         * lyx_cb.C:
8000         * lyxfind.C:
8001         * text.C:
8002         * text3.C: remove explicit cursor hides
8003
8004 2003-05-02  André Pönitz  <poenitz@gmx.net>
8005
8006         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8007
8008         * undo_funcs.C:
8009         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8010           linked lists
8011
8012         * text2.C: tiny whitespace
8013
8014 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8015
8016         * undo_funcs.C: almost only ws changes.
8017
8018         * ParagraphList.C (splice): just return if pl is empty.
8019
8020 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * ParagraphList.C (splice): new function.
8023
8024         * CutAndPaste.C (pasteSelection): use it
8025
8026 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * CutAndPaste.C (pasteSelection): remove the last next and
8029         previous from this file.
8030
8031 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8032
8033         * CutAndPaste.C (pasteSelection): more clean up, user proper
8034         ParagraphList functions for pasteing.
8035
8036         * ParagraphList.C (insert): new function, three arg insert
8037
8038 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8039
8040         * ParagraphList.C (insert): new function, three arg insert
8041
8042         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8043         not on paragraphs.
8044
8045 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8046
8047         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8048
8049 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8052
8053 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8054
8055         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8056         (copySelection): clean up a bit.
8057         (pasteSelection): use make_pair
8058
8059         * ParagraphList.C (ParagraphList): implement copy constructor
8060         (operator=): implement, base on copy constructor.
8061         (assign): new func
8062
8063         * paragraph.C (erase): return a bool
8064
8065         * paragraph_pimpl.C (erasePos): remove function, move contents...
8066         (erase): ... here. Return a bool.
8067         (erase): call erase instead of erasePos.
8068
8069 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8070
8071         * ParagraphList.h: define PitPosPair
8072         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8073         ParagraphList, fix a bug on pasting multiple pars
8074         * text2.C: change interface to C&P
8075
8076 2003-04-30  André Pönitz  <poenitz@gmx.net>
8077
8078         * undo_func.C: revert part of yesterday's patch 2
8079
8080 2003-04-30  John Levon  <levon@movementarian.org>
8081
8082         * LColor.C: s/tabular/table/
8083
8084 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8085
8086         * text3.C (dispatch): do not convert iterator -> pointer
8087         * undo_funcs.C (setCursorParUndo): ditto
8088         * text_funcs.C (transposeChars): ditto
8089
8090         * text2.C (setLayout): ws changes only
8091
8092         * text.C (breakParagraph): do not convert iterator -> pointer
8093         (insertChar): ditto
8094         (acceptChange): ditto
8095         (rejectChange): ditto
8096         (changeCase): ditto
8097         (Delete): ditto
8098         (backspace): ditto
8099
8100         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8101         pointer
8102
8103 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8104
8105         * text3.C (gotoInset): YABG (yet another bad getChar)
8106
8107 2003-04-29  André Pönitz  <poenitz@gmx.net>
8108
8109         * paragraph.h: make operator= private unimplemented as long as
8110           it is unusable
8111
8112         * ParagraphList.C: whitespace
8113
8114         * paragraph.[Ch]:
8115         * paragraph_pimpl.[Ch]:
8116         * paragraph_funcs.C:
8117         * CutAndPaste.C:
8118         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8119
8120         * text2.C:
8121           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8122
8123 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8124
8125         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8126         * paragraph.[Ch] (erase):
8127         * paragraph_pimpl.[Ch] (erase): change return type and value
8128         * text2.C (cutSelection): some rework
8129
8130 2003-04-28  John Levon  <levon@movementarian.org>
8131
8132         * bufferlist.C: changes for unsaved changes dialog
8133
8134 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8135
8136         * bufferlist.C (newFile): set language (messages_) for new
8137         documents also.
8138
8139         * buffer.C (readFile): ws changes only.
8140
8141 2003-04-28  André Pönitz  <poenitz@gmx.net>
8142
8143         * undo_funcs.C:
8144         * lyxfunc.C:
8145         * buffer.[Ch]:
8146         * BufferView_pimpl.C:
8147         * BufferView.C: getParFromID related ParagraphList::iterator changes
8148
8149 2003-04-28  André Pönitz  <poenitz@gmx.net>
8150
8151         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8152           Changes
8153
8154 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * messages.C: remove one more localedir class variable.
8157
8158 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * messages.C (getLocaleDir): singleton generation function
8161         (Pimpl): use it.
8162         (Messages): add a default constructor.
8163
8164         * main.C (main): do not setup localedir here, do not call
8165         gettext_init.
8166
8167         * gettext.C (_): use it.
8168         (gettext_init): delete funciton
8169
8170 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8171
8172         * gettext.C (getLyXMessages): new singleton generating function.
8173
8174         * buffer.C (updateDocLang): adjust
8175
8176         * Makefile.am (messages.o): add target
8177         (main.o): remove target
8178
8179 2003-04-27  John Levon  <levon@movementarian.org>
8180
8181         * bufferlist.C:
8182         * lyx_cb.C:
8183         * lyxfunc.C:
8184         * lyxvc.C: specify cancel button in Alert::prompt
8185
8186 2003-04-26  John Levon  <levon@movementarian.org>
8187
8188         * text3.C:
8189         * lyxfunc.C:
8190         * lfuns.h:
8191         * LyXAction.C: add LFUN_INSET_SETTINGS
8192
8193         * lyxfunc.C: don't enable tabular-feature when there's
8194         just any locking inset
8195
8196 2003-04-26  John Levon  <levon@movementarian.org>
8197
8198         * bufferlist.C: re-add Cancel to buffer close question
8199
8200         * lyxfunc.C: fix import UI a bit
8201
8202 2003-04-25  John Levon  <levon@movementarian.org>
8203
8204         * gettext.C: remove the broken asserts for now
8205
8206 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * messages.C: make case where setlocale cannot comply work better.
8209
8210         * buffer.C (updateDocLang): new function
8211         (changeLanguage): use it
8212         (readFile): use it
8213
8214         * text2.C (setCounter): use B_ a bit.
8215
8216         * lyxlayout.C (Read): be sure to trim the label strings.
8217
8218         * messages.C (Messages): fix typo in comment
8219
8220         * buffer.C (readFile): set message_ after file is loaded.
8221         (makeDocBookFile): remove double return
8222         (changeLanguage): reset message_ upon language change.
8223         (B_): new func, use this to get translated buffer strings.
8224
8225         * main.C: add myself and Jean Marc as authors.
8226
8227 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8228
8229         * messages.[hC]: pimplify Messages, and three different pimpls to be
8230         used in different circumstances.
8231
8232         * gettext.[Ch]: change for use with new message code.
8233
8234 2003-04-24 André Pönitz <poenitz@gmx.net>
8235
8236         * factory.C: support for eqref
8237
8238 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * messages.[Ch]: add missing char
8241
8242         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8243
8244         * messages.[Ch]: New files
8245
8246 2003-04-18  John Levon  <levon@movementarian.org>
8247
8248         * BufferView.h:
8249         * BufferView.C:
8250         * BufferView_pimpl.C:
8251         * lfuns.h:
8252         * LyXAction.C:
8253         * lyxtext.h:
8254         * text2.C: remove layout-copy/paste (bug 778)
8255
8256 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8257
8258         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8259
8260 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8261
8262         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8263         if they succeed. Act accordingly.
8264
8265 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8266
8267         * text2.C (setCharFont): adjust
8268         (setCounter): adjust
8269         (insertStringAsLines): adjust
8270
8271         * text.C (leftMargin): adjust
8272         (setHeightOfRow): adjust
8273
8274         * rowpainter.C (paintFirst): adjust
8275         (paintLast): adjust
8276
8277         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8278         (outerHook): ditto
8279         (isFirstInSequence): ditto
8280         (getEndLabel): ditto
8281         (outerFont): adjust
8282
8283         * paragraph.C (getParLanguage): comment out some hard stuff.
8284
8285         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8286         (sgmlError): ditto
8287         (simpleDocBookOnePar): ditto
8288         (makeDocBookFile): use ParagraphList::iterator
8289
8290         * CutAndPaste.C (pasteSelection): adjust
8291
8292 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8293
8294         * text2.C (getFont): adjust
8295         (getLayoutFont): adjust
8296         (getLabelFont): adjust
8297
8298         * paragraph_funcs.C (TeXOnePar): adjust
8299
8300         * buffer.C (simpleLinuxDocOnePar): adjust
8301         (simpleDocBookOnePar): adjust
8302
8303         * CutAndPaste.C (pasteSelection): adjust
8304
8305         * BufferView.C (getEncoding): adjust
8306
8307         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8308
8309 2003-04-16  John Levon  <levon@movementarian.org>
8310
8311         * lyxfind.C: use parlist stuff for search/changes
8312
8313 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8314
8315         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8316
8317         * text2.C (deleteEmptyParagraphMechanism): adjust
8318
8319         * text2.[Ch] (ownerParagraph): delete func (both of them
8320
8321 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8322
8323         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8324
8325 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8326
8327         * ParagraphList.C: prepare for NO_NEXT
8328
8329 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * text2.C (getFont): adjust
8332         (getLayoutFont): adjust
8333         (getLabelFont): adjust
8334
8335         * paragraph.C (getFont): adjust
8336         (getLabelFont): adjust
8337         (getLayoutFont): adjust
8338
8339         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8340
8341 2003-04-15  John Levon  <levon@movementarian.org>
8342
8343         From Angus Leeming
8344
8345         * lyx_main.C: handle Include in .ui files
8346
8347 2003-04-15  John Levon  <levon@movementarian.org>
8348
8349         * MenuBackend.C: make the doc files length shorter
8350
8351         * ToolbarBackend.h:
8352         * ToolbarBackend.C: handle toolbar placement flags,
8353         Minibuffer
8354
8355 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8358         adjust
8359
8360         * paragraph_funcs.C (TeXOnePar): adjust
8361
8362         * paragraph.C (getLabelFont): add outerfont arg, adjust
8363         (getLayoutFont): ditto
8364         (simpleTeXOnePar): adjust
8365
8366         * paragraph_pimpl.C (realizeFont): delete func
8367
8368 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8369
8370         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8371         row argument, constify cur argument.
8372
8373 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8374
8375         * text2.C (getFont): adjust
8376         (getLayoutFont): adjust
8377         (getLabelFont): adjust
8378
8379         * paragraph_funcs.C (TeXOnePar): adjust
8380         (outerFont): new func...
8381         (realizeFont): ...moved out from here, changed this to facilitate
8382         transition
8383
8384         * paragraph.C (getFont): take outerfont as arg, adjust
8385         (simpleTeXOnePar): add outerfont arg, adjust
8386
8387         * buffer.C (simpleLinuxDocOnePar): adjust
8388         (simpleDocBookOnePar): adjust
8389
8390         * CutAndPaste.C (pasteSelection): adjust
8391
8392         * BufferView.C (getEncoding): adjust
8393
8394 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8395
8396         * text2.C (setCharFont): adjust
8397         (setCounter): adjust
8398
8399         * text.C (leftMargin): adjust
8400         (setHeightOfRow): adjust
8401
8402         * rowpainter.C (paintFirst): adjust
8403         (paintLast): adjust
8404
8405         * paragraph_pimpl.C (realizeFont): adjust
8406
8407         * paragraph.C (isFirstInSequence): move from here...
8408         * paragraph_funcs.C (isFirstInSequence): ...to here
8409
8410         * paragraph.C (outerHook): move from here...
8411         * paragraph_funcs.C (outerHook): ...to here
8412
8413         * paragraph.C (depthHook): move from here...
8414         * paragraph_funcs.C (depthHook): ...to here
8415
8416         * paragraph.C (getEndLabel): move from here...
8417         * paragraph_funcs.C (getEndLabel): ...to here
8418
8419         * text2.C (realizeFont): move from here...
8420         * paragraph_funcs.C (realizeFont): ...to here
8421
8422 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8423
8424         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8425
8426 2003-04-14  Angus Leeming  <leeming@lyx.org>
8427
8428         * LColor.[Ch]: scrap LColor mathcursor.
8429
8430 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8431
8432         * lyxlex.[Ch] (text): delete function
8433         * trans.C (Load): adjust
8434         * paragraph_funcs.C (readParToken): adjust
8435
8436 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8437
8438         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8439         vector<char> instead of a char[].
8440
8441         * lyxlex_pimpl.C (getString): adjust
8442         (next): adjust
8443         (lex): use getString
8444         (eatLine): adjust
8445         (nextToken): adjust
8446
8447         * lyxlex.C (text): use pimpl_->getString()
8448         (getBool): ditto
8449         (findToken): ditto
8450
8451 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8452
8453         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8454         (makeFontEntriesLayoutSpecific): temp var for par.size()
8455         (setLayout): temp var for ownerParagraphs().end()
8456         (fullRebreak): temp var for rows().end()
8457         (selectionAsString): temp var for boost::next(startpit), realize
8458         that the while really is a regular for loop.
8459         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8460         setCursor in one place.
8461         (setParagraph): temp vr for ownerParagraphs().end()
8462         (updateCounters): make the while loop a for loop
8463         (cutSelection): temp var for ownerParagraphs().end()
8464         (updateInset): make the do {} while() a regular for loop
8465         (getCursorX): use temp vars
8466         (setCurrentFont): use temp vars
8467         (getColumnNearX): use temp vars
8468
8469 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8470
8471         * text.C (transformChar): use temp var for getChar
8472         (computeBidiTables): use temp var for row->par()
8473         (fill): move temp vars for row->par() and pit->layout() earlier in
8474         the function.
8475         (labelFill): use temp var for row->par()
8476         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8477         asc and desc, realize that pit never changes and that firstpit is
8478         just a duplicate and not needed. Exchange rit->par() with pit in a
8479         lot of places.
8480         (breakAgain): use a temp var for boost::next(rit)
8481         (breakAgainOneRow): ditto
8482         (breakParagraph): use a temp var for rows().begin()
8483         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8484         (cursorRightOneWord): use temp var for cursor.par() and
8485         cursor.pos(), remove usage of tmpcursor.
8486         (cursorLeftOneWord): use temp var for cursor.par() and
8487         cursor.pos() only set cur at end of function.
8488
8489 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8490
8491         * text.C, text2.C: exchange all usage of Paragraph::next with
8492         boost::next(ParagraphList::iterator)
8493
8494         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8495
8496         * text2.C (cursorTop): simplify implementation
8497         (cursorBottom): ditto
8498         (setParagraph): use ParagraphList::iterator
8499         (setCurrentFont): adjust
8500         (getColumnNearX): adjust
8501         (cursorRight): adjust
8502         (cursorLeft): remove usage of Paragraph::previous
8503         (cursorUpParagraph): ditto
8504         (deleteEmptyParagraphMechanism): slight cleanup
8505
8506         * text.C (isBoundary): take a Paragraph const & instead of a
8507         pointer as arg.
8508         (addressBreakPoint): ditto
8509         (leftMargin): remove usage of Paragraph::previous.
8510         (setHeightOfRow): ditto
8511         (cursorLeftOneWord): ditto
8512         (selectNextWordToSpellcheck): ditto
8513         (Delete): ditto
8514         (backspace): ditto
8515         (breakParagraph): remove one usage of Paragraph::next
8516         (redoParagraph): ditto
8517         (acceptChange): ditto
8518         (insertChar): adjust
8519         (rowBreakPoint): adjust
8520
8521         * bufferview_funcs.C (toggleAndShow): adjust
8522
8523 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8524
8525         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8526         methods to access it.
8527         * lyxtext.h:
8528         * text.C: Added updateRowPositions to compute all row positions.
8529         Make top_y and getRowNearY() to use the cached y position
8530
8531 2003-04-11  John Levon  <levon@movementarian.org>
8532
8533         * text.C (rowBreakPoint): reintroduce the labelEnd
8534         checks, code copied from the row fill stuff. Deep voodoo.
8535
8536         * text.C (fill): add a comment and debugging for the
8537         next poor soul.
8538
8539 2003-04-11  John Levon  <levon@movementarian.org>
8540
8541         * text.C: make sure fullrow insets get wrapped to the next line,
8542         even when they're in a manual label
8543
8544 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8545
8546         * text2.C (insertParagraph): make it take ParagraphList::iterator
8547         as arg.
8548         (setLayout): make it return ParagraphList::iterator
8549         (redoParagraphs): ditto
8550         (setCounter): ditto
8551         (checkParagraph): ditto
8552
8553         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8554
8555         * text2.C: adjust several funcs.
8556         (realizeFont): take a ParagraphList::iterator as arg.
8557         (getLayoutFont): ditto
8558         (getLabelFont): ditto
8559         (setCharFont): ditto
8560
8561         * text.C: adjust several funcs.
8562
8563 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8564
8565         * text.C (selectNextWordToSpellcheck): don't accidentally
8566         skip insets
8567
8568 2003-04-10  John Levon  <levon@movementarian.org>
8569
8570         * ToolbarBackend.C (getIcon): special handling for
8571         LFUN_MATH_DELIM
8572
8573 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8574
8575         * text2.C (cursorRight): a getChar assert fixed
8576
8577 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8578
8579         * text2.C (getFont): change to take a ParagraphList::iterator
8580         instead of Paragraph*
8581         Adjust several functions.
8582
8583         * text.C (transformChar): change to take a ParagraphList::iterator
8584         instead of Paragraph*
8585         (singleWidth): ditto
8586         Adjust several functions.
8587
8588         * rowpainter.C: adjust several functions
8589         * rowpainter.h:store a ParagraphList::iterator and not a
8590         Paragraph&.
8591
8592
8593 2003-04-09  John Levon  <levon@movementarian.org>
8594
8595         * lyxfunc.C:
8596         * lfuns.h:
8597         * LyXAction.h:
8598         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8599         and the "help" bits as well
8600
8601 2003-04-09  John Levon  <levon@movementarian.org>
8602
8603         * ToolbarBackend.h:
8604         * ToolbarBackend.C: allow multiple toolbars
8605
8606 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * undo_funcs.C (setCursorParUndo): adjust
8609
8610         * text_funcs.C (transposeChars): adjust
8611
8612         * text3.C (gotoNextInset): adjust
8613         (dispatch): adjust
8614
8615         * text2.C (setLayout): adjust
8616         (changeDepth): adjust
8617         (setFont): adjust
8618         (redoParagraphs): adjust
8619         (selectionAsString): adjust
8620         (setParagraph): adjust
8621         (insertInset): adjust
8622         (cutSelection): adjust
8623         (copySelection): adjust
8624         (pasteSelection): adjust
8625         (insertStringAsLines): adjust
8626         (updateInset): adjust
8627         (setCursor): change to take a ParagraphList::iterator parameter
8628         (setCursorIntern): change to take a ParagraphList::iterator parameter
8629         (setCurrentFont): adjust
8630         (cursorLeft): adjust
8631         (cursorRight): adjust
8632         (deleteEmptyParagraphMechanism): adjust
8633
8634         * text.C (breakParagraph): adjust
8635         (insertChar): adjust
8636         (acceptChange): adjust
8637         (rejectChange): adjust
8638         (selectNextWordToSpellcheck): adjust
8639         (changeCase): adjust
8640         (Delete): adjust
8641         (backspace): adjust
8642
8643         * lyxfind.C (SearchForward): adjust
8644         (SearchBackward): adjust
8645         (nextChange): adjust
8646
8647         * lyxcursor.C (par): adjust
8648
8649         * lyxcursor.h: store a ParagraphList::iterator instead of a
8650         Paragraph*
8651
8652         * lyx_cb.C (getPossibleLabel): adjust
8653
8654         * bufferview_funcs.C (toggleAndShow): adjust
8655
8656         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8657         (dispatch): adjust
8658
8659         * BufferView.C (removeAutoInsets): adjust
8660         (lockedInsetStoreUndo): adjust
8661
8662 2003-04-09  John Levon  <levon@movementarian.org>
8663
8664         * ToolbarBackend.C: try icon without argument
8665         if with argument fails
8666
8667 2003-04-08  John Levon  <levon@movementarian.org>
8668
8669         * ToolbarBackend.h:
8670         * ToolbarBackend.C: add getIcon(), handle tooltip,
8671         and change from "Icon" to "Item".
8672
8673 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8674
8675         * BufferView.C (lockInset): another bad getchar crunched
8676
8677 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8678
8679         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8680         again)
8681
8682 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8683
8684         * lyxfind.C (searchForward, searchBackwards): bug 782
8685
8686 2003-04-07  John Levon  <levon@movementarian.org>
8687
8688         * paragraph.C: remove dead comment
8689
8690         * text.C: remove troublesome depth-fiddling code
8691         in leftMargin() and rightMargin() (bug 1017)
8692
8693         * text.C: fix breaking of rows in nested lists
8694         (bug 1004)
8695
8696         * text2.C (updateCounters): fix up depth values
8697         (bug 1013)
8698
8699 2003-04-07  John Levon  <levon@movementarian.org>
8700
8701         * BufferView_pimpl.C: clear message when doc finishes resizing,
8702         and after a mouse event
8703
8704         * lyxfunc.C: clear message after exiting inset
8705
8706 2003-04-07  John Levon  <levon@movementarian.org>
8707
8708         * bufferview_funcs.C: show math status not outside
8709         status in the statusbar
8710
8711 2003-04-07  John Levon  <levon@movementarian.org>
8712
8713         * lyxfunc.C: note status changed after a depth change
8714
8715 2003-04-04  Angus Leeming  <leeming@lyx.org>
8716
8717         * LaTeX.h: move AuxInfo operator==, != out of line.
8718         Remove LaTeX virtual destructor; nothing derives from it.
8719         Move operator()() out of public area and rename it startscript().
8720         Change protected for private.
8721
8722 2003-04-04  Angus Leeming  <leeming@lyx.org>
8723
8724         * lyxfunc.C:
8725         * text2.C: remove unneeded #includes.
8726
8727 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8728
8729         * text2.C (dEPM): fix the heigth of the next row
8730
8731 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8732
8733         * text.C: squashed an invalid getChar requester + some ws changes
8734
8735 2003-04-03  John Levon  <levon@movementarian.org>
8736
8737         * bufferview_funcs.h:
8738         * bufferview_funcs.C:
8739         * lyxfunc.C:
8740         * lyxtext.h:
8741         * text2.C: make getStatus work for the env depth lfuns
8742
8743 2003-04-03  John Levon  <levon@movementarian.org>
8744
8745         * bufferview_funcs.h:
8746         * bufferview_funcs.C:
8747         * lyxfunc.C:
8748         * lyxtext.h:
8749         * text2.C: parlistize decDepth(), by merging it with incDepth()
8750
8751 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8752
8753         * lyxrow.h: store a ParagraphList::iterator instead of a
8754         Paragraph* and adjust other class functions to suit.
8755
8756         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8757         above.
8758
8759 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8760
8761         * text2.C (setCursor): do not anchor to cursor row for the time being
8762
8763 2003-04-02  John Levon  <levon@movementarian.org>
8764
8765         * LyXAction.C:
8766         * lfuns.h:
8767         * lyx_main.C:
8768         * lyxtext.h:
8769         * text.C:
8770         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8771
8772 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8773
8774         * paragraph.h: make ParagraphList and ParagraphList::iterator
8775         friends of Paragraph.
8776
8777         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8778
8779         * ParagraphList.C: Use the private next_ and previous_ from
8780         Paragraph.
8781
8782 2003-04-01  John Levon  <levon@movementarian.org>
8783
8784         * ToolbarBackend.h:
8785         * ToolbarBackend.C:
8786         * Makefile.am: rename, remove defaults gunk
8787
8788         * MenuBackend.h:
8789         * MenuBackend.C: remove defaults gunk
8790
8791         * Languages.h:
8792         * Languages.C: remove defaults gunk
8793
8794         * lyx_main.h:
8795         * lyx_main.C: error out if files couldn't be found.
8796
8797 2003-04-02  John Levon  <levon@movementarian.org>
8798
8799         * text2.C: make incDepth() use parlist
8800
8801 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8802
8803         * undo_funcs.C (firstUndoParagraph): adjust
8804
8805         * text3.C (gotoInset): adjust
8806         (dispatch): adjust, and rewrite loop.
8807
8808         * text2.C (init): adjust, and rewrite loop.
8809         (redoParagraphs): adjust
8810         (updateInset): adjust, and rewrite loop.
8811         (deleteEmptyParagraphMechanism): adjust
8812
8813         * tabular.C (LyXTabular): adjust
8814         (SetMultiColumn): adjust
8815         (TeXRow): adjust
8816
8817         * lyxtext.[Ch] (ownerParagraph): delete function
8818         (ownerParagraphs): new function returns a ParagraphList.
8819
8820         * BufferView.C (removeAutoInsets): adjust
8821         (insertErrors): adjust
8822         (setCursorFromRow): adjust
8823
8824 2003-04-01  Angus Leeming  <leeming@lyx.org>
8825
8826         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8827         in the frontends.
8828
8829 2003-04-02  John Levon  <levon@movementarian.org>
8830
8831         * lyxtext.h:
8832         * text.C:
8833         * Makefile.am:
8834         * text_funcs.h:
8835         * text_funcs.C: make transposeChars a free function
8836
8837         * lyxrow_funcs.C: remove wrong comment
8838
8839 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8840
8841         * lyxtext.h: adjust
8842         * rowpainter.C: adjust
8843         * text.C: adjust
8844         * text2.C: adjust
8845         * text3.C: adjust
8846
8847         * lyxrow_funcs. [Ch]: new files
8848
8849         * lyxrow.[Ch]: remove next and previous pointers
8850         (next,previous): remove accessor functions
8851         (isParEnd): move to lyxrow_funcs
8852         (lastPos): move to lyxrow_funcs
8853         (nextRowIsAllInset): move to lyxrow_funcs
8854         (lastPrintablePos): move to lyxrow_funcs
8855         (numberOfSeparators): move to lyxrow_funcs
8856         (numberOfHfills): move to lyxrow_funcs
8857         (numberOfLabelHfills): move to lyxrow_funcs
8858         (hfillExpansion): move to lyxrow_funcs
8859
8860         * lyxfunc.C: adjust
8861
8862         * bufferview_funcs.C (toggleAndShow): adjust
8863
8864         * RowList.h: Remove class RowList from file leave just a
8865         std::list<Row>.
8866
8867         * RowList.C: delete file
8868
8869         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8870         and lyxrow_funcs.h
8871
8872 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8873
8874         * text3.C (cursorPrevious): adjust
8875         (cursorNext): adjust
8876         (dispatch): adjust
8877
8878         * text2.C (redoHeightOfParagraph): adjust
8879         (redoDrawingOfParagraph): adjust
8880         (setCursor): adjust
8881
8882         * text.C (breakParagraph): adjust
8883         (insertChar): adjust
8884         (backspace): adjust
8885
8886         * rowpainter.C (RowPainter): adjust
8887         (leftMargin): simplify and adjust
8888         (most rowpainter functions): adjust.
8889
8890         * rowpainter.h: store the row as RowList::iterator not as Row*
8891
8892         * lyxcursor.C (row): taka RowList::iterator as arg
8893         (irow): ditto
8894
8895         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8896         of Row*.
8897
8898 2003-04-01  Angus Leeming  <leeming@lyx.org>
8899
8900         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8901         stuff like bool Bool.
8902
8903 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8904
8905         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8906         rewrite a loop
8907
8908 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8909
8910         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8911         RowList::iterator.
8912
8913         * lyxtext.h (rows): drop one version and leve a const variant that
8914         returns a RowList::iterator.
8915
8916 2003-03-31  Angus Leeming  <leeming@lyx.org>
8917
8918         * text.C (fill): ensure that the signature is the same as that in the
8919         header file.
8920
8921 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8922
8923         * text2.C (redoParagraphs): adjust
8924         (updateCounters): adjust
8925         (checkParagraph): adjust
8926         (getColumnNearX): adjust and reformat a bit.
8927
8928         * text.C (top_y): adjust
8929         (workWidth): adjust
8930         (leftMargin): adjust
8931         (prepareToPrint): adjust
8932         (getRow): adjust
8933         (getRowNearY): adjust
8934
8935         * lyxtext.h: make rowlist_ mutable.
8936
8937         * RowList.h: add const_iterator
8938         * RowList.C: adjust for RowList::const_iterator.
8939
8940         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8941         adjust.
8942
8943 2003-03-31  John Levon  <levon@movementarian.org>
8944
8945         * lyxrc.h:
8946         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8947
8948         * lyx_main.C: set default fonts from using lyx_gui funcs
8949
8950         * exporter.C: pdf_mode moved from lyxrc
8951
8952         * lyx_cb.C:
8953         * lyxfunc.C: changes from above
8954
8955 2003-03-31  John Levon  <levon@movementarian.org>
8956
8957         * lyx_main.C: fix to the last fix
8958
8959 2003-03-31  John Levon  <levon@movementarian.org>
8960
8961         * bufferlist.C: "Load original" -> "Load Original"
8962
8963         * converter.C:
8964         * exporter.C:
8965         * importer.C:
8966         * lyx_main.C:
8967         * format.C: more Alert cleanups
8968
8969 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8970
8971         * text2.C (removeParagraph): make it take a RowList::iterator as
8972         arg, adjust.
8973         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8974         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8975
8976         * text.C (anchor_row): make it take a RowList::iterator as arg,
8977         adjust.
8978         (computeBidiTables): make it take a const reference to Row instead
8979         of Row pointer, adjust.
8980         (leftMargin): make it take a RowList::iterator as arg, adjust.
8981         (rowBreakPoint): adjust
8982         (breakAgainOneRow): make it take a RowList::iterator as arg,
8983         adjust.
8984         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8985
8986         * bufferview_funcs.C (toggleAndShow): adjust
8987
8988 2003-03-30  John Levon  <levon@movementarian.org>
8989
8990         * Makefile.am:
8991         * BoostFormat.h:
8992         * boost-inst.C: moved to support
8993
8994         * several files: changes as a result
8995
8996 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8997
8998         * text2.C (LyXText): adjust.
8999         (init): adjust
9000         (removeRow): make it take a RowList::iterator as arg, adjust.
9001         (fullRebreak): adjust
9002         (deleteEmptyParagraphMechanism): adjust
9003         (clearPaint): adjust
9004         (postPaint): adjust
9005
9006         * text.C (top_y): adjust
9007         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9008         (breakAgain): make it take a RowList::iterator as arg, adjust.
9009         (breakParagraph): adjust
9010         (insertChar): adjust
9011         (backspace): adjust
9012
9013         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9014         need_break_row, and refresh_row.
9015
9016         * text3.C (dispatch): adjust
9017
9018         * text2.C (checkParagraph): adjust
9019         (setCursor): adjust
9020         (setCursorFromCoordinates): adjust
9021
9022         * text.C (top_y): adjust
9023         (workWidth): adjust
9024         (getRow): make it return a RowList::iterator, adjust
9025         (getRowNearY): make it return a RowList::iterator, adjust
9026
9027         * text2.C (init): adjust
9028         (insertRow): remove function
9029         (insertParagraph): adjust
9030         (redoParagraphs): adjust
9031         (fullRebreak): adjust
9032         (updateCounters): adjust
9033
9034         * text.C (top_y): rewrite to use RowList iterators.
9035         (top_y): adjust
9036         (setHeightOfRow): rewrite to sue RowList iterators.
9037         (appendParagraph): adjust
9038         (breakAgain): adjust
9039         (breakAgainOneRow): adjust
9040         (breakParagraph): adjust
9041         (getRow): adjust
9042         (getRowNearY): adjust, and remove commented code.
9043
9044         * lyxtext.h (firstRow): delete function
9045         (lastRow): delete function
9046         (rows): new function (const and non-const versions.)
9047         (insertRow): delete function
9048
9049         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9050
9051 2003-03-29  John Levon  <levon@movementarian.org>
9052
9053         * BufferView_pimpl.C: always update scrollbar top
9054         because pasting text when we're anchored could mean we
9055         miss an update altogether
9056
9057 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9058
9059         * text2.C (init): use rowlist_.end() and not 0.
9060         (insertRow): change to take a RowList::iterator as arg, adjust
9061         for this.
9062         (insertParagraph): change to take a RowList::iterator as arg,
9063         adjust for this.
9064         (redoParagraphs): remove some debug msgs.
9065
9066         * text.C (appendParagraph): change to take a RowList::iterator
9067         arg, adjust for this.
9068         (breakAgain): add an assert
9069         (breakAgainOneRow): ditto
9070
9071 2003-03-29  John Levon  <levon@movementarian.org>
9072
9073         * text2.C: do not clear selection after inc/decDepth
9074         (bug 550)
9075
9076 2003-03-29  John Levon  <levon@movementarian.org>
9077
9078         * BufferView.C:
9079         * buffer.C: fix broken strerrors according to Lars
9080
9081 2003-03-29  John Levon  <levon@movementarian.org>
9082
9083         * converters.C: more Alert cleanups
9084
9085 2003-03-29  John Levon  <levon@movementarian.org>
9086
9087         * bufferview_funcs.C: remove pointless Alert
9088
9089         * buffer.C: fix confusing error message when
9090         a template is chmoded 000
9091
9092 2003-03-29  John Levon  <levon@movementarian.org>
9093
9094         * BufferView.C:
9095         * BufferView.h:
9096         * BufferView_pimpl.C: Alert fixes
9097
9098         * Makefile.am:
9099         * tabular.C:
9100         * tabular-old.C: remove unused table compat reading
9101
9102 2003-03-29  John Levon  <levon@movementarian.org>
9103
9104         * BufferView.C:
9105         * buffer.C:
9106         * lyx_cb.h:
9107         * lyx_cb.C: more Alert cleanups
9108
9109         * lyxfunc.C: don't allow chktex if not latex document
9110
9111 2003-03-29  John Levon  <levon@movementarian.org>
9112
9113         * lyx_cb.C:
9114         * BufferView.C:
9115         * buffer.C: warnings pushed down from support/,
9116         kill err_alert
9117
9118 2003-03-29  John Levon  <levon@movementarian.org>
9119
9120         * lyxfunc.C: safety check for C-r (revert)
9121
9122 2003-03-29  John Levon  <levon@movementarian.org>
9123
9124         * bufferlist.h:
9125         * bufferlist.C: several UI fixes using Alert::prompt.
9126         Fix the pointless looping quit code. Fix stupid revert
9127         behaviour (bug 938)
9128
9129         * lyxvc.h:
9130         * lyxvc.C:
9131         * lyx_cb.C: use Alert::prompt
9132
9133         * lyx_main.C: remove a silly question
9134
9135         * lyxfunc.C: remove a couple of silly questions,
9136         use Alert::prompt
9137
9138 2003-03-28  John Levon  <levon@movementarian.org>
9139
9140         * text2.C: fix bug 974 (End on empty par)
9141
9142 2003-03-28  John Levon  <levon@movementarian.org>
9143
9144         * BufferView_pimpl.C:
9145         * LyXAction.C:
9146         * lfuns.h: remove do-nothing math greek lfuns
9147
9148 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9149
9150         * lyxgluelength.h (isValidGlueLength): add default arg on
9151         parameter 2. Remove default arg from friend in class.
9152
9153         * lyxlength.h (isValidLength): add default arg on parameter 2.
9154         Remove default arg from friend in class.
9155
9156         * text2.C (LyXText): adjust, initialize refresh_row.
9157         (init): adjust
9158         (removeRow): adjust
9159         (insertRow): adjust
9160         (insertParagraph): adjst
9161         (redoParagraphs): adjust
9162         (fullRebreak): adjust
9163         (updateCounters): adjust
9164         (deleteEmptyParagraphMechanism): first attempt at fixing a
9165         crashing bug.
9166
9167         * text.C (top_y): adjust
9168         (setHeightOfRow): adjust
9169         (getRow): adjust
9170         (getRowNearY): adjust
9171
9172         * lyxtext.h: include RowList.h
9173         (~LyXText): not needed anymore, deleted.
9174         (firstRow): modify for RowList
9175         (lastRow): new function
9176         Delete firstrow and lastrow class variables, add a Rowlist
9177         rowlist_ class variable.
9178
9179         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9180         paragraph is empty.
9181
9182         * RowList.C (insert): fix case where it == begin().
9183
9184 2003-03-26  Angus Leeming  <leeming@lyx.org>
9185
9186         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9187         the thesaurus dialog.
9188
9189 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9190
9191         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9192
9193         * RowList.[Ch]: new files
9194
9195         * ParagraphList.C (erase): handle the case where it == begin
9196         correctly.
9197
9198 2003-03-25  John Levon  <levon@movementarian.org>
9199
9200         * Makefile.am:
9201         * aspell_local.h:
9202         * aspell.C: add new aspell support
9203
9204         * lyxrc.h:
9205         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9206         have it accessible.
9207
9208 2003-03-25  Angus Leeming  <leeming@lyx.org>
9209
9210         * lfuns.h:
9211         * LyXAction.C (init): new LFUN_INSET_INSERT.
9212
9213         * BufferView_pimpl.C (dispatch): split out part of the
9214         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9215
9216         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9217         LFUN_INSET_APPLY.
9218
9219 2003-03-25  Angus Leeming  <leeming@lyx.org>
9220
9221         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9222
9223 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9224
9225         * text2.C:
9226         * text3.C: remove useless row->height(0)
9227
9228 2003-03-25  John Levon  <levon@movementarian.org>
9229
9230         * lyxtext.h:
9231         * text2.C:
9232         * text3.C: rename the refreshing stuff to better names
9233
9234 2003-03-24  John Levon  <levon@movementarian.org>
9235
9236         * BufferView_pimpl.h:
9237         * BufferView_pimpl.C: update layout choice on a mouse
9238         press/release
9239
9240 2003-03-23  John Levon  <levon@movementarian.org>
9241
9242         * Makefile.am: fix commandtags.h reference
9243
9244 2003-03-22  John Levon  <levon@movementarian.org>
9245
9246         * BufferView_pimpl.C:
9247         * lyxtext.h:
9248         * rowpainter.C:
9249         * rowpainter.h:
9250         * text.C:
9251         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9252
9253 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9254
9255         * lyxtext.h:
9256         * text.C: take the rtl methods out of line
9257
9258 2003-03-21 André Pönitz <poenitz@gmx.net>
9259
9260         * metricsinfo.[Ch]: new files containing structures to be passed around
9261         during the two-phase-drawing...
9262
9263 2003-03-21 André Pönitz <poenitz@gmx.net>
9264
9265         * lyxtextclass.C: read 'environment' tag.
9266
9267 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9268
9269         * text2.C (removeRow): fix bug 964
9270
9271 2003-03-20  John Levon  <levon@movementarian.org>
9272
9273         * rowpainter.C:
9274         * text.C:
9275         * text2.C: paint cleanups. Inset::update() dropped font
9276         parameter
9277
9278 2003-03-19  John Levon  <levon@movementarian.org>
9279
9280         * lyxfunc.C: only fitcursor/markDirty if available()
9281
9282 2003-03-19  John Levon  <levon@movementarian.org>
9283
9284         * commandtags.h: rename to ...
9285
9286         * lfuns.h: ... this, and renumber / cleanup
9287
9288 2003-03-19  John Levon  <levon@movementarian.org>
9289
9290         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9291         fit the cursor after an lfun
9292
9293         * BufferView.h:
9294         * BufferView.C:
9295         * BufferView_pimpl.h:
9296         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9297
9298         * LyXAction.C: layout-character should have ReadOnly
9299
9300         * ParagraphParameters.C:
9301         * buffer.C:
9302         * bufferview_funcs.C:
9303         * lyx_cb.C:
9304         * lyxfind.C:
9305         * lyxtext.h:
9306         * text.C:
9307         * text2.C:
9308         * text3.C:
9309         * undo_funcs.C: changes from above
9310
9311 2003-03-18  John Levon  <levon@movementarian.org>
9312
9313         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9314         remove it from update()
9315
9316         * lyxfunc.C: update layout choice after an lfun
9317
9318         * text3.C: remove extra updateLayoutChoice()s
9319
9320 2003-03-18  John Levon  <levon@movementarian.org>
9321
9322         * text.C: top_y change means full repaint, fix
9323         a drawing bug with cursor movement
9324
9325 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9326
9327         * lyxtext.h:
9328         * text.C:
9329         * text2.C: anchor row on setCursor
9330
9331 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9332
9333         * lyxtext.h: remove almost all mutable keywords
9334         * text.C:
9335         * text2.C:
9336         * text3.C: remove const keywords accordingly
9337
9338 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9339
9340         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9341         anon namespace
9342         (TeXEnvironment): ditto
9343         (TeXOnePar): ditto
9344
9345 2003-03-17  John Levon  <levon@movementarian.org>
9346
9347         * text.C (rowBreakPoint): remove attempt to fix displayed
9348         math insets inside a manual label
9349
9350 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9351
9352         * lyxtext.h: remove BufferView* as first arg from almost all class
9353         functions.
9354         * other files: adjust.
9355
9356 2003-03-17  John Levon  <levon@movementarian.org>
9357
9358         * lyxtext.h:
9359         * undo_funcs.C:
9360         * text2.C: more paint cleanups
9361
9362         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9363
9364         * rowpainter.h:
9365         * rowpainter.C: remove "smart" background painting code
9366
9367 2003-03-16  John Levon  <levon@movementarian.org>
9368
9369         * lyxtext.h:
9370         * text.C:
9371         * text2.C:
9372         * text3.C: add helper functions for setting refresh_row/y
9373
9374 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9375
9376         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9377         newline inset which *can* get inserted in the pass_thru layouts.
9378         This is primarily for literate documents.
9379
9380 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9381
9382         * buffer.C: increment LYX_FORMAT to 223
9383
9384 2003-03-14 André Pönitz <poenitz@gmx.net>
9385
9386         * textclass.h: prepare for environment handling, ws changes
9387         * lyxlayout.C: read latexheader and latexfooter tags
9388
9389 2003-03-14  John Levon  <levon@movementarian.org>
9390
9391         * text2.C: rewrite ::status() a bit
9392
9393 2003-03-13  John Levon  <levon@movementarian.org>
9394
9395         * lyxtext.h: add some docs
9396
9397 2003-03-13  John Levon  <levon@movementarian.org>
9398
9399         * lyxtext.h:
9400         * text.C:
9401         * text2.C:
9402         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9403
9404 2003-03-13  John Levon  <levon@movementarian.org>
9405
9406         * text3.C: fix appendix redrawing
9407
9408 2003-03-13  John Levon  <levon@movementarian.org>
9409
9410         * text.C (setHeightOfRow):
9411         * rowpainter.h:
9412         * rowpainter.C: make appendix mark have the text
9413           "Appendix" so the user knows what it is
9414
9415         * LColor.h:
9416         * LColor.C: s/appendixline/appendix/ from above
9417
9418 2003-03-13  John Levon  <levon@movementarian.org>
9419
9420         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9421
9422         * text.C: fix a getChar(pos) bug properly
9423
9424 2003-03-13  Angus Leeming  <leeming@lyx.org>
9425
9426         * commandtags.h:
9427         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9428         Probably only temporary. Let's see how things pan out.
9429
9430         * BufferView.C (unlockInset):
9431         * BufferView_pimpl.C (fitCursor):
9432         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9433
9434         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9435         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9436
9437         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9438         new functions that convert ParagraphParameters to and from a string.
9439
9440         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9441         BufferView::Pimpl's dispatch.
9442         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9443
9444 2003-03-13 André Pönitz <poenitz@gmx.net>
9445
9446         * lyxfunc.C:
9447         * text3.C:
9448         * factory.C: make it aware of InsetEnv
9449
9450 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9451
9452         * text2.C (setCursor): never ask for one past last
9453         (setCursor): add some debugging messages.
9454
9455         * text.C (singleWidth): never ask for one past last
9456         (singleWidth): ditto
9457         (leftMargin): ditto
9458         (rightMargin): ditto
9459         (rowBreakPoint): ditto
9460         (setHeightOfRow): ditto
9461         (prepareToPrint): ditto
9462
9463         * rowpainter.C (paintBackground): never ask for one past last
9464         (paintText): never ask for one past last
9465
9466         * paragraph_pimpl.C (getChar): make the assert stricter, never
9467         allow the one past last pos to be taken
9468
9469         * paragraph.C (getChar): ws changes only
9470
9471         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9472         (numberOfSeparators): ditto
9473         (numberOfHfills): ditto
9474
9475 2003-03-12  John Levon  <levon@movementarian.org>
9476
9477         * author.h:
9478         * author.C:
9479         * bufferparams.h:
9480         * bufferparams.C:
9481         * paragraph_funcs.C: fix per-buffer authorlists
9482
9483 2003-03-12  John Levon  <levon@movementarian.org>
9484
9485         * text.C: fix newline in right address
9486
9487 2003-03-12  Angus Leeming  <leeming@lyx.org>
9488
9489         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9490         duplicate those in LyXFunc::dispatch.
9491
9492         * commandtags.h:
9493         * LyXAction.C:
9494         * ToolbarDefaults.C:
9495         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9496         Add LFUN_FONTFREE_UPDATE.
9497
9498         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9499         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9500
9501         * bufferview_func.[Ch]: several new functions to facilliate
9502         transfer of data to and from the character dialog.
9503
9504 2003-03-12  John Levon  <levon@movementarian.org>
9505
9506         * buffer.C:
9507         * paragraph.h:
9508         * paragraph.C:
9509         * paragraph_funcs.C:
9510         * paragraph_pimpl.C:
9511         * sgml.C:
9512         * tabular.C:
9513         * text.C:
9514         * text3.C: remove META_NEWLINE in favour of an inset
9515
9516         * rowpainter.h:
9517         * rowpainter.C: remove paintNewline (done by inset)
9518
9519 2003-03-12  John Levon  <levon@movementarian.org>
9520
9521         * paragraph_pimpl.C: complain about bad getChar()s
9522         for a while at least
9523
9524 2003-03-12  John Levon  <levon@movementarian.org>
9525
9526         * buffer.h:
9527         * buffer.C: move paragraph read into a separate function,
9528         a little renaming to reflect that.
9529
9530         * bufferparams.h:
9531         * bufferparams.C: remove the author_ids map, not necessary now
9532
9533         * factory.h:
9534         * factory.C: moved Buffer::readInset to here
9535
9536         * paragraph_funcs.h:
9537         * paragraph_funcs.C: readParagraph free function moved from
9538         buffer.C
9539
9540         * tabular.C: name change
9541
9542 2003-03-12  John Levon  <levon@movementarian.org>
9543
9544         * buffer.C:
9545         * ParagraphParameters.C: move par params input to
9546         a read() method
9547
9548         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9549         behave like a normal read from the stream wrt reading
9550         a line vs. a \\token
9551
9552 2003-03-12  John Levon  <levon@movementarian.org>
9553
9554         * paragraph.C:
9555         * ParagraphParameters.h:
9556         * ParagraphParameters.C: move output code to a
9557         ::write() method
9558
9559 2003-03-12  John Levon  <levon@movementarian.org>
9560
9561         * BufferView.C (insertLyXFile):
9562         * buffer.h:
9563         * buffer.C:
9564         * tabular.C: use a parlist iterator for creating the
9565           document.
9566
9567 2003-03-12  John Levon  <levon@movementarian.org>
9568
9569         * buffer.C: make current_change static local not
9570           static file-scope
9571
9572 2003-03-12  John Levon  <levon@movementarian.org>
9573
9574         * buffer.C: fix insertStringAsLines for change tracking
9575
9576 2003-03-12  John Levon  <levon@movementarian.org>
9577
9578         * BufferView.C:
9579         * tabular.C:
9580         * buffer.h:
9581         * buffer.C:
9582         * bufferparams.h:
9583         * bufferparams.C: move author list into params. Rename some
9584           functions. Move the header reading into a separate token
9585           loop. Move the header token reading into BufferParams.
9586
9587 2003-03-12  John Levon  <levon@movementarian.org>
9588
9589         * changes.C: put debug inside lyxerr.debugging() checks
9590
9591 2003-03-11 André Pönitz <poenitz@gmx.net>
9592
9593         * factory.C: make it aware of InsetHFill
9594
9595 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9596
9597         * buffer.C (latexParagraphs): move function from here...
9598         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9599         args.
9600
9601 2003-03-10  Angus Leeming  <leeming@lyx.org>
9602
9603         * LyXAction.C (init): fix bug in poplating array with multiple entries
9604         with the same LFUN (spotted by JMarc).
9605
9606 2003-03-10  John Levon  <levon@movementarian.org>
9607
9608         * text.C:
9609         * text2.C: move getColumnNearX() near its
9610         only call site
9611
9612 2003-03-10  John Levon  <levon@movementarian.org>
9613
9614         * text.C: fix break before a minipage
9615
9616 2003-03-10  John Levon  <levon@movementarian.org>
9617
9618         * text.C: fix the last commit
9619
9620 2003-03-09  John Levon  <levon@movementarian.org>
9621
9622         * lyxtext.h:
9623         * text.C:
9624         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9625         bug 365 (don't break before insets unless needed). Don't
9626         return a value > last under any circumstances.
9627
9628 2003-03-09  Angus Leeming  <leeming@lyx.org>
9629
9630         * BufferView_pimpl.C (trackChanges, dispatch): call
9631         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9632
9633 2003-03-09  Angus Leeming  <leeming@lyx.org>
9634
9635         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9636         than Dialogs::showAboutlyx().
9637
9638 2003-03-09  Angus Leeming  <leeming@lyx.org>
9639
9640         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9641         than Dialogs::showTabularCreate().
9642
9643 2003-03-09  John Levon  <levon@movementarian.org>
9644
9645         * lyxtext.h:
9646         * text.C:
9647         * text2.C: 3rd arg to nextBreakPoint was always the same.
9648           Use references.
9649
9650 2003-03-08  John Levon  <levon@movementarian.org>
9651
9652         * lyxrow.C:
9653         * paragraph.C:
9654         * paragraph.h:
9655         * rowpainter.C:
9656         * text.C:
9657         * text2.C: Remove the "main" bit from the "main body"
9658           notion.
9659
9660 2003-03-08  John Levon  <levon@movementarian.org>
9661
9662         * text.C (leftMargin): The left margin of an empty
9663         manual label paragraph should not include the label width
9664         string length.
9665
9666         * text.C (prepareToPrint): don't attempt to measure hfills
9667         for empty manual label paragraphs - the answer should be 0
9668
9669 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9670
9671         * CutAndPaste.C: remove commented code and reindent.
9672
9673 2003-03-08  John Levon  <levon@movementarian.org>
9674
9675         * lyxfunc.h:
9676         * lyxfunc.C: move reloadBuffer()
9677
9678         * BufferView.h:
9679         * BufferView.C: to here
9680
9681         * lyxvc.C: add comment
9682
9683         * vc-backend.h:
9684         * vc-backend.C: call bv->reload() to avoid
9685           getStatus() check on MENURELOAD
9686
9687 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9688
9689         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9690         to an old format .dep file.
9691
9692 2003-03-07  Angus Leeming  <leeming@lyx.org>
9693
9694         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9695         when the LFUN_MOUSE_RELEASE should have been handled by
9696         inset->localDispatch.
9697
9698 2003-03-07  Angus Leeming  <leeming@lyx.org>
9699
9700         * BufferView_pimpl.C (dispatch):
9701         * LyXAction.C (init):
9702         * ToolbarDefaults.C (init):
9703         * commandtags.h:
9704         * lyxfunc.C (getStatus):
9705         remove LFUN_INSET_GRAPHICS.
9706
9707         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9708
9709 2003-03-07  Angus Leeming  <leeming@lyx.org>
9710
9711         * commandtags.h:
9712         * LyXAction.C (init):
9713         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9714
9715         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9716
9717         * commandtags.h:
9718         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9719
9720         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9721         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9722
9723 2003-03-07  Angus Leeming  <leeming@lyx.org>
9724
9725         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9726         remove "ert".
9727
9728 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9729
9730         * ParagraphList.C (front): new function
9731         (back): implement
9732
9733 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9734
9735         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9736         and top_row_offset_. removed var first_y.
9737         * text.C (top_y):
9738         * text2.C (LyXText, removeRow):
9739         * text3.C:
9740         * BufferView_pimpl.C:
9741         use these methods instead of using first_y
9742
9743 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9744
9745         * text2.C (pasteSelection): adjust for checkPastePossible
9746
9747         * CutAndPaste.C: remove Paragraph * buf and replace with
9748         ParagraphList paragraphs.
9749         (DeleteBuffer): delete
9750         (cutSelection): change the tc type to textclass_type
9751         (copySelection): change the tc type to textclass_type
9752         (copySelection): adjust for ParagraphList
9753         (pasteSelection): change the tc type to textclass_type
9754         (pasteSelection): adjust for Paragraphlist
9755         (nrOfParagraphs): simplify for ParagraphList
9756         (checkPastePossible): simplify for ParagraphList
9757         (checkPastePossible): remove unused arg
9758
9759         * ParagraphList.C (insert): handle the case where there are no
9760         paragraphs yet.
9761
9762         * CutAndPaste.h: make CutAndPaste a namespace.
9763
9764         * text3.C (dispatch): adjust
9765
9766         * text.C (breakParagraph): add a ParagraphList as arg
9767
9768         * paragraph_funcs.C (breakParagraph): change to take a
9769         BufferParams and a ParagraphList as args.
9770         (breakParagraphConservative): ditto
9771         (mergeParagraph): ditto
9772         (TeXDeeper): add a ParagraphList arg
9773         (TeXEnvironment): ditto
9774         (TeXOnePar): ditto
9775
9776         * buffer.C (readLyXformat2): adjust
9777         (insertStringAsLines): adjust
9778         (latexParagraphs): adjust
9779
9780         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9781         (cutSelection): adjust
9782         (pasteSelection): adjust
9783
9784         * BufferView_pimpl.C (insertInset): adjust
9785
9786 2003-03-05  Angus Leeming  <leeming@lyx.org>
9787
9788         * commandtags.h:
9789         * LyXAction.C (init):
9790         * BufferView_pimpl.C (dispatch):
9791         * lyxfunc.C (getStatus):
9792         remove LFUN_CHILD_INSERT.
9793
9794         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9795
9796 2003-03-05  Angus Leeming  <leeming@lyx.org>
9797
9798         * commandtags.h:
9799         * LyXAction.C (init):
9800         * src/factory.C (createInset):
9801         * lyxfunc.C (getStatus):
9802         * text3.C (dispatch):
9803         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9804
9805         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9806
9807 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9808
9809         * ParagraphList.C (insert): handle insert right before end()
9810         (erase): fix cases where it can be first or last paragraph.
9811
9812 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9813
9814         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9815         Paragraph::next and Paragraph::previous
9816         (TeXOnePar): ditto
9817
9818         * text.C (breakParagraph): adjust
9819
9820         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9821         BufferParams& as arg.
9822         (breakParagraph): use ParagraphList::insert
9823         (breakParagraphConservative): take a Buffer* instead of a
9824         BufferParams& as arg.
9825         (breakParagraphConservative): use ParagraphList::insert.
9826
9827         * buffer.C (insertStringAsLines): un-const it
9828         (insertStringAsLines): adjust
9829
9830         * ParagraphList.C (insert): new function
9831
9832         * CutAndPaste.C (pasteSelection): adjust
9833
9834         * text.C (backspace): adjust
9835
9836         * tabular.C (SetMultiColumn): adjust
9837
9838         * CutAndPaste.C (cutSelection): adjust
9839         (pasteSelection): adjust
9840
9841         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9842         Buffer const * as arg
9843
9844         * ParagraphList.C (erase): new function
9845         * paragraph_funcs.C (mergeParagraph): use it
9846         (mergeParagraph): make it take a Buffer* instead of a
9847         BufferParams* as arg
9848
9849         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9850         as arg
9851         (breakParagraphConservative): ditto
9852
9853         * paragraph.h: remove the breakParagraph friend
9854
9855         * paragraph.C (eraseIntern): new function
9856         (setChange): new function
9857
9858         * paragraph_funcs.C (mergeParagraph): make it take a
9859         ParagraphList::iterator instead of a Paragraph *, adjust
9860         accordingly.
9861
9862         * paragraph.h: move an #endif so that the change tracking stuff
9863         also works in the NO_NEXT case.
9864
9865 2003-03-04  Angus Leeming  <leeming@lyx.org>
9866
9867         * commandtags.h:
9868         * LyXAction.C: new LFUN_INSET_MODIFY.
9869
9870         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9871         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9872
9873 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9874
9875         * several files: ws changes only
9876
9877         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9878         (TeXEnvironment): ditto
9879         (TeXDeeper): ditto
9880
9881         * buffer.C (makeLaTeXFile): adjust
9882         (latexParagraphs): make it take ParagraphList::iterator as args
9883
9884 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9885
9886         * buffer.C (latexParagraphs): adjust
9887
9888         * paragraph.C (TeXOnePar): move function...
9889         (optArgInset): move function...
9890         (TeXEnvironment): move function...
9891         * paragraph_pimpl.C (TeXDeeper): move function...
9892         * paragraph_funcs.C: ...here
9893
9894         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9895
9896 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9897
9898         * buffer.C (readInset): remove compability code for old Figure and
9899         InsetInfo insets
9900
9901 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9902
9903         * buffer.C: ws changes
9904         (readInset):
9905
9906         * BufferView_pimpl.C: ditto
9907         * author.C: ditto
9908         * buffer.h: ditto
9909         * bufferlist.h: ditto
9910         * changes.h: ditto
9911         * lyxfunc.C: ditto
9912
9913 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9914
9915         * converter.[Ch]: split into itself +
9916         * graph.[Ch]
9917         * format.[Ch]
9918         * Makefile.am: += graph.[Ch] + format.[Ch]
9919         * MenuBackend.C
9920         * buffer.C
9921         * exporter.C
9922         * importer.C
9923         * lyx_main.C
9924         * lyxfunc.C
9925         * lyxrc.C: added #include "format.h"
9926
9927 2003-02-27  Angus Leeming  <leeming@lyx.org>
9928
9929         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9930           a label.
9931
9932         * factory.C (createInset): add "label" to the factory.
9933
9934         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9935           string and do no more.
9936
9937 2003-02-27  Angus Leeming  <leeming@lyx.org>
9938
9939         * commandtags.h:
9940         * LyXAction.C (init):
9941         * factory.C (createInset):
9942         * BufferView_pimpl.C (dispatch):
9943           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9944
9945         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9946
9947         * lyxfunc.C (dispatch):
9948         * text3.C (dispatch): pass name to params2string.
9949
9950 2003-02-26  Angus Leeming  <leeming@lyx.org>
9951
9952         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9953           blocks together.
9954           Rearrange the ~includes. Strip out the unnecessary ones.
9955
9956         * factory.C (createInset): reformat.
9957           create new insets for the various LFUN_XYZ_APPLY lfuns.
9958
9959 2003-02-26  John Levon  <levon@movementarian.org>
9960
9961         * lyxrow.h:
9962         * lyxrow.C: add isParStart,isParEnd helpers
9963
9964         * paragraph.h: make isInserted/DeletedText take refs
9965
9966         * paragraph_funcs.h:
9967         * paragraph_funcs.C: remove #if 0'd code
9968
9969         * lyxtext.h:
9970         * text3.C:
9971         * text2.C:
9972         * text.C: use lyxrow helpers above.
9973           Move draw and paint routines to RowPainter.
9974           Make several methods use refs not pointers.
9975           Make backgroundColor() const.
9976           Add markChangeInDraw(), isInInset().
9977           Merge changeRegionCase into changeCase.
9978           Make workWidth() shouldn't-happen code into an Assert.
9979
9980         * rowpainter.h:
9981         * rowpainter.C: new class for painting a row.
9982
9983         * vspace.h:
9984         * vspace.C: make inPixels take a ref
9985
9986 2003-02-26  Angus Leeming  <leeming@lyx.org>
9987
9988         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9989         LFUN_REF_APPLY.
9990
9991 2003-02-25  John Levon  <levon@movementarian.org>
9992
9993         * ispell.C: give the forked command a more accurate name
9994
9995 2003-02-22  John Levon  <levon@movementarian.org>
9996
9997         * toc.h:
9998         * toc.C: make TocItem store an id not a Paragraph *
9999           (bug #913)
10000
10001 2003-02-21  Angus Leeming  <leeming@lyx.org>
10002
10003         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10004           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10005           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10006           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10007           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10008           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10009
10010         * BufferView_pimpl.C (dispatch):
10011         * LyXAction.C (init):
10012         * factory.C (createInset):
10013         * lyxfunc.C (getStatus, dispatch):
10014         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10015
10016 2003-02-21  Angus Leeming  <leeming@lyx.org>
10017
10018         * BufferView_pimpl.C (MenuInsertLyXFile):
10019         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10020         * lyxfunc.C (menuNew, open, doImport):
10021           no longer pass a LyXView & to fileDlg.
10022
10023 2003-02-21  Angus Leeming  <leeming@lyx.org>
10024
10025         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10026         * LyXAction.C: change, BIBKEY to BIBITEM.
10027         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10028         Change InsetBibKey to InsetBibitem.
10029         Change BIBKEY_CODE to BIBITEM_CODE.
10030         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10031         * factory.C: replace insetbib.h with insetbibitem.h.
10032         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10033         * paragraph.C: replace insetbib.h with insetbibitem.h.
10034         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10035         Change bibkey() to bibitem().
10036         * text.C: remove insetbib.h.
10037         * text2.C: replace insetbib.h with insetbibitem.h.
10038         change bibkey() to bibitem().
10039         * text3.C: remove insetbib.h.
10040         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10041
10042 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10043
10044         * lyxrc.C (output): enclose user email in quotes (in case there are
10045         several words)
10046
10047 2003-02-18  John Levon  <levon@movementarian.org>
10048
10049         * buffer.h: add std::
10050
10051 2003-02-17  John Levon  <levon@movementarian.org>
10052
10053         * SpellBase.h:
10054         * ispell.h:
10055         * ispell.C:
10056         * pspell.h:
10057         * pspell.C: reworking. Especially in ispell, a large
10058           number of clean ups and bug fixes.
10059
10060         * lyxfunc.C: fix revert to behave sensibly
10061
10062 2003-02-17 André Pönitz <poenitz@gmx.net>
10063
10064         * LyXAction.C:
10065         * commandtags.h: new LFUN_INSERT_BIBKEY
10066
10067         * layout.h:
10068         * lyxlayout.C:
10069         * buffer.C:
10070         * factory.C:
10071         * text.C:
10072         * text2.C:
10073         * text3.C:
10074         * paragraph.[Ch]:
10075         * paragraph_func.C: remove special bibkey handling
10076
10077 2003-02-17  John Levon  <levon@movementarian.org>
10078
10079         * text.C (Delete): fix case where delete at the end of
10080           the very first paragraph would not merge the pars
10081
10082 2003-02-17  John Levon  <levon@movementarian.org>
10083
10084         * lyxrow.C: fix lastPrintablePos()
10085
10086 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10087
10088         * bufferparams.C (writeLaTeX): add a std:here
10089
10090         * buffer.C: and remove a using directive there
10091
10092 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10093
10094         * buffer.C (makeLaTeXFile): move the code that generates the
10095           preamble...
10096
10097         * bufferparams.C (writeLaTeX): ... in this new method
10098
10099         * LaTeXFeatures.C (getEncodingSet): make const
10100           (getLanguages): make const
10101
10102         * MenuBackend.C (binding): returns the binding associated to this
10103           action
10104           (add): sets the status of each item by calling getStatus. Adds
10105           some intelligence.
10106           (read): add support for OptSubMenu
10107           (expand): remove extra separator at the end of expanded menu
10108
10109 2003-02-15  John Levon  <levon@movementarian.org>
10110
10111         * BufferView.C:
10112         * BufferView_pimpl.C:
10113         * bufferlist.h:
10114         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10115           inset code that had no actual effect. Remove unneeded status
10116           code.
10117
10118 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10119
10120         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10121           in preamble
10122
10123 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10124
10125         * text.C (drawLengthMarker): also draw an arrow marker for
10126           symbolic lengths (medskip...)
10127
10128 2003-02-14  John Levon  <levon@movementarian.org>
10129
10130         * tabular.h:
10131         * tabular.C: better method names
10132
10133 2003-02-14  John Levon  <levon@movementarian.org>
10134
10135         * BufferView_pimpl.C:
10136         * bufferlist.C:
10137         * buffer.C:
10138         * converter.C:
10139         * lyx_cb.C:
10140         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10141           it's a more accurate name. Remove some pointless uses.
10142
10143 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10144
10145         * text2.C (LyXText): change order of initilizers to shut off
10146           warnings
10147
10148 2003-02-14  John Levon  <levon@movementarian.org>
10149
10150         * buffer.C: use ParIterator for getParFromID()
10151
10152         * paragraph.h:
10153         * paragraph.C:
10154         * paragraph_pimpl.h:
10155         * paragraph_pimpl.C: remove unused getParFromID()
10156
10157 2003-02-14  John Levon  <levon@movementarian.org>
10158
10159         * buffer.C: remove some very old #if 0'd parse code
10160
10161 2003-02-13  John Levon  <levon@movementarian.org>
10162
10163         * text.h:
10164         * text.C:
10165         * text2.C: move hfillExpansion(), numberOfSeparators(),
10166           rowLast(), rowLastPrintable(), numberofHfills(),
10167           numberOfLabelHfills() ...
10168
10169         * lyxrow.h:
10170         * lyxrow.C: ... to member functions here.
10171
10172         * paragraph.h:
10173         * paragraph.C:
10174         * lyxtext.h:
10175         * text.C: remove LyXText::beginningOfMainBody(), and call
10176           p->beginningOfMainBody() directly. Move the check for
10177           LABEL_MANUAL into the latter.
10178
10179         * text.h:
10180         * text.C:
10181         * text2.C:
10182         * vspace.C:
10183         * BufferView.h:
10184         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10185
10186         * text.h:
10187         * text.C:
10188         * text2.C:
10189         * text3.C:
10190         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10191           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10192
10193 2003-02-13  John Levon  <levon@movementarian.org>
10194
10195         * CutAndPaste.C: remove debug
10196
10197 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10198
10199         * paragraph.C (asString): remove two unused variables
10200
10201         * lyxtextclass.C (readTitleType):
10202           (Read):
10203           (LyXTextClass): handle new members titletype_ and titlename_
10204
10205         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10206
10207 2003-02-09  John Levon  <levon@movementarian.org>
10208
10209         * buffer.h:
10210         * buffer.C: replace hand-coded list with a map for the dep clean
10211
10212 2003-02-08  John Levon  <levon@movementarian.org>
10213
10214         * LaTeX.C: consolidate code into showRunMessage() helper
10215
10216 2003-02-08  John Levon  <levon@movementarian.org>
10217
10218         * lyxfind.C:
10219         * lyxtext.h:
10220         * text2.C:
10221         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10222           and pass the size in explicitly
10223
10224         * BufferView_pimpl.h:
10225         * BufferView_pimpl.C:
10226         * BufferView.h:
10227         * BufferView.C: add getCurrentChange()
10228
10229         * BufferView_pimpl.h:
10230         * BufferView_pimpl.C: handle change lfuns
10231
10232         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10233           for changes. Mark pasted paragraphs as new.
10234
10235         * support/lyxtime.h:
10236         * support/lyxtime.C:
10237         * DepTable.C: abstract time_t as lyx::time_type
10238
10239         * LColor.h:
10240         * LColor.C: add colours for new text, deleted text, changebars
10241
10242         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10243           package use "usenames" option.
10244
10245         * commandtags.h:
10246         * lyxfunc.C:
10247         * LyXAction.C: add change lfuns
10248
10249         * Makefile.am:
10250         * author.h:
10251         * author.C: author handling
10252
10253         * buffer.h:
10254         * buffer.C: add a per-buffer author list, with first entry as
10255           current author. Handle new .lyx tokens for change tracking. Output
10256           author list to .lyx file. Output dvipost stuff to .tex preamble.
10257           Bump lyx format to 222.
10258
10259         * bufferlist.h:
10260         * bufferlist.C: add setCurrentAuthor() to reset current author details
10261           in all buffers.
10262
10263         * bufferparams.h:
10264         * bufferparams.C: add param for tracking
10265
10266         * bufferview_funcs.C: output change info in minibuffer
10267
10268         * Makefile.am:
10269         * changes.h:
10270         * changes.C: add change-tracking structure
10271
10272         * debug.h:
10273         * debug.C: add CHANGES debug flag
10274
10275         * lyxfind.h:
10276         * lyxfind.C: add code for finding the next change piece
10277
10278         * lyxrc.h:
10279         * lyxrc.C: add user_name and user_email
10280
10281         * lyxrow.h:
10282         * lyxrow.C: add a metric for the top of the text line
10283
10284         * lyxtext.h:
10285         * text.C: implement accept/rejectChange()
10286
10287         * lyxtext.h:
10288         * text.C: paint changebars. Paint new/deleted text in the chosen
10289         colours. Strike through deleted text.
10290
10291         * paragraph.h:
10292         * paragraph.C:
10293         * paragraph_pimpl.h:
10294         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10295           in the current change to the insert functions. Rework erase to
10296           mark text as deleted, adding an eraseIntern() and a range-based
10297           erase(). Implement per-paragraph change lookup and
10298           accept/reject.
10299
10300         * paragraph_funcs.C: Fixup paste for change tracking.
10301
10302         * tabular.C: mark added row/columns as new.
10303
10304         * text.C: fix rowLast() to never return -1. Don't allow
10305           spellchecking of deleted text. Track transpose changes. Don't
10306           allow paragraph break or merge where appropriate.
10307
10308         * text2.C: leave cursor at end of selection after a cut.
10309
10310 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10311
10312         * text.C (getLengthMarkerHeight):
10313         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10314         visible on screen too.
10315
10316 2003-02-07  John Levon  <levon@movementarian.org>
10317
10318         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10319
10320 2003-02-05  Angus Leeming  <leeming@lyx.org>
10321
10322         * lyxserver.C (read_ready): revert my patch of 11 September last year
10323         as it sends PC cpu through the roof. Presumably this means that
10324         the lyxserver will no longer run on an Alpha...
10325
10326 2003-01-30  Angus Leeming  <leeming@lyx.org>
10327
10328         * factory.C (createInset): create an InsetCommandParam of type "index"
10329         and use it to 'do the right thing'.
10330
10331         * text2.C (getStringToIndex): ensure that cursor position is always
10332         reset to the reset_cursor position.
10333
10334 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10335
10336         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10337         disabled.
10338
10339 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10340
10341         * bufferview.C:
10342         * lyxcb.C:
10343         * lyxfunc.C: Output messages with identical spelling, punctuation,
10344         and spaces
10345
10346 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10347
10348         * MenuBackend.C (expandFormats): List only viewable export formats
10349         in "View" menu
10350
10351         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10352         message
10353
10354         * lyxfunc.C (getStatus): Make sure that formats other than
10355         "fax" can also be disabled
10356
10357 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10358
10359         * text3.C (dispatch): put the lfuns that insert insets in 3
10360         groups, and call doInsertInset with appropriate arguments.
10361         (doInsertInset): new function, that creates an inset and inserts
10362         it according to some boolean parameters.
10363
10364 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10365
10366         * buffer.C (readFile): remember to pass on 'par' when calling
10367         readFile recursively.
10368
10369 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10370
10371         * MenuBackend.C (expandFormats): add "..." to import formats.
10372
10373 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10374
10375         * paragraph.C (asString): Remove XForms RTL hacks.
10376
10377 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10378         * buffer.C: fix typo
10379
10380 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10381
10382         * Makefile.am (LIBS): delete var
10383         (lyx_LDADD): add @LIBS@ here instead.
10384
10385 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10386
10387         * Clarify the meaning of "wheel mouse jump"
10388
10389 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10390
10391         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10392         tabular in a float
10393
10394 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10395
10396         * importer.C (Loaders): do not preallocate 3 elements in the
10397         vector, since one ends up with 6 elements otherwise
10398
10399 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10400
10401         * DepTable.C (write): write the file name as last element of the
10402         .dep file (because it may contain spaces)
10403         (read): read info in the right order
10404
10405 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10406
10407         * paragraph_pimpl.C (simpleTeXBlanks):
10408         (simpleTeXSpecialChars):
10409         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10410
10411         * tabular.C (latex): add some missing case statements. Reindent.
10412
10413         * MenuBackend.C (expandToc): remove unused variable.
10414
10415 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10416
10417         * LColor.C:
10418         * LaTeX.C:
10419         * LyXAction.C:
10420         * MenuBackend.C:
10421         * buffer.C:
10422         * exporter.C:
10423         * lyxfunc.C:
10424         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10425         and the like.
10426
10427 2003-01-05  John Levon  <levon@movementarian.org>
10428
10429         * BufferView.h:
10430         * BufferView.C: add getEncoding()
10431
10432         * kbsequence.h:
10433         * kbsequence.C: do not store last keypress
10434
10435         * lyxfunc.h:
10436         * lyxfunc.C: store last keypress here instead. Pass encoding
10437           to getISOEncoded()
10438
10439 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10440
10441         * lyx_main.C (init): remove annoying error message when following
10442         symbolic links (bug #780)
10443
10444 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10445
10446         * text.C (insertChar):
10447         * lyxrc.C (getDescription): remove extra spaces
10448
10449 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10450
10451         * lyxrc.C (getDescription): remove extra spaces
10452
10453 2002-12-20  John Levon  <levon@movementarian.org>
10454
10455         * text3.C: hack fix for page up/down across tall rows
10456
10457 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10458
10459         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10460         not been invoked
10461
10462 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10463
10464         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10465         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10466         thesaurus is not compiled in
10467
10468 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10469
10470         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10471
10472 2002-12-16  Angus Leeming  <leeming@lyx.org>
10473
10474         * lyxrc.[Ch]:
10475         * lyx_main.C (init): remove override_x_deadkeys stuff.
10476
10477 2002-12-12  John Levon  <levon@movementarian.org>
10478
10479         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10480           insert. Only remove shift modifier under strict
10481           circumstances.
10482
10483 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10484
10485         * MenuBackend.C (expandToc): fix crash.
10486
10487 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10488
10489         * MenuBackend.C (expandToc): gettext on float names.
10490
10491 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10492
10493         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10494         implement bool empty() [bug 490]
10495
10496 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10497
10498         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10499
10500 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10501
10502         * several files: ws changes
10503
10504 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10505
10506         * text2.C (setCounter): clean up a bit, use boost.format.
10507         (updateCounters): initialize par upon declaration.
10508
10509         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10510         if the layout exists. We do not just store the layout any more.
10511         (SwitchLayoutsBetweenClasses): use boost.format
10512
10513 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10514
10515         * converter.C (convert): if from and to files are the same, use a
10516         temporary files as intermediary
10517
10518 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10519
10520         * commandtags.h:
10521         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10522
10523 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10524
10525         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10526
10527 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10528
10529         * tabular.C (asciiPrintCell): use string(size, char) instead of
10530         explicit loop.
10531
10532         * sgml.C (openTag): fix order of arguments to string constructor
10533         (closeTag): ditto
10534
10535         * lyxfunc.C (dispatch): use boost.format
10536
10537         * lots of files: change "c" -> 'c'
10538
10539 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10540
10541         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10542
10543 2002-11-25  Angus Leeming  <leeming@lyx.org>
10544
10545         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10546
10547         * lyx_main.C (init): compile fix.
10548
10549 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10550
10551         * lyx_cb.C (start): boost.formatify
10552         do not include <iostream>
10553
10554         * lengthcommon.C: ws only
10555
10556         * boost-inst.C,BoostFormat.h: add more explict instantations
10557
10558 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10559
10560         * lots of files: handle USE_BOOST_FORMAT
10561
10562 2002-11-21  John Levon  <levon@movementarian.org>
10563
10564         * pspell.C: fix compile
10565
10566 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10567
10568         * lyxfunc.C (dispatch): use boost::format
10569         (open): ditto
10570         (doImport): ditto
10571
10572         * lyxfont.C (stateText): use boost::format
10573
10574         * lyx_main.C (LyX): use boost::format
10575         (init): ditto
10576         (queryUserLyXDir): ditto
10577         (readRcFile): ditto
10578         (parse_dbg): ditto
10579         (typedef boost::function): use the recommened syntax.
10580
10581         * importer.C (Import): use boost::format
10582
10583         * debug.C (showLevel): use boost::format
10584
10585         * converter.C (view): use boost::format
10586         (convert): ditto
10587         (move): ditto
10588         (scanLog): ditto
10589
10590         * bufferview_funcs.C (currentState): use boost::format
10591
10592         * bufferlist.C (emergencyWrite): use boost::format
10593
10594         * buffer.C (readLyXformat2): use boost::format
10595         (parseSingleLyXformat2Token): ditto
10596
10597         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10598
10599         * LaTeX.C (run): use boost::format
10600
10601         * Chktex.C (scanLogFile): use boost::format
10602
10603         * BufferView_pimpl.C (savePosition): use boost::format
10604         (restorePosition): ditto
10605         (MenuInsertLyXFile): ditto
10606
10607         * BoostFormat.h: help file for explicit instation.
10608
10609 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10610
10611         * tabular.C (latex): Support for block alignment in fixed width
10612         columns.
10613
10614 2002-11-17  John Levon  <levon@movementarian.org>
10615
10616         * BufferView_pimpl.C:
10617         * lyx_cb.C:
10618         * lyxfunc.C: split filedialog into open/save
10619
10620 2002-11-08  Juergen Vigna  <jug@sad.it>
10621
10622         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10623         by my last patch (hopefully).
10624
10625 2002-11-08  John Levon  <levon@movementarian.org>
10626
10627         * iterators.h:
10628         * iterators.C:
10629         * buffer.h:
10630         * buffer.C:
10631         * paragraph.h:
10632         * paragraph.C:
10633         * toc.h:
10634         * toc.C: ParConstIterator, and use it (from Lars)
10635
10636 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10637
10638         * lyxtextclass.[Ch]: revise and add doxygen comments
10639
10640 2002-11-07  John Levon  <levon@movementarian.org>
10641
10642         * text.C: fix progress value for spellchecker
10643
10644         * toc.C: fix navigate menu for insetwrap inside minipage
10645
10646         * paragraph_funcs.C: added FIXME for suspect code
10647
10648 2002-11-07  John Levon  <levon@movementarian.org>
10649
10650         * BufferView_pimpl.C: fix redrawing of insets
10651           on buffer switch
10652
10653 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10654
10655         * text2.C (updateCounters): fix bug 668
10656
10657 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10658
10659         * text3.C (dispatch): Do not make the buffer dirty when moving the
10660         cursor.
10661
10662 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10663
10664         * vc-backend.C: STRCONV
10665         (scanMaster): ditto
10666
10667         * text2.C (setCounter): STRCONV
10668
10669         * paragraph.C (asString): STRCONV
10670
10671         * lyxlength.C (asString): STRCONV
10672         (asLatexString): ditto
10673
10674         * lyxgluelength.C (asString): STRCONV
10675         (asLatexString): ditto
10676
10677         * lyxfunc.C (dispatch): STRCONV
10678         (open): ditto
10679
10680         * lyxfont.C (stateText): STRCONV
10681
10682         * importer.C (Import): STRCONV
10683
10684         * counters.C (labelItem): STRCONV
10685         (numberLabel): ditto
10686         (numberLabel): remove unused ostringstream o
10687
10688         * chset.C: STRCONV
10689         (loadFile): ditto
10690
10691         * bufferview_funcs.C (currentState): STRCONV
10692
10693         * buffer.C (readFile): STRCONV
10694         (asciiParagraph): ditto
10695         (makeLaTeXFile): ditto
10696
10697         * Spacing.C (writeEnvirBegin): STRCONV
10698
10699         * LaTeXFeatures.C (getLanguages): STRCONV
10700         (getPackages): ditto
10701         (getMacros): ditto
10702         (getBabelOptions): ditto
10703         (getTClassPreamble): ditto
10704         (getLyXSGMLEntities): ditto
10705         (getIncludedFiles): ditto
10706
10707         * LaTeX.C: STRCONV
10708         (run): ditto
10709         (scanAuxFile): ditto
10710         (deplog): ditto
10711
10712         * LString.h: add the STRCONV macros
10713
10714         * BufferView_pimpl.C (savePosition): STRCONV
10715         (restorePosition): ditto
10716         (MenuInsertLyXFile): ditto
10717
10718         * vc-backend.C (scanMaster): change from submatch[...] to
10719         submatch.str(...)
10720
10721         * funcrequest.C: include config.h
10722
10723         * factory.C: include config.h
10724
10725         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10726
10727         * box.C: include config.h
10728
10729         * LaTeX.C (scanAuxFile): change from submatch[...] to
10730         submatch.str(...)
10731         (deplog): ditto
10732
10733 2002-10-25  Angus Leeming  <leeming@lyx.org>
10734
10735         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10736
10737         * ispell.[Ch] (setError): new method.
10738         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10739         Use setError() insetead of goto END.
10740
10741         * lyx_cb.C (AutoSave): move out child process into new class
10742         AutoSaveBuffer.
10743
10744 2002-10-30  John Levon  <levon@movementarian.org>
10745
10746         * text3.C: make start appendix undoable
10747
10748 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10749
10750         * lyxlength.C (inPixels): Fix returned value.
10751
10752         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10753         environment.
10754
10755 2002-10-24  Angus Leeming  <leeming@lyx.org>
10756
10757         * lyxgluelength.h: no need to forward declare BufferParams
10758         or BufferView, so don't.
10759
10760 2002-10-21  John Levon  <levon@movementarian.org>
10761
10762         * BufferView.C: menuUndo ->undo, redo
10763
10764         * BufferView.h: document, remove dead, make some methods private
10765
10766         * paragraph_funcs.h:
10767         * paragraph_funcs.C:
10768         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10769
10770         * buffer.h:
10771         * buffer.C:
10772         * sgml.h:
10773         * sgml.C: move sgml open/close tag into sgml.C
10774
10775         * bufferview_funcs.h: unused prototype
10776
10777         * lyxfunc.h:
10778         * lyxfunc.C: remove unused
10779
10780         * lyxtext.h:
10781         * text.C: remove unused
10782
10783 2002-10-21  John Levon  <levon@movementarian.org>
10784
10785         * BufferView.h:
10786         * BufferView.C:
10787         * BufferView_pimpl.h:
10788         * BufferView_pimpl.C: fix mouse wheel handling based on
10789           patch from Darren Freeman
10790
10791 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10792
10793         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10794
10795 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10796
10797         * lyxlength.C (inPixels): Fix hanfling of negative length.
10798         Fix LyXLength::MU case.
10799
10800 2002-10-16  John Levon  <levon@movementarian.org>
10801
10802         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10803
10804 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10805
10806         * converter.C (view): add support for $$i (file name) and $$p
10807         (file path) for the viewer command. If $$i is not specified, then
10808         it is appended to the command (for compatibility with old syntax)
10809
10810 2002-10-14  Juergen Vigna  <jug@sad.it>
10811
10812         * undo_funcs.C (textHandleUndo): alter the order in which the
10813         new undopar is added to the LyXText, as we have to set first
10814         the right prev/next and then add it as otherwise the rebuild of
10815         LyXText is not correct. Also reset the cursor to the right paragraph,
10816         with this IMO we could remove the hack in "redoParagraphs()".
10817
10818 2002-10-09  Angus Leeming  <leeming@lyx.org>
10819
10820         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10821         to turn off an optimisation if a new inset is to be inserted.
10822
10823 2002-10-11 André Pönitz <poenitz@gmx.net>
10824
10825         * lyxtext.h: make some functions public to allow access
10826         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10827
10828 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10829
10830         * text3.C (dispatch): when changing layout, avoid an infinite loop
10831         [bug #652]
10832
10833 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10834
10835         * lyxrc.C (read): treat a viewer or converter command of "none" as
10836         if it were empty.
10837
10838         * MenuBackend.C (expandFormats): for an update, also allow the
10839         formats that are not viewable
10840
10841         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10842         script if it is newer than the lyxrc.defaults in user directory
10843
10844 2002-10-07 André Pönitz <poenitz@gmx.net>
10845
10846         * text.C: Vitaly Lipatov's small i18n fix
10847
10848 2002-09-25  Angus Leeming  <leeming@lyx.org>
10849
10850         * ispell.h: doxygen fix.
10851
10852 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10853
10854         * buffer.h (readFile): Add a new argument to the method, to allow
10855         reading of old-format templates.
10856
10857 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10858
10859         * toc.C (getTocList): Get TOC from InsetWrap.
10860
10861 2002-09-16  John Levon  <levon@movementarian.org>
10862
10863         * lyxfunc.C: check tabular for cut/copy too
10864
10865 2002-09-12  John Levon  <levon@movementarian.org>
10866
10867         * LyXAction.C: tidy
10868
10869         * factory.h:
10870         * factory.C: add header
10871
10872         * paragraph_funcs.h:
10873         * paragraph_funcs.C: cleanup
10874
10875 2002-09-11  John Levon  <levon@movementarian.org>
10876
10877         * PrinterParams.h: odd/even default to true
10878
10879 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10880
10881         * PrinterParams.h: update printer parameters for new xforms dialog
10882
10883 2002-09-11  Angus Leeming  <leeming@lyx.org>
10884
10885         * lyxserver.C (read_ready): re-write to make it more transparent
10886         and to make it work in coherent fashion under Tru64 Unix.
10887
10888 2002-09-11  André Pönitz <poenitz@gmx.net>
10889
10890         * commandtags.h:
10891         * LyXAction.C:
10892         * text3.C: implement LFUN_WORDSEL
10893
10894 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10895
10896         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10897         make floatlist_ a boost::shared_ptr<FloatList>
10898
10899         * lyxtextclass.C: include FloatList.h
10900         (LyXTextClass): initialize floatlist_
10901         (TextClassTags): add TC_NOFLOAT
10902         (Read): match "nofloat" to TC_NOFLOAT and use it.
10903         (readFloat): modify call to floatlist_
10904         (floats): ditto
10905         (floats): ditto
10906
10907         * FloatList.[Ch] (FloatList): remove commented out float
10908         initialization.
10909         (erase): new function
10910
10911 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10912
10913         * MenuBackend.C (expandToc): fix crash when there is no document
10914         open
10915
10916 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10917
10918         * many files: Add insetwrap.
10919
10920 2002-09-09  John Levon  <levon@movementarian.org>
10921
10922         * text2.C: remove confusing and awkward depth wraparound
10923
10924 2002-09-09  John Levon  <levon@movementarian.org>
10925
10926         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10927
10928         * buffer.h:
10929         * buffer.C: remove getIncludeonlyList()
10930
10931         * paragraph.C:
10932         * lyxfunc.C: remove headers
10933
10934 2002-09-09  Juergen Vigna  <jug@sad.it>
10935
10936         * text.C (getColumnNearX): fix form Michael this is most
10937         probably a cut&paste bug.
10938
10939 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10940
10941         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10942
10943         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10944         references, ws changes.
10945
10946         * text2.C (init): update counters after init
10947         (insertParagraph): no need to set counter on idividual paragraphs.
10948         (setCounter): access the counters object in the textclass object
10949         on in the buffer object.
10950         (updateCounters): ditto
10951
10952         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10953         shared_ptr<Counters> to avoid loading counters.h in all
10954         compilation units.
10955         (LyXTextClass): initialize ctrs_
10956         (TextClassTags): add TC_COUNTER, and ...
10957         (Read): use it here.
10958         (CounterTags): new tags
10959         (readCounter): new function
10960         (counters): new funtion
10961         (defaultLayoutName): return a const reference
10962
10963         * counters.C (Counters): remove contructor
10964         (newCounter): remove a couple of unneeded statements.
10965         (newCounter): simplify a bit.
10966         (numberLabel): some small formatting changes.
10967
10968         * buffer.[Ch]: remove all traces of counters, move the Counters
10969         object to the LyXTextClass.
10970
10971 2002-09-06  Alain Castera  <castera@in2p3.fr>
10972
10973         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10974         package to set the horizontal alignment on fixed width columns.
10975
10976         * lyx_sty.C:
10977         * lyx_sty.h: added tabularnewline macro def.
10978
10979         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10980
10981 2002-09-06  John Levon  <levon@movementarian.org>
10982
10983         * LyXAction.C: tooltips for sub/superscript
10984
10985         * MenuBackend.C: a bit more verbose
10986
10987         * lyxfunc.C: tiny clean
10988
10989         * undo_funcs.C: document undo_frozen
10990
10991 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10992
10993         * counters.C (Counters): add missing algorithm counter.
10994
10995         * text2.C (setCounter): lookup the counter with layouts latexname
10996         instead of by section number.
10997         (setCounter): use a hackish way to lookup the correct enum
10998         counter.
10999         a float name->type change
11000         reset enum couners with counter name directly instead of depth value.
11001
11002         * counters.C (Counters): remove the push_backs, change to use the
11003         float type not the float name.
11004         (labelItem): remove unused string, float name->type change
11005
11006         * counters.h: don't include vector, loose the enums and sects vectors
11007
11008 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11009
11010         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11011         (Read): add float->TC_FLOAT to textclassTags
11012         (Read): and handle it in the switch
11013         (readFloat): new function
11014
11015         * FloatList.C (FloatList): comment out the hardcoded float
11016         definitions.
11017
11018         * lyxlayout.h: ws change.
11019
11020 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11021
11022         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11023
11024 2002-09-03  Angus Leeming  <leeming@lyx.org>
11025
11026         * BufferView_pimpl.h: qualified name is not allowed in member
11027         declaration: WorkArea & Pimpl::workarea() const;
11028
11029         * factory.C: added using std::endl directive.
11030
11031         * text3.C: added using std::find and std::vector directives.
11032
11033 2002-08-29  André Pönitz <poenitz@gmx.net>
11034
11035         * lyxtext.h:
11036         * text2.C: remove unused member number_of_rows
11037
11038         * Makefile.am:
11039         * BufferView2.C: remove file, move contents to...
11040         * BufferView.C: ... here
11041
11042         * BufferView_pimpl.C:
11043         * factory.C: move more inset creation to factory
11044
11045         * vspace.C: avoid direct usage of LyXText, ws changes
11046
11047         * BufferView.[Ch]:
11048                 don't provide direct access to WorkArea, use two simple
11049                 acessors haveSelction() and workHeight() instead
11050
11051
11052 2002-08-29  John Levon  <levon@movementarian.org>
11053
11054         * BufferView_pimpl.C (dispatch): do not continue when
11055           no buffer
11056
11057 2002-08-28  André Pönitz <poenitz@gmx.net>
11058
11059         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11060
11061         * BufferView.h:
11062         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11063
11064 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11065
11066         * buffer.C: increment LYX_FORMAT to 221
11067
11068         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11069         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11070
11071         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11072
11073         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11074
11075 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11076
11077         * factory.C (createInset): use LyXTextClass::floats
11078
11079         * MenuBackend.C (expandFloatListInsert):
11080         (expandFloatInsert):
11081         (expandToc):
11082
11083         * text2.C (setCounter):
11084
11085         * LaTeXFeatures.C (useFloat):
11086         (getFloatDefinitions):
11087
11088         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11089
11090         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11091         floatlist_, with accessor floats().
11092
11093         * FloatList.h: remove global FloatList
11094
11095 2002-08-26  André Pönitz <poenitz@gmx.net>
11096
11097         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11098
11099         * BufferView.h:
11100         * BufferView2.C:
11101         * BufferView_pimpl.C:
11102         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11103
11104 2002-08-25  John Levon  <levon@movementarian.org>
11105
11106         * LyXAction.C: fix margin note description
11107
11108 2002-08-24  John Levon  <levon@movementarian.org>
11109
11110         * buffer.C:
11111         * bufferlist.C:
11112         * bufferview_funcs.C:
11113         * lyxfont.C:
11114         * undo_funcs.C: cleanups
11115
11116         * lyxfunc.C: disable CUT/COPY when no selection
11117
11118 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11119
11120         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11121         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11122
11123         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11124         Add backward compatibility to "mono", "gray" and "no".
11125
11126 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11127
11128         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11129         (and file_format >= 200).
11130
11131 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11132
11133         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11134
11135 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11136
11137         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11138
11139 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11140
11141         * BufferView_pimpl.C:
11142         * LyXAction.C:
11143         * buffer.C:
11144         * commandtags.h:
11145         * lyxfunc.C:
11146         * paragraph.[Ch]:
11147         * text2.C:
11148         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11149         inset and code to make it  work with the paragraph code. The inset
11150         can be anywhere in the paragraph, but will only do the expected
11151         thing in LaTeX if the layout file contains the parameter line
11152                         OptionalArgs    1
11153         (or more generally, a nonzero value) for that layout.
11154
11155 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11156
11157         * paragraph.h: remove the declaration of undefined counters class
11158         function.
11159
11160 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11161
11162         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11163         Dr. Richard Hawkins.
11164
11165 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11166
11167         * paragraph_funcs.h: remove some unneeded includes
11168
11169         * text.C (backspace): pasteParagraph now in global scipe
11170
11171         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11172         (pasteSelection): ditto
11173
11174         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11175         * paragraph_funcs.C (pasteParagraph): ... here
11176
11177 2002-08-20  André Pönitz <poenitz@gmx.net>
11178
11179         * commandtags.h: new LFUNs for swapping/copying table row/colums
11180
11181         * LyXAction.C:
11182         * lyxfunc.C: support for new lfuns
11183
11184 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11185
11186         * tabular.C:
11187         * buffer.[Ch]: remove NO_COMPABILITY stuff
11188
11189 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11190
11191         * boost.C (throw_exception): new file, with helper function for
11192         boost compiled without exceptions.
11193
11194         * paragraph.h:
11195         * lyxlength.C:
11196         * buffer.C:
11197         * ParameterStruct.h:
11198         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11199
11200         * bufferlist.C (emergencyWriteAll): use boost bind
11201
11202         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11203
11204         * text.C: include paragraph_funcs.h
11205         (breakParagraph): breakParagraph is now in global scope
11206
11207         * paragraph_funcs.[Ch]: new files
11208
11209         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11210         global scope
11211
11212         * buffer.C: include paragraph_funcs.h
11213         (insertStringAsLines): breakParagraph is now in global scope
11214
11215         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11216         paragraph_funcs.C
11217
11218         * CutAndPaste.C: include paragraph_funcs.h
11219         (cutSelection): breakParagraphConservative is now in global scope
11220         (pasteSelection): ditto
11221
11222         * buffer.h: declare oprator== and operator!= for
11223         Buffer::inset_iterator
11224
11225         * bufferlist.C (emergencyWrite): don't use fmt(...)
11226
11227         * text3.C: add using std::endl
11228
11229         * BufferView.C (moveCursorUpdate): remove default arg
11230
11231 2002-08-20  André Pönitz <poenitz@gmx.net>
11232
11233         * buffer.[Ch]: move inline functions to .C
11234
11235         * BufferView2.C:
11236         * BufferView_pimpl.C:
11237         * text.C:
11238         * buffer.[Ch]: use improved inset_iterator
11239
11240         * buffer.C:
11241         * paragraph.[Ch]: write one paragraph at a time
11242
11243 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11244
11245         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11246         style if style is not specified.
11247
11248 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11249
11250         * text2.C (setCounter): when searching for right label for a
11251         caption, make sure to recurse to parent insets (so that a caption
11252         in a minipage in a figure float works) (bug #568)
11253
11254 2002-08-20  André Pönitz <poenitz@gmx.net>
11255
11256         * text3.C: new file for LyXText::dispatch() and helpers
11257
11258         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11259
11260         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11261
11262 2002-08-19  André Pönitz <poenitz@gmx.net>
11263
11264         * lyxtext.h:
11265         * text.C: new LyXText::dispatch()
11266
11267         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11268
11269 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11270
11271         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11272
11273         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11274         Hebrew text.
11275
11276 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * Makefile.am: use $(variables) instead of @substitutions@
11279
11280 2002-08-15  André Pönitz <poenitz@gmx.net>
11281
11282         * lyxfunc.C:
11283         * BufferView_pimpl.C: streamlining mathed <-> outer world
11284         interaction
11285
11286         * commandtags.h:
11287         * LyXAction.C: remove unused LFUN_MATH
11288
11289 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11290
11291         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11292
11293 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11294
11295         * paragraph.C (Paragraph): reformat a bit
11296         (cutIntoMinibuffer): use builtin InsetList function instad of
11297         doing it manually.
11298         (getInset): ditto
11299
11300         * buffer.C: include boost/bind.hpp, add using std::for_each
11301         (writeFileAscii): use ParagraphList iterators
11302         (validate): use for_each for validate traversal of paragraphs
11303         (getBibkeyList): use ParagraphList iterators
11304         (resizeInsets): use for_each to resizeInsetsLyXText for all
11305         paragraphs.
11306         (getParFromID): use ParagraphList iterators
11307
11308         * BufferView2.C (lockInset): use paragraph list and iterators
11309
11310 2002-08-14  John Levon  <levon@movementarian.org>
11311
11312         * lyxserver.C: remove spurious xforms include
11313
11314 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11315
11316         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11317
11318 2002-08-13  André Pönitz <poenitz@gmx.net>
11319
11320         * LyXAction.[Ch]:
11321         * lyxfunc.C: further cleaning
11322
11323 2002-08-13  André Pönitz <poenitz@gmx.net>
11324
11325         * funcrequest.h: new constructor
11326
11327         * funcrequest.C: move stuff here from .h
11328
11329         * Makefile.am:
11330         * BufferView_pimpl.C:
11331         * LyXAction.C:
11332         * toc.C:
11333         * lyxfunc.C: subsequent changes
11334
11335         * lyxfunc.h: new view() member function
11336
11337         * lyxfunc.C: subsequent changes
11338
11339 2002-08-13  Angus Leeming  <leeming@lyx.org>
11340
11341         * BufferView2.C:
11342         * BufferView_pimpl.C:
11343         * buffer.C:
11344         * converter.C:
11345         * importer.C:
11346         * lyxfunc.C:
11347         * lyxvc.C:
11348         * toc.C:
11349         * vc-backend.C:
11350         changes due to the changed LyXView interface that now returns references
11351         to member variables not pointers.
11352
11353 2002-08-13  Angus Leeming  <leeming@lyx.org>
11354
11355         * WordLangTuple (word, lang_code): return references to strings,
11356         not strings.
11357
11358         * BufferView.h:
11359         * SpellBase.h:
11360         * lyxtext.h: forward-declare WordLangTuple.
11361
11362         * BufferView2.C:
11363         * ispell.C:
11364         * pspell.C:
11365         * text.C: #include "WordLangTuple.h".
11366
11367         * lyxtext.h:
11368         * text.C: (selectNextWordToSpellcheck): constify return type.
11369
11370 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11371
11372         * buffer.C:
11373         * buffer.h:
11374         * lyxtext.h:
11375         * paragraph.C:
11376         * paragraph_pimpl.h:
11377         * text.C:
11378         * text2.C:
11379         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11380         suggested by Angus.
11381         Made updateCounter always count from start of buffer, and removed
11382         second argument (par).
11383         Reverted floats number display to '#'. Perhaps I'll try again when the
11384         code base is sanitized a bit.
11385
11386 2002-08-12  Angus Leeming  <leeming@lyx.org>
11387
11388         * buffer.[Ch] (getLabelList): constify.
11389
11390 2002-08-07  André Pönitz <poenitz@gmx.net>
11391
11392         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11393
11394         * funcrequest.h: extension to keep mouse (x,y) position
11395
11396 2002-08-12  Juergen Vigna  <jug@sad.it>
11397
11398         * BufferView2.C (insertErrors): forbid undo when inserting error
11399         insets.
11400
11401         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11402
11403 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11404
11405         * ParagraphList.[Ch]: new files
11406
11407         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11408
11409         * BufferView2.C (lockInset): ParagraphList changes
11410         * toc.C: ditto
11411         * text2.C: ditto
11412         * bufferlist.C: ditto
11413         * buffer.h: ditto
11414         * buffer.C: ditto
11415
11416 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11417
11418         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11419         unused class variable counter_,
11420
11421         * paragraph.[Ch] (getFirstCounter): delete unused function
11422
11423         * counters.C: include LAssert.h
11424         (reset): add a new function with no arg, change other version to
11425         not have def. arg and to not allow empty arg.
11426
11427         * text2.C (setCounter): remove empty arg from call to Counters::reset
11428
11429 2002-08-11  John Levon  <levon@movementarian.org>
11430
11431         * Makefile.am: add WordLangTuple.h
11432
11433 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11434
11435         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11436         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11437
11438         * insets/insettext.C: InsetList changes
11439
11440         * graphics/GraphicsSupport.C (operator()): InsetList changes
11441
11442         * toc.C (getTocList): InsetList changes
11443
11444         * paragraph_pimpl.[Ch]: InsetList changes
11445
11446         * paragraph.[Ch]: InsetList changes
11447
11448         * buffer.C (inset_iterator): InsetList changes
11449         (setParagraph): ditto
11450         * buffer.h (inset_iterator): ditto
11451         * iterators.C (operator++): ditto
11452         * iterators.h: ditto
11453
11454         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11455
11456         * InsetList.[Ch]: new files, most InsetList handling moved out of
11457         paragraph.C.
11458
11459         * BufferView2.C (removeAutoInsets): InsetList changes
11460         (lockInset): ditto
11461         (ChangeInsets): ditto
11462
11463 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11464
11465         * paragraph_pimpl.h (empty): new function
11466
11467         * paragraph.[Ch] (empty): new function
11468
11469         * other files: use the new Paragraph::empty function
11470
11471 2002-08-09  John Levon  <levon@movementarian.org>
11472
11473         * lyxtext.h: remove unused refresh_height
11474
11475 2002-08-09  John Levon  <levon@movementarian.org>
11476
11477         * Makefile.am:
11478         * sgml.h:
11479         * sgml.C:
11480         * buffer.C:
11481         * paragraph.h:
11482         * paragraph.C: move sgml char escaping out of paragraph
11483
11484         * paragraph.h:
11485         * paragraph.C: remove id setter
11486
11487         * buffer.C:
11488         * paragraph.C:
11489         * paragraph_pimpl.C: remove dead tex_code_break_column
11490
11491         * bufferview_funcs.C: small cleanup
11492
11493         * lyxfunc.C: remove dead proto
11494
11495         * lyxtext.h: make some stuff private. Remove some dead stuff.
11496
11497         * lyxgluelength.C: make as[LyX]String() readable
11498
11499 2002-08-08  John Levon  <levon@movementarian.org>
11500
11501         * LyXAction.h:
11502         * LyXAction.C:
11503         * MenuBackend.C:
11504         * ToolbarDefaults.C:
11505         * lyxfunc.C:
11506         * lyxrc.C:
11507         * toc.C: lyxaction cleanup
11508
11509 2002-08-08  John Levon  <levon@movementarian.org>
11510
11511         * BufferView2.C: small cleanup
11512
11513         * lyxfind.h:
11514         * lyxfind.C: move unnecessary header into the .C
11515
11516 2002-08-08  John Levon  <levon@movementarian.org>
11517
11518         * funcrequest.h: just tedious nonsense
11519
11520         * lyx_main.h:
11521         * lyx_main.C: cleanups
11522
11523         * buffer.C:
11524         * vspace.C: remove dead header lyx_main.h
11525
11526 2002-08-07  Angus Leeming  <leeming@lyx.org>
11527
11528         * Paragraph.[Ch]:
11529         * paragraph_pimpl.h:
11530         Forward declare class Counters in paragraph.h by moving the ctrs member
11531         variable into Paragraph::Pimpl.
11532         (counters): new method, returning a reference to pimpl_->ctrs.
11533
11534         * text2.C: ensuing changes.
11535
11536 2002-08-07  John Levon  <levon@movementarian.org>
11537
11538         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11539
11540         * BufferView_pimpl.C: announce X selection on double/triple
11541           click
11542
11543         * lyx_main.C: use correct bool in batch dispatch
11544
11545         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11546
11547 2002-08-07  André Pönitz <poenitz@gmx.net>
11548
11549         * funcrequest.h: new class to wrap a kb_action and its argument
11550
11551         * BufferView.[Ch]:
11552         * BufferView_pimpl[Ch]:
11553         * LaTeX.C:
11554         * LyXAction.[Ch]:
11555         * lyxfunc.[Ch]:
11556         * lyxrc.C: subsequent changes
11557
11558
11559 2002-08-07  John Levon  <levon@movementarian.org>
11560
11561         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11562           document options change.
11563
11564 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11565
11566         * counters.[Ch]
11567         * text2.C
11568         * paragraph.[Ch]
11569         * makefile.am: move counters functionality over from
11570         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11571
11572 2002-08-06  John Levon  <levon@movementarian.org>
11573
11574         * WordLangTuple.h: new file for word + language code tuple
11575
11576         * SpellBase.h:
11577         * pspell.h:
11578         * pspell.C:
11579         * ispell.h:
11580         * ispell.C:
11581         * lyxtext.h:
11582         * text.C:
11583         * text2.C:
11584         * BufferView.h:
11585         * BufferView2.C: use WordLangTuple
11586
11587         * layout.h:
11588         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11589
11590 2002-08-06  John Levon  <levon@movementarian.org>
11591
11592         * lyx_main.C: fix cmdline batch handling
11593
11594 2002-08-06  André Pönitz <poenitz@gmx.net>
11595
11596         * lyxrc.C: set default for show_banner to true
11597
11598 2002-08-06  John Levon  <levon@movementarian.org>
11599
11600         * pspell.C: fix a crash, and allow new aspell to work
11601
11602 2002-08-06  John Levon  <levon@movementarian.org>
11603
11604         * lyxfunc.C:
11605         * kbmap.C: small cleanup
11606
11607         * vspace.h:
11608         * vspace.C: add const
11609
11610 2002-08-05  John Levon  <levon@movementarian.org>
11611
11612         * LyXAction.C: back to tabular-insert
11613
11614 2002-08-04  John Levon  <levon@movementarian.org>
11615
11616         * BufferView.h:
11617         * BufferView.C: cosmetic change
11618
11619         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11620
11621         * bufferlist.C:
11622         * buffer.h:
11623         * buffer.C:
11624         * lyxcb.h:
11625         * lyxcb.C:
11626         * lyxserver.C:
11627         * lyxvc.C:
11628         * vc-backend.C:
11629         * BufferView2.C: purge all "Lyx" not "LyX" strings
11630
11631         * lyxcursor.h:
11632         * lyxcursor.C: attempt to add some documentation
11633
11634         * lyxfunc.C:
11635         * commandtags.h:
11636         * LyXAction.C:
11637         * ToolbarDefaults.C:
11638         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11639           merge with LFUN_TABULAR_INSERT
11640
11641         * Makefile.am:
11642         * SpellBase.h:
11643         * ispell.h:
11644         * ispell.C:
11645         * pspell.h:
11646         * pspell.C: split up i/pspell implementations into separate
11647           files, many cleanups
11648
11649         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11650
11651         * text2.C: some cleanup
11652
11653         * lyxfunc.C: don't check for isp_command == "none" any more, it
11654           didn't make any sense
11655
11656 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11657
11658         * counters.[Ch]
11659         * text2.C
11660         * paragraph.[Ch]
11661         * makefile.am: move counters functionality over
11662         from text2.C/paragraph.[Ch] to counters.[Ch], and
11663         make proper C++.
11664 2002-08-02  John Levon  <levon@movementarian.org>
11665
11666         * buffer.C: s/lyxconvert/lyx2lyx/
11667
11668 2002-08-02  Angus Leeming  <leeming@lyx.org>
11669
11670         * lyxlex.C: revert John's change as it breaks reading of the user
11671         preamble.
11672
11673 2002-08-02  Angus Leeming  <leeming@lyx.org>
11674
11675         * importer.C (Import):
11676         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11677         changes due to LyXView::view() now returning a boost::shared_ptr.
11678
11679 2002-08-02  John Levon  <levon@movementarian.org>
11680
11681         * lyxlex.C: small cleanup
11682
11683 2002-08-02  John Levon  <levon@movementarian.org>
11684
11685         * text2.C (status): small cleanup, no logic change
11686
11687 2002-08-01  John Levon  <levon@movementarian.org>
11688
11689         * buffer.h:
11690         * buffer.C (writeFile): don't output alerts, caller
11691           handles this
11692
11693         * bufferlist.C:
11694         * lyx_cb.C: from above
11695
11696         * lyxfunc.C: allow to open non-existent files
11697
11698 2002-07-31  John Levon  <levon@movementarian.org>
11699
11700         * lyxserver.C: don't let incidental errors get
11701           in the way (errno)
11702
11703 2002-07-30  John Levon  <levon@movementarian.org>
11704
11705         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11706
11707 2002-07-30  John Levon  <levon@movementarian.org>
11708
11709         * lyxserver.h:
11710         * lyxserver.C: remove I/O callback too
11711
11712 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11713
11714         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11715         log.
11716
11717 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11718
11719         * many files: strip,frontStrip -> trim,ltrim,rtrim
11720
11721 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11722
11723         * PrinterParams.h: remove extern containsOnly, and include
11724         support/lstrings.h instead.
11725
11726         * LaTeX.C (scanAuxFile): modify because of strip changes
11727         (deplog): ditto
11728         * buffer.C (makeLaTeXFile): ditto
11729         * bufferparams.C (writeFile): ditt
11730         * lyxfont.C (stateText): ditto
11731         * lyxserver.C (read_ready): ditto
11732         * vc-backend.C (scanMaster): ditto
11733
11734         * BufferView_pimpl.h: ws changes
11735
11736         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11737
11738 2002-07-26  André Pönitz <poenitz@gmx.net>
11739
11740         * kb_sequence.C: remove unnedred usings
11741
11742 2002-07-26  Juergen Vigna  <jug@sad.it>
11743
11744         * lyxfind.C (LyXReplace): we have to check better if the returned
11745         text is not of theLockingInset()->getLockingInset().
11746
11747 2002-07-25  Juergen Vigna  <jug@sad.it>
11748
11749         * lyxfind.C (LyXReplace): don't replace if we don't get the
11750         right LyXText.
11751
11752         * undo_funcs.C (createUndo): remove debugging code.
11753
11754 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11755
11756         * buffer.C (parseSingleLyXformat2Token): Use default placement
11757         when reading old floats.
11758
11759         * FloatList.C (FloatList): Change the default placement of figure
11760         and tables to "tbp".
11761
11762 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * MenuBackend.C: using std::max
11765
11766 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11767
11768         * MenuBackend.C (expandToc):
11769         (expandToc2): code moved from xforms menu frontend. It is now
11770         generic and TOCs are transparent to menu frontends.
11771
11772 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * toc.C (getTocList): protect against buf=0
11775
11776         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11777         Menu as first parameter. Now, this calls itself recursively to
11778         expand a whole tree (this will be useful for TOC handling)
11779         (expandFloatInsert): remove 'wide' version of floats
11780
11781         * MenuBackend.h (submenuname): returns the name of the submenu.
11782         (submenu): returns the submenu itself, provided it has been
11783         created by MenuBackend::expand
11784
11785 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11786
11787         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11788         insets which have noFontChange == true. (bug #172)
11789
11790 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * BufferView_pimpl.C: add connection objects and use them...
11793         (Pimpl): here.
11794
11795 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11796
11797         * MenuBackend.C (expandLastfiles):
11798         (expandDocuments):
11799         (expandFormats):
11800         (expandFloatListInsert):
11801         (expandFloatInsert):
11802         (expand): split expand in parts
11803
11804 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * lyx_gui.C: use lyx_gui::exit()
11807
11808 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * LyXAction.C: show the failing pseudo action
11811
11812 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11813
11814         * buffer.C (readFile): Run the lyxconvert script in order to read
11815         old files.
11816
11817 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11818
11819         * LyXAction.C:
11820         * commandtags.h:
11821         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11822
11823 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11824
11825         * LyXAction.C:
11826         * commandtags.h:
11827         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11828
11829 2002-07-22  Herbert Voss  <voss@lyx.org>
11830
11831         * lengthcommon.C:
11832         * lyxlength.[Ch]: add support for the vertical lengths
11833
11834 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * toc.[Ch]: std:: fixes
11837
11838 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11839
11840         * lyxrc.C: do not include lyx_main.h
11841
11842         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11843         for layouts
11844
11845         * lyxrc.C:
11846         * encoding.C:
11847         * bufferlist.C:
11848         * BufferView2.C: include "lyxlex.h"
11849
11850         * tabular.h:
11851         * bufferparams.h: do not #include "lyxlex.h"
11852
11853         * lyxtextclasslist.C (Add): remove method
11854         (classlist): renamed to classlist_
11855
11856         * paragraph_pimpl.C:
11857         * paragraph.C:
11858         * text2.C:
11859         * CutAndPaste.C:
11860         * bufferview_funcs.C:
11861         * bufferlist.C:
11862         * text.C:
11863         * LaTeXFeatures.C:
11864         * buffer.C:
11865         * toc.C (getTocList): use BufferParams::getLyXTextClass
11866
11867         * toc.C (getTocList): use InsetFloat::addToToc
11868
11869         * toc.[Ch]: new files, containing helper functions to handle table
11870         of contents
11871
11872         * lyxfunc.C (dispatch): no need to remove spaces around command
11873         given as a string
11874         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11875         first command of the sequence; it is not very clever, but I do not
11876         have a better idea, actually
11877
11878         * LyXAction.C (LookupFunc): make sure to remove space at the
11879         beginning and end of the command
11880
11881 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11882
11883         * MenuBackend.C (getMenubar): new method: return the menubar of
11884         this menu set
11885         (read): treat differently reading of menu and menubar (in
11886         particular, the menubar has no name now)
11887         (Menu::menubar): remove
11888
11889         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11890         saving is finished
11891
11892 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11893
11894         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11895         a bibitem inset in a RTL paragraph.
11896
11897 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * paragraph_pimpl.C: constify
11900
11901         * BufferView_pimpl.C:
11902         * LaTeX.C:
11903         * lyxfunc.C: fix dispatch in a nicer way
11904
11905 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11906
11907         * lyxfunc.C (dispatch):
11908         * BufferView_pimpl.C:
11909         * BufferView_pimpl.h:
11910         * BufferView.C:
11911         * BufferView.h: rename Dispatch() to dispatch()
11912
11913         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11914
11915         * lyxlayout.C (Read): honor DependsOn tag
11916
11917         * lyxlayout.[Ch] (depends_on): new method
11918
11919         * version.C.in: update lyx_docversion
11920
11921         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11922
11923         * paragraph.C (validate): remove from here...
11924         * paragraph_pimpl.C (validate): ... and move here
11925         (isTextAt): make it const
11926
11927         * buffer.C (getLists): ws cleanup
11928
11929 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11930
11931         * language.C (read): Use iso8859-1 encoding in latex_lang
11932         (this prevents LyX from crashing when using iso10646-1 encoding).
11933
11934 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * text2.C (toggleInset): if cursor is inside an inset, close the
11937         inset and leave cursor _after_ it
11938
11939 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * lyxfunc.C: move minibuffer completion handling out of here
11942
11943 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11944
11945         * BufferView_pimpl.C:
11946         * LaTeX.C: fix dispatch calls
11947
11948 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11949
11950         * text.C (drawChars): Fix Arabic text rendering.
11951
11952 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * LyXAction.C:
11955         * commandtags.h:
11956         * lyxfunc.C: remove message-push/pop
11957
11958         * lyxserver.C:
11959         * lyxfunc.h:
11960         * lyxfunc.C: rationalise some code by removing verboseDispatch
11961           in favour of a bool argument to dispatch()
11962
11963 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11964
11965         * lyx_main.C (init): make sure to read symlinks as absolute paths
11966
11967 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11968
11969         * lyxfunc.h:
11970         * lyxfunc.C: no need for commandshortcut to be a member
11971
11972 2002-07-15  André Pönitz <poenitz@gmx.net>
11973
11974         * converter.C: add support for $$s (scripts from lib/scripts dir)
11975         * lyx_main.C: white space
11976
11977 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * bufferlist.C:
11980         * lyxrc.h:
11981         * lyxrc.C: remove second exit confirmation
11982
11983 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * BufferView.h:
11986         * BufferView.C:
11987         * BufferView2.C:
11988         * BufferView_pimpl.h:
11989         * BufferView_pimpl.C:
11990         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11991
11992 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11993
11994         * MenuBackend.C (expand): add numeric shortcuts to document menu
11995
11996         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11997
11998 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * lyxfont.C (setLyXFamily):
12001         (setLyXSeries):
12002         (setLyXShape):
12003         (setLyXSize):
12004         (setLyXMisc):
12005         (lyxRead):
12006         * debug.C (value):
12007         * buffer.C (asciiParagraph): use ascii_lowercase
12008
12009 2002-07-15  Mike Fabian  <mfabian@suse.de>
12010
12011         * lyxlex_pimpl.C (search_kw):
12012         * lyxlex.C (getLongString):
12013         * converter.h (operator<):
12014         * converter.C (operator<):
12015         * buffer.C (parseSingleLyXformat2Token):
12016         (asciiParagraph):
12017         * ToolbarDefaults.C (read):
12018         * MenuBackend.C (checkShortcuts):
12019         (read):
12020         * LColor.C (getFromGUIName):
12021         (getFromLyXName): use the compare_ascii_no_case instead of
12022         compare_no_case, because in turkish, 'i' is not the lowercase
12023         version of 'I', and thus turkish locale breaks parsing of tags.
12024
12025 2002-07-16  Angus Leeming  <leeming@lyx.org>
12026
12027         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12028         now takes a Buffer const & argument.
12029
12030 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * BufferView.C (resize): check there's a buffer to resize
12033
12034 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * lyxfunc.C: remove dead code
12037
12038         * lyxserver.h:
12039         * lyxserver.C: use lyx_guii::set_read_callback
12040
12041 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12042
12043         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12044         an inset in a RTL paragraph.
12045
12046 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * lyxfunc.C: repaint after a font size update
12049
12050 2002-07-15  André Pönitz <poenitz@gmx.net>
12051
12052         * lyxlength.C: inBP should be able to return negative values
12053
12054 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * lyxfunc.C: use lyx_gui::update_fonts()
12057
12058 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * lyxfunc.C: use lyx_gui::update_color()
12061
12062 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * bufferlist.C:
12065         * lyxfunc.h:
12066         * lyxfunc.C:
12067         * lyxrc.h:
12068         * lyxrc.C: remove file->new asks for name option, and let
12069           buffer-new take an argument
12070
12071 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * BufferView_pimpl.C: remove unneeded extra repaint()
12074
12075 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * LyXAction.C: allow command-sequence with NoBuffer
12078
12079         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12080
12081 2002-07-10  Angus Leeming  <leeming@lyx.org>
12082
12083         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12084
12085 2002-07-09  Angus Leeming  <leeming@lyx.org>
12086
12087         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12088
12089 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * lengthcommon.h: whitespace
12092
12093         * lyxfunc.C: update scrollbar after goto paragraph
12094
12095         * lyxtext.h: factor out page break drawing, and fix it so
12096           page break/added space paints as selected nicely
12097
12098 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * BufferView_pimpl.C: add FIXMEs, clean up a little
12101
12102 2002-07-09  André Pönitz <poenitz@gmx.net>
12103
12104         * lyxfont.[Ch]: support for wasy symbols
12105
12106 2002-07-08  André Pönitz <poenitz@gmx.net>
12107
12108         * BufferView_pimpl.C: apply John's patch for #93.
12109
12110 2002-07-05  Angus Leeming  <leeming@lyx.org>
12111
12112         * BufferView_pimpl.C (buffer): generate previews if desired.
12113
12114         * LColor.h: add "preview" to the color enum.
12115
12116         * LColor.C (LColor): add a corresponding entry to the items array.
12117
12118         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12119         with this buffer.
12120
12121 2002-07-05  Angus Leeming  <leeming@lyx.org>
12122
12123         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12124         The body of the code is now in the method that is passed an ostream &
12125         rather than a file name.
12126         Pass an additional only_preamble parameter, useful for the forthcoming
12127         preview stuff.
12128
12129 2002-07-03  André Pönitz <poenitz@gmx.net>
12130
12131         * lyxfunc.C: simplify getStatus() a bit for math stuff
12132
12133 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12136
12137 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12138
12139         * text.C (changeRegionCase): do not change case of all the
12140         document when region ends at paragraph end (bug #461)
12141
12142 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12143
12144         * paragraph.C (startTeXParParams):
12145         (endTeXParParams): add \protect when necessary
12146
12147 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12148
12149         * BufferView_pimpl.C (workAreaExpose): remove warning
12150
12151 2002-06-27  Angus Leeming  <leeming@lyx.org>
12152
12153         * Makefile.am: add lyxlayout_ptr_fwd.h.
12154
12155 2002-06-26  André Pönitz <poenitz@gmx.net>
12156
12157         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12158
12159 2002-06-25  Angus Leeming  <leeming@lyx.org>
12160
12161         * lyxfunc.C (dispatch): Comment out the call to
12162         grfx::GCache::changeDisplay. The method no longer exists now that the
12163         pixmap generation part of the graphics loader has been moved into
12164         InsetGraphics.
12165
12166 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12167
12168         * text2.C: layout as layout
12169
12170         * text.C: layout as layout
12171
12172         * tabular.C (OldFormatRead): layout as layout
12173
12174         * paragraph_pimpl.C (TeXDeeper): layout as layout
12175         (realizeFont): layout as layout
12176
12177         * paragraph.C (writeFile): layout as layout
12178         (validate): layout as layout
12179         (getFont): layout as layout
12180         (getLabelFont): layout as layout
12181         (getLayoutFont): layout as layout
12182         (breakParagraph): layout as layout
12183         (stripLeadingSpaces): layout as layout
12184         (getEndLabel): layout as layout
12185         (getMaxDepthAfter): layout as layout
12186         (applyLayout): layout as layout
12187         (TeXOnePar): layout as layout
12188         (simpleTeXOnePar): layout as layout
12189         (TeXEnvironment): layout as layout
12190         (layout): layout as layout
12191         (layout): layout as layout
12192
12193         * lyxtextclass.C (compare_name): new functor to work with
12194         shared_ptr, layout as layout
12195         (Read): layout as layout
12196         (hasLayout): layout as layout
12197         (operator): layout as layout
12198         (delete_layout): layout as layout
12199         (defaultLayout): layout as layout
12200
12201         * lyxlayout_ptr_fwd.h: new file
12202
12203         * lyxlayout.C (Read): layout as layout
12204
12205         * lyx_cb.C (MenuInsertLabel): layout as layout
12206
12207         * bufferlist.C (newFile): layout as layout
12208
12209         * buffer.C (readLyXformat2): layout as layout
12210         (parseSingleLyXformat2Token): layout as layout
12211         (insertStringAsLines): layout as layout
12212         (asciiParagraph): layout as layout
12213         (latexParagraphs): layout as layout
12214         (makeLinuxDocFile): layout as layout
12215         (simpleLinuxDocOnePar): layout as layout
12216         (makeDocBookFile): layout as layout
12217         (simpleDocBookOnePar): layout as layout
12218         (getLists): layout as layout
12219
12220         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12221
12222         * CutAndPaste.C (cutSelection): layout as layout
12223         (pasteSelection): layout as layout
12224         (SwitchLayoutsBetweenClasses): layout as layout
12225
12226         * BufferView_pimpl.C (Dispatch): layout as layout
12227         (smartQuote): layout as layout
12228
12229         * BufferView2.C (unlockInset): layout as layout
12230
12231 2002-06-24  André Pönitz <poenitz@gmx.net>
12232
12233         * lyxfunc.C: fix #487
12234
12235 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * lyxrc.h:
12238         * lyxrc.C:
12239         * lyxfunc.C: remove display_shortcuts, show_banner
12240
12241 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * Buffer_pimpl.C: oops, update on resize
12244
12245 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12246
12247         * buffer.C:
12248         * converter.C:
12249         * exporter.C:
12250         * lyxfunc.C:
12251         * BufferView.h:
12252         * BufferView.C: use repaint()
12253
12254         * BufferView_pimpl.h:
12255         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12256           as it's a clearer description. Remove superfluous
12257           redraws.
12258
12259 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * text.C: fix bug 488. Not ideal, but getting
12262           getWord() to work properly for the insets that
12263           matter is more difficult ...
12264
12265 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * BufferView_pimpl.C:
12268         * LyXAction.C:
12269         * commandtags.h:
12270         * lyxfunc.C: remove the six million index lyxfuncs to just
12271           one, and DTRT (bug 458)
12272
12273 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12274
12275         * BufferView.h:
12276         * BufferView.C:
12277         * BufferView_pimpl.h:
12278         * BufferView_pimpl.C: clean up resize() stuff,
12279           and unnecessary updateScreen()s
12280
12281 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * BufferView.h:
12284         * BufferView.C:
12285         * BufferView_pimpl.h:
12286         * BufferView_pimpl.C:
12287         * lyxfind.h:
12288         * lyxfind.C:
12289         * minibuffer.C: remove focus management of workarea,
12290           not needed. Use screen's greyOut()
12291
12292 2002-06-17  Herbert Voss  <voss@lyx.org>
12293
12294         * converter.C: (convert) do not post a message, when converting
12295         fails, let the calling function decide what to do in this case
12296
12297 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * lyxfunc.C: tidy up a little
12300
12301 2002-06-16    <alstrup@diku.dk>
12302
12303         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12304         Got rid of FORMS_H_LOCATION include. Now we are
12305         GUII.
12306
12307 2002-06-15  LyX Development team  <lyx@rilke>
12308
12309         * buffer.[Ch] (sgmlOpenTag):
12310         (sgmlCloseTag): Added support for avoiding pernicious mixed
12311         content. Return number of lines written.
12312
12313         (makeLinuxDocFile):
12314         (makeDocBookFile): Fixed calls to sgml*Tag.
12315         Simple white space clean.
12316
12317         (simpleDocBookOnePar): Simple white space clean.
12318
12319         * tabular.[Ch] (docBook): Renamed to docbook and got another
12320         argument to related with the pernicious mixed content.
12321
12322         (docbookRow): Fixed calls for docbook inset method.
12323
12324 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12325
12326         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12327         so it's X11 independent.
12328
12329         * kb*.[Ch]: ditto.
12330
12331         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12332
12333 2002-06-15  Lyx Development team  <lyx@electronia>
12334
12335         * intl.h: Renamed getTrans to getTransManager.
12336
12337 2002-06-14  Angus Leeming  <leeming@lyx.org>
12338
12339         * Makefile.am: nuke forgotten stl_string_fwd.h.
12340
12341 2002-06-12  Angus Leeming  <leeming@lyx.org>
12342
12343         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12344
12345 2002-06-13  Angus Leeming  <leeming@lyx.org>
12346
12347         * LaTeX.C:
12348         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12349
12350 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12351
12352         * kbmap.C (getiso): add support for cyrillic and greek
12353
12354 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * BufferView.h:
12357         * BufferView.C:
12358         * BufferView_pimpl.h:
12359         * BufferView_pimpl.C: move bogus scrolling logic
12360           to xforms
12361
12362 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12363
12364         * lyxfunc.C:
12365         * BufferView_pimpl.C: view->resize() change
12366
12367 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * BufferView_pimpl.C: topCursorVisible
12370           prototype change
12371
12372 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12373
12374         * Makefile.am:
12375         * lyx_gui.h:
12376         * lyx_gui.C: move to frontends/
12377
12378         * main.C:
12379         * lyx_main.h:
12380         * lyx_main.C: changes from above
12381
12382 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * intl.C:
12385         * intl.h:
12386         * kbmap.C:
12387         * kbsequence.C:
12388         * lyx_cb.C:
12389         * lyx_main.C: minor tidy
12390
12391 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12392
12393         * BufferView_pimpl.h:
12394         * BufferView_pimpl.C:
12395         * BufferView.h:
12396         * BufferView.C: make painter() const,
12397           remove dead code
12398
12399         * BufferView2.C: use screen() accessor
12400
12401         * lyx_main.h:
12402         * lyx_main.C: some minor cleanup
12403
12404 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * BufferView_pimpl.h:
12407         * BufferView_pimpl.C: remove enter/leaveView,
12408           use workHeight()
12409
12410 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * BufferView.h:
12413         * BufferView.C:
12414         * BufferView2.C:
12415         * BufferView_pimpl.h:
12416         * BufferView_pimpl.C: only construct screen once,
12417           rename
12418
12419         * lyxrc.C: remove pointless comment
12420
12421 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * BufferView.h:
12424         * BufferView.C: remove active() and belowMouse()
12425
12426         * BufferView_pimpl.h:
12427         * BufferView_pimpl.C: use workarea() not workarea_,
12428           and make it use a scoped_ptr instead
12429
12430 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * lyx_gui.C: add debug message on BadWindow
12433
12434 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12435
12436         * sp_spell.C: fdopen is not part of the C++ standard.
12437
12438         * paragraph.C (InsetIterator): use >= instead of ==
12439
12440 2002-06-07  Angus Leeming  <leeming@lyx.org>
12441
12442         Fixes needed to compile with Compaq cxx 6.5.
12443         * BufferView_pimpl.C:
12444         * DepTable.C:
12445         * buffer.C:
12446         * converter.C:
12447         * encoding.C:
12448         * lyx_gui.C:
12449         * lyx_main.C:
12450         * lyxtextclasslist.C:
12451         * minibuffer.C:
12452         * sp_spell.C:
12453         * tabular_funcs.C:
12454         * vc-backend.C:
12455         all c-library variables have been moved into namespace std. Wrap
12456         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12457
12458         * lyxlength.C:
12459         * tabular-old.C:
12460         * tabular.C:
12461         Add a using std::abs declaration.
12462
12463         * kbmap.h (modifier_pair):
12464         * paragraph.h (InsetTable, InsetList):
12465         * lyxfont.h (FontBits):
12466         type definition made public.
12467
12468         * bufferlist.C (emergencyWriteAll): the compiler complains that
12469         there is more than one possible lyx::class_fun template to choose from.
12470         I re-named the void specialisation as lyx::void_class_fun.
12471
12472         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12473
12474         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12475         the compiler is is unable to find tostr in write_attribute.
12476
12477 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12478
12479         * buffer.C (sgmlError): hide #warning
12480
12481 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12482
12483         * xtl/*: get rid of xtl, which is not in use anyway
12484
12485         * LyXAction.C (init):
12486         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12487         were unimplemented xtl experimentation
12488
12489 2002-06-04  André Pönitz <poenitz@gmx.net>
12490
12491         * lyxfunc.C: disable array operation on simple formulae
12492
12493 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * converter.C: constify a bit
12496
12497 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12498
12499         * lyx_gui.C: check xforms version correctly
12500
12501 2002-04-30  Herbert Voss  <voss@lyx.org>
12502
12503         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12504         "keep" option
12505
12506 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12509           attempt to register it with a VCS)
12510
12511 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12512
12513         * lyx_main.C (init): honor variables LYX_DIR_13x and
12514         LYX_USERDIR_13x
12515
12516 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * buffer.h:
12519         * buffer.C:
12520         * lyx_main.C: fix a crash on bad command line,
12521           and give a useful exit status on error
12522
12523         * lyxfunc.C (doImport): allow -i lyx to work
12524
12525 2002-03-30  André Pönitz <poenitz@gmx.net>
12526
12527         * lyxfunc.C: mathed font changes
12528
12529 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12530
12531         * LaTeX.C:
12532         * importer.h:
12533         * importer.C:
12534         * lyx_sty.h:
12535         * lyx_sty.C:
12536         * lyxlex.C:
12537         * lyxrow.h:
12538         * lyxtext.h:
12539         * paragraph.h:
12540         * paragraph.C:
12541         * texrow.h:
12542         * texrow.C:
12543         * text.C:
12544         * trans_mgr.h: srcdocs, and some minor cleanups
12545
12546 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12547
12548         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12549         call getFont all the time)
12550
12551 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12552
12553         * switch from SigC signals to boost::signals
12554
12555 2002-05-29  André Pönitz <poenitz@gmx.net>
12556
12557         * paragraph_pimpl.C (getChar): don't call size() too often...
12558
12559 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12560
12561         * paragraph_pimpl.C (insertChar): do not try to update tables when
12562         appending (pos == size())
12563
12564         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12565         in order to reduce drastically the number of comparisons needed to
12566         parse a large document
12567
12568 2002-05-29  André Pönitz <poenitz@gmx.net>
12569
12570         * text.C:
12571         * text2.C:
12572         * lyxtextclass.C:
12573         * sp_pspell.h:
12574         * textclasslist.[Ch]:
12575         * sp_ispell.h: whitespace change
12576
12577 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12578
12579         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12580         lyxaction directly now.
12581
12582 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12583
12584         * trans.C:
12585         * lyxfont.C:
12586         * lyxvc.C: remove unused headers
12587
12588 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12589
12590         * Makefile.am:
12591         * buffer.h:
12592         * undostack.h:
12593         * undostack.C:
12594         * undo_funcs.h:
12595         * undo_funcs.C: some cleanups. Use shared_ptr
12596           and a template for the undo stacks.
12597
12598 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12599
12600         * BufferView_pimpl.h:
12601         * BufferView_pimpl.C:
12602         * kbmap.h:
12603         * kbmap.C:
12604         * kbsequence.h:
12605         * kbsequence.C:
12606         * lyxfunc.h:
12607         * lyxfunc.C:
12608         * text2.C: use key_state/mouse_state
12609
12610 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12611
12612         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12613         and LSubstring
12614
12615         * chset.C: change include order
12616         (loadFile): use boost regex and get rid of LRegex and LSubstring
12617
12618         * Makefile.am (BOOST_LIBS): new variable
12619         (lyx_LDADD): use it
12620
12621         * LaTeX.C: change include order.
12622         (scanAuxFile): use boost regex and get rid of LRegex and
12623         LSubstring
12624         (deplog): ditto
12625
12626 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12627
12628         * ColorHandler.h:
12629         * ColorHandler.C:
12630         * FontInfo.h:
12631         * FontInfo.C: moved to frontends/xforms/
12632
12633         * FontLoader.h:
12634         * FontLoader.C: moved into frontends for GUIIzation
12635
12636         * Makefile.am:
12637         * lyx_gui.C:
12638         * lyxfont.C:
12639         * lyxfunc.C: changes from above
12640
12641 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * LColor.C: remove spurious X include
12644
12645         * BufferView_pimpl.C:
12646         * Makefile.am:
12647         * font.h:
12648         * font.C:
12649         * text.C:
12650         * text2.C: move font metrics to frontends/
12651
12652 2002-05-24  Juergen Vigna  <jug@sad.it>
12653
12654         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12655         setting the undo_cursor.
12656
12657         * ParagraphParameters.h: include local includes first.
12658
12659 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * BufferView_pimpl.C:
12662         * BufferView_pimpl.h:
12663         * Makefile.am:
12664         * WorkArea.h:
12665         * WorkArea.C:
12666         * screen.C: move WorkArea into frontends/
12667
12668         * lyxscreen.h:
12669         * screen.C:
12670         * text.C:
12671         * BufferView.C:
12672         * BufferView2.C: move LyXScreen into frontends/
12673
12674         * lyxlookup.h:
12675         * lyxlookup.C:
12676         * lyx_gui.C: move lyxlookup into frontends/xforms/
12677
12678 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * BufferView2.C:
12681         * BufferView_pimpl.C:
12682         * FontLoader.C:
12683         * LyXView.h:
12684         * LyXView.C:
12685         * Makefile.am:
12686         * WorkArea.C:
12687         * XFormsView.h:
12688         * XFormsView.C:
12689         * buffer.C:
12690         * bufferlist.C:
12691         * bufferview_funcs.C:
12692         * converter.C:
12693         * importer.C:
12694         * lyx_cb.C:
12695         * lyx_gui.C:
12696         * lyx_main.C:
12697         * lyx_find.C:
12698         * lyxfunc.C:
12699         * lyxvc.C:
12700         * minibuffer.C:
12701         * text.C:
12702         * text2.C:
12703         * trans.C:
12704         * vc-backend.C: move LyX/XFormsView into frontends/
12705
12706 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12707
12708         * Makefile.am:
12709         * PainterBase.C:
12710         * PainterBase.h:
12711         * Painter.C:
12712         * Painter.h:
12713         * WorkArea.C:
12714         * WorkArea.h:
12715         * screen.C:
12716         * tabular.C:
12717         * text.C:
12718         * text2.C: move Painter to frontends/
12719
12720 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * buffer.C: comment out some some code that depend upon lyx_format
12723         < 220
12724
12725         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12726         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12727
12728         * buffer.h (NO_COMPABILITY): turn off compability
12729
12730         * ColorHandler.C: include scoped_array.hpp
12731
12732         * font.C: Use more specific smart_ptr header.
12733         * Painter.C: ditto
12734         * gettext.C: ditto
12735         * ShareContainer.h: ditto
12736         * lyx_main.h: ditto
12737         * kbmap.h: ditto
12738         * FontInfo.h: ditto
12739         * BufferView_pimpl.h: ditto
12740         * ColorHandler.h: ditto
12741
12742         * kbmap.C (defkey): change call to shared_ptr::reset
12743
12744 2002-05-21  Juergen Vigna  <jug@sad.it>
12745
12746         * buffer.C (insertErtContents): fix to insert ert asis if it is
12747         non empty. Skip it completely if it contains only whitespaces.
12748
12749 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * BufferView_pimpl.C:
12752         * BufferView2.C: clear selection on paste (bug 393)
12753
12754 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12755
12756         * DepTable.C: include ctime
12757
12758 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12759
12760         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12761
12762 2002-05-14  Juergen Vigna  <jug@sad.it>
12763
12764         * text.C (breakParagraph): fixed function to honor the keepempty
12765         layout in the right maner and also to permit the right breaking
12766         algorithm on empty or non empyt keepempty paragraphs.
12767
12768         * paragraph.C (breakParagraph): we have to check also if the par
12769         is really empty (!size()) for isempty otherwise we do the wrong
12770         paragraph break.
12771
12772 2002-05-10  Juergen Vigna  <jug@sad.it>
12773
12774         * buffer.[Ch] : The following are only changes to the ert
12775         compatibility read reading old LaTeX layout and font stuff and
12776         convert it to ERTInsets.
12777
12778         * buffer.h: added isErtInset().
12779
12780         * buffer.C (struct ErtComp): add a fromlayout bool to check
12781         if we're inside a LaTeX layout.
12782         (isErtInset): new helper function.
12783         (insertErtContents): look for other ert insets before this one
12784         and insert the contents there, so that we don't have subsequent
12785         ERT insets with nothing between them. This way we create only one
12786         inset with multiple paragraphs. Also check if we don't insert only
12787         spaces ' ' as they are ignored anyway afterwards in the .tex file
12788         so if we have only spaces we will ignore this latex part in the
12789         new file.
12790         (parseSingleLyXformat2Token \\layout): better compatibility when
12791         reading layout-latex stuff.
12792         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12793         language tag.
12794         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12795         stuff after reading the inset only get the information back from
12796         the stack.
12797
12798 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12799
12800         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12801
12802         * LaTeXFeatures.C (getBabelOptions): New method.
12803
12804 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * BufferView_pimpl.C (Dispatch): work around missing argument for
12807         'layout'
12808
12809 2002-05-08  Juergen Vigna  <jug@sad.it>
12810
12811         * text.C (leftMargin): handle paragraph leftindent.
12812
12813         * paragraph.C (writeFile): write the new \\leftindent tag.
12814         (validate): handle leftindent code.
12815         (TeXEnvironment): handle paragraphleftindent code again.
12816
12817         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12818
12819         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12820         for paragrap_extra indent code and new token \\leftindent.
12821         (latexParagraphs): handle the leftindent as environment.
12822
12823         * ParameterStruct.h: added leftindent support.
12824
12825         * ParagraphParameters.C (leftIndent): added support functions for
12826         the paragraph left indent.
12827
12828         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12829         more appropriate.
12830
12831 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12832
12833         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12834         inside insetERT.
12835
12836         * text.C (computeBidiTables): No bidi in insetERT.
12837
12838         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12839         in RTL documents.
12840
12841 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * version.C.in: pre 5
12844
12845 2002-05-02  José Matos  <jamatos@fep.up.pt>
12846         * buffer.C (makeDocBookFile): white space changes, add newline to
12847         command styles.
12848         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12849
12850         * tabular.C (docBook): fix typo.
12851
12852 2002-05-03  Juergen Vigna  <jug@sad.it>
12853
12854         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12855         change in LyXText as we can not be sure it was not freed.
12856         (drawOneRow): remove unused code.
12857
12858         * text.C (drawInset): redo the calculation of the need_break_row as
12859         it could have a row which was already freed.
12860         (draw): look at the return value of drawInset and return false if
12861         it also returned false.
12862         (paintRowText): look at the return value of draw and return false if
12863         it also returned false.
12864
12865         * lyxtext.h: added bool return type to drawInset() and draw() so that
12866         if we have a change in the row so that the rowbreak has to be redone
12867         we abort drawing as it will be called again.
12868
12869 2002-05-02  Juergen Vigna  <jug@sad.it>
12870
12871         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12872         a change in the maintext also if we're inside an inset.
12873         (Dispatch): set the cursor again after a break line and after the
12874         screen has been updated as it could be we're in a different row.
12875
12876         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12877         to set the cursor behind the pargraph with > size().
12878         (setCursor): check also for the same paragraph when checking where
12879         to put the cursor if we have a NFR inset.
12880
12881         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12882         parts of layout read further up as it still was in the wrong
12883         position.
12884
12885 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12886
12887         * screen.C (drawFromTo): change sine fullRebreak always return
12888         true.
12889
12890         * buffer.C (parseSingleLyXformat2Token): reindent some
12891
12892         * BufferView_pimpl.C (update): change since fullRebreak always
12893         return true.
12894         (Dispatch): git rid of the last hardcoded "Standard"s.
12895
12896 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12897
12898         * text2.[Ch] (fullRebreak): make it return void now that we always
12899         returned true.
12900
12901 2002-04-30  Juergen Vigna  <jug@sad.it>
12902
12903         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12904         ert compatibility check for "latex" layout.
12905
12906 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12907
12908         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12909         minipages: use col% instead of p%, and also use the current font.
12910         (makeLaTeXFile): Fix use babel condition.
12911         (parseSingleLyXformat2Token): Correct font when reading old floats.
12912
12913 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12914
12915         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12916         inserting list of floats.
12917
12918 2002-04-25  Herbert Voss  <voss@lyx.org>
12919
12920         * MenuBackend.C (expand): don't add the graphics extensions to the
12921         export menu
12922
12923 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12924
12925         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12926         non-existing layout, do not complain if it was the default layout
12927         of the original class (bug #342)
12928
12929 2002-04-24  Juergen Vigna  <jug@sad.it>
12930
12931         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12932         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12933
12934 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12935
12936         * buffer.C (getBibkeyList): If using \bibliography, return the
12937         option field with the reference itself. Enables us to provide natbib
12938         support when using \bibliography.
12939
12940 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12941
12942         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12943
12944         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12945         natbib is provided by the LaTeX class.
12946
12947 2002-04-23  Juergen Vigna  <jug@sad.it>
12948
12949         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12950         Wakeup functions.
12951
12952         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12953
12954 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12955
12956         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12957
12958         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12959         ensuremath around textordmasculine, textordfeminine and
12960         textdegree.
12961
12962 2002-04-19  Juergen Vigna  <jug@sad.it>
12963
12964         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12965         reinitializing the buffer otherwise row-dimensions may be wrong.
12966         (update): reset also the selection cursors if they do exits otherwise
12967         their x/y positions may be wrong.
12968
12969         * text2.C (cursorDown): don't enter the inset if we came from a row
12970         above and are one row over the inset.
12971
12972         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12973         really leaving an inset.
12974
12975 2002-04-18  Juergen Vigna  <jug@sad.it>
12976
12977         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12978         of the selected paragraph does not have the selected layout also if
12979         the last one had!
12980
12981         * text2.C (setLayout): fixed bug which did not change last selected
12982         paragraph.
12983
12984         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12985         changed the read and substituted \\end_float with \\end_inset!
12986
12987         * BufferView_pimpl.C (cursorPrevious):
12988         (cursorNext): fixed to make it work with rows heigher than the work
12989         area without moving the cursor only the draw of the row.
12990         (workAreaMotionNotify): fix jumping over high rows.
12991
12992 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12995         Ressler.
12996
12997 2002-04-16  Juergen Vigna  <jug@sad.it>
12998
12999         * text2.C (setCursor): set also the irow().
13000         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13001         (cursorUp):
13002         (cursorDown): support for locking an inset if the x_fix value goes
13003         inside it. That way I can transverse insets too with cursor up/down.
13004
13005         * lyxrow.h: added irow helper function same as other (i) functions.
13006
13007         * BufferView_pimpl.C (cursorPrevious):
13008         (cursorNext): fixed for insets!
13009
13010 2002-04-15  Juergen Vigna  <jug@sad.it>
13011
13012         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13013         position otherwise it is wrong in some cases.
13014
13015         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13016         inside the inset before the call.
13017
13018 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13019
13020         * buffer.[Ch] (getBibkeyList): make it const.
13021
13022 2002-04-12  Juergen Vigna  <jug@sad.it>
13023
13024         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13025
13026         * text2.C (getCursorX): new helper function
13027         (setCursor): compute also ix_
13028         (setCursorFromCoordinates): set also ix.
13029
13030         * lyxcursor.h: added ix_ and helper functions.
13031
13032         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13033
13034         * buffer.C (insertStringAsLines): dont break paragraph if the this
13035         paragraph is inside an inset which does not permit it!
13036
13037         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13038         also with no chars on this paragraph.
13039         (paintRowText): only paint stuff if it's inside the workarea!
13040
13041         * paragraph.C (breakParagraph): honor keepempty flag and break the
13042         paragraph always below not above.
13043
13044         * BufferView2.C (unlockInset): update the paragraph layout on inset
13045         unlock as we changed paragraph in such a case.
13046
13047         * lyxfind.C (LyXFind): clear the former selection if not found!
13048
13049         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13050         again called in insertChar().
13051
13052         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13053         an inset which uses the whole row!
13054         (rightMargin): ditto.
13055         (insertChar): force a rebreak if we inserted an inset!
13056
13057 2002-03-28  Herbert Voss  <voss@lyx.org>
13058
13059         * lyxlength.[Ch]: add inBP() to get the right PS-point
13060         units (BigPoint). With inPixels we have rounding errors
13061
13062 2002-04-11  Juergen Vigna  <jug@sad.it>
13063
13064         * text2.C (setCursorFromCoordinates): set iy to the right value.
13065         (setCursor): add check if row->previous exists!
13066
13067         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13068         an old float_type as this was the case in the old code!
13069
13070         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13071
13072         * BufferView2.C (showLockedInsetCursor): use iy
13073         (fitLockedInsetCursor): ditto
13074
13075         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13076         locked insets as there we have the right value now.
13077
13078         * lyxcursor.C: added iy_ variable and iy functions to set to the
13079         baseline of cursor-y of the locked inset.
13080
13081         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13082         (setCursor): fixed for insets which need a full row.
13083
13084         * text.C (rowLastPrintable): don't ignore the last space when before
13085         an inset which needs a full row.
13086         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13087         as last character of a row when before a inset which needs a full row.
13088
13089 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13090
13091         * version.C.in: update date
13092
13093         * text2.C (fullRebreak): try to always return true and see what
13094         happens...
13095
13096 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13097
13098         * MenuBackend.C (expand): use Floating::listName
13099
13100         * FloatList.C (FloatList): add listName argument to the built-in
13101         floats
13102
13103         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13104         text associated with the float.
13105
13106 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13107
13108         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13109
13110 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13111
13112         * ShareContainer.h: add a couple of missing typenames.
13113
13114 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13115
13116         * lyxrc.C (getDescription): use _() correctly rather than N_().
13117
13118 2002-03-28  Herbert Voss  <voss@lyx.org>
13119
13120         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13121         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13122
13123 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13124
13125         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13126         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13127
13128 2002-03-29  Juergen Vigna  <jug@sad.it>
13129
13130         * lyxfunc.C (dispatch): add a missing fitCursor call.
13131
13132         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13133         it was scrolled by a cursor move, so return the bool status.
13134
13135         * BufferView.C (fitCursor): return the bool flag also to the outside
13136         world as this is needed.
13137
13138         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13139
13140         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13141         call the edit() as it is not needed (and wrong) IMO.
13142         (workAreaButtonPress): set the screen_first variable before evt.
13143         unlock the inset as this may change screen_first and then we have
13144         a wrong y position for the click!
13145
13146 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13147
13148         * MenuBackend.C (expand): another translation that I missed
13149
13150 2002-03-28  Juergen Vigna  <jug@sad.it>
13151
13152         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13153
13154         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13155
13156 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13157
13158         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13159
13160         * MenuBackend.C (expand): fix export/view/update when there is no
13161         document open.
13162
13163 2002-03-27  Herbert Voss  <voss@lyx.org>
13164
13165         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13166         and text%
13167
13168 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13169
13170         * bufferview_funcs.C (currentState): only show paragraph number
13171         for is DEVEL_VERSION is set.
13172
13173         * lyxfunc.C (dispatch): put warning in INFO channel
13174
13175         * MenuBackend.C (expand): translate the name of floats
13176
13177         * FloatList.C (FloatList): mark the float names for translation
13178
13179         * converter.C (convert): use LibScriptSearch
13180
13181 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13182
13183         * MenuBackend.C (defaults): fix default menu (we might as well get
13184         rid of it...)
13185
13186 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13189         directory.
13190
13191 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * lyxvc.C: reorder includes.
13194
13195 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13196
13197         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13198           properly
13199
13200 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13201
13202         * CutAndPaste.C: change layouts earlier on paste
13203           to avoid crashing when calling getFont()
13204
13205 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13206
13207         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13208         irritating #error.
13209
13210 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * WorkArea.C: remove 'Pending' debug message.
13213
13214         * most files: ws cleanup
13215
13216         * buffer.[Ch]: ws changes
13217
13218         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13219
13220 2002-03-21  Juergen Vigna  <jug@sad.it>
13221
13222         * tabular.C (SetMultiColumn): collapse also the contents of the
13223         cells and set the last border right. Added a Buffer const * param.
13224
13225 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13226
13227         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13228         linking or not.
13229
13230 2002-03-19  Juergen Vigna  <jug@sad.it>
13231
13232         * text2.C (clearSelection): reset also xsel_cache.
13233
13234         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13235         where it needs to be called (John tells us to do so too :)
13236         (selectionLost): reset sel_cache.
13237
13238         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13239
13240 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13241
13242         * text2.C (setCursorIntern): put debuging code in INSETS channel
13243
13244 2002-03-19  André Pönitz <poenitz@gmx.net>
13245
13246         * lyxfunc.C: tiny whitespace change
13247
13248 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13249
13250         * ToolbarDefaults.C (init):
13251         * LyXAction.C (init):
13252         * commandtags.h:
13253         * BufferView_pimpl.C (Dispatch):
13254         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13255
13256 2002-03-19  Allan Rae  <rae@lyx.org>
13257
13258         * exporter.C (Export): removeAutoInsets before doing anything else.
13259         While I've just introduced a dependency on BufferView this really is
13260         the best place to clean the buffer otherwise you need to cleanup in
13261         a dozen places before calling export or cleanup in a dozen functions
13262         that export calls.
13263
13264         * converter.C (runLaTeX):
13265         (scanLog): Better handling of removeAutoInsets and screen updates.
13266
13267         * lyxfunc.C (dispatch): small whitespace changes
13268
13269 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13270
13271         * WorkArea.C (C_WorkAreaEvent): return a value.
13272         (event_cb): return 1 if we handled the event, 0 otherwise.
13273
13274         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13275
13276 2002-03-18  Juergen Vigna  <jug@sad.it>
13277
13278         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13279         (GetAdditionalWidth): ditto.
13280         (RightLine): ditto.
13281         (LeftLine): ditto.
13282
13283         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13284         inset if we're there actually (probably not used right now but this
13285         is the direction to go for unifying code).
13286         (paste): disable code to clear the selection.
13287
13288         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13289         inside an InsetText and move the check further up as it is in the
13290         wrong place.
13291
13292         * text2.C (pasteSelection): set a selection over the pasted text.
13293
13294 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13295
13296         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13297         and libgraphics to build on Cygwin.
13298
13299 2002-03-15  Juergen Vigna  <jug@sad.it>
13300
13301         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13302         inserting an Inset into the paragraph. I know this is not the best
13303         fix but we already use current_view in CutAndPaste so we will remove
13304         all of it's using at the same time.
13305
13306         * buffer.C (sgmlError): deactivated function till it is rewritten in
13307         the right mode, now it can create problems.
13308
13309         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13310         before accessing it.
13311
13312 2002-03-14  Juergen Vigna  <jug@sad.it>
13313
13314         * undo_funcs.C (textHandleUndo): do the right thing when updating
13315         the inset after the undo/redo.
13316
13317         * text2.C (setCursor): just some testcode for #44 not ready yet.
13318
13319         * undo_funcs.C (textHandleUndo): set the next() and previous()
13320         pointers of the paragraph to 0 before deleting otherwise we have
13321         problems with the Paragraph::[destructor].
13322
13323         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13324         on a paragraph insertion.
13325
13326 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13327
13328         * buffer.C (asciiParagraph): use += operator for char append to
13329         string.
13330
13331         * paragraph.C (getFontSettings): compare >= not just >
13332         (highestFontInRange): ditto
13333         (setFont): ditto
13334
13335 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * paragraph.C: change several algorithm to be more appripriate for
13338         the problem domain. This is lookip in FontList and in the InsetList.
13339
13340 2002-03-13  André Pönitz <poenitz@gmx.net>
13341
13342         * commandtags.h:
13343         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13344
13345 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13346
13347         * commandtags.h:
13348         * LyXAction.C:
13349         * lyxfunc.C:
13350         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13351
13352 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * Painter.C (display): anon helper function, adjust code for this
13355         change.
13356         (pixmap): remove function.
13357
13358         * Painter.h: remove private display variable.
13359
13360         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13361
13362 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13363
13364         * WorkArea.[Ch]: remove figinset_canvas cruft.
13365
13366 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13367
13368         * lyxtextclass.C (operator): add one item cache optimization.
13369
13370         * bufferlist.h: doxy changes
13371
13372         * bufferlist.C: ws changes
13373
13374         * DepTable.[Ch] (ext_exist): place const in the right spot.
13375
13376         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13377         call resizeInsets.
13378         (workAreaExpose): call resizeInsets when the with BufferView changes.
13379         (Dispatch): adjust for protectedBlank removal
13380         (specialChar): call updateInset if the insert went ok.
13381
13382         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13383         specialChar instead.
13384
13385         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13386
13387         * BufferView.h: doxy change
13388
13389         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13390
13391         * lyxtextclass.C (operator[]): remove non-const version
13392         (defaultLayout): remove non-const version
13393
13394 2002-03-12  Juergen Vigna  <jug@sad.it>
13395
13396         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13397         did resize the LyXText too.
13398
13399         * buffer.C (readLyXformat2): set layout information on newly allocated
13400         paragraphs.
13401
13402         * tabular.C (OldFormatRead): set layout information on the paragraph.
13403
13404 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13405
13406         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13407
13408 2002-03-11  Juergen Vigna  <jug@sad.it>
13409
13410         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13411         plainly wrong.
13412         (resizeCurrentBuffer): force also the insets to resize themselfes.
13413         (moveCursorUpdate): fixed up for InsetText.
13414
13415 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13416
13417         * commandtags.h:
13418         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13419         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13420         value of Dialogs::tooltipsEnabled().
13421         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13422
13423 2002-03-08  Juergen Vigna  <jug@sad.it>
13424
13425         * BufferView_pimpl.C (updateInset): update inset inside inset also
13426         if it isn't inside theLockingInset().
13427
13428 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * buffer.C (asciiParagraph): redo some of the word and line length
13431         handling.
13432         (getLists): look for Caption instead of caption.
13433
13434 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13435
13436         * buffer.C (Buffer): initialize niceFile to true
13437         (makeLaTeXFile):
13438         (makeLinuxDocFile):
13439         (makeDocBookFile): make sure niceFile is true on exit
13440
13441 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13442
13443         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13444
13445 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13446
13447         * LyXSendto.C: remove.
13448         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13449         * lyx_gui.C: remove now-redundant comment.
13450         * ColorHandler.h: remove forward declaration of class WorkArea.
13451         * lyxfunc.C: remove #include "WorkArea.h".
13452
13453 2002-03-07  Juergen Vigna  <jug@sad.it>
13454
13455         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13456         got moved away with the DEPM and also set the inset_owner always
13457         right which before could have been omitted.
13458
13459 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13460
13461         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13462         wanted layout is not found.
13463
13464 2002-03-07  Juergen Vigna  <jug@sad.it>
13465
13466         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13467
13468 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13469
13470         * paragraph.C (breakParagraph): use default layout not layout of
13471         prev paragraph.
13472         (Paragraph): clear ParagraphParameters.
13473
13474 2002-03-06  Juergen Vigna  <jug@sad.it>
13475
13476         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13477         otherwise it would not be a valid lenght. Fixed a special case in
13478         the minipage compatibility read where we end the document with a
13479         minipage.
13480
13481         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13482         was set as it could be 0 for InsetTexts first entry.
13483
13484 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13485
13486         * paragraph.C (writeFile): if layout is empty write out
13487         defaultLayoutName().
13488
13489         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13490         file without named layout we set layout to defaultLayoutName().
13491
13492 2002-03-06  Juergen Vigna  <jug@sad.it>
13493
13494         * CutAndPaste.C (copySelection): set layout for new paragraph.
13495
13496         * text.C (prepareToPrint): leave ERT inset left aligned
13497         (leftMargin): don't indent paragraphs inside ERT insets
13498
13499 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13500
13501         * paragraph.C (breakParagraph): dont call clear do the work manually
13502
13503         * paragraph.[Ch] (clear): remove function
13504
13505 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13506
13507         * paragraph.C (Paragraph): dont call clear, the work has already
13508         been done.
13509
13510         * lyxtextclass.C (operator): assert if n is empty
13511
13512         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13513         work manually instead.
13514
13515 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13516
13517         * BufferView_pimpl.C: protect selectionLost against text == 0
13518
13519 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13520
13521         * text.C (breakParagraph): fix a setting layout to '0' problem.
13522
13523 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13524
13525         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13526         final location of file, for the included files, and graphics.
13527
13528 2002-03-05  Juergen Vigna  <jug@sad.it>
13529
13530         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13531
13532 2002-03-04  Juergen Vigna  <jug@sad.it>
13533
13534         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13535
13536         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13537         last column of multicolumn cells.
13538         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13539
13540 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13541
13542         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13543         file if it doesn't go to a temporary file.
13544
13545         * buffer.C (sgmlOpenTag):
13546         (sgmlCloseTag):  remove extra newline insertion.
13547
13548 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * text.C (getRowNearY): comment out debug msg
13551
13552 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13553
13554         * text2.C: first -> first_y
13555
13556         * text.C (getRowNearY): add some attemts at a possible
13557         optimization, not working.
13558
13559         * tabular.[Ch]: add BufferParams to several function so that newly
13560         created paragraph can be initialized to he default layotu for the
13561         buffers textclass.
13562
13563         * tabular-old.C (ReadOld): add buf->params to call of Init
13564
13565         * screen.C: rename text->first to text->first_y
13566
13567         * paragraph.C (breakParagraph): always set layout in the broken
13568         paragraph
13569
13570         * lyxtextclass.C (Read): remove lowercase
13571         (hasLayout): ditto
13572         (operator): ditto
13573         (delete_layout): ditto
13574
13575         * lyxtext.h: rename first -> first_y
13576
13577         * lyxlayout.C (Read): remove lowercase
13578         (name): ditto
13579         (setName): ditto
13580         (obsoleted_by): ditto
13581
13582         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13583
13584         * buffer.C (insertErtContents): add params are to InsetERT
13585         (parseSingleLyXformat2Token): add code to check if a paragraphs
13586         layout really exist.
13587         (parseSingleLyXformat2Token): add params to several inset
13588         constructors
13589         (asciiParagraph): remove lowercase, do the layout comparisons with
13590         no_case
13591
13592         * BufferView_pimpl.C (cursorNext): first -> first_y
13593         (resizeCurrentBuffer): first -> first_y
13594         (updateScrollbar): first -> first_y
13595         (scrollCB): first -> first_y
13596         (workAreaMotionNotify): first -> first_y
13597         (workAreaButtonPress): first -> first_y
13598         (checkInsetHit): first -> first_y
13599         (cursorPrevious): first -> first_y
13600         (cursorNext): first -> first_y
13601         (Dispatch): add buffer_->params to severl inset contructors
13602
13603 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13604
13605         * lyxlayout.C (Read): remove some debug info that I forgot.
13606
13607         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13608         clean up the code slightly.
13609         (makeLinuxDocFile): ditto
13610         (makeDocBookFile): ditto
13611
13612         * text2.C: layout as string
13613
13614         * text.C: layout as string
13615
13616         * paragraph_pimpl.C: layout as string
13617
13618         * paragraph.[Ch]: layout as string
13619
13620         * lyxtextclasslist.[Ch]: layout as string
13621
13622         * lyxtextclass.[Ch]: layout as string
13623
13624         * lyxtext.h: layout as string
13625
13626         * lyxlayout.[Ch]: layout as string
13627
13628         * lyx_cb.C: layout as string
13629
13630         * bufferview_funcs.C: layout as string
13631
13632         * bufferparams.C: layout as string
13633
13634         * buffer.C: layout as string
13635
13636         * LyXView.[Ch]: layout as string
13637
13638         * LaTeXFeatures.[Ch]: layout as string
13639
13640         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13641
13642         * BufferView_pimpl.C: change current_layout to string, remove
13643         lyx::layout_type.
13644         (Dispatch):
13645         (smartQuote):
13646         (insertInset):
13647         (workAreaButtonRelease): layout as string
13648
13649         * BufferView2.C (unlockInset): adjust
13650
13651         * vspace.C (asLatexCommand): use an explict temp variable.
13652
13653 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * Makefile.am: use FRONTEND_*
13656
13657 2002-03-01  Juergen Vigna  <jug@sad.it>
13658
13659         * tabular.C (SetWidthOfMulticolCell): changed to something better
13660         I hope but still work in progress.
13661         (recalculateMulticolumnsOfColumn): renamed function from
13662         recalculateMulticolCells as it is more appropriate now.
13663         (SetWidthOfCell): calculate multicols better.
13664
13665 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13666
13667         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13668
13669         * lyxfunc.C (processKeySym): print sequence also if it is
13670         `deleted' (complete)
13671
13672         * kbsequence.C (print): print sequence even if it is deleted
13673         (complete would be a better word, actually).
13674
13675         * lyxfunc.C (dispatch): print complete options after a prefix key
13676
13677         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13678
13679 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13680
13681         * text2.C (setCharFont): eliminate setCharFont code duplication.
13682
13683 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13684
13685         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13686         LFUN_TABULAR_FEATURE (bug #177)
13687
13688 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13689
13690         * Makefile.am: remove figure.h
13691
13692 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13693
13694         * Bufferview_pimpl.C:
13695         * CutAndPasteC:
13696         * LaTeX.C:
13697         * LyXSendto.C:
13698         * buffer.C:
13699         * bufferlist.C:
13700         * converter.C:
13701         * language.C:
13702         * lyxfunc.C:
13703         * lyxvc.C:
13704         * paragraph.C:
13705         * text.C:
13706         * text2.C: remove #include "lyx_gui_misc.h".
13707
13708         * LaTeX.C: added #include <cstdio>
13709
13710 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13711
13712         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13713         that the paragraph following this one can have.
13714
13715         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13716
13717         * vspace.C (asLatexCommand): fix bogus gcc warning
13718
13719         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13720
13721 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13722
13723         * text2.C (setLayout): get rid of redundant code
13724
13725 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13726
13727         * text2.C (incDepth): make sure depth cannot be increased beyond
13728         reasonable values.
13729
13730 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13731
13732         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13733         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13734
13735         * PainterBase.h (image):
13736         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13737         a LyXImage const *.
13738
13739 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13740
13741         * BufferView.C:
13742         * BufferView.h:
13743         * BufferView_pimpl.C:
13744         * BufferView_pimpl.h:
13745         * LaTeXFeatures.C:
13746         * LyXAction.C:
13747         * LyXView.C:
13748         * Makefile.am:
13749         * UpdateList.h:
13750         * UpdateList.C:
13751         * buffer.C:
13752         * figure.h:
13753         * figureForm.C:
13754         * figureForm.h:
13755         * figure_form.C:
13756         * figure_form.h:
13757         * lyx_cb.C:
13758         * lyx_gui.C:
13759         * lyx_gui_misc.C:
13760         * lyxfunc.C:
13761         * sp_base.h:
13762         * sp_ispell.h:
13763         * sp_pspell.h:
13764         * sp_spell.C: remove fig inset, and the crap house of
13765           cards that follows it
13766
13767 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13768
13769         * Makefile.am:
13770         * lyxserver.C:
13771         * os2_defines.h:
13772         * os2_errortable.h:
13773         * nt_defines.h: move .h into support/
13774
13775         * vms_defines.h: remove
13776
13777         * WorkArea.C: add space in debug output
13778
13779         * text2.C:
13780         * paragraph.C:
13781         * buffer.C: add WITH_WARNINGS
13782
13783         * vc-backend.h:
13784         * vc-backend.C:
13785         * bufferlist.C: s/retrive/retrieve/, add docs
13786
13787         * vspace.h:
13788         * vspace.C:
13789         * kbmap.h:
13790         * lyxlength.h:
13791         * lyxgluelength.h:
13792         * length_common.h:
13793         * chset.h:
13794         * chset.C: add docs
13795
13796         * lyxgui.C: add ID to X error handler
13797
13798         * lyxtestclass.c: fix typo
13799
13800 2002-02-26  Juergen Vigna  <jug@sad.it>
13801
13802         * tabular_funcs.C (write_attribute): changed so that some default
13803         attributes are not written at all.
13804         (getTokenValue): set default values before trying to read the
13805         value so we have the return value always set as default if we don't
13806         find the token we search for.
13807
13808         * tabular.C (Write): write bools as bools not as strings!
13809
13810 2002-02-22  Juergen Vigna  <jug@sad.it>
13811
13812         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13813         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13814
13815         * text.C (leftMargin): don't add an indent for paragraphs inside
13816         tabular cells (fix #208).
13817
13818 2002-02-21  José Matos  <jamatos@fep.up.pt>
13819
13820         * tabular.C (docBook): fixed support for long tables.
13821
13822 2002-02-20  Juergen Vigna  <jug@sad.it>
13823
13824         * text2.C (getFont): get the drawing font of the Inset if this
13825         paragraph is inside an inset (only important for InsetERT for now).
13826
13827         * buffer.C (insertErtContents): use new lanugage params in ERT
13828         constructor.
13829
13830         * CutAndPaste.C: commenting out seemingly uneeded code.
13831
13832 2002-02-19  Allan Rae  <rae@lyx.org>
13833
13834         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13835         Iterators might be simple to use but they also get invalidated.
13836         (removeAutoInsets): renamed saved cursor tracking variables and added
13837         some comments to clarify what everything does.
13838
13839 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13840
13841         * Chktex.C:
13842         * LaTeX.C:
13843         * LyXSendto.C:
13844         * converter.C:
13845         * lyx_cb.C:
13846         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13847         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13848
13849         * lyxfunc.C:
13850         * vc-backend.h: remove #include "support/syscall.h"
13851
13852         * LaTeX.C:
13853         * LyXSendto.C:
13854         * converter.C: rearrange #includes in Lars' approved fashion.
13855
13856         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13857         forward declare class Timeout in the header file.
13858
13859         * XFormsView.C: changes due to the above.
13860
13861         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13862         similar to LyXView.
13863
13864         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13865         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13866
13867 2002-02-18  José Matos  <jamatos@fep.up.pt>
13868
13869         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13870         insets contents.
13871
13872 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13873
13874         * a lot of small ws changes
13875         * add a lot of using std::XXX
13876         * use std construcs some places where approp.
13877         * use some exisint stuff from lyxfunctional where approp.
13878         * Make file changes to use partial linking (lets test this now...)
13879
13880 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13881
13882         * Chktex.C:
13883         * buffer.C:
13884         remove #include "support/syscontr.h" as it's redundant. Always has been.
13885
13886         * Chktex.C:
13887         * LaTeX.C:
13888         * LyXSendto.C:
13889         * converter.C:
13890         * lyx_cb.C:
13891         * vc-backend.C:
13892         change Systemcalls::System to Systemcalls::Wait and
13893         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13894         No change of functionality, just reflects the stripped down Systemcalls
13895         class.
13896
13897 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13898
13899         * debug.[Ch]: add a GRAPHICS type to the enum.
13900
13901 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13902
13903         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13904
13905         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13906         there is an inset.
13907
13908 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13909
13910         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13911         match the changes below.
13912
13913         * text2.C (toggleInset): if there is not editable inset at cursor
13914         position, try to see if cursor is _inside_ a collapsable inset
13915         and close it.
13916
13917 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13918
13919         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13920         document menu has a nice checkbox
13921
13922 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13923
13924         * lyxlength.C (asLatexString): change PW to output as percent of
13925         \textwidth.
13926
13927         * lengthcommon.C: change '%' to 't%'
13928
13929         * lyxfunc.C (dispatch): a few comments from Martin
13930
13931 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13932
13933         * WorkArea.h:
13934         * WorkArea.C:
13935         * BufferView_pimpl.h:
13936         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13937           the X selection.
13938
13939 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13940
13941         * vspace.C (inPixels): fix compiler warning
13942
13943 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13944
13945         * lyxfunc.C (getStatus): fix status message for disabled commands.
13946
13947 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13948
13949         * BufferView_pimpl.C: fix crash on close buffer
13950         during selection (#227)
13951
13952 2002-01-27  Herbert Voss  <voss@lyx.org>
13953
13954         * buffer.C: link old Figure to new graphic inset
13955
13956 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13957
13958         * FontLoader.C (getFontinfo): Change the latex font names in order
13959         to match the names of type1inst.
13960
13961 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13962
13963         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13964
13965         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13966         (extchanged): ditto
13967         (ext_exist): ditto
13968         (remove_files_with_extension): ditto
13969         (remove_file): ditto
13970         (write): ditto
13971
13972         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13973         document is smaller than the work area height. Do not initialize
13974         static variables to 0.
13975
13976 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13977
13978         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13979
13980         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13981         LFUN_LAYOUT_PARAGRAPHS.
13982
13983         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13984         tabular. It is possible to provide a possible cell, which will
13985         typically be the actcell from the corresponding insettabular
13986
13987         * lyxfunc.C (getStatus): small cleanup; disable
13988         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13989         true
13990
13991 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13992
13993         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13994
13995         * paragraph.C (startTeXParParams):
13996         (endTeXParParams): new methods. The LaTeX code to
13997         start/end paragraph formatting
13998         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13999         empty (fixes bug #200)
14000
14001         * vspace.C (inPixels): adapt to the change below
14002         (inPixels): [later] more cleanups (remove unused variables)
14003
14004         * lyxlength.C (inPixels): change to use a width and a height as
14005         parameter.
14006
14007 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14008
14009         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14010         Replaced with \paperwidth
14011
14012         * DepTable.C (insert): add std:: qualifier
14013
14014 2002-01-18  Allan Rae  <rae@lyx.org>
14015
14016         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14017         updated also?
14018
14019         * text.C (drawInset): Turned out I didn't know enough about how
14020         rebreaking worked.  This fixes most of the redraw problems.  I see
14021         an occasional cursor trail when a line is broken now and the cursor
14022         placement can seem out by a few pixels also after a rebreak.
14023
14024 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14025
14026         * buffer.C (parseSingleLyXformat2Token): update because minipage
14027         width is now a LyXLength
14028
14029         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14030
14031         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14032         math insets
14033
14034 2002-01-17  Juergen Vigna  <jug@sad.it>
14035
14036         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14037
14038         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14039         is set correctly and the inset is updated correctly.
14040
14041 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14042
14043         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14044         the beginning of the loop.
14045
14046 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14047
14048         * lyxrc.C: improve help for use_scalable_fonts
14049
14050 2002-01-17  Allan Rae  <rae@lyx.org>
14051
14052         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14053
14054 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14055
14056         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14057         make sure to set their inset_owner to the right value (bug #171)
14058
14059 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14060
14061         * DepTable.h
14062         * DepTable.C: Implement mtime checking to reduce time spent doing
14063         CRCs.
14064
14065 2002-01-16  Juergen Vigna  <jug@sad.it>
14066
14067         * tabular.C (GetAdditionalHeight): one of error fixed.
14068
14069         * lyxrc.C (output): small fix in writing use_pspell.
14070
14071 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14072
14073         * sp_base.h: #include LString.h
14074
14075 2002-01-16  Allan Rae  <rae@lyx.org>
14076
14077         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14078         Can someone check this please?
14079
14080         * text.C (drawInset): It was possible that p.row would be removed by
14081         breakAgainOneRow upsetting a few other settings.  There may be another
14082         small tweak possible by setting need_break_row = 0 when p.row has been
14083         removed but I don't know enough about the logic here.
14084
14085 2002-01-15  Allan Rae  <rae@lyx.org>
14086
14087         * text.C (insertChar): removed conditional truism.
14088
14089         * BufferView2.C (removeAutoInsets): More tweaks.
14090         cur_par_prev could be a stray pointer.  Check for trailing empty line
14091         in case last line was cur_par and only had an error inset on it.
14092
14093 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14094
14095         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14096         absolute
14097
14098         * vc-backend.C (most methods):
14099         * exporter.C (Export):
14100         * converter.C (convert):
14101         (runLaTeX):
14102         * LyXSendto.C (SendtoApplyCB):
14103         * lyxfunc.C (dispatch):
14104         (menuNew):
14105         (open):
14106         (doImport):
14107         * lyx_cb.C (AutoSave):
14108         (InsertAsciiFile):
14109         * BufferView_pimpl.C (MenuInsertLyXFile):
14110         * buffer.C (runChktex): use Buffer::filePath().
14111
14112         * buffer.h: rename filename to filename_; rename filepath to
14113         filepath_ and make it private
14114         (filePath): new method
14115
14116         * buffer.C (writeFile): use fileName()
14117         (getLatexName):
14118
14119         * lyx_main.C (init): fix starting  of LyX when the binary is a
14120         link from so,ewhere else.
14121
14122         * minibuffer.C: include <cctype> for isprint
14123
14124 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14125
14126         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14127         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14128         name clash with InsetCollapsable's width function.
14129
14130 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14131
14132         * lastfiles.C: include <iterator>
14133
14134 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14135
14136         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14137         std::count.
14138
14139         * buffer.C (makeLaTeXFile): ditto.
14140         Also make loop operation more transparent.
14141
14142 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14143
14144         * ToolbarDefaults.C: remove trailing comma closing namespace.
14145
14146         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14147
14148         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14149         as in WorkArea.
14150
14151         * trans.C (Load): comment out unused variable, allowed.
14152
14153 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14154
14155         * minibuffer.[Ch] (append_char): new method to recieve input from the
14156         drop-down completion browser. If a key was pressed, then recieve this
14157         char and append it to the existing string.
14158         (peek_event): modify the positioning data passed to the completion
14159         browser so that it can be placed above the minibuffer rather than below.
14160 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * LyXAction.C (init): alloe error-next for readonly documents.
14163
14164         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14165         count.
14166
14167 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14168
14169         * bufferlist.C (readFile): create the buffer _after_ checking that
14170         the file exists.
14171
14172         * lyxfunc.C (verboseDispatch): fix handling of arguments
14173
14174         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14175
14176         * lyxrc.C: use string::erase() instead of initializing to "".
14177
14178
14179 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14180
14181         * BufferView_pimpl.h:
14182         * BufferView_pimpl.C:
14183         * WorkArea.h:
14184         * WorkArea.C:
14185         * text2.C: tell X when we have made a selection for copying
14186
14187 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14188
14189         * BufferView_pimpl.C (MenuInsertLyXFile):
14190         * lyxfunc.C (menuNew):
14191         (open):
14192         (doImport): add shortcuts to directory buttons
14193
14194         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14195         open a float)
14196
14197         * lyxfunc.C (setStatusMessage):
14198         (getStatusMessage): new methods
14199         (getStatus):use setStatusMessage instead of setErrorMessage
14200         (dispatch): when function is disabled, set error message here
14201         [instead of in getStatus previously]
14202
14203         * BufferView_pimpl.C (workAreaButtonRelease): update
14204         toolbar/menubar here too.
14205
14206 2002-01-13  Allan Rae  <rae@lyx.org>
14207
14208         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14209         Now seems indestructible.  Remaining task is to audit all other
14210         code affected by deleteEmptyParagraphMechanism.  One small quirk
14211         left is that an empty document with an error in the preamble can
14212         be made to report an error but no error box appears.  I don't know
14213         where it goes.
14214         (removeAutoInsets): Improved comments.
14215
14216 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * Thesaurus.h:
14219         * Thesaurus.C: update for Aiksaurus 0.14
14220
14221 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14222
14223         * text2.C (firstParagraph): removed member function, all uses
14224         replaces with ownerParagraph
14225         (redoParagraphs): here
14226         (updateInset): here
14227         (toggleAppendix): here
14228         * BufferView2.C (insertErrors): here
14229         (setCursorFromRow): here
14230
14231 2002-01-13  Allan Rae  <rae@lyx.org>
14232
14233         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14234         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14235         There is still a way to segfault this although you may have to do this
14236         multiple times: Have an InsetERT with an unknown command in it.
14237         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14238         <down-arrow>, <Enter> again, View->DVI, BANG!
14239
14240         * text2.C (setCursor):
14241         (deleteEmptyParagraphMechanism):
14242         * lyxtext.h (setCursor):
14243         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14244         Making use of the return value may help fix other bugs.
14245
14246 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14247
14248         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14249
14250         * LyXView.C (updateMenubar): call MenuBar::update here
14251         (updateToolbar): but not here
14252         (showState): do not update toolbar/menubar
14253
14254         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14255         should need to care about that.
14256
14257         * lyxfunc.C (verboseDispatch): simplify a bit
14258         (getStatus): have a version which takes a pseudoaction, and
14259         another which requires a (kb_action,string).
14260
14261         * LyXAction.C (retrieveActionArg): make it work also when action
14262         is not a pseudo-action.
14263         (getActionName): simplify a bit
14264         (helpText):
14265
14266 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14267
14268         * lyxfunc.C (verboseDispatch): new families of methods with
14269         several ways to specify a command and a bool to indicate whether
14270         the command name and shortcut should be displayed in minibuffer
14271         (eventually, we could extend that to a finer bitmask like
14272         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14273         (dispatch): the pristine dispatch command which just, well,
14274         dispatchs! Note it still sets its result to minibuffer; I'm not
14275         sure we want that.
14276
14277         * lyxfunc.h: remove setHintMessage
14278
14279         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14280
14281 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14282
14283         * BufferView_pimpl.C (specialChar): delete new inset if we have
14284         not been able to insert it.
14285
14286         * kbmap.C: revert to using int instead of kb_action, since all we
14287         are dealing with is pseudo-actions.
14288
14289         * LyXAction.C (searchActionArg): change to return int instead of
14290         kb_action, since the result is a pseudoaction.
14291
14292 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14293
14294         * buffer.C (insertErtContents): Fix (partially) the font bug.
14295
14296 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14297
14298         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14299         as the other one is broken on my machine!
14300
14301 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14302
14303         * commandtags.h:
14304         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14305
14306 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14307
14308         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14309         reflect their actual use. Provide compatibility code for older lyxrc
14310         files.
14311
14312         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14313         FL_NORMAL_STYLE.
14314         change names of popup font variables in line with the changes to lyxrc.C
14315
14316 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14317
14318         * buffer.C (asciiParagraph): avoid outputing a word twice after
14319         an inset.
14320
14321         * lyxrc.C (getDescription): document that document_path and
14322         template_path can be empty.
14323
14324 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14325
14326         * LaTeXFeatures.C (getMacros):
14327         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14328
14329         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14330
14331         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14332         getPackages.
14333         (getPackages): rename feature "floats" to "float". Use an array to
14334         iterate over 'simple' features (i.e. just a \usepackage). Add
14335         handling of "amsmath" (renamed from "amsstyle").
14336
14337 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14338
14339         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14340         features list.
14341
14342 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14343
14344         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14345         FuncStaus::FuncStatus & FuncStaus::some_method().
14346
14347 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14348
14349         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14350         of the func_satus stuff. Edited and massaged in various ways by
14351         JMarc.
14352
14353         * lyxfunc.C (getStatus): use FuncStatus
14354
14355 2002-01-08  Juergen Vigna  <jug@sad.it>
14356
14357         * text.C (nextBreakPoint): use function Inset::isChar().
14358
14359         * paragraph.C (TeXOnePar): use function
14360         Inset::forceDefaultParagraphs.
14361
14362         * buffer.C (latexParagraphs): use function
14363         Inset::forceDefaultParagraphs.
14364
14365 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14366
14367         * lyx_gui.C (init): set the style of the menu popups to
14368         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14369
14370 2002-01-07  Juergen Vigna  <jug@sad.it>
14371
14372         * text.C (setHeightOfRow): small fix
14373         (prepareToPrint): don't look at alignment if we don't have the place
14374         for doing it.
14375
14376 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14377
14378         * box.C: New file. Move the Box methods and functions out of box.h,
14379         following Lars' suggestion.
14380
14381 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14382
14383         * box.h: #include "support/LOstream.h", needed for inlined function.
14384
14385         * lyxtextclass.C:
14386         * lyxtextclasslist.C: added some using std declarations.
14387
14388 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14389
14390         * box.h: make signed dimensions to allow insets wider than
14391           the screen (bug #162)
14392
14393         * BufferView_pimpl.C: add some insetHit debug
14394
14395 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14396
14397         * vc-backend.C: add FIXME
14398
14399 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14400
14401         * lyxfunc.C (getStatus): enable code for showing math font status
14402         in toolbar/menu.
14403
14404 2002-01-07  Juergen Vigna  <jug@sad.it>
14405
14406         * text.C (nextBreakPoint): removed debug output not needed anymore.
14407
14408 2002-01-06  Juergen Vigna  <jug@sad.it>
14409
14410         * text.C (nextBreakPoint): fixed up this function we had this bug
14411         since ever but now hopefully we break row better.
14412         (insertChar): we have to check if an inset is the next char as it
14413         could now happen that a large inset is causing a break.
14414
14415 2002-01-05  Juergen Vigna  <jug@sad.it>
14416
14417         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14418         if it doesn't like to be drawed.
14419
14420 2002-01-04  Juergen Vigna  <jug@sad.it>
14421
14422         * BufferView2.C (lockInset): forgot to set a cursor.
14423
14424         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14425
14426 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14427
14428         * FormMathsPanel.C:
14429         * FormMathsPanel.h
14430         * MathsSymbols.C:
14431         * form_maths_panel.C:
14432         * form_maths_panel.h:
14433         * form_maths_panel.fd: implemented sub- and super- buttons in math
14434         panel.
14435
14436         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14437         (or ^ space) to be used as in TeX (req'd by Andr�.
14438
14439         * lyxfunc.C: Allow ^ and _ again to be used both as
14440         super/subscript (mathed) and as themselves (in text).
14441
14442 2002-01-03  Allan Rae  <rae@lyx.org>
14443
14444         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14445         "LyX" or the filename of the current buffer if it has one.  This is a
14446         modified form of John Levon's patch.
14447
14448         * XFormsView.C (setWindowTitle): also set icon title.
14449
14450         * LyXView.h (setWindowTitle): signature changed.
14451         * XFormsView.h (setWindowTitle): ditto.
14452
14453 2002-01-02  Juergen Vigna  <jug@sad.it>
14454
14455         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14456
14457 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14458
14459         * screen.C (topCursorVisible): introduce a temp var for
14460         text->cursor.row(), handle the case where this row is null. (kindo
14461         hachish)
14462
14463         * text2.C (setCursor): add a couple of asserts.
14464
14465         * paragraph.h (inset_iterator): add -> operator
14466
14467         * paragraph.[Ch] (autoDeleteInsets): remove member function
14468
14469         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14470         cursor pos correctly and handle inset deletion by itself.
14471         (insertErrors): move iterator declaration out of for expression
14472
14473         * lyxtextclass.C: add <algorithm>
14474
14475         * Makefile.am: added the new files to sources, removed layout.C
14476
14477         * layout.C: removed file
14478
14479         * layout.h: remove LYX_DUMMY_LAYOUT
14480
14481         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14482         layout.
14483
14484         * lyxlayout.[Ch]:
14485         * lyxtextclass.[Ch]:
14486         * lyxtextclasslist.[Ch]: new files
14487
14488         * include order changes to a lot of files, also changes because of
14489         the six new files.
14490
14491 2001-12-27  Juergen Vigna  <jug@sad.it>
14492
14493         * buffer.C (asciiParagraph): more fixes.
14494
14495         * tabular.C (ascii): make ascii export support export of only the
14496         data separated by a column-delimiter.
14497         (ascii): better support for ascii export.
14498
14499         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14500
14501 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14502
14503         * tabular_funcs.C: use a "using std::getline" instead of the
14504         previous fix from Angus (necessary for cxx + lyxstring)
14505
14506 2001-12-24  Juergen Vigna  <jug@sad.it>
14507
14508         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14509
14510         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14511         problems. First check a minipage also if we have some ert-contents
14512         (not only on par->size(), second set the right depth of the paragraph
14513         on the relink to the root-paragraph-list!
14514
14515         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14516         which then did not anymore update the main paragraphs on undo/redo!
14517
14518 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14519
14520         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14521         code. Support all font-changing funcs (even those which are not in
14522         menu currently). Support for reporting font settings in
14523         mathed (disabled until Andre provides a function on mathed's side).
14524
14525         * func_status.h (toggle): small helper function to set toggle
14526         state on a flag.
14527
14528 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14529
14530         * tabular_funcs.C: getline -> std::getline
14531
14532 2001-12-21  Juergen Vigna  <jug@sad.it>
14533
14534         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14535         accessed and could be 0 (I couldn't generate this but it seems
14536         Michael could!).
14537
14538 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14541         * tabular_funcs.h: here and include iosfwd
14542
14543 2001-12-20  Juergen Vigna  <jug@sad.it>
14544
14545         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14546         inside inset but undo_par was.
14547
14548 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14549
14550         * Thesaurus.C: always include <config.h> in sources.
14551
14552         * Painter.h:
14553         * lyxlookup.h:
14554         * box.h: do not include <config.h> in header files
14555
14556         * text.C (paintLastRow): remove unused variable
14557
14558         * text.C (transformChar):
14559         (insertChar):
14560         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14561
14562         * Painter.C (text):
14563         * font.C (width): rewrite to use uppercase() instead of
14564         islower/toupper.
14565
14566         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14567
14568 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14569
14570         * lyxfind.C: clean up of find failure position change
14571
14572 2001-12-20  Juergen Vigna  <jug@sad.it>
14573
14574         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14575
14576         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14577         (TeXRow): added to LaTeX a single tabular row.
14578         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14579         (Latex): simplified and finally good LT-h/f support.
14580         (various_functions): just small adaptions for LT-h/f support.
14581
14582         * tabular_funcs.[hC]: added and moved here all not classfunctions
14583         of LyXTabular.
14584
14585 2001-12-19  Juergen Vigna  <jug@sad.it>
14586
14587         * tabular.[Ch]: better support for longtabular options (not finished
14588         yet!)
14589
14590 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14591
14592         * text.C (paintLastRow): use the label font instead of the font of
14593         the last character to compute the size of *_BOX. This makes more
14594         sense and avoids a crash with empty paragraphs.
14595         Use Painter::rectangle to draw EMPTY_BOX.
14596
14597 2001-12-19  Juergen Vigna  <jug@sad.it>
14598
14599         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14600         the paragraphs if the replaced paragraph is not the first one!
14601         Tried to delete not used paragraphs but does not work yet so for
14602         now it's inside #ifdef's and by default off!
14603
14604 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14605
14606         * MenuBackend.C: include "lyx_main.h" instead of declaring
14607         lastfiles (actually was declared as LastFiles* instead of a
14608         scoped_ptr).
14609
14610 2001-12-17  Juergen Vigna  <jug@sad.it>
14611
14612         * tabular.C (AppendColumn): applied John's fix
14613
14614 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14615
14616         * BufferView.h:
14617         * BufferView.C:
14618         * BufferView_pimpl.h:
14619         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14620
14621         * Makefile.am:
14622         * box.h: new start of class for above
14623
14624         * lyxfunc.C: ignore space-only minibuffer dispatches.
14625           Show the command name when it doesn't exist
14626
14627         * minibuffer.C: don't add empty lines to the history
14628
14629         * minibuffer.C: add a space on dropdown completion
14630
14631 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14632
14633         * text.C: fix line above/below drawing in insets
14634
14635 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14636
14637         * lyxlength.C (LyXLength): Initialize private variables.
14638
14639 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14640
14641         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14642         when inserting error insets.
14643
14644 2001-12-13  Juergen Vigna  <jug@sad.it>
14645
14646         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14647         actually sometimes the before-paragraph.
14648         (setUndo): don't clear the redostack if we're not actually undoing!
14649
14650 2001-12-06  Juergen Vigna  <jug@sad.it>
14651
14652         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14653         and fixed redoing of main paragraph, so we can use it now ;)
14654
14655         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14656
14657 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14658
14659         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14660         Juergen's request
14661
14662 2001-12-13  André Pönitz <poenitz@gmx.net>
14663
14664         * undostack.[Ch]:
14665         * undo_func.C: minor cleanup
14666
14667 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14668
14669         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14670         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14671         font in urw-fonts package which is marked as -urw-fontspecific and
14672         does not work (incidentally, changing the encoding in the
14673         fonts.dir of this package to -adobe-fontspecific fixes the
14674         problem).
14675
14676         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14677         is a crash when undoing first paragraph (Juergen, please take a
14678         look). THis does not mean the undo fix is wrong, just that it
14679         uncovers problems.
14680
14681         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14682         the (Paragraph*) version when needed instead of duplicating the
14683         code.
14684
14685         * text.C (workWidth): use Inset::parOwner to find out where the
14686         inset has been inserted. This is a huge performance gain for large
14687         documents with lots of insets. If Inset::parOwner is not set, fall
14688         back on the brute force method
14689
14690         * paragraph_pimpl.C (insertInset):
14691         * paragraph.C (Paragraph):
14692         (cutIntoMinibuffer): set parOwner of insets when
14693         inserting/removing them
14694
14695         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14696
14697 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14698
14699         * commandtags.h:
14700         * LyXAction.C:
14701         * lyx_main.C:
14702         * lyxfunc.C:
14703         * mathed/formulabase.C:
14704         * mathed/math_cursor.[Ch]:
14705         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14706
14707
14708 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14709
14710         * lyxlength.[Ch] (operator!=): new function
14711
14712 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14713
14714         * text.C (workWidth): use Inset::parOwner to find out where the
14715         inset has been inserted. This is a huge performance gain for large
14716         documents with lots of insets. If Inset::parOwner is not set, fall
14717         back on the brute force method
14718
14719         * paragraph_pimpl.C (insertInset):
14720         * paragraph.C (Paragraph):
14721         (cutIntoMinibuffer): set parOwner of insets when
14722         inserting/removing them
14723
14724         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14725
14726 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14727
14728         * tabular-old.C (getTokenValue):
14729         * tabular.C (getTokenValue):
14730         (write_attribute): new versions for LyXLength
14731         (everywhere): adjust the use of widths
14732
14733         * tabular.h: change the type of widths from string to LyXLength
14734
14735 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14736
14737         * paragraph.C: fixed missing line number count when exporting
14738         Environments to LaTeX file
14739
14740         * buffer.C: added informational message for checking line numbers.
14741
14742 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14743
14744         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14745         paragraph, do the 'double space' part, but not the 'empty
14746         paragraph' one.
14747
14748         * text.C (workWidth): small optimization
14749         (getLengthMarkerHeight): use minimal size for negative lengths.
14750
14751 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14752
14753         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14754
14755         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14756
14757 2001-12-11  André Pönitz <poenitz@gmx.net>
14758
14759         * FontLoader.C:
14760         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14761
14762 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14763
14764         * text2.C: keep selection on a setFont()
14765
14766 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14767
14768         * lyx_cb.C: another bv->text misuse, from insert label
14769
14770 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14771
14772         * kbsequence.h:
14773         * kbsequence.C: re-instate nmodifier mask
14774
14775 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14776
14777         * lyx_main.h: make lyxGUI private.
14778
14779 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14780
14781         * lyxfind.C: place the cursor correctly on failed search
14782
14783 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14784
14785         * text.C (getLengthMarkerHeight): for small heights, the arrows
14786         are not always on top/bottom of the text
14787         (drawLengthMarker): smaller arrows; take the left margin in
14788         account; draw also vfills.
14789         (paintFirstRow):
14790         (paintLastRow): remove special code for vfill and standard spaces,
14791         since everything is handled in drawLengthMarker now.
14792
14793 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14794
14795         * buffer.C (insertErtContents): try to handle font and language
14796         interaction a bit better.g
14797
14798         * ColorHandler.C (updateColor): change the hash to cover the whole
14799         LColor enum, ws cleanup
14800         (getGCLinepars): ditto
14801         (getGCLinepars): only lookup in the linecache once.
14802
14803 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14804
14805         * iterators.C (operator++): Make the iterator more robust
14806
14807         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14808         (John's patch)
14809         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14810
14811 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14812
14813         * lyxtext.h:
14814         * text.C: better added space drawing
14815
14816 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * LyXView.C:
14819         * BufferView2.C: fix layout combo update on inset unlock
14820
14821 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14822
14823         * Makefile.am: don't compile unused files
14824
14825 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14826
14827         * lyxfunc.C:
14828         * commandtags.h:
14829         * LyXAction.C: remove old LFUN_LAYOUTNO
14830
14831 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14832
14833         * paragraph_pimpl.h:
14834         * paragraph_pimpl.C: isTextAt() doesn't need font param
14835
14836 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14837
14838         * lyxlex.h:
14839         * lyxlex.C: little cleanup
14840
14841 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14842
14843         * BufferView_pimpl.C: fix insertAscii for insets
14844
14845 2001-12-05  Juergen Vigna  <jug@sad.it>
14846
14847         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14848         set the right font on the "multi" paragraph paste!
14849
14850 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14851
14852         * trans_decl.h:
14853         * trans_mgr.[Ch]:
14854         * trans.[Ch]:
14855         * lyxgluelength.C:
14856         * lyxlength.C: remove out-commented code.
14857
14858         * BufferView_pimpl:
14859         * CutAndPaste.C:
14860         * DepTable.C:
14861         * buffer.C:
14862         * chset.C:
14863         * lastfiles.C:
14864         * lyxlex.C:
14865         * lyxlex_pimpl.C:
14866         * lyxserver.C:
14867         * screen.C:
14868         * tabular-old.C:
14869         * tabular.C:
14870         * text.C:
14871         * trans_mgr.C:
14872         * vc-backend.C: change "while(" to "while ("
14873
14874         * lyxlength.[Ch]: add zero function to check if length is zero or
14875         not
14876         * lyxgluelength.C: use it
14877
14878 2001-12-05  Allan Rae  <rae@lyx.org>
14879
14880         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14881         Works for 2.95.3, from what I understand of Garst's reports this should
14882         work for other g++ versions.  We're screwed if the abs(int) definition
14883         changed between bugfix releases of gcc.
14884
14885 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14886
14887         * text.C: fix chapter label offset !
14888
14889 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14890
14891         * lyxtext.h:
14892         * text.C: fix hfill at end of line, clean up
14893
14894 2001-12-04  Juergen Vigna  <jug@sad.it>
14895
14896         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14897         that we force an update of the inset and it's owners if neccessary.
14898
14899 2001-12-03  Juergen Vigna  <jug@sad.it>
14900
14901         * text.C (rowLast): simplified code
14902
14903 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14904
14905         * lyxfunc.C: fix show options on timeout
14906
14907 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14908
14909         * screen.C (topCursorVisible): scroll half a page when the cursor
14910         reached top of bottom of screen
14911
14912 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14913
14914         * minibuffer.C: deactivate on loss of focus
14915
14916 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14917
14918         * vspace.[Ch] (operator!=): add operator.
14919
14920 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * BufferView_pimpl.C: refuse to open an inset when
14923         there's a selection.
14924
14925 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14926
14927         * BufferView_pimpl.C: allow to click on RHS of full row insets
14928
14929 2001-11-30  Juergen Vigna  <jug@sad.it>
14930
14931         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14932         insets for undo reasons.
14933
14934 2001-11-28  André Pönitz <poenitz@gmx.net>
14935
14936         * vspace.[Ch]: cosmetical changes
14937
14938 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14939
14940         * LyXAction.h:
14941         * LyXAction.C:
14942         * lyxfunc.h:
14943         * lyxfunc.C:
14944         * kbmap.h:
14945         * kbmap.C:
14946         * lyxrc.C:
14947         * kbsequence.h:
14948         * kbsequence.C: part re-write of old kb code
14949
14950         * Painter.C:
14951         * WorkArea.C: remove Lgb_bug_find_hack
14952
14953 2001-11-30  José Matos <jamatos@fep.up.pt>
14954
14955         * buffer.C (makeDocBookFile): add a comment to point a hack.
14956         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14957         Fixed a double write of labels.
14958
14959 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14960
14961         * LaTeX.C:
14962         * LaTeX.h Fixed bug in LaTeX class where it would not
14963         re-run latex if no depfiles were changed, but the .dvi was removed.
14964
14965 2001-11-28  André Pönitz <poenitz@gmx.net>
14966
14967         * all the files from the change on 2001/11/26:
14968         use lyx::layout_type instead of LyXTextClass::size_type
14969         use lyx::textclass_type instead of LyXTextClassList::size_type
14970
14971 2001-11-29  Juergen Vigna  <jug@sad.it>
14972
14973         * text.C: added support for paragraph::isFreeSpacing()
14974
14975         * buffer.C: same as above
14976
14977         * paragraph.h: inserted isFreeSpacing() function to enable
14978         FreeSpacing inside InsetERT.
14979
14980         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14981         of the paragraph's in the cut/copy buffer to 0!
14982
14983         * text2.C (removeRow): remove the assert as it can!
14984
14985         * lyxtext.h: added helper function firstRow returning firstrow and
14986         made firstrow private again.
14987
14988         * BufferView2.C (lockInset): don't relock if we're already locked!
14989
14990         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14991         the only paragraph.
14992         (removeRow): added Assert::(firstrow)
14993
14994         * debug.C: forgot to add INSETTEXT here.
14995
14996 2001-11-28  Juergen Vigna  <jug@sad.it>
14997
14998         * sp_spell.C (initialize): changed error text to more general
14999         spellchecker command use (not only ispell!)
15000
15001         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15002
15003         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15004
15005 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * vspace.C: initialise lyxgluelength on failure
15008
15009 2001-11-28  Allan Rae  <rae@lyx.org>
15010
15011         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15012         declaration & definition that looks like a function declaration.
15013
15014 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15015
15016         * BufferView2.C (copy):
15017         (copyEnvironment): do not clear the selection when doing a copy.
15018
15019         * text.C (paintFirstRow): compilation fix
15020
15021 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15022
15023         * tabular.C (Latex): correct line count when writing latex.
15024
15025 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * paragraph_pimpl.h:
15028         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15029           bug a bit
15030
15031 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15032
15033         * text.C:
15034         * LColor.h:
15035         * LColor.C: change vfillline->added_space
15036
15037         * text.C: add markers and text for added space
15038
15039         * vspace.C: fix comment
15040
15041 2001-11-28  André Pönitz <poenitz@gmx.net>
15042
15043         * paragraph.C: whitespace changes
15044         * all the other files from the change on 2001/11/26:
15045         change *::pos_type into lyx::pos_type
15046
15047 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15048
15049         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15050         language of the document when inserting error insets.
15051
15052 2001-11-26  André Pönitz <poenitz@gmx.net>
15053
15054         * BufferView_pimpl.[Ch]:
15055         *       CutAndPaste.C:
15056         * buffer.[Ch]:
15057         * lyxcursor.[Ch]:
15058         * lyxfind.C:
15059         * lyxfunc.C:
15060         * lyxrow.[Ch]:
15061         * paragraph.[Ch]:
15062         * paragraph_pimpl.[Ch]:
15063         * sp_spell.C:
15064         * text.C:
15065         * text2.C: reduce header dependencies, introduce type for positions
15066
15067 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15068
15069         * <various>: change to use Alert.h
15070
15071 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15072
15073         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15074         when encountering an unknown token.
15075         (readLyXformat2): Show an error message if there were unknown tokens.
15076
15077 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15078
15079         * BufferView2.C:
15080         * BufferView_pimpl.C:
15081         * buffer.C:
15082         * paragraph.h:
15083         * text.C:
15084         * text2.C: use par->isInset()
15085
15086 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15087
15088         * paragraph_pimpl.h:
15089         * paragraph_pimpl.C: cleanup
15090
15091 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15092
15093         * text2.C (removeRow):
15094         * text.C (setHeightOfRow): remove useless (and costly) call to
15095         getRow.
15096
15097 2001-11-20  Allan Rae  <rae@lyx.org>
15098
15099         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15100         Now need Inset*::checkInsertChar() to return true for appropriate
15101         cases so that the characters in the minibuffer will actually be
15102         inserted.
15103
15104 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15105
15106         * text.C: change the order of the includes.
15107         (workWidth): initialize it at once.
15108         (workWidth): make maxw unsigned
15109         (setHeightOfRow): remove unused variable (inset)
15110         (selectSelectedWord): remove unused variable (inset)
15111         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15112
15113 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15114
15115         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15116         server is not running.
15117         (openConnection):
15118         (closeConnection): add debug info when server is disabled.
15119
15120         * ColorHandler.C (getGCForeground): send debug message to GUI
15121         channel.
15122
15123         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15124
15125         * kbmap.C (bind): modify because return conventions of
15126         kb_sequence::parse have changed.
15127
15128         * kbsequence.C (parse): only ignore spaces and not any stupid
15129         control character. This avoids tests like s[i] <= ' ', which are
15130         guaranteed to fail with 8bit characters and signed chars.
15131         Change return code to string::npos when there have been no error
15132         (0 was a bad idea when error is at first character)
15133
15134 2001-11-14  José Matos  <jamatos@fep.up.pt>
15135
15136         * buffer.h:
15137         * buffer.C (simpleDocBookOnePar): removed unused argument.
15138
15139 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15140
15141         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15142         insets which are part of a word. Paragraph::isLetter takes care of
15143         that now. Use Paragraph::isInset to identify insets.
15144         (selectSelectedWord): do not test for hyphenation break.
15145
15146         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15147         that protected spaces are considered as spaces.
15148
15149         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15150         Inset::isLetter.
15151
15152 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15153
15154         * lyxserver.h:
15155         * lyxserver.C: fix it. and small cleanup.
15156
15157 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15158
15159         * BufferView_pimpl.C: use inline helpers
15160
15161         * LaTeXFeatures.h:
15162         * LaTeXFeatures.C: fix typos
15163
15164         * Spacing.h:
15165         * Spacing.C: move spacing_string into class
15166
15167         * ToolbarDefaults.C: move stuff into namespace anon
15168
15169         * layout.h: update enum
15170
15171         * lyxfunc.C: use better debug
15172
15173         * minibuffer.h: fix typo
15174
15175         * debug.h:
15176         * debug.C:
15177         * WorkArea.C: add and use Debug::WORKAREA
15178
15179         * lyxtext.h:
15180         * text.C:
15181         * text2.C: code re-organisation, inline helpers
15182
15183 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15184
15185         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15186         std::vector.empty().
15187
15188 2001-11-09  Allan Rae  <rae@lyx.org>
15189
15190         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15191         '\n's after tables.  Tabular and ERT inset work now makes this no
15192         longer necessary.
15193
15194 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * minibuffer.h:
15197         * minibuffer.C: fix crash, improve drop-down completion
15198
15199 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15200
15201         * lyxserver.h:
15202         * lyxserver.C: invalidate fd's when doing endPipe()
15203
15204 2001-11-08  José Matos  <jamatos@fep.up.pt>
15205
15206         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15207         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15208
15209         * paragraph.h:
15210         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15211
15212 2001-11-07  José Matos  <jamatos@fep.up.pt>
15213
15214         * buffer.h:
15215         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15216         const qualifier.
15217
15218         * buffer.C (sgmlOpenTag):
15219         * buffer.C (sgmlCloseTag): removed debug info.
15220
15221         * buffer.h (sgmlOpenTag):
15222         * buffer.h (sgmlCloseTag): made public.
15223
15224 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15225
15226         * buffer.C (saveParamsAsDefaults):
15227         * lyx_cb.C (MenuLayoutSave): remove
15228
15229         * LyXAction.C (init):
15230         * commandtags.h:
15231         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15232
15233 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15234
15235         * buffer.C (setPaperStuff): removed from here...
15236
15237         * bufferparams.C (setPaperStuff): ... and moved there.
15238
15239 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15240
15241         * minibuffer.h:
15242         * minibuffer.C:
15243         * XFormsView.C: add support for drop-down completion
15244
15245 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15246
15247         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15248         commands.
15249
15250 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15251
15252         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15253         disabled.
15254
15255 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15256
15257         * lyx_main.C: change ref to known bugs
15258
15259 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15260
15261         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15262         to work around older babel problems.
15263
15264 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15265
15266         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15267
15268 2001-10-24  Juergen Vigna  <jug@sad.it>
15269
15270         * tabular-old.C (ReadOld): below variable changes reflected.
15271
15272         * tabular.[Ch]: added ltType struct for longtable header/footer
15273         defines and changed all instances where they are used. Added
15274         future support for double top/bottom rows.
15275
15276 2001-10-24  José Matos  <jamatos@fep.up.pt>
15277
15278         * buffer.h (docbookHandleCaption):
15279         * buffer.C (docbookHandleCaption): removed unused function.
15280         (makeDocBookFile): moved docbook supported version to v4.1.
15281
15282 2001-10-24  José Matos  <jamatos@fep.up.pt>
15283
15284         * tabular.h:
15285         * tabular.C (docbookRow): new function to export docbook code of a row.
15286         (DocBook): now honors the longtable flags.
15287
15288 2001-10-23  José Matos  <jamatos@fep.up.pt>
15289
15290         * LaTeXFeatures.h:
15291         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15292         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15293
15294         * buffer.C (makeLinuxDocFile):
15295         (makeDocBookFile): reworked the preamble, more clean, and with
15296         support for lyx defined entities. Changed the document declaration
15297         to be more XML friendly.
15298
15299         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15300         if we need to output XML that should be done with a filter.
15301
15302 2001-10-22  Juergen Vigna  <jug@sad.it>
15303
15304         * sp_pspell.h (class PSpell): add alive function needed in the
15305         controller to see if the spellchecker could be started.
15306
15307 2001-10-22  Juergen Vigna  <jug@sad.it>
15308
15309         * buffer.C (insertStringAsLines): modify the font for inserting
15310         chars in certain conditions by calling checkInsertChar(font).
15311
15312 2001-10-19  Juergen Vigna  <jug@sad.it>
15313
15314         * text.C (workWidth): use getRow instead of wrong algorithm.
15315         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15316
15317 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15318
15319         * lyxserver.h:
15320         * lyxserver.C:
15321         * lyx_main.h:
15322         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15323
15324 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * text.C (workWidth): do not search for the exact row when
15327         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15328         optimization for big documents.
15329
15330 2001-10-18  Juergen Vigna  <jug@sad.it>
15331
15332         * text.C (workWidth): new function with added Inset * parameter.
15333
15334 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15335
15336         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15337
15338         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15339         change return type of getColumnNearX.
15340
15341
15342         * text.C (changeRegionCase): use uppercase/lowercase instead of
15343         toupper/tolower.
15344         (leftMargin):
15345         (rightMargin): simplify code by factoring out the uses of
15346         textclasslist.
15347         (labelFill):
15348         (numberOfHfills):
15349         (setHeightOfRow):
15350         (appendParagraph): use Paragraph::size_type
15351
15352 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15353
15354         * vspace.C (asLatexString): add a missing break
15355
15356 2001-10-15  Herbert Voss  <voss@perce.de>
15357
15358         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15359
15360 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15361
15362         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15363         is not available.
15364
15365 2001-10-10  André Pönitz <poenitz@gmx.net>
15366
15367         * lyxfunc.C: removed greek_kb_flag.
15368
15369 2001-10-10  Herbert Voss  <voss@perce.de>
15370
15371         * lyx_main.C: delete global string help_lyxdir.
15372
15373 2001-10-09  Herbert Voss  <voss@perce.de>
15374
15375         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15376
15377         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15378
15379         * lyx_main.C: added global string help_lyxdir.
15380
15381         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15382
15383 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15384
15385         * lyxrc.C (set_font_norm_type): support iso8859-4
15386
15387 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15388
15389         * LaTeX.C (deplog): add another regex for MikTeX
15390
15391 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15392
15393         * lyxrc.C (set_font_norm_type): support iso8859-3
15394
15395 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15398
15399         * LaTeXFeatures.C: remove special case of french and index
15400
15401         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15402         before \begin{document}). This solves several incompatibilities.
15403
15404 2001-10-03  Garst Reese  <reese@isn.net>
15405
15406         * lyx_cb.C: change CheckTex error msg.
15407
15408 2001-10-03  José Matos  <jamatos@fep.up.pt>
15409
15410         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15411
15412 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * .cvsignore: update
15415
15416         * lyx_main.C (commandLineVersionInfo): use new style version info.
15417
15418         * buffer.C (writeFile):
15419         (makeLaTeXFile):
15420         (makeLinuxDocFile):
15421         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15422
15423         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15424
15425         * version.h: update to use stuff in version.C
15426
15427         * version.C.in: new file. Contains version information determined
15428         at compile time. This is a merging of version.h and
15429         version_info.h.in.
15430
15431 2001-10-03  Juergen Vigna  <jug@sad.it>
15432
15433         * BufferView_pimpl.C (update): don't change "dirty" status in
15434         updateInset call.
15435
15436 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15437
15438         * WorkArea.C (c-tor): re-position version string slightly.
15439
15440 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15441
15442         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15443         revert to previous code.
15444
15445         WorkArea.[Ch]: (show, destroySplash): methods removed.
15446
15447         WorkArea.C: rework code so that it's an amalgam of the codes before and
15448         after the splash screen was moved to WorkArea.
15449
15450 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15451
15452         * lyxrc.C (read):
15453         * vspace.C (inPixels):
15454         (lyx_advance):
15455         * kbmap.C (bind):
15456         * buffer.C (insertStringAsLines):
15457         (asciiParagraph): fix types to be large enough
15458
15459         * lyxlex_pimpl.h: change member status from short to int
15460
15461         * layout.h: fix type of endlabeltype
15462
15463         * kbmap.C (bind):
15464         * kbsequence.C (parse): change return type to string::size_type
15465
15466         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15467         variable
15468
15469         * Bullet.C (bulletSize):
15470         (bulletEntry): do not use short ints as parameters
15471
15472         * BufferView2.C (insertLyXFile): change a char to an int.
15473
15474         * WorkArea.C (WorkArea): remove unneeded floats in computation
15475
15476 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15477
15478         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15479
15480         * paragraph.C (asString): Do not ignore newline/hfill chars when
15481         copying to the clipboard.
15482
15483 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15484
15485         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15486         after a multi-line inset.
15487
15488 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15489
15490         * paragraph.C (validate): Set NeedLyXFootnoteCode
15491
15492 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15493
15494         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15495         and decrease-error to decrease.
15496
15497 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15498
15499         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15500         it more readable (should be equivalent)
15501
15502 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15503
15504         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15505
15506 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15507
15508         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15509         of a cursor (row, etc.) after a character has been deleted
15510         (deleteEmptyParagraphMechanism): call the method above on _all_
15511         cursors held by the LyXText when a double space has been
15512         detected/deleted.
15513
15514 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15515
15516         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15517         pixmap.
15518         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15519
15520         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15521         background. Use greyOut() and the new show() methods to toggle between
15522         the foreground and background. Add code to remove the splash after
15523         its initial showing.
15524
15525         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15526         (create_forms): no longer call Dialogs::showSplash.
15527
15528 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15529
15530         * .cvsignore: add version_info.h
15531
15532 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15533
15534         * version_info.h.in: new file
15535
15536         * Makefile.am: add version_info.h.in
15537
15538         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15539         version_info.h instead of VERSION_INFO
15540
15541 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15542
15543         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15544         The ERT inset now returns string().
15545
15546 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15547
15548         * lyxtext.h, text.C (selectNextWord): renamed as
15549         selectNextWordToSpellcheck.
15550
15551         * text.C (selectNextWordToSpellcheck): Modified to not select
15552         words inside an ERT inset.
15553
15554 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15555
15556         * lyx_cb.C (MenuLayoutSave): change a bit the question
15557
15558         * sp_base.h: include <sys/types.h>
15559
15560 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15561
15562         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15563
15564 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15565
15566         * several files: fix typos in user-visible strings
15567
15568 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15569
15570         * text2.C (pasteSelection): do not set the selection, since it
15571         will be cleared later. Actually, the intent was to fix the way the
15572         selection was set, but I figured rmoving the code was just as good.
15573
15574 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15575
15576         * FontLoader.C (available): Check if font is available without
15577         loading the font.
15578
15579 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15580
15581         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15582
15583 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15584
15585         * lyxrc.[Ch]: added display_graphics variable and associated code.
15586
15587 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15588
15589         * bufferparams.C (hasClassDefaults): new method. Returns true if
15590         the buffer parameters correspond to known class defaults
15591
15592 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15593
15594         * XFormsView.C (show): set minimum size to the main window.
15595
15596 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15597
15598         * text2.C (copySelection):
15599         (cutSelection):
15600         * lyxfind.C (LyXReplace):
15601         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15602         LyXText::selectionAsString.
15603
15604         * paragraph.C (asString): add "label" argument to the second form
15605
15606         * text2.C (selectionAsString): add "label" argument and pass it to
15607         Paragraph::asString.
15608
15609 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15610
15611         * lyx_main.C (commandLineHelp): remove version information
15612
15613 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15614
15615         * lyx_main.C: add -version commandline option
15616
15617 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15618
15619         * paragraph.h: make the optional constructor arg required instead.
15620         some modifications to other files because of this.
15621
15622         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15623
15624         * lyxserver.C (C_LyXComm_callback): make it static
15625
15626         * lyx_main.C (error_handler): make it static
15627
15628         * lyx_gui.C (LyX_XErrHandler): make it static
15629
15630         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15631
15632         * WorkArea.C: make the extern "C" methods static.
15633
15634         * Makefile.am (lyx_LDADD): simplify
15635
15636 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15637
15638         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15639         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15640
15641         * LyXAction.C (init):
15642         * lyxfunc.C (dispatch): associated code removal.
15643
15644 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15645
15646         * lyxfont.h (isSymbolFont): shut off warning
15647
15648         * text.C (setHeightOfRow):
15649         (getVisibleRow): fix crash with empty paragraphs which have a
15650         bottom line
15651
15652 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15653
15654         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15655         code.
15656
15657 2001-09-04  José Matos  <jamatos@fep.up.pt>
15658         * buffer.C
15659         * buffer.h
15660         * tabular.C (docbook): rename docBook method to docbook.
15661
15662 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15663
15664         * Makefile.am: add dependencies to main.o.
15665
15666 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15667
15668         * FontLoader.C (available): Return false if !lyxrc.use_gui
15669
15670 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15671
15672         * FontInfo.C (query):
15673         * converter.C (view):
15674         * importer.C (Import):
15675         * exporter.C (Export): Can not -> cannot.
15676
15677 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15678
15679         * BufferView_pimpl.C: allow to create index inset even if
15680           string is empty
15681
15682 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15683
15684         * buffer.C (getLists): replace boost::tie code with an explicit pair
15685         as boost::tie can break some compilers.
15686
15687         * iterators.h: Added a std:: declaration to the return type of
15688         ParIterator::size.
15689
15690 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15691
15692         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15693           case.
15694
15695 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15696
15697         * iterators.[Ch]: New files. Provide paragraph iterators.
15698
15699         * buffer.C (changeLanguage): Use paragraph iterators.
15700         (isMultiLingual): ditto
15701
15702         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15703
15704 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15705
15706         * FontLoader.C: Support for cmr font.
15707
15708 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15709
15710         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15711         (available): New method.
15712
15713         * FontInfo.C (getFontname): Use scalable fonts even when
15714         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15715         found.
15716
15717 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15718
15719         * converter.C (Formats::view): reverted! Incorrect fix.
15720
15721 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15722
15723         * converter.C (Formats::view): only output the -paper option
15724         if the dvi viewer is xdvi, thereby fixing bug #233429.
15725
15726 2001-08-23  Herbert Voss  <voss@perce>
15727
15728         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15729
15730 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15731
15732         * Spacing.h (Spacing): Set space to Default on in the default
15733         constructor.
15734
15735 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15736
15737         * vc-backend.h (RCS::versionString): add RCS to version
15738         (CVS::versionString): add CVS to version
15739
15740         * vc-backend.C (scanMaster): do not add CVS to version.
15741         (scanMaster): do not add RCS to version
15742
15743         * lyxvc.C (versionString): new method
15744
15745         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15746
15747 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15748
15749         * Spacing.C (set): initialize fval
15750
15751 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15752
15753         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15754         " or \.
15755
15756 2001-08-16  Juergen Vigna  <jug@sad.it>
15757
15758         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15759
15760 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15761
15762         * BufferView_pimpl.C:
15763         * figureForm.C:
15764         * lyxtext.h:
15765         * text2.C: setParagraph takes linespacing now
15766
15767 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15768
15769         * LyxAction.C: add internal LFUN_CITATION_INSERT
15770
15771         * LyXView.C: actually apply fix
15772
15773         * bufferlist.C: fix open non-existent file
15774
15775         * lyxfind.C: fix indentation
15776
15777         * lyxfunc.C: remove unneeded assert, fix typo
15778
15779 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15780
15781         * MenuBackend.C: use "Floatname List"
15782
15783 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15784
15785         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15786         when converting LaTeX layout to insetERT.
15787         Generate a non-collapsed float when reading old float
15788
15789 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15790
15791         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15792         ERT insets.
15793
15794 2001-08-13  Juergen Vigna  <jug@sad.it>
15795
15796         * text.C (fill): return 0 instead of 20 as this seems to be the more
15797         correct value.
15798
15799 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15800
15801         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15802         lyxrc.font_norm.
15803
15804 2001-08-13  Juergen Vigna  <jug@sad.it>
15805
15806         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15807         casesensitive off.
15808         (SearchBackward): comment out the unlocking of the inset_owner this
15809         should not be needed!
15810
15811 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15812
15813         * Many files: Remove inherit_language, and add latex_language
15814
15815         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15816         collapsible insets.
15817
15818 2001-08-10  Juergen Vigna  <jug@sad.it>
15819
15820         * text.C (prepareToPrint): fixed hfill-width in draw!
15821
15822         * BufferView2.C (selectLastWord): save the selection cursor as this
15823         now is cleared in the function LyXText::clearSelection!
15824
15825 2001-08-08  Juergen Vigna  <jug@sad.it>
15826
15827         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15828         BACKSPACE type functions.
15829
15830         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15831         is only cutted from the document but not put in the cut-buffer, where
15832         still the old stuff should be.
15833
15834         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15835
15836         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15837
15838         * tabular.C (SetWidthOfCell): fixed special case where the width
15839         was not updated!
15840         (LeftLine): handle '|' in align_special.
15841         (RightLine): ditto
15842         (LeftAlreadyDrawed): ditto
15843         (SetWidthOfCell): ditto
15844
15845 2001-08-07  Juergen Vigna  <jug@sad.it>
15846
15847         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15848
15849 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15852         * lyxlex.[hC]: ditto
15853
15854 2001-08-06  Juergen Vigna  <jug@sad.it>
15855
15856         * text.C (getVisibleRow): fix up row clearing a bit.
15857
15858 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15859
15860         * minibuffer.C: make sure the X server sees the changes in the input.
15861
15862 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15863
15864         * paragraph.C (getFont): split into...
15865         (getLabelFont): this
15866         (getLayoutFont): and this
15867         * paragraph_pimpl.C (realizeFont): calling this
15868
15869         * text2.C (getFont): split into...
15870         (getLayoutFont): this
15871         (getLabelFont): and this
15872         (realizeFont): all three calling this
15873
15874         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15875         files where used.
15876
15877 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15878
15879         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15880
15881 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15882
15883         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15884         layouts from the Quote inset insertion.
15885
15886 2001-08-03  Juergen Vigna  <jug@sad.it>
15887
15888         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15889
15890         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15891         only if status not is already CHANGED_IN_DRAW (second level).
15892
15893         * text.C (draw): don't set the need_break_row when inside an
15894         InsetText LyXText.
15895
15896 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15897
15898         * buffer.C (parseSingleLyXformat2Token): handle more latex
15899         conversion cases.
15900
15901         * bufferview_funcs.[hC]: change function names to
15902         begin with small char, adjust other files.
15903
15904 2001-08-02  André Pönitz <poenitz@gmx.net>
15905
15906         * lyxfunc.C:
15907         BufferView_pimpl.C: remove broken special code for math-greek
15908
15909 2001-08-02  Juergen Vigna  <jug@sad.it>
15910
15911         * BufferView_pimpl.C (update): redone this function so that we
15912         update the text again if there was a CHANGE_IN_DRAW.
15913
15914         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15915         (drawFromTo): added a new internal bool which is used by draw() and
15916         redraw() function.
15917         (general): some cursor drawing problems fixed.
15918
15919 2001-08-01  Juergen Vigna  <jug@sad.it>
15920
15921         * lyxfind.C (LyXFind): fixed
15922         (SearchForward): ditto
15923         (SearchBackward): ditto
15924
15925         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15926         spurius drawing of the cursor in the main area.
15927
15928         * text2.C (status): small fix which could lead to a segfault!
15929         (clearSelection): remove unneeded BufferView param.
15930
15931 2001-08-01  André Pönitz <poenitz@gmx.net>
15932
15933         * lyxfunc.C: small change due to changed mathed interface
15934
15935 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15936
15937         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15938
15939 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15940
15941         * lyxfunc.c: fail gracefully if file doesn't exist
15942
15943         * LyXSendto.C:
15944         * buffer.C:
15945         * lyxfunc.C:
15946         * BufferView_pimpl.C: IsDirWriteable() proto changed
15947
15948         * LyXView.C: fix updateWindowTitle() to store the last title
15949
15950 2001-07-31  Juergen Vigna  <jug@sad.it>
15951
15952         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15953         the font (wrong since using of Paragraph::highestFontInRange).
15954
15955         * paragraph.C (highestFontInRange): added a default_size parameter.
15956
15957         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15958         (setHeightOfRow): reformat
15959
15960 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15961
15962         * converter.[hC] + affected files: move to (inital-char)lowercase
15963         function names.
15964
15965         * ParagraphParameters.C (ParagraphParameters): remove commented code
15966
15967         * PainterBase.[Ch]: remove commented code
15968
15969         * LaTeXFeatures.h: add "bool floats" for float.sty
15970
15971         * LaTeXFeatures.C (LaTeXFeatures): init floats
15972         (require): handle float
15973         (getPackages): do it with floats
15974
15975 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15976
15977         * BufferView_pimpl.C (Dispatch): improve handling of
15978         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15979
15980         * commandtags.h: #include lyxfont.h here temporarily to avoid
15981         keybinding bug.
15982
15983         * bufferlist.h: include LString.h here.
15984
15985 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15986
15987         * text2.C (getStringToIndex): new method.
15988
15989 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15990
15991         * *: Reduced header file dependencies all over.
15992
15993 2001-07-30  Baruch Even  <baruch@lyx.org>
15994
15995         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15996
15997 2001-07-29  Baruch Even  <baruch@lyx.org>
15998
15999         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16000
16001 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16002
16003         * ParameterStruct.h (endif): add a default constructor to make
16004         sure that all variables is initialized.
16005
16006         * ParagraphParameters.C (ParagraphParameters): adjust
16007
16008 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16009
16010         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16011         index; also, check that there is something to index, and that it
16012         does not span over several paragraphs.
16013         (doubleClick): use WHOLE_WORD_STRICT for double click.
16014
16015         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16016
16017         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16018         scheme.
16019
16020 2001-07-26  Baruch Even  <baruch@lyx.org>
16021
16022         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16023         an InsetFig figure, backwards compatible reading of old figure code.
16024
16025 2001-07-27  Juergen Vigna  <jug@sad.it>
16026
16027         * text2.C: font.realize function adaption.
16028
16029         * text.C (draw): add a warnings lyxerr text if needed.
16030
16031         * layout.C: font.realize function adaption.
16032
16033         * language.C: add inherit_language and implement it's handlings
16034
16035         * bufferview_funcs.C (StyleReset): remove language parameter from
16036         font creation (should be language_inherit now).
16037
16038         * bufferparams.C (writeFile): handle ignore_language.
16039
16040         * paragraph.C (getFontSettings): the language has to be resolved
16041         otherwise we have problems in LyXFont!
16042
16043         * lyxfont.C (lyxWriteChanges): added document_language parameter
16044         (update): removed unneeded language parameter
16045
16046         * paragraph.C (validate): fixed wrong output of color-package when
16047         using interface colors for certain fonts in certain environments,
16048         which should not seen as that on the final output.
16049
16050 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16051
16052         * BufferView_pimpl.C:
16053         * Thesaurus.h:
16054         * Thesaurus.C:
16055         * Makefile.am:
16056         * commandtags.h:
16057         * LyXAction.C: add thesaurus support
16058
16059         * lyxfind.h:
16060         * lyxfind.C: add "once" parameter, for thesaurus, to not
16061           move to the next match
16062
16063 2001-07-26  Juergen Vigna  <jug@sad.it>
16064
16065         * lyxfont.C (realize): honor ignore_language too!
16066         (resolved): ditto.
16067
16068         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16069
16070         * text.C (draw): one place more for ignore_language to not draw
16071         itself!
16072
16073 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16074
16075         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16076
16077 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16078
16079         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16080         the minipage conversion problem.
16081
16082 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16083
16084         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16085         insert an inset.
16086
16087 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16088
16089         * BufferView.h: don't forward declare WorkArea
16090
16091         * BufferView.C: don't include WorkArea.h
16092
16093 2001-07-25  André Pönitz <poenitz@gmx.net>
16094
16095         * commandtags.h:
16096         * LyXAction.C:
16097         * lyxfunc.C:  new LFUN 'math-space'
16098
16099         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16100
16101 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16102
16103         * text2.C (toggleInset): call open/close
16104
16105 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16106
16107         * lyxfunc.C (dispatch): add debug for the disabled case
16108
16109         * font.C (buttonText): make similar to rectText
16110
16111         * buffer.C (readInset): comment out parsing of insetlist and
16112         insttheorem
16113
16114         * PainterBase.C (rectText): small correction
16115
16116         * BufferView_pimpl.C: comment out insettheorem and insetlist
16117         * LyXAction.C: ditto
16118         * commandtags.h: ditto
16119
16120 2001-07-24  Juergen Vigna  <jug@sad.it>
16121
16122         * text.C (draw): honor the ignore_language.
16123
16124         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16125
16126 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16127
16128         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16129         char inset.
16130
16131 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16132
16133         * lyxtext.h: remove unused (and unimplemented) methods
16134
16135 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16136
16137         * text.C (getVisibleRow): honor background color
16138
16139         * PainterBase.h:
16140         * Painter.h: remove default color argument for fillRectangle
16141
16142         * text.C (backgroundColor): new method
16143
16144 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16145
16146         * text.C (getVisibleRow): adjust
16147
16148         * font.[Ch] (rectText): new method, metrics
16149         (buttonText): new method, metrics
16150
16151         * PainterBase.[hC]: make rectText and buttonText always draw and take
16152         fewer paramteres.
16153
16154 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16155
16156         * ToolbarDefaults.C (read):
16157         * MenuBackend.C (read): allow escaping in all strings
16158
16159         * BufferView_pimpl.C (insertAndEditInset): new method.
16160         (Dispatch): use insertAndEditInset whenever appropriate.
16161
16162         * BufferView_pimpl.C (insertNote): removed
16163
16164         * BufferView_pimpl.C (smartQuote): new method, moved from
16165         BufferView; if an insetquote cannot be inserted, insert a '"'
16166         character instead.
16167
16168         * BufferView2.C: remove insertCorrectQuote();
16169
16170         * lyxfunc.C (getStatus): Add support for all remaingin
16171         inset-insert lfuns.
16172
16173         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16174
16175         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16176         command (necessary to pass " as parameter of self-insert.
16177
16178         * text.C (selectWordWhenUnderCursor):
16179         (selectWord): add word_location parameter
16180         (selectWordWhenUnderCursor): same + remove special code for word
16181         boundary.
16182         (selectNextWord): use kind() to guess type of insetspecialchar,
16183         not latex().
16184
16185         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16186         (insertErtContents): create ert insets as collapsed.
16187         (readInset): better compatibility code for Info inset.
16188
16189 2001-07-20  Juergen Vigna  <jug@sad.it>
16190
16191         * lyxfunc.C (dispatch): use always LyXFind now!
16192
16193         * text2.C (init): add a reinit flag so that the LyXText can be
16194         reinited instead of deleted and reallocated (used in InsetText).
16195
16196         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16197
16198         * text.C: ditto
16199
16200         * text2.C: ditto
16201
16202 2001-07-18  Juergen Vigna  <jug@sad.it>
16203
16204         * text.C (selectNextWord): handle insets inside inset by calling
16205         always the bv->text functions so that we can go up the_locking_inset!
16206
16207         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16208         in strange locations when inside an inset!
16209
16210         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16211         handling to include insets.
16212
16213         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16214
16215 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16216
16217         * LyXAction.C (init):
16218         * commandtags.h:
16219         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16220         LIGATURE_BREAK, since the name is so stupid.
16221
16222 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16223
16224         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16225         InsetInfos.
16226
16227         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16228
16229         * sp_form.[Ch]: remove.
16230
16231         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16232
16233         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16234         InsetInfo.
16235
16236         * src/buffer.C (readInset): ditto.
16237
16238 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16239
16240         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16241         menuSeparator(), endOfSentenceDot(), ldots() and
16242         hyphenationPoint(), which are therefore removed.
16243         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16244
16245         * LyXAction.C (init):
16246         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16247
16248         * paragraph.C (getWord): removed.
16249
16250         * BufferView_pimpl.C (Dispatch): use last word or selection for
16251         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16252
16253         * lyx_main.C (queryUserLyXDir): do not ask before creating
16254         user_dir, except if it has been named explicitely.
16255
16256 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16257
16258         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16259         a document of zero size.
16260
16261 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16262
16263         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16264         approriately in the c-tor and in require().
16265         (getPackages): output the appropriate LaTeX for natbib support.
16266
16267         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16268         variables "use_natbib" and "use_numerical_citations" when reading the
16269         LyX file.
16270         (readInset): read the various natbib cite commands.
16271         (validate): white-space change.
16272
16273         * bufferparams.[Ch]: new variables "bool use_natbib" and
16274         "bool use_numerical_citations".
16275         (writeFile): output them in the LyX file.
16276
16277 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16278
16279         * lyxfunc.C (getStatus): add support for all the inset insertion
16280         commands.
16281
16282         * text2.C (insertInset):
16283         * paragraph.C (insetAllowed):
16284         * BufferView_pimpl.C (insertInset): update to take in account the
16285         renaming of insertInsetAllowed
16286
16287         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16288
16289         * text2.C (getInset): new method. returns inset at cursor position.
16290
16291         * BufferView_pimpl.C (Dispatch): changes because of this.
16292
16293         * LyXAction.C (init): rename open-stuff to inset-toggle.
16294
16295         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16296
16297         * text2.C (toggleInset): renamed from openStuff; use
16298         Inset::open().
16299
16300 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16301
16302         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16303
16304         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16305
16306 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16307
16308         * buffer.C (readLyXformat2): Add filename to the error dialog
16309
16310 2001-07-18  Juergen Vigna  <jug@sad.it>
16311
16312         * tabular.C (GetCellNumber): put an assert here instead of the check!
16313
16314 2001-07-17  Juergen Vigna  <jug@sad.it>
16315
16316         * BufferView_pimpl.C (toggleSelection): adapted too.
16317
16318         * text.C (selectNextWord): adapted for use with insets.
16319         (selectSelectedWord): ditto
16320
16321 2001-07-17  Juergen Vigna  <jug@sad.it>
16322
16323         * sp_spell.C (PSpell): fix initialitation order.
16324
16325 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16326
16327         * paragraph.C: spacing
16328
16329 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16330
16331         * sp_spell.C: repair language selection for pspell
16332
16333 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16334
16335         * lyxfunc.h: change more methods to begin with lower char.
16336
16337 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16338
16339         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16340         for unknown layouts.
16341
16342 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16343
16344         * buffer.C (readLyXformat2): Generate an error dialog if there are
16345         unknown layouts.
16346
16347 2001-07-16  Juergen Vigna  <jug@sad.it>
16348
16349         * sp_spell.C: always compile ISpell part.
16350
16351         * lyxrc.C: added use_pspell entry and it's handling.
16352
16353 2001-07-13  Juergen Vigna  <jug@sad.it>
16354
16355         * sp_spell.C: removed double includes.
16356
16357 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16358
16359         Consistent use of Lsstream.h:
16360         * Lsstream.h: added using std::stringstream for consistencies sake.
16361
16362         * buffer.C: removed using std::stringstream
16363
16364         * lyxfont.C (stateText):
16365         * paragraph.C (asString):
16366         * text.C (selectNextWord, selectSelectedWord):
16367         * text2.C (setCounter):
16368         * vspace.C (asString, asLatexString):
16369         std::ostringstream -> ostringstream.
16370
16371 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16372
16373         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16374         * commandtags.h: add LFUN_HELP_ABOUTLYX
16375         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16376
16377 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16378
16379         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16380         cursorToggle()
16381         * lyx_gui_misc.C: remove spellchecker
16382         * lyxfunc.C: showSpellchecker
16383         * sp_base.h: added
16384         * sp_ispell.h: added
16385         * sp_pspell.h: added
16386         * sp_spell.C: added
16387         * sp_form.[Ch]: removed
16388         * spellchecker.[Ch]: removed
16389
16390 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16391
16392         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16393         is set.
16394         (simpleTeXSpecialChars): Simply print the input character without
16395         any special translation if pass_thru is set.
16396
16397         * layout.h: Added bool pass_thru to layout class for being able to
16398         implement pass through of a paragraph for Literate Programming.
16399
16400         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16401         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16402         * layout.C (Read): add "passthru" to list of layout tags and add
16403         code to set the pass_thru boolean when it is read.
16404
16405 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16406
16407         * trans_decl.h: remove allowed from KmodInfo
16408
16409         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16410         remove allowed code
16411         (Load): adjust
16412
16413         * paragraph_pimpl.C (erase): use boost::prior
16414
16415         * Painter.C (text): use data() instead of c_str() when length is
16416         also provided.
16417         * WorkArea.C (putClipboard): ditto
16418         * font.h (width): ditto
16419
16420         * BufferView2.C: use it-> instead of (*it). for iterators
16421         * texrow.C: ditto
16422         * paragraph_pimpl.C: ditto
16423         * paragraph.C: ditto
16424         * minibuffer.C: ditto
16425         * language.C: ditto
16426         * kbmap.C: ditto
16427         * encoding.C: ditto
16428         * counters.C: ditto
16429         * converter.C: ditto
16430         * chset.C: ditto
16431         * Variables.C: ditto
16432         * TextCache.C: ditto
16433         * MenuBackend.C: ditto
16434         * LyXAction.C: ditto
16435         * LColor.C: ditto
16436         * FloatList.C: ditto
16437         * DepTable.C: ditto
16438         * ColorHandler.C (LyXColorHandler): ditto
16439
16440 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16441
16442         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16443
16444         * text2.C (openStuff): reintroduce this method (which had been
16445         nuked in NEW_INSETS frenzy).
16446
16447         * lyxfunc.C (Dispatch): when an action has not been handled, use
16448         its name in the error message, not its number.
16449
16450         * paragraph.C (inInset): change method name to begin with lowercase.
16451
16452         * undo_funcs.C:
16453         * text2.C: updates because of this.
16454
16455 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16456
16457         * ToolbarDefaults.C (add): add spaces in error message
16458
16459 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16460
16461         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16462         (readLyXformat2): rename return_par to first_par, use lyxlex's
16463         pushToken and remove the manual push handling.
16464         (parseSingleLyXformat2Token): add another ert comp. variable:
16465         in_tabular, rename return_par to first_par. handle newlines better
16466
16467 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16468
16469         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16470
16471 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16472
16473         * text2.C (getParFromID): removed
16474
16475         * buffer.C (getParFromID): new method moved form lyxtext.
16476         * BufferView2.C (insertErrors): adjust
16477         (setCursorFromRow): adjust
16478         * BufferView_pimpl.C (restorePosition): adjust
16479         * lyxfunc.C (Dispatch): adjust
16480         * undo_funcs.C (textUndo): adjust
16481         (textRedo): adjust
16482         (textHandleUndo): adjust
16483         (textHandleUndo): adjust
16484
16485 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16486
16487         * buffer.C: up' the LYX_FORMAT
16488
16489         * lyxfont.h: turn NO_LATEX on as default
16490
16491         * buffer.C (insertErtContents): new methods of tex style compability.
16492         (parseSingleLyXformat2Token): use it several places.
16493         * tabular.C (OldFormatRead): and here
16494
16495 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16496
16497         * text2.C: remove some commented code.
16498         reindent file.
16499
16500         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16501         * trans.C: changes because of the above.
16502
16503 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16504
16505         * text2.C (setCounter): Fix counters bug with bibliography layout.
16506
16507 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16508
16509         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16510         own member functions
16511         (simpleTeXSpecialChars): ditto
16512
16513 2001-07-06  Juergen Vigna  <jug@sad.it>
16514
16515         * a lot of files: changed the access to LyXText::status and the
16516         call of undo-functions.
16517
16518         * undo.[Ch]: added a inset_id to the undo informations.
16519
16520         * undo_funcs.[Ch]: added and moved here all undo functions.
16521
16522         * lyxtext.h: give the status enum a weight, made status_ a private
16523         variable and made accessor functions for it, removed the whole bunch
16524         of undo-functions as they are now in their own file, make some
16525         functions publically available. Added function ownerParagraph with
16526         int parameter.
16527
16528         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16529         made InInset() a const function, added getParFromID() function.
16530
16531         * buffer.[Ch]: added const version for inset_iterator functions,
16532         added getInsetFromID() function.
16533
16534         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16535         changed undo functions for new version.
16536
16537 2001-07-05  Juergen Vigna  <jug@sad.it>
16538
16539         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16540         unknow mechanism does not call the proper constructor but only this
16541         one also if I request the other!?
16542
16543 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16544
16545         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16546
16547         * text2.C (LyXText): use initialization lists.
16548
16549         * lyxtext.h (Selection): initialize set_ and mark_
16550         (init): remove method
16551
16552 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16553
16554         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16555
16556 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16557
16558         * screen.[Ch]: change method names to begin with lowercase
16559
16560         * BufferView_pimpl.C (updateScrollbar): simplify further and
16561         hopefully make it a bit faster.
16562
16563 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16564
16565         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16566         calling directly xforms functions.
16567
16568         * Painter.C (Painter):
16569         * lyx_cb.C (MenuWrite):
16570         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16571         fl_display.
16572
16573         * lyx_gui.C: remove bogus guiruntime extern declaration.
16574
16575 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16576
16577         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16578         in NEW_INSETS
16579         (redoDrawingOfParagraph): ditto
16580         (redoParagraphs): ditto
16581         (cutSelection): don't create a object for CutAndPaste use the
16582         static method directly
16583         (pasteSelection): ditto
16584
16585         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16586         LyXview (+ rename)
16587
16588 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16589
16590         * modifications to some other files because of this.
16591
16592         * Makefile.am (lyx_SOURCES): add XFormsView
16593
16594         * XFormsView.[Ch]: new files
16595
16596         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16597         the main window. Move the gui dependent stuff to XFormsView
16598
16599 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16600
16601         * tabular.C (GetCellInset): update cur_cell also in the row/col
16602         version of this function.
16603
16604         * lyxfunc.C: no need to include figure_form.h here.
16605
16606         * FontLoader.h:
16607         * lyxfunc.h:
16608         * lyxscreen.h:
16609         * text2.C:
16610         * lyxvc.C: no need to include forms.h here.
16611
16612 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16613
16614         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16615
16616         * lyxfunc.C (Dispatch):
16617         * Spacing.C (set):
16618         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16619         constructor argument.
16620
16621 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16622
16623         * paragraph.C (Paragraph): dont't clear, and just set layout.
16624         (makeSameLayout): use params's copy contructor.
16625
16626         * ParagraphParameters.[Ch] (makeSame): delete method
16627
16628 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16629
16630         * Variables.[Ch]: fix indentation, rename set to isSet
16631
16632 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16633
16634         * lyxfunc.C (Dispatch): fix typo
16635
16636 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16637
16638         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16639         upper_bound.
16640
16641         * bufferlist.C: include assert.h for emergencyWrite().
16642
16643 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16644
16645         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16646           give up at last (bug #425202) !
16647
16648 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16649
16650         * lyx_gui_misc.C:
16651         * sp_form.h:
16652         * sp_form.C:
16653         * spellchecker.h:
16654         * spellchecker.C: strip spellchecker options and bring up
16655           preferences tab instead
16656
16657 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16658
16659         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16660         the istringstream constructor
16661
16662 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16663
16664         * paragraph.C (getLayout): fix return value
16665
16666         * paragraph.h: do not declare getLayout as inline.
16667
16668         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16669
16670 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16671
16672         * lyxcursor.h (operator<): new func
16673         (operator>): new func
16674         (operator>=): new func
16675         (operator<=): new func
16676
16677         * text.C (changeCase): use selection.start and selection.end
16678         (changeRegionCase): require from to be <= to. Require par to be a
16679         valid paragraph.
16680
16681         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16682
16683 2001-06-27  Juergen Vigna  <jug@sad.it>
16684
16685         * text.C (cursorLeftOneWord): changed to return the cursor and added
16686         overlay with BufferView * parameter which calls this one.
16687         (getWord): added
16688         (selectWord): use new getWord function.
16689         (changeCase): renamed from changeWordCase as and extended to work
16690         also on selections.
16691
16692         * lyxtext.h: added enum word_location
16693
16694         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16695         changeCase as this operates now also on selections.
16696
16697 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16698
16699         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16700
16701         * many files: send debug output to Debug::INFO instead of
16702         Debug::ANY.
16703
16704         * converter.C (View):
16705         (Convert):
16706         (Move): send debug output to Debug::FILES instead of console.
16707
16708 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16709
16710         * lyxfunc.C (getStatus): use func_status
16711
16712         * func_status.h: new header, describing the results of
16713         LyXFunc::getStatus;
16714
16715         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16716         LFUN_MATH_HALIGN.
16717
16718 2001-06-25  The LyX Project  <jug@sad.it>
16719
16720         * buffer.C (sgmlOpenTag):
16721         (sgmlCloseTag):
16722         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16723
16724 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16725
16726         * text2.C: remove some dead code
16727
16728         * tabular.C (GetCellInset): store the last cell checked (gotten)
16729
16730         * tabular.h: add the helper for the speedup
16731
16732         * lyxtext.h: remove some dead code
16733
16734 2001-06-26  The LyX Project  <Asger>
16735
16736         * paragraph.C: Change export to LaTeX of alignment to
16737         \begin{center} and family for better roundtrip work with reLyX.
16738
16739         * Tune the math drawing a bit.
16740
16741 2001-06-25  The LyX Project  <Asger>
16742
16743         * LColor.C (LColor): New color for math background. New color
16744         for buttons.
16745
16746 2001-06-25  The LyX Project  <jug@sad.it>
16747
16748         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16749
16750         * lyxfunc.C (Open):
16751         * bufferlist.C (newFile): do not restrict to files ending with
16752         .lyx
16753
16754         * BufferView_pimpl.C (MenuInsertLyXFile):
16755
16756 2001-06-24  The LyX Project  <jug@sad.it>
16757
16758         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16759         of compare_no_case
16760
16761 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16762
16763         * lyxtext.h: rename most methods to begin with a small char.
16764         Lots of changes because of this.
16765
16766         * paragraph.C (Paragraph): do not call fitToSize
16767         (erase): call Pimpl::erase
16768         (insertChar): call Pimpl::insertChar
16769         (insertInset): call Pipl::insertInset
16770         (breakParagraph): do not call fitToSize
16771         (breakParagraphConservative): do not call fitToSize
16772         (fitToSize): remove method
16773
16774         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16775
16776 2001-06-24  The LyX Project  <Asger>
16777
16778         * Fix Qt compilation^2
16779
16780 2001-06-24  The LyX Project  <jug@sad.it>
16781
16782         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16783         depthHook(getDepth()-1).
16784
16785         * paragraph.h:
16786         * ParagraphParameters.h:
16787         * ParameterStruct.h: change type of depth to unsigned int ==
16788         depth_type. Many adaptations to other files before of that.
16789
16790 2001-06-24  The LyX Project  <Asger>
16791
16792         * Fix Qt compilation.
16793
16794 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16795
16796         * paragraph.h: renamed several methods to begin with small letter.
16797         several changes to many parts of the code because of this.
16798
16799 2001-06-23  The LyX Project  <jug@sad.it>
16800
16801         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16802         rewritten to discard all double spaces when KeepEmpty is off
16803         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16804         to only handle newlines but not fiddle with spaces and friends.
16805
16806         * lyxfunc.C (MenuNew): when doing 'new from template', use
16807         template_path as default directory
16808
16809 2001-06-23  The LyX Project  <Asger>
16810
16811         * Clean-up of header file includes all over
16812         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16813
16814 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16815
16816         * paragraph.h: renamed from lyxparagraph.h
16817
16818 2001-06-23  Asger  <lyx@violet.home.sad.it>
16819
16820         * Buffer.h: Removed Buffer::resize
16821         * BufferList.h: Removed BufferList::resize
16822         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16823         the document lazily when we change the width, or the font settings.
16824
16825 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16826
16827         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16828
16829 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16830
16831         * buffer.h: remove out of date comment
16832
16833 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16834
16835         * lyxscreen.h:
16836         * screen.C: fix "theoretical" GC leak
16837
16838 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16839
16840         * LaTeX.C (scanAuxFile):
16841         (deplog): remove trailing \r when reading stream (useful under
16842         win32)
16843
16844 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16845
16846         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16847         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16848         and BufferView::theLockingInset(Inset*), so should use them and not
16849         access bv_->text->the_locking_inset directly.
16850
16851         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16852
16853 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16854
16855         * Makefile.am:
16856         * tex-defs.h: remove old unused file
16857
16858 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16859
16860         * BufferView_pimpl.C: fix typo, remove minibuffer message
16861           when buffer has loaded
16862
16863 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16864
16865         * lyxfunc.C (Dispatch): use stringstream
16866         (MenuNew): use stringstream
16867         (Open): use stringstream
16868
16869         * importer.C (Import): use stringstream
16870
16871         * bufferview_funcs.C (CurrentState): use stringstream
16872
16873         * LaTeX.C (run): use stringstream
16874
16875         * BufferView_pimpl.C (savePosition): use stringstream
16876         (restorePosition): use stringstream
16877         (MenuInsertLyXFile): use stringstream
16878
16879 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16880
16881         * BufferView.C:
16882         * Bullet.C:
16883         * ColorHandler.C:
16884         * FontInfo.C:
16885         * FontLoader.C:
16886         * LColor.C:
16887         * LaTeXFeatures.C:
16888         * Painter.C:
16889         * gettext.C:
16890         * lyx_gui_misc.C:
16891         * lyxserver.C:
16892         * vspace.C: removed // -*- C++ -*- as first line.
16893
16894         * lyxfind.h:
16895         * version.h: added // -*- C++ -*- as first line.
16896
16897 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16898
16899         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16900
16901         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16902         of string
16903
16904 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16905
16906         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16907         of floats.
16908
16909 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16910
16911         * gettext.C: include LString.h even when --disable-nls is on.
16912
16913 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16914
16915         * converter.h (Get): changed argument type from int to
16916         FormatList::size_type to avoid unnecessary conversion.
16917
16918         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16919         before using it.
16920
16921 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16922
16923         * gettext.h: include LString.h even when --disable-nls is on.
16924
16925 2001-06-07  Juergen Vigna  <jug@sad.it>
16926
16927         * text.C (BreakAgain): subst spaces with tabs.
16928
16929         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16930         (resizeInsetsLyXText): set force on resizeLyXText.
16931
16932 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16933
16934         * gettext.h (gettext_init):
16935         (locale_init): use a real definition instead of a macro
16936
16937 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16938
16939         * Bufferview_pimpl.C:
16940         * LColor.h:
16941         * LColor.C: further lcolor tidies
16942
16943 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16944
16945         * BufferView_pimpl.C (updateScrollbar): simplify.
16946
16947         * BufferView2.C: don't include insets/insetinfo.h, change
16948         prototype for insertInset and call the Pimpl version. let
16949         updateInset call Pimpl version.
16950
16951         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16952         gotoInset to BufferView::Pimpl
16953
16954 2001-06-01  Juergen Vigna  <jug@sad.it>
16955
16956         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16957         inside a LockingInset (is the update needed at all?).
16958
16959 2001-05-31  Juergen Vigna  <jug@sad.it>
16960
16961         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16962         here not the old one otherwise how should we compare it afterwards
16963         if it's the same!
16964
16965 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16966
16967         * lyxfont.C:
16968         * tabular.C:
16969         * tabular-old.C:
16970         * FontInfo.C: bring C functions into global namespace when
16971         necessary
16972
16973 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16974
16975         * LString.h: make sure config.h has been loaded before LString.h.
16976
16977         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16978         (one for each char read by EatLine!).
16979
16980         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16981         variables.
16982
16983 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16984
16985         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16986         to the same as the par we break from
16987
16988 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16989
16990         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16991
16992         * MenuBackend.C (expand): also create menu entries for wide
16993         versions of the floats.
16994
16995         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16996
16997         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16998
16999         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17000         frontends/Makefile.am
17001
17002         * text2.C: adjust
17003         * text.C: adjust
17004
17005
17006         * tabular.C (getTokenValue): add std::
17007
17008         * tabular-old.C (getTokenValue): add std::
17009         (getTokenValue): ditto
17010         (getTokenValue): ditto
17011
17012         * screen.C (ToggleSelection): adjust
17013
17014         * lyxtext.h: put selection cursors inside a Selection struct.
17015
17016         * lyxfunc.C (moveCursorUpdate): adjust
17017
17018         * lyxfont.C (latexWriteStartChanges): add std::
17019
17020         * lyxfind.C: adjust
17021
17022         * font.h: delete with(char const *, LyXFont const &)
17023
17024         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17025
17026         * FontInfo.C (getFontname): add std::
17027
17028         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17029         (workAreaButtonPress): adjust
17030         (tripleClick): adjust
17031         (update): adjust
17032         (moveCursorUpdate): adjust
17033         (Dispatch): adjust
17034
17035         * BufferView2.C (gotoInset): adjust
17036
17037 2001-05-30  Juergen Vigna  <jug@sad.it>
17038
17039         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17040         to check pspell I add this as default as I now have new pspell
17041         libraries and they seem to use this.
17042
17043 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17044
17045         * text2.C (CutSelection): make the cursor valid before the call to
17046         ClearSelection.
17047
17048 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17049
17050         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17051         relied on 0 terminated strings and other horrors. Bug found due to
17052         the new assert in lyxstring!
17053
17054         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17055         KP_ keys.
17056
17057 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17058
17059         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17060         to latinkeys.bind.
17061
17062         * lyxfunc.C (processKeySym): change method of getting to the
17063         self-insert char.
17064
17065         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17066         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17067         * BufferView_pimpl.[Ch]: here as private methods.
17068
17069 2001-05-28  Juergen Vigna  <jug@sad.it>
17070
17071         * text.C (SetHeightOfRow): added the update() call again as it is
17072         needed to initialize inset dimensions!
17073
17074 2001-05-16  Juergen Vigna  <jug@sad.it>
17075
17076         * text2.C (SetCharFont): Add new function with BufferView * and
17077         bool toggleall parameters for setting insets internal fonts.
17078         (SetFont): Freeze the undo as we may change fonts in Insets and
17079         all this change should be inside only one Undo!
17080
17081         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17082         setting font's in insets as for them we have the SetFont function!
17083
17084 2001-05-15  Juergen Vigna  <jug@sad.it>
17085
17086         * text2.C (ClearSelection): to be sure we REALLY don't have any
17087         selection anymore!
17088
17089         * tabular.C (TeXCellPreamble): fixed the left border problem for
17090         multicolumn cells.
17091
17092 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17093
17094         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17095         dependancy file
17096
17097 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17098
17099         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17100         LFUN_BREAKPARAGRAPH.
17101
17102         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17103         help test to "internal only", similar for LFUN_INSERT_URL
17104
17105         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17106         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17107         auto_region_delete and deadkeys.
17108
17109 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17110
17111         * LColor.h:
17112         * LColor.C: remove some dead entries, tidy a little
17113
17114 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17115
17116         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17117         commented code.
17118         (Dispatch): implement LFUN_ESCAPE
17119
17120         * commandtags.h: add LFUN_ESCAPE
17121
17122         * LyXAction.C (init): add entry for LFUN_ESCAPE
17123
17124         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17125         Remove commented code.
17126         (insertNote): moved here
17127         (open_new_inset): moved here
17128
17129         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17130         BufferView_pimpl
17131
17132 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17133
17134         * kbmap.C (findbinding): clean it up and make it work correctly.
17135
17136         * lyx_main.C (init): do not pass argc and argv as parameters
17137
17138 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17139
17140         * buffer.C: fix path for OS/2 & Win32
17141
17142         * lyx_gui.C:
17143         * lyx_main:
17144         * lyx_main.C: Added os:: class.
17145
17146         * os2_defines.h: update
17147
17148 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17149
17150         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17151         better by trying again with reduced state.
17152
17153 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17154
17155         * lyxrc.C (read): print error about invalid key sequence only when
17156         debugging (because not all latinX keysyms are known to some X
17157         servers)
17158
17159         * kbsequence.C (getiso): add a few std:: qualifiers
17160         (getiso): comment out extra return statement.
17161
17162 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17163
17164         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17165         handling.
17166         (Dispatch): enhance the accent inset a bit. (not perfect)
17167
17168 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17169
17170         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17171
17172 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17173
17174         * bufferlist.C (emergencyWrite): fix assert() call
17175
17176 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17177
17178         * text.C (InsertChar): Added trivial patch to only send the "you
17179         can not do multiple spaces this way" message once during a
17180         session.
17181
17182 2001-05-08  Baruch Even  <baruch@lyx.org>
17183
17184         * Makefile.am: Changed order of libraries to get LyX to link properly
17185         with the gnome frontend.
17186
17187 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17188
17189         * LaTeXFeatures.h: add a std:: qualifier
17190
17191 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17192
17193         * paragraph.C (String): use stringstream
17194
17195 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17196
17197         * paragraph.C (writeFile): remove footflag arg
17198
17199         * buffer.C (makeLaTeXFile): use stringstream
17200         (latexParagraphs): remove footnot gurba
17201
17202         * LaTeXFeatures.C (getPackages): use stringstream
17203         (getMacros): likewise
17204         (getTClassPreamble): likewise
17205         (getFloatDefinitions): new method
17206
17207         * paragraph.C (writeFile): reindent
17208         (Erase): reindent
17209
17210         * WorkArea.h: revert the xpos + etc changes.
17211
17212         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17213
17214         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17215
17216         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17217         (pasteSelection): likewise
17218         * text2.C (CreateUndo): likewise
17219
17220 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17221
17222         * minibuffer.C (peek_event): temporarily reduce the functionality
17223         of the minibuffer (to allow args on lfuns)
17224
17225         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17226         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17227
17228         * buffer.C (readInset): add compability reading of old float
17229         lists, add reading of new style float list.
17230         (readInset): avoid reevaluation of inscmd.getCmdName()
17231         (getLists): reindent
17232
17233         * MenuBackend.C (MenuItem): implement parsing of
17234         md_floatlistinsert and md_floatinsert.
17235         (expand::LastFiles): move initalizaton of iterators out of loop,
17236         avoid reevaluation.
17237         (expand::Documents): introduce typdedef vector<string> Strings,
17238         and use it.
17239         (expand::ExportFormats): introduce typedef vector<Format const *>
17240         Formats, and use it.
17241         (expand): implement FloatListInsert and FloatInsert.
17242
17243         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17244         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17245         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17246
17247         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17248         handling.
17249         (Dispatch::LFUN_FLOAT_LIST): implement
17250
17251 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17252
17253         * LaTeX.C (run): Fix problem with --export code.
17254
17255 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17256
17257         * BufferView.[Ch] (workarea): removed.
17258         (getClipboard) new method; wrapper for workarea()->getClipboard()
17259
17260         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17261         bug.
17262
17263         * WorkArea.h (width, height, xpos, ypos): These methods all
17264         returned the dimensions of the work_area sub-area of WorkArea,
17265         resulting in a position error if the WorkArea were resized. Now
17266         return the dimensions of the entire WorkArea.
17267
17268         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17269
17270 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17271
17272         * LaTeX.C (deplog): correct the syntax of regex reg1
17273
17274 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17275
17276         * undo.C: remove !NEW_INSETS cruft
17277
17278 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17279
17280         * text2.C: remove !NEW_INSETS cruft
17281
17282         * text.C: remove !NEW_INSETS cruft
17283
17284         * tabular.C: remove !NEW_INSETS cruft
17285
17286         * spellchecker.C: remove !NEW_INSETS cruft
17287
17288         * lyxtext.h: remove !NEW_INSETS cruft
17289
17290         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17291
17292         * lyxfunc.C: remove !NEW_INSETS cruft
17293
17294         * lyxfind.C: remove !NEW_INSETS cruft
17295
17296         * lyx_cb.C: remove !NEW_INSETS cruft
17297
17298         * figureForm.C: remove  !NEW_INSETS cruft
17299
17300         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17301
17302         * buffer.[Ch]: remove !NEW_INSETS cruft
17303
17304         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17305
17306         * CutAndPaste.C: remove !NEW_INSETS cruft
17307
17308         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17309
17310         * BufferView2.C: remove !NEW_INSETS cruft
17311
17312         * BufferView.h: remove !NEW_INSETS cruft
17313
17314 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17315
17316         * Lsstream.h: include LString.h before the sstream headers to
17317         fix problem with gcc 2.95.3 and lyxstring
17318
17319 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17320
17321         * lyx_main.C: add using directives when needed for C functions
17322         declared in std:: namespace.
17323
17324 2001-04-27  Juergen Vigna  <jug@sad.it>
17325
17326         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17327         (SetHeightOfRow): comment out the update call should not be needed!
17328
17329 2001-04-13  Juergen Vigna  <jug@sad.it>
17330
17331         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17332         (LyXTabular): tried to minimize operator= operations (and realized
17333         hopfully Lars wish).
17334
17335 2001-04-27  Juergen Vigna  <jug@sad.it>
17336
17337         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17338
17339 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17340
17341         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17342
17343         * buffer.C (readInset): hack to make listof algorithm work
17344
17345         * BufferView_pimpl.C: hack to make listof algorithm work
17346
17347 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17348
17349         * LyXAction.C: removed all !NEW_INSETS cruft
17350         (init): moved lfun_item in method
17351
17352         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17353
17354 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17355
17356         * BufferView2.C (theLockingInset): white space.
17357
17358 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17359
17360         * minibuffer.C: include <iostream>
17361
17362         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17363
17364         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17365
17366         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17367
17368         * text.[Ch] (TransposeChars): new method
17369
17370 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17371
17372         * call message directly through LyXView instead of through LyXFunc
17373         * BufferView2.C: adjust
17374         * BufferView_pimpl.C: adjust
17375         * FontLoader.C: adjust
17376         * buffer.C: adjust
17377         * bufferview_funcs.C: adjust
17378         * converter.C: adjust
17379         * figureForm.C: adjust
17380         * importer.C: adjust
17381         * lyx_cb.C: adjust
17382         * lyx_gui_misc.C: adjust
17383         * lyxfunc.C: adjust
17384         * lyxvc.C: adjust
17385         * text2.C: adjust
17386         + more files in subdirs
17387
17388         * lyxparagraph.h (size): move up int file
17389         (GetLayout): ditto
17390
17391         * adjust all uses of Assert to lyx::Assert.
17392
17393         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17394         lyxfunctional in namespace lyx
17395         * layout.C (hasLayout): ditto
17396         (GetLayout): ditto
17397         (GetLayout): ditto
17398         (delete_layout): ditto
17399         (NumberOfClass): ditto
17400         * converter.C (GetFormat): ditto
17401         (GetNumber): ditto
17402         (Add): ditto
17403         (Delete): ditto
17404         (SetViewer): ditto
17405         * bufferlist.C (getFileNames): ditto
17406         (emergencyWriteAll): ditto
17407         (exists): ditto
17408         (getBuffer): ditto
17409         * MenuBackend.C (hasSubmenu): ditto
17410         (hasMenu): ditto
17411         (getMenu): ditto
17412         * BufferView_pimpl.C (getInsetByCode): ditto
17413
17414 2001-04-18  Juergen Vigna  <jug@sad.it>
17415
17416         * vspace.C (asLatexString): fixed the 100% problem.
17417
17418 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17419
17420         * lyxfunc.C (Dispatch):
17421         * minibuffer.C:
17422         * minibuffer.h: add a few std:: qualifiers
17423
17424 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17425
17426         * minibuffer.[Ch]: reimplement so that commands is initiated and
17427         run from lyxfunc, simplified som handling, and made the completion
17428         and history code for complete. wip.
17429
17430         * lyxfunc.C (processKeySym): call message
17431         (miniDispatch): new temporary method
17432         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17433         (LFUN_MESSAGE): implement
17434         (LFUN_MESSAGE_PUSH): implement
17435         (LFUN_MESSAGE_POP): implement
17436         (initMiniBuffer): the initial/defualt minibuffer message.
17437
17438         * lyxfont.[Ch]: inline some more getters
17439
17440         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17441
17442         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17443
17444         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17445         (AutoSave): use LFUN_MESSAGE
17446         (Reconfigure): ditto
17447
17448         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17449
17450         * figureForm.C: use LFUN_MESSAGE
17451
17452         * converter.C (runLaTeX): use LFUN_MESSAGE
17453
17454         * bufferview_funcs.C: use LFUN_MESSAGE
17455         (Melt): ditto
17456         (changeDepth): ditto
17457
17458         * bufferparams.h: use boost::
17459
17460         * bufferlist.h: inherit privately from noncopyable
17461
17462         * bufferlist.C (loadLyXFile): remove some commented code.
17463
17464         * buffer.C (runChktex): use LFUN_MESSAGE
17465
17466         * ShareContainer.h: inherit privately from noncopyable
17467
17468         * ParagraphParameters.[hC] (depth): inline it.
17469
17470         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17471         methods.
17472         (message): new method
17473         (messagePush): ditto
17474         (messagePop): ditto
17475         (show): init minibuffer
17476         (showState): direct call
17477
17478         * LaTeX.[Ch]: inherit privately from noncopyable
17479         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17480         instead of WriteStatus.
17481
17482         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17483
17484         * BufferView_pimpl.C (buffer): don't init minibuffer
17485         (workAreaButtonPress): use LFUN_MESSAGE
17486         (workAreaButtonRelease): ditto
17487         (savePosition): ditto
17488         (restorePosition): ditto
17489         (MenuInsertLyXFile): ditto
17490         (workAreaExpose): don't init minibuffer
17491         (update): remove commented code, simplify
17492
17493         * BufferView2.C (openStuff): use LFUN_MESSAGE
17494         (toggleFloat): ditto
17495         (menuUndo): ditto
17496         (menuRedo): ditto
17497         (copyEnvironment): ditto
17498         (pasteEnvironment): ditto
17499         (copy): ditto
17500         (cut): ditto
17501         (paste): ditto
17502         (gotoInset): ditto
17503         (updateInset): remove some commented code
17504
17505         * lastfiles.h: inherit privately from noncopyable
17506         * layout.h: ditto
17507         * lyx_gui.h: ditto
17508         * lyx_main.h: ditto
17509         * lyxlex.h: ditto
17510         * lyxlex_pimpl.h: ditto
17511
17512         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17513         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17514         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17515
17516         * LyXAction.h: inherit privately from noncopyable, add methods
17517         func_begin, func_end, returning iterators to the func map.
17518
17519         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17520         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17521         (func_begin): new method
17522         (func_end): new method
17523
17524         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17525         and not)
17526         (copySelection): ditto
17527         (pasteSelection): ditto
17528
17529         * BufferView.C: whitespace change
17530         * BufferView.h: inherit privately from noncopyable
17531
17532 2001-04-16  Allan Rae  <rae@lyx.org>
17533
17534         * tabular-old.C (l_getline):
17535         * spellchecker.C (sc_check_word):
17536         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17537         an unrecognised preprocessor directive.  So ensure they're wrapped.
17538
17539 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17540
17541         * src/exporter.C (Export): Give an error message when path to file
17542         contains spaces.
17543
17544 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17545
17546         * LaTeX.C (deplog): Always check that foundfile exists.
17547
17548 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17549
17550         * lyx_main.h:
17551         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17552
17553 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17554
17555         * tabular.[Ch] (getLabelList): implement new method
17556
17557         * minibuffer.h: comment ouf setTiimer
17558
17559         * minibuffer.C (ExecutingCB): constify res
17560         (peek_event): constify s
17561         (Set): constify ntext
17562         (Init): constify nicename
17563
17564         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17565
17566         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17567         (savePosition): use two params to Minibuffer::Set
17568         (restorePosition): ditto
17569
17570 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17571
17572         * lyx_main.C: include language.h
17573
17574         * Makefile.am (lyx_main.o): add language.h
17575
17576 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17577
17578         * exporter.C:
17579         * paragraph.C:
17580         * screen.C:
17581         * tabular.C:
17582         * CutAndPaste.C: include gettext.h
17583
17584         * lyxfont.h: remove old hack with ON and OFF.
17585
17586         * lyxparagraph.h:
17587         * lyxfont.h: do not include language.h...
17588
17589         * BufferView2.C:
17590         * LaTeXFeatures.C:
17591         * Painter.C:
17592         * bufferview_funcs.C:
17593         * font.C:
17594         * lyxfont.C:
17595         * text.C:
17596         * text2.C:
17597         * trans_mgr.C:
17598         * paragraph.C: ... but do it here instead
17599
17600 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17601
17602         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17603
17604         * tabular.C: small reformat
17605
17606         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17607         NEW_INSETS version
17608         (GetChar): ditto
17609         (BreakParagraph): ditto
17610         (SetOnlyLayout): ditto
17611         (SetLayout): ditto
17612
17613         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17614         with one arg less.
17615
17616         * lastfiles.C: removed most using decl, add std:: where needed
17617
17618         * buffer.C: ws changes
17619
17620         * MenuBackend.C (class compare_format): put into anon namespace
17621         (expand): constify label, names, action, action2
17622         (expand):
17623
17624         * text.C (SingleWidth): constify font
17625         (IsBoundary): constify rtl2
17626         (GetVisibleRow): constify ww
17627
17628         * LaTeX.C (deplog): constify logfile
17629
17630         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17631         start_x, end_x
17632         (workAreaExpose): constify widthChange, heightChange
17633
17634         * lyxrow.C (par): moved
17635         (height): moved
17636         (next): moved
17637         * lyxrow.h: as inlines here
17638
17639         * lyxfont.h (shape): moved from lyxfont.C
17640         (emph): moved from lyxfont.C
17641
17642         * lyxfont.C (LyXFont): use initialization list for all
17643         constructors
17644         (shape): move to lyxfont.h as inline
17645         (emph): move to lyxfont.h as inline
17646
17647
17648 2001-04-04  Juergen Vigna  <jug@sad.it>
17649
17650         * vspace.C: had to include stdio.h for use of sscanf
17651
17652 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17653
17654         * BufferView.h:
17655         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17656         independent of xforms.
17657
17658 2001-04-02  Juergen Vigna  <jug@sad.it>
17659
17660         * spellchecker.C: fixed namespace placing!
17661
17662 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17663
17664         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17665         the LyXParagraph * is 0.
17666
17667 2001-03-29  Juergen Vigna  <jug@sad.it>
17668
17669         * vspace.C: added support for %, c%, p%, l%.
17670         (stringFromUnit): added helper function.
17671         (asLatexString): changed to give right results for the %-values.
17672
17673         * buffer.C: convert the widthp in a width%.
17674
17675 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17676
17677         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17678         figureForm.[Ch].
17679
17680         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17681         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17682
17683         * lyx_cb.[Ch]: see above.
17684
17685         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17686         form1.[Ch].
17687
17688         * form1.[Ch]:
17689         * lyx.[Ch]: replaced by figure_form.[Ch].
17690
17691         * lyx_gui.C:
17692         * lyx_gui_misc.C:
17693         * lyxfunc.C: changed headers associated with above changes.
17694
17695 2001-03-27  Juergen Vigna  <jug@sad.it>
17696
17697         * BufferView_pimpl.C: set the temporary cursor right!
17698
17699 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17700
17701         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17702
17703 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17704
17705         * LString.h: removed "using std::getline"!
17706
17707         * BufferView_pimpl.C (Dispatch): changes due to changes in
17708         InsetInclude::Params.
17709
17710         * buffer.C (tag_name): removed redundant break statements as they were
17711         producing lots of warnings with my compiler.
17712
17713 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17714
17715         * LString.h: add "using std::getline" when using the real <string>.
17716
17717 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17718
17719         * buffer.C: removed bitset usage.
17720         PAR_TAG moved to an anonymous name space.
17721         (tag_name): new funtion, also in the anonymous namespace.
17722         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17723         (makeDocBookFile): clean code. Completed transition from string arrays
17724         to string vectors.
17725         (SimpleDocBookOnePar): code clean.
17726
17727 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17728
17729         * tabular.C: add some comments.
17730
17731 2001-03-22  Juergen Vigna  <jug@sad.it>
17732
17733         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17734         compatibility read a bit and fixed bug with minipage in different
17735         depth.
17736
17737 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17738
17739         * buffer.C (pop_tag): removed.
17740         (push_tag): removed.
17741         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17742         array replaced with vector. Added support for CDATA sections.
17743         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17744         at any nest level.
17745         (makeDocBookFile): XML conformant declaration of CDATA section,
17746         fixed bug related to <emphasis> in the first paragraph char.
17747         (sgmlOpenTag): exclude empty tags.
17748         (sgmlCloseTag): ditto.
17749
17750         * buffer.h (pop_tag): removed.
17751         (push_tag): removed.
17752
17753 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17754
17755         * language.h (Languages): added size_type and size().
17756
17757 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17758
17759         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17760         response on compability reading of minipages. One probliem is that
17761         the old usage of minipages was flertydig
17762
17763         * several files here and in subdirs: don't use static at file
17764         scope use anon namespaces instead.
17765
17766 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17767
17768         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17769         LaTeX output. This is necessary for Literate document
17770         processing.
17771
17772 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17773
17774         * buffer.C: insert hfill when needed.
17775
17776         * tabular.C (l_getline): use string::erase, small whitespace change.
17777
17778         * BufferView_pimpl.C: try the anon namespace.
17779         * WorkArea.C: ditto
17780
17781 2001-03-16  Juergen Vigna  <jug@sad.it>
17782
17783         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17784         otherwise it won't open options-dialogs.
17785
17786         * buffer.C: honor pextraWidth(p) on converting minipages.
17787
17788         * tabular.C (l_getline): changed the functions to strip trailing \r.
17789
17790 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17791
17792         * BufferView_pimpl.C:
17793         * minibuffer..C: added "using SigC::slot" declaration.
17794
17795 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17796
17797         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17798
17799         * text2.C: ditto
17800
17801         * text.C: ditto
17802
17803         * paragraph.C: ditto
17804
17805         * lyxtext.h: NO_PEXTRA
17806
17807         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17808
17809         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17810         * ParameterStruct.h: ditto
17811         * ParagraphParameters.h: ditto
17812         * lyxparagraph.h: ditto
17813
17814 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17815
17816         * buffer.C: add compability for minipage alignment.
17817         (latexParagraphs): remove unwanted pextra check.
17818
17819         * several files: remove CXX_WORKING_NAMESPACES
17820
17821         * buffer.C (pop_tag): tie is in namespace boost
17822
17823         * BufferView.h: noncopyable is in namespace boost
17824         * lyxlex.h: ditto
17825         * lyx_main.h: ditto
17826         * lyx_gui.h: ditto
17827         * layout.h: ditto
17828         * lastfiles.h: ditto
17829         * bufferlist.h: ditto
17830         * ShareContainer.h: ditto
17831         * LyXView.h: ditto
17832         * LyXAction.h: ditto
17833         * LaTeX.h: ditto
17834
17835 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17836
17837         * Merging changes from BRANCH_MVC back into HEAD.
17838
17839         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17840
17841 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17842
17843         * BufferView_pimpl.C: change from intl.C
17844
17845         * combox.h:
17846         * combox.C:
17847         * Makefile.am: move combox.*
17848
17849         * form1.h:
17850         * form1.C:
17851         * lyx_gui.C:
17852         * intl.h:
17853         * intl.C: remove dialog (covered by prefs)
17854
17855 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17856
17857         * lyxfunc.C (Dispatch): removed redundant break statement.
17858
17859 2001-03-14  Juergen Vigna  <jug@sad.it>
17860
17861         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17862
17863 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17864
17865         * buffer.C: add hack to fix compability reading of minipages.
17866
17867 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17868
17869         * buffer.C (getLists): Cleanup.
17870
17871 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17872
17873         * lyxfont.C (update): don't honor toggleall on font size.
17874
17875 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17876
17877         * bmtable.c:
17878         * bmtable.h:
17879         * Makefile.am: moved to frontends/xforms/
17880
17881         * lyx_gui_misc.C:
17882         * lyxfunc.C:
17883         * BufferView_pimpl.C: changes for moved mathpanel
17884
17885 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17886
17887         * gettext.h: fix gettext_init() in --disable-nls
17888
17889 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17890
17891         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17892
17893 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17894
17895         * lyx.C:
17896         * lyx.h: strip external form
17897
17898 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17899
17900         * BufferView_pimpl.C: add comment, destroySplash()
17901
17902 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17903
17904         * BufferView_pimpl.C:
17905         * LyXAction.C:
17906         * buffer.C:
17907         * commandtags.h:
17908         * lyxfunc.C: use re-worked insetinclude
17909
17910 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17911
17912         * buffer.C: add using std::stringstream.
17913
17914         * lyx_cb.C: readd using std::ios.
17915
17916         * buffer.C: add using std::map.
17917
17918         * BufferView_pimpl.C: add using std::vector.
17919
17920         * ShareContainer.h: add std:: to swap.
17921
17922         * buffer.h: add some typedefs
17923         * buffer.C (getLists): use them
17924         (getLists): renamed from getTocList.
17925         add a counter for the different float types and use it in the
17926         generated string.
17927         (getLists): use the same counter for the NEW_INSETS and the "non"
17928         NEW_INSETS
17929
17930         * lyx_cb.h: remove unused items, includes, using etc.
17931
17932         * ShareContainer.h: remove some commented code, add more comments
17933         and "documentation".
17934
17935 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17936
17937         * buffer.C (getTocList): make the list also when NEW_INSETS is
17938         defined.
17939
17940         * buffer.h: remove TocType
17941
17942         * buffer.C (getTocList): change to return a map<string,
17943         vector<TocItem> >, implement for dynamic number of list.
17944
17945         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17946         * text2.C (PasteSelection): adjust
17947         * CutAndPaste.C (pasteSelection): adjust
17948
17949         * FloatList.C (FloatList): update from the new_insets branch.
17950         * Floating.[Ch]: ditto
17951         * LaTeXFeatures.C: ditto
17952         * buffer.C: ditto
17953         * lyxlex_pimpl.C: ditto
17954
17955         * paragraph.C (Last): remove when NEW_INSETS is defined.
17956
17957         * other file: changes because of the above.
17958
17959 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17960
17961         * lyxparagraph.h: rename next to next_, previous to previous_,
17962         make them private for NEW_INSETS. Rename Next() to next(),
17963         Previous() to previous().
17964
17965         * other files: changes because of the above.
17966
17967 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17968
17969         * BufferView.h:
17970         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17971         problem.
17972
17973 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17974
17975         * main.C (main): pass lyx_localedir to gettext_init().
17976
17977         * gettext.h: remove locale_init and gettext_init macros
17978
17979         * gettext.C (locale_init): new function
17980         (gettext_init): new function
17981
17982         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17983         setlocale().
17984
17985 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17986
17987         * Moved credits to frontends:
17988         * credits.[Ch]: removed
17989         * credits_form.[Ch]: removed
17990         * lyx_gui_misc.C: remove credits stuff
17991         * Makefile.am:
17992
17993 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17994
17995         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17996
17997         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17998         unneeded destructor.
17999
18000         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18001         a standalone pointer again.
18002
18003         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18004
18005 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18006
18007         * Makefile.am:
18008         * filedlg.h:
18009         * filedlg.C:
18010         * LyXAction.C:
18011         * ToolbarDefaults.C:
18012         * bufferlist.C:
18013         * commandtags.h:
18014         * form1.C:
18015         * form1.h:
18016         * lyx_cb.C:
18017         * lyx_cb.h:
18018         * lyxfunc.h:
18019         * lyxfunc.C:
18020         * BufferView_pimpl.C: use new file dialog in GUII
18021
18022         * lyx_cb.h:
18023         * lyx_cb.C: remove LayoutsCB to Toolbar
18024
18025 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18026
18027         * ShareContainer.h (get): add std:: qualifier
18028
18029 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18030
18031         * ShareContainer.h: define a proper ShareContainer::value_type
18032         type (and use typename to please compaq cxx)
18033
18034 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18035
18036         * lyxparagraph.h: move serveral local vars to
18037         ParameterStruct/ParagraphParameters., use ShareContainer in
18038         FontTable., make vars in FontTable private and add getter and
18039         setter.
18040
18041         * paragraph.C: changes because of the above.
18042
18043         * lyxfont.h: remove copy constructor and copy assignment. (the
18044         default ones is ok), move number inside FontBits. move inlines to
18045         lyxfont.C
18046
18047         * lyxfont.C: add number to initializaton of statics, move several
18048         inlines here. constify several local vars. some whitespace
18049         cleanup. Dont hide outerscope variables.
18050
18051         * Spacing.h: add two new constructors to match the set methods.
18052
18053         * ShareContainer.h: new file, will perhaps be moved to support
18054
18055         * ParameterStruct.h: new file
18056
18057         * ParagraphParameters.h: new file
18058
18059         * ParagraphParameters.C: new file
18060
18061         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18062         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18063
18064         * BufferView_pimpl.C: ParagraphParameter changes.
18065         * buffer.C: Likewise.
18066         * bufferview_funcs.C: Likewise.
18067         * text.C: Likewise.
18068         * text2.C: Likewise.
18069
18070 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18071
18072         * lyxfind.C (LyXReplace): do not redefine default argument in
18073         implementation.
18074         (IsStringInText): ditto
18075         (SearchForward): ditto
18076         (SearchBackward): ditto
18077
18078 2001-03-06  Juergen Vigna  <jug@sad.it>
18079
18080         * lyxfind.C (IsStringInText): put parentes around expressions.
18081
18082 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18083
18084         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18085
18086 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18087
18088         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18089
18090         * stl_string_fwd.h: add comment
18091
18092         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18093
18094         * tabular.h:
18095         * tabular.C: remove unused DocBook methods
18096
18097         * intl.C:
18098         * language.C:
18099         * paragraph.C:
18100         * buffer.C:
18101         killed DO_USE_DEFAULT_LANGUAGE
18102
18103 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18104
18105         * lyx_gui.C: do not include language.h.
18106
18107         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18108         arguments in function implementation.
18109
18110 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18111
18112         * BufferView_pimpl.C: add <ctime>
18113
18114 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18115
18116         * BufferView_pimpl.C: add using std::find_if
18117
18118 2001-02-27  José Matos  <jamatos@fep.up.pt>
18119
18120         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18121         by OnlyPath.
18122
18123 2001-02-11  José Matos  <jamatos@fep.up.pt>
18124
18125         * buffer.C (makeDocBookFile): command styles now have a parameter as
18126         "title" by default.
18127
18128 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18129
18130         * layout_forms.[Ch]: removed
18131         * lyx_cb.[Ch]: out character
18132         * lyx_gui.C: out character
18133         * lyx_gui_misc.C: out character
18134         * bufferview_funcs.C: : out character,
18135         added toggleall as parameter in ToggleAndShow
18136
18137 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18138
18139         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18140
18141         * text2.C (SetCurrentFont): Disable number property at boundary.
18142
18143 2001-02-26  Juergen Vigna  <jug@sad.it>
18144
18145         * lyxfunc.C (getStatus): added a string argument override function so
18146         that this is correctly called from LyXFunc::Dispatch if it contains a
18147         do_not_use_argument which is used!
18148         (Dispatch): added check for "custom" export and call appropriate func.
18149
18150 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18151
18152         * lyxrc.C: Add language_command_local, language_use_babel and
18153         language_global_options.
18154
18155         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18156
18157         * buffer.C (makeLaTeXFile): Use language_use_babel and
18158         language_global_options.
18159
18160 2001-02-23  Juergen Vigna  <jug@sad.it>
18161
18162         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18163         which works with LyXText and putted it inside BufferView. Here now we
18164         only call for that part the BufferView::Dispatch() function.
18165
18166         * BufferView.C (Dispatch): added.
18167
18168         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18169         functions which needs to use a LyXText over from LyXFunc.
18170         (MenuInsertLyXFile): added
18171         (getInsetByCode): added
18172         (moveCursorUpdate): added
18173         (static TEXT): added
18174
18175 2001-02-22  Juergen Vigna  <jug@sad.it>
18176
18177         * BufferView_pimpl.C (update): call a status update to see if LyXText
18178         needs it.
18179
18180 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18181
18182         * vc-backend.C (revert): implement for CVS
18183         (getLog): implement for CVS
18184
18185 2001-02-20  Juergen Vigna  <jug@sad.it>
18186
18187         * text2.C (ClearSelection): added BufferView param for inset_owner call
18188
18189         * lyxfunc.C (TEXT): added this function and use it instead of
18190         directly owner->view()-text of getLyXText().
18191
18192 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18193
18194         * src/layout_forms.C: out preamble
18195         * src/layout_forms.h: out preamble
18196         * src/lyx_cb.C: out preamble
18197         * src/lyx_cb.h: out preamble
18198         * src/lyx_gui.C: out preamble
18199         * src/lyx_gui_misc.C: out preamble
18200         * src/lyxfunc.C: connect with guii preamble
18201
18202 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18203
18204         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18205
18206 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18207
18208         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18209         whether to run bibtex.
18210
18211 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18212
18213         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18214
18215 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18216
18217         * Makefile.am (lyx_SOURCES): removed bibforms.h
18218
18219         * vspace.h: doxygen
18220
18221         * text.C (GetVisibleRow): make several local vars const
18222
18223         * tabular.C: small cleanup.
18224
18225         * lyxserver.C (callback): use compare instead of strncmp
18226
18227         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18228         inlines to after class or to paragraph.C
18229
18230         * lyxfont.h: remove friend operator!=
18231
18232         * converter.h: move friend bool operator< to non friend and after
18233         class def.
18234
18235         * combox.h: small cleanup
18236
18237         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18238         to inlines after class def.
18239
18240         * buffer.C (pop_tag): use string operations instead of strcmp
18241
18242         * bmtable.c: doxygen, small cleanup
18243
18244         * LaTeX.h: remove friend operator==
18245
18246 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18247
18248         * screen.C:
18249         * lyxrc.[Ch]:
18250         * lyxfunc.C:
18251         * lyxfont.[Ch]:
18252         * lyx_cb.C:
18253         * intl.[Ch]:
18254         * commandtags.h:
18255         * buffer.C:
18256         * WorkArea.[Ch]:
18257         * LyXAction.C:
18258         * BufferView_pimpl.C:
18259         * BufferView.[Ch]: remove cruft
18260
18261 2001-02-14  Juergen Vigna  <jug@sad.it>
18262
18263         * lyxfunc.C: removed #if 0 unused code
18264
18265         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18266
18267         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18268
18269         * text2.C (SetSelection): added a BufferView * parameter
18270
18271 2001-02-13  Juergen Vigna  <jug@sad.it>
18272
18273         * lyxfunc.C (Dispatch): fixed protected blank problem.
18274         * BufferView2.C (protectedBlank): added LyxText * parameter.
18275
18276         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18277         (AppendColumn): same as above for column_info.
18278
18279         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18280         (moveCursorUpdate): use a LyXText param for support of InsetText.
18281
18282         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18283         (tripleClick): ditto
18284
18285         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18286
18287         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18288
18289         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18290
18291         * text2.C (SetSelection): set correct update status if inset_owner
18292         (ToggleFree): ditto
18293
18294 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18295
18296         * tabular.C: remove some commented code.
18297
18298 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18299
18300         * BufferView_pimpl.C: call hideSplash()
18301
18302         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18303
18304         * include_form.h:
18305         * bibforms.h: remove
18306
18307         * lyxfunc.C:
18308         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18309           add LFUN_CHILD_CREATE
18310
18311         * counters.h: fix tiny typo
18312
18313         * lyx_cb.C:
18314         * lyx.h:
18315         * lyx_gui.C:
18316         * lyx.C: move splash to frontends/xforms/
18317
18318         * lyx_gui_misc.C: move Include and Bibform to frontends
18319
18320         * lyxvc.h: clarify comment
18321
18322         * vspace.C: tiny housekeeping
18323
18324 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18325
18326         * text.C (PrepareToPrint): RTL Fix.
18327
18328         * paragraph.C (GetUChar): New method.
18329         (String):  Use GetUChar.
18330
18331         * buffer.C (asciiParagraph): Use GetUChar.
18332
18333 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18334
18335         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18336
18337 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18338
18339         * buffer.h:
18340         * buffer.C: rename to getLogName(), handle
18341           build log / latex log nicely
18342
18343 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18344
18345         * MenuBackend.C:
18346         * MenuBackend.h: remove support for reference menuitem type.
18347
18348 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18349
18350         * BufferView_pimpl.C: housekeeping
18351         * BufferView_pimpl.h:
18352         * LyXView.h:
18353         * Makefile.am:
18354         * Timeout.C:
18355         * Timeout.h:
18356         * minibuffer.h: move Timeout GUI-I
18357
18358 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18359
18360         * lyxrc.C (read): Update converters data-structures.
18361
18362 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18363
18364         * LaTeX.h (operator!=): add operator != for Aux_Info
18365
18366 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18367
18368         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18369
18370         * LaTeXLog.C: deleted, useful code moved to Buffer
18371
18372         * buffer.h:
18373         * buffer.C: new function getLatexLogName()
18374
18375         * lyx_gui_misc.C:
18376         * lyx_gui.C:
18377         * lyxvc.C:
18378         * lyxvc.h:
18379         * lyxfunc.C: use frontends for LaTeX and VC logs
18380
18381 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18382
18383         * LaTeX.h: yet another std:: that Allan forgot.
18384
18385         * Variables.C (set): renamed from isset(), because this clashes
18386         with some HP-UX macros (grr).
18387
18388 2001-02-06  Allan Rae  <rae@lyx.org>
18389
18390         * LaTeX.h: Another bug fix.  Missing std:: this time.
18391
18392 2001-02-04  Allan Rae  <rae@lyx.org>
18393
18394         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18395         floats problem. I've left it commented out because it's not quite
18396         correct.  It should also test that the current object is a table or
18397         figure inset.  But I haven't gotten around to figuring out how to do
18398         that.  I *think* it'll be something like: "table" == inset.type()
18399
18400         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18401         bool.
18402
18403 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18404
18405         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18406         all the citation/databases/styles in the auxilary file.
18407         (run): Rerun latex if there was a babel language error.
18408
18409 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18410
18411         * text.C (Backspace): Preserve the font when changing newline char
18412         with a space.
18413         (BreakParagraph): If the cursor is before a space, delete the space.
18414
18415         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18416
18417 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18418
18419         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18420         new argument (code).
18421         (ChangeCitationsIfUnique): New method.
18422
18423         * paragraph.C (GetPositionOfInset): Handle bibkey.
18424
18425 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18426
18427         * BufferView_pimpl.h: change type of Position::par_pos to
18428         LyXParagraph::size_type.
18429
18430 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18431
18432         * BufferView_pimpl.C (savePosition, restorePosition): Write
18433         messages to minibuffer.
18434
18435 2001-01-28  José Matos  <jamatos@fep.up.pt>
18436
18437         * buffer.C (makeDocBookFile): adds support for document language.
18438         A silly restriction on the name of LatexCommand types where removed.
18439         Added support for CDATA sections, allows to chars unescaped, used
18440         among others in code, to avoid escape < and >.
18441
18442 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18443
18444         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18445         saved positions instrad of a stack. Furthermore, a position is
18446         stored using paragraph id/paragraph position.
18447
18448         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18449         Remove LFUN_REF_BACK.
18450
18451 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18452
18453         * converter.C (dvipdfm_options): New method.
18454
18455 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18456
18457         * vspace.C (isValidLength): Fix for empty input string.
18458
18459 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18460
18461         * LyXAction.C (init): change description of LFUN_FIGURE to
18462         "Insert Graphics"
18463
18464 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18465
18466         * LaTeX.C: add using directive
18467
18468 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18469
18470         * MenuBackend.C (expand): Fix the sorting of the formats.
18471
18472 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18473
18474         * lyx_main.C: tiny error message fix
18475
18476 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18477
18478         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18479         calling fl_initialize(). This fixes the problem with ',' as
18480         decimal separator in text files.
18481
18482 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18483
18484         * trans.C (process): Fix the keymap bug.
18485
18486 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18487
18488         * LaTeX.C (scanAuxFiles): New method. Provides support for
18489         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18490         (scanLogFile) Scan for "run BibTeX" messages.
18491
18492         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18493         OT1 font encoding. Also, load the aecompl package if the ae
18494         package is loaded.
18495
18496         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18497
18498 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18499
18500         * texrow.C (increasePos): turn two error messages into debug
18501         messages.
18502
18503 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18504
18505         * LaTeX.C (scanAux): Handle the \@input macro.
18506         (runBibTeX): Use scanAux().
18507
18508         * language.C (latex_options_): New field.
18509
18510         * LaTeXFeatures.C (getMacros): Add language macros.
18511
18512         * buffer.C (makeLaTeXFile): Small fix.
18513
18514 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18515
18516         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18517
18518         * text2.C: add a using directive.
18519
18520 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18521
18522         * BufferView2.C:
18523         * lyx_gui_misc.h:
18524         * lyxfr1.C:
18525         * lyxfunc.C: kill LyXBell.
18526
18527 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18528
18529         * text.C (IsBoundary): Remove the error message
18530
18531         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18532
18533         * lyxrc.C (setDefaults): Correct initialization value for
18534         font_norm_type.
18535
18536 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18537
18538         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18539         gotoError().
18540
18541         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18542         and GotoNextNote().
18543
18544         * src/LyXAction.C: Added reference-next.
18545
18546         * text.C (InsertChar): Use contains instead of strchr.
18547
18548         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18549
18550 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18551
18552         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18553         alignment commands (when needed).
18554
18555         * text.C (InsertChar): Add ':' to number separator chars.