]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
86df83ffa4f90e87c66e9c44939f85bcf0019c26
[lyx.git] / src / ChangeLog
1 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * BufferView.C (mouseSetCursor): new method. Calls
4         deleteEmptyParagraphMechanism if necessary.
5
6         * lyxtext.h: make deleteEmptyParagraphMechanism public.
7
8         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
9         BufferView::mouseSetCursor (bug 2109).
10         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
11
12 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
13
14         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
15         do not remove it (this inset behaves differently from the others).
16
17 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         Fix bug 2096.
20         
21         * BufferView_pimpl.C (getStatus): it is only possible to insert a
22         file in a text inset.
23
24         * buffer.C (readDocument): remove pit argument and code releated
25         to it; set the inset owner correctly (unrelated, but useful).
26         (readFile): get rid of pit argument.
27
28         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
29         textclass instead of a selection index.
30         (pasteParagraphList): new function.
31         (pasteSelection): make it a wrapper around pasteParagraphList.
32
33         * BufferView_pimpl.C (MenuInsertLyXFile): use
34         cap::pasteParagraphList to insert a file.
35
36 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
37
38         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
39
40 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
41
42         * exporter.C: fix typo in text message
43
44 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
45
46         * text2.C (setLayout): move recUndo call to other setLayout method
47         * tabular.C (toggleFixedWidth): new, handle cell width changes
48         * tabular.C (setColumnPWidth): move some code from insettabular.C here
49         and use toggleFixedWidth
50         * tabular.C (setMColumnPWidth): ditto
51
52 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
53
54         * paragraph.C (asString): use new inset->textString method (fix
55         bug 2089) 
56
57 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * CutAndPaste.C (numberOfSelections): new helper function.
60
61         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
62
63         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
64         LyXFunc::getStatus; implement LFUN_PASTE.
65
66 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
67
68         * dociterator.[Ch]: new member realInset() that returns the cell
69         for tabulars and the inset for the rest (bug 1952).
70         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
71         (bug 1952).
72
73 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
76
77 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
78
79         * lyxfunc.C:
80         * paragraph.C:
81         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
82         argument.
83
84 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
85
86         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
87         line after typing ctrl-enter
88
89 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
90
91         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
92         math insets do not return a proper editable() state yet (bug 2124).
93
94 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
95
96         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
97         docs containing very large paragraphs.
98
99 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * cursor.C (selectionBegin, selectionEnd):
102         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
103         cursor at different depths.
104
105 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
106
107         * bufferview_funcs.C (coordOffset): do not call cursorPos
108         for collapsed collapsables (fix bug 2094).
109
110 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * paragraph.C (fontSpan): make sure that the FontSpan does not
113         span across beginOfBody (bug 1947).
114
115 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
118
119 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
120
121         * messages.C: fix crash and localization on MinGW/Windows platform
122
123 2005-11-02  Angus Leeming  <leeming@lyx.org>
124
125         * Bidi.C:
126         * lyxtextclass.C: trivial fixes to some MSVS warnings.
127
128 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
129
130         * text3.C (getStatus): re-enable disabled code. (bug 2081)
131
132         * BranchList.h (empty): constify.
133
134 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         * text3.C (getStatus): 
137         * MenuBackend.C (expandBranches): take the branch list from the
138         master document (bug 2092).
139         
140         * MenuBackend.C (expandBranches): 
141         * bufferparams.C (writeFile): use BranchList type.
142
143 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * text3.C (dispatch, getStatus): 
146         * LyXAction.C (init): 
147         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
148
149 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
150
151         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
152
153 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * text.C (insertChar): do not reset boundary (bug 2061)
156
157 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * dociterator.C (updateInsets): new method. Updates the inset_
160         cache of all the slices of the iterator.
161
162         * text2.C (deleteEmptyParagraphMechanism): compare also containing
163         insets when comparing pit/pos; pass the right cursor to
164         recordUndo; when a paragraph has been deleted, compare `old.top()' to
165         the right cursor slice of `cur'; use updateInsets on cur to make
166         sure that the inset caches are correct; general cleanup.
167
168 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
171         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
172         containg inset. If this does not work, the same command will be
173         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
174
175         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
176         a dispatch.
177
178 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
179
180         * lyxtextclass.C (Read): convert layout file if the format is wrong
181         * lyxtextclass.C (layout2layout): new, needed for the above
182
183 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * messages.C: do not forget to include <cerrno>.
186
187 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
188
189         * dociterator.h (StableDocIterator): add access to pos().
190         * undo.C (samePar): new method to check if two
191         iterators are in the same paragraph
192         * undo.C (recordUndo): check for samePar instead of cell identity
193         (which includes pos() and is too strict) (fixes bug 2097)
194
195 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * text.C (setCursorFromCoordinates): return a bool telling whether
198         dEPM triggered.
199
200         * text3.C (cursorPrevious): update if needed after
201         setCursorFromCoordinates (when dEPM triggered).
202
203         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
204         (otherwise the anchor may be completely wrong and make dEPM assert).
205
206 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
207
208         * buffer.C: version upgrade to 245.
209         * bufferparams.C: remove \quotes_times (bug 2090).
210         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
211         quotation marks as default.
212
213 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
214
215         * CutAndPaste.C (nrOfParagraphs): remove (unused)
216         * CutAndPaste.C (cutSelection): Remove debug message
217         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
218         undo information and only copy if this is a real cut
219         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
220         call
221         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
222         (bug 2059)
223         * CutAndPaste.C (eraseSelection): prevent cursor corruption
224         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
225         superflous cur.selection() setting
226         * CutAndPaste.[Ch] (grabSelection): take a const cursor
227         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
228
229 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
230
231         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
232         change anything.
233
234 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
235
236         * BufferView_pimpl.C: comment layout change
237
238 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
239
240         * LyXAction.C:
241         * lfuns.h:
242         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
243         by bibliography managers (bug 2071).
244
245 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
246
247         * BufferView_pimpl.C (update): choose arguments to update call so
248         that single-par update works most times
249         * text3.C (dispatch): carefully tune updating separately for
250         whole-screen and current-paragraph
251         * rowpainter.C (paintText): 1) replace painting by caching for
252         the two extra paragraphs, because we can;
253         2) suppress greying out of areas below/above drawn area in case of
254         single-par refresh
255         * lyxfunc.C (dispatch): remove superfluous update
256         * LyXAction.[Ch]: introduce SingleParUpdate
257
258 2005-10-05  Angus Leeming  <leeming@lyx.org>
259
260         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
261         always initialised before use.
262
263         * text.C (setHeightOfRow): squash warning about comparison
264         of signed and unsigned types.
265
266 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * text.C (cursorX): two fixes involving RtL text drawing
269
270 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
271
272         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
273         items, not only large ones (part of bug 2057)
274
275 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
276
277         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
278         argument, use "newcommand".
279
280 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
281
282         * cursor.C (setSelection): do not open collapsable insets;
283         the insets do by themselves now (autoopen).
284
285 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
286
287         * buffer.C: format is up to 244.
288
289 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
290
291         * text.C (redoParagraph): fix calcultation of inset width wrt 
292         leftMargin (bug 1957).
293
294         * text3.C (dispatch): leave inset to the right when hitting ESC 
295         (bug 2034).
296
297 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * text2.C: 
300         * text.C: 
301         * factory.C:
302         * messages.C: include <boost/current_function.hpp> 
303
304 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
307         when command is internal. (bug 1941)
308
309 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * text2.C (cursorRight): do not honor boundary when at the end of
312         a paragraph. (bug 2010 again)
313
314 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
315
316         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
317
318 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
319
320         * rowpainter.C (paintText): fix RtL space width display bug (2029)
321
322 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         * text2.C (setCursor): remove the unused 'boundary' parameter for
325         the CursorSlice version; adapt the LCursor version.
326
327         * lyxrc.C (write): 
328         * paragraph_pimpl.C (markErased): 
329         * cursor.C (bruteFind2, bruteFond3): fix warnings.
330
331 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
334         as is already done for "chapter".
335
336 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
339         textclass; do not record undo if nothing is changed.
340
341 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
342
343         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
344
345 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
346
347         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
348
349 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
350
351         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
352         combox, it is necessary to search for the topmost paragraph in the
353         cursor stack (bug 1926)
354
355 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
358         end of paragraph. (bug 2010)
359
360 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
361
362         * text.C (leftMargin): check for inInset == 0
363
364 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
365
366         * text.C (leftMargin): test for insetbase's new neverIndent()
367         bool instead of listing each and every inset that does not
368         wish par indendation.
369
370 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
371
372         * buffer_funcs.C (setCounter): put the code to compute enum label
373         here (where it belongs).
374
375         * counters.C (enumLabel): move code to buffer_funcs.C.
376
377 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
378
379         * outputparams.[Ch]: store local_font instead of local_language
380         * paragraph.C (simpleTeXOnePar): adapt to the change above
381
382 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
383
384         * buffer_funcs.C:
385         * counters.[Ch]: clean up special code for Hebrew.
386
387 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
390         than 2.
391
392 2005-09-08  Angus Leeming  <leeming@lyx.org>
393
394         * ispell.C:
395         * lyxrc.C: correct grammar describing invocation of the
396         spellchecker.
397
398 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
399
400         * text.C (read): remove unused variable.
401         (readParToken): remove static Change variable (never good in
402         recursive settings...); add it as a parameter instead.
403
404         * paragraph_pimpl.C (acceptChange): make debug info conditional.
405
406         * metricsinfo.C (PainterInfo): add new member erased_.
407
408         * rowpainter.C (RowPainter): add erased_ member, initialized from
409         PainterInfo. 
410         (paintInset): pass erased_ to Inset::draw.
411
412         * lyxfunc.C (lookupChange): new function. Tells whether change 
413         tracking is disabled at a given postion.
414         (getStatus): disable some actions when in deleted text with change
415         tracking. 
416
417 2005-08-03  John Levon  <levon@movementarian.org>
418         
419         * tabular.C (appendColumn, setMultiColumn): adapt to change to
420         InsetText::clear().
421
422         * paragraph_pimpl.C (markErased): add bool argument and handle it.
423         Also make sure to mark insets recursively.
424         (rejectChange, erase): be recursive
425
426         * paragraph.C (markErased): add bool argument.
427 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         * lyxfind.C (findNextChange): tiny cleanup.
430
431         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
432         change tracking with the cursor in an inset; make sure the first
433         change is not skipped.
434
435 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
436
437         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
438         tabularStackDirty to work around bug 1919 (tabular needs
439         to know whether its own cell paste buffer or the one of 
440         texted is newer.
441         * CutAndPaste.C: mark tabular_stack_ clean after copy.
442
443 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
444
445         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
446
447 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
448
449         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
450         use old deleteion algorithm when changetracking is on.
451
452 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * messages.C (get): add debug output.
455
456 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
457
458         * text.C (cursorX): fix bug 1965: cursor movement at
459         line end broken in RtL.
460         (drawSelection): fix bug 1970: drawing of single-line 
461         selection broken for RtL.
462
463 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         bug 465.
466
467         * dociterator.h (clear, push_back, pop_back): change from
468         protected to public.
469
470         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
471         and changed to just return the value of the item depth; take a
472         ParIterator as argument; take the itemdepth at outer nesting level
473         in account if necessary; cleanup and comment the code.
474         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
475         and changed to just return true if reset is needed; take a
476         ParIterator as argument; cleanup and comment the code.
477         (setCounter): adapt to above changes.
478
479 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
480
481         * text3.C (dispatch): make debug message optional
482
483 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
486         inset. (bug 1963)
487
488 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
489
490         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
491
492 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
493
494         * text.C (insertChar):
495         * text2.C (deleteEmptyParagraphMechanism): take care whether 
496         a blank has been deleted (in change tracking mode) (bug 1254).
497
498 2005-07-20  John Levon  <levon@movementarian.org>
499
500         * text2.C (insertStringAsLines): remove old dubious code,
501         fixing bug 1939.
502
503 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
504
505         * MenuBackend.C (expandToc): use Floating::listName() as title of
506         the floats submenus.
507
508 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
509
510         * toc.[Ch]: Do not use translatable strings (bug 1870).
511
512 2005-07-20  John Levon  <levon@movementarian.org>
513
514         * tabular.C: fix 1748 - setting multicolumn adds
515           left line to the first cell
516
517 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
518
519         bug 1920
520         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
521         pars in one go.
522
523 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
524
525         * messages.C: supress some lyxerr messages
526
527 2005-07-18  Juergen Vigna  <jug@lyx.org>
528
529         * text.C (drawSelection): honor boundary when asking for cursorX.
530
531 2005-07-17  José Matos  <jamatos@fc.up.pt>
532
533         * tabular.C (recalculateMulticolumns): fix handling of one column
534         tables.
535
536 2005-07-17  Juergen Vigna  <jug@lyx.org>
537
538         * text.C (Delete, backspace): fixed so that paragraph with the
539         same layout can be merged by Delete/Backspace.
540
541 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
542
543         * text.C (readParToken): fix spelling.
544
545 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
546
547         * text2.C: fix counter update for DEPM problem reported by
548         Georg Baum
549
550 2005-07-17  Juergen Vigna  <jug@lyx.org>
551
552         * BufferView_pimpl.C (setBuffer): save/restore the
553         cursor/selection when switching buffers
554
555         * buffer.h: 
556         * buffer.C (saveCursor): add saveDocumentIterators to save the
557         cursor when switching buffer.
558
559 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
560
561         * debug.C: fix typo
562         * buffer.C: clarify message
563         
564 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
565
566         * dociterator.C (DocIterator): fix initialization order
567
568 2005-07-17  Juergen Vigna  <jug@lyx.org>
569
570         * text2.C (cursorHome): 
571         * text.C (drawSelection, cursorX): 
572         * dociterator.C (textRow): add boundary to getRow() call
573
574         * paragraph.C (getRow): implementation of below
575
576         * paragraph.h: add parameter boundary for getRow() function
577
578 2005-07-17  José Matos  <jamatos@fc.up.pt>
579
580         * buffer.C:
581         * bufferparams.[Ch]:
582         * tex-strings.[Ch]: new file format, remove support for a4.sty,
583         a4wide.sty and a4widemargins.
584
585 2005-07-17  Juergen Vigna  <jug@lyx.org>
586
587         * text2.C (cursorLeft): fix one of error
588
589 2005-07-17  Juergen Vigna  <jug@lyx.org>
590
591         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
592                    cursorEnd):
593         more fixes for boundary handling
594
595         * text3.C (dispatch): don't reset cursor if boundary has changed
596         on cursor movement.
597
598 2005-07-16  Juergen Vigna  <jug@lyx.org>
599
600         * text2.C (getColumnNearX): hopefully got it right now,
601         check if we are on column 0 for special case.
602
603 2005-07-16  Juergen Vigna  <jug@lyx.org>
604
605         * text2.C (getColumnNearX): handle special case Newline Inset
606
607         * text.C (singleWidth): Just remove bogus check
608
609 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
610
611         * funcrequest.C (split): avoid reading uninitialized char c
612
613 2005-07-16  José Matos  <jamatos@fc.up.pt>
614
615         * buffer.C:
616         * converter.C:
617         * lyxrc.C:
618         * paper.h:
619         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
620         single papersize variable.
621
622 2005-07-16  Juergen Vigna  <jug@lyx.org>
623
624         * text3.C (dispatch): honor boundary when checking if a cursor
625         movement has been done
626
627         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
628         (setCursor, setCursorIntern): fix cursor movement with boundary
629
630 2005-07-16  Juergen Vigna  <jug@lyx.org>
631
632         * text.C (currentState): output the actual Boundary
633
634 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * factory.C (createInset): fix bad logic for tabular creation
637
638 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
639
640         * lyx_main.C (init): change some reLyX reference to tex2lyx
641
642 2005-07-16  Juergen Vigna  <jug@lyx.org>
643
644         * dociterator.C (DocIterator): initialize boundary
645
646 2005-07-16  Juergen Vigna  <jug@lyx.org>
647
648         * text2.C (getColumnNearX): Consider rows without trailing blank.  
649
650 2005-07-16  André Pönitz  <poenitz@gmx.net>
651
652         * lyxfont.h: Change order of declarations to give the compiler
653         a better chance to inline things
654
655         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
656         questions on unsaved docs for better scritability
657
658 2005-07-16  André Pönitz  <poenitz@gmx.net>
659
660         * paragraph.h (getChar): remove asserts as the same kind of security
661         can be achieved by using a suitable standard library implementation
662         and the function was in the critical path (25.9% in profiler)
663
664 2005-07-16  Juergen Vigna  <jug@lyx.org>
665
666         * cursor.C (bruteFind2):
667         * bufferview_funcs.C (coordOffset): 
668         * text.C (cursorX,cursorY): Handle cursor position after last char
669         in row before a inset which uses a whole row.
670
671 2005-07-15  José Matos <jamatos@lyx.org>
672
673         * output_plaintext.[Ch] (writeFileAscii): control reference title
674         printing.
675         (asciiParagraph): noparbreak was already deal and was incorrectly
676         used.
677
678 2005-07-15  Juergen Vigna <jug@lyx.org>
679
680         * lyxfunc.C (dispatch): save and restore the cursor after a
681         textclass switch.
682
683 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
684
685         * text.C (backspace): bug 806 for empty keepempty paragraphs we
686         change the layout to default before letting DEPM do its thing.
687
688         * paragraph_funcs.C (breakParagraph): dont reset the layout on
689         keepEmpty paragraphs
690
691         * text.C (setCursorFromCoordinates): add a debug statement
692
693         * text2.C (getColumnNearX): bug 1825 make sure that we don't
694         return a pos that is not on the row
695
696         * output_latex.C (TeXDeeper): get rid of potential dereferencing
697         of past the end iterator
698
699 2005-07-14  André Pönitz  <poenitz@gmx.net>
700
701         * undo.C (recordUndoFullBuffer): implement undo for
702         textclass switches
703
704 2005-07-14  André Pönitz  <poenitz@gmx.net>
705
706         * cursor.C (setSelection): open insets when selection is set there
707         to avoid crashs with cold coord cache
708
709 2005-07-14  André Pönitz  <poenitz@gmx.net>
710
711         * trans_mgr.C (insert): move cursor to the right after inserting
712         a char.
713
714 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
715
716         * BufferView_pimpl.C (update): dampen some of the debug blabbering
717         * factory.C (readInset): ditto
718         * text.C, text2.C: ditto
719
720 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
721
722         * buffer.C: format incremented to 242. There is no file format per
723         se, but the "frenchb" language has been removed from lib/language
724         and has to be translated to "french" by lyx2lyx.
725
726 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
727
728         * cursor_slice.h, dociterator.h: add some documentation
729         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
730
731 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
732
733         * text.C (leftMargin): do not add identation to display() style
734         insets, because they are always centered (bug 1293).
735
736 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
737
738         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
739         formatted_time methods in support/lyxtime.
740
741 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
742
743         * toc.[Ch]: new method getGuiName, which is used by the frontends 
744         to set the toc combo (fixes bug 1870). Make TOC string translatable.
745
746 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
747
748         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
749         StableDocIterator const &)
750         * undo.C (recordUndo): use the above instead of cell.size() comparison
751         (fixes bug 1808; instructed by Andr�.
752
753 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
754
755         * cursor_slice.h: 
756         * dociterator.h: Fix the assert when copying rows/cols in math
757
758 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
759
760         * BufferView_pimpl.C:
761         * LyXAction.C:
762         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
763
764         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
765         (findInset): new functions, refactored from goto Inset that return 
766         the position of a certain inset without setting the buffer's cursor
767         (by Jean-Marc); 
768         (gotoInset): rewrite to call findInset and then set the cursor
769         (by Jean-Marc).
770
771 2005-06-16  Angus Leeming  <leeming@lyx.org>
772
773         * lyxrc.C (output, read): wrap all input and output of paths with
774         calls to os::internal_path and os::external_path, respectively.
775         (output): wrap bind_file inside quotes.
776
777         * format.C (view): enable the viewer to use the '$$s' placeholder.
778
779 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
780
781         * LColor.[Ch] (getFromLaTeXName): new
782
783 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
784
785         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
786
787 2005-06-14  Angus Leeming  <leeming@lyx.org>
788
789         * lyx_main.C (init): ensure that the LyX binary dir is the first
790         element in the PATH on non-POSIX builds.
791
792 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
793
794         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
795
796 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
797
798         * rowpainter.C (paintInset, paintHebrewComposeChar)
799         (paintArabicComposeChar, paintChars): add a LyXFont argument.
800         (paintChars): use getFontSpan to reduce calls to getFont to a
801         minimum; use Paragraph::lookupChange instead of isXXXText.
802         (paintForeignMark): rename LyXFont argument.
803         (paintFromPos): pass a LyXFont object to the various paintXXX
804         methods.
805
806         * FontIterator.C (FontIterator, operator++): use
807         Paragraph::getFontSpan
808
809         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
810         version that returns the font span as a pair.
811
812 2005-06-09  Angus Leeming  <leeming@lyx.org>
813
814         * converter.C (convert): Don't forget "outfile = real_outfile" as
815         the final step in a conversion where the input and output file names
816         are the same. Otherwise, future conversion steps won't work...
817
818 2005-06-09  Angus Leeming  <leeming@lyx.org>
819
820         * lyxsocket.C: remove stub code as it isn't needed by
821         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
822
823 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
824
825         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
826         effectively disabled -x
827
828 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
829
830         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
831         when it actually makes sense.
832
833 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
834
835         * BufferView_pimpl.C: revert to showCursor in connection with
836         Lars's front-end stack
837
838 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
839
840         * text.C (redoParagraph): move cursor right after a bibitem
841         has been inserted.
842
843         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
844
845 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * buffer_funcs.C (bufferErrors): fix computation of the end of an
848         error range.
849
850 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
851
852         * BufferView.[Ch] (update):
853         * BufferView_pimpl.[Ch] (update, metrics):
854         * dimension.h (operator==):
855         * lyxfunc.C (dispatch):
856         * metricsinfo.h (ViewMetricsInfo):
857         * rowpainter.C (paintText):
858         * lyxtext.h:
859         * text.C (redoParagraph):
860         * text3.C (dispatch): Make LyX only repaint current paragraph in
861         case of character insert --> speedup. Also fix cursor draw
862         artifacts
863
864 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
865
866         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
867         avoid a crash (bug 1891)
868
869 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
870
871         Fix bug 1892:
872
873         * text2.C (getStringToIndex): constify cur argument.
874
875         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
876         argument has been given
877         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
878         try to invoke LFUN_INSET_APPLY).
879
880         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
881         if no inset was created by doInsertInset
882         (doInsertInset): return true if an inset has been inserted.
883
884 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
885
886         * vspace.C (asGUIName): new method. A version of the space
887         suitable for showing on screen.
888
889 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
890
891         * MenuBackend.C:
892         * lyxrc.C: rename "ASCII" to "Plain Text"
893
894 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
895
896         * buffer_funcs.C (expandLabel): take a Buffer as argument;
897         translate the labelstring.
898         (setCounter): translate labelstring as needed.
899
900         * output_docbook.C (makeCommand): fix expandLabel invokation
901
902 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
903
904         * BufferView.C: fix dialog title
905
906 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
907
908         * lyx_main.C (priv_exec): fix logic error with help from Angus
909         * lyx_main.C (parse_execute): set is_gui = false and remove now
910         obsolete comment about a segfault
911
912 2005-05-18  Angus Leeming  <leeming@lyx.org>
913
914         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
915
916 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
917
918         * tabular.[hC]: added setCellInset to fix tabular paste.
919
920 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
921
922         * buffer.C (save): check if destination is writable before trying
923         to copy a file
924
925 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
926
927         * BufferView_pimpl.C (update): fix processEvents -caused update
928         recursion bug
929
930 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
931
932         * buffer_funcs.C (setCounter): fix test for numbering of
933         environments.
934
935         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
936         depth correctly; use optional argument when it exists
937
938         * lyxtextclass.C: remove unused MaxCounterTags enum
939         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
940         (max_toclevel, min_toclevel): new methods.
941
942         * MenuBackend.C (expandToc2): fix case where depth is smaller than
943         the smallest depth in toc.
944
945         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
946         layouts that should not appear in a table of contents.
947
948 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
949
950         * cursor.h (undispatched, noUpdate): add comments from Andr�
951 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
952
953         * lfuns.h:
954         * LyXAction.C:
955         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
956
957 2005-05-07  André Pönitz  <poenitz@gmx.net>
958
959         * cursor.[Ch] (leaveInset): new function
960
961 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
962
963         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
964
965 2005-05-04  Angus Leeming  <leeming@lyx.org>
966
967         * lyxfunc.C (getStatus): disable the spell checker dialog if
968         none of USE_[AIP]SPELL are defined.
969
970 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
971
972         * tabular.C (setWidthOfCell): remove obsolete comment
973
974 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
975
976         * paragraph.C (bibitem):
977         * buffer_funcs.C (setCounter):
978         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
979
980 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
981
982         * text3.C (getStatus): immediately return after setOnOff
983
984         * rowpainter.C: fix drawing of appendix start
985
986 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
987
988         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
989         SwitchBetweenClasses and remove the unused return value.
990         Handle character styles, too
991
992 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
993
994         * factory.C (createInset): handle undefined character styles
995
996 2005-05-02  Angus Leeming  <leeming@lyx.org>
997
998         * buffer.C: protect the #include of utime.h with a preprocessor
999         guard.
1000
1001 2005-05-02  Angus Leeming  <leeming@lyx.org>
1002
1003         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1004         function so that auto-saving works, albeit in a blocking manner.
1005
1006         * Makefile.am: make compilation of the client sub directory, of
1007         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1008         on conditionals set at configure time.
1009
1010         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1011         it can be compiled in its own right but has no-op functionality.
1012
1013         * aspell.C, pspell.C: remove preprocessor guards. The files should
1014         be compiled only if the necessary functionality exists.
1015
1016         * lyxserver.C, lyxsocket.C: disable on Windows.
1017
1018 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1019
1020         * text.C (leftMargin): Fix the parindent use bug (1764)
1021         by dirty trick
1022
1023 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1024
1025         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1026         argument.
1027
1028 2005-04-25  Angus Leeming  <leeming@lyx.org>
1029
1030         * Bidi.[Ch]:
1031         * coordcache.[Ch]:
1032         * ispell.C:
1033         * lyxserver.C:
1034         * mover.C:
1035         * pch.h:
1036         include <config.h> in .C files, not .h ones.
1037         add licence blurb.
1038         protect headers inside preprocessor guards.
1039
1040 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1041
1042         * FuncStatus.h (StatusCodes): document
1043
1044 2005-04-21  André Pönitz  <poenitz@gmx.net>
1045
1046         * FuncStatus.h (enabled, onoff): document
1047
1048 2005-04-19  Angus Leeming  <leeming@lyx.org>
1049
1050         * BufferView_pimpl.C (cursorToggle): no longer test whether
1051         any child processes have been reaped before calling
1052         handleCompletedProcesses().
1053
1054 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1055
1056         * text3.C (dispatch): fix, finally fix, the language problem in
1057         new lyxtexts, without disabling on-the-fly font changes (Helge's
1058         bug report)
1059
1060 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1061
1062         * text3.C (dispatch): set cursor on double/triple click events
1063         (bug 1811)
1064
1065 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1066
1067         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1068         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1069
1070         * rowpainter.C (paintFirst): simplify the code a little bit. In
1071         particular, remove the test for secnumdepth.
1072         * text.C (setHeightOfRow): only allocate space for chapter number
1073         when updateCounters provided an actual label, instead of looking
1074         at secnumdepth directly.
1075
1076         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1077
1078         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1079         paragraphs when secnumdepth is large enough or, for environments,
1080         when they are not the first in a sequence.
1081
1082 2005-04-17  Angus Leeming  <leeming@lyx.org>
1083
1084         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1085         containing space and '~' characters with a call to latex_path().
1086
1087 2005-04-17  Angus Leeming  <leeming@lyx.org>
1088
1089         * converter.C (convert): protect all args of convertDefault.sh
1090         script with quotes.
1091
1092 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1093
1094         * text3.C (dispatch): change the layout to "Caption" after inserting
1095         a float.
1096
1097 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1098
1099         * text3.C (dispatch): fix language problem in newly created
1100         textinsets (and main text) in non-english docs
1101
1102 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1103
1104         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1105         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1106         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1107
1108 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1109
1110         * lyxtext.h:
1111         * text.C (metrics):
1112         * text2.C (getFont):
1113         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1114         fonts fix
1115
1116 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1117
1118         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1119         output of \item arguments without trailing text.
1120
1121 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1122
1123         * FontIterator.C (operator*): avoid a copy of the font.
1124
1125 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1126
1127         * rowpainter.C (getFont): fix language bug from previous fix
1128
1129 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1130
1131         * rowpainter.C (RowPainter, getFont): fix font inside inset
1132         (bugs 1766, 1809)
1133
1134 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1135
1136         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1137         preventing inserted font, deco, delim insets jumping to start of
1138         surrounding inset.
1139
1140 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1141
1142         * lyxfunc.C (dispatch): translate message before sending it to the
1143         minibuffer.
1144
1145 2005-03-29  Angus Leeming  <leeming@lyx.org>
1146
1147         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1148         to LyX on the command line.
1149
1150 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1151
1152         * vc-backend.C: use QuoteName to protect file names wherever
1153         necessary.
1154
1155 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1156
1157         * buffer.[Ch]:
1158         * BranchList.h: fix bugs 1844,1845: document settings don't
1159         stick
1160
1161 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1162
1163         * lyxrc.C (setDefaults, read, output, getDescription): add support
1164         for tex_allows_spaces.
1165
1166         * exporter.C (Export): allows files in directory containing spaces
1167         if tex_allows_spaces is true.
1168
1169         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1170         output it in double quotes.
1171
1172 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1173
1174         * rowpainter.C: use default text height for drawing change tracker
1175         strikeout lines.
1176
1177 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1178
1179         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1180
1181 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1182
1183         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1184         directory is missing.
1185
1186 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1187
1188         * text2.C: fixed the fix, extended to other case.
1189
1190 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1191
1192         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1193
1194 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1195
1196         * text2.C (cursorUp): get rid of a crash
1197         * text.C (x2pos): add an assert
1198
1199 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1200
1201         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1202
1203         * text3.C:
1204         * lyxfunc.C:
1205         * dociterator.C: include <boost/current_function.hpp>, which is
1206         needed when assertions are disabled.
1207
1208 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1209
1210         * text2.C: fix for stuck cursor when traversing two
1211         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1212
1213 2005-02-25  Andreas Vox  <avox@arcor.de>
1214
1215         * output_docbook.C (makeParagraph): suppress trailing newline
1216         after a run of paragraphs
1217
1218 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1219
1220         * paragraph.C: fix for confused change tracker when pasting
1221         text that begins with a lineseparator. [bug 1827]
1222         (setChange(0, Change::INSERTED);)
1223
1224         * paragraph_funcs.C: fix for lost changes on triple-paste
1225         in change tracking mode [bug 1827] (par.setChange()).
1226
1227 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1228
1229         * text2.C (updateCounters, setCounter, expandLabel): move to
1230         buffer_funcs.
1231
1232         * buffer_funcs.C (updateCounters): turn into a free standing
1233         function and add a buffer parameter. Remove dead code for tracking
1234         labelstring change.
1235         (setCounter): change into a free-standing function which gets a
1236         dociterator as argument. Use this iterator to fix captions in a
1237         simple way. When no float is found above the caption, use the
1238         labelstring of the caption layout as default.
1239
1240         * text.C (breakParagraph, backspace):
1241         * text2.C (init, setLayout, changeDepth):
1242         * text3.C (dispatch):
1243         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1244         updateCounters.
1245
1246         * dociterator.C (forwardPar): make it much faster by calling
1247         forwardPos() only when really necessary.
1248
1249         * output_docbook.C (makeCommand): adapt to expandLabel move.
1250
1251         * cursor.C: remove unused variable
1252
1253 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1254
1255         * paragraph_funcs.C: fix crash when pasting insets in change
1256         tracking mode [bug 1277] (honour change type in moveItem).
1257
1258 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1259
1260         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1261
1262 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1263
1264         * BufferView.C (setCursor): change to use a DocIterator.
1265         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1266         (putSelectionAt): adapt to BufferView::setCursor change.
1267
1268         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1269         moved here from LyXText and rewritten to use proper cursor
1270         methods. Fixes bug 1787, 616 and 835.
1271
1272         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1273         when inside an inset (part of bug 781).
1274         (dispatch): adapt to change of BufferView::setCursor.
1275         (getStatus, dispatch): handle LFUN_GOTOERROR,
1276         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1277
1278         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1279         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1280         * text3.C (gotoNextInset, gotoInset): removed.
1281
1282 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1283
1284         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1285
1286 2005-02-15  Angus Leeming  <leeming@lyx.org>
1287
1288         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1289         can be used meaningfully in a comparison.
1290
1291 2005-02-13  André Pönitz  <poenitz@gmx.net>
1292
1293         * bufferview_funcs.C (coordOffset): improve cursor drawing
1294
1295 2005-02-13  André Pönitz  <poenitz@gmx.net>
1296
1297         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1298         * Cursor.C (dispatch): use fixIfBroken
1299         * lyxfunc.C (getStatus): use fixIfBroken
1300
1301 2005-02-15  Angus Leeming  <leeming@lyx.org>
1302
1303         * lyx_main.C (error_handler):
1304         * lyxfunc.C:
1305         * lyxrc.C (setDefaults):
1306         s/GetEnv/getEnv/.
1307         #include "environment.h".
1308
1309         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1310
1311 2005-02-15  Angus Leeming  <leeming@lyx.org>
1312
1313         * lyxserver.C (startPipe): squash MSVC warning "local variable
1314         'fd' used without having been initialized".
1315
1316 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1317
1318         * BufferView_pimpl.C: revert accidental commit.
1319
1320 2005-02-14  André Pönitz  <poenitz@gmx.net>
1321
1322         * dociterator.[Ch]: new member forwardPosNoDescent(),
1323         which doesn't enter nested insets.
1324         * text2.C (setFont): use forwardPosNoDescent() instead
1325         of ForwardPos() (fixes crash on font change).
1326
1327 2005-02-13  Angus Leeming  <leeming@lyx.org>
1328
1329         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1330         only if lyxrc.path_prefix is not empty.
1331
1332 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1333
1334         * bufferparams.C (readGraphicsDriver): prevent crash
1335
1336 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1337
1338         * text2.C (setCounter): check for inInset() == 0
1339
1340 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1341
1342         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1343         but use update() to get correct screen display; use convert
1344         instead of istringstream.
1345         (getStatus): handle LFUN_GOTO_PARAGRAPH
1346
1347         * lyxfunc.C (dispatch, getStatus): do not handle
1348         LFUN_GOTO_PARAGRAPH here.
1349
1350 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1351
1352         * text3.C (dispatch): size() -> depth()
1353
1354         * text2.C: remove some debug output
1355
1356         * paragraph.C: ws changes only
1357
1358         * lyxfunc.C (getStatus): size() -> depth()
1359
1360         * dociterator.h (clear, push_back, pop_back, internalData,
1361         operator[], resize, empty): new functions
1362         Make StableDocIterator and operator== be friends. Don't inherit
1363         from std::vector use a privat class variable slices_ instead.
1364         Modify to fit.
1365
1366         * dociterator.C: update because of not inheriting from std::vector
1367         anymore. Call explictly to slices_ instead. Use depth() instead of
1368         size() and top() instead of back()
1369
1370         * cursor.C: chagne size() -> depth and back() -> top(). Also
1371         remove some direct operator[](i) calls in favour of foo[i]
1372         (getFont): remove some dead code
1373
1374         * bufferview_funcs.C (coordOffset): size() -> depth()
1375
1376         * buffer.C: ws changes only
1377
1378         * CutAndPaste.C (eraseSelection): back() -> top()
1379
1380         * BufferView_pimpl.C (selectionRequested): back() -> top()
1381
1382         * BufferView.C (setCursor): size() -> depth()
1383
1384 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1385
1386         * text3.C (cursorPrevious): return true if depm changed something
1387         (cursorNext): ditto
1388         (dispatch): rename sl to oldTopSlice, remove moving use the new
1389         NoUpdate func attrib instead. Make sure that needsUpdate is set
1390         for function that have NoUpdate, but where depm might have changed
1391         the buffer anyway.
1392
1393         * text2.C (cursorLeft): make us return true if depm changed
1394         something
1395         (cursorRight): ditto
1396         (cursorUpParagraph): ditto
1397         (curosrDownParagraph): ditto
1398         (cursorUp, cursorDown): ditto, make sure to read comments in code
1399         (deleteEmptyParagraphMechanism): remove an assert, also return
1400         true if just a single char was deleted.
1401
1402         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1403         cursor that we modify, to avoid modifying an active cursor before
1404         we call setCursor. This allows depm to run. Also return true if
1405         depm deleted something.
1406
1407         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1408         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1409         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1410         something was changed in the buffer because of them (ie. depm run)
1411
1412         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1413         debug messages. Make update by default be false. Make sure that
1414         the result of update is retained throught several calls down to
1415         dispatch.
1416
1417         * LyXAction.h: add a new func_attrib: NoUpdate
1418
1419         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1420         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1421         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1422         and LFUN_WORDLEFT
1423         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1424
1425 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1426
1427         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1428         bv_->owner(), bv_->buffer() by direct references to the private
1429         members.
1430         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1431         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1432         (fitCursor): center() is in BufferView::Pimpl.
1433         (getStatus, trackChanges, dispatch): no need for a temporary buf
1434         variable
1435         (fitCursor, workAreaDispatch): use workarea().workheight()
1436
1437 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1438
1439         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1440
1441 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1442
1443         * buffer.C: format up to 241.
1444         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1445         break if pasting into ERT
1446         * lyxfunc.C (getStatus): suppress mathpanel and
1447         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1448
1449 2005-02-01  Angus Leeming  <leeming@lyx.org>
1450
1451         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1452
1453 2005-02-01  Angus Leeming  <leeming@lyx.org>
1454
1455         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1456         calling fs::is_directory().
1457
1458 2005-01-31  Angus Leeming  <leeming@lyx.org>
1459
1460         * lyx_main.C (priv_exec): specify explicitly the relative location
1461         of the top level build directory when run in-place.
1462
1463 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1464
1465         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1466         LyXText containing the cursor, not the top-level one.
1467
1468         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1469         true.
1470         (insertStringAsLines): rename par to pit; use temporary variable
1471         par to hold a Paragraph; do not store par.layout() in a variable,
1472         since the pointer may die when breaking paragraphs; pass pars to
1473         breakParagraph() instead of Buffer::paragraphs().
1474
1475 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1476
1477         * lyxlex_pimpl.h: #include <fstream>.
1478
1479         * BufferView.[Ch] (getLyXText): add a const version.
1480
1481         * BufferView_pimpl.C: add debug aids.
1482
1483         * RowList_fwd.h:
1484         * buffer.h:
1485         * lyxrow.h:
1486         * paragraph_funcs.h: add commentary explaining what the class does.
1487
1488
1489         * coordcache.[Ch]: add lots of commentary.
1490         (startUpdating, doneUpdating): debug aids.
1491         (arrays, insets, parPos, getParPos): accessors to private data.
1492
1493         * cursor_slice.[Ch] (text): add a const version.
1494         * dociterator.[Ch] (text, innerText): add const versions.
1495
1496         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1497         bool.
1498
1499         * paragraph.C (getRow, pos2ros): add asserts.
1500
1501         * paragraph.h: add commentary. Lots of.
1502
1503         * paragraph.[Ch] (metrucs, draw): removed.
1504
1505         * cursor.C:
1506         * rowpainter.[Ch]: const-correct changes.
1507
1508         * text.C: various obvious clean-ups. Removal of ancient cruft.
1509         Bug fixes, even.
1510
1511 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1512
1513         * vc-backend.C (find_file): rewrite to use boost.filesystem
1514         (scanMaster): ditto
1515
1516         * main.C (main): set default name check for boost.filesystem to
1517         no check
1518
1519         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1520         (open): ditto
1521         (doImport): ditto
1522         (actOnUpdatedPrefs): ditto
1523
1524         * lyx_main.C (init): rewrite to use boost.filesystem
1525         (queryUserLyXDir): ditto
1526
1527         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1528         (getContentsOfAsciiFile): ditto
1529
1530         * lastfiles.C (readFile): rewrite to use boost.filesystem
1531
1532         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1533
1534         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1535         (loadLyXFile): ditto
1536
1537         * buffer.C (Buffer): adjust for destroydir
1538         (getLogName): rewrite to use boost.filesystem
1539         (setFileName): ditto
1540         (save): use fs::copy_file (from fs_extras)
1541
1542         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1543
1544         * LaTeX.C (run): rewrite to use boost.filesystem
1545         (scanAuxFiles): ditto
1546         (handleFoundFile): ditto
1547
1548 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1549
1550         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1551
1552         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1553
1554 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1555
1556         * lyxlayout.[Ch]: change some vars from float to double
1557
1558         * buffer.C (readFile): make a local var const
1559
1560         * Several files: use convert<> instead of atoi,strToXXX and friends
1561
1562 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1563
1564         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1565         holds the contents of packages.lst. New functions getAvailable
1566         and isAvailable to parse and check that list, resp.
1567
1568         * LyXAction.C:
1569         * lfuns.h:
1570         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1571
1572         * bufferparams.[Ch]: new param output_changes.
1573
1574         * Buffer.C: increase file format to 240.
1575         Use output_changes and isVailable.
1576
1577         * changes.[Ch]:
1578         * paragraph.C:
1579         * paragraph_pimpl.C: Use output_changes and isVailable.
1580
1581 2005-01-23  Angus Leeming  <leeming@lyx.org>
1582
1583         * output_latex.C: #include "insetbibitem.h", rather than
1584         forward declare function bibitemWidest.
1585
1586 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1587
1588         * lyx_main.C (init): make it compile on the Mac.
1589
1590 2005-01-20  Angus Leeming  <leeming@lyx.org>
1591
1592         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1593         (setLyXMisc): (char string literal) != (char string literal) is
1594         performing a comparison on the addresses. Convert one operand
1595         explicitly to string to guarantee expected behaviour.
1596         From MSVC warning.
1597
1598 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1599
1600         * buffer.C:
1601         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1602
1603         * output_plaintext.C: remove unneeded #include gzstream.h.
1604
1605 2005-01-20  Angus Leeming  <leeming@lyx.org>
1606
1607         * SpellBase.h: rename some of the elements of the Result enum.
1608
1609         * aspell_local.h:
1610         * ispell.h:
1611         * pspell.h:
1612         * aspell.C (check):
1613         * ispell.C (check):
1614         * pspell.C (check): ditto
1615
1616 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1617
1618         * buffer.C: add #include <fstream>.
1619
1620         * lyx_main.C (init): Compile fix.
1621
1622         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1623
1624 2005-01-20  Angus Leeming  <leeming@lyx.org>
1625
1626         * mover.h: change commentary to reflect the changed meaning of
1627         the $$s placeholder.
1628
1629 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1630
1631         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1632
1633         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1634
1635 2005-01-20  Angus Leeming  <leeming@lyx.org>
1636
1637         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1638         printing diagnostic data by not dereferecing an iterator past the
1639         end.
1640
1641 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1642
1643         * buffer.C (readHeader): use "&&" rather than "and".
1644
1645         * lyxserver.h (inPipeName, outPipeName): make these const.
1646
1647 2005-01-19  Angus Leeming  <leeming@lyx.org>
1648
1649         * lyx_main.C (error_handler, init): protect SIGHUP with
1650         #ifdef SIGHUP guards.
1651
1652 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1653
1654         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1655
1656 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1657
1658         * text.C (setHeightOfRow): add a margin at the top and bottom of
1659         the document (bug 1761)
1660
1661 2005-01-17  Angus Leeming  <leeming@lyx.org>
1662
1663         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1664         with "python ". Workaround for a brain-dead Windows.
1665
1666 2005-01-16  Angus Leeming  <leeming@lyx.org>
1667
1668         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1669         for MacOSX and Windows to use prependEnvPath.
1670         Strip out the hard-coded block to add elements to the PATH for
1671         MacOSX and replace it with a call to prependEnvPath using the
1672         contents of LyXRC::path_prefix.
1673         (queryUserLyXDir): strip out the code to run reconfigure, instead
1674         returning a boolean indicating the necessity to do so.
1675         (reconfigureUserLyXDir): contains the code to reconfigure the
1676         user support directory. Is now called after the various LyXRC data
1677         files have been read.
1678
1679         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1680
1681 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1682
1683         * converter.[Ch] (convert): take a new parameter try_default. Use
1684         a default converter (imagemagick) if try_default is true.
1685
1686 2005-01-13  Angus Leeming  <leeming@lyx.org>
1687
1688         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1689         os::cygwin_path_fix.
1690         (write): output LyXRC::cygwin_path_fix as necessary.
1691
1692 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1693
1694         * lyxrc.h:
1695         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1696
1697 2005-01-12  Angus Leeming  <leeming@lyx.org>
1698
1699         * lyx_main.C (init): set the PATH variable to include the
1700         directory containing the LyX binary when running on Mac or Windows.
1701
1702 2005-01-12  Angus Leeming  <leeming@lyx.org>
1703
1704         * lyx_main.C (init): remove cruft that purports to set the locale
1705         dir. It doesn't and is not needed anyway.
1706
1707 2005-01-10  Angus Leeming  <leeming@lyx.org>
1708
1709         * Makefile.am: remove the lyx_main.C special casing.
1710
1711         * BufferView_pimpl.C:
1712         * bufferlist.C:
1713         * exporter.C:
1714         * lyx_cb.C:
1715         * lyx_main.C:
1716         * lyxfunc.C:
1717         * messages.C: use support/package.h to provide the paths to the
1718         various directories used by LyX.
1719
1720 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1721
1722         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1723         layout if pasting into an empty paragraph)
1724
1725 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1726
1727         * tex-accent.C: add <string>
1728
1729 2005-01-06  José Matos  <jamatos@lyx.org>
1730
1731         * ParagraphParameters.C (write): put every parameter in its own line.
1732         * paragraph.C (write): reduce number of consecutive empty lines exported.
1733         * buffer.C (LYX_FORMAT): increase file format to 239.
1734
1735 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1736
1737         * everywhere: change support/tostr.h -> support/convert.h
1738
1739         * tabular.C: make all write_attributes templates, tostr -> convert
1740
1741         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1742         (emptyTag): and -> &&, and fix type for ret from getChar
1743         (getFirstWord): fix type for ret from getChar
1744         (onlyText): and -> &&
1745         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1746         getChar
1747
1748         * toc.C (goTo, action):
1749         * text3.C (dispatch):
1750         * text.C (currentState):
1751         * tex-accent.C (DoAccent):
1752         * sgml.C:
1753         * lyxrc.C:
1754         * lyxfunc.C (menuNew):
1755         * lyxfinc.C (replace):
1756         * counters.C (laberItem):
1757         * bufferview_funcs.C (font2string):
1758         * bufferparams.C (writeFile):
1759         * buffer.C (readFile):
1760         * Spacing.C (set):
1761         * MenuBackend.C: tostr -> convert
1762
1763         * LaTeX.C (runMessage): fix format
1764         (scanAuxFiles): tostr -> convert
1765
1766         * BufferView_pimpl.C (savePosition): fix format
1767         (restorePosition): ditto
1768         (dispatch): ditto
1769
1770 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1771
1772         * Spacing.[Ch]: New method getValueAsString().
1773
1774         * Spacing.[Ch]:
1775         * bufferparams.C:
1776         * ParagraphParameters.C:
1777         * lyxlayout.C:
1778         * text.C:
1779         * text3.C: store/read spacing value as string.
1780
1781         * rowpainter.C: change float value (spacing_val) to double.
1782
1783         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1784         broken custom document spacing).
1785
1786 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1787
1788         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1789         namespace, also more use of temp references and const
1790
1791         * cursor.[Ch] (getStatus): move to lyxfunc.C
1792
1793         * bufferparams.C: reformat slightly
1794
1795         * bufferview_funcs.C (font2string): constify arg
1796
1797         * changes.C:
1798         * converter.C:
1799         * counters.C:
1800         * bufferlist.C:
1801         * buffer_funcs.C: (many funcs): constify arg on function
1802         definitions, also make more local vars const, also add ASSERTS on
1803         pointer args.
1804
1805         * buffer.C (LYX_FORMAT): put const in correct place
1806         (many funcs): constify arg on function definitions, also make
1807         more local vars const
1808
1809         * aspell_local.h: remove "struct" from typdef setup
1810
1811         * aspell.C (check): make word_ok const
1812         (nextMiss): simplify slightly
1813         (error): ditto
1814
1815 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1816
1817         * lyxrc.[Ch]: store all float values as strings.
1818         use int (not float) for lyxrc.dpi.
1819
1820 2005-01-04  Angus Leeming  <leeming@lyx.org>
1821
1822         * lyx_cb.C (Reconfigure):
1823         * lyx_main.C (queryUserLyXDir):
1824         to run the <system_lyxdir>/configure correctly on Windows, prefix
1825         the path to the script with "sh " when generating the string that
1826         is passed to system().
1827
1828 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1829
1830         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1831
1832 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1833
1834         * lyxlength.C (asLatexString): get rid of setprecision
1835
1836 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1837
1838         * text2.C (setLayout): remove unused variable endpit.
1839         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1840
1841         * paragraph.C (onlyText): remove unused variable style.
1842
1843         * cursor.C (bruteFind): remove unused variables beg and end.
1844
1845         * Makefile.am (dist_noinset_DATA): not needed anymore
1846
1847         * cheaders/*: remove.
1848
1849 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1850
1851         * text3.C: fix LFUN_MATH_MODE.
1852
1853 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1854
1855         * buffer_funcs.C (countWords): new function. Counts words between
1856         two iterators.
1857
1858         * BufferView_pimpl.C (getStatus, dispatch): handle
1859         LFUN_WORDS_COUNT.
1860
1861         * LyXAction.C (init):
1862         * lfuns.h: add LFUN_WORDS_COUNT.
1863
1864 2004-12-19  Angus Leeming  <leeming@lyx.org>
1865
1866         * buffer.C (save): s/slashify_path/internal_path/.
1867
1868 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1869
1870         * lyxfind.C (findChange): do not search for end of pars, because
1871         the change tracker cannot handle this (fixes bug 1719).
1872
1873 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1874
1875         * paragraph.[Ch] (autoBreakRows): remove
1876
1877         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1878
1879         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1880         avoid using the paragraph one
1881
1882         * text2.C (LyXText, insertStringAsLines): adjust
1883
1884 2004-12-16  Angus Leeming  <leeming@lyx.org>
1885
1886         * bufferlist.C:
1887         * lyx_main.C:
1888         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1889
1890 2004-12-14  Angus Leeming  <leeming@lyx.org>
1891
1892         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1893
1894         * bufferlist.C (emergencyWrite):
1895         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1896         GetEnvPath("HOME").
1897
1898 2004-12-14  Angus Leeming  <leeming@lyx.org>
1899
1900         * main.C: (main): no longer pass pointers to os::init.
1901
1902 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1903
1904         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1905         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1906
1907 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1908
1909         * lyxfunc.C:
1910         * text3.C: remove selection_possible global flag
1911
1912 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1913
1914         * text2.C (getSelectionSpan): remove
1915         (changeDepth, changeDepthAllowed): adjust
1916
1917 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1918
1919         * Makefile.am (BOOST_LIBS): use boost variables
1920
1921 2004-12-03  José Matos  <jamatos@lyx.org>
1922
1923         * buffer.C: format up to 238.
1924
1925 2004-12-03  José Matos  <jamatos@lyx.org>
1926
1927         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1928
1929 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1930
1931         * cursor.C (goUpDown): remove call to idxUpDown2
1932
1933 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1934
1935         * tabular.[Ch]: use size_t-like types for cell, row and column
1936         indices
1937
1938 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1939
1940         * lyxfunc.C (getStatus): do not lose previous information when
1941         calling BufferView::getStatus; do not set a default "Command
1942         disabled" message at the beginning, but just before returning.
1943
1944 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1945
1946         * cursor.h (getStatus): add better comment from src/cursor.C
1947
1948 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1949
1950         * text3.C (getStatus): return false when the lfun is not handled
1951
1952 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1953
1954         * broken_headers.h: remove
1955
1956         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1957
1958 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1959
1960         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1961         offset_ref accessors
1962
1963         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1964         top_y_, merge fitcursor with update
1965         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1966         coord scheme
1967         (metrics): introduce
1968         (workAreaDispatch): adapt to new coord scheme
1969         (redoCurrentBuffer): remove
1970
1971         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1972
1973         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1974         CurStatus enum.
1975
1976         * coordcache.[Ch]: add paragraph cache and helpers
1977
1978         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1979         adjust everywhere
1980
1981         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1982         (targetX, setTargetX): introduce
1983
1984         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1985         baseline -> ascent, as the rest of lyx
1986
1987         * lyxtext.h: remove redoParagraphs, updateParPositions,
1988         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1989         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1990         have ascent/descent (ascent is ascent of first par)
1991
1992         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1993         step of BufferView
1994
1995         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1996
1997         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1998
1999         * pariterator.C: fix infinite loop introduced in par->pit renaming
2000
2001         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2002         in insets and LyXText, draw two off-screen paragraphs using
2003         NullPainter, and adapt to new coord scheme
2004
2005         * text.C:
2006         * text2.C:
2007         * text3.C: adapt lfun handlers to the new coord scheme, which
2008         means: there's only guaranteed coord information for onscreen pars
2009         plus one above and one below. This implies that one can do search
2010         from y coordinates in the range [-1,workHeight]
2011
2012 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2013
2014         * rename a lot of InsetOld to InsetBase
2015
2016 2004-11-25  Angus Leeming  <leeming@lyx.org>
2017
2018         * BufferView_pimpl.C:
2019         * lyx_cb.C:
2020         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2021
2022 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2023
2024         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2025         call BufferView::getStatus if LCursor::getStatus did nothing
2026         (setStatusMessage, getStatusMessage): removed.
2027
2028         * FuncStatus.C (message): new methods. Used to provide an error
2029         message indicating why a command is disabled.
2030         (clear, |=, FuncStatus): update for message.
2031
2032 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2033
2034         * lyxfunc.C (dispatch): always call sendDispatchMessage
2035
2036 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2037
2038         * BufferView.C:
2039         * BufferView_pimpl.C:
2040         * CutAndPaste.C:
2041         * FontIterator.C:
2042         * buffer.C:
2043         * cursor.C:
2044         * cursor_slice.[Ch]:
2045         * dociterator.[Ch]:
2046         * lyxfind.C:
2047         * paragraph_funcs.C:
2048         * pariterator.C:
2049         * rowpainter.C:
2050         * text.C:
2051         * text2.C:
2052         * text3.C:
2053         * undo.C: par->pit renaming
2054
2055 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2056
2057         * tabular.C (cellstruct): use initialization, store a shared_ptr
2058         to insettext instead of the insettext directly, adjust to fit.
2059         (operator=):  new function
2060         (swap): new function
2061         (rowstruct): use initialization
2062         (columnstruct): use initialization
2063         (ltType): use initialization
2064
2065
2066         * lyxlength.h (swap): new function
2067
2068         * LColor.[Ch] (operator=): use the common semantics
2069
2070 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2071
2072         * lyxfind.C (findNextChange): update the bufferview after setting
2073         the selection.
2074
2075 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2076
2077         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2078         number of InsetOptArgs has already been inserted.
2079
2080         * output_latex.C (latexOptArgInsets): new method. This outputs all
2081         the optarg insets, up to the limit defined in the layout file.
2082         (optArgInset): removed
2083         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2084
2085 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * paragraph.C (isLetter): remove special spellchecker-related
2088         code; return true also for digits
2089         (isWord, isKomma): remove
2090
2091         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2092         * lyxfind.C (MatchString()): use isLetter instead of isWord
2093
2094 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2095
2096         * pariterator.h (operatir=): comment out un-implemented member
2097         function.
2098
2099         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2100         static cast.
2101
2102 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2103
2104         * lyxfont.h: include LColor.h to satisfy concept checks.
2105
2106 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2107
2108         * pariterator.h: add typdefs for value_type, difference_type,
2109         pointer and reference to satisfy concept checks. Also add default
2110         constructor for same reason.
2111
2112         * pariterator.C (operator++): add post-increment operator to
2113         satisfy concept checks.
2114
2115         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2116         checks.
2117
2118         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2119
2120         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2121         checks. Also rename base_type to BaseType to follow naming
2122         standard better.
2123
2124         * FloatList.h: include Floating.h to satisfy concept checks.
2125
2126 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2127
2128         * lyxfunc.C (getStatus): when the origin of the request is menu or
2129         toolbar, and the LyXView does not have focus, do as if there was
2130         no buffer (bug 1720)
2131
2132         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2133         FuncRequest to individual entries of LFUN_SEQUENCE
2134
2135 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2136
2137         * output_latex.C (TeXOnePar): override runparams.moving_arg
2138         according to the needprotect value of the current paragraph (bug
2139         1739)
2140
2141         * paragraph.C (simpleTeXOnePar): no need to override
2142         runparams.moving_args here
2143
2144 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2145
2146         * vspace.C: fix off-by-one-error, related to fix #1682
2147
2148 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2149
2150         * lengthcommon.C: a more general fix for bug 1682
2151
2152 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2153
2154         * text.C (backspace): fix crash
2155
2156 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2157
2158         * format.[Ch] (getFormatFromFile): new method
2159         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2160
2161 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2164
2165 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2166
2167         * lyxfunc.C (dispatch): remove the verbose argument
2168         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2169         instead
2170
2171         * kbmap.C (defkey): set the origin of func to KEYBOARD
2172
2173         * MenuBackend.C (MenuItem):
2174         * ToolbarBackend.C (add): set the origin of func to UI
2175
2176         * funcrequest.[Ch]: add origin member, which indicates which part
2177         of LyX requests an action
2178
2179 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2180
2181         * converter.C (move): don't lie in the error message
2182         * converter.h (isReachable, move): document
2183
2184 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2185
2186         * buffer.C: remove unused using lyx::support::atoi
2187         * paragraph_funcs.C: ditto
2188
2189 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2190
2191         * bufferlist.C (exists): use bind and equal_to instead of
2192         compare_memfun
2193         (getBuffer): ditto
2194         * lyxtextclasslist.C (NumberOfClass): ditto
2195
2196         * cursor.C (insert): use for_each instead of explicit for loop
2197
2198         * bufferlist.C (getFileNames): use std::transform and
2199         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2200
2201         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2202         for loop
2203
2204         * buffer.C (changeLanguage): use for_each instead of explicit for
2205         loop
2206         (hasParWithID): implement using getParFromID
2207
2208         * LaTeXFeatures.C: ws change only
2209
2210         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2211         to cleanup a bit.
2212
2213         * BufferView_pimpl.C (trackChanges): use for_each instead of
2214         expilicit for loop
2215
2216 2004-11-04  André Pönitz  <poenitz@gmx.net>
2217
2218         * undo.h:
2219         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2220
2221         * dociterator.C (asDocIterator): use hard assert again.
2222
2223 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2224
2225         * lyxlength.C (asLatexString): rewrite so that it does not use
2226         snprintf anymore
2227
2228 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * text3.C (specialChar, dispatch): make sure cursor moves to the
2231         right after inserting an inset
2232
2233 2004-11-02  José Matos  <jamatos@lyx.org>
2234
2235         * output_docbook.C (docbook):
2236         * paragraph.C (getID):
2237         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2238         garantee that the output is always legal.
2239
2240         * tabular.C (docbook):
2241         * outputprams.[Ch]: remove mixed contents.
2242
2243 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2244
2245         * text2.C (setCounter): prevent endless loop
2246
2247 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2248
2249         * exporter.C (copyFile): use the mover instead of support::copy()
2250         * exporter.C (Export): pass format and latex name to copyFile()
2251         * exporter.h (addExternalFile): document
2252         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2253
2254 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2255
2256         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2257
2258 2004-10-30  José Matos  <jamatos@lyx.org>
2259
2260         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2261         text and no inset or font change. This allows to use CDATA
2262         sections just for the whole paragraph.
2263
2264 2004-10-30  José Matos  <jamatos@lyx.org>
2265
2266         * paragraph.C (getFirstWord): remove unused variable.
2267
2268 2004-10-30  José Matos  <jamatos@lyx.org>
2269
2270         * paragraph.C (getFirstWord): the content should always be escaped
2271         there.
2272         (simpleDocBookOnePar):
2273         * output_docbook.C (makeEnvironment): replace reference to CDATA
2274         to style pass_thru.
2275
2276 2004-10-30  José Matos  <jamatos@lyx.org>
2277
2278         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2279
2280 2004-10-30  José Matos  <jamatos@lyx.org>
2281
2282         * output_docbook.C (makeParagraphs):
2283         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2284         standard paragraph has only a given type of content drop the wrapper.
2285
2286 2004-10-29  José Matos  <jamatos@lyx.org>
2287
2288         * output_docbook.C (makeEnvironment):
2289         * sgml.C (openTag):
2290         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2291
2292 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2293
2294         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2295         (cleanID): sanitize any id.
2296
2297 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2298
2299         * buffer.C, lyxlex_pimpl.C:
2300         * lyxlex_pimpl.C (setFile):
2301         s/getExtFromContents/getFormatFromContents/
2302
2303 2004-10-28  José Matos  <jamatos@lyx.org>
2304
2305         * output_docbook.C (makeEnvironment): move id to broadest possible
2306         scope.
2307
2308         * sgml.C (openTag): apply substitution of <> for all attributes.
2309
2310 2004-10-28  José Matos  <jamatos@lyx.org>
2311
2312         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2313         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2314         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2315
2316         * sgml.[Ch]: new version for open and closeTag for paragraph and
2317         for strings. Now they handle the ids of paragraphs.
2318
2319 2004-10-26  Angus Leeming  <leeming@lyx.org>
2320
2321         * Makefile.am: add mover.[Ch].
2322
2323         * converter.C (convert, move): use the new Movers to move external
2324         files to the temp directory.
2325
2326         * lyx_main.C (init): ensure that the global system_movers data
2327         is initialised.
2328
2329         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2330         preferences file.
2331
2332         * mover.[Ch]: new files, defining a Mover as a utility to move an
2333         external file between directories and, if necessary, manipulate this
2334         file using a helper script.
2335
2336 2004-10-25  José Matos  <jamatos@lyx.org>
2337
2338         * output_docbook.C (makeCommand): merge two if's that tested the
2339         same condition.
2340
2341 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2342
2343         * sgml.C (escapeString): fix warning in a better way
2344
2345 2004-10-25  José Matos  <jamatos@lyx.org>
2346
2347         * sgml.C (escapeString): import the require boosts header file for
2348         tie, and avoid a signed unsigned comparison.
2349
2350 2004-10-25  José Matos  <jamatos@lyx.org>
2351
2352         * sgml.h: add #include <string>
2353
2354 2004-10-25  José Matos  <jamatos@lyx.org>
2355
2356         * sgml.[Ch] (escapeString): new function to escape all the string.
2357
2358 2004-10-24  José Matos  <jamatos@lyx.org>
2359
2360         * paragraph.[Ch] (getFirstWord): new function to get the first
2361         word. Useful for description.
2362         (simpleDocBookOnePar): remove depth argument, add another that
2363         says where to start the paragraph.
2364
2365         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2366         use the new functions to fix cleanly the support for descriptions.
2367
2368 2004-10-24  José Matos  <jamatos@lyx.org>
2369
2370         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2371         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2372         * output_linuxdoc.C (linuxdocParagraphs):
2373         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2374         add buffer as argument.
2375
2376 2004-10-24  José Matos  <jamatos@lyx.org>
2377
2378         * output_docbook.C (makeEnvironment, searchEnvironment): place
2379         CDATA inside paragraphs and fix scope for listitems.
2380
2381 2004-10-24  José Matos  <jamatos@lyx.org>
2382
2383         * output_docbook.C: remove using statement for stack.
2384
2385 2004-10-23  José Matos  <jamatos@lyx.org>
2386
2387         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2388         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2389         docbook. The new scheme is recursive and makes use of iterators, the
2390         same as latex export works.
2391         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2392         directly with the paragraph contents. This code was moved up to
2393         output_docbook.C (docbookParagraphs).
2394         * sgml.C (openTag, closeTag): removed unneeded newlines.
2395         (closeEnvTags) removed.
2396
2397 2004-10-23  André Pönitz  <poenitz@gmx.net>
2398
2399         * undo.C (textUndoOrRedo):
2400         * dociterator.C (asDocIterator): work around crash
2401
2402         * cursor.C (getStatus): replace ASSERT by more verbose error message
2403           and manual correction of the problem. Should increase stability
2404           while providing more sensible information.
2405
2406 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2407
2408         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2409
2410         * bufferlist.C (previous, next): new methods
2411
2412         * lfuns.h:
2413         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2414
2415 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2416
2417         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2418         entities to preamble.
2419
2420 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2421
2422         * messages.C (Pimpl): strip off translation context information
2423
2424 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2425
2426         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2427         the cursor is correct (bug 1694)
2428
2429 2004-10-13  José Matos  <jamatos@lyx.org>
2430
2431         * output_docbook.C (docbookParagraphs): fix closing tags in the
2432         end of the document.
2433
2434 2004-10-09  José Matos  <jamatos@lyx.org>
2435
2436         * buffer.C: format up to 237.
2437         * bufferparams.C (write): use tostr to convert booleans to strings.
2438
2439 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2440
2441         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2442
2443 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2444
2445         * LaTeX.C: implement use of babel language in xindy.
2446
2447 2004-10-05  José Matos  <jamatos@lyx.org>
2448
2449         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2450         Add new translators to help reading and writing the lyx file.
2451
2452 2004-10-05  José Matos  <jamatos@lyx.org>
2453
2454         * ParagraphParameters.C (read):
2455         * text.C (readParToken): replace nexToken by more appropriate lex
2456         methods.
2457
2458 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2459
2460         * LaTeX.C (runMakeIndex):
2461         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2462         (usually 'makeindex') configurable.
2463
2464         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2465         with a variable rather than with a number.
2466
2467 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2468
2469         * output_latex.C (TeXOnePar): make sure font setting is the first
2470         thing that gets output (and the last at the end). Should fix bug
2471         1404.
2472
2473 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2474
2475         * pch.h: use proper signal include
2476
2477         * LaTeX.h: Use preferred calling of Boost.Signal
2478         * buffer.h: ditto
2479
2480 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * pch.h: dont include <boost/function/function0.hpp>
2483
2484         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2485
2486         * paragraph_pimpl.h: remove usage of ShareContainer
2487
2488         * paragraph_pimpl.C: remove initialization of ShareContainer.
2489
2490 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2491
2492         Fix bug #1666
2493
2494         * BufferView.C (putSelectionAt): change the semantics when
2495         backwards == true: now, this just swaps cursor and anchor wrt the
2496         forward case
2497
2498         * BufferView.h (putSelectionAt): add some documentation
2499
2500         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2501         make sure backwardChar is done at least once (to avoid getting
2502         stuck)
2503         (findNextChange): use putSelectionAt in the forward direction
2504         (operator()): use Paragraph::isWord
2505
2506 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2507
2508         * Spacing.C (set): c_str fix
2509
2510 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2511
2512         * lyx_cb.C (Reconfigure): quote the name of configure script in
2513         case it contains spaces
2514
2515 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2516
2517         * client: new dir
2518
2519         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2520         (BOOST_LIBS): use top_buildir when looking for the file
2521
2522 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2523
2524         * pch.h: do not use include boost/format.hpp, multiple symbols
2525                 will result (gcc bug)
2526
2527
2528 2004-08-23  José Matos  <jamatos@lyx.org>
2529
2530         * bufferparams.C (readToken): fix reading of the author field.
2531
2532 2004-08-20  José Matos  <jamatos@lyx.org>
2533
2534         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2535
2536 2004-08-20  José Matos  <jamatos@lyx.org>
2537
2538         * lyxlex.[Ch] (findToken): remove function.
2539
2540         * ParagraphParameters.C (findToken):
2541         * bufferparams.C (findToken): replace call for previous function
2542         with local copy. This local function has one more argument, the
2543         read string argument.
2544
2545 2004-08-16  José Matos  <jamatos@lyx.org>
2546
2547         * ParagraphParameters.C (write):
2548         * Spacing.C (writeFile):
2549         * bufferparams.C (writeLaTeX):
2550         * lyx_cb.C (Reconfigure):
2551         * paragraph.C (write):
2552         * tabular.C (write): remove unnecessary space at end of line.
2553
2554
2555 2004-08-16  José Matos  <jamatos@lyx.org>
2556
2557         * text.C (readParagraph): remove debug message.
2558
2559 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2560
2561         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2562         crash
2563
2564         * output_plaintext.C (asciiParagraph): set depth correctly
2565
2566         * outputparams.h: add member depth
2567
2568         * paragraph_funcs.C (ownerPar): remove.
2569
2570         * text2.C (setCounter): remove first_pit; comment out some
2571         non-working code that uses ownerPar
2572
2573         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2574         uses ownerPar
2575
2576 2004-08-16  José Matos  <jamatos@lyx.org>
2577
2578         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2579         For the same level of importance use the same chanel to report problems.
2580         (read): add code to deal with \begin_body and \end_body.
2581
2582
2583 2004-08-15  José Matos  <jamatos@lyx.org>
2584
2585         * lyxlex.C (getString): fix comment, buffer::readBody is now
2586         buffer:readDocument.
2587
2588         * tex-strings.C (string_papersize): Default -> default,
2589         Custom -> custom, for consistency with other options.
2590
2591 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2592
2593         * pch.h: new file
2594
2595         * Makefile.am: support pch
2596
2597 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2598
2599         * text.C (readParToken): remove the static LyXFont variable and
2600         pass it as a parameter instead. This fixes a nasty bug where an
2601         inset will be inserted with a bad font in some situations
2602         (readParagraph): adapt
2603
2604         * text2.C (setCounter): reduce number of calls to pars_[pit]
2605
2606         * text.C (singleWidth): add an assert, fix a test
2607
2608         * rowpainter.C (paintText): reduce number of calls to singleWidth
2609
2610         * paragraph.C (isHfill):
2611         (isNewline): ws only
2612
2613 2004-08-14  André Pönitz  <poenitz@gmx.net>
2614
2615         * text.C:
2616         * text2.C:
2617         * rowpainter.C:
2618         * lyxtext.h (several functions): use a Paragraph & argument
2619         instead of par_type
2620
2621 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2622
2623         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2624
2625         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2626
2627         * text.C (singleWidth): remove useless test
2628
2629 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2630
2631         * tabular.h: remove bogus comments
2632
2633         * tabular.C (getDescentOfRow):
2634         (isPartOfMultiColumn): add assertions
2635
2636         * lyxlength.C (inPixels): remove #warning
2637
2638 2004-08-14  André Pönitz  <poenitz@gmx.net>
2639
2640         * paragraph.h: inline getChar()
2641
2642         * BufferView.h: remove unused declarations
2643
2644 2004-08-14  José Matos  <jamatos@lyx.org>
2645
2646         * Buffer.[Ch] (readDocument): new name for old readBody.
2647         * Buffer.C: new file format, new keywords: \begin_document,
2648         \begin_header, \begin_body, \end_body.
2649
2650         * bufferparams.C (readToken): replace all calls to lex.nextToken
2651         by lex.next(). Do the same to eatLine except where really needed.
2652
2653         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2654         line when writing to the lyx file.
2655
2656         * output_plaintext.C (asciiParagraph): fix Bibliography style
2657         handling.
2658
2659         * text.C (read): fix end of file handling.
2660
2661 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2662
2663         * MenuBackend.C (Menu::operator[]): new method to access
2664         individual menu items
2665         (Menu::hasFunc): new method. search for an item that corresponds
2666         to a given func
2667         (MenuBackend::specialMenu): new method
2668         (MenuBackend::expand): if a special menu has been set, skip
2669         entries whose func() appears in this menu
2670
2671 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2672
2673         * text3.C: use Debug::DEBUG a bit more
2674
2675         * text.C (leftMargin): try to simplify a tiny bit change var x to
2676         l_margin. Dont output the wide margins always.
2677         (rightMargin): no margin in inner texts
2678
2679         * rowpainter.h (nestMargin): new func
2680         (changebarMargin): new func
2681         (rightMargin): new func
2682
2683         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2684         now functions.
2685         (paintLast): ditto
2686
2687         * factory.C (createInset): modify setDrawFrame
2688
2689         * cursor.C: use Debug::DEBUG a bit more
2690
2691 2004-08-14  André Pönitz  <poenitz@gmx.net>
2692
2693         * coordcache.[Ch]:
2694         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2695         cache for all insets in (at least partially) visible (top-level)
2696         paragraphs.
2697
2698         * BufferView_pimpl.C: reset external coord cache before every update.
2699         This means the coord cache only contains valid entries.
2700
2701 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2702
2703         bug 1096
2704         * BufferView_pimpl.C (getInsetByCode): move function out of class
2705         and change in to a template in anon namespace. Also fix to do what
2706         suits us better.
2707
2708 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2709
2710         bug 1305
2711         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2712         of char
2713         (breakParagraph): rename par to par_offset and use a local
2714         reference. Add code to keep the language over a rebreak.
2715         (breakParagraphConservative): rename par to par_offset, use a
2716         local reference
2717         (mergeParagraph): ditto
2718         (outerHook): ditto
2719         (isFirstInSequence): ditto
2720         (outerFont): rename pit to par_offset
2721
2722         * paragraph.C: ws change
2723         * paragraph.h: ditto
2724         * text3.C: ditto
2725         * text.C: ditto
2726
2727 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2728
2729         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2730         treatment for ']'
2731
2732         * paragraph.C (simpleTeXOnePar): when we have a \item with
2733         optional argument, enclose the argument with curly brackets (in
2734         case it contains a closing square bracket)
2735
2736         * text2.C (editXY):
2737         * text2.C (editXY):
2738         * text3.C (checkInsetHit): constify
2739
2740 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2741
2742         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2743         documents (bug 1629)
2744
2745 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2746
2747         Fix toggling of collapsable insets with the mouse (bug 1558)
2748
2749         * lyxfunc.C (dispatch): adapt to LCursor changes
2750
2751         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2752         make sure that dispatch is not invoked twice
2753
2754         * cursor.C (needsUpdate): new method
2755         (dispatch): return void
2756         (result): new method, to access the DispatchResult of the cursor.
2757
2758 2004-08-13  José Matos  <jamatos@lyx.org>
2759
2760         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2761
2762 2004-08-13  André Pönitz  <poenitz@gmx.net>
2763
2764         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2765
2766         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2767           multiple cells
2768
2769 2004-08-12  André Pönitz  <poenitz@gmx.net>
2770
2771         * text3.C: take out the 'cursor right' form insertInset and only
2772         do it in those places when it is really needed. Fixes crash on
2773         C-m...
2774
2775 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2776
2777         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2778
2779         * BufferView_pimpl.C (setBuffer): initialize the current font of
2780         the underlying LyXText
2781
2782 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2783
2784         * kbsequence.C (print): use UI native formatting for menu
2785         shortcuts
2786
2787         * text.C (insertChar): call Paragraph::insertChar with a font
2788         argument (cosmetic)
2789
2790         * paragraph.C (insertInset, insertChar): the version that takes a
2791         LyXFont argument is now a wrapper around the other one (the
2792         opposite used to be true).
2793
2794         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2795         argument. Font setting is done in Paragraph now.
2796
2797 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2798
2799         * outputparams.h: add new members intitle and lang.
2800
2801         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2802         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2803
2804 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2805
2806         * text3.C (dispatch): remove special handling of button 4 and 5,
2807         it is now taken care of in the frontend code.
2808
2809 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2810
2811         * Spacing.h: add <string> (STLPort compile fix)
2812
2813 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2814
2815         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2816
2817 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2818
2819         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2820         to bool.
2821
2822         * converter.C (showMessage): inherit from unary_function, make
2823         operator() const.
2824
2825         * buffer.C (writeFile): initialize retval
2826
2827         * InsetList.h: rename private variable list to list_
2828         * InsetList.[Ch]: adjust accordingly.
2829
2830 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2833         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2834         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2835         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2836         * ParagraphParameters.C, LaTeXFeatures.C: replace
2837         "support/std_sstream.h" with <sstream>
2838
2839 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2840
2841         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2842         * lyxsocket.C (LyXServerSocket): ditto
2843         (serverCallback): ditto
2844
2845 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2846
2847         * LaTeXFeatures.C: check release date when loading jurabib.
2848
2849 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2850
2851         * lyxserver.C (startPipe): call register_socket_callback
2852         (endPipe): call unregister_socket_callback
2853
2854 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2857         (LyXServerSocket): register the callback
2858         (LyXServerSocket): unregister the callback
2859         (fd): delete function
2860         (serverCallback): improve error checking and setup the callbacks.
2861         (dataCallback): change arg to fd.
2862         (writeln): new func (copied fro the client socket) used for server
2863         write to client.
2864         (LyXDataSocket): simplify
2865         (~LyXDataSocket): close ann unregiser callback
2866         (server): delete function
2867         (fd): delete function
2868         (readln): small changes, improve some std::string usage
2869         (writeln): constify a bit
2870
2871 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2872
2873         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2874         Qt frontend
2875
2876 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2877
2878         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2879         after it has been populated
2880
2881 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2882
2883         * text2.C (insertInset): move cursor when inserting inset.
2884
2885 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2886
2887         * kbmap.C (findbindings): a couple of new methods. returns a
2888         container of kb_sequence objects. The real work is done by the
2889         private recursive version
2890         (printbindings): uses findbindings to print out a bracketed list
2891         of bindings (renamed from findbinding).
2892
2893         * MenuBackend.C (binding): use kb_keymap::findbindings
2894
2895         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2896
2897 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2898
2899         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2900
2901 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2902
2903         * paragraph.C (isWord): return true on insets that report
2904         isLetter().
2905
2906         * text.C (getWord): use Paragraph::isWord to decide what is in a
2907         word and what is not; fix bug 1609.
2908
2909 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2910
2911         * tex-strings.C: add "none" to string_paperpackages[], fixes
2912         off-by-one-error in the paperpackage selection.
2913
2914         * lyxlex.[Ch]:
2915         * tex-strings.[Ch]: char const * string[n]
2916         -> char const * const string[]
2917
2918 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2919
2920         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2921         command, return early.
2922
2923 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2924
2925         * debug.h: add DEBUG to enum and fix size of ANY.
2926
2927         * debug.C: add support for Debug::DEBUG
2928         (showTags): cast errorTags.level to unsigned int
2929
2930         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2931         (redoCurrentBuffer): ditto
2932         (updateScrollbar): ditto
2933         * cursor.C (dispatch): ditto
2934         * text2.C (setLayout): ditto
2935         (setFont): ditto
2936         (updateCounters): ditto
2937         (editXY): ditto
2938         (deleteEmptyParagraphMechanism): ditto
2939
2940 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2941
2942         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2943         annotations to cleanup the Makefile slightly.
2944
2945 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2946
2947         * lyxrc.C: do not set user_email to a default value but use empty
2948         instead. The entry used to be translated, which does not work
2949         since at the point where lyxrc is constructed there is no
2950         translation service available
2951
2952         * messages.C (getLocaleDir): remove and use directly
2953         lyx_localedir() instead
2954
2955 2004-06-02  Angus Leeming  <leeming@lyx.org>
2956
2957         Fix crash caused by dereferencing null pointer 'exportdata' in
2958         OutputParams by creating a new ExportData variable on the heap,
2959         storing it in a boost::shared_ptr.
2960         The crash was triggered when generating an Instant Preview
2961         of an external inset.
2962
2963         * Makefile.am: add outputparams.C
2964
2965         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2966         (c-tor): allocate memory to it.
2967
2968         * exporter.C (c-tor): associated changes.
2969
2970 2004-06-01  Angus Leeming  <leeming@lyx.org>
2971
2972         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2973         contains data before calling isInset(0). (Bug 1513.)
2974
2975 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2976
2977         * exporter.C (checkOverwrite): new method
2978         * exporter.C (copyFile): new method
2979         * exporter.C (Export): copy referenced files to the document dir
2980         * exporter.[Ch]: new class ExportedFile
2981         * exporter.[Ch]: new class ExportData. Contains currently the
2982         names of referenced external files
2983         * outputparams.h: add exportdata member.
2984
2985 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2986
2987         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2988         version.C-tmp
2989
2990 2004-05-19  Angus Leeming  <leeming@lyx.org>
2991
2992         * LaTeXFeatures.C:
2993         * ToolbarBackend.C:
2994         * bufferparams.C:
2995         * lyxfunc.C: small changes due to the introduction of namespace
2996         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2997
2998 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2999
3000         * text3.C (dispatch): supress update when only moving the cursor
3001         * cursor.C (selHandle): remove commented code
3002
3003 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3004
3005         * paragraph.C (startTeXParParams): correct column count
3006         * CutAndPaste.C (pasteSelection): remove const_cast
3007         * output_docbook.C (docbookParagraphs): remove const_cast
3008         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3009         const_cast and return ParagraphList::const_iterator
3010         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3011         * output_plaintext.C (writeFileAscii): remove const_cast
3012         * paragraph.[Ch] (simpleTeXOnePar): make const
3013         * paragraph_funcs.C (outerPar): use const iterators
3014         * paragraph_pimpl.C (validate): use const iterators
3015         * text.C (setHeightOfRow): use const iterators
3016
3017 2004-05-17  Angus Leeming  <leeming@lyx.org>
3018
3019         * lfuns.h:
3020         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3021
3022         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3023         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3024         if the citation engine has changed.
3025
3026 2004-05-14  José Matos  <jamatos@lyx.org>
3027
3028         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3029         if the textclass does not provide it. Have it different for sgml and
3030         xml.
3031         support the language of document.
3032         * output_docbook.C (docbookParagraphs):
3033         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3034         first anchor as the id of the paragraph, remove special case code.
3035         * sgml.C (escapeChar): escape only < & >.
3036
3037 2004-05-14  Angus Leeming  <leeming@lyx.org>
3038
3039         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3040         dependencies on src/frontends/controllers/biblio.h. Define a
3041         CiteEngine_enum wrapper class to enable the enum to be forward
3042         declared.
3043
3044 2004-05-12  Angus Leeming  <leeming@lyx.org>
3045
3046         * buffer.C: up LYX_FORMAT to 234.
3047         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3048         use_numerical_citations with a single biblio::CiteEngine cite_engine
3049         variable.
3050         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3051
3052 2004-05-13  José Matos  <jamatos@lyx.org>
3053
3054         * converter.h:
3055         * converter.C (Converter, readFlags): add xml member.
3056         * outputparams.h: add XML flavor.
3057         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3058
3059 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3060
3061         * lyxfunc.C (dispatch):
3062         (getStatus): fix handling of LFUN_SEQUENCE
3063
3064 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3065
3066         * debug.C (showLevel): do not forget the end-of-line marker
3067
3068 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3069
3070         * kbmap.C (read): do not stop parsing a bind file when an error
3071         occurs (bug 1575)
3072
3073 2004-04-29  Angus Leeming  <leeming@lyx.org>
3074
3075         * cursor.C:
3076         * factory.C:
3077         * pariterator.C:
3078         * text2.C: wrap a bunch of #warning statements
3079         inside #ifdef WITH_WARNINGS blocks.
3080
3081 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3082
3083         * buffer.C: increment format to 233.
3084
3085 2004-04-28  Angus Leeming  <leeming@lyx.org>
3086
3087         * BufferView_pimpl.C:
3088         * lyxfunc.C:
3089         * text3.C:
3090         s/updateToolbar()/updateToolbars()/
3091         s/Toolbar.h/Toolbars.h/
3092
3093 2004-04-28  Angus Leeming  <leeming@lyx.org>
3094
3095         * BufferView.[Ch] (c-tor):
3096         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3097         No longer passes these data to the WorkArea generator.
3098
3099 2004-04-28  Angus Leeming  <leeming@lyx.org>
3100
3101         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3102
3103 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3104
3105         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3106
3107 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3108
3109         * output_latex.C (TeXEnvironment): make sure that there is a line
3110         break before \end{foo} for the last paragraph of a document
3111         (TeXOnePar): if the paragraph is at the end of the document (or
3112         inset) and the language has to be reset, then make sure that the
3113         line break is _before_ the language command, not after (fixes bug
3114         1225); also make sure that the language reset command is the first
3115         thing after the paragraph (to ensure proper nesting of
3116         environments and thus fix bug 1404)
3117
3118 2004-04-21  John Levon  <levon@movementarian.org>
3119
3120         * ToolbarBackend.h:
3121         * ToolbarBackend.C: make "name" be a programmatic name
3122         and a gui_name field.
3123
3124         * lyxfunc.C: display the minibuffer on M-x
3125
3126 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3127
3128         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3129         (bug 1526)
3130
3131 2004-04-19  Angus Leeming  <leeming@lyx.org>
3132
3133         * BufferView_pimpl.C (setBuffer): changed preview interface.
3134
3135         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3136         possible values.
3137
3138 2004-04-19  John Levon  <levon@movementarian.org>
3139
3140         * BufferView_pimpl.C:
3141         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3142
3143 2004-04-05  Angus Leeming  <leeming@lyx.org>
3144
3145         * text.C (redoParagraphs): add call to updateCounters(), thereby
3146         fixing the missing "Figure #:" label from the caption of a
3147         figure float.
3148
3149 2004-04-13  Angus Leeming  <leeming@lyx.org>
3150
3151         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3152         cursor is clicked out of an inset.
3153
3154 2004-04-13  Angus Leeming  <leeming@lyx.org>
3155
3156         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3157         than an InsetOld one.
3158
3159 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3160
3161         * format.[Ch]: add editor to Format
3162         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3163         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3164
3165 2004-04-08  André Pönitz  <poenitz@gmx.net>
3166
3167         * metricsinfo.h: remove PainterInfo::width member
3168
3169 2004-04-08  Angus Leeming  <leeming@lyx.org>
3170
3171         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3172         "\providecommand" rather than "\newcommand", thereby preventing
3173         clashes with packages that define "\boldsymbol" themselves.
3174         Eg, beamer.
3175
3176 2004-04-08  Angus Leeming  <leeming@lyx.org>
3177
3178         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3179         thereby squashing an unnecessary warning.
3180
3181 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3182
3183         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3184         setBuffer()
3185
3186 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3187
3188         * BufferView.C (setCursor): call redoParagraph (some insets could
3189         have been opened)
3190         (putSelectionAt): remove the 'double update' trick
3191
3192         * BufferView_pimpl.C (fitCursor): call refreshPar
3193         (workAreaDispatch): remove an uneeded update call
3194         (dispatch): remove some manual update calls
3195
3196         * cursor.[Ch]: remove cached_y_, updatePos
3197         (selHandle): set noUpdate when appropriate
3198
3199         * lyxfunc.C (dispatch): track if we need an update
3200
3201         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3202
3203         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3204         (paintSelection): cheap optimization, do not call cursorX when not
3205         needed
3206         (paintPars): change signature
3207         (refreshPar): add
3208         (paintText): adjust
3209         (paintTextInset): adjust
3210
3211         * text.C: adjust
3212
3213 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3214
3215         * lengthcommon.C: compilation fix: remove explicit array size from
3216         unit_name[] and friends
3217
3218 2004-04-05  Angus Leeming  <leeming@lyx.org>
3219
3220         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3221
3222         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3223         present only for the preferences dialog.
3224         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3225
3226 2004-04-05  Angus Leeming  <leeming@lyx.org>
3227
3228         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3229         to enable the frontends to export changes to lyxrc correctly.
3230
3231         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3232
3233 2004-04-07  André Pönitz  <poenitz@gmx.net>
3234
3235         * cursor.[Ch] (selClear, adjust): remove math
3236
3237         * cursor_slice.C: more agressive assert
3238
3239         * lyxfunc.C:
3240         * BufferView_pimpl.C: rework mouse event dispatch
3241
3242         * dociterator.C:
3243         * paragraph.C:
3244         * text2.C:
3245         * text3.C: adjust
3246
3247 2004-04-05  André Pönitz  <poenitz@gmx.net>
3248
3249         * cursor.[Ch] (valign, halign...): remove unneeded functions
3250
3251 2004-04-05  Angus Leeming  <leeming@lyx.org>
3252
3253         * lyxlength.[Ch] (unit_name et al.): const-correct.
3254
3255 2004-04-05  Angus Leeming  <leeming@lyx.org>
3256
3257         * BufferView_pimpl.C:
3258         * buffer.C:
3259         * counters.C:
3260         * cursor.C:
3261         * lyxfunc.C
3262         * paragraph.C:
3263         * pariterator.C:
3264         * text.C:
3265         * text2.C:
3266         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3267
3268 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3269
3270         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3271
3272 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3273
3274         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3275         * BufferView_pimpl.[Ch] (getStatus)
3276         * BufferView.[Ch] (getStatus): add
3277         * lyxfunc.C (getStatus): move lfuns handled in
3278         BufferView::dispatch to te function above
3279         * Cursor.C (setSelection): set selection() = true
3280
3281 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3282
3283         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3284
3285 2004-03-31  Angus Leeming  <leeming@lyx.org>
3286
3287         * lyxfunc.C (dispatch): Fall through to the generic
3288         Dialogs::show("preamble").
3289
3290 2004-03-31  Angus Leeming  <leeming@lyx.org>
3291
3292         * lyxfunc.C (dispatch): Fall through to the generic
3293         Dialogs::show("spellchecker").
3294
3295 2004-03-31  Angus Leeming  <leeming@lyx.org>
3296
3297         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3298         preferences dialog.
3299
3300 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3301
3302         * BufferView.C
3303         * cursor.[Ch]
3304         * dociterator.[Ch]:
3305         * insetiterator.[Ch]:
3306         * lyxfind.C:
3307         * lyxfunc.C:
3308         * pariterator.[Ch]:
3309         * text2.C:
3310         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3311
3312 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3313
3314         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3315         insets where we are putting the cursor.
3316
3317 2004-03-31  Angus Leeming  <leeming@lyx.org>
3318
3319         * lfuns.h:
3320         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3321
3322         * lyxrc.[Ch] (read, write): overloaded member functions taking
3323         a std::[io]stream arguments.
3324
3325         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3326
3327 2004-03-31  Angus Leeming  <leeming@lyx.org>
3328
3329         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3330         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3331
3332         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3333         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3334
3335 2004-03-31  Angus Leeming  <leeming@lyx.org>
3336
3337         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3338         the LFUN_ALL_INSETS_TOGGLE code.
3339
3340 2004-03-30  Angus Leeming  <leeming@lyx.org>
3341
3342         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3343         has died. Fall through to the generic Dialogs::show("document").
3344
3345 2004-03-30  Angus Leeming  <leeming@lyx.org>
3346
3347         * lfuns.h:
3348         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3349         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3350
3351         * lyxfunc.C (getStatus, dispatch): define the actions for these
3352         lfuns. Little more than a cut and pste job from ControlDocument.C
3353
3354         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3355
3356 2004-03-30  Angus Leeming  <leeming@lyx.org>
3357
3358         * lfuns.h:
3359         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3360         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3361
3362         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3363         open/closed state of ollapsable insets. Usage:
3364
3365         all-inset-toggle <state> <name>, where
3366         <state> == "open" || "closed" || "toggle" and
3367         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3368
3369         * lyxtext.h, text2.C (toggleInset): removed.
3370
3371         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3372         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3373         now passes LFUN_INSET_TOGGLE to the found inset.
3374
3375         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3376         is now invoked as "all-insets-toggle toggle branch".
3377
3378 2004-03-30  Angus Leeming  <leeming@lyx.org>
3379
3380         * dociterator.C:
3381         * insetiterator.C:
3382         * pariterator.[Ch]: added/corrected header blurb.
3383
3384 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3385
3386         * dociterator.[Ch]: add an inset_ member
3387         (backwardPos): implemented
3388         (backwardPos, forwardPos): use inset_ when the stack is empty.
3389         (doc_iterator_begin, doc_iterator_end): implemented
3390         * pariterator.[Ch]: adjust, add begin, end
3391         * insetiterator.[Ch]: adjust, add begin, end
3392         * cursor.C:
3393         * document.C:
3394         * BufferView.C:
3395         * BufferView_pimpl.C:
3396         * CutAndPaste.C: adjust
3397
3398 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3399
3400         * buffer.C: increment file format to 232.
3401         * LaTeXFeatures.C: add bibtopic package.
3402         * bufferparams.[Ch]: param \use_bibtopic.
3403
3404         * lyxrc.[Ch]: add lyxrc bibtex_command
3405         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3406
3407         * buffer.C: increment file format to 231.
3408
3409 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3410
3411         * dociterator.C: implement forwardPar
3412         * iterators.[Ch]: remove, replaced by
3413         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3414         * BufferView.C:
3415         * BufferView_pimpl.C:
3416         * CutAndPaste.C:
3417         * buffer.C:
3418         * bufferview_funcs.C:
3419         * cursor.C:
3420         * lyxfind.C
3421         * lyxfunc.C
3422         * paragraph_funcs.C
3423         * toc.C:
3424         * Makefile.am: adjust
3425
3426 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3427
3428         * CutAndPaste.C (pasteSelection): fix 2 crashes
3429         (eraseSelection): fix a crash
3430         * paragraph_funcs.C: remove a warning
3431
3432 2004-03-28  Angus Leeming  <leeming@lyx.org>
3433
3434         * lfuns.h:
3435         * LyXAction.C (init): new LFUN_PRINT.
3436
3437         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3438
3439 2004-03-27  Angus Leeming  <leeming@lyx.org>
3440
3441         * lfuns.h:
3442         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3443
3444         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3445
3446 2004-03-27  Angus Leeming  <leeming@lyx.org>
3447
3448         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3449         insetlist always contains non-null pointers to insets.
3450
3451 2004-03-26  Angus Leeming  <leeming@lyx.org>
3452
3453         * src/BufferView_pimpl.C:
3454         * src/CutAndPaste.C:
3455         * src/buffer.C:
3456         * src/iterators.C:
3457         * src/output_plaintext.C:
3458         * src/outputparams.h:
3459         * src/paragraph_funcs.C:
3460         * src/rowpainter.C:
3461         * src/text.C:
3462         * src/text2.C:
3463         * src/frontends/controllers/ControlErrorList.C:
3464         * src/frontends/gtk/FileDialogPrivate.C:
3465         * src/frontends/gtk/GPainter.C:
3466         * src/frontends/gtk/GToolbar.C:
3467         * src/frontends/qt2/QRef.C:
3468         * src/mathed/math_scriptinset.C: squash compiler warnings.
3469
3470 2004-03-26  Angus Leeming  <leeming@lyx.org>
3471
3472         * ispell.C (LaunchIspell::start):
3473         * lyx_cb.C (AutoSaveBuffer::start):
3474         invoke run(DontWait) rather than runNonBlocking().
3475
3476 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3477
3478         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3479
3480 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3481
3482         * kbsequence.C (print): adjust
3483
3484         * kbmap.C (printKeySym): rename and change signature
3485         (printKey): use LyXKeySym::print()
3486
3487 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3488
3489         * undo.C: add using std::advance to compile for stlport
3490
3491 2004-03-24  Angus Leeming  <leeming@lyx.org>
3492
3493         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3494         it leads to a crash when no buffer is present.
3495
3496 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3497             Martin Vermeer  <martin.vermeer@hut.fi>
3498
3499         * lyxfunc.C (dispatch):
3500         * bufferparams.C (readToken): use the new LColor::setColor
3501
3502         * LColor.[Ch] (setColor): new version that takes two strings as
3503         argument and creates a new color entry if necessary
3504
3505 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3506
3507         * buffer.C (makeLaTeXFile): if the main latex file that is
3508         processed is usually a subdocument of some master, then pretend
3509         for a while that it is actually the master
3510
3511 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3512
3513         * buffer.C (getLabelList):
3514         (getBibkeyList): use getMasterBuffer()
3515         (getMasterBuffer): new method. Returns the main document in the
3516         case where one is using included documents.
3517
3518 2004-03-25  André Pönitz  <poenitz@gmx.net>
3519
3520         * Makefile.am:
3521         * iterators.[Ch]:
3522         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3523
3524         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3525
3526         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3527         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3528
3529         * ParameterStruct.h: merge with ParagraphParameters
3530
3531         * lyxtext.h: remove LyXText::parOffset() and getPar()
3532
3533         * text3.C: Remove all 'manual' update calls. We do now one per user
3534         interaction which is completely sufficient.
3535
3536         * Bidi.C:
3537         * BufferView.[Ch]:
3538         * BufferView_pimpl.C:
3539         * FontIterator.[Ch]:
3540         * MenuBackend.C:
3541         * ParagraphParameters.[Ch]:
3542         * buffer.C:
3543         * buffer.h:
3544         * bufferlist.C:
3545         * cursor.[Ch]:
3546         * cursor_slice.[Ch]:
3547         * dociterator.[Ch]:
3548         * errorlist.[Ch]:
3549         * factory.C:
3550         * lfuns.h:
3551         * lyxfind.C:
3552         * lyxfunc.C:
3553         * output_docbook.[Ch]:
3554         * output_latex.[Ch]:
3555         * output_linuxdoc.[Ch]:
3556         * output_plaintext.[Ch]:
3557         * paragraph.[Ch]:
3558         * paragraph_funcs.[Ch]:
3559         * paragraph_pimpl.[Ch]:
3560         * rowpainter.C:
3561         * tabular.[Ch]:
3562         * text.C:
3563         * text2.C:
3564         * toc.C:
3565         * undo.[Ch]: adjust
3566
3567         * frontends/controllers/ControlDocument.C:
3568         * frontends/controllers/ControlErrorList.C:
3569         * frontends/controllers/ControlSpellchecker.C:
3570         * insets/inset.C:
3571         * insets/inset.h:
3572         * insets/insetbase.h:
3573         * insets/insetbibitem.C:
3574         * insets/insetbox.C:
3575         * insets/insetbranch.C:
3576         * insets/insetcaption.C:
3577         * insets/insetcharstyle.C:
3578         * insets/insetcharstyle.h:
3579         * insets/insetcollapsable.C:
3580         * insets/insetcollapsable.h:
3581         * insets/insetert.C:
3582         * insets/insetfloat.C:
3583         * insets/insetfoot.C:
3584         * insets/insetmarginal.C:
3585         * insets/insetnote.C:
3586         * insets/insetoptarg.C:
3587         * insets/insettabular.C:
3588         * insets/insettext.C:
3589         * insets/insettext.h:
3590         * insets/insetwrap.C:
3591         * mathed/math_mboxinset.C:
3592         * mathed/math_nestinset.C:
3593         * mathed/math_scriptinset.C:
3594         * mathed/math_scriptinset.h:
3595         * support/types.h:
3596
3597 2004-03-24  Angus Leeming  <leeming@lyx.org>
3598
3599         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3600         deal with any child processes that have finished but are waiting to
3601         communicate this fact to the rest of LyX.
3602
3603 2004-03-24  Angus Leeming  <leeming@lyx.org>
3604
3605         64-bit compile fixes.
3606
3607         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3608         (c-tor): pass lyx::pos_types rather than ints.
3609
3610         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3611         lyx::pos_type.
3612
3613         * text.C (Delete): compile fix.
3614         (getPar): ensure that function declaration is the same as that in
3615         the header file.
3616
3617 2004-03-23  Angus Leeming  <leeming@lyx.org>
3618
3619         * ispell.C (LaunchIspell):
3620         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3621         a boost::shred_ptr rather than a std::auto_ptr.
3622
3623 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3624
3625         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3626         handle LFUN_FILE_INSERT_*
3627
3628         * lyxrc.C (setDefaults, getDescription, output, read):
3629         * lyxrc.h: remove ps_command
3630
3631 2004-03-22  Angus Leeming  <leeming@lyx.org>
3632
3633         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3634         Ensure that error_handler is processed once only and that all data
3635         is saved before attempting to output any warning messages.
3636
3637         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3638
3639 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3640
3641         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3642
3643 2004-03-19  André Pönitz  <poenitz@gmx.net>
3644
3645         * cursor.[Ch] (reset): take main text inset as argument
3646
3647         * BufferView: adjust
3648         * BufferView_pimpl.C: adjust
3649
3650         * paragraph.[Ch]: fix completely broken operator=()
3651
3652 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3653
3654         * LColor.C (getFromLyXName): make sure that the color name is used
3655         as lowercase.
3656
3657 2004-03-17  Angus Leeming  <leeming@lyx.org>
3658
3659         * lfuns.h:
3660         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3661
3662         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3663         dialog and to kill a forked process.
3664
3665 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3666
3667         * text2.C (setCursorFromCoordinates): fix font problem
3668
3669 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3670
3671         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3672         bogus "rebuild cursor" code
3673
3674 2004-03-11  André Pönitz  <poenitz@gmx.net>
3675
3676         * buffer.[Ch]: use InsetText instead of LyXText as container for
3677         the main lyx text.
3678
3679         * dociterator.[Ch]: drop the BufferView * member which is not needed
3680         anymore after the change to buffer.C
3681
3682         * paragraph_funcs.C:
3683         * text.C:
3684         * text2.C:
3685         * BufferView.[Ch]:
3686         * BufferView_pimpl.[Ch]:
3687         * cursor.[Ch]:
3688         * cursor_slice.[Ch]: adjust
3689
3690         * text3.C: fix bug in mathDispatch
3691
3692 2004-03-08  André Pönitz  <poenitz@gmx.net>
3693
3694         * undo.[Ch]: use 'StableDocumentIterator' as base for
3695         the Undo struct.
3696
3697 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3698
3699         * LaTeXFeatures.C:
3700         * bufferparams.[Ch]: add jurabib support and param.
3701
3702         * LaTeX.C: add FIXME/comment.
3703
3704 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3705
3706         * buffer.C: increment file format to 230.
3707
3708 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3709
3710         * cursor.C (dispatch): avoid infinite loops
3711
3712 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3713
3714         * rowpainter.C (paintSelection): fix x coordinates
3715
3716 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3717
3718         * text.C (rowBreakPoint): fix breaking before displayed insets
3719
3720 2004-03-01  André Pönitz  <poenitz@gmx.net>
3721
3722         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3723
3724         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3725
3726         * Makefile.am:
3727         * BufferView.C:
3728         * BufferView_pimpl.C:
3729         * buffer.C:
3730         * lyxfind.C:
3731         * lyxfunc.C:
3732         * text.C:
3733         * text2.C:
3734         * text3.C: adjust
3735
3736 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3737
3738         * lyxtext.h:
3739         * text.C:
3740         * text2.C:
3741         * rowpainter.C:
3742         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3743         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3744
3745 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3746
3747         * Bidi.[Ch] (computeTables): const correctness
3748         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3749         fill_hfill, fill_label_hfill and x from Row
3750         * lyxtext.h: prepareToPrint returns a RowMetrics
3751         * rowPainter.C: adjust
3752         * text.C (prepareToPrint): use width, not textWidth. adjust
3753         (redoParagraphInternal, cursorX): adjust
3754         * text2.C (getColumnNearX): adjust
3755         (init): put a default value to the top LyXText::width
3756
3757 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3758
3759         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3760
3761 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3762
3763         * lyxtext.h: add FontIterator class
3764
3765         * text.C (FontIterator, operator*, operator->, operator++): add
3766         (rowBreakPoint, setRowWidth): adjust (fixing a
3767         rebreaking bug)
3768
3769 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3770
3771         * BufferView_pimpl.C (workAreaDispatch): allow also
3772         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3773
3774 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3775
3776         * text.C (rowBreakPoint): fix a bug showing with very large insets
3777
3778 2004-02-25  André Pönitz  <poenitz@gmx.net>
3779
3780         * text3.C:
3781         * cursor.[Ch]: move some mathed specific code to mathed
3782
3783 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3784
3785         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3786         use_tempdir in preferences
3787         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3788         tempfile creation
3789         * lyx_main.C: ensure that tempdir is valid
3790         * lyxlex.h: correct typo
3791         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3792         * paragraph.[Ch] (isMultiLingual): make const
3793         * cursor.[Ch] (openable): make const
3794
3795 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3796
3797         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3798
3799 2004-02-20  André Pönitz  <poenitz@gmx.net>
3800
3801         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3802
3803         * cursor.[Ch]: prepare for localized getStatus()
3804
3805         * lyxtext.h:
3806         * tabular.C:
3807         * text.C:
3808         * text2.C:
3809         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3810
3811 2004-02-20  André Pönitz  <poenitz@gmx.net>
3812
3813         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3814
3815 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3816
3817         * text2.C (setCursorFromCoordinates): switch to absolute coords
3818         (cursorUp): adjust
3819         (cursorDown): adjust
3820         * text3.C (dispatch): adjust
3821
3822 2004-02-16  André Pönitz  <poenitz@gmx.net>
3823
3824         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3825           insets/ChangeLog)
3826
3827         * cursor_slice.[Ch]: remove unneeded acessor function
3828
3829         * lyxtext.h: rename rtl() to isRTL()
3830
3831         * rowpainter.C:
3832         * tabular.C:
3833         * text.C:
3834         * text2.C:
3835         * text3.C: adjust
3836
3837 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3838
3839         * rowpainter.C (paintSelection): coord fix
3840
3841 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3842
3843         * Spacing.C: compile fix
3844
3845 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3846
3847         * cursor.C (dispatch): restore current_ before returning
3848
3849 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3850
3851         * text2.C (cursorUp, cursorDown): fix coords
3852         (moveUp): fix crash
3853
3854 2004-02-12  André Pönitz  <poenitz@gmx.net>
3855
3856         * lyxtext.h:
3857         * text.C:
3858         * text2.C:
3859         * text3.C: add LCursor & parameter to most cursor movement functions
3860           remove usage of LyXText::cursorRow() and cursorPar()
3861
3862         * cursor.[Ch]: add textRow() needed members
3863
3864         * BufferView.C:
3865         * BufferView_pimpl.C:
3866         * paragraph.[Ch]:
3867         * BufferView.C:
3868         * BufferView_pimpl.C: adjust
3869
3870 2004-02-11  André Pönitz  <poenitz@gmx.net>
3871
3872         * lyxfunc.C:
3873         * BufferView.[Ch]:
3874         * BufferView_pimpl.C: shift undo/redo handling
3875
3876         * cursor.[Ch]: fix mathed crash
3877
3878         * lyxfind.C:
3879         * lyxtext.h: move selectionAsText to LCursor
3880
3881         * output_latex.C:
3882         * paragraph.C:
3883         * text.C:
3884         * text2.C:
3885         * text3.C: adjust
3886
3887         * rowpainter.C: fix excessive drawing
3888
3889 2004-02-06  André Pönitz  <poenitz@gmx.net>
3890
3891         * BufferView.[Ch]:
3892         * BufferView_pimpl.[Ch]:
3893         * text3.C: move some text specific LFUN handling
3894
3895 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * text3.C (checkInsetHit): adjust coords
3898         * text2.C (getColumnNearX): adjust coords
3899         (edit): adjust coords
3900         * text.C (getRowNearY): add two asserts
3901
3902 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3903
3904         * converter.C:
3905         * format.C: add using std::distance to compile on gcc 2.95/stlport
3906
3907 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3908
3909         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3910
3911 2004-02-04  André Pönitz  <poenitz@gmx.net>
3912
3913         * BufferView.[Ch] (insertInset):
3914         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3915
3916         * text2.C:
3917         * text3.C: adjust
3918
3919 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3920
3921         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3922         on the default clause of the switch
3923         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3924         wasn't catched by LCursor::dispatch
3925
3926 2004-02-03  André Pönitz  <poenitz@gmx.net>
3927
3928         * BufferView.C:
3929         * cursor.[Ch]: some additional asserts
3930
3931         * undo.[Ch]: remove LyXText dependency in interface
3932
3933         * lyxfunc.C: adjust
3934
3935         * lyxtext.h (firstPar, lastPar): remove dead functions
3936
3937         * text.C:
3938         * text2.C:
3939         * text3.C:
3940         * paragraph.[Ch]: adjust
3941
3942 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3943
3944         * lyxfind.C (find): fix argument order in call to ::find
3945
3946 2004-02-02  André Pönitz  <poenitz@gmx.net>
3947
3948         * cursor.[Ch]: remove direct access to anchor
3949
3950         * text.C: remove findText() hack
3951
3952 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3953
3954         * iterators.[Ch] (lockPath): remove in favour of...
3955         * BufferView.[Ch] (setCursor): this addition
3956         * BufferView.C (putSelectionAt): adjust
3957         * undo.C (performUndoOrRedo): adjust
3958         * lyxfunc.C (dispatch): adjust
3959
3960 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3961
3962         * iterators.C (lockPath): add a missing slice
3963         * undo.C (performUndoOrRedo): remove redundant positioning code
3964
3965 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * vc-backend.C (scanMaster): ";" -> ';'
3968
3969 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3970
3971         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3972         std::binary_function
3973
3974         * lyxtextclass.C (compare_name): rename to...
3975         (LayoutNamesEqual): ...this
3976
3977         * lyxlex_pimpl.C (compare_tags): inherit from
3978         std::binary_function, put back into anon namespace
3979
3980         * lyxfind.C (MatchString): inherig from std::binary_function
3981         (findChange): use empty() istead of !size()
3982
3983         * format.C (FormatNamesEqual): new functor
3984         (getFormat): use it
3985         (getNumber): use it
3986         (add): use it
3987         (erase): use it
3988         (setViewer): use it
3989
3990         * converter.C (compare_Converter): rename to...
3991         (ConverterEqual): ...this, and fixup a bit.
3992         (getConverter): use it, and make function const
3993         (getNumber): use it, and make function const
3994         (add): use it
3995         (erase): use it:
3996
3997         * bufferlist.C: add using boost::bind
3998
3999         * MenuBackend.C (MenuNamesEqual): new functor
4000         (hasMenu): use it, and make function const
4001         (hasSubmenu): use nested bind to get rid of compare_memfun.
4002
4003 2004-01-30  André Pönitz  <poenitz@gmx.net>
4004
4005         * BufferView_pimpl.C:
4006         * cursor.C:
4007         * cursor.h:
4008         * cursor_slice.[Ch]:
4009         * lyxfunc.C:
4010         * lyxtext.h:
4011         * paragraph_funcs.C:
4012         * paragraph_funcs.h:
4013         * rowpainter.C:
4014         * text.C:
4015         * text2.C:
4016         * text3.C: move some of the edit(x,y) handling to the insets
4017         some coordinate changes.
4018
4019 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4020
4021         * text.C: add using statements for std::advance and std::distance
4022
4023         * paragraph.C: add using statement for std::distance
4024
4025         * lyxfind.C: add using statement for std::advance
4026
4027         * cursor.C (region): remove std:: from swap
4028         (openable): use nucleus in stead of operator->
4029
4030         * BufferView.C: add using statements for std::distance and std::swap
4031
4032 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * iterators.C: Remove the pimple, move the needed structures to
4035         the header file. Create accessor for the positions stack.
4036         (asPosIterator): remove function
4037
4038         * PosIterator.C (PosIterator): move constructors to top of file
4039         (PosIterator): reimplement the constructor taking a ParIterator in
4040         terms of setFrom.
4041         (setFrom): new function
4042         (operator!=): inline it
4043
4044 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4045
4046         * lyxfind.C (replaceAll): use std::advance
4047
4048         * iterators.h: inherit from std::iterator.
4049
4050         * PosIterator.C (advance, distance): remove
4051         * PosIterator.h: interit from std::iterator.
4052
4053 2004-01-26  André Pönitz  <poenitz@gmx.net>
4054
4055         * BufferView.[Ch]:
4056         * BufferView_pimpl.[Ch]:
4057         * InsetList.[Ch]:
4058         * PosIterator.[Ch]:
4059         * buffer.h:
4060         * bufferview_funcs.C:
4061         * cursor.[Ch]:
4062         * cursor_slice.h:
4063         * factory.[Ch]:
4064         * iterators.[Ch]:
4065         * lyxfind.C:
4066         * lyxfunc.C:
4067         * lyxtext.h:
4068         * output_docbook.C:
4069         * output_latex.C:
4070         * output_linuxdoc.C:
4071         * output_plaintext.C:
4072         * paragraph.[Ch]:
4073         * paragraph_funcs.[Ch]:
4074         * paragraph_pimpl.[Ch]:
4075         * rowpainter.C:
4076         * tabular.C:
4077         * tabular.h:
4078         * text.C:
4079         * text2.C:
4080         * text3.C: more IU:  dumps most of the rest of the mathcursor
4081     implementation into cursor.[Ch]; "globalize" a bit of it.
4082
4083 2004-01-25  Angus Leeming  <leeming@lyx.org>
4084
4085         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4086
4087 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4088
4089         * LaTeXFeatures.h: add nice_ and nice() const
4090         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4091
4092 2004-01-20  André Pönitz  <poenitz@gmx.net>
4093
4094         * BufferView.[Ch]:
4095         * BufferView_pimpl.C:
4096         * PosIterator.C:
4097         * bufferview_funcs.C:
4098         * cursor.[Ch]:
4099         * cursor_slice.[Ch]:
4100         * factory.C:
4101         * iterators.C:
4102         * lyx_cb.C:
4103         * lyxfind.C:
4104         * lyxfunc.C:
4105         * lyxtext.h:
4106         * rowpainter.C:
4107         * text.C:
4108         * text2.C:
4109         * text3.C:
4110         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4111           LCursor and mathcursor parts to LCursor and InsetBase.
4112
4113 2004-01-15  André Pönitz  <poenitz@gmx.net>
4114
4115         * cursor_slice.[Ch]: add a few covienience functions
4116
4117         * funcrequest.[Ch]: remove BufferView * member
4118
4119         * BufferView_pimpl.C:
4120         * cursor.C:
4121         * factory.[Ch]:
4122         * lyxfind.[Ch]:
4123         * lyxfunc.C:
4124         * lyxtext.h:
4125         * text3.C:
4126         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4127
4128 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4129
4130         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4131         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4132
4133 2004-01-13  André Pönitz  <poenitz@gmx.net>
4134
4135         * textcursor.[Ch]:
4136         * lyxtext.h: hide cursor and selection anchor behind accessor function
4137
4138         * BufferView.C:
4139         * BufferView_pimpl.[Ch]:
4140         * PosIterator.C:
4141         * bufferview_funcs.C:
4142         * cursor.h:
4143         * lyxfind.C:
4144         * lyxfunc.C:
4145         * text.C:
4146         * text2.C:
4147         * text3.C:
4148         * undo.C: adjust
4149
4150         * cursor.h:
4151         * cursor_slice.[Ch]: some integer type changes for inset unification
4152
4153         * lyxcursor.[hC]: remove, it's CursorSlice now.
4154
4155         * Makefile.am:
4156         * BufferView_pimpl.[Ch]:
4157         * bufferview_funcs.C:
4158         * cursor_slice.C:
4159         * lyxtext.h:
4160         * text.C:
4161         * text2.C:
4162         * text3.C:
4163         * textcursor.[Ch]: adjust
4164
4165 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4166
4167         * text2.C (undoSpan): add and use
4168         * text.C (breakParagraph): use undoSpan (fix bug 578)
4169         * lyxtext.h: adjust
4170
4171 2004-01-08  Angus Leeming  <leeming@lyx.org>
4172
4173         * BufferView_pimpl.C (MenuInsertLyXFile):
4174         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4175         * lyxfunc.C (menuNew, open, doImport):
4176         FileFilterList change to the FileDialog open and save functions.
4177
4178 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4179
4180         * ShareContainer.h: make isEqual and isUnique adaptable
4181
4182         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4183
4184 2004-01-07  Angus Leeming  <leeming@lyx.org>
4185
4186         * LyXAction.C:
4187         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4188
4189         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4190
4191         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4192         functions replacing find, replace and replaceAll.
4193
4194         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4195         LFUN_WORDFIND(FORWARD|BACKWARD).
4196
4197 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4198
4199         * text.C (breakParagraph): remove an outdated #warning
4200
4201 2004-01-07  André Pönitz  <poenitz@gmx.net>
4202
4203         * lyxfind.C: somewhat clearer logic
4204
4205         * text.C: prevent crash in cursorX on unitialized row cache
4206
4207 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4208
4209         * lyxcursor.[Ch] (operator>): add
4210         * textcursor.C (selStart, selEnd): use std::min and std::max
4211
4212 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * Chktex.C: include boost/format.hpp
4215
4216 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4217
4218         * InsetList.C: replace functor MathcIt with adaptable functor
4219         InsetTablePosLess
4220         (insetIterator): modify accordingly
4221
4222         * BranchList.h: move the BranchNamesEqual functor here from...
4223         * BranchList.C: ... to here
4224
4225         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4226         SameName and match.
4227         (add): replace a finding loop with std::find_if.
4228
4229 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4230
4231         * output_docbook.C: moving LatexParam functionality into
4232         .layout files
4233
4234 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4235
4236         * buffer.C: increment format to 229.
4237
4238 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4239
4240         * LaTeXFeatures.C:
4241         * lyx_sty.[Ch]: remove minipageindent_def
4242
4243         * LyXAction.C:
4244         * factory.C:
4245         * lfuns.h:
4246         * lyxfunc.C:
4247         * text3.C: remove LFUN_INSET_MINIPAGE
4248
4249 2003-12-28  Angus Leeming  <leeming@lyx.org>
4250
4251         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4252
4253 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4254
4255         * text2.C (setParagraph): fix off-by-one crash
4256
4257 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4258
4259         * output_docbook.C: header stuff for AGU
4260
4261 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4262
4263         * text2.C (redoCursor): remove
4264         * text.C:
4265         * text3.C:
4266         * BufferView_pimpl.C: remove calls to redoCursor and
4267         setCursor(cursor.par(), cursor.pos()) all around
4268
4269 2003-12-15  Angus Leeming  <leeming@lyx.org>
4270
4271         * buffer.C: up the format to 228.
4272
4273 2003-12-15  André Pönitz  <poenitz@gmx.net>
4274
4275         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4276         slices
4277
4278         * Makefile.am:
4279
4280         * BufferView_pimpl.C:
4281         * cursor.[Ch]:
4282         * lyxcursor.[Ch]:
4283         * rowpainter.[Ch]:
4284         * lyxtext.h:
4285         * text.C:
4286         * text2.C:
4287         * text3.C: adjust
4288
4289 2003-12-15  Angus Leeming  <leeming@lyx.org>
4290
4291         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4292         than getFromGUIName to manipulate the color.
4293
4294 2003-12-14  Angus Leeming  <leeming@lyx.org>
4295
4296         * BranchList.[Ch]: minimize the API.
4297         (Branch::getBranch, getColor): now return a 'const &'.
4298         (Branch::setSelected) now returns a bool set to true if the
4299         selection status changes.
4300         (BranchList::clear, size, getColor, setColor, setSelected,
4301         allBranches, allSelected, separator): removed.
4302         (BranchList::find): new functions, returning the Branch with
4303         the given name.
4304         (BranchList::add, remove): return a bool indicating that
4305         the operation was successful.
4306
4307         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4308         new InsetBranch::isBranchSlected member function.
4309
4310         * LColor.[Ch]: mimimize the API.
4311         (fill): renamed as addColor and made private.
4312         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4313         versions of these functions taking a string arg have been removed.
4314
4315         * bufferparams.C (readToken):
4316         * lyxfunc.C (dispatch):
4317         * lyxrc.C (read): changes due to the altered BranchList and
4318         LColor APIs.
4319
4320         * factory.C (createInset, readInset): changes due to altered
4321         InsetBranch c-tor.
4322
4323 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4324
4325         * factory.C:
4326         * lyxfunc.C: remove insetminipage. "minipage-insert"
4327         now produces a frameless minipage box inset.
4328
4329 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4330
4331         * textcursor.[Ch] (selStart,selEnd): add new methods
4332         remove selection::start, end, use LyXCursor::operator<
4333         * lyxcursor.[Ch] (operator<): add
4334         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4335         * BufferView.[Ch] (unsetXSel): add
4336         * text2.C (clearSelection): use unsetXSel,adjust
4337         * text.C: adjust
4338         * text3.C: adjust
4339         * rowpainter.C: adjust
4340         * bufferview_funcs.C (put_selection_at): adjust
4341
4342 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4343
4344         * BufferView_pimpl.C: small coord. correction
4345
4346 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4347
4348         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4349         dragging over the splash screen.
4350
4351 2003-12-11  Angus Leeming  <leeming@lyx.org>
4352
4353         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4354         as it is now handled in LyXText::dispatch.
4355
4356         * text3.C (doInsertInset): remove a level of nesting.
4357
4358 2003-12-11  Angus Leeming  <leeming@lyx.org>
4359
4360         * factory.C (createInset): changes due to the changed interface to
4361         InsetCommandMailer::string2params.
4362
4363 2003-12-10  Angus Leeming  <leeming@lyx.org>
4364
4365         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4366         'dialog-show-new-inset <inset name>'
4367
4368 2003-12-10  Angus Leeming  <leeming@lyx.org>
4369
4370         * buffer.C: up the format to 227.
4371
4372         * factory.C: the box inset is now identified simply by 'Box'.
4373
4374 2003-12-10  Angus Leeming  <leeming@lyx.org>
4375
4376         * buffer.C: up the format to 226.
4377
4378         * factory.C: the note inset is now identified simply by 'Note'.
4379
4380 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4381
4382         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4383         when a pit is enough. Standarize a couple of loops.
4384
4385 2003-12-05  Angus Leeming  <leeming@lyx.org>
4386
4387         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4388         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4389         data to the re-worked "log" dialog.
4390
4391 2003-12-03  André Pönitz  <poenitz@gmx.net>
4392
4393         * PosIterator.C:
4394         * iterators.C:
4395         * lyxtext.h:
4396         * output_latex.C:
4397         * paragraph_funcs.C:
4398         * text.C:
4399         * text2.C: use Inset::getText instead of Inset::getParagraph
4400
4401 2003-12-03  André Pönitz  <poenitz@gmx.net>
4402
4403         * buffer.[Ch]:
4404         * lyxtext.h:
4405         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4406         InsetText::read() as LyXText::read()
4407
4408 2003-12-02  Angus Leeming  <leeming@lyx.org>
4409
4410         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4411         type. Add a comment in the implementation that the function uses
4412         the stream's bad() function rather than fail() as the std::streams
4413         would do.
4414
4415 2003-12-02  André Pönitz  <poenitz@gmx.net>
4416
4417         * lyxlex.[Ch]: make interface more similar to std::stream
4418
4419         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4420
4421 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4422
4423         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4424
4425 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4426
4427         * vspace.[Ch]: remove VSpace::NONE
4428
4429 2003-12-01  André Pönitz  <poenitz@gmx.net>
4430
4431         * buffer.[Ch]:
4432         * lyxtext.h: move ParagraphList member to LyXText
4433         rename LyXText::ownerParagraphs to LyXText::paragraph
4434
4435         * CutAndPaste.C:
4436         * bufferview_funcs.C:
4437         * iterators.[Ch]:
4438         * lyx_cb.C:
4439         * paragraph.C:
4440         * rowpainter.C:
4441         * tabular.C:
4442         * text.C:
4443         * text2.C:
4444         * text3.C: adjust
4445
4446         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4447
4448         * undo.C: fix cursor positioning
4449
4450 2003-12-01  John Levon  <levon@movementarian.org>
4451
4452         * BufferView_pimpl.C: fix a crash on exit with
4453         a buffer open
4454
4455 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4456
4457         * BranchList.C: fix setSelected() method.
4458
4459 2003-11-28  André Pönitz  <poenitz@gmx.net>
4460
4461         * ParagraphParameters.[Ch]:
4462         * ParameterStruct.h: remove space above/below from Paragraph to
4463          InsetVSpace
4464
4465         * BufferView_pimpl.C:
4466         * factory.C:
4467         * lyxfunc.C:
4468         * lyxtext.h:
4469         * output_latex.C:
4470         * paragraph.C:
4471         * paragraph_funcs.C:
4472         * rowpainter.[Ch]:
4473         * text.C:
4474         * text2.C:
4475         * text3.C: adjust
4476
4477 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4478
4479         * factory.C: Syntax change for CharStyles
4480
4481 2003-11-28  André Pönitz  <poenitz@gmx.net>
4482
4483         * BufferView.[Ch]:
4484         * BufferView.[Ch]:
4485         * buffer.[Ch]:
4486         * buffer.[Ch]: move LyXText member
4487
4488 2003-11-28  André Pönitz  <poenitz@gmx.net>
4489
4490         * BufferView.[Ch]: make LyXText * text a private member
4491
4492         * BufferView_pimpl.C:
4493         * cursor.C:
4494         * iterators.C:
4495         * lyx_cb.C:
4496         * lyxfind.C:
4497         * lyxtext.h:
4498         * rowpainter.[Ch]:
4499         * text.C:
4500         * text2.C:
4501         * undo.C: adjust
4502
4503         * output_plaintext.C: cleanup
4504
4505 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4506
4507         * buffer.C:
4508         * lyxtextclass.[Ch]: parametrize SGML document header
4509
4510 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4511
4512         * converter.[Ch]:
4513         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4514         getFlavor().
4515
4516 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4517
4518         * text2.C (setFont): rework using PosIterator (no more recursive)
4519         (setCharFont): no more needed
4520         (setLayout): no more selection cursors fiddling (done by redoCursor)
4521         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4522         destroy remaining ones)
4523
4524 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4525
4526         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4527         * lyxtext.h: ditto
4528         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4529         selection cursors
4530         * lyxfunc.C: adjust
4531         * text3.C: adjust + re-allow multi par depth changes
4532         * textcursor.C: simplify a bit
4533
4534 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4535
4536         * src/buffer.C:
4537         * src/lyxlayout.C:
4538         * src/lyxlayout.h:
4539         * src/lyxtext.h:
4540         * src/output_docbook.C:
4541         * src/output_latex.C:
4542         * src/paragraph.C:
4543         * src/paragraph.h:
4544         * src/sgml.C:
4545         * src/sgml.h:
4546         * src/text2.C: Introducing a number of tags parametrizing various
4547         XML formats that we may want to support
4548
4549 2003-11-25  André Pönitz  <poenitz@gmx.net>
4550
4551         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4552
4553         * lyxtext.h (leftMargin/rightMargin): simplify interface
4554
4555         * rowpainter.C:
4556         * text.C:
4557         * text2.C:
4558         * text3.C: adjust
4559
4560 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4561
4562         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4563         master file to any child files. Fixes bug 546.
4564
4565 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4566
4567         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4568
4569 2003-11-24  André Pönitz  <poenitz@gmx.net>
4570
4571         * rowpainter.C: simplification
4572
4573         * text2.C (updateCounters): remove call to redoParagraph on
4574         changed labels as this is far too expensive.
4575
4576 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4577
4578         * converter.C (convert): fix a crash: this function gets
4579         called with buffer == 0 from importer code.
4580
4581 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * text3.C (cursorPrevious): make sure that we do not compare
4584         iterators form different containers.
4585         (cursorNext): ditto
4586
4587         * rowpainter.C (paintSelection): make sure that we do not compare
4588         iterators from different containers.
4589
4590         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4591         iterators from different ParagraphList containers.
4592         [NEXT] ditto
4593
4594         * text2.C (LyXText): change order of initialization slightly
4595         (operator=): new function. copy all variables except cache_par_
4596         (moveUp): make sure that we do not compare iterators from
4597         different ParagraphList constainers.
4598         (moveDown): ditto
4599
4600         * text.C (firstPar): new function
4601         (lastPar): new function
4602         (endPar): new function
4603
4604         * lyxtext.h: move things around and group public functions, public
4605         variables, private functions, private variables
4606
4607 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4608
4609         * factory.C: change call to InsetERT constructor to avoid
4610         additional invocation of method status
4611         * text2.C (toggleInset): remove redundant update() call
4612         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4613         instead of a Bufferview pointer
4614
4615 2003-11-21  André Pönitz  <poenitz@gmx.net>
4616
4617         * rowpainter.C: simplification
4618
4619 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4620
4621         * text3.C (dispatch): make possible to extend a word/row selection
4622         with the mouse
4623
4624 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4625
4626         * lyxtext.h: x0_,y0_ -> xo_,yo_
4627         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4628         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4629         * rowpainter.C (paintRows): paint full paragraphs
4630
4631 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4632
4633         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4634         screen coordinates)
4635
4636 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4637
4638         * lyxtext.h: add x0_, y0_
4639         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4640         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4641
4642 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4643
4644         * text2.C (setCursorIntern): move the x_target update here *
4645         * text3.C: change some bv() to true/false in calls to
4646         cursorUp/Down/Right/Left
4647         * cursor.C: use helper function.
4648
4649 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4650
4651         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4652         * paragraph_funcs.[Ch]: correct comment
4653         * rowpainter.C: do not paint selections away from bv->cursor()
4654         Fix a long standing selection painting bug.
4655         * text3.C: generalize mouse-selection code to LyXTexts other that
4656         top one
4657         * textcursor.C: do not use y coords if we can use par offsets
4658
4659 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4660
4661         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4662         cursor position after e.g. inset insert)
4663
4664 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4665
4666         * lyxfind.C (replace): adjust to locking removal + some
4667         code simplification
4668
4669 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4670
4671         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4672         of the path
4673
4674 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4675
4676         * lyxlayout.[Ch]:
4677         * output_docbook.C: XML sanitation: new layout
4678         parameters InnerTag and CommandDepth
4679
4680 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4681
4682         * BufferView_pimpl.C:
4683         * factory.C:
4684         * text3.C: Fix the insertion and modification of button-style
4685         insets
4686
4687 2003-11-13  André Pönitz  <poenitz@gmx.net>
4688
4689         * InsetList.[Ch]: remove deleteLyXText
4690
4691         * paragraph.[Ch]: cache beginOfBody position
4692
4693         * Bidi.C:
4694         * text.C:
4695         * text2.C:
4696         * text3.C: remove superfluous update() calls
4697
4698         * vspace.C: cleanup
4699
4700 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4701
4702         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4703         * BufferView.C (fitLockedInsetCursor): remove
4704         * cursor.[Ch] (getDim): add
4705         * text.C (getRowNearY): add faster version
4706         * text3.C: remove some update calls
4707
4708 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4709
4710         * LaTeXFeatures.C:
4711         * LyXAction.C:
4712         * MenuBackend.C:
4713         * MenuBackend.h:
4714         * dispatchresult.h:
4715         * factory.C:
4716         * lfuns.h:
4717         * lyxfunc.C:
4718         * lyxtextclass.C:
4719         * lyxtextclass.h:
4720         * text3.C: The Character Style /XML short element patch.
4721
4722 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4723
4724         * text3.C:
4725         * factory.C: Small step to solving 'unable to insert some insets'
4726         problem
4727
4728 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4729
4730         * cursor.[Ch] (updatePos): new function for updating the y
4731         position of the tip inset
4732         * bufferview_funcs.C (put_selection_at):
4733         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4734
4735 2003-11-11  André Pönitz  <poenitz@gmx.net>
4736
4737         * text.C: remove big comment on invalid Paragraph pointers as it is
4738         not valid anymore
4739
4740 2003-11-11  André Pönitz  <poenitz@gmx.net>
4741
4742         * text_funcs.[Ch]: merge with ...
4743
4744         * text.C: ... this
4745
4746         * lyxtext.h:
4747         * text2.C:
4748         * text3.C: adjust
4749
4750         * Makefile.am: remove text_funcs.[Ch]
4751
4752 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4753
4754         * cursor.C (getPos): return absolute cached y coord
4755
4756         * BufferView_pimpl.C (fitCursor): new simplistic code
4757         (workAreaDispatch): add a fitCursor call
4758
4759 2003-11-10  André Pönitz  <poenitz@gmx.net>
4760
4761         * BufferView.[Ch]:
4762         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4763
4764 2003-11-10  André Pönitz  <poenitz@gmx.net>
4765
4766         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4767         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4768         indicate that the cursor needs to leave an inset
4769
4770         * lyxtext.h: remove inset locking
4771
4772         * cursor.[Ch]: re-implement functionality provided by inset locking
4773
4774         * BufferView.[Ch]:
4775         * BufferView_pimpl.[Ch]:
4776         * LyXAction.C:
4777         * bufferview_funcs.[Ch]:
4778         * factory.C:
4779         * funcrequest.[Ch]:
4780         * iterators.C:
4781         * lyx_cb.C:
4782         * lyxfind.C:
4783         * lyxfunc.C:
4784         * text.C:
4785         * text2.C:
4786         * text3.C:
4787         * undo.C: adjust
4788
4789 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * PosIterator.[Ch]: replace the stack with a vector, add inset
4792         accesor
4793         * iterators.[C]: adjust
4794
4795 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4796
4797         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4798         replaced
4799         * paragraph_funcs.C (readParToken): put the correct id in the
4800         error item, not the id of the top paragraph
4801
4802 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4803
4804         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4805         * bufferview_funcs.C (put_selection_at): use the above
4806
4807 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4808
4809         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4810
4811 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4812
4813         * output_linuxdoc.h:
4814         * output_plaintext.h:
4815         * output.h:
4816         * output_docbook.h: add #include statements
4817
4818 2003-11-05  José Matos  <jamatos@lyx.org>
4819
4820         * output_docbook.[Ch]:
4821         * output_latex.[Ch]:
4822         * output_linuxdoc.[Ch]:
4823         * output_plaintext.[Ch]: New files for output formats.
4824         * output.[Ch]: New file for helper functions.
4825
4826         * buffer.[Ch]:
4827         * paragraph_funcs.[Ch]: output functions moved to new files.
4828
4829         * outputparams.h: rename of latexrunparams.h
4830
4831         * LaTeX.[Ch]:
4832         * buffer.[Ch]:
4833         * bufferlist.[Ch]:
4834         * converter.[Ch]:
4835         * exporter.C:
4836         * paragraph.[Ch]:
4837         * paragraph_funcs.[Ch]:
4838         * paragraph_pimpl.[Ch]:
4839         * tabular.[Ch]: rename ascii to plaintext
4840         and LatexRunParams to OutputParams.
4841
4842 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4843
4844         * iterators.[Ch] (text): require bv argument
4845         * undo.C (recordUndo):
4846         * lyxfunc.C (dispatch):
4847         * bufferview_funcs.C (put_selection_at): adjust
4848
4849 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4850
4851         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4852
4853 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4854
4855         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4856         nestings
4857
4858 2003-11-04  André Pönitz  <poenitz@gmx.net>
4859
4860         * cursor.[Ch]: restructure
4861
4862         * BufferView.[Ch]:
4863         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4864
4865         * iterators.[Ch] (asCursor): remove
4866
4867         * lfuns.h: remove LFUN_INSET_EDIT
4868
4869         * lyxfunc.C:
4870         * tabular.C:
4871         * text.C:
4872         * text2.C:
4873         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4874
4875 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * lyxfind.[Ch]: complete overhaul
4878         * BufferView_pimpl.C:
4879         * lyxfunc.C: adjust
4880         * paragraph.[Ch] (insert): add
4881
4882 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4883
4884         * BufferView.[Ch]:
4885         * lyxtext.h:
4886         * text.C: remove dead spellcheck code
4887
4888 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4889
4890         * dispatchresult.h: add a val setter
4891
4892         * cursor.C (dispatch): use a tempvar for data_[i]
4893
4894 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4895
4896         * PosIterator.[Ch]: compile fix
4897
4898 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4899
4900         * text.C (cursorPar): deactivate the cursor cache
4901
4902 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4905
4906 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4907
4908         * text3.C (dispatch): adjust for new DisptchResult semantics.
4909
4910         * lyxfunc.C (dispatch): handle update when return from
4911         Cursor::dispatch, adjust for new DispatchResult semantics.
4912
4913         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4914         DispatchResult(true) mean to not update. Add class functions for
4915         setting dispatched and update, as well as reading.
4916
4917         * cursor.C (dispatch): don't handle update here
4918
4919 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4922         * trans_mgr.C: adjust
4923
4924         * paragraph_funcs.C (readParToken): exception safety
4925
4926         * lyxvc.h: store the vcs pointer in a scoped_ptr
4927         * lyxvc.C: adjust
4928
4929         * lyxsocket.C (serverCallback): exception safety
4930
4931         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4932
4933         * ispell.C (clone): make it return a auto_ptr
4934
4935         * factory.C (createInset): exception safety
4936         (readInset): exception safety
4937
4938         * bufferlist.C (newBuffer): exception safety
4939
4940         * Thesaurus.C (Thesaurus): use initialization for aik_
4941
4942         * MenuBackend.C (expandToc): exception safety.
4943
4944 2003-11-03  André Pönitz  <poenitz@gmx.net>
4945
4946         * buffer.C:
4947         * buffer.h:
4948         * bufferview_funcs.C: remove getInsetFromId()
4949
4950         * lyxcursor.[Ch]:
4951         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4952
4953         * lyxfunc.C:
4954         * text2.C:
4955         * text3.C: adjust
4956
4957 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4958
4959         * PosIterator.C (distance, advance): new
4960         * bufferview_funcs.[Ch] (put_selection_at): new
4961         * iterators.[Ch] (lockPath): new
4962
4963 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * iterators.[Ch] (asPosIterator): added
4966         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4967         * PosIterator.[Ch]: added
4968
4969 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * text3.C:
4972         * lyxfunc.C:
4973         * cursor.C (dispatch):
4974         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4975
4976         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4977         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4978         contructor, add a class function dispatched. Remove operator>=
4979
4980 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * debug.C: only use the default constructor for debugstream
4983         (lyxerr) here.
4984
4985         * main.C (main): include debug.h and setup the lyxerr streambuf
4986         here.
4987
4988 2003-10-31  José Matos  <jamatos@lyx.org>
4989
4990         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4991
4992         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4993         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4994         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4995         * paragraph_pimpl.C (simpleTeXSpecialC):
4996         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4997         add LatexRunParams argument.
4998
4999         * exporter.C (Export): change call accordingly.
5000
5001         * latexrunparams.h: add new member to take care of the other backends.
5002 2003-10-30  José Matos  <jamatos@lyx.org>
5003
5004         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5005         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5006         factorise code for paragraph output.
5007         * buffer.[Ch]:
5008         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5009         move functions.
5010
5011 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5012
5013         * text3.C (dispatch):
5014         * lyxfunc.C (dispatch):
5015         * cursor.C (dispatch):
5016         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5017
5018         * dispatchresult.h: make the dispatch_result_t ctor explicit
5019
5020 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5021
5022         * sgml.[Ch]:
5023         * buffer.C: small refactoring of docbook stuff
5024
5025 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5026
5027         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5028         meaning.
5029
5030 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5033         operator dispatch_result_t, and operators for == != and >=
5034
5035         * cursor.C (dispatch): adjust for operator dispatch_result_t
5036         removal. comment out call to update
5037
5038         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5039
5040 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * text3.C:
5043         * text2.C:
5044         * text.C:
5045         * lyxtext.h:
5046         * lyxfunc.C:
5047         * cursor.C:
5048         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5049         (dispatch):
5050
5051         * dispatchresult.h: new file, DispatchResult broken out of
5052         insets/insetbase.h
5053
5054         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5055
5056 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5057
5058         * text.C (rowBreakPoint): put a hack inside #if 0
5059
5060 2003-10-28  André Pönitz  <poenitz@gmx.net>
5061
5062         * lyxtext.h:
5063         * metricsinfo.C:
5064         * paragraph_funcs.C:
5065         * rowpainter.C:
5066         * text.C:
5067         * text2.C: general cleanup (lots of small stuff)
5068
5069 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5070
5071         * text2.C (cursorEnd): simple fix to the "end key goes to one
5072         before the end on last row" bug
5073
5074 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5075
5076         * text.C (backspace): fix the "zombie characters"
5077
5078 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5079
5080         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5081
5082 2003-10-27  André Pönitz  <poenitz@gmx.net>
5083
5084         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5085
5086         * factory.C: handle new InsetPagebreak, InsetLine
5087
5088         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5089         and move handling into new InsetPagebreak, InsetLine
5090
5091         * BufferView_pimpl.C:
5092         * LyXAction.C:
5093         * ParagraphParameters.C:
5094         * ParameterStruct.h:
5095         * lyxfunc.C:
5096         * lyxtext.h:
5097         * paragraph.C:
5098         * paragraph.h:
5099         * paragraph_funcs.C:
5100         * paragraph_pimpl.C:
5101         * rowpainter.C:
5102         * text.C:
5103         * text2.C:
5104         * text3.C: adjust
5105
5106 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * text.C:
5109         * lyxrow_funcs.[Ch]:
5110         * Bidi.C:
5111         * paragraph.C:
5112         * lyxtext.h:
5113         * rowpainter.C:
5114         * text2.C:
5115         * text3.C: remove lastPos uses in favour of Row::endpos
5116
5117 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5118
5119         * undo.C (performUndoOrRedo): fix two crashes by setting a
5120         cursor by hand and reordering some calls. Use bv->lockInset instead
5121         of inset->edit because the latter loses cursor information
5122
5123 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5124
5125         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5126         by Martin
5127         (rowBreakPoint): fix width. change point to point + 1.
5128         Add a missing check.
5129
5130 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5131
5132         * MenuBackend.C:
5133         * lyxfunc.C: fix (at least partly) the problems
5134         with the Nav menu and headers inside branch insets
5135         reported by Kayvan
5136
5137 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * paragraph.C (getChar): add strong asserts
5140
5141         * lyxrow_funcs.C (lastPos): remove hideous hack
5142
5143         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5144         (fill): adjust to that (avoid an infinite loop)
5145
5146 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5147
5148         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5149
5150 2003-10-23  André Pönitz  <poenitz@gmx.net>
5151
5152         * RowList_fwd.h: change list<> to vector<> to gain speed
5153         after suggestion from Alfredo
5154
5155 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5156
5157         * lyxtext.h: move the bidi stuff from here...
5158         * text.C: and here
5159         * text2.C: and here
5160         * Bidi.[Ch]: ... to here
5161
5162 2003-10-23  André Pönitz  <poenitz@gmx.net>
5163
5164         * lyxtext.h:
5165         * text.C (isLastRow, isFirstRow): new functions
5166
5167         * paragraph.h: new width cache member
5168
5169         * rowpainter.C: replace RowList::iterator with Row & where possible
5170
5171         * lyxfunc.C: replace several view()->text with a single call
5172
5173         * toc.C: fix 'unused' warning
5174
5175 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5176
5177         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5178         when woring with stream::pos_type
5179         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5180
5181 2003-10-22  André Pönitz  <poenitz@gmx.net>
5182
5183         * lyxtext.h:
5184         * text.C: use Row & instead of RowList::iterator
5185
5186         * lyxrow.h: rename end() to endpos()
5187
5188         * rowpainter.C:
5189         * text.C:
5190         * text2.C: adjust
5191
5192 2003-10-22  Angus Leeming  <leeming@lyx.org>
5193
5194         * buffer.[Ch] (fully_loaded): new member function, returning true
5195         only when the file has been loaded fully.
5196         Used to prevent the premature generation of previews and by the
5197         citation inset to prevent computation of the natbib-style label.
5198
5199         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5200         templates are all set up.
5201
5202         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5203
5204 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5205
5206         * text.C: fixed an "oops" in the "is a bit silly"
5207         bug fix
5208
5209 2003-10-21  André Pönitz  <poenitz@gmx.net>
5210
5211         * FuncStatus.[Ch]: small stuff, whitespace
5212
5213         * lyxfont.[Ch]: operator<<() for debug reasons
5214
5215         * lyxfunc.C:
5216         * lyxrow_funcs.C:
5217         * lyxtext.h: whitespace, spelling
5218
5219         * paragraph.C: naming of variables
5220
5221         * text.C:
5222         * text2.C: small stuff
5223
5224
5225 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5226
5227         * text.C: (1) finish off the inset display() work;
5228         (2) fix the "is a bit silly" bug (accessing char
5229         past end of par).
5230
5231 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5232
5233         * text.C: re-introduce display() for insets, fixing the
5234         various bugs (stretch of line above, math inset
5235         positioning, ...)
5236
5237 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5238
5239         * text.C (rightMargin): remove spurious semicolon
5240
5241         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5242         1415)
5243
5244 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5245
5246         * text3.C: fix one crash due to wrong cursor def
5247
5248 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * vc-backend.C (scanMaster): make the regex static
5251
5252         * LaTeX.C (scanAuxFile): make the regexs static
5253
5254         * text3.C (doInsertInset, dispatch, dispatch):
5255         * text2.C (cursorUp, cursorDown):
5256         * text.C (selectNextWordToSpellcheck):
5257         * BufferView_pimpl.C (dispatch):
5258         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5259
5260 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5261
5262         * lyxsocket.C: include <cerrno>
5263
5264 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * lyxfunc.C (dispatch): remove textcache stuff
5267
5268         * bufferlist.C (release): remove textcache stuff
5269         (closeAll): ditto
5270
5271         * TextCache.C: delete file
5272         * TextCache.h: delete file
5273
5274         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5275
5276         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5277         delete of the bv_->text.
5278         (resizeCurrentBuffer): remove texcache stuff
5279         (workAreaResize): ditto
5280
5281 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5282
5283         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5284         action.
5285
5286 2003-10-16  André Pönitz  <poenitz@gmx.net>
5287
5288         * lyxrow.[Ch]:
5289         * paragraph.h:
5290         * rowpainter.C:
5291         * text.C:
5292         * text2.C:
5293         * text3.C: speed up by storing y positions per paragraph plus per-row
5294         offset instead of having a 'full' y position in the row.
5295
5296 2003-10-15  André Pönitz  <poenitz@gmx.net>
5297
5298         * iterators.[Ch]:
5299         * iterators.[Ch]:
5300         * undo.[Ch]: make undo aware of inner insets
5301
5302 2003-10-14  Angus Leeming  <leeming@lyx.org>
5303
5304         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5305         static member functions LyX::ref() and LyX::cref.
5306         (lastfiles): new accessor functions for the new lastfiles_ member var.
5307         (addLyXView, views_): add a new LyXView to the list of views_.
5308         (updateInset): loop over all LyXViews to call their own updateInset
5309         member function, returning a pointer to the Buffer owning the inset.
5310
5311         * BufferView_pimpl.C (loadLyXFile):
5312         * MenuBackend.C (expandLastfiles):
5313         * bufferlist.C (MenuWrite, QuitLyX):
5314         lastfiles is no longer a global variable.
5315         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5316
5317         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5318         static function. Access through LyX::cref().emergencyCleanup().
5319
5320 2003-10-14  André Pönitz  <poenitz@gmx.net>
5321
5322         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5323
5324         * undo.[Ch]: restoring part of 'undo in insets'
5325
5326         * Makefile.am:
5327         * undo_funcs.[Ch]: merge with undo.[Ch]
5328
5329         * tabular.C: small cleansing stuff
5330
5331 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * paragraph_funcs.C (readParToken): report unknown insets as error
5334         boxes. Use the outer paragraph as location (also for unknown
5335         tokens).
5336
5337         * factory.C (readInset): do not abort on reading an unknown inset.
5338         Eat it and return 0.
5339
5340 2003-10-13  Angus Leeming  <leeming@lyx.org>
5341
5342         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5343
5344         * lyxrc.C: displayTranslator is now a function,
5345         declared in GraphicsTypes.h.
5346
5347 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5348
5349         * format.C: new placeholder $$a to pass the socket address.
5350
5351         * bufferlist.[Ch]: new function getBufferFromTmp.
5352
5353         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5354           files in the temporary dir.
5355
5356 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5357
5358         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5359
5360         * Makefile.am: add lyxsocket.[Ch].
5361
5362         * lyx_main.C (error_handler): handle SIGPIPE.
5363
5364 2003-10-13  André Pönitz  <poenitz@gmx.net>
5365
5366         * BufferView_pimpl.C:
5367         * lyxtext.h:
5368         * text.C:
5369         * text2.C:
5370         * text3.C:
5371         * undo_funcs.[Ch]: use paroffset_type instead of
5372           ParagraphList::iterators to prevent multiple conversion
5373           (and get a more robust interface)
5374
5375 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5378         * lyxtext.h: ditto
5379         * text3.C (dispatch): ditto
5380
5381 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5384         move the onlyfile, use onlyfile instead of foundfile in a couple
5385         of places.
5386
5387         * DepTable.C (update): flush the error stream a bit more
5388
5389 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * lyxserver.C (callback): adjust
5392
5393         * lyxfunc.C (getStatus): add a missing brace in commented code
5394         (ensureBufferClean): reindent
5395         (dispatch): delete version taking a string
5396
5397 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5398
5399         * LaTeX.C (deplog): move found file handlig from here...
5400         (handleFoundFile): .. to new function here.
5401         (deplog): make sure to discover several files mentioned on the
5402         same log line.
5403
5404 2003-10-10  André Pönitz  <poenitz@gmx.net>
5405
5406         * lyxfunc.C:
5407         * lyxtext.h:
5408         * tabular.C:
5409         * text.C:
5410         * text2.C:
5411         * text3.C: fix some of the tabular crashes
5412
5413 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5414
5415         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5416
5417         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5418
5419 2003-10-09  André Pönitz  <poenitz@gmx.net>
5420
5421         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5422
5423         * BufferView.C:
5424         * BufferView_pimpl.C:
5425         * bufferview_funcs.C:
5426         * lyx_cb.C:
5427         * lyxcursor.C:
5428         * lyxfind.C:
5429         * lyxfunc.C:
5430         * lyxtext.h:
5431         * text.C:
5432         * text2.C:
5433         * text3.C:
5434         * text_funcs.[Ch]:
5435         * textcursor.[Ch]:
5436         * undo_funcs.C: adjust
5437
5438 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * text2.C (incrementItemDepth): new function, use a backtracking
5441         algorithm to discover the correct item depth.
5442         (resetEnumCounterIfNeeded): new function, use a backtracking
5443         algorithm to discover if counter reset is needed.
5444         (setCounter): use them. Simplify a bit. Add different labels for
5445         different item depths for itemize.
5446
5447         * paragraph.C (Paragraph): remove initialization of enumdepth
5448         (operator=): ditto
5449
5450         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5451         enumerate and itemize. Change the type of itemdepth to signed char.
5452
5453 2003-10-08  André Pönitz  <poenitz@gmx.net>
5454
5455         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5456           thing assignable.
5457         * text.C:
5458         * text2.C: adjust
5459
5460         * tabular.[Ch]: fix crash after 'row-insert'
5461
5462 2003-10-08  Angus Leeming  <leeming@lyx.org>
5463
5464         Fix doxygen warnings.
5465
5466         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5467         Remove CutAndPaste:: prefix from header file declaration.
5468
5469         * LColor.h (fill): remove LColor:: prefix from declaration.
5470
5471         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5472         use lyx::depth_type rather than Paragraph::depth_type so that
5473         header file and .C file match.
5474
5475         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5476
5477         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5478         * aspell.C: \file aspell_local.C -> \file aspell.C
5479         * gettext.C: \file gettext.C -> \file src/gettext.C
5480         * gettext.h: \file gettext.h -> \file src/gettext.h
5481         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5482         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5483         * text.C: \file text.C -> \file src/text.C
5484
5485         * toc.C: move comment so that doxygen is not confused.
5486
5487 2003-10-07  Angus Leeming  <leeming@lyx.org>
5488
5489         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5490
5491 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5492
5493         * aspell.C:
5494         * aspell_local.h: add forgotten std::string's.
5495
5496 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5497
5498         * LaTeXFeatures.C:
5499         * LyXAction.C:
5500         * factory.C:
5501         * lfuns.h:
5502         * lyxfunc.C:
5503         * text3.C: The Box patch. Fancybox support, minipage, parbox
5504
5505 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5506
5507         * CutAndPaste.h:
5508         * DepTable.h:
5509         * FloatList.h:
5510         * LaTeXFeatures.h:
5511         * ParagraphParameters.h:
5512         * TextCache.h:
5513         * Thesaurus.h:
5514         * bufferlist.h:
5515         * exporter.h:
5516         * importer.h:
5517         * lastfiles.h:
5518         * lyxfind.h:
5519         * lyxfont.h:
5520         * lyxlex.h:
5521         * lyxtextclasslist.h:
5522         * messages.h:
5523         * paragraph.h:
5524         * paragraph_pimpl.C:
5525         * textcursor.h: add <string> and other small fixes to make Lars'
5526         std::string patch compile with STLport.
5527
5528 2003-10-06  Angus Leeming  <leeming@lyx.org>
5529
5530         * LColor.h: Add missing #include <string>.
5531
5532 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * All most all file in all subdirs: Make <string> be the prefered
5535         way of getting to std::string, add using declarations.
5536
5537 2003-10-06  André Pönitz  <poenitz@gmx.net>
5538
5539         * metricsinfo.C: initialize LyXFont before changing attribute.
5540         (fixes the 'math in \emph is upright' bug)
5541
5542 2003-10-06  André Pönitz  <poenitz@gmx.net>
5543
5544         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5545
5546 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5547
5548         * graph.C:
5549         * paragraph_pimpl.C: Small fixes to build using STLport
5550
5551 2003-10-02  André Pönitz  <poenitz@gmx.net>
5552
5553         * lyxfunc.C:
5554         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5555
5556 2003-10-01  André Pönitz  <poenitz@gmx.net>
5557
5558         * factory.C: assert early
5559
5560 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5561
5562         * lyx_main.C: remove the global debug object
5563
5564         * debug.h: adjust for new debugstream
5565
5566         * debug.C: adjust for new debugstream and keep the global debug
5567         object here.
5568
5569 2003-09-22  Angus Leeming  <leeming@lyx.org>
5570
5571         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5572         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5573         an incomplete class LyXFont.
5574
5575 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5576
5577         * factory.C: bug fix in branches
5578
5579 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * lyxfunc.C (processKeySym): adjust
5582         (dispatch): adjust
5583         (dispatch): change arg name from ev to func, adjust
5584         (sendDispatchMessage): ditto
5585
5586         * lyx_main.C (defaultKeyBindings): adjust keybindings
5587         (deadKeyBindings): ditto
5588
5589         * kbsequence.C (addkey): return a FuncRequest
5590
5591         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5592
5593         * kbmap.C (bind): take a FuncRequest as arg, adjust
5594         (read): adjust
5595         (lookup): adjust
5596         (defkey): change to take a FuncRequest as arg, adjust
5597         (findbinding): take a FuncRequest as arg, adjust.
5598
5599         * funcrequest.h (operator=): added
5600
5601         * funcrequest.C (FuncRequest): default kb_action changed from
5602         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5603
5604         * buffer.C (dispatch): simplify
5605         (dispatch): adjust to take a FuncRequest as arg, adjust
5606
5607         * boost.C (assertion_failed): change assertion message slightly
5608
5609         * ToolbarBackend.C (read): simplify
5610
5611         * MenuBackend.C (binding): adjust call to findbinding, add a
5612         message if no binding is found.
5613         (read): simplify
5614         (expandToc): correct by adding a empty FuncRequest
5615
5616         * LyXAction.C: include <boost/assert.hpp>
5617         (isPseudoAction): delete function
5618         (LookupFunc): change name to...
5619         (lookupFunc): this. change return type to FuncRequest.
5620         (getActionName): take kb_action as arg, simplify
5621         (funcHasFlag): add an assert, simplify.
5622
5623 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * toc.C (action): return a FuncRequest, simplify
5626
5627         * lyxfunc.C (processKeySym): adjust
5628         (getStatus): delete version that takes an int.
5629         (getStatus): adjust
5630         (dispatch): delete version that takes action as int
5631         (dispatch): adjust
5632         (sendDispatchMessage): simplify and adjust
5633
5634         * funcrequest.C (getArg): take unsigned int as arg
5635
5636         * ToolbarBackend.C (read): adjust
5637         (add): delete version that takes func as a string.
5638         (getIton): take a FuncRequest as arg
5639
5640         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5641         action.
5642
5643         * MenuBackend.C (MenuItem): add a new construct that only takes a
5644         Kind, simplify the constructor use for submenus.
5645         (add): adjust
5646         (expandLastfiles): adjust
5647         (expandDocuments): adjust
5648         (expandFormats): adjust
5649         (expandFloatListInsert): adjust
5650         (expandFloatInsert): adjust
5651         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5652
5653         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5654         Remove class variables lyx_pseudo_map and lyx_arg_map
5655
5656         * LyXAction.C (searchActionArg): delete function
5657         (getPseudoAction): delete function
5658         (retrieveActionArg): delete function
5659         (LookupFunc): make it return kb_action, simplify.
5660         (getActionName): simplify
5661
5662         * factory.C (createInset): fix new bug
5663
5664 2003-09-19  Angus Leeming  <leeming@lyx.org>
5665
5666         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5667         masterFilename_ parameter in the include inset.
5668
5669         * factory.C (createInset): changes due to the changes to InsetInclude.
5670
5671 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5672
5673         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5674
5675 2003-09-18  Angus Leeming  <leeming@lyx.org>
5676
5677         * buffer.C:
5678         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5679         Inset::fillWithBibKeys.
5680         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5681
5682 2003-09-18  Angus Leeming  <leeming@lyx.org>
5683
5684         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5685         variables.
5686         (ctor): pass and store a 'Buffer const &'
5687         (buffer): new member function.
5688
5689         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5690         '*this' to the LaTeXFeatures ctor.
5691
5692 2003-09-18  Angus Leeming  <leeming@lyx.org>
5693
5694         * LColor.h:
5695         * lyxfont.C:
5696         * lyxfont.h:
5697         * lyxtext.h:
5698         * text.C: rename EnumLColor as LColor_color.
5699
5700 2003-09-18  Angus Leeming  <leeming@lyx.org>
5701
5702         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5703         remove #include "insets/insetbase.h" from cursor.h.
5704
5705 2003-09-18  Angus Leeming  <leeming@lyx.org>
5706
5707         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5708         InsetOld_code to remove #include "inset.h".
5709
5710         * iterators.C: add #include "insets/inset.h"
5711
5712 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5713
5714         * BufferView.C: remove more locking stuff that apparently doesn't
5715         do anything sensible.
5716
5717 2003-09-16  André Pönitz  <poenitz@gmx.net>
5718
5719         * paragraph.[Ch]:
5720         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5721           performance boost.
5722
5723 2003-09-16  Angus Leeming  <leeming@lyx.org>
5724
5725         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5726
5727         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5728         arg/return type.
5729
5730         * paragraph.h: remove #include "lyxfont.h". Forward declare
5731         LyXFont_size.
5732
5733 2003-09-16  Angus Leeming  <leeming@lyx.org>
5734
5735         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5736         of support/textutils.h.
5737         (isWord): move the contents of support/textutils.h's IsWordChar here.
5738
5739         * buffer.C:
5740         * lyxfind.C:
5741         * rowpainter.C:
5742         * text.C:
5743         * text2.C: add #include "paragraph.h".
5744
5745         * rowpainter.C:
5746         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5747
5748 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5749
5750         * main.C:
5751         * lyx_main.C:
5752         * lyx_cb.C:
5753         * buffer.C:
5754         * LaTeX.C: use namespace alias for lyx::support::os
5755
5756 2003-09-16  Angus Leeming  <leeming@lyx.org>
5757
5758         * bufferparams.C:
5759         * bufferview_funcs.C:
5760         * factory.C:
5761         * lyxfunc.C:
5762         * paragraph_pimpl.C:
5763         * rowpainter.C:
5764         * text.C: add #include "LColor.h".
5765
5766 2003-09-16  Angus Leeming  <leeming@lyx.org>
5767
5768         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5769         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5770         return LyXFont &.
5771         Store the FontBits::color variable as an int rather than as an
5772         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5773         file.
5774
5775         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5776         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5777         string calls together.
5778
5779         * lyxrc.C: add #include "LColor.h".
5780
5781 2003-09-15  Angus Leeming  <leeming@lyx.org>
5782
5783         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5784         a cow_ptr.
5785
5786 2003-09-15  Angus Leeming  <leeming@lyx.org>
5787
5788         * LColor.h: add an EnumLColor wrapper for LColor::color.
5789
5790         * lyxfont.[Ch] (color, setColor, realColor):
5791         * lyxtext.h, text.C (backgroundColor):
5792         pass EnumLColor args to/from the functions, rather than LColor::color
5793         ones.
5794
5795         * lyxfont.h:
5796         * lyxtext.h: forward declare EnumLColor.
5797
5798         * lyx_main.C: add #include "LColor.h".
5799
5800 2003-09-15  Angus Leeming  <leeming@lyx.org>
5801
5802         * .cvsignore: add lyx-gtk.
5803
5804 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5805
5806         * Chktex.C
5807         * LaTeX.C
5808         * LaTeXFeatures.C
5809         * ParagraphParameters.C
5810         * Spacing.C
5811         * buffer.C
5812         * bufferparams.C
5813         * bufferview_funcs.C
5814         * chset.C
5815         * counters.C
5816         * funcrequest.C
5817         * lyxfont.C
5818         * lyxgluelength.C
5819         * lyxlength.C
5820         * paragraph.C
5821         * paragraph_funcs.C
5822         * text3.C
5823         * vc-backend.C: remove usage of STRCONV
5824
5825 2003-09-15  Angus Leeming  <leeming@lyx.org>
5826
5827         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5828         explicitly define the color passed to the painter.
5829
5830 2003-09-15  Angus Leeming  <leeming@lyx.org>
5831
5832         * bufferparams.C (BufferParams): reorder member initializers to avoid
5833         compiler warning.
5834
5835 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5836
5837         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5838         * text.C (updateRowPositions): remove an unusual nop
5839
5840 2003-09-12  André Pönitz  <poenitz@gmx.net>
5841
5842         * BufferView_pimpl.C:
5843         * Bullet.C:
5844         * layout.h:
5845         * lyxfunc.C:
5846         * lyxlayout.[Ch]:
5847         * lyxtextclass.C:
5848         * rowpainter.C:
5849         * text.C:
5850         * text2.C:
5851         * Counters.[Ch]: finish the 'automatic counters' job
5852
5853 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5854
5855         * aspell.C: include <boost/assert.cpp> (compile fix)
5856
5857 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5858
5859         * boost.C (assertion_failed): use lyx::support::abort instead of
5860         assert.
5861
5862 2003-09-10  Angus Leeming  <leeming@lyx.org>
5863
5864         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5865         with their _fwd progeny.
5866
5867 2003-09-09  Angus Leeming  <leeming@lyx.org>
5868
5869         134 files throughtout the source tree: replace 'using namespace abc;'
5870         directives with the appropriate 'using abc::xyz;' declarations.
5871
5872 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5873
5874         * boost.C (emergencyCleanup): moved here from LAssert.c
5875         (assertion_failed): new function, called by BOOST_ASSERT
5876
5877         * several files: change Assert to BOOST_ASSERT
5878
5879 2003-09-09  Angus Leeming  <leeming@lyx.org>
5880
5881         * buffer.[Ch]: Add an Impl class and move Buffer's member
5882         variables into it. As a result move several header files out of
5883         buffer.h.
5884
5885         Add header files to lots of .C files all over the tree as a result.
5886
5887 2003-09-09  Angus Leeming  <leeming@lyx.org>
5888
5889         * buffer.[Ch]: make Buffer's member variables private. Add
5890         accessor functions.
5891
5892         Lots of changes all over the tree as a result.
5893
5894 2003-09-08  Angus Leeming  <leeming@lyx.org>
5895
5896         * graph.C: #include <config.h>.
5897
5898 2003-09-08  Angus Leeming  <leeming@lyx.org>
5899
5900         * BranchList.C:
5901         * BufferView.C:
5902         * BufferView_pimpl.C:
5903         * CutAndPaste.C:
5904         * DepTable.C:
5905         * LaTeX.C:
5906         * LaTeXFeatures.C:
5907         * LyXAction.C:
5908         * MenuBackend.C:
5909         * TextCache.C:
5910         * aspell.C:
5911         * buffer.C:
5912         * bufferlist.C:
5913         * changes.C:
5914         * chset.C:
5915         * converter.C:
5916         * counters.C:
5917         * debug.C:
5918         * graph.C:
5919         * ispell.C:
5920         * lyx_cb.C:
5921         * lyxfind.C:
5922         * lyxfunc.C:
5923         * lyxlex_pimpl.C:
5924         * lyxrc.C:
5925         * lyxrow.C:
5926         * paragraph.C:
5927         * rowpainter.C:
5928         * texrow.C:
5929         * text.C:
5930         * text2.C:
5931         * toc.C: remove redundant using directives.
5932
5933 2003-09-07  Angus Leeming  <leeming@lyx.org>
5934
5935         * LaTeXFeatures.h: remove #include "support/types.h".
5936         * ToolbarBackend.h: remove #include <algorithm>.
5937         * changes.h: remove #include <ctime>.
5938         * debug.h: remove #include <iosfwd>.
5939         * graph.h: remove #include "support/std_string.h".
5940         * lyx_main.h: remove #include <csignal>.
5941         * lyxlex_pimpl.h: remove #include <fstream>.
5942         * sgml.h: remove #include <algorithm>, <utility>.
5943         * toc.h: remove #include "support/std_ostream.h".
5944         Add #include <iosfwd>.
5945
5946 2003-09-07  Angus Leeming  <leeming@lyx.org>
5947
5948         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5949
5950         * converter.h: forward declare LatexRunParams.
5951         * encoding.h: remove #include "lyxrc.h".
5952         * lyxtext.h: remove #include "LColor.h".
5953         * lyxtextclass.h: remove #include "support/types.h".
5954         * trans.h: remove #include "tex-accent.h".
5955         * trans_mgr.h: remove #include "tex-accent.h".
5956         * insets/inset.h: remove #include "support/types.h", <vector>.
5957         * insets/insetcollapsable.h: remove #include "LColor.h".
5958         * insets/insetinclude.h: remove #include "dimension.h".
5959         * insets/insetlatexaccent.h: remove #include "dimension.h".
5960         * insets/insetoptarg.h:: remove #include "insettext.h".
5961         * insets/insettext.h: remove #include "dimension.h",
5962         <boost/shared_ptr.hpp>
5963
5964         * insets/renderers.h: add #include "dimension.h".
5965         * insets/updatableinset.h: add #include "support/types.h".
5966
5967         * many .C files: Associated changes.
5968
5969 2003-09-06  Angus Leeming  <leeming@lyx.org>
5970
5971         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5972         one, inside testInvariant.
5973
5974         * PrinterParams.C: new file.
5975         * PrinterParams.[Ch]: move the function bodies out of line.
5976
5977 2003-09-06  Angus Leeming  <leeming@lyx.org>
5978
5979         * ParagraphParameters.h: forward declare ParameterStruct rather than
5980         including its header file.
5981         (depth): moved out-of-line.
5982
5983 2003-09-06  Angus Leeming  <leeming@lyx.org>
5984
5985         * BufferView_pimpl.h:
5986         * kbmap.h:
5987         * kbsequence.h:
5988         * lyxfunc.h: forward declare LyXKeySym rather than
5989         #include "frontends/LyXKeySym.h".
5990
5991         * BufferView_pimpl.C:
5992         * kbmap.C:
5993         * kbsequence.C:
5994         * lyxfunc.C: associated changes.
5995
5996 2003-09-06  Angus Leeming  <leeming@lyx.org>
5997
5998         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5999         As a result, can remove the #include "insets/inset.h" from BufferView.h
6000
6001 2003-09-06  Angus Leeming  <leeming@lyx.org>
6002
6003         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6004         As a result, can remove the #include "insets/inset.h" from BufferView.h
6005
6006 2003-09-06  Angus Leeming  <leeming@lyx.org>
6007
6008         * buffer_funcs.C:
6009         * buffer.h:
6010         * bufferlist.C:
6011         * BufferView.C:
6012         * bufferview_funcs.C:
6013         * BufferView_pimpl.C:
6014         * CutAndPaste.C:
6015         * lyx_cb.C:
6016         * lyxfunc.C:
6017         * paragraph.h:
6018         * ParagraphParameters.C:
6019         * tabular.C:
6020         * text3.C:
6021         * toc.C:
6022         * undo_funcs.C:
6023         * frontends/controllers/ControlDocument.C:
6024         * insets/insetcaption.C: rearrange the #includes into some sort of
6025         coherent order.
6026
6027         * buffer.h: remove #includes ErrorList.h, undo.h
6028
6029 2003-09-06  Angus Leeming  <leeming@lyx.org>
6030
6031         * support/types.h: add a 'depth_type' typedef, used to store the
6032         nesting depth of a paragraph.
6033
6034         * paragraph.h:
6035         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6036         defining explicitly.
6037
6038         * buffer.h:
6039         * paragraph_funcs.h:
6040         * ParagraphParameters.h:
6041         * sgml.h: use lyx::depth_type rather than Paragraph or
6042         ParameterStruct's depth_type.
6043
6044         * buffer.h
6045         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6046
6047         * BufferView.C:
6048         * BufferView_pimpl.C:
6049         * CutAndPaste.C:
6050         * ParagraphParameters.C:
6051         * buffer_funcs.C:
6052         * bufferlist.C:
6053         * bufferview_funcs.C:
6054         * lyx_cb.C:
6055         * lyxfunc.C:
6056         * tabular.C:
6057         * text3.C:
6058         * toc.C:
6059         * undo_funcs.C:
6060         * frontends/LyXView.C:
6061         * frontends/controllers/ControlDocument.C:
6062         * frontends/controllers/ControlErrorList.C:
6063         * insets/insetbibitem.C:
6064         * insets/insetbranch.C:
6065         * insets/insetcaption.C:
6066         * insets/insetcollapsable.C:
6067         * insets/insetenv.C:
6068         * insets/insetert.C:
6069         * insets/insetfloat.C:
6070         * insets/insetfoot.C:
6071         * insets/insetfootlike.C:
6072         * insets/insetnewline.C:
6073         * insets/insetquotes.C:
6074         * insets/insettabular.C:
6075         * insets/insettext.C:
6076         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6077
6078         * frontends/controllers/ControlChanges.C: #include "changes.h".
6079
6080 2003-09-06  Angus Leeming  <leeming@lyx.org>
6081
6082         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6083         than #including paragraph.h.
6084
6085         * ParagraphList.h:
6086         * RowList.h: deleted. Superfluous.
6087
6088         * CutAndPaste.h:
6089         * iterators.h:
6090         * lyxcursor.h:
6091         * lyxtext.h:
6092         * text_funcs.h:
6093         * undo.h:
6094         * undo_funcs.h:
6095         * insets/inset.h:
6096         * insets/insettext.h: use ParagraphList_fwd.h rather than
6097         ParagraphList.h.
6098
6099         * paragraph.h: don't forward declare ParagraphList.
6100
6101         * buffer.h:
6102         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6103         rather than ParagraphList.h. paragraph.h is still needed for the
6104         Paragraph::depth_type parameters.
6105
6106         * textcursor.h: enable it to compile stand-alone in light of the
6107         above changes.
6108
6109         * bufferview_funcs.C:
6110         * iterators.C:
6111         * lyxfunc.C:
6112         * lyxrow_funcs.C:
6113         * paragraph.C:
6114         * rowpainter.C:
6115         * text.C:
6116         * text2.C:
6117         * text3.C:
6118         * text_funcs.C:
6119         * textcursor.C:
6120         * undo.C:
6121         * frontends/controllers/ControlParagraph.C:
6122         * frontends/controllers/ControlTabular.C:
6123         * insets/insetmarginal.C:
6124         * insets/insetminipage.C:
6125         * insets/insetnote.C:
6126         * insets/insetoptarg.C: add header files needed to compile again.
6127
6128 2003-09-06  Angus Leeming  <leeming@lyx.org>
6129
6130         * RowList_fwd.h: new file, forward-declaring Row rather than
6131         #including lyxrow.h.
6132
6133         * lyxrow_funcs.h:
6134         * lyxtext.h:
6135         * paragraph.h:
6136         * insets/insettext.h: use it instead of RowList.h
6137
6138         * bufferview_funcs.C:
6139         * lyxfunc.C:
6140         * lyxrow_funcs.C:
6141         * paragraph.C:
6142         * rowpainter.C:
6143         * text.C:
6144         * text2.C:
6145         * text3.C: #include "RowList.h".
6146
6147 2003-09-05  Angus Leeming  <leeming@lyx.org>
6148
6149         * factory.C (createInset):
6150         * vspace.C (c-tor): replace sscanf call with an istringstream.
6151         * ispell.C: re-add missing HP/UX headers.
6152         * lyxserver.C: re-add missing  os2 headers.
6153
6154 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6155
6156         * BranchList.C:
6157         * graph.C:
6158         * ispell.C:
6159         * lastfiles.C:
6160         * lyx_cb.C:
6161         * lyxserver.C:
6162         * texrow.C:
6163         * text3.C: re-add missing system headers, needed for 2.95.2.
6164
6165 2003-09-05  Angus Leeming  <leeming@lyx.org>
6166
6167         Changes most place everywhere due to the removal of using directives
6168         from support/std_sstream.h.
6169
6170 2003-09-05  Angus Leeming  <leeming@lyx.org>
6171
6172         Replace LString.h with support/std_string.h,
6173         Lsstream.h with support/std_sstream.h,
6174         support/LIstream.h with support/std_istream.h,
6175         support/LOstream.h with support/std_ostream.h.
6176
6177         Changes resulting throughout the tree.
6178
6179 2003-09-05  Angus Leeming  <leeming@lyx.org>
6180
6181         * sgml.h: ensure that the header file can be compiled stand-alone.
6182         * *.C: strip out redundant #includes. (320 in total.)
6183
6184 2003-09-04  Angus Leeming  <leeming@lyx.org>
6185
6186         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6187         here (from getPackages).
6188
6189         * debug.[Ch]: add a new EXTERNAL tag.
6190
6191 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6192
6193         * text2.C (cursorEnd): simplify
6194         (setCursor): adjust
6195         (getColumnNearX): adjust
6196
6197         * text.C (computeBidiTables): adjust
6198         (fill): adjust
6199
6200         * rowpainter.C (paintChars): adjust
6201         (paintSelection): adjust
6202         (paintChangeBar): adjust
6203         (paintText): adjust
6204
6205         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6206         lastPos instead.
6207         (numberOfSeparators): adjust
6208
6209 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6210
6211         * LyXAction.C:
6212         * box.[Ch]:
6213         * lfuns.h:
6214         * lyxfunc.C:
6215         * text3.C: Restricts the mouse click functionality
6216         of insets like bibtex, include, toc and floatlist to the visible
6217         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6218         up the dialogs. Cursor has to be in front of the inset (i.e.
6219         start of row) for this to function.
6220
6221 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6222
6223         * bufferview_funcs.C (currentState): output row information
6224
6225 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6226
6227         * bufferview_funcs.C (currentState): output paragraph position
6228
6229 2003-09-04  Angus Leeming  <leeming@lyx.org>
6230
6231         * FloatList.h: move out #include "Floating.h".
6232         * LaTeX.h: move out #include "DepTable.h".
6233         * LyXAction.h: move out #include "funcrequest.h".
6234         * buffer.h: move out #include "author.h", "iterators.h".
6235         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6236         * lyx_main.h: move out #include "errorlist.h".
6237         * lyxfunc.h: move out #include "FuncStatus.h".
6238         * lyxtext: move out #include "lyxcursor.h".
6239         * paragraph_pimpl.h: move out #include "counters.h".
6240
6241 2003-09-03  Angus Leeming  <leeming@lyx.org>
6242
6243         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6244         preamble_snippets list, enabling us to add snippets to the preamble
6245         only if the snippet was not there already.
6246
6247 2003-09-04  Angus Leeming  <leeming@lyx.org>
6248
6249         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6250
6251 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6252
6253         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6254         update
6255
6256 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6257
6258         * BranchList.C: point fix, earlier forgotten
6259
6260 2003-09-02  Angus Leeming  <leeming@lyx.org>
6261
6262         * box.C (contains): renamed from 'contained' after a fantastic
6263         amount of hot air.
6264
6265 2003-09-02  John Levon  <levon@movementarian.org>
6266
6267         * BufferView.C:
6268         * lyxcursor.h:
6269         * lyxcursor.C:
6270         * lyxfunc.C:
6271         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6272
6273 2003-09-02  John Levon  <levon@movementarian.org>
6274
6275         * text2.C: simplification of cursorEnd(), including partial
6276         fix for bug 1376
6277
6278 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * buffer.C (readFile): add a space
6281
6282 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6283
6284         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6285
6286 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287
6288         * buffer.C (readFile): new function, take a filename and a
6289         ParagraphList::iterator
6290         (readFile): adjust
6291         (readFile): adjust, make it private. don't use setStream, make
6292         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6293         always contain the filename.
6294
6295         * BufferView.C (insertLyXFile): simplify and make it work for
6296         gzipped files.
6297
6298 2003-08-30  John Levon  <levon@movementarian.org>
6299
6300         * Makefile.am: fix dist (from Kayvan)
6301
6302 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * most files: change to use const Buffer refs
6305
6306 2003-08-27  André Pönitz  <poenitz@gmx.net>
6307
6308         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6309         on top of ownerPar().
6310
6311 2003-08-27  John Levon  <levon@movementarian.org>
6312
6313         * funcrequest.C: properly initialise POD members
6314
6315 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6316
6317         * lyxtext.h (top_y): move top_y from here
6318         * text.C:
6319         * text2.C:
6320         * text3.C:
6321         * BufferView.[Ch]:
6322         * BufferView_pimpl.[Ch]: to here
6323         * frontends/screen.C:
6324         * insets/insettabular.C:
6325         * insets/insettext.C: adjust
6326         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6327
6328 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6329
6330         * BufferView.[Ch]:
6331         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6332
6333 2003-08-26  André Pönitz  <poenitz@gmx.net>
6334
6335         * paragraph_func.[Ch] (outerPar): new function
6336
6337         * paragraph.C:
6338         * paragraph_funcs.C:
6339         * paragraph_funcs.h:
6340         * paragraph_pimpl.C:
6341         * text2.C: remove Inset::par_owner
6342
6343 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6344
6345         * lyxrow_funcs.C:
6346         * lyxtext.h:
6347         * text.C:
6348         * text2.C: eliminates the needFullRow/display() stuff
6349         altogether, putting the logic in metrics/draw in the insets.
6350
6351 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6352
6353         * text2.C (redoParagraphInternal, redoParagraphs):
6354         * text.C (redoParagraph): add a call to updateRowPositions at the
6355         end of each 'metrics-like' call. Remove all others.
6356         (getRow): remove the 'y-computing' version.
6357         (getRowNearY): do not compute nor return the real y. Solve the
6358         'y < 0' problem and simplify.
6359
6360 2003-08-22  Angus Leeming  <leeming@lyx.org>
6361
6362         * *.[Ch]: clean-up of licence and author blurbs.
6363         Also move config.h out of a few .h files and into a few .C files.
6364
6365 2003-08-22  André Pönitz  <poenitz@gmx.net>
6366
6367         * lyxrow.[Ch]: add x_ and *fill_ members
6368
6369         * lyxtext.h:
6370         * text.C:
6371         * rowpainter.C:
6372         * text2.C: adjust/remove prepareToPrint() calls
6373
6374 2003-08-22  André Pönitz  <poenitz@gmx.net>
6375
6376         * lyxrow.[Ch]: add  end_ member
6377
6378         * lyxrow_funcs.C: use LyXRow::end_
6379
6380         * lyxtext.h (singleWidth): add LyXFont parameter
6381
6382         * rowpainter.C:
6383         * text2.C: adjust LyXText::singleWidth() calls
6384
6385         * text.C (redoParagraph): simplify row breaking logic
6386
6387
6388 2003-08-19  André Pönitz  <poenitz@gmx.net>
6389
6390         * funcrequest.C: initialize button_ member
6391
6392         * text3.C:
6393         * rowpainter.[Ch]: interface consolidation
6394
6395 2003-08-18  André Pönitz  <poenitz@gmx.net>
6396
6397         * BufferView.C:
6398         * BufferView_pimpl.C:
6399         * lyxfind.C:
6400         * paragraph_funcs.C:
6401         * rowpainter.C:
6402         * text3.C: remove LyXScreen::draw() and fitCursor calls
6403
6404         * BranchList.h: remove spurious semicolons
6405
6406         * MenuBackend.C: fix branchlist related crash
6407
6408 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6409
6410         * BranchList.[Ch]:
6411         * InsetList.[Ch]:
6412         * LColor.[Ch]:
6413         * LyXAction.C:
6414         * Makefile.am:
6415         * MenuBackend.[Ch]:
6416         * bufferparams.[Ch]:
6417         * factory.C:
6418         * lfuns.h:
6419         * lyxfunc.C:
6420         * text3.C: implements the 'branch inset'
6421         idea. This allows the output of various versions of a document
6422         from a single source version, selectively outputing or suppressing
6423         output of parts of the text.
6424         This implementation contains a 'branch list editor' in a separate
6425         tab of the document settings dialog. Branches are user definable
6426         and have a "display colour" to distinguish them on-screen.
6427
6428         ColorHandler was somewhat cleaned up.
6429         (1) make possible a dynamically growing LColor list by allowing
6430         the graphic context cache to grow along (vector);
6431         (2) eliminate an IMHO unnecessary step in colour allocation.
6432
6433 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6434
6435         * BufferView_pimpl.C: compile fix
6436
6437 2003-08-15  André Pönitz  <poenitz@gmx.net>
6438
6439         * rowpainter.C: remove extra metrics calls
6440
6441         * lyxtext.h: merge the two constructors into a single one,
6442           pass reference to owner's par list
6443
6444         * BufferView_pimpl.C:
6445         * text.C:
6446         * text2.C: adjust
6447
6448 2003-08-15  André Pönitz  <poenitz@gmx.net>
6449
6450         * lyxrow_funcs.[Ch]:
6451         * lyxtext.h:
6452         * paragraph.h:
6453         * paragraph_funcs.C:
6454         * rowpainter.C:
6455         * text.C:
6456         * text2.C:
6457         * text3.C:
6458         * text_funcs.C: split LyXText::rowlist_ into individual
6459         Paragraph::rows_ chunks
6460
6461         * BufferView.[Ch]:
6462         * BufferView_pimpl.[Ch]:
6463         * lyxfind.C:
6464         * lyxtext.h:
6465         * text3.C: remove toggleSelection()
6466
6467 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6468
6469         * bufferlist.C: beautify two alerts (shorter text of buttons)
6470         * buffer.C: Remove redundant ' ' from message
6471         * tabular.h:
6472         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6473         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6474         rename VALIGN_CENTER to VALIGN_MIDDLE
6475
6476 2003-08-11  André Pönitz  <poenitz@gmx.net>
6477
6478         * lyxtext.h (getPar):
6479         * text.C: new function
6480
6481 2003-08-11  André Pönitz  <poenitz@gmx.net>
6482
6483         * Makefile.am:
6484         * tracer.[Ch]: remove unneeded files
6485
6486         * InsetList.[Ch]: remove resizeInsetsLyXText()
6487
6488         * lyxtext.h:
6489         * text.C:
6490         * text2.C:
6491         * text3.C: merge insertParagraphs() and appendParagraph()
6492         remove breakAgain(), update()
6493
6494         * BufferView_pimpl.[Ch]:
6495         * bufferview_funcs.[Ch]:
6496         * lyxfunc.C:
6497         * paragraph.[Ch]:
6498         * rowpainter.C:
6499         * tabular.C: adjust after text & InsetList changes.
6500
6501 2003-08-08  André Pönitz  <poenitz@gmx.net>
6502
6503         * text.C (insertChar, backspace): replace rowlist fiddling
6504         with rebreak of full par
6505
6506         * lyxtext.h:
6507         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6508         checkParagraph, updateInset): removed
6509
6510 2003-08-07  André Pönitz  <poenitz@gmx.net>
6511
6512         * paragraph.C:
6513         * text3.C: merge some LFUN handlers, remove dead code
6514
6515 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6516
6517         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6518
6519 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6520
6521         * text2.C (DEPM): fix part of bug 1255 and 1256
6522
6523 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6524
6525         * BufferView_pimpl.C (workAreaDispatch): change to use
6526         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6527         that are no mouse related.
6528
6529 2003-08-05  André Pönitz  <poenitz@gmx.net>
6530
6531         * BufferView.[Ch]:
6532         * BufferView_pimpl.[Ch]:
6533         * bufferview_funcs.C:
6534         * text2.C:
6535         * text3.C: rip out "deep update"
6536
6537         * textcursor.[Ch] (last_sel_cursor): remove unused member
6538
6539 2003-08-04  André Pönitz  <poenitz@gmx.net>
6540
6541         * BufferView.[Ch]:
6542         * BufferView_pimpl.[Ch]:
6543         * ParagraphParameters.C:
6544         * bufferview_funcs.C:
6545         * lyx_cb.C:
6546         * lyxfind.C:
6547         * lyxfunc.C:
6548         * text.C:
6549         * text2.C:
6550         * text3.C: replace "complicated" BufferView::update(...) calls with
6551         simpler ones.
6552
6553         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6554
6555 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6556
6557         * Makefile.am (lyx_SOURCES): add paper.h
6558
6559 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6560
6561         * Makefile.am: move things around so that both lyx-qt and
6562         lyx-xforms can be built (according to --with-frontend). Then lyx
6563         is a symbolic link to lyx-[firstfrontend]
6564
6565 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6566
6567         * Always use std::endl with lyxerr
6568
6569 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6570
6571         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6572
6573 2003-08-01  André Pönitz  <poenitz@gmx.net>
6574
6575         * BufferView.[Ch]:
6576         * BufferView_pimpl.[Ch]:
6577         * lyxfunc.C:
6578         * text3.C: merge BufferView::repaint() and BufferView::update()
6579
6580 2003-08-01  José Matos  <jamatos@lyx.org>
6581
6582         * buffer.[Ch]: file_format is no longer a buffer data element.
6583
6584 2003-08-01  André Pönitz  <poenitz@gmx.net>
6585
6586         * BufferView.C:
6587         * lyxtext.h:
6588         * text.C:
6589         * text2.C: make redoParagraph more independent of current cursor
6590
6591         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6592         * text.C:
6593         * text2.C: remove unneeded members
6594
6595 2003-07-30  André Pönitz  <poenitz@gmx.net>
6596
6597         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6598
6599         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6600           create a single function...
6601
6602         * paragraph_funcs.C (moveItem): ... here.
6603
6604         * text.C:
6605           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6606
6607 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6608
6609         * LColor.[Ch]: Add comment and greyedout logical colors.
6610
6611 2003-07-30  André Pönitz  <poenitz@gmx.net>
6612
6613         * tabular.C: don't use Assert too heavily. This crashes where it
6614           shouldn't
6615
6616 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6617
6618         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6619         is disabled (bug 1232)
6620
6621 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6622
6623         * factory.C: limited 'arg' scope
6624
6625 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6626
6627         * factory.C: fixed Note submenu issues
6628
6629 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6630
6631         * factory.C: submenu for Note/Comment/Greyedout
6632
6633 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6634
6635         * lyx_main.C (LyX):
6636         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6637
6638 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6639
6640         * LaTeXFeatures.C:
6641         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6642         greyedout. Patch provided by Jürgen Spitzmüller.
6643
6644 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6645
6646         * kbmap.C (read): fix error message when reading bind files
6647
6648 2003-07-29  Angus Leeming  <leeming@lyx.org>
6649
6650         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6651         certainly does not do what it purports to do. I am doing it, and
6652         us, a favour by killing it.
6653
6654 2003-07-28  José Matos  <jamatos@lyx.org>
6655
6656         * buffer.C (readBody, do_writeFile):
6657         * paragraph.C(readParagraph): \end_document replaces \the_end.
6658
6659 2003-07-29  André Pönitz  <poenitz@gmx.net>
6660
6661         * BufferView.[Ch]:
6662         * BufferView_pimpl.[Ch]:
6663         * lyxfunc.C:
6664         * text2.C:
6665         * text3.C:
6666         * textcursor.[Ch]: remove toggleToggle & Co
6667
6668 2003-07-28  José Matos  <jamatos@fep.up.pt>
6669
6670         * buffer.C (readParagraph):
6671         * params_func (readParToken, readParagraph):
6672         * paragraph.C (write): \layout -> \begin_layout.
6673
6674 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6675
6676         * lyxlex_pimpl.C (setFile): clean up slightly.
6677
6678         * bufferparams.h: add compressed var
6679
6680         * buffer_funcs.C (readFile): adjust for LyXLex change
6681         (newFile): ditto + simplify
6682
6683         * buffer.C (writeFile): handle writing of compressed files
6684
6685         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6686         Check if the file is compressed and set a bufferparm if so.
6687
6688         * Makefile.am (lyx_LDADD): remove explicit -lz
6689
6690 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6691
6692         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6693         makeDocBookFile): put the real LyX version in the first line of
6694         the file
6695
6696         * version.h:
6697         * version.C.in: remove lyx_docversion
6698
6699         * tabular.C (write_attribute): add a template-based version to
6700         write enums properly
6701
6702 2003-07-28  André Pönitz  <poenitz@gmx.net>
6703
6704         * lyxtext.h:
6705         * text.C:
6706         * text2.C:
6707         * text3.C: use doubles again for x-coordinates. They are needed.
6708
6709 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * messages.C (getLocaleDir): use lyx_localedir()
6712
6713         * lyxlex_pimpl.C (setFile): compress stuff
6714
6715         * buffer.C (writeFile): add some compression stuff
6716         (do_writeFile): new func, dont call expliti close... will this
6717         breake anything?
6718
6719         * Makefile.am (lyx_LDADD): add -lz
6720
6721 2003-07-28  José Matos  <jamatos@fep.up.pt>
6722
6723         * buffer.C: increment file format.
6724         * paragraph_funcs (readParagraph, readParToken):
6725         * paragraph.C (readParagraph): add \end_layout.
6726
6727 2003-07-27  Angus Leeming  <leeming@lyx.org>
6728
6729         * Makefile.am: remove special casing for configure-time setting of
6730         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6731
6732         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6733         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6734
6735 2003-07-26  André Pönitz  <poenitz@gmx.net>
6736
6737         * paragraph_func.[Ch]:
6738         * paragraph.C (realizeFont): inline it whereever it is used
6739
6740         * rowpainter.C:
6741         * text.C:
6742         * text2.C:
6743         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6744
6745
6746 2003-07-26  André Pönitz  <poenitz@gmx.net>
6747
6748         *       lyxtext.h:
6749         * text.C:
6750         * text2.C: get rid of LyXText::need_break_row
6751
6752 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6753
6754         * toc.[Ch]: put namespace toc inside namespace lyx
6755
6756         * MenuBackend.C (expandToc2): adjust for lyx::toc
6757         (expandToc): ditto
6758
6759         * lyxfunc.C (dispatch): adjust for lyx::find
6760
6761         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6762         lyx::find instead. Reorganize a bit.
6763         (LyXReplace): rename to replace
6764         (LyXFind): rename to find
6765
6766         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6767         (dispatch): ditto
6768
6769 2003-07-26  André Pönitz  <poenitz@gmx.net>
6770
6771         * text.C (setHeightOfRow): restrict scope of temporary variable
6772
6773         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6774           code (never has been used?)
6775
6776 2003-07-27  Asger Alstrup  <alstrup@local>
6777
6778         * text.C (fill): Optimise algorithm to exploit that we can reuse
6779         the LyXFont for many characters.
6780         (setHeightOfRow): Same thing.
6781         (rowBreakPoint): Same thing.
6782
6783 2003-07-26  Asger Alstrup  <alstrup@local>
6784
6785         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6786
6787         * text.C (singleWidth): Spurious font copying in hot-spot
6788         singleWidth avoided. Reorder tests for arabic for efficiency.
6789
6790         * text.C (fill): handle empty paragraphs better.
6791
6792 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6793
6794         * ispell.C:
6795         * encoding.h: add includes
6796
6797         * lyxrc.C: remove reading of bind files
6798
6799         * lyx_main.C (init): setup bindings and menus only if we have a
6800         gui.
6801
6802         * kbmap.C (read): new method. Do the actual reading of bind
6803         files.
6804
6805         * converter.C (dvipdfm_options):
6806         * bufferparams.C:
6807         * lyxrc.C (read):
6808         (output): adapt PAPER_* enums.
6809
6810         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6811
6812         * bufferparams.h: remove paper-related enums from there
6813
6814         * paper.h: New file. A trivial header file to hold paper-related
6815         enums. It should later expand to contain many paper-related
6816         horrors access.
6817
6818         * lyxrc.C: declare extern displayTranslator
6819
6820 2003-07-27  José Matos  <jamatos@fep.up.pt>
6821
6822         * tabular.[Ch] (linuxdoc): add support for tables and figures
6823         (linuxdoc).
6824
6825 2003-07-27  José Matos  <jamatos@fep.up.pt>
6826
6827         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6828         consistency in both functions.
6829         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6830
6831 2003-07-26  Asger Alstrup  <alstrup@local>
6832
6833         * rowpainter.C (paintRows): Change algorithm to work directly on
6834         the insets rather than asking every character in the document
6835         whether its an inset.
6836
6837 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6838
6839         * buffer.C (openFileWrite): factorize some code
6840
6841 2003-07-26  Angus Leeming  <leeming@lyx.org>
6842
6843         * lyx_cb.C:
6844         * lyx_main.[Ch]: replace occurances of system_tempdir with
6845         os::getTmpDir().
6846
6847 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6848
6849         * rename Inset to InsetOld
6850
6851 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6852
6853         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6854         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6855         which I think is a bit clearer. EDIT is gone, since it was
6856         premature optimisation, and broken for mathed anyway.
6857         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6858         with cursor positioning in insets as well (math insets still do not
6859         work, but that's a different story anyway.) It mysteriously
6860         crashes sometimes with undo in the first paragraph, but I'm fairly
6861         confident that this is a compiler bug.
6862
6863 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6864
6865         * paragraph.C (Paragraph): adjust for new clone return type
6866         (operator==): ditto
6867         (copyIntoMinibuffer): ditto
6868
6869 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6870
6871         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6872         by not having a special case, and always doing a full rebreak of
6873         the document after undo.
6874
6875 2003-07-23  Angus Leeming  <leeming@lyx.org>
6876
6877         * factory.C (createInset): InsetExternal::setParams now takes a
6878         Buffer const * arg.
6879
6880 2003-07-23  Angus Leeming  <leeming@lyx.org>
6881
6882         * factory.C (createInset): changed interface to the external and
6883         graphics mailers' string2params functions.
6884
6885 2003-07-23  Angus Leeming  <leeming@lyx.org>
6886
6887         * factory.C (createInset): pass a
6888         Buffer const * parameter to InsetExternalMailer's string2params.
6889
6890 2003-07-22  John Levon  <levon@movementarian.org>
6891
6892         * Thesaurus.h: include the right aiksaurus header
6893
6894 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6895
6896         * MenuBackend.C (expand): check menu shortcuts unconditionally
6897
6898 2003-07-21  Angus Leeming  <leeming@lyx.org>
6899
6900         * factory.C (createInset): pass a
6901         buffer_path parameter to InsetGraphicsMailer's string2params.
6902
6903 2003-07-21  Angus Leeming  <leeming@lyx.org>
6904
6905         * BufferView_pimpl.C (buffer):
6906         * buffer.C (d-tor):
6907         * lyx_main.C (LyX):
6908         * lyxfunc.C (dispatch):
6909         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6910         rather than the grfx shortcut.
6911
6912 2003-07-21  André Pönitz  <poenitz@gmx.net>
6913
6914         * rowpainter.C: remove unused variables
6915
6916         * tabular_funcs.C:
6917         * tabular_funcs.h: move to tabular.C
6918         * Makefile.am: adjust
6919
6920         * tabular.[Ch]: basic optical cleaning
6921
6922         * author.h: pass references, not values
6923
6924 2003-07-18  André Pönitz  <poenitz@gmx.net>
6925
6926         * lyxtext.h:
6927         * metricsinfo.C:
6928         * metricsinfo.h:
6929         * rowpainter.C:
6930         * text.C:
6931         * text2.C:
6932         * text3.C: two-phase drawing for InsetText and InsetTabular
6933         some float -> int changes.
6934
6935 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6936
6937         * lyx_main.C: fix the fix
6938
6939 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6940
6941         * lyx_main.C: fix a crash in batch mode if no files specified
6942         * converter.C: ws
6943
6944 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6945
6946         * format.[Ch] (papersize): moved to BufferParams
6947         * converter.[Ch] (dvips_options): moved to BufferParams
6948         (dvipdfm_options): moved to anon namespace
6949         * bufferparams.[Ch]: added above functions.
6950
6951 2003-07-17  André Pönitz  <poenitz@gmx.net>
6952
6953         * lyxtext.h:
6954         * rowpainter.C:
6955         * text2.C: don't call inset->update() anymore
6956
6957         * metricsinfo.[Ch]: add convenience constructor
6958
6959 2003-07-16  André Pönitz  <poenitz@gmx.net>
6960
6961         * lyxcursor.[Ch]:
6962         * lyxfunc.[Ch]:
6963         * text.C:
6964         * text2.C: replace the LyXCursor::irow_ member with
6965          on-demand computation of the value
6966
6967 2003-07-16  John Levon  <levon@movementarian.org>
6968
6969         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6970
6971 2003-07-15  André Pönitz  <poenitz@gmx.net>
6972
6973         * text.C:
6974         * text2.C: remove no more needed refresh_row
6975
6976 2003-07-15  André Pönitz  <poenitz@gmx.net>
6977
6978         * lyxtext.h:
6979         * rowpainter.C:
6980         * text2.C:
6981         * text3.C: refresh_status tristate -> need_update bool
6982
6983 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6984
6985         * lyxtext.h (init): remove reinit argument (act as if always true)
6986         * text2.C: adjust to that
6987
6988 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6989
6990         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6991         * text3.C: use it to delete selections in some cases
6992         (bugs 441, 673, 702, 954).
6993
6994 2003-07-14  André Pönitz  <poenitz@gmx.net>
6995
6996         * rowpainter.[Ch]: reduce interface
6997
6998 2003-07-14  André Pönitz  <poenitz@gmx.net>
6999
7000         * BufferView_pimpl.C:
7001         * text2.C: adjust after removing unused BufferView * argument
7002
7003 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7004
7005         * text2.C (init): fix a crash fired on resize
7006
7007 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7008
7009         * buffer.[Ch]: added new closing signal
7010         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7011         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7012         BufferView::Pimpl via the closing the signal
7013
7014 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7015
7016         * buffer.[Ch]: take out all bv-related from buffer
7017         * BufferView.C:
7018         * BufferView_pimpl.[Ch]: connect to new signals
7019         * CutAndPaste.C: removed useless asserts
7020         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7021         * lyxvc.[Ch]:
7022         * vc-backend.[Ch]:
7023         * lyxfunc.C: moved view-related funciontality from vc here
7024         * paragraph.C: removed outdated comments
7025         * text.C: ws
7026
7027 2003-07-10  André Pönitz  <poenitz@gmx.net>
7028
7029         * BufferView_pimpl.C:
7030         * tabular.h:
7031         * tabular_funcs.C:
7032         * text.C:
7033         * text2.C: remove InsetText::InnerCache, clean up consequences
7034
7035 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7036
7037         * ispell.C: fix two typos in error messages
7038
7039 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7040
7041         * Extend Note inset to other forms of annotation like Comment
7042         and Greyedout. Right button click gives dialog.
7043
7044         Files modified or added (+):
7045
7046         * insetnote.[Ch]
7047         * FormNote.[Ch]      +
7048         * ControlNote.[Ch]   +
7049         * form_note.fd       +
7050         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7051         frontends/controllers
7052         * xforms/Dialogs.C
7053         * factory.C
7054
7055 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7056
7057         * aspell.C: add missing namespace lyx::support
7058
7059 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7060
7061         * BufferView.[Ch] (newFile): Add
7062         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7063         * LaTeX.[Ch] (message): added this signal and use it
7064         * buffer.[Ch] (busy, message): added these signals and use them
7065         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7066         * converter.C:
7067         * exporter.C:
7068         * format.C:
7069         * importer.C: use buffer signals instead of direct bv calling
7070         * lyx_cb.[Ch] (ShowMessage): removed
7071         * lyx_main.C:
7072         * lyxfunc.C:
7073         * paragraph_funcs.C:
7074         * text2.C: use buffer signals
7075
7076 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7077
7078         * introduce namespace lyx::graphics
7079
7080 2003-07-02  André Pönitz  <poenitz@gmx.net>
7081
7082         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7083
7084 2003-07-01  André Pönitz  <poenitz@gmx.net>
7085
7086         * text.C:
7087         * text2.C:
7088         * text3.C:
7089         * text_funcs.[Ch]:
7090         * textcursor.h:
7091         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7092           text*.C to text_func.C
7093
7094 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7095
7096         * introduce namespace lyx::support
7097
7098 2003-06-30  André Pönitz  <poenitz@gmx.net>
7099
7100         * Chktex.C:
7101         * funcrequest.C:
7102         * lyxtext.h:
7103         * text.C: re-enable --with-included-string
7104
7105 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * textcursor.C: add <config.h>
7108
7109         * text.C (getWord): remove const from word_location arg
7110
7111         * lyxvc.C (getLogFile): fix const type order
7112
7113         * lyxtext.h: remove const from word_location arg, add arg name
7114
7115         * lyxlayout.h: currect type on labeltype.
7116
7117         * importer.C: correct \file
7118
7119         * converter.C (intToFormat): use std:: on ret val, ws changes
7120
7121         * bufferlist.h: correct \file
7122
7123         * buffer.C (makeLinuxDocFile): fix const type order
7124         (makeDocBookFile): ditto
7125         (fillWithBibKeys): use std:: on stdlib args.
7126
7127         * CutAndPaste.C: fix authors.
7128         (availableSelections): use std:: on return vector
7129
7130 2003-06-27  André Pönitz  <poenitz@gmx.net>
7131
7132         * BufferView_pimpl.C:
7133         * bufferview_funcs.C:
7134         * lyxcursor.C:
7135         * lyxcursor.h:
7136         * lyxfunc.C:
7137         * lyxtext.h:
7138         * rowpainter.C:
7139         * text.C:
7140         * text2.C:
7141         * text3.C: remove LyXCursor::row_ member
7142
7143         * lyxtext.h:
7144         * text.C: rename fullRebreak() to partialRebreak() and implement
7145           a fullRebreak() that really bereks fully
7146
7147         * textcursor.h: new struct for cursor-related data
7148
7149 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7150
7151         * lyx_main.C (LyX): get full path of document loaded on the
7152         command line
7153
7154 2003-06-26  André Pönitz  <poenitz@gmx.net>
7155
7156         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7157           remove unused/broken operator>,<,>=.
7158
7159         *       text.C: remove only use of broken operator<= in an Assert().
7160
7161 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7162
7163         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7164         moved errorlist_.clear to showErrorList
7165
7166 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7167
7168         * converter.C (scanLog, runLaTeX):
7169         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7170         move the bv->showErrorList call to the callers
7171         * lyxfunc.C: i.e. here...
7172         * text2.C: and here
7173         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7174         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7175         namespace, the second to...
7176         * buffer_funcs (BufferFormat, parseErrors): added
7177         * errorlist.C (ErrorList(TeXErrors const &)): removed
7178
7179 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7180
7181         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7182
7183 2003-06-24  "Garst R. Reese" <reese@isn.net>
7184
7185         * debug.C: fix typo
7186
7187 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7188
7189         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7190
7191         * version.C.in: change docversion to 1.4
7192
7193 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7194
7195         * buffer.C: fix a bug just introduced
7196
7197 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7198
7199         * buffer.[Ch]: added the parseError signal and use it, removed
7200         sgmlError
7201         * BufferView.[Ch] (addError): moved to ...
7202         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7203         to the Buffer::parseError signal to catch (guess what) parse errors
7204         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7205
7206 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7207
7208         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7209         ability to create a buffer and to return an existing one from
7210         the list. Moved these functions to...
7211         * buffer_funcs.[Ch]: added
7212         * BufferView.[Ch] (loadLyXFile): added
7213         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7214         job removed from bufferlist::loadLyXFile.
7215         * buffer.C (setReadOnly): make it work without view
7216         (i.e added an if (users))
7217
7218 2003-06-19  Angus Leeming  <leeming@lyx.org>
7219
7220         * lfuns.h:
7221         * LyXAction.C (init):
7222         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7223         with LFUN_DIALOG_SHOW <name> <data>.
7224
7225 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7226
7227         * CutAndPaste.C (availableSelections): small compilation fix for
7228         ancient (gcc 2.9x) compilers
7229
7230 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7231
7232         * text3.C (cursorNext): add tmp var
7233
7234         * text2.C (updateCounters): for function calling out of for clause
7235         (replaceSelectionWithString): ditto
7236         (insertStringAsParagraphs): ditto
7237         (getColumnNearX): add tmp var
7238         (setCursorFromCoordinates): add tmp var
7239         (cursorDownParagraph): add tmp var
7240         (deleteEmptyParagraphMechanism): add tmp var
7241
7242         * text.C (insertChar): add tmp var
7243
7244         * rowpainter.C (paintDepthBar): add tmp var
7245
7246         * CutAndPaste.C (availableSelections): potentially check all
7247         paragraphs in a cut to fill the shown strings.
7248
7249 2003-06-18  André Pönitz  <poenitz@gmx.net>
7250
7251         * kbmap.[Ch]: use vector<> instead of list<>
7252
7253 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7254
7255         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7256         pasteSelection with index
7257
7258         * text2.C (pasteSelection): modify, call pasteSelection with index
7259
7260         * paragraph.C (asString): reimplement version with no interval to
7261         call the one with interval.
7262
7263         * lyxtext.h: add index arg to pasteSelection
7264
7265         * MenuBackend.C (MenuItem): handle PasteRecent
7266         (Menu::read::Menutags): add md_pasterecent
7267         (read): handle it
7268         (expandPasteRecent): new function
7269         (expand): use it
7270
7271         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7272
7273         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7274         the limited stack
7275         (availableSelections): new function
7276
7277 2003-06-17  Angus Leeming  <leeming@lyx.org>
7278
7279         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7280
7281 2003-06-17  Angus Leeming  <leeming@lyx.org>
7282
7283         * lfuns.h:
7284         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7285
7286         * lyxfunc.C (dispatch): invoke it.
7287
7288 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7289
7290         * iterators.C (operator++, ParPosition): reintroduce some
7291         const_cast for the benefit of older compilers.
7292
7293 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7294
7295         * text3.C (dispatch): do not modify clipboard when doing
7296         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7297         LFUN_DELETE_SKIP on a selection selection
7298
7299 2003-06-16  André Pönitz  <poenitz@gmx.net>
7300
7301         * BufferView.C:
7302         * buffer.C:
7303         * buffer.h:
7304         * paragraph.C:
7305         * tabular.[Ch]: IU of clone() and getLabelList();
7306
7307 2003-06-13  André Pönitz  <poenitz@gmx.net>
7308
7309         * tabular.h: compactification
7310
7311 2003-06-12  André Pönitz  <poenitz@gmx.net>
7312
7313         * tabular.C:
7314         * tabular.h:
7315         * tabular_funcs.h: some renaming plus whitespace
7316
7317 2003-06-12  André Pönitz  <poenitz@gmx.net>
7318
7319         * BufferView.C:
7320         * BufferView_pimpl.C:
7321         * CutAndPaste.C:
7322         * buffer.C:
7323         * iterators.[Ch]:
7324         * lyxfunc.C:
7325         * text.C:
7326         * toc.C: Return a Paragraph & for ParIterator::operator*()
7327
7328 2003-06-11  John Levon  <levon@movementarian.org>
7329
7330         * lyx_main.C:
7331         * ToolbarBackend.h:
7332         * ToolbarBackend.C: add "Toolbars" section and
7333         put the flags there
7334
7335 2003-06-10  Angus Leeming  <leeming@lyx.org>
7336
7337         * lfuns.h:
7338         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7339
7340         * lyxfunc.C (dispatch): invoke it.
7341
7342 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7343
7344         * main.C: protect <ios> with HAVE_IOS
7345         (main): protect sync_with_stdio with HAVE_IOS
7346
7347 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7348
7349         * text2.C (cutSelection): adjust
7350         (pasteSelection): adjust
7351
7352         * messages.C: handle get of empty string
7353
7354         * main.C (main): use sync_with_stdio(false)
7355
7356         * lyxfunc.C (dispatch): adjust
7357
7358         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7359         (WriteAs): remove unneeded BufferView arg.
7360
7361         * bufferparams.h: use correct types on papersize, papersize2 and
7362         paperpackage.
7363
7364         * bufferparams.C (readToken): adjust for type
7365         (writeLaTeX): add missing cases to switch.
7366
7367         * bufferlist.C (quitWriteBuffer): adjust
7368         (close): adjust
7369
7370         * buffer.C (asciiParagraph): remove some commented code.
7371
7372         * CutAndPaste.C: remove current_view extern variable.
7373         (cutSelection): add BufferParams arg.
7374         (eraseSelection): add BufferParams arg.
7375         (pasteSelection): add Buffer const & arg
7376
7377 2003-06-07  John Levon  <levon@movementarian.org>
7378
7379         * buffer.C:
7380         * paragraph_funcs.C:
7381         * paragraph_pimpl.C:
7382         * text.C:
7383         * text2.C:
7384         * paragraph.h:
7385         * paragraph.C: allow InsetERT to freely space lines,
7386         and some consolidation of code
7387
7388 2003-06-06  José Matos  <jamatos@fep.up.pt>
7389
7390         * buffer.C (makeDocBookFile): fix bug #821
7391
7392 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7393
7394         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7395
7396 2003-06-04  Angus Leeming  <leeming@lyx.org>
7397
7398         * buffer.C: bump format to 224.
7399
7400 2003-06-05  André Pönitz  <poenitz@gmx.net>
7401
7402         * text2.C (redoParagraphs): remove two const_cast<>
7403
7404 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7405
7406         * ParagraphList.h: remove last remnants of NO_STD_LIST
7407
7408 2003-06-03  Angus Leeming  <leeming@lyx.org>
7409
7410         * factory.C (createInset): small change to the way InsetExternal's params
7411         are set.
7412
7413 2003-06-04  André Pönitz  <poenitz@gmx.net>
7414
7415         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7416
7417         * paragraph_pimpl.h:
7418         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7419
7420         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7421
7422         * undo_funcs.C: make some simple cases of undo work again
7423
7424 2003-06-03  John Levon  <levon@movementarian.org>
7425
7426         * ispell.C: HPUX doesn't have sys/select.h
7427         (from Albert Chin)
7428
7429 2003-06-03  John Levon  <levon@movementarian.org>
7430
7431         * CutAndPaste.C: update tabular and include inset
7432         buffer references
7433
7434         * buffer.h:
7435         * paragraph.h:
7436         * paragraph.C: remove owningBuffer(), don't pass Buffer
7437         to clone()
7438
7439         * factory.C: insetGraphicsParams changed
7440
7441 2003-06-02  John Levon  <levon@movementarian.org>
7442
7443         * LyXAction.C:
7444         * factory.C:
7445         * lfuns.h:
7446         * lyxfunc.C:
7447         * text3.C: remove insetparent
7448
7449 2003-06-02  John Levon  <levon@movementarian.org>
7450
7451         * buffer.h:
7452         * buffer.C: fix inset_iterator.end(), move out of line
7453         (bug 1149)
7454
7455 2003-06-01  John Levon  <levon@movementarian.org>
7456
7457         * text3.C: use a proper cut/paste when doing inset
7458         insert (from Jürgen Spitzmüller)
7459
7460 2003-06-01  John Levon  <levon@movementarian.org>
7461
7462         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7463
7464 2003-05-30  André Pönitz  <poenitz@gmx.net>
7465
7466         * rowpainter.C: unify second drawing phase
7467
7468 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * trans_mgr.C: remove one case of current_view
7471
7472         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7473
7474         * paragraph_funcs.h: remove paragraph.h include
7475
7476         * paragraph.h: delete NO_STD_LIST stuff
7477
7478         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7479
7480         * buffer.h: remove paragraph.h include
7481
7482         * ParagraphList.C: delete file
7483
7484         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7485
7486         * toc.C (getTocList): adjust
7487
7488         * paragraph_pimpl.C (validate): adjust
7489
7490         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7491
7492         * paragraph.C (Paragraph): adjust
7493         (getPositionOfInset): use const_iterator, adjust
7494         (bibitem): use const_iterator, adjust
7495         (setInsetOwner): adjust
7496
7497         * iterators.C (operator++): adjust
7498
7499         * InsetList.[Ch]: Replace selfmade iterator with standard
7500         vector::iterator also introduce const_iterator. Remove getPos,
7501         getInset and setInset from InsetTable. Adjust accordingly.
7502
7503         * BufferView.C (lockInset): adjust
7504         (ChangeInsets): adjust
7505
7506         * tabular.[Ch]: delete commented same_id functions
7507
7508 2003-05-28  John Levon  <levon@movementarian.org>
7509
7510         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7511
7512 2003-05-28  André Pönitz  <poenitz@gmx.net>
7513
7514         * metricsinfo.[Ch]: remove 'fullredraw' member
7515
7516 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7517
7518         * lyxtextclass.C (operator): remove caching.
7519
7520 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * text3.C: adjust
7523
7524         * text2.C (cursorBottom): adjust
7525         (setCounter): use ParagraphList::find, adjust
7526
7527         * text.C (workWidth): use ParagraphList::find, adjust
7528
7529         * lyxcursor.C (LyXCursor): adjust
7530
7531         * buffer.C (inset_iterator): adjust
7532
7533         * ParagraphList.h: make iterator(value_type) private, make
7534         ParagraphList a friend of iterator.
7535
7536         * ParagraphList.C (find): new function
7537
7538         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7539
7540 2003-05-27  André Pönitz  <poenitz@gmx.net>
7541
7542         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7543
7544 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7545
7546         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7547
7548 2003-05-26  John Levon  <levon@movementarian.org>
7549
7550         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7551
7552 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7553
7554         * remove same_id from function signatures, adjust.
7555
7556 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7557
7558         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7559
7560         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7561
7562         * paragraph.C (Paragraph): get rid of same_ids parameter
7563
7564         * ParagraphList.C (insert): adjust
7565         (push_back): adjust
7566
7567 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7568
7569         * paragraph_funcs.C (breakParagraph): adjust
7570         (breakParagraphConservative): adjust
7571
7572         * buffer.C (readParagraph): adjust
7573
7574         * ParagraphList.C (insert): take a reference instead of a pointer
7575         (insert): adjust
7576
7577         * paragraph.[Ch] (id): new function
7578
7579         * bufferlist.C (newFile): adjust
7580
7581         * ParagraphList.C (ParagraphList): adjust
7582         (assign): adjust
7583         (push_back): take a reference instead of a pointer.
7584
7585         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7586
7587         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7588         instead.
7589
7590         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7591         set else use old code.
7592
7593         * ParagraphList.C: remove all NO_NEXT code and only compile this
7594         code of NO_STD_LIST is set.
7595
7596 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7597
7598         * BufferView_pimpl.C:
7599         * TextCache.C:
7600         * TextCache.h:
7601         * bufferlist.C:
7602         * errorlist.h:
7603         * format.C:
7604         * format.h:
7605         * graph.C:
7606         * lyxfunc.C:
7607         * lyxrc.C:
7608         * graphics/GraphicsConverter.C:
7609         * graphics/PreviewLoader.C: header adjustment
7610
7611 2003-05-23  Angus Leeming  <leeming@lyx.org>
7612
7613         * LaTeXFeatures.[Ch] (useBabel): new method.
7614         * bufferparams.C (writeLaTeX): use it.
7615
7616 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7617
7618         * ParagraphList.h (set): remove unused function.
7619
7620 2003-05-23  André Pönitz  <poenitz@gmx.net>
7621
7622         * BufferView.C:
7623         * BufferView_pimpl.C:
7624         * buffer.C:
7625         * buffer.h:
7626         * lyxfunc.C:
7627         * undo_funcs.C: setUndo reworked
7628
7629         * iterators.[Ch]: add access to topmost ParagraphList
7630
7631         * lyxtext.[Ch] (workWidth): add a const
7632
7633 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7634
7635         * texrow.[Ch] (increasePos): remove function
7636         * exporter.C (export): removed unused var and outdated comment
7637
7638 2003-05-23  Angus Leeming  <leeming@lyx.org>
7639
7640         * latexrunparams.h: rename fragile as moving_arg.
7641         * paragraph.C (simpleTeXOnePar): ditto.
7642         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7643
7644 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7645
7646         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7647         (createUndo): ditto
7648         (textUndoOrRedo): comment out a currently unused var.
7649
7650         * paragraph.h (NO_NEXT): enable NO_NEXT
7651
7652         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7653
7654         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7655
7656         * exporter.C (Export): adjust for removeAutoInsets removal.
7657
7658         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7659
7660         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7661
7662         * BufferView.[Ch] (removeAutoInsets): delete function
7663
7664 2003-05-22  Angus Leeming  <leeming@lyx.org>
7665
7666         * latexrunparams.h: add a free_spacing variable.
7667
7668         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7669         to pass moving_arg, as the data is stored in runparams.fragile.
7670
7671         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7672         to Inset::latexOptional or to simpleTeXOnePar.
7673
7674         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7675         free_spacing arg to Inset::latexOptional.
7676
7677         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7678         free_spacing arg.
7679
7680 2003-05-22  Angus Leeming  <leeming@lyx.org>
7681
7682         * latexrunparams.h: add fragile and use_babel variables.
7683
7684         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7685         * buffer.C (makeLaTeXFile): store this returned value in
7686         runparams.use_babel, thus passing it to the inset::latex methods.
7687
7688         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7689         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7690
7691         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7692         longer has a fragile arg, as it is stored in runparams.fragile.
7693
7694         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7695         moving_arg parameter as the data is stored in runparams.fragile.
7696
7697         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7698         a fragile parameter as the data is stored in runparams.fragile.
7699
7700 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7703
7704 2003-05-22  Angus Leeming  <leeming@lyx.org>
7705
7706         * latexrunparams.h: add a 'bool nice' which defaults to false.
7707
7708         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7709         now encapsulated within runparams.
7710
7711         * bufferlist.C (updateIncludedTeXfiles):
7712         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7713
7714 2003-05-22  Angus Leeming  <leeming@lyx.org>
7715
7716         * latexrunparams.h: new file containing struct LatexRunParams.
7717         * Makefile.am: add new file.
7718
7719         * LaTeX.[Ch] (c-tor, run):
7720         * buffer.[Ch] (makeLaTeXFile):
7721         * bufferlist.[Ch] (updateIncludedTeXfiles):
7722         * converter.C (convert, scanLog):
7723         * converter.[Ch] (runLaTeX):
7724         * exporter.C (Export):
7725         * paragraph.[Ch] (simpleTeXOnePar):
7726         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7727         * paragraph_funcs.[Ch] (latexParagraphs):
7728         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7729         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7730         pass around a LatexRunParams parameter.
7731
7732 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7733
7734         * paragraph.[Ch]: remove unused constructor
7735
7736         * ParagraphList.C (erase): new function, taking two iterators
7737
7738 2003-05-22  André Pönitz  <poenitz@gmx.net>
7739
7740         * undo_funcs.C: remove duplicated code
7741
7742         * iterator.[Ch]: operator=
7743
7744 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * tabular.C (SetMultiColumn): ws changes
7747
7748         * rowpainter.C (paintFirst): get rid of a ->previous
7749
7750         * lyx_cb.C (getPossibleLabel): parlist simplification
7751
7752         * BufferView.C (ChangeInsets): simplify slightly.
7753
7754 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7755
7756         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7757         * lfuns.h: new LFUN_SPACE
7758         * lyxfunc.C: protected space has a new lfun
7759         * paragraph_funcs.C: read new space insets
7760         * text3.C:
7761         * factory.C: handle new space insets
7762
7763 2003-05-22  André Pönitz  <poenitz@gmx.net>
7764
7765         * BufferView.C:
7766         * BufferView_pimpl.C:
7767         * buffer.[Ch]:
7768         * lyxfunc.C:
7769         * undo_funcs.C: return a ParIterator from getParFromID.
7770
7771         * iterators.[Ch]: add two const's
7772
7773 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7774
7775         * toc.C (getTocList): adjust
7776
7777         * iterators.[Ch]: rework for parlist
7778
7779         * buffer.C (par_iterator_begin): adjust
7780         (par_iterator_end): adjust
7781
7782         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7783
7784         * BufferView.C (removeAutoInsets): adjust
7785         (ChangeInsets): adjust
7786
7787 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7788
7789         * text.C (top_y): fix bug 1110
7790
7791 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7792
7793         * errorlist.[Ch]: added
7794         * buffer.C:
7795         * BufferView.[Ch]:
7796         * BufferView_pimpl.C:
7797         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7798         instead
7799
7800 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * Makefile.am: ensure that lyx is relinked upon changes to the
7803         various "convenience" libs.
7804
7805 2003-05-20  Angus Leeming  <leeming@lyx.org>
7806
7807         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7808         files are compiled in alphabetical order again.
7809
7810         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7811
7812 2003-05-19  Angus Leeming  <leeming@lyx.org>
7813
7814         * gettext.[Ch]: remove "char const * _(char const *)".
7815
7816 2003-05-19  André Pönitz  <poenitz@gmx.net>
7817
7818         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7819
7820         * Makefile.am:
7821         * BufferView.C:
7822         * DepTable.h:
7823         * LaTeXFeatures.C:
7824         * buffer.C:
7825         * lyxfont.C:
7826         * lyxlex.h:
7827         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7828
7829 2003-05-19  André Pönitz  <poenitz@gmx.net>
7830
7831         * buffer.C:
7832         * lyxlayout.[Ch]:
7833         * lyxtextclass.[Ch]:
7834         * paragraph.C:
7835         * paragraph_funcs.[Ch]:
7836         * text2.C:
7837         * text3.C: more insetenv work
7838
7839 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7840
7841         * ParagraphParameters.C (params2string): small bug fixed
7842
7843 2003-05-16  André Pönitz  <poenitz@gmx.net>
7844
7845         * debug.C:
7846         * bufferview_funcs.C: patch from Kornel Benko to prevent
7847           crash when _(...) is called twice in a statement
7848
7849 2003-05-16  André Pönitz  <poenitz@gmx.net>
7850
7851         * BufferView.C:
7852         * lyxfunc.C:
7853         * text.C:
7854         * text2.C:
7855         * text3.C:
7856         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7857
7858 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7859
7860         * lyx_main.C (init): remove spurious static_cast
7861
7862 2003-05-14  André Pönitz  <poenitz@gmx.net>
7863
7864         * BufferView.C: fix format string
7865
7866 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7867
7868         * BufferView.[Ch] (insertErrors): removed
7869         * BufferView.[Ch] (showErrorList): added
7870         * buffer.C (runChkTeX):
7871         * converter.C (scanLog): call showErrorList instead of inserterrors
7872
7873 2003-05-13  André Pönitz  <poenitz@gmx.net>
7874
7875         * BufferView_pimpl.C:
7876         * buffer.C:
7877         * bufferview_func.C:
7878         * MenuBackend.C:
7879         * lyxfunc.C:
7880         * lyxrc.C:
7881         * tex-accent.C:
7882         * text3.C:
7883         * toc.C:
7884         * tabular_funcs.h: tostr() from its own header
7885
7886         * ParagraphParameters.C:
7887         * ToolbarBackend.C:
7888         * bufferparams.C:
7889         * format.C:
7890         * lyxlex_pimpl.C:
7891         * text3.C: STRCONV()
7892
7893 2003-05-12  André Pönitz  <poenitz@gmx.net>
7894
7895         * BufferView.C:
7896         * BufferView_pimpl.C:
7897         * CutAndPaste.C:
7898         * LaTeX.C:
7899         * LaTeXFeatures.C:
7900         * ParagraphParameters.C:
7901         * buffer.C:
7902         * bufferlist.C:
7903         * bufferparams.C:
7904         * bufferview_funcs.C:
7905         * converter.C:
7906         * counters.C:
7907         * debug.C:
7908         * exporter.C:
7909         * format.C:
7910         * importer.C:
7911         * lyx_cb.C:
7912         * lyx_main.C:
7913         * lyxfont.C:
7914         * lyxfunc.C:
7915         * lyxvc.C:
7916         * paragraph.C:
7917         * paragraph_funcs.C:
7918         * tabular.C:
7919         * tabular_funcs.C:
7920         * text2.C:
7921         * text3.C:  boost::format -> bformat  all over the place
7922
7923
7924 2003-05-09  André Pönitz  <poenitz@gmx.net>
7925
7926         * LColor.[Ch]: Pimpl the #include <map> away
7927
7928 2003-05-09  John Levon  <levon@movementarian.org>
7929
7930         * bufferlist.C: never remove emergency saves
7931
7932 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7933
7934         * Makefile.am: better lib building
7935
7936 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7937
7938         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7939         instead.
7940         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7941         (simpleTeXSpecialChars): adjust
7942         (simpleTeXSpecialChars): adjust
7943         * paragraph.C (simpleTeXOnePar): adjust
7944         * buffer.C (makeLaTeXFile): adjust
7945
7946         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7947
7948         * text2.C (changeDepth): parlist cleanup
7949         (getColumnNearX): ditto
7950
7951         * rowpainter.C (getLabelFont): parlist cleanup
7952
7953         * bufferlist.C (newFile): parlist cleanup
7954
7955         * CutAndPaste.C (eraseSelection): parlist cleanup
7956
7957         * BufferView_pimpl.C (trackChanges): parlist cleanup
7958         (dispatch): ditto
7959
7960         * BufferView.C (lockInset): parlist cleanup.
7961         (ChangeInsets): ditto
7962
7963 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7964
7965         * CutAndPaste.h: Update file header.
7966
7967         * CutAndPaste.C: Update file header.
7968         Store the parts cut out of the Document in a limited_stack.
7969         (copySelection): adjust
7970         (pasteSelection): new function, takes the index in the limited stack.
7971         (nrOfParagraphs): adjust
7972         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7973         simplify error inset insertion.
7974         (checkPastePossible): adjust
7975
7976 2003-05-06  John Levon  <levon@movementarian.org>
7977
7978         * text2.C: don't cast wrap inset to float
7979
7980 2003-05-05  André Pönitz  <poenitz@gmx.net>
7981
7982         * iterator.C:
7983         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7984
7985         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7986           few naked Paragraph *.
7987
7988 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7989
7990         * bufferparams.C: Output warning if a document with missing
7991         TeX document class is loaded
7992         * exporter.C: Disable TeX exports if the document class is missing
7993         * lyxtextclass.C:
7994         * lyxtextclass.h:
7995         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7996         isTeXClassAvailable()
7997
7998 2003-05-03  John Levon  <levon@movementarian.org>
7999
8000         * BufferView.h:
8001         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8002         explicit cursor show/hide
8003
8004         * BufferView_pimpl.h:
8005         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8006         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8007
8008         * lyxfunc.C: hide cursor before dispatching.
8009
8010         * lyx_cb.C:
8011         * lyxfind.C:
8012         * text.C:
8013         * text3.C: remove explicit cursor hides
8014
8015 2003-05-02  André Pönitz  <poenitz@gmx.net>
8016
8017         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8018
8019         * undo_funcs.C:
8020         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8021           linked lists
8022
8023         * text2.C: tiny whitespace
8024
8025 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8026
8027         * undo_funcs.C: almost only ws changes.
8028
8029         * ParagraphList.C (splice): just return if pl is empty.
8030
8031 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8032
8033         * ParagraphList.C (splice): new function.
8034
8035         * CutAndPaste.C (pasteSelection): use it
8036
8037 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8038
8039         * CutAndPaste.C (pasteSelection): remove the last next and
8040         previous from this file.
8041
8042 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8043
8044         * CutAndPaste.C (pasteSelection): more clean up, user proper
8045         ParagraphList functions for pasteing.
8046
8047         * ParagraphList.C (insert): new function, three arg insert
8048
8049 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * ParagraphList.C (insert): new function, three arg insert
8052
8053         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8054         not on paragraphs.
8055
8056 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8057
8058         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8059
8060 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8061
8062         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8063
8064 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8065
8066         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8067         (copySelection): clean up a bit.
8068         (pasteSelection): use make_pair
8069
8070         * ParagraphList.C (ParagraphList): implement copy constructor
8071         (operator=): implement, base on copy constructor.
8072         (assign): new func
8073
8074         * paragraph.C (erase): return a bool
8075
8076         * paragraph_pimpl.C (erasePos): remove function, move contents...
8077         (erase): ... here. Return a bool.
8078         (erase): call erase instead of erasePos.
8079
8080 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8081
8082         * ParagraphList.h: define PitPosPair
8083         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8084         ParagraphList, fix a bug on pasting multiple pars
8085         * text2.C: change interface to C&P
8086
8087 2003-04-30  André Pönitz  <poenitz@gmx.net>
8088
8089         * undo_func.C: revert part of yesterday's patch 2
8090
8091 2003-04-30  John Levon  <levon@movementarian.org>
8092
8093         * LColor.C: s/tabular/table/
8094
8095 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8096
8097         * text3.C (dispatch): do not convert iterator -> pointer
8098         * undo_funcs.C (setCursorParUndo): ditto
8099         * text_funcs.C (transposeChars): ditto
8100
8101         * text2.C (setLayout): ws changes only
8102
8103         * text.C (breakParagraph): do not convert iterator -> pointer
8104         (insertChar): ditto
8105         (acceptChange): ditto
8106         (rejectChange): ditto
8107         (changeCase): ditto
8108         (Delete): ditto
8109         (backspace): ditto
8110
8111         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8112         pointer
8113
8114 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8115
8116         * text3.C (gotoInset): YABG (yet another bad getChar)
8117
8118 2003-04-29  André Pönitz  <poenitz@gmx.net>
8119
8120         * paragraph.h: make operator= private unimplemented as long as
8121           it is unusable
8122
8123         * ParagraphList.C: whitespace
8124
8125         * paragraph.[Ch]:
8126         * paragraph_pimpl.[Ch]:
8127         * paragraph_funcs.C:
8128         * CutAndPaste.C:
8129         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8130
8131         * text2.C:
8132           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8133
8134 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8135
8136         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8137         * paragraph.[Ch] (erase):
8138         * paragraph_pimpl.[Ch] (erase): change return type and value
8139         * text2.C (cutSelection): some rework
8140
8141 2003-04-28  John Levon  <levon@movementarian.org>
8142
8143         * bufferlist.C: changes for unsaved changes dialog
8144
8145 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8146
8147         * bufferlist.C (newFile): set language (messages_) for new
8148         documents also.
8149
8150         * buffer.C (readFile): ws changes only.
8151
8152 2003-04-28  André Pönitz  <poenitz@gmx.net>
8153
8154         * undo_funcs.C:
8155         * lyxfunc.C:
8156         * buffer.[Ch]:
8157         * BufferView_pimpl.C:
8158         * BufferView.C: getParFromID related ParagraphList::iterator changes
8159
8160 2003-04-28  André Pönitz  <poenitz@gmx.net>
8161
8162         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8163           Changes
8164
8165 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8166
8167         * messages.C: remove one more localedir class variable.
8168
8169 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8170
8171         * messages.C (getLocaleDir): singleton generation function
8172         (Pimpl): use it.
8173         (Messages): add a default constructor.
8174
8175         * main.C (main): do not setup localedir here, do not call
8176         gettext_init.
8177
8178         * gettext.C (_): use it.
8179         (gettext_init): delete funciton
8180
8181 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * gettext.C (getLyXMessages): new singleton generating function.
8184
8185         * buffer.C (updateDocLang): adjust
8186
8187         * Makefile.am (messages.o): add target
8188         (main.o): remove target
8189
8190 2003-04-27  John Levon  <levon@movementarian.org>
8191
8192         * bufferlist.C:
8193         * lyx_cb.C:
8194         * lyxfunc.C:
8195         * lyxvc.C: specify cancel button in Alert::prompt
8196
8197 2003-04-26  John Levon  <levon@movementarian.org>
8198
8199         * text3.C:
8200         * lyxfunc.C:
8201         * lfuns.h:
8202         * LyXAction.C: add LFUN_INSET_SETTINGS
8203
8204         * lyxfunc.C: don't enable tabular-feature when there's
8205         just any locking inset
8206
8207 2003-04-26  John Levon  <levon@movementarian.org>
8208
8209         * bufferlist.C: re-add Cancel to buffer close question
8210
8211         * lyxfunc.C: fix import UI a bit
8212
8213 2003-04-25  John Levon  <levon@movementarian.org>
8214
8215         * gettext.C: remove the broken asserts for now
8216
8217 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8218
8219         * messages.C: make case where setlocale cannot comply work better.
8220
8221         * buffer.C (updateDocLang): new function
8222         (changeLanguage): use it
8223         (readFile): use it
8224
8225         * text2.C (setCounter): use B_ a bit.
8226
8227         * lyxlayout.C (Read): be sure to trim the label strings.
8228
8229         * messages.C (Messages): fix typo in comment
8230
8231         * buffer.C (readFile): set message_ after file is loaded.
8232         (makeDocBookFile): remove double return
8233         (changeLanguage): reset message_ upon language change.
8234         (B_): new func, use this to get translated buffer strings.
8235
8236         * main.C: add myself and Jean Marc as authors.
8237
8238 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * messages.[hC]: pimplify Messages, and three different pimpls to be
8241         used in different circumstances.
8242
8243         * gettext.[Ch]: change for use with new message code.
8244
8245 2003-04-24 André Pönitz <poenitz@gmx.net>
8246
8247         * factory.C: support for eqref
8248
8249 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * messages.[Ch]: add missing char
8252
8253         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8254
8255         * messages.[Ch]: New files
8256
8257 2003-04-18  John Levon  <levon@movementarian.org>
8258
8259         * BufferView.h:
8260         * BufferView.C:
8261         * BufferView_pimpl.C:
8262         * lfuns.h:
8263         * LyXAction.C:
8264         * lyxtext.h:
8265         * text2.C: remove layout-copy/paste (bug 778)
8266
8267 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8268
8269         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8270
8271 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8272
8273         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8274         if they succeed. Act accordingly.
8275
8276 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8277
8278         * text2.C (setCharFont): adjust
8279         (setCounter): adjust
8280         (insertStringAsLines): adjust
8281
8282         * text.C (leftMargin): adjust
8283         (setHeightOfRow): adjust
8284
8285         * rowpainter.C (paintFirst): adjust
8286         (paintLast): adjust
8287
8288         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8289         (outerHook): ditto
8290         (isFirstInSequence): ditto
8291         (getEndLabel): ditto
8292         (outerFont): adjust
8293
8294         * paragraph.C (getParLanguage): comment out some hard stuff.
8295
8296         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8297         (sgmlError): ditto
8298         (simpleDocBookOnePar): ditto
8299         (makeDocBookFile): use ParagraphList::iterator
8300
8301         * CutAndPaste.C (pasteSelection): adjust
8302
8303 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8304
8305         * text2.C (getFont): adjust
8306         (getLayoutFont): adjust
8307         (getLabelFont): adjust
8308
8309         * paragraph_funcs.C (TeXOnePar): adjust
8310
8311         * buffer.C (simpleLinuxDocOnePar): adjust
8312         (simpleDocBookOnePar): adjust
8313
8314         * CutAndPaste.C (pasteSelection): adjust
8315
8316         * BufferView.C (getEncoding): adjust
8317
8318         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8319
8320 2003-04-16  John Levon  <levon@movementarian.org>
8321
8322         * lyxfind.C: use parlist stuff for search/changes
8323
8324 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8325
8326         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8327
8328         * text2.C (deleteEmptyParagraphMechanism): adjust
8329
8330         * text2.[Ch] (ownerParagraph): delete func (both of them
8331
8332 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8333
8334         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8335
8336 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8337
8338         * ParagraphList.C: prepare for NO_NEXT
8339
8340 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8341
8342         * text2.C (getFont): adjust
8343         (getLayoutFont): adjust
8344         (getLabelFont): adjust
8345
8346         * paragraph.C (getFont): adjust
8347         (getLabelFont): adjust
8348         (getLayoutFont): adjust
8349
8350         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8351
8352 2003-04-15  John Levon  <levon@movementarian.org>
8353
8354         From Angus Leeming
8355
8356         * lyx_main.C: handle Include in .ui files
8357
8358 2003-04-15  John Levon  <levon@movementarian.org>
8359
8360         * MenuBackend.C: make the doc files length shorter
8361
8362         * ToolbarBackend.h:
8363         * ToolbarBackend.C: handle toolbar placement flags,
8364         Minibuffer
8365
8366 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8369         adjust
8370
8371         * paragraph_funcs.C (TeXOnePar): adjust
8372
8373         * paragraph.C (getLabelFont): add outerfont arg, adjust
8374         (getLayoutFont): ditto
8375         (simpleTeXOnePar): adjust
8376
8377         * paragraph_pimpl.C (realizeFont): delete func
8378
8379 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8380
8381         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8382         row argument, constify cur argument.
8383
8384 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8385
8386         * text2.C (getFont): adjust
8387         (getLayoutFont): adjust
8388         (getLabelFont): adjust
8389
8390         * paragraph_funcs.C (TeXOnePar): adjust
8391         (outerFont): new func...
8392         (realizeFont): ...moved out from here, changed this to facilitate
8393         transition
8394
8395         * paragraph.C (getFont): take outerfont as arg, adjust
8396         (simpleTeXOnePar): add outerfont arg, adjust
8397
8398         * buffer.C (simpleLinuxDocOnePar): adjust
8399         (simpleDocBookOnePar): adjust
8400
8401         * CutAndPaste.C (pasteSelection): adjust
8402
8403         * BufferView.C (getEncoding): adjust
8404
8405 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * text2.C (setCharFont): adjust
8408         (setCounter): adjust
8409
8410         * text.C (leftMargin): adjust
8411         (setHeightOfRow): adjust
8412
8413         * rowpainter.C (paintFirst): adjust
8414         (paintLast): adjust
8415
8416         * paragraph_pimpl.C (realizeFont): adjust
8417
8418         * paragraph.C (isFirstInSequence): move from here...
8419         * paragraph_funcs.C (isFirstInSequence): ...to here
8420
8421         * paragraph.C (outerHook): move from here...
8422         * paragraph_funcs.C (outerHook): ...to here
8423
8424         * paragraph.C (depthHook): move from here...
8425         * paragraph_funcs.C (depthHook): ...to here
8426
8427         * paragraph.C (getEndLabel): move from here...
8428         * paragraph_funcs.C (getEndLabel): ...to here
8429
8430         * text2.C (realizeFont): move from here...
8431         * paragraph_funcs.C (realizeFont): ...to here
8432
8433 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8434
8435         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8436
8437 2003-04-14  Angus Leeming  <leeming@lyx.org>
8438
8439         * LColor.[Ch]: scrap LColor mathcursor.
8440
8441 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8442
8443         * lyxlex.[Ch] (text): delete function
8444         * trans.C (Load): adjust
8445         * paragraph_funcs.C (readParToken): adjust
8446
8447 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8448
8449         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8450         vector<char> instead of a char[].
8451
8452         * lyxlex_pimpl.C (getString): adjust
8453         (next): adjust
8454         (lex): use getString
8455         (eatLine): adjust
8456         (nextToken): adjust
8457
8458         * lyxlex.C (text): use pimpl_->getString()
8459         (getBool): ditto
8460         (findToken): ditto
8461
8462 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8463
8464         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8465         (makeFontEntriesLayoutSpecific): temp var for par.size()
8466         (setLayout): temp var for ownerParagraphs().end()
8467         (fullRebreak): temp var for rows().end()
8468         (selectionAsString): temp var for boost::next(startpit), realize
8469         that the while really is a regular for loop.
8470         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8471         setCursor in one place.
8472         (setParagraph): temp vr for ownerParagraphs().end()
8473         (updateCounters): make the while loop a for loop
8474         (cutSelection): temp var for ownerParagraphs().end()
8475         (updateInset): make the do {} while() a regular for loop
8476         (getCursorX): use temp vars
8477         (setCurrentFont): use temp vars
8478         (getColumnNearX): use temp vars
8479
8480 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8481
8482         * text.C (transformChar): use temp var for getChar
8483         (computeBidiTables): use temp var for row->par()
8484         (fill): move temp vars for row->par() and pit->layout() earlier in
8485         the function.
8486         (labelFill): use temp var for row->par()
8487         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8488         asc and desc, realize that pit never changes and that firstpit is
8489         just a duplicate and not needed. Exchange rit->par() with pit in a
8490         lot of places.
8491         (breakAgain): use a temp var for boost::next(rit)
8492         (breakAgainOneRow): ditto
8493         (breakParagraph): use a temp var for rows().begin()
8494         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8495         (cursorRightOneWord): use temp var for cursor.par() and
8496         cursor.pos(), remove usage of tmpcursor.
8497         (cursorLeftOneWord): use temp var for cursor.par() and
8498         cursor.pos() only set cur at end of function.
8499
8500 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8501
8502         * text.C, text2.C: exchange all usage of Paragraph::next with
8503         boost::next(ParagraphList::iterator)
8504
8505         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8506
8507         * text2.C (cursorTop): simplify implementation
8508         (cursorBottom): ditto
8509         (setParagraph): use ParagraphList::iterator
8510         (setCurrentFont): adjust
8511         (getColumnNearX): adjust
8512         (cursorRight): adjust
8513         (cursorLeft): remove usage of Paragraph::previous
8514         (cursorUpParagraph): ditto
8515         (deleteEmptyParagraphMechanism): slight cleanup
8516
8517         * text.C (isBoundary): take a Paragraph const & instead of a
8518         pointer as arg.
8519         (addressBreakPoint): ditto
8520         (leftMargin): remove usage of Paragraph::previous.
8521         (setHeightOfRow): ditto
8522         (cursorLeftOneWord): ditto
8523         (selectNextWordToSpellcheck): ditto
8524         (Delete): ditto
8525         (backspace): ditto
8526         (breakParagraph): remove one usage of Paragraph::next
8527         (redoParagraph): ditto
8528         (acceptChange): ditto
8529         (insertChar): adjust
8530         (rowBreakPoint): adjust
8531
8532         * bufferview_funcs.C (toggleAndShow): adjust
8533
8534 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8535
8536         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8537         methods to access it.
8538         * lyxtext.h:
8539         * text.C: Added updateRowPositions to compute all row positions.
8540         Make top_y and getRowNearY() to use the cached y position
8541
8542 2003-04-11  John Levon  <levon@movementarian.org>
8543
8544         * text.C (rowBreakPoint): reintroduce the labelEnd
8545         checks, code copied from the row fill stuff. Deep voodoo.
8546
8547         * text.C (fill): add a comment and debugging for the
8548         next poor soul.
8549
8550 2003-04-11  John Levon  <levon@movementarian.org>
8551
8552         * text.C: make sure fullrow insets get wrapped to the next line,
8553         even when they're in a manual label
8554
8555 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8556
8557         * text2.C (insertParagraph): make it take ParagraphList::iterator
8558         as arg.
8559         (setLayout): make it return ParagraphList::iterator
8560         (redoParagraphs): ditto
8561         (setCounter): ditto
8562         (checkParagraph): ditto
8563
8564         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8565
8566         * text2.C: adjust several funcs.
8567         (realizeFont): take a ParagraphList::iterator as arg.
8568         (getLayoutFont): ditto
8569         (getLabelFont): ditto
8570         (setCharFont): ditto
8571
8572         * text.C: adjust several funcs.
8573
8574 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8575
8576         * text.C (selectNextWordToSpellcheck): don't accidentally
8577         skip insets
8578
8579 2003-04-10  John Levon  <levon@movementarian.org>
8580
8581         * ToolbarBackend.C (getIcon): special handling for
8582         LFUN_MATH_DELIM
8583
8584 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8585
8586         * text2.C (cursorRight): a getChar assert fixed
8587
8588 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8589
8590         * text2.C (getFont): change to take a ParagraphList::iterator
8591         instead of Paragraph*
8592         Adjust several functions.
8593
8594         * text.C (transformChar): change to take a ParagraphList::iterator
8595         instead of Paragraph*
8596         (singleWidth): ditto
8597         Adjust several functions.
8598
8599         * rowpainter.C: adjust several functions
8600         * rowpainter.h:store a ParagraphList::iterator and not a
8601         Paragraph&.
8602
8603
8604 2003-04-09  John Levon  <levon@movementarian.org>
8605
8606         * lyxfunc.C:
8607         * lfuns.h:
8608         * LyXAction.h:
8609         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8610         and the "help" bits as well
8611
8612 2003-04-09  John Levon  <levon@movementarian.org>
8613
8614         * ToolbarBackend.h:
8615         * ToolbarBackend.C: allow multiple toolbars
8616
8617 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8618
8619         * undo_funcs.C (setCursorParUndo): adjust
8620
8621         * text_funcs.C (transposeChars): adjust
8622
8623         * text3.C (gotoNextInset): adjust
8624         (dispatch): adjust
8625
8626         * text2.C (setLayout): adjust
8627         (changeDepth): adjust
8628         (setFont): adjust
8629         (redoParagraphs): adjust
8630         (selectionAsString): adjust
8631         (setParagraph): adjust
8632         (insertInset): adjust
8633         (cutSelection): adjust
8634         (copySelection): adjust
8635         (pasteSelection): adjust
8636         (insertStringAsLines): adjust
8637         (updateInset): adjust
8638         (setCursor): change to take a ParagraphList::iterator parameter
8639         (setCursorIntern): change to take a ParagraphList::iterator parameter
8640         (setCurrentFont): adjust
8641         (cursorLeft): adjust
8642         (cursorRight): adjust
8643         (deleteEmptyParagraphMechanism): adjust
8644
8645         * text.C (breakParagraph): adjust
8646         (insertChar): adjust
8647         (acceptChange): adjust
8648         (rejectChange): adjust
8649         (selectNextWordToSpellcheck): adjust
8650         (changeCase): adjust
8651         (Delete): adjust
8652         (backspace): adjust
8653
8654         * lyxfind.C (SearchForward): adjust
8655         (SearchBackward): adjust
8656         (nextChange): adjust
8657
8658         * lyxcursor.C (par): adjust
8659
8660         * lyxcursor.h: store a ParagraphList::iterator instead of a
8661         Paragraph*
8662
8663         * lyx_cb.C (getPossibleLabel): adjust
8664
8665         * bufferview_funcs.C (toggleAndShow): adjust
8666
8667         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8668         (dispatch): adjust
8669
8670         * BufferView.C (removeAutoInsets): adjust
8671         (lockedInsetStoreUndo): adjust
8672
8673 2003-04-09  John Levon  <levon@movementarian.org>
8674
8675         * ToolbarBackend.C: try icon without argument
8676         if with argument fails
8677
8678 2003-04-08  John Levon  <levon@movementarian.org>
8679
8680         * ToolbarBackend.h:
8681         * ToolbarBackend.C: add getIcon(), handle tooltip,
8682         and change from "Icon" to "Item".
8683
8684 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8685
8686         * BufferView.C (lockInset): another bad getchar crunched
8687
8688 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8689
8690         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8691         again)
8692
8693 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8694
8695         * lyxfind.C (searchForward, searchBackwards): bug 782
8696
8697 2003-04-07  John Levon  <levon@movementarian.org>
8698
8699         * paragraph.C: remove dead comment
8700
8701         * text.C: remove troublesome depth-fiddling code
8702         in leftMargin() and rightMargin() (bug 1017)
8703
8704         * text.C: fix breaking of rows in nested lists
8705         (bug 1004)
8706
8707         * text2.C (updateCounters): fix up depth values
8708         (bug 1013)
8709
8710 2003-04-07  John Levon  <levon@movementarian.org>
8711
8712         * BufferView_pimpl.C: clear message when doc finishes resizing,
8713         and after a mouse event
8714
8715         * lyxfunc.C: clear message after exiting inset
8716
8717 2003-04-07  John Levon  <levon@movementarian.org>
8718
8719         * bufferview_funcs.C: show math status not outside
8720         status in the statusbar
8721
8722 2003-04-07  John Levon  <levon@movementarian.org>
8723
8724         * lyxfunc.C: note status changed after a depth change
8725
8726 2003-04-04  Angus Leeming  <leeming@lyx.org>
8727
8728         * LaTeX.h: move AuxInfo operator==, != out of line.
8729         Remove LaTeX virtual destructor; nothing derives from it.
8730         Move operator()() out of public area and rename it startscript().
8731         Change protected for private.
8732
8733 2003-04-04  Angus Leeming  <leeming@lyx.org>
8734
8735         * lyxfunc.C:
8736         * text2.C: remove unneeded #includes.
8737
8738 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8739
8740         * text2.C (dEPM): fix the heigth of the next row
8741
8742 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8743
8744         * text.C: squashed an invalid getChar requester + some ws changes
8745
8746 2003-04-03  John Levon  <levon@movementarian.org>
8747
8748         * bufferview_funcs.h:
8749         * bufferview_funcs.C:
8750         * lyxfunc.C:
8751         * lyxtext.h:
8752         * text2.C: make getStatus work for the env depth lfuns
8753
8754 2003-04-03  John Levon  <levon@movementarian.org>
8755
8756         * bufferview_funcs.h:
8757         * bufferview_funcs.C:
8758         * lyxfunc.C:
8759         * lyxtext.h:
8760         * text2.C: parlistize decDepth(), by merging it with incDepth()
8761
8762 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * lyxrow.h: store a ParagraphList::iterator instead of a
8765         Paragraph* and adjust other class functions to suit.
8766
8767         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8768         above.
8769
8770 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8771
8772         * text2.C (setCursor): do not anchor to cursor row for the time being
8773
8774 2003-04-02  John Levon  <levon@movementarian.org>
8775
8776         * LyXAction.C:
8777         * lfuns.h:
8778         * lyx_main.C:
8779         * lyxtext.h:
8780         * text.C:
8781         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8782
8783 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8784
8785         * paragraph.h: make ParagraphList and ParagraphList::iterator
8786         friends of Paragraph.
8787
8788         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8789
8790         * ParagraphList.C: Use the private next_ and previous_ from
8791         Paragraph.
8792
8793 2003-04-01  John Levon  <levon@movementarian.org>
8794
8795         * ToolbarBackend.h:
8796         * ToolbarBackend.C:
8797         * Makefile.am: rename, remove defaults gunk
8798
8799         * MenuBackend.h:
8800         * MenuBackend.C: remove defaults gunk
8801
8802         * Languages.h:
8803         * Languages.C: remove defaults gunk
8804
8805         * lyx_main.h:
8806         * lyx_main.C: error out if files couldn't be found.
8807
8808 2003-04-02  John Levon  <levon@movementarian.org>
8809
8810         * text2.C: make incDepth() use parlist
8811
8812 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8813
8814         * undo_funcs.C (firstUndoParagraph): adjust
8815
8816         * text3.C (gotoInset): adjust
8817         (dispatch): adjust, and rewrite loop.
8818
8819         * text2.C (init): adjust, and rewrite loop.
8820         (redoParagraphs): adjust
8821         (updateInset): adjust, and rewrite loop.
8822         (deleteEmptyParagraphMechanism): adjust
8823
8824         * tabular.C (LyXTabular): adjust
8825         (SetMultiColumn): adjust
8826         (TeXRow): adjust
8827
8828         * lyxtext.[Ch] (ownerParagraph): delete function
8829         (ownerParagraphs): new function returns a ParagraphList.
8830
8831         * BufferView.C (removeAutoInsets): adjust
8832         (insertErrors): adjust
8833         (setCursorFromRow): adjust
8834
8835 2003-04-01  Angus Leeming  <leeming@lyx.org>
8836
8837         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8838         in the frontends.
8839
8840 2003-04-02  John Levon  <levon@movementarian.org>
8841
8842         * lyxtext.h:
8843         * text.C:
8844         * Makefile.am:
8845         * text_funcs.h:
8846         * text_funcs.C: make transposeChars a free function
8847
8848         * lyxrow_funcs.C: remove wrong comment
8849
8850 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8851
8852         * lyxtext.h: adjust
8853         * rowpainter.C: adjust
8854         * text.C: adjust
8855         * text2.C: adjust
8856         * text3.C: adjust
8857
8858         * lyxrow_funcs. [Ch]: new files
8859
8860         * lyxrow.[Ch]: remove next and previous pointers
8861         (next,previous): remove accessor functions
8862         (isParEnd): move to lyxrow_funcs
8863         (lastPos): move to lyxrow_funcs
8864         (nextRowIsAllInset): move to lyxrow_funcs
8865         (lastPrintablePos): move to lyxrow_funcs
8866         (numberOfSeparators): move to lyxrow_funcs
8867         (numberOfHfills): move to lyxrow_funcs
8868         (numberOfLabelHfills): move to lyxrow_funcs
8869         (hfillExpansion): move to lyxrow_funcs
8870
8871         * lyxfunc.C: adjust
8872
8873         * bufferview_funcs.C (toggleAndShow): adjust
8874
8875         * RowList.h: Remove class RowList from file leave just a
8876         std::list<Row>.
8877
8878         * RowList.C: delete file
8879
8880         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8881         and lyxrow_funcs.h
8882
8883 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8884
8885         * text3.C (cursorPrevious): adjust
8886         (cursorNext): adjust
8887         (dispatch): adjust
8888
8889         * text2.C (redoHeightOfParagraph): adjust
8890         (redoDrawingOfParagraph): adjust
8891         (setCursor): adjust
8892
8893         * text.C (breakParagraph): adjust
8894         (insertChar): adjust
8895         (backspace): adjust
8896
8897         * rowpainter.C (RowPainter): adjust
8898         (leftMargin): simplify and adjust
8899         (most rowpainter functions): adjust.
8900
8901         * rowpainter.h: store the row as RowList::iterator not as Row*
8902
8903         * lyxcursor.C (row): taka RowList::iterator as arg
8904         (irow): ditto
8905
8906         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8907         of Row*.
8908
8909 2003-04-01  Angus Leeming  <leeming@lyx.org>
8910
8911         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8912         stuff like bool Bool.
8913
8914 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8915
8916         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8917         rewrite a loop
8918
8919 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8920
8921         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8922         RowList::iterator.
8923
8924         * lyxtext.h (rows): drop one version and leve a const variant that
8925         returns a RowList::iterator.
8926
8927 2003-03-31  Angus Leeming  <leeming@lyx.org>
8928
8929         * text.C (fill): ensure that the signature is the same as that in the
8930         header file.
8931
8932 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8933
8934         * text2.C (redoParagraphs): adjust
8935         (updateCounters): adjust
8936         (checkParagraph): adjust
8937         (getColumnNearX): adjust and reformat a bit.
8938
8939         * text.C (top_y): adjust
8940         (workWidth): adjust
8941         (leftMargin): adjust
8942         (prepareToPrint): adjust
8943         (getRow): adjust
8944         (getRowNearY): adjust
8945
8946         * lyxtext.h: make rowlist_ mutable.
8947
8948         * RowList.h: add const_iterator
8949         * RowList.C: adjust for RowList::const_iterator.
8950
8951         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8952         adjust.
8953
8954 2003-03-31  John Levon  <levon@movementarian.org>
8955
8956         * lyxrc.h:
8957         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8958
8959         * lyx_main.C: set default fonts from using lyx_gui funcs
8960
8961         * exporter.C: pdf_mode moved from lyxrc
8962
8963         * lyx_cb.C:
8964         * lyxfunc.C: changes from above
8965
8966 2003-03-31  John Levon  <levon@movementarian.org>
8967
8968         * lyx_main.C: fix to the last fix
8969
8970 2003-03-31  John Levon  <levon@movementarian.org>
8971
8972         * bufferlist.C: "Load original" -> "Load Original"
8973
8974         * converter.C:
8975         * exporter.C:
8976         * importer.C:
8977         * lyx_main.C:
8978         * format.C: more Alert cleanups
8979
8980 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8981
8982         * text2.C (removeParagraph): make it take a RowList::iterator as
8983         arg, adjust.
8984         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8985         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8986
8987         * text.C (anchor_row): make it take a RowList::iterator as arg,
8988         adjust.
8989         (computeBidiTables): make it take a const reference to Row instead
8990         of Row pointer, adjust.
8991         (leftMargin): make it take a RowList::iterator as arg, adjust.
8992         (rowBreakPoint): adjust
8993         (breakAgainOneRow): make it take a RowList::iterator as arg,
8994         adjust.
8995         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8996
8997         * bufferview_funcs.C (toggleAndShow): adjust
8998
8999 2003-03-30  John Levon  <levon@movementarian.org>
9000
9001         * Makefile.am:
9002         * BoostFormat.h:
9003         * boost-inst.C: moved to support
9004
9005         * several files: changes as a result
9006
9007 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9008
9009         * text2.C (LyXText): adjust.
9010         (init): adjust
9011         (removeRow): make it take a RowList::iterator as arg, adjust.
9012         (fullRebreak): adjust
9013         (deleteEmptyParagraphMechanism): adjust
9014         (clearPaint): adjust
9015         (postPaint): adjust
9016
9017         * text.C (top_y): adjust
9018         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9019         (breakAgain): make it take a RowList::iterator as arg, adjust.
9020         (breakParagraph): adjust
9021         (insertChar): adjust
9022         (backspace): adjust
9023
9024         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9025         need_break_row, and refresh_row.
9026
9027         * text3.C (dispatch): adjust
9028
9029         * text2.C (checkParagraph): adjust
9030         (setCursor): adjust
9031         (setCursorFromCoordinates): adjust
9032
9033         * text.C (top_y): adjust
9034         (workWidth): adjust
9035         (getRow): make it return a RowList::iterator, adjust
9036         (getRowNearY): make it return a RowList::iterator, adjust
9037
9038         * text2.C (init): adjust
9039         (insertRow): remove function
9040         (insertParagraph): adjust
9041         (redoParagraphs): adjust
9042         (fullRebreak): adjust
9043         (updateCounters): adjust
9044
9045         * text.C (top_y): rewrite to use RowList iterators.
9046         (top_y): adjust
9047         (setHeightOfRow): rewrite to sue RowList iterators.
9048         (appendParagraph): adjust
9049         (breakAgain): adjust
9050         (breakAgainOneRow): adjust
9051         (breakParagraph): adjust
9052         (getRow): adjust
9053         (getRowNearY): adjust, and remove commented code.
9054
9055         * lyxtext.h (firstRow): delete function
9056         (lastRow): delete function
9057         (rows): new function (const and non-const versions.)
9058         (insertRow): delete function
9059
9060         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9061
9062 2003-03-29  John Levon  <levon@movementarian.org>
9063
9064         * BufferView_pimpl.C: always update scrollbar top
9065         because pasting text when we're anchored could mean we
9066         miss an update altogether
9067
9068 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9069
9070         * text2.C (init): use rowlist_.end() and not 0.
9071         (insertRow): change to take a RowList::iterator as arg, adjust
9072         for this.
9073         (insertParagraph): change to take a RowList::iterator as arg,
9074         adjust for this.
9075         (redoParagraphs): remove some debug msgs.
9076
9077         * text.C (appendParagraph): change to take a RowList::iterator
9078         arg, adjust for this.
9079         (breakAgain): add an assert
9080         (breakAgainOneRow): ditto
9081
9082 2003-03-29  John Levon  <levon@movementarian.org>
9083
9084         * text2.C: do not clear selection after inc/decDepth
9085         (bug 550)
9086
9087 2003-03-29  John Levon  <levon@movementarian.org>
9088
9089         * BufferView.C:
9090         * buffer.C: fix broken strerrors according to Lars
9091
9092 2003-03-29  John Levon  <levon@movementarian.org>
9093
9094         * converters.C: more Alert cleanups
9095
9096 2003-03-29  John Levon  <levon@movementarian.org>
9097
9098         * bufferview_funcs.C: remove pointless Alert
9099
9100         * buffer.C: fix confusing error message when
9101         a template is chmoded 000
9102
9103 2003-03-29  John Levon  <levon@movementarian.org>
9104
9105         * BufferView.C:
9106         * BufferView.h:
9107         * BufferView_pimpl.C: Alert fixes
9108
9109         * Makefile.am:
9110         * tabular.C:
9111         * tabular-old.C: remove unused table compat reading
9112
9113 2003-03-29  John Levon  <levon@movementarian.org>
9114
9115         * BufferView.C:
9116         * buffer.C:
9117         * lyx_cb.h:
9118         * lyx_cb.C: more Alert cleanups
9119
9120         * lyxfunc.C: don't allow chktex if not latex document
9121
9122 2003-03-29  John Levon  <levon@movementarian.org>
9123
9124         * lyx_cb.C:
9125         * BufferView.C:
9126         * buffer.C: warnings pushed down from support/,
9127         kill err_alert
9128
9129 2003-03-29  John Levon  <levon@movementarian.org>
9130
9131         * lyxfunc.C: safety check for C-r (revert)
9132
9133 2003-03-29  John Levon  <levon@movementarian.org>
9134
9135         * bufferlist.h:
9136         * bufferlist.C: several UI fixes using Alert::prompt.
9137         Fix the pointless looping quit code. Fix stupid revert
9138         behaviour (bug 938)
9139
9140         * lyxvc.h:
9141         * lyxvc.C:
9142         * lyx_cb.C: use Alert::prompt
9143
9144         * lyx_main.C: remove a silly question
9145
9146         * lyxfunc.C: remove a couple of silly questions,
9147         use Alert::prompt
9148
9149 2003-03-28  John Levon  <levon@movementarian.org>
9150
9151         * text2.C: fix bug 974 (End on empty par)
9152
9153 2003-03-28  John Levon  <levon@movementarian.org>
9154
9155         * BufferView_pimpl.C:
9156         * LyXAction.C:
9157         * lfuns.h: remove do-nothing math greek lfuns
9158
9159 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9160
9161         * lyxgluelength.h (isValidGlueLength): add default arg on
9162         parameter 2. Remove default arg from friend in class.
9163
9164         * lyxlength.h (isValidLength): add default arg on parameter 2.
9165         Remove default arg from friend in class.
9166
9167         * text2.C (LyXText): adjust, initialize refresh_row.
9168         (init): adjust
9169         (removeRow): adjust
9170         (insertRow): adjust
9171         (insertParagraph): adjst
9172         (redoParagraphs): adjust
9173         (fullRebreak): adjust
9174         (updateCounters): adjust
9175         (deleteEmptyParagraphMechanism): first attempt at fixing a
9176         crashing bug.
9177
9178         * text.C (top_y): adjust
9179         (setHeightOfRow): adjust
9180         (getRow): adjust
9181         (getRowNearY): adjust
9182
9183         * lyxtext.h: include RowList.h
9184         (~LyXText): not needed anymore, deleted.
9185         (firstRow): modify for RowList
9186         (lastRow): new function
9187         Delete firstrow and lastrow class variables, add a Rowlist
9188         rowlist_ class variable.
9189
9190         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9191         paragraph is empty.
9192
9193         * RowList.C (insert): fix case where it == begin().
9194
9195 2003-03-26  Angus Leeming  <leeming@lyx.org>
9196
9197         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9198         the thesaurus dialog.
9199
9200 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9201
9202         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9203
9204         * RowList.[Ch]: new files
9205
9206         * ParagraphList.C (erase): handle the case where it == begin
9207         correctly.
9208
9209 2003-03-25  John Levon  <levon@movementarian.org>
9210
9211         * Makefile.am:
9212         * aspell_local.h:
9213         * aspell.C: add new aspell support
9214
9215         * lyxrc.h:
9216         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9217         have it accessible.
9218
9219 2003-03-25  Angus Leeming  <leeming@lyx.org>
9220
9221         * lfuns.h:
9222         * LyXAction.C (init): new LFUN_INSET_INSERT.
9223
9224         * BufferView_pimpl.C (dispatch): split out part of the
9225         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9226
9227         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9228         LFUN_INSET_APPLY.
9229
9230 2003-03-25  Angus Leeming  <leeming@lyx.org>
9231
9232         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9233
9234 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9235
9236         * text2.C:
9237         * text3.C: remove useless row->height(0)
9238
9239 2003-03-25  John Levon  <levon@movementarian.org>
9240
9241         * lyxtext.h:
9242         * text2.C:
9243         * text3.C: rename the refreshing stuff to better names
9244
9245 2003-03-24  John Levon  <levon@movementarian.org>
9246
9247         * BufferView_pimpl.h:
9248         * BufferView_pimpl.C: update layout choice on a mouse
9249         press/release
9250
9251 2003-03-23  John Levon  <levon@movementarian.org>
9252
9253         * Makefile.am: fix commandtags.h reference
9254
9255 2003-03-22  John Levon  <levon@movementarian.org>
9256
9257         * BufferView_pimpl.C:
9258         * lyxtext.h:
9259         * rowpainter.C:
9260         * rowpainter.h:
9261         * text.C:
9262         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9263
9264 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9265
9266         * lyxtext.h:
9267         * text.C: take the rtl methods out of line
9268
9269 2003-03-21 André Pönitz <poenitz@gmx.net>
9270
9271         * metricsinfo.[Ch]: new files containing structures to be passed around
9272         during the two-phase-drawing...
9273
9274 2003-03-21 André Pönitz <poenitz@gmx.net>
9275
9276         * lyxtextclass.C: read 'environment' tag.
9277
9278 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9279
9280         * text2.C (removeRow): fix bug 964
9281
9282 2003-03-20  John Levon  <levon@movementarian.org>
9283
9284         * rowpainter.C:
9285         * text.C:
9286         * text2.C: paint cleanups. Inset::update() dropped font
9287         parameter
9288
9289 2003-03-19  John Levon  <levon@movementarian.org>
9290
9291         * lyxfunc.C: only fitcursor/markDirty if available()
9292
9293 2003-03-19  John Levon  <levon@movementarian.org>
9294
9295         * commandtags.h: rename to ...
9296
9297         * lfuns.h: ... this, and renumber / cleanup
9298
9299 2003-03-19  John Levon  <levon@movementarian.org>
9300
9301         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9302         fit the cursor after an lfun
9303
9304         * BufferView.h:
9305         * BufferView.C:
9306         * BufferView_pimpl.h:
9307         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9308
9309         * LyXAction.C: layout-character should have ReadOnly
9310
9311         * ParagraphParameters.C:
9312         * buffer.C:
9313         * bufferview_funcs.C:
9314         * lyx_cb.C:
9315         * lyxfind.C:
9316         * lyxtext.h:
9317         * text.C:
9318         * text2.C:
9319         * text3.C:
9320         * undo_funcs.C: changes from above
9321
9322 2003-03-18  John Levon  <levon@movementarian.org>
9323
9324         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9325         remove it from update()
9326
9327         * lyxfunc.C: update layout choice after an lfun
9328
9329         * text3.C: remove extra updateLayoutChoice()s
9330
9331 2003-03-18  John Levon  <levon@movementarian.org>
9332
9333         * text.C: top_y change means full repaint, fix
9334         a drawing bug with cursor movement
9335
9336 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9337
9338         * lyxtext.h:
9339         * text.C:
9340         * text2.C: anchor row on setCursor
9341
9342 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9343
9344         * lyxtext.h: remove almost all mutable keywords
9345         * text.C:
9346         * text2.C:
9347         * text3.C: remove const keywords accordingly
9348
9349 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9350
9351         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9352         anon namespace
9353         (TeXEnvironment): ditto
9354         (TeXOnePar): ditto
9355
9356 2003-03-17  John Levon  <levon@movementarian.org>
9357
9358         * text.C (rowBreakPoint): remove attempt to fix displayed
9359         math insets inside a manual label
9360
9361 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9362
9363         * lyxtext.h: remove BufferView* as first arg from almost all class
9364         functions.
9365         * other files: adjust.
9366
9367 2003-03-17  John Levon  <levon@movementarian.org>
9368
9369         * lyxtext.h:
9370         * undo_funcs.C:
9371         * text2.C: more paint cleanups
9372
9373         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9374
9375         * rowpainter.h:
9376         * rowpainter.C: remove "smart" background painting code
9377
9378 2003-03-16  John Levon  <levon@movementarian.org>
9379
9380         * lyxtext.h:
9381         * text.C:
9382         * text2.C:
9383         * text3.C: add helper functions for setting refresh_row/y
9384
9385 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9386
9387         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9388         newline inset which *can* get inserted in the pass_thru layouts.
9389         This is primarily for literate documents.
9390
9391 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9392
9393         * buffer.C: increment LYX_FORMAT to 223
9394
9395 2003-03-14 André Pönitz <poenitz@gmx.net>
9396
9397         * textclass.h: prepare for environment handling, ws changes
9398         * lyxlayout.C: read latexheader and latexfooter tags
9399
9400 2003-03-14  John Levon  <levon@movementarian.org>
9401
9402         * text2.C: rewrite ::status() a bit
9403
9404 2003-03-13  John Levon  <levon@movementarian.org>
9405
9406         * lyxtext.h: add some docs
9407
9408 2003-03-13  John Levon  <levon@movementarian.org>
9409
9410         * lyxtext.h:
9411         * text.C:
9412         * text2.C:
9413         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9414
9415 2003-03-13  John Levon  <levon@movementarian.org>
9416
9417         * text3.C: fix appendix redrawing
9418
9419 2003-03-13  John Levon  <levon@movementarian.org>
9420
9421         * text.C (setHeightOfRow):
9422         * rowpainter.h:
9423         * rowpainter.C: make appendix mark have the text
9424           "Appendix" so the user knows what it is
9425
9426         * LColor.h:
9427         * LColor.C: s/appendixline/appendix/ from above
9428
9429 2003-03-13  John Levon  <levon@movementarian.org>
9430
9431         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9432
9433         * text.C: fix a getChar(pos) bug properly
9434
9435 2003-03-13  Angus Leeming  <leeming@lyx.org>
9436
9437         * commandtags.h:
9438         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9439         Probably only temporary. Let's see how things pan out.
9440
9441         * BufferView.C (unlockInset):
9442         * BufferView_pimpl.C (fitCursor):
9443         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9444
9445         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9446         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9447
9448         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9449         new functions that convert ParagraphParameters to and from a string.
9450
9451         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9452         BufferView::Pimpl's dispatch.
9453         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9454
9455 2003-03-13 André Pönitz <poenitz@gmx.net>
9456
9457         * lyxfunc.C:
9458         * text3.C:
9459         * factory.C: make it aware of InsetEnv
9460
9461 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9462
9463         * text2.C (setCursor): never ask for one past last
9464         (setCursor): add some debugging messages.
9465
9466         * text.C (singleWidth): never ask for one past last
9467         (singleWidth): ditto
9468         (leftMargin): ditto
9469         (rightMargin): ditto
9470         (rowBreakPoint): ditto
9471         (setHeightOfRow): ditto
9472         (prepareToPrint): ditto
9473
9474         * rowpainter.C (paintBackground): never ask for one past last
9475         (paintText): never ask for one past last
9476
9477         * paragraph_pimpl.C (getChar): make the assert stricter, never
9478         allow the one past last pos to be taken
9479
9480         * paragraph.C (getChar): ws changes only
9481
9482         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9483         (numberOfSeparators): ditto
9484         (numberOfHfills): ditto
9485
9486 2003-03-12  John Levon  <levon@movementarian.org>
9487
9488         * author.h:
9489         * author.C:
9490         * bufferparams.h:
9491         * bufferparams.C:
9492         * paragraph_funcs.C: fix per-buffer authorlists
9493
9494 2003-03-12  John Levon  <levon@movementarian.org>
9495
9496         * text.C: fix newline in right address
9497
9498 2003-03-12  Angus Leeming  <leeming@lyx.org>
9499
9500         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9501         duplicate those in LyXFunc::dispatch.
9502
9503         * commandtags.h:
9504         * LyXAction.C:
9505         * ToolbarDefaults.C:
9506         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9507         Add LFUN_FONTFREE_UPDATE.
9508
9509         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9510         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9511
9512         * bufferview_func.[Ch]: several new functions to facilliate
9513         transfer of data to and from the character dialog.
9514
9515 2003-03-12  John Levon  <levon@movementarian.org>
9516
9517         * buffer.C:
9518         * paragraph.h:
9519         * paragraph.C:
9520         * paragraph_funcs.C:
9521         * paragraph_pimpl.C:
9522         * sgml.C:
9523         * tabular.C:
9524         * text.C:
9525         * text3.C: remove META_NEWLINE in favour of an inset
9526
9527         * rowpainter.h:
9528         * rowpainter.C: remove paintNewline (done by inset)
9529
9530 2003-03-12  John Levon  <levon@movementarian.org>
9531
9532         * paragraph_pimpl.C: complain about bad getChar()s
9533         for a while at least
9534
9535 2003-03-12  John Levon  <levon@movementarian.org>
9536
9537         * buffer.h:
9538         * buffer.C: move paragraph read into a separate function,
9539         a little renaming to reflect that.
9540
9541         * bufferparams.h:
9542         * bufferparams.C: remove the author_ids map, not necessary now
9543
9544         * factory.h:
9545         * factory.C: moved Buffer::readInset to here
9546
9547         * paragraph_funcs.h:
9548         * paragraph_funcs.C: readParagraph free function moved from
9549         buffer.C
9550
9551         * tabular.C: name change
9552
9553 2003-03-12  John Levon  <levon@movementarian.org>
9554
9555         * buffer.C:
9556         * ParagraphParameters.C: move par params input to
9557         a read() method
9558
9559         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9560         behave like a normal read from the stream wrt reading
9561         a line vs. a \\token
9562
9563 2003-03-12  John Levon  <levon@movementarian.org>
9564
9565         * paragraph.C:
9566         * ParagraphParameters.h:
9567         * ParagraphParameters.C: move output code to a
9568         ::write() method
9569
9570 2003-03-12  John Levon  <levon@movementarian.org>
9571
9572         * BufferView.C (insertLyXFile):
9573         * buffer.h:
9574         * buffer.C:
9575         * tabular.C: use a parlist iterator for creating the
9576           document.
9577
9578 2003-03-12  John Levon  <levon@movementarian.org>
9579
9580         * buffer.C: make current_change static local not
9581           static file-scope
9582
9583 2003-03-12  John Levon  <levon@movementarian.org>
9584
9585         * buffer.C: fix insertStringAsLines for change tracking
9586
9587 2003-03-12  John Levon  <levon@movementarian.org>
9588
9589         * BufferView.C:
9590         * tabular.C:
9591         * buffer.h:
9592         * buffer.C:
9593         * bufferparams.h:
9594         * bufferparams.C: move author list into params. Rename some
9595           functions. Move the header reading into a separate token
9596           loop. Move the header token reading into BufferParams.
9597
9598 2003-03-12  John Levon  <levon@movementarian.org>
9599
9600         * changes.C: put debug inside lyxerr.debugging() checks
9601
9602 2003-03-11 André Pönitz <poenitz@gmx.net>
9603
9604         * factory.C: make it aware of InsetHFill
9605
9606 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9607
9608         * buffer.C (latexParagraphs): move function from here...
9609         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9610         args.
9611
9612 2003-03-10  Angus Leeming  <leeming@lyx.org>
9613
9614         * LyXAction.C (init): fix bug in poplating array with multiple entries
9615         with the same LFUN (spotted by JMarc).
9616
9617 2003-03-10  John Levon  <levon@movementarian.org>
9618
9619         * text.C:
9620         * text2.C: move getColumnNearX() near its
9621         only call site
9622
9623 2003-03-10  John Levon  <levon@movementarian.org>
9624
9625         * text.C: fix break before a minipage
9626
9627 2003-03-10  John Levon  <levon@movementarian.org>
9628
9629         * text.C: fix the last commit
9630
9631 2003-03-09  John Levon  <levon@movementarian.org>
9632
9633         * lyxtext.h:
9634         * text.C:
9635         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9636         bug 365 (don't break before insets unless needed). Don't
9637         return a value > last under any circumstances.
9638
9639 2003-03-09  Angus Leeming  <leeming@lyx.org>
9640
9641         * BufferView_pimpl.C (trackChanges, dispatch): call
9642         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9643
9644 2003-03-09  Angus Leeming  <leeming@lyx.org>
9645
9646         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9647         than Dialogs::showAboutlyx().
9648
9649 2003-03-09  Angus Leeming  <leeming@lyx.org>
9650
9651         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9652         than Dialogs::showTabularCreate().
9653
9654 2003-03-09  John Levon  <levon@movementarian.org>
9655
9656         * lyxtext.h:
9657         * text.C:
9658         * text2.C: 3rd arg to nextBreakPoint was always the same.
9659           Use references.
9660
9661 2003-03-08  John Levon  <levon@movementarian.org>
9662
9663         * lyxrow.C:
9664         * paragraph.C:
9665         * paragraph.h:
9666         * rowpainter.C:
9667         * text.C:
9668         * text2.C: Remove the "main" bit from the "main body"
9669           notion.
9670
9671 2003-03-08  John Levon  <levon@movementarian.org>
9672
9673         * text.C (leftMargin): The left margin of an empty
9674         manual label paragraph should not include the label width
9675         string length.
9676
9677         * text.C (prepareToPrint): don't attempt to measure hfills
9678         for empty manual label paragraphs - the answer should be 0
9679
9680 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9681
9682         * CutAndPaste.C: remove commented code and reindent.
9683
9684 2003-03-08  John Levon  <levon@movementarian.org>
9685
9686         * lyxfunc.h:
9687         * lyxfunc.C: move reloadBuffer()
9688
9689         * BufferView.h:
9690         * BufferView.C: to here
9691
9692         * lyxvc.C: add comment
9693
9694         * vc-backend.h:
9695         * vc-backend.C: call bv->reload() to avoid
9696           getStatus() check on MENURELOAD
9697
9698 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9699
9700         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9701         to an old format .dep file.
9702
9703 2003-03-07  Angus Leeming  <leeming@lyx.org>
9704
9705         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9706         when the LFUN_MOUSE_RELEASE should have been handled by
9707         inset->localDispatch.
9708
9709 2003-03-07  Angus Leeming  <leeming@lyx.org>
9710
9711         * BufferView_pimpl.C (dispatch):
9712         * LyXAction.C (init):
9713         * ToolbarDefaults.C (init):
9714         * commandtags.h:
9715         * lyxfunc.C (getStatus):
9716         remove LFUN_INSET_GRAPHICS.
9717
9718         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9719
9720 2003-03-07  Angus Leeming  <leeming@lyx.org>
9721
9722         * commandtags.h:
9723         * LyXAction.C (init):
9724         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9725
9726         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9727
9728         * commandtags.h:
9729         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9730
9731         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9732         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9733
9734 2003-03-07  Angus Leeming  <leeming@lyx.org>
9735
9736         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9737         remove "ert".
9738
9739 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9740
9741         * ParagraphList.C (front): new function
9742         (back): implement
9743
9744 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9745
9746         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9747         and top_row_offset_. removed var first_y.
9748         * text.C (top_y):
9749         * text2.C (LyXText, removeRow):
9750         * text3.C:
9751         * BufferView_pimpl.C:
9752         use these methods instead of using first_y
9753
9754 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9755
9756         * text2.C (pasteSelection): adjust for checkPastePossible
9757
9758         * CutAndPaste.C: remove Paragraph * buf and replace with
9759         ParagraphList paragraphs.
9760         (DeleteBuffer): delete
9761         (cutSelection): change the tc type to textclass_type
9762         (copySelection): change the tc type to textclass_type
9763         (copySelection): adjust for ParagraphList
9764         (pasteSelection): change the tc type to textclass_type
9765         (pasteSelection): adjust for Paragraphlist
9766         (nrOfParagraphs): simplify for ParagraphList
9767         (checkPastePossible): simplify for ParagraphList
9768         (checkPastePossible): remove unused arg
9769
9770         * ParagraphList.C (insert): handle the case where there are no
9771         paragraphs yet.
9772
9773         * CutAndPaste.h: make CutAndPaste a namespace.
9774
9775         * text3.C (dispatch): adjust
9776
9777         * text.C (breakParagraph): add a ParagraphList as arg
9778
9779         * paragraph_funcs.C (breakParagraph): change to take a
9780         BufferParams and a ParagraphList as args.
9781         (breakParagraphConservative): ditto
9782         (mergeParagraph): ditto
9783         (TeXDeeper): add a ParagraphList arg
9784         (TeXEnvironment): ditto
9785         (TeXOnePar): ditto
9786
9787         * buffer.C (readLyXformat2): adjust
9788         (insertStringAsLines): adjust
9789         (latexParagraphs): adjust
9790
9791         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9792         (cutSelection): adjust
9793         (pasteSelection): adjust
9794
9795         * BufferView_pimpl.C (insertInset): adjust
9796
9797 2003-03-05  Angus Leeming  <leeming@lyx.org>
9798
9799         * commandtags.h:
9800         * LyXAction.C (init):
9801         * BufferView_pimpl.C (dispatch):
9802         * lyxfunc.C (getStatus):
9803         remove LFUN_CHILD_INSERT.
9804
9805         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9806
9807 2003-03-05  Angus Leeming  <leeming@lyx.org>
9808
9809         * commandtags.h:
9810         * LyXAction.C (init):
9811         * src/factory.C (createInset):
9812         * lyxfunc.C (getStatus):
9813         * text3.C (dispatch):
9814         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9815
9816         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9817
9818 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9819
9820         * ParagraphList.C (insert): handle insert right before end()
9821         (erase): fix cases where it can be first or last paragraph.
9822
9823 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9824
9825         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9826         Paragraph::next and Paragraph::previous
9827         (TeXOnePar): ditto
9828
9829         * text.C (breakParagraph): adjust
9830
9831         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9832         BufferParams& as arg.
9833         (breakParagraph): use ParagraphList::insert
9834         (breakParagraphConservative): take a Buffer* instead of a
9835         BufferParams& as arg.
9836         (breakParagraphConservative): use ParagraphList::insert.
9837
9838         * buffer.C (insertStringAsLines): un-const it
9839         (insertStringAsLines): adjust
9840
9841         * ParagraphList.C (insert): new function
9842
9843         * CutAndPaste.C (pasteSelection): adjust
9844
9845         * text.C (backspace): adjust
9846
9847         * tabular.C (SetMultiColumn): adjust
9848
9849         * CutAndPaste.C (cutSelection): adjust
9850         (pasteSelection): adjust
9851
9852         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9853         Buffer const * as arg
9854
9855         * ParagraphList.C (erase): new function
9856         * paragraph_funcs.C (mergeParagraph): use it
9857         (mergeParagraph): make it take a Buffer* instead of a
9858         BufferParams* as arg
9859
9860         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9861         as arg
9862         (breakParagraphConservative): ditto
9863
9864         * paragraph.h: remove the breakParagraph friend
9865
9866         * paragraph.C (eraseIntern): new function
9867         (setChange): new function
9868
9869         * paragraph_funcs.C (mergeParagraph): make it take a
9870         ParagraphList::iterator instead of a Paragraph *, adjust
9871         accordingly.
9872
9873         * paragraph.h: move an #endif so that the change tracking stuff
9874         also works in the NO_NEXT case.
9875
9876 2003-03-04  Angus Leeming  <leeming@lyx.org>
9877
9878         * commandtags.h:
9879         * LyXAction.C: new LFUN_INSET_MODIFY.
9880
9881         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9882         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9883
9884 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9885
9886         * several files: ws changes only
9887
9888         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9889         (TeXEnvironment): ditto
9890         (TeXDeeper): ditto
9891
9892         * buffer.C (makeLaTeXFile): adjust
9893         (latexParagraphs): make it take ParagraphList::iterator as args
9894
9895 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9896
9897         * buffer.C (latexParagraphs): adjust
9898
9899         * paragraph.C (TeXOnePar): move function...
9900         (optArgInset): move function...
9901         (TeXEnvironment): move function...
9902         * paragraph_pimpl.C (TeXDeeper): move function...
9903         * paragraph_funcs.C: ...here
9904
9905         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9906
9907 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9908
9909         * buffer.C (readInset): remove compability code for old Figure and
9910         InsetInfo insets
9911
9912 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9913
9914         * buffer.C: ws changes
9915         (readInset):
9916
9917         * BufferView_pimpl.C: ditto
9918         * author.C: ditto
9919         * buffer.h: ditto
9920         * bufferlist.h: ditto
9921         * changes.h: ditto
9922         * lyxfunc.C: ditto
9923
9924 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9925
9926         * converter.[Ch]: split into itself +
9927         * graph.[Ch]
9928         * format.[Ch]
9929         * Makefile.am: += graph.[Ch] + format.[Ch]
9930         * MenuBackend.C
9931         * buffer.C
9932         * exporter.C
9933         * importer.C
9934         * lyx_main.C
9935         * lyxfunc.C
9936         * lyxrc.C: added #include "format.h"
9937
9938 2003-02-27  Angus Leeming  <leeming@lyx.org>
9939
9940         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9941           a label.
9942
9943         * factory.C (createInset): add "label" to the factory.
9944
9945         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9946           string and do no more.
9947
9948 2003-02-27  Angus Leeming  <leeming@lyx.org>
9949
9950         * commandtags.h:
9951         * LyXAction.C (init):
9952         * factory.C (createInset):
9953         * BufferView_pimpl.C (dispatch):
9954           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9955
9956         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9957
9958         * lyxfunc.C (dispatch):
9959         * text3.C (dispatch): pass name to params2string.
9960
9961 2003-02-26  Angus Leeming  <leeming@lyx.org>
9962
9963         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9964           blocks together.
9965           Rearrange the ~includes. Strip out the unnecessary ones.
9966
9967         * factory.C (createInset): reformat.
9968           create new insets for the various LFUN_XYZ_APPLY lfuns.
9969
9970 2003-02-26  John Levon  <levon@movementarian.org>
9971
9972         * lyxrow.h:
9973         * lyxrow.C: add isParStart,isParEnd helpers
9974
9975         * paragraph.h: make isInserted/DeletedText take refs
9976
9977         * paragraph_funcs.h:
9978         * paragraph_funcs.C: remove #if 0'd code
9979
9980         * lyxtext.h:
9981         * text3.C:
9982         * text2.C:
9983         * text.C: use lyxrow helpers above.
9984           Move draw and paint routines to RowPainter.
9985           Make several methods use refs not pointers.
9986           Make backgroundColor() const.
9987           Add markChangeInDraw(), isInInset().
9988           Merge changeRegionCase into changeCase.
9989           Make workWidth() shouldn't-happen code into an Assert.
9990
9991         * rowpainter.h:
9992         * rowpainter.C: new class for painting a row.
9993
9994         * vspace.h:
9995         * vspace.C: make inPixels take a ref
9996
9997 2003-02-26  Angus Leeming  <leeming@lyx.org>
9998
9999         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10000         LFUN_REF_APPLY.
10001
10002 2003-02-25  John Levon  <levon@movementarian.org>
10003
10004         * ispell.C: give the forked command a more accurate name
10005
10006 2003-02-22  John Levon  <levon@movementarian.org>
10007
10008         * toc.h:
10009         * toc.C: make TocItem store an id not a Paragraph *
10010           (bug #913)
10011
10012 2003-02-21  Angus Leeming  <leeming@lyx.org>
10013
10014         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10015           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10016           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10017           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10018           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10019           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10020
10021         * BufferView_pimpl.C (dispatch):
10022         * LyXAction.C (init):
10023         * factory.C (createInset):
10024         * lyxfunc.C (getStatus, dispatch):
10025         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10026
10027 2003-02-21  Angus Leeming  <leeming@lyx.org>
10028
10029         * BufferView_pimpl.C (MenuInsertLyXFile):
10030         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10031         * lyxfunc.C (menuNew, open, doImport):
10032           no longer pass a LyXView & to fileDlg.
10033
10034 2003-02-21  Angus Leeming  <leeming@lyx.org>
10035
10036         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10037         * LyXAction.C: change, BIBKEY to BIBITEM.
10038         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10039         Change InsetBibKey to InsetBibitem.
10040         Change BIBKEY_CODE to BIBITEM_CODE.
10041         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10042         * factory.C: replace insetbib.h with insetbibitem.h.
10043         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10044         * paragraph.C: replace insetbib.h with insetbibitem.h.
10045         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10046         Change bibkey() to bibitem().
10047         * text.C: remove insetbib.h.
10048         * text2.C: replace insetbib.h with insetbibitem.h.
10049         change bibkey() to bibitem().
10050         * text3.C: remove insetbib.h.
10051         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10052
10053 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10054
10055         * lyxrc.C (output): enclose user email in quotes (in case there are
10056         several words)
10057
10058 2003-02-18  John Levon  <levon@movementarian.org>
10059
10060         * buffer.h: add std::
10061
10062 2003-02-17  John Levon  <levon@movementarian.org>
10063
10064         * SpellBase.h:
10065         * ispell.h:
10066         * ispell.C:
10067         * pspell.h:
10068         * pspell.C: reworking. Especially in ispell, a large
10069           number of clean ups and bug fixes.
10070
10071         * lyxfunc.C: fix revert to behave sensibly
10072
10073 2003-02-17 André Pönitz <poenitz@gmx.net>
10074
10075         * LyXAction.C:
10076         * commandtags.h: new LFUN_INSERT_BIBKEY
10077
10078         * layout.h:
10079         * lyxlayout.C:
10080         * buffer.C:
10081         * factory.C:
10082         * text.C:
10083         * text2.C:
10084         * text3.C:
10085         * paragraph.[Ch]:
10086         * paragraph_func.C: remove special bibkey handling
10087
10088 2003-02-17  John Levon  <levon@movementarian.org>
10089
10090         * text.C (Delete): fix case where delete at the end of
10091           the very first paragraph would not merge the pars
10092
10093 2003-02-17  John Levon  <levon@movementarian.org>
10094
10095         * lyxrow.C: fix lastPrintablePos()
10096
10097 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10098
10099         * bufferparams.C (writeLaTeX): add a std:here
10100
10101         * buffer.C: and remove a using directive there
10102
10103 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10104
10105         * buffer.C (makeLaTeXFile): move the code that generates the
10106           preamble...
10107
10108         * bufferparams.C (writeLaTeX): ... in this new method
10109
10110         * LaTeXFeatures.C (getEncodingSet): make const
10111           (getLanguages): make const
10112
10113         * MenuBackend.C (binding): returns the binding associated to this
10114           action
10115           (add): sets the status of each item by calling getStatus. Adds
10116           some intelligence.
10117           (read): add support for OptSubMenu
10118           (expand): remove extra separator at the end of expanded menu
10119
10120 2003-02-15  John Levon  <levon@movementarian.org>
10121
10122         * BufferView.C:
10123         * BufferView_pimpl.C:
10124         * bufferlist.h:
10125         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10126           inset code that had no actual effect. Remove unneeded status
10127           code.
10128
10129 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10130
10131         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10132           in preamble
10133
10134 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10135
10136         * text.C (drawLengthMarker): also draw an arrow marker for
10137           symbolic lengths (medskip...)
10138
10139 2003-02-14  John Levon  <levon@movementarian.org>
10140
10141         * tabular.h:
10142         * tabular.C: better method names
10143
10144 2003-02-14  John Levon  <levon@movementarian.org>
10145
10146         * BufferView_pimpl.C:
10147         * bufferlist.C:
10148         * buffer.C:
10149         * converter.C:
10150         * lyx_cb.C:
10151         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10152           it's a more accurate name. Remove some pointless uses.
10153
10154 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10155
10156         * text2.C (LyXText): change order of initilizers to shut off
10157           warnings
10158
10159 2003-02-14  John Levon  <levon@movementarian.org>
10160
10161         * buffer.C: use ParIterator for getParFromID()
10162
10163         * paragraph.h:
10164         * paragraph.C:
10165         * paragraph_pimpl.h:
10166         * paragraph_pimpl.C: remove unused getParFromID()
10167
10168 2003-02-14  John Levon  <levon@movementarian.org>
10169
10170         * buffer.C: remove some very old #if 0'd parse code
10171
10172 2003-02-13  John Levon  <levon@movementarian.org>
10173
10174         * text.h:
10175         * text.C:
10176         * text2.C: move hfillExpansion(), numberOfSeparators(),
10177           rowLast(), rowLastPrintable(), numberofHfills(),
10178           numberOfLabelHfills() ...
10179
10180         * lyxrow.h:
10181         * lyxrow.C: ... to member functions here.
10182
10183         * paragraph.h:
10184         * paragraph.C:
10185         * lyxtext.h:
10186         * text.C: remove LyXText::beginningOfMainBody(), and call
10187           p->beginningOfMainBody() directly. Move the check for
10188           LABEL_MANUAL into the latter.
10189
10190         * text.h:
10191         * text.C:
10192         * text2.C:
10193         * vspace.C:
10194         * BufferView.h:
10195         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10196
10197         * text.h:
10198         * text.C:
10199         * text2.C:
10200         * text3.C:
10201         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10202           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10203
10204 2003-02-13  John Levon  <levon@movementarian.org>
10205
10206         * CutAndPaste.C: remove debug
10207
10208 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10209
10210         * paragraph.C (asString): remove two unused variables
10211
10212         * lyxtextclass.C (readTitleType):
10213           (Read):
10214           (LyXTextClass): handle new members titletype_ and titlename_
10215
10216         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10217
10218 2003-02-09  John Levon  <levon@movementarian.org>
10219
10220         * buffer.h:
10221         * buffer.C: replace hand-coded list with a map for the dep clean
10222
10223 2003-02-08  John Levon  <levon@movementarian.org>
10224
10225         * LaTeX.C: consolidate code into showRunMessage() helper
10226
10227 2003-02-08  John Levon  <levon@movementarian.org>
10228
10229         * lyxfind.C:
10230         * lyxtext.h:
10231         * text2.C:
10232         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10233           and pass the size in explicitly
10234
10235         * BufferView_pimpl.h:
10236         * BufferView_pimpl.C:
10237         * BufferView.h:
10238         * BufferView.C: add getCurrentChange()
10239
10240         * BufferView_pimpl.h:
10241         * BufferView_pimpl.C: handle change lfuns
10242
10243         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10244           for changes. Mark pasted paragraphs as new.
10245
10246         * support/lyxtime.h:
10247         * support/lyxtime.C:
10248         * DepTable.C: abstract time_t as lyx::time_type
10249
10250         * LColor.h:
10251         * LColor.C: add colours for new text, deleted text, changebars
10252
10253         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10254           package use "usenames" option.
10255
10256         * commandtags.h:
10257         * lyxfunc.C:
10258         * LyXAction.C: add change lfuns
10259
10260         * Makefile.am:
10261         * author.h:
10262         * author.C: author handling
10263
10264         * buffer.h:
10265         * buffer.C: add a per-buffer author list, with first entry as
10266           current author. Handle new .lyx tokens for change tracking. Output
10267           author list to .lyx file. Output dvipost stuff to .tex preamble.
10268           Bump lyx format to 222.
10269
10270         * bufferlist.h:
10271         * bufferlist.C: add setCurrentAuthor() to reset current author details
10272           in all buffers.
10273
10274         * bufferparams.h:
10275         * bufferparams.C: add param for tracking
10276
10277         * bufferview_funcs.C: output change info in minibuffer
10278
10279         * Makefile.am:
10280         * changes.h:
10281         * changes.C: add change-tracking structure
10282
10283         * debug.h:
10284         * debug.C: add CHANGES debug flag
10285
10286         * lyxfind.h:
10287         * lyxfind.C: add code for finding the next change piece
10288
10289         * lyxrc.h:
10290         * lyxrc.C: add user_name and user_email
10291
10292         * lyxrow.h:
10293         * lyxrow.C: add a metric for the top of the text line
10294
10295         * lyxtext.h:
10296         * text.C: implement accept/rejectChange()
10297
10298         * lyxtext.h:
10299         * text.C: paint changebars. Paint new/deleted text in the chosen
10300         colours. Strike through deleted text.
10301
10302         * paragraph.h:
10303         * paragraph.C:
10304         * paragraph_pimpl.h:
10305         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10306           in the current change to the insert functions. Rework erase to
10307           mark text as deleted, adding an eraseIntern() and a range-based
10308           erase(). Implement per-paragraph change lookup and
10309           accept/reject.
10310
10311         * paragraph_funcs.C: Fixup paste for change tracking.
10312
10313         * tabular.C: mark added row/columns as new.
10314
10315         * text.C: fix rowLast() to never return -1. Don't allow
10316           spellchecking of deleted text. Track transpose changes. Don't
10317           allow paragraph break or merge where appropriate.
10318
10319         * text2.C: leave cursor at end of selection after a cut.
10320
10321 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10322
10323         * text.C (getLengthMarkerHeight):
10324         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10325         visible on screen too.
10326
10327 2003-02-07  John Levon  <levon@movementarian.org>
10328
10329         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10330
10331 2003-02-05  Angus Leeming  <leeming@lyx.org>
10332
10333         * lyxserver.C (read_ready): revert my patch of 11 September last year
10334         as it sends PC cpu through the roof. Presumably this means that
10335         the lyxserver will no longer run on an Alpha...
10336
10337 2003-01-30  Angus Leeming  <leeming@lyx.org>
10338
10339         * factory.C (createInset): create an InsetCommandParam of type "index"
10340         and use it to 'do the right thing'.
10341
10342         * text2.C (getStringToIndex): ensure that cursor position is always
10343         reset to the reset_cursor position.
10344
10345 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10346
10347         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10348         disabled.
10349
10350 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10351
10352         * bufferview.C:
10353         * lyxcb.C:
10354         * lyxfunc.C: Output messages with identical spelling, punctuation,
10355         and spaces
10356
10357 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10358
10359         * MenuBackend.C (expandFormats): List only viewable export formats
10360         in "View" menu
10361
10362         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10363         message
10364
10365         * lyxfunc.C (getStatus): Make sure that formats other than
10366         "fax" can also be disabled
10367
10368 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10369
10370         * text3.C (dispatch): put the lfuns that insert insets in 3
10371         groups, and call doInsertInset with appropriate arguments.
10372         (doInsertInset): new function, that creates an inset and inserts
10373         it according to some boolean parameters.
10374
10375 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10376
10377         * buffer.C (readFile): remember to pass on 'par' when calling
10378         readFile recursively.
10379
10380 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10381
10382         * MenuBackend.C (expandFormats): add "..." to import formats.
10383
10384 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10385
10386         * paragraph.C (asString): Remove XForms RTL hacks.
10387
10388 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10389         * buffer.C: fix typo
10390
10391 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10392
10393         * Makefile.am (LIBS): delete var
10394         (lyx_LDADD): add @LIBS@ here instead.
10395
10396 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10397
10398         * Clarify the meaning of "wheel mouse jump"
10399
10400 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10401
10402         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10403         tabular in a float
10404
10405 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10406
10407         * importer.C (Loaders): do not preallocate 3 elements in the
10408         vector, since one ends up with 6 elements otherwise
10409
10410 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10411
10412         * DepTable.C (write): write the file name as last element of the
10413         .dep file (because it may contain spaces)
10414         (read): read info in the right order
10415
10416 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10417
10418         * paragraph_pimpl.C (simpleTeXBlanks):
10419         (simpleTeXSpecialChars):
10420         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10421
10422         * tabular.C (latex): add some missing case statements. Reindent.
10423
10424         * MenuBackend.C (expandToc): remove unused variable.
10425
10426 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10427
10428         * LColor.C:
10429         * LaTeX.C:
10430         * LyXAction.C:
10431         * MenuBackend.C:
10432         * buffer.C:
10433         * exporter.C:
10434         * lyxfunc.C:
10435         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10436         and the like.
10437
10438 2003-01-05  John Levon  <levon@movementarian.org>
10439
10440         * BufferView.h:
10441         * BufferView.C: add getEncoding()
10442
10443         * kbsequence.h:
10444         * kbsequence.C: do not store last keypress
10445
10446         * lyxfunc.h:
10447         * lyxfunc.C: store last keypress here instead. Pass encoding
10448           to getISOEncoded()
10449
10450 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10451
10452         * lyx_main.C (init): remove annoying error message when following
10453         symbolic links (bug #780)
10454
10455 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10456
10457         * text.C (insertChar):
10458         * lyxrc.C (getDescription): remove extra spaces
10459
10460 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10461
10462         * lyxrc.C (getDescription): remove extra spaces
10463
10464 2002-12-20  John Levon  <levon@movementarian.org>
10465
10466         * text3.C: hack fix for page up/down across tall rows
10467
10468 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10469
10470         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10471         not been invoked
10472
10473 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10474
10475         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10476         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10477         thesaurus is not compiled in
10478
10479 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10480
10481         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10482
10483 2002-12-16  Angus Leeming  <leeming@lyx.org>
10484
10485         * lyxrc.[Ch]:
10486         * lyx_main.C (init): remove override_x_deadkeys stuff.
10487
10488 2002-12-12  John Levon  <levon@movementarian.org>
10489
10490         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10491           insert. Only remove shift modifier under strict
10492           circumstances.
10493
10494 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10495
10496         * MenuBackend.C (expandToc): fix crash.
10497
10498 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10499
10500         * MenuBackend.C (expandToc): gettext on float names.
10501
10502 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10503
10504         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10505         implement bool empty() [bug 490]
10506
10507 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10508
10509         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10510
10511 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10512
10513         * several files: ws changes
10514
10515 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10516
10517         * text2.C (setCounter): clean up a bit, use boost.format.
10518         (updateCounters): initialize par upon declaration.
10519
10520         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10521         if the layout exists. We do not just store the layout any more.
10522         (SwitchLayoutsBetweenClasses): use boost.format
10523
10524 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10525
10526         * converter.C (convert): if from and to files are the same, use a
10527         temporary files as intermediary
10528
10529 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10530
10531         * commandtags.h:
10532         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10533
10534 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10535
10536         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10537
10538 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10539
10540         * tabular.C (asciiPrintCell): use string(size, char) instead of
10541         explicit loop.
10542
10543         * sgml.C (openTag): fix order of arguments to string constructor
10544         (closeTag): ditto
10545
10546         * lyxfunc.C (dispatch): use boost.format
10547
10548         * lots of files: change "c" -> 'c'
10549
10550 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10551
10552         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10553
10554 2002-11-25  Angus Leeming  <leeming@lyx.org>
10555
10556         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10557
10558         * lyx_main.C (init): compile fix.
10559
10560 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10561
10562         * lyx_cb.C (start): boost.formatify
10563         do not include <iostream>
10564
10565         * lengthcommon.C: ws only
10566
10567         * boost-inst.C,BoostFormat.h: add more explict instantations
10568
10569 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10570
10571         * lots of files: handle USE_BOOST_FORMAT
10572
10573 2002-11-21  John Levon  <levon@movementarian.org>
10574
10575         * pspell.C: fix compile
10576
10577 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10578
10579         * lyxfunc.C (dispatch): use boost::format
10580         (open): ditto
10581         (doImport): ditto
10582
10583         * lyxfont.C (stateText): use boost::format
10584
10585         * lyx_main.C (LyX): use boost::format
10586         (init): ditto
10587         (queryUserLyXDir): ditto
10588         (readRcFile): ditto
10589         (parse_dbg): ditto
10590         (typedef boost::function): use the recommened syntax.
10591
10592         * importer.C (Import): use boost::format
10593
10594         * debug.C (showLevel): use boost::format
10595
10596         * converter.C (view): use boost::format
10597         (convert): ditto
10598         (move): ditto
10599         (scanLog): ditto
10600
10601         * bufferview_funcs.C (currentState): use boost::format
10602
10603         * bufferlist.C (emergencyWrite): use boost::format
10604
10605         * buffer.C (readLyXformat2): use boost::format
10606         (parseSingleLyXformat2Token): ditto
10607
10608         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10609
10610         * LaTeX.C (run): use boost::format
10611
10612         * Chktex.C (scanLogFile): use boost::format
10613
10614         * BufferView_pimpl.C (savePosition): use boost::format
10615         (restorePosition): ditto
10616         (MenuInsertLyXFile): ditto
10617
10618         * BoostFormat.h: help file for explicit instation.
10619
10620 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10621
10622         * tabular.C (latex): Support for block alignment in fixed width
10623         columns.
10624
10625 2002-11-17  John Levon  <levon@movementarian.org>
10626
10627         * BufferView_pimpl.C:
10628         * lyx_cb.C:
10629         * lyxfunc.C: split filedialog into open/save
10630
10631 2002-11-08  Juergen Vigna  <jug@sad.it>
10632
10633         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10634         by my last patch (hopefully).
10635
10636 2002-11-08  John Levon  <levon@movementarian.org>
10637
10638         * iterators.h:
10639         * iterators.C:
10640         * buffer.h:
10641         * buffer.C:
10642         * paragraph.h:
10643         * paragraph.C:
10644         * toc.h:
10645         * toc.C: ParConstIterator, and use it (from Lars)
10646
10647 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10648
10649         * lyxtextclass.[Ch]: revise and add doxygen comments
10650
10651 2002-11-07  John Levon  <levon@movementarian.org>
10652
10653         * text.C: fix progress value for spellchecker
10654
10655         * toc.C: fix navigate menu for insetwrap inside minipage
10656
10657         * paragraph_funcs.C: added FIXME for suspect code
10658
10659 2002-11-07  John Levon  <levon@movementarian.org>
10660
10661         * BufferView_pimpl.C: fix redrawing of insets
10662           on buffer switch
10663
10664 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10665
10666         * text2.C (updateCounters): fix bug 668
10667
10668 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10669
10670         * text3.C (dispatch): Do not make the buffer dirty when moving the
10671         cursor.
10672
10673 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10674
10675         * vc-backend.C: STRCONV
10676         (scanMaster): ditto
10677
10678         * text2.C (setCounter): STRCONV
10679
10680         * paragraph.C (asString): STRCONV
10681
10682         * lyxlength.C (asString): STRCONV
10683         (asLatexString): ditto
10684
10685         * lyxgluelength.C (asString): STRCONV
10686         (asLatexString): ditto
10687
10688         * lyxfunc.C (dispatch): STRCONV
10689         (open): ditto
10690
10691         * lyxfont.C (stateText): STRCONV
10692
10693         * importer.C (Import): STRCONV
10694
10695         * counters.C (labelItem): STRCONV
10696         (numberLabel): ditto
10697         (numberLabel): remove unused ostringstream o
10698
10699         * chset.C: STRCONV
10700         (loadFile): ditto
10701
10702         * bufferview_funcs.C (currentState): STRCONV
10703
10704         * buffer.C (readFile): STRCONV
10705         (asciiParagraph): ditto
10706         (makeLaTeXFile): ditto
10707
10708         * Spacing.C (writeEnvirBegin): STRCONV
10709
10710         * LaTeXFeatures.C (getLanguages): STRCONV
10711         (getPackages): ditto
10712         (getMacros): ditto
10713         (getBabelOptions): ditto
10714         (getTClassPreamble): ditto
10715         (getLyXSGMLEntities): ditto
10716         (getIncludedFiles): ditto
10717
10718         * LaTeX.C: STRCONV
10719         (run): ditto
10720         (scanAuxFile): ditto
10721         (deplog): ditto
10722
10723         * LString.h: add the STRCONV macros
10724
10725         * BufferView_pimpl.C (savePosition): STRCONV
10726         (restorePosition): ditto
10727         (MenuInsertLyXFile): ditto
10728
10729         * vc-backend.C (scanMaster): change from submatch[...] to
10730         submatch.str(...)
10731
10732         * funcrequest.C: include config.h
10733
10734         * factory.C: include config.h
10735
10736         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10737
10738         * box.C: include config.h
10739
10740         * LaTeX.C (scanAuxFile): change from submatch[...] to
10741         submatch.str(...)
10742         (deplog): ditto
10743
10744 2002-10-25  Angus Leeming  <leeming@lyx.org>
10745
10746         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10747
10748         * ispell.[Ch] (setError): new method.
10749         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10750         Use setError() insetead of goto END.
10751
10752         * lyx_cb.C (AutoSave): move out child process into new class
10753         AutoSaveBuffer.
10754
10755 2002-10-30  John Levon  <levon@movementarian.org>
10756
10757         * text3.C: make start appendix undoable
10758
10759 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10760
10761         * lyxlength.C (inPixels): Fix returned value.
10762
10763         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10764         environment.
10765
10766 2002-10-24  Angus Leeming  <leeming@lyx.org>
10767
10768         * lyxgluelength.h: no need to forward declare BufferParams
10769         or BufferView, so don't.
10770
10771 2002-10-21  John Levon  <levon@movementarian.org>
10772
10773         * BufferView.C: menuUndo ->undo, redo
10774
10775         * BufferView.h: document, remove dead, make some methods private
10776
10777         * paragraph_funcs.h:
10778         * paragraph_funcs.C:
10779         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10780
10781         * buffer.h:
10782         * buffer.C:
10783         * sgml.h:
10784         * sgml.C: move sgml open/close tag into sgml.C
10785
10786         * bufferview_funcs.h: unused prototype
10787
10788         * lyxfunc.h:
10789         * lyxfunc.C: remove unused
10790
10791         * lyxtext.h:
10792         * text.C: remove unused
10793
10794 2002-10-21  John Levon  <levon@movementarian.org>
10795
10796         * BufferView.h:
10797         * BufferView.C:
10798         * BufferView_pimpl.h:
10799         * BufferView_pimpl.C: fix mouse wheel handling based on
10800           patch from Darren Freeman
10801
10802 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10803
10804         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10805
10806 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10807
10808         * lyxlength.C (inPixels): Fix hanfling of negative length.
10809         Fix LyXLength::MU case.
10810
10811 2002-10-16  John Levon  <levon@movementarian.org>
10812
10813         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10814
10815 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10816
10817         * converter.C (view): add support for $$i (file name) and $$p
10818         (file path) for the viewer command. If $$i is not specified, then
10819         it is appended to the command (for compatibility with old syntax)
10820
10821 2002-10-14  Juergen Vigna  <jug@sad.it>
10822
10823         * undo_funcs.C (textHandleUndo): alter the order in which the
10824         new undopar is added to the LyXText, as we have to set first
10825         the right prev/next and then add it as otherwise the rebuild of
10826         LyXText is not correct. Also reset the cursor to the right paragraph,
10827         with this IMO we could remove the hack in "redoParagraphs()".
10828
10829 2002-10-09  Angus Leeming  <leeming@lyx.org>
10830
10831         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10832         to turn off an optimisation if a new inset is to be inserted.
10833
10834 2002-10-11 André Pönitz <poenitz@gmx.net>
10835
10836         * lyxtext.h: make some functions public to allow access
10837         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10838
10839 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10840
10841         * text3.C (dispatch): when changing layout, avoid an infinite loop
10842         [bug #652]
10843
10844 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10845
10846         * lyxrc.C (read): treat a viewer or converter command of "none" as
10847         if it were empty.
10848
10849         * MenuBackend.C (expandFormats): for an update, also allow the
10850         formats that are not viewable
10851
10852         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10853         script if it is newer than the lyxrc.defaults in user directory
10854
10855 2002-10-07 André Pönitz <poenitz@gmx.net>
10856
10857         * text.C: Vitaly Lipatov's small i18n fix
10858
10859 2002-09-25  Angus Leeming  <leeming@lyx.org>
10860
10861         * ispell.h: doxygen fix.
10862
10863 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10864
10865         * buffer.h (readFile): Add a new argument to the method, to allow
10866         reading of old-format templates.
10867
10868 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10869
10870         * toc.C (getTocList): Get TOC from InsetWrap.
10871
10872 2002-09-16  John Levon  <levon@movementarian.org>
10873
10874         * lyxfunc.C: check tabular for cut/copy too
10875
10876 2002-09-12  John Levon  <levon@movementarian.org>
10877
10878         * LyXAction.C: tidy
10879
10880         * factory.h:
10881         * factory.C: add header
10882
10883         * paragraph_funcs.h:
10884         * paragraph_funcs.C: cleanup
10885
10886 2002-09-11  John Levon  <levon@movementarian.org>
10887
10888         * PrinterParams.h: odd/even default to true
10889
10890 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10891
10892         * PrinterParams.h: update printer parameters for new xforms dialog
10893
10894 2002-09-11  Angus Leeming  <leeming@lyx.org>
10895
10896         * lyxserver.C (read_ready): re-write to make it more transparent
10897         and to make it work in coherent fashion under Tru64 Unix.
10898
10899 2002-09-11  André Pönitz <poenitz@gmx.net>
10900
10901         * commandtags.h:
10902         * LyXAction.C:
10903         * text3.C: implement LFUN_WORDSEL
10904
10905 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10906
10907         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10908         make floatlist_ a boost::shared_ptr<FloatList>
10909
10910         * lyxtextclass.C: include FloatList.h
10911         (LyXTextClass): initialize floatlist_
10912         (TextClassTags): add TC_NOFLOAT
10913         (Read): match "nofloat" to TC_NOFLOAT and use it.
10914         (readFloat): modify call to floatlist_
10915         (floats): ditto
10916         (floats): ditto
10917
10918         * FloatList.[Ch] (FloatList): remove commented out float
10919         initialization.
10920         (erase): new function
10921
10922 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10923
10924         * MenuBackend.C (expandToc): fix crash when there is no document
10925         open
10926
10927 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10928
10929         * many files: Add insetwrap.
10930
10931 2002-09-09  John Levon  <levon@movementarian.org>
10932
10933         * text2.C: remove confusing and awkward depth wraparound
10934
10935 2002-09-09  John Levon  <levon@movementarian.org>
10936
10937         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10938
10939         * buffer.h:
10940         * buffer.C: remove getIncludeonlyList()
10941
10942         * paragraph.C:
10943         * lyxfunc.C: remove headers
10944
10945 2002-09-09  Juergen Vigna  <jug@sad.it>
10946
10947         * text.C (getColumnNearX): fix form Michael this is most
10948         probably a cut&paste bug.
10949
10950 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10951
10952         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10953
10954         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10955         references, ws changes.
10956
10957         * text2.C (init): update counters after init
10958         (insertParagraph): no need to set counter on idividual paragraphs.
10959         (setCounter): access the counters object in the textclass object
10960         on in the buffer object.
10961         (updateCounters): ditto
10962
10963         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10964         shared_ptr<Counters> to avoid loading counters.h in all
10965         compilation units.
10966         (LyXTextClass): initialize ctrs_
10967         (TextClassTags): add TC_COUNTER, and ...
10968         (Read): use it here.
10969         (CounterTags): new tags
10970         (readCounter): new function
10971         (counters): new funtion
10972         (defaultLayoutName): return a const reference
10973
10974         * counters.C (Counters): remove contructor
10975         (newCounter): remove a couple of unneeded statements.
10976         (newCounter): simplify a bit.
10977         (numberLabel): some small formatting changes.
10978
10979         * buffer.[Ch]: remove all traces of counters, move the Counters
10980         object to the LyXTextClass.
10981
10982 2002-09-06  Alain Castera  <castera@in2p3.fr>
10983
10984         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10985         package to set the horizontal alignment on fixed width columns.
10986
10987         * lyx_sty.C:
10988         * lyx_sty.h: added tabularnewline macro def.
10989
10990         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10991
10992 2002-09-06  John Levon  <levon@movementarian.org>
10993
10994         * LyXAction.C: tooltips for sub/superscript
10995
10996         * MenuBackend.C: a bit more verbose
10997
10998         * lyxfunc.C: tiny clean
10999
11000         * undo_funcs.C: document undo_frozen
11001
11002 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11003
11004         * counters.C (Counters): add missing algorithm counter.
11005
11006         * text2.C (setCounter): lookup the counter with layouts latexname
11007         instead of by section number.
11008         (setCounter): use a hackish way to lookup the correct enum
11009         counter.
11010         a float name->type change
11011         reset enum couners with counter name directly instead of depth value.
11012
11013         * counters.C (Counters): remove the push_backs, change to use the
11014         float type not the float name.
11015         (labelItem): remove unused string, float name->type change
11016
11017         * counters.h: don't include vector, loose the enums and sects vectors
11018
11019 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11020
11021         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11022         (Read): add float->TC_FLOAT to textclassTags
11023         (Read): and handle it in the switch
11024         (readFloat): new function
11025
11026         * FloatList.C (FloatList): comment out the hardcoded float
11027         definitions.
11028
11029         * lyxlayout.h: ws change.
11030
11031 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11032
11033         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11034
11035 2002-09-03  Angus Leeming  <leeming@lyx.org>
11036
11037         * BufferView_pimpl.h: qualified name is not allowed in member
11038         declaration: WorkArea & Pimpl::workarea() const;
11039
11040         * factory.C: added using std::endl directive.
11041
11042         * text3.C: added using std::find and std::vector directives.
11043
11044 2002-08-29  André Pönitz <poenitz@gmx.net>
11045
11046         * lyxtext.h:
11047         * text2.C: remove unused member number_of_rows
11048
11049         * Makefile.am:
11050         * BufferView2.C: remove file, move contents to...
11051         * BufferView.C: ... here
11052
11053         * BufferView_pimpl.C:
11054         * factory.C: move more inset creation to factory
11055
11056         * vspace.C: avoid direct usage of LyXText, ws changes
11057
11058         * BufferView.[Ch]:
11059                 don't provide direct access to WorkArea, use two simple
11060                 acessors haveSelction() and workHeight() instead
11061
11062
11063 2002-08-29  John Levon  <levon@movementarian.org>
11064
11065         * BufferView_pimpl.C (dispatch): do not continue when
11066           no buffer
11067
11068 2002-08-28  André Pönitz <poenitz@gmx.net>
11069
11070         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11071
11072         * BufferView.h:
11073         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11074
11075 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11076
11077         * buffer.C: increment LYX_FORMAT to 221
11078
11079         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11080         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11081
11082         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11083
11084         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11085
11086 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11087
11088         * factory.C (createInset): use LyXTextClass::floats
11089
11090         * MenuBackend.C (expandFloatListInsert):
11091         (expandFloatInsert):
11092         (expandToc):
11093
11094         * text2.C (setCounter):
11095
11096         * LaTeXFeatures.C (useFloat):
11097         (getFloatDefinitions):
11098
11099         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11100
11101         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11102         floatlist_, with accessor floats().
11103
11104         * FloatList.h: remove global FloatList
11105
11106 2002-08-26  André Pönitz <poenitz@gmx.net>
11107
11108         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11109
11110         * BufferView.h:
11111         * BufferView2.C:
11112         * BufferView_pimpl.C:
11113         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11114
11115 2002-08-25  John Levon  <levon@movementarian.org>
11116
11117         * LyXAction.C: fix margin note description
11118
11119 2002-08-24  John Levon  <levon@movementarian.org>
11120
11121         * buffer.C:
11122         * bufferlist.C:
11123         * bufferview_funcs.C:
11124         * lyxfont.C:
11125         * undo_funcs.C: cleanups
11126
11127         * lyxfunc.C: disable CUT/COPY when no selection
11128
11129 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11130
11131         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11132         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11133
11134         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11135         Add backward compatibility to "mono", "gray" and "no".
11136
11137 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11138
11139         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11140         (and file_format >= 200).
11141
11142 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11143
11144         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11145
11146 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11147
11148         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11149
11150 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11151
11152         * BufferView_pimpl.C:
11153         * LyXAction.C:
11154         * buffer.C:
11155         * commandtags.h:
11156         * lyxfunc.C:
11157         * paragraph.[Ch]:
11158         * text2.C:
11159         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11160         inset and code to make it  work with the paragraph code. The inset
11161         can be anywhere in the paragraph, but will only do the expected
11162         thing in LaTeX if the layout file contains the parameter line
11163                         OptionalArgs    1
11164         (or more generally, a nonzero value) for that layout.
11165
11166 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11167
11168         * paragraph.h: remove the declaration of undefined counters class
11169         function.
11170
11171 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11172
11173         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11174         Dr. Richard Hawkins.
11175
11176 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * paragraph_funcs.h: remove some unneeded includes
11179
11180         * text.C (backspace): pasteParagraph now in global scipe
11181
11182         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11183         (pasteSelection): ditto
11184
11185         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11186         * paragraph_funcs.C (pasteParagraph): ... here
11187
11188 2002-08-20  André Pönitz <poenitz@gmx.net>
11189
11190         * commandtags.h: new LFUNs for swapping/copying table row/colums
11191
11192         * LyXAction.C:
11193         * lyxfunc.C: support for new lfuns
11194
11195 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11196
11197         * tabular.C:
11198         * buffer.[Ch]: remove NO_COMPABILITY stuff
11199
11200 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11201
11202         * boost.C (throw_exception): new file, with helper function for
11203         boost compiled without exceptions.
11204
11205         * paragraph.h:
11206         * lyxlength.C:
11207         * buffer.C:
11208         * ParameterStruct.h:
11209         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11210
11211         * bufferlist.C (emergencyWriteAll): use boost bind
11212
11213         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11214
11215         * text.C: include paragraph_funcs.h
11216         (breakParagraph): breakParagraph is now in global scope
11217
11218         * paragraph_funcs.[Ch]: new files
11219
11220         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11221         global scope
11222
11223         * buffer.C: include paragraph_funcs.h
11224         (insertStringAsLines): breakParagraph is now in global scope
11225
11226         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11227         paragraph_funcs.C
11228
11229         * CutAndPaste.C: include paragraph_funcs.h
11230         (cutSelection): breakParagraphConservative is now in global scope
11231         (pasteSelection): ditto
11232
11233         * buffer.h: declare oprator== and operator!= for
11234         Buffer::inset_iterator
11235
11236         * bufferlist.C (emergencyWrite): don't use fmt(...)
11237
11238         * text3.C: add using std::endl
11239
11240         * BufferView.C (moveCursorUpdate): remove default arg
11241
11242 2002-08-20  André Pönitz <poenitz@gmx.net>
11243
11244         * buffer.[Ch]: move inline functions to .C
11245
11246         * BufferView2.C:
11247         * BufferView_pimpl.C:
11248         * text.C:
11249         * buffer.[Ch]: use improved inset_iterator
11250
11251         * buffer.C:
11252         * paragraph.[Ch]: write one paragraph at a time
11253
11254 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11255
11256         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11257         style if style is not specified.
11258
11259 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11260
11261         * text2.C (setCounter): when searching for right label for a
11262         caption, make sure to recurse to parent insets (so that a caption
11263         in a minipage in a figure float works) (bug #568)
11264
11265 2002-08-20  André Pönitz <poenitz@gmx.net>
11266
11267         * text3.C: new file for LyXText::dispatch() and helpers
11268
11269         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11270
11271         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11272
11273 2002-08-19  André Pönitz <poenitz@gmx.net>
11274
11275         * lyxtext.h:
11276         * text.C: new LyXText::dispatch()
11277
11278         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11279
11280 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11281
11282         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11283
11284         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11285         Hebrew text.
11286
11287 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11288
11289         * Makefile.am: use $(variables) instead of @substitutions@
11290
11291 2002-08-15  André Pönitz <poenitz@gmx.net>
11292
11293         * lyxfunc.C:
11294         * BufferView_pimpl.C: streamlining mathed <-> outer world
11295         interaction
11296
11297         * commandtags.h:
11298         * LyXAction.C: remove unused LFUN_MATH
11299
11300 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11301
11302         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11303
11304 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11305
11306         * paragraph.C (Paragraph): reformat a bit
11307         (cutIntoMinibuffer): use builtin InsetList function instad of
11308         doing it manually.
11309         (getInset): ditto
11310
11311         * buffer.C: include boost/bind.hpp, add using std::for_each
11312         (writeFileAscii): use ParagraphList iterators
11313         (validate): use for_each for validate traversal of paragraphs
11314         (getBibkeyList): use ParagraphList iterators
11315         (resizeInsets): use for_each to resizeInsetsLyXText for all
11316         paragraphs.
11317         (getParFromID): use ParagraphList iterators
11318
11319         * BufferView2.C (lockInset): use paragraph list and iterators
11320
11321 2002-08-14  John Levon  <levon@movementarian.org>
11322
11323         * lyxserver.C: remove spurious xforms include
11324
11325 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11326
11327         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11328
11329 2002-08-13  André Pönitz <poenitz@gmx.net>
11330
11331         * LyXAction.[Ch]:
11332         * lyxfunc.C: further cleaning
11333
11334 2002-08-13  André Pönitz <poenitz@gmx.net>
11335
11336         * funcrequest.h: new constructor
11337
11338         * funcrequest.C: move stuff here from .h
11339
11340         * Makefile.am:
11341         * BufferView_pimpl.C:
11342         * LyXAction.C:
11343         * toc.C:
11344         * lyxfunc.C: subsequent changes
11345
11346         * lyxfunc.h: new view() member function
11347
11348         * lyxfunc.C: subsequent changes
11349
11350 2002-08-13  Angus Leeming  <leeming@lyx.org>
11351
11352         * BufferView2.C:
11353         * BufferView_pimpl.C:
11354         * buffer.C:
11355         * converter.C:
11356         * importer.C:
11357         * lyxfunc.C:
11358         * lyxvc.C:
11359         * toc.C:
11360         * vc-backend.C:
11361         changes due to the changed LyXView interface that now returns references
11362         to member variables not pointers.
11363
11364 2002-08-13  Angus Leeming  <leeming@lyx.org>
11365
11366         * WordLangTuple (word, lang_code): return references to strings,
11367         not strings.
11368
11369         * BufferView.h:
11370         * SpellBase.h:
11371         * lyxtext.h: forward-declare WordLangTuple.
11372
11373         * BufferView2.C:
11374         * ispell.C:
11375         * pspell.C:
11376         * text.C: #include "WordLangTuple.h".
11377
11378         * lyxtext.h:
11379         * text.C: (selectNextWordToSpellcheck): constify return type.
11380
11381 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11382
11383         * buffer.C:
11384         * buffer.h:
11385         * lyxtext.h:
11386         * paragraph.C:
11387         * paragraph_pimpl.h:
11388         * text.C:
11389         * text2.C:
11390         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11391         suggested by Angus.
11392         Made updateCounter always count from start of buffer, and removed
11393         second argument (par).
11394         Reverted floats number display to '#'. Perhaps I'll try again when the
11395         code base is sanitized a bit.
11396
11397 2002-08-12  Angus Leeming  <leeming@lyx.org>
11398
11399         * buffer.[Ch] (getLabelList): constify.
11400
11401 2002-08-07  André Pönitz <poenitz@gmx.net>
11402
11403         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11404
11405         * funcrequest.h: extension to keep mouse (x,y) position
11406
11407 2002-08-12  Juergen Vigna  <jug@sad.it>
11408
11409         * BufferView2.C (insertErrors): forbid undo when inserting error
11410         insets.
11411
11412         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11413
11414 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11415
11416         * ParagraphList.[Ch]: new files
11417
11418         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11419
11420         * BufferView2.C (lockInset): ParagraphList changes
11421         * toc.C: ditto
11422         * text2.C: ditto
11423         * bufferlist.C: ditto
11424         * buffer.h: ditto
11425         * buffer.C: ditto
11426
11427 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11428
11429         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11430         unused class variable counter_,
11431
11432         * paragraph.[Ch] (getFirstCounter): delete unused function
11433
11434         * counters.C: include LAssert.h
11435         (reset): add a new function with no arg, change other version to
11436         not have def. arg and to not allow empty arg.
11437
11438         * text2.C (setCounter): remove empty arg from call to Counters::reset
11439
11440 2002-08-11  John Levon  <levon@movementarian.org>
11441
11442         * Makefile.am: add WordLangTuple.h
11443
11444 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11445
11446         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11447         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11448
11449         * insets/insettext.C: InsetList changes
11450
11451         * graphics/GraphicsSupport.C (operator()): InsetList changes
11452
11453         * toc.C (getTocList): InsetList changes
11454
11455         * paragraph_pimpl.[Ch]: InsetList changes
11456
11457         * paragraph.[Ch]: InsetList changes
11458
11459         * buffer.C (inset_iterator): InsetList changes
11460         (setParagraph): ditto
11461         * buffer.h (inset_iterator): ditto
11462         * iterators.C (operator++): ditto
11463         * iterators.h: ditto
11464
11465         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11466
11467         * InsetList.[Ch]: new files, most InsetList handling moved out of
11468         paragraph.C.
11469
11470         * BufferView2.C (removeAutoInsets): InsetList changes
11471         (lockInset): ditto
11472         (ChangeInsets): ditto
11473
11474 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11475
11476         * paragraph_pimpl.h (empty): new function
11477
11478         * paragraph.[Ch] (empty): new function
11479
11480         * other files: use the new Paragraph::empty function
11481
11482 2002-08-09  John Levon  <levon@movementarian.org>
11483
11484         * lyxtext.h: remove unused refresh_height
11485
11486 2002-08-09  John Levon  <levon@movementarian.org>
11487
11488         * Makefile.am:
11489         * sgml.h:
11490         * sgml.C:
11491         * buffer.C:
11492         * paragraph.h:
11493         * paragraph.C: move sgml char escaping out of paragraph
11494
11495         * paragraph.h:
11496         * paragraph.C: remove id setter
11497
11498         * buffer.C:
11499         * paragraph.C:
11500         * paragraph_pimpl.C: remove dead tex_code_break_column
11501
11502         * bufferview_funcs.C: small cleanup
11503
11504         * lyxfunc.C: remove dead proto
11505
11506         * lyxtext.h: make some stuff private. Remove some dead stuff.
11507
11508         * lyxgluelength.C: make as[LyX]String() readable
11509
11510 2002-08-08  John Levon  <levon@movementarian.org>
11511
11512         * LyXAction.h:
11513         * LyXAction.C:
11514         * MenuBackend.C:
11515         * ToolbarDefaults.C:
11516         * lyxfunc.C:
11517         * lyxrc.C:
11518         * toc.C: lyxaction cleanup
11519
11520 2002-08-08  John Levon  <levon@movementarian.org>
11521
11522         * BufferView2.C: small cleanup
11523
11524         * lyxfind.h:
11525         * lyxfind.C: move unnecessary header into the .C
11526
11527 2002-08-08  John Levon  <levon@movementarian.org>
11528
11529         * funcrequest.h: just tedious nonsense
11530
11531         * lyx_main.h:
11532         * lyx_main.C: cleanups
11533
11534         * buffer.C:
11535         * vspace.C: remove dead header lyx_main.h
11536
11537 2002-08-07  Angus Leeming  <leeming@lyx.org>
11538
11539         * Paragraph.[Ch]:
11540         * paragraph_pimpl.h:
11541         Forward declare class Counters in paragraph.h by moving the ctrs member
11542         variable into Paragraph::Pimpl.
11543         (counters): new method, returning a reference to pimpl_->ctrs.
11544
11545         * text2.C: ensuing changes.
11546
11547 2002-08-07  John Levon  <levon@movementarian.org>
11548
11549         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11550
11551         * BufferView_pimpl.C: announce X selection on double/triple
11552           click
11553
11554         * lyx_main.C: use correct bool in batch dispatch
11555
11556         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11557
11558 2002-08-07  André Pönitz <poenitz@gmx.net>
11559
11560         * funcrequest.h: new class to wrap a kb_action and its argument
11561
11562         * BufferView.[Ch]:
11563         * BufferView_pimpl[Ch]:
11564         * LaTeX.C:
11565         * LyXAction.[Ch]:
11566         * lyxfunc.[Ch]:
11567         * lyxrc.C: subsequent changes
11568
11569
11570 2002-08-07  John Levon  <levon@movementarian.org>
11571
11572         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11573           document options change.
11574
11575 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11576
11577         * counters.[Ch]
11578         * text2.C
11579         * paragraph.[Ch]
11580         * makefile.am: move counters functionality over from
11581         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11582
11583 2002-08-06  John Levon  <levon@movementarian.org>
11584
11585         * WordLangTuple.h: new file for word + language code tuple
11586
11587         * SpellBase.h:
11588         * pspell.h:
11589         * pspell.C:
11590         * ispell.h:
11591         * ispell.C:
11592         * lyxtext.h:
11593         * text.C:
11594         * text2.C:
11595         * BufferView.h:
11596         * BufferView2.C: use WordLangTuple
11597
11598         * layout.h:
11599         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11600
11601 2002-08-06  John Levon  <levon@movementarian.org>
11602
11603         * lyx_main.C: fix cmdline batch handling
11604
11605 2002-08-06  André Pönitz <poenitz@gmx.net>
11606
11607         * lyxrc.C: set default for show_banner to true
11608
11609 2002-08-06  John Levon  <levon@movementarian.org>
11610
11611         * pspell.C: fix a crash, and allow new aspell to work
11612
11613 2002-08-06  John Levon  <levon@movementarian.org>
11614
11615         * lyxfunc.C:
11616         * kbmap.C: small cleanup
11617
11618         * vspace.h:
11619         * vspace.C: add const
11620
11621 2002-08-05  John Levon  <levon@movementarian.org>
11622
11623         * LyXAction.C: back to tabular-insert
11624
11625 2002-08-04  John Levon  <levon@movementarian.org>
11626
11627         * BufferView.h:
11628         * BufferView.C: cosmetic change
11629
11630         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11631
11632         * bufferlist.C:
11633         * buffer.h:
11634         * buffer.C:
11635         * lyxcb.h:
11636         * lyxcb.C:
11637         * lyxserver.C:
11638         * lyxvc.C:
11639         * vc-backend.C:
11640         * BufferView2.C: purge all "Lyx" not "LyX" strings
11641
11642         * lyxcursor.h:
11643         * lyxcursor.C: attempt to add some documentation
11644
11645         * lyxfunc.C:
11646         * commandtags.h:
11647         * LyXAction.C:
11648         * ToolbarDefaults.C:
11649         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11650           merge with LFUN_TABULAR_INSERT
11651
11652         * Makefile.am:
11653         * SpellBase.h:
11654         * ispell.h:
11655         * ispell.C:
11656         * pspell.h:
11657         * pspell.C: split up i/pspell implementations into separate
11658           files, many cleanups
11659
11660         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11661
11662         * text2.C: some cleanup
11663
11664         * lyxfunc.C: don't check for isp_command == "none" any more, it
11665           didn't make any sense
11666
11667 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11668
11669         * counters.[Ch]
11670         * text2.C
11671         * paragraph.[Ch]
11672         * makefile.am: move counters functionality over
11673         from text2.C/paragraph.[Ch] to counters.[Ch], and
11674         make proper C++.
11675 2002-08-02  John Levon  <levon@movementarian.org>
11676
11677         * buffer.C: s/lyxconvert/lyx2lyx/
11678
11679 2002-08-02  Angus Leeming  <leeming@lyx.org>
11680
11681         * lyxlex.C: revert John's change as it breaks reading of the user
11682         preamble.
11683
11684 2002-08-02  Angus Leeming  <leeming@lyx.org>
11685
11686         * importer.C (Import):
11687         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11688         changes due to LyXView::view() now returning a boost::shared_ptr.
11689
11690 2002-08-02  John Levon  <levon@movementarian.org>
11691
11692         * lyxlex.C: small cleanup
11693
11694 2002-08-02  John Levon  <levon@movementarian.org>
11695
11696         * text2.C (status): small cleanup, no logic change
11697
11698 2002-08-01  John Levon  <levon@movementarian.org>
11699
11700         * buffer.h:
11701         * buffer.C (writeFile): don't output alerts, caller
11702           handles this
11703
11704         * bufferlist.C:
11705         * lyx_cb.C: from above
11706
11707         * lyxfunc.C: allow to open non-existent files
11708
11709 2002-07-31  John Levon  <levon@movementarian.org>
11710
11711         * lyxserver.C: don't let incidental errors get
11712           in the way (errno)
11713
11714 2002-07-30  John Levon  <levon@movementarian.org>
11715
11716         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11717
11718 2002-07-30  John Levon  <levon@movementarian.org>
11719
11720         * lyxserver.h:
11721         * lyxserver.C: remove I/O callback too
11722
11723 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11724
11725         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11726         log.
11727
11728 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11729
11730         * many files: strip,frontStrip -> trim,ltrim,rtrim
11731
11732 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11733
11734         * PrinterParams.h: remove extern containsOnly, and include
11735         support/lstrings.h instead.
11736
11737         * LaTeX.C (scanAuxFile): modify because of strip changes
11738         (deplog): ditto
11739         * buffer.C (makeLaTeXFile): ditto
11740         * bufferparams.C (writeFile): ditt
11741         * lyxfont.C (stateText): ditto
11742         * lyxserver.C (read_ready): ditto
11743         * vc-backend.C (scanMaster): ditto
11744
11745         * BufferView_pimpl.h: ws changes
11746
11747         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11748
11749 2002-07-26  André Pönitz <poenitz@gmx.net>
11750
11751         * kb_sequence.C: remove unnedred usings
11752
11753 2002-07-26  Juergen Vigna  <jug@sad.it>
11754
11755         * lyxfind.C (LyXReplace): we have to check better if the returned
11756         text is not of theLockingInset()->getLockingInset().
11757
11758 2002-07-25  Juergen Vigna  <jug@sad.it>
11759
11760         * lyxfind.C (LyXReplace): don't replace if we don't get the
11761         right LyXText.
11762
11763         * undo_funcs.C (createUndo): remove debugging code.
11764
11765 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11766
11767         * buffer.C (parseSingleLyXformat2Token): Use default placement
11768         when reading old floats.
11769
11770         * FloatList.C (FloatList): Change the default placement of figure
11771         and tables to "tbp".
11772
11773 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11774
11775         * MenuBackend.C: using std::max
11776
11777 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11778
11779         * MenuBackend.C (expandToc):
11780         (expandToc2): code moved from xforms menu frontend. It is now
11781         generic and TOCs are transparent to menu frontends.
11782
11783 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11784
11785         * toc.C (getTocList): protect against buf=0
11786
11787         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11788         Menu as first parameter. Now, this calls itself recursively to
11789         expand a whole tree (this will be useful for TOC handling)
11790         (expandFloatInsert): remove 'wide' version of floats
11791
11792         * MenuBackend.h (submenuname): returns the name of the submenu.
11793         (submenu): returns the submenu itself, provided it has been
11794         created by MenuBackend::expand
11795
11796 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11797
11798         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11799         insets which have noFontChange == true. (bug #172)
11800
11801 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11802
11803         * BufferView_pimpl.C: add connection objects and use them...
11804         (Pimpl): here.
11805
11806 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11807
11808         * MenuBackend.C (expandLastfiles):
11809         (expandDocuments):
11810         (expandFormats):
11811         (expandFloatListInsert):
11812         (expandFloatInsert):
11813         (expand): split expand in parts
11814
11815 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11816
11817         * lyx_gui.C: use lyx_gui::exit()
11818
11819 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11820
11821         * LyXAction.C: show the failing pseudo action
11822
11823 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11824
11825         * buffer.C (readFile): Run the lyxconvert script in order to read
11826         old files.
11827
11828 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * LyXAction.C:
11831         * commandtags.h:
11832         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11833
11834 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * LyXAction.C:
11837         * commandtags.h:
11838         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11839
11840 2002-07-22  Herbert Voss  <voss@lyx.org>
11841
11842         * lengthcommon.C:
11843         * lyxlength.[Ch]: add support for the vertical lengths
11844
11845 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * toc.[Ch]: std:: fixes
11848
11849 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11850
11851         * lyxrc.C: do not include lyx_main.h
11852
11853         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11854         for layouts
11855
11856         * lyxrc.C:
11857         * encoding.C:
11858         * bufferlist.C:
11859         * BufferView2.C: include "lyxlex.h"
11860
11861         * tabular.h:
11862         * bufferparams.h: do not #include "lyxlex.h"
11863
11864         * lyxtextclasslist.C (Add): remove method
11865         (classlist): renamed to classlist_
11866
11867         * paragraph_pimpl.C:
11868         * paragraph.C:
11869         * text2.C:
11870         * CutAndPaste.C:
11871         * bufferview_funcs.C:
11872         * bufferlist.C:
11873         * text.C:
11874         * LaTeXFeatures.C:
11875         * buffer.C:
11876         * toc.C (getTocList): use BufferParams::getLyXTextClass
11877
11878         * toc.C (getTocList): use InsetFloat::addToToc
11879
11880         * toc.[Ch]: new files, containing helper functions to handle table
11881         of contents
11882
11883         * lyxfunc.C (dispatch): no need to remove spaces around command
11884         given as a string
11885         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11886         first command of the sequence; it is not very clever, but I do not
11887         have a better idea, actually
11888
11889         * LyXAction.C (LookupFunc): make sure to remove space at the
11890         beginning and end of the command
11891
11892 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11893
11894         * MenuBackend.C (getMenubar): new method: return the menubar of
11895         this menu set
11896         (read): treat differently reading of menu and menubar (in
11897         particular, the menubar has no name now)
11898         (Menu::menubar): remove
11899
11900         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11901         saving is finished
11902
11903 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11904
11905         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11906         a bibitem inset in a RTL paragraph.
11907
11908 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * paragraph_pimpl.C: constify
11911
11912         * BufferView_pimpl.C:
11913         * LaTeX.C:
11914         * lyxfunc.C: fix dispatch in a nicer way
11915
11916 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11917
11918         * lyxfunc.C (dispatch):
11919         * BufferView_pimpl.C:
11920         * BufferView_pimpl.h:
11921         * BufferView.C:
11922         * BufferView.h: rename Dispatch() to dispatch()
11923
11924         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11925
11926         * lyxlayout.C (Read): honor DependsOn tag
11927
11928         * lyxlayout.[Ch] (depends_on): new method
11929
11930         * version.C.in: update lyx_docversion
11931
11932         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11933
11934         * paragraph.C (validate): remove from here...
11935         * paragraph_pimpl.C (validate): ... and move here
11936         (isTextAt): make it const
11937
11938         * buffer.C (getLists): ws cleanup
11939
11940 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11941
11942         * language.C (read): Use iso8859-1 encoding in latex_lang
11943         (this prevents LyX from crashing when using iso10646-1 encoding).
11944
11945 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11946
11947         * text2.C (toggleInset): if cursor is inside an inset, close the
11948         inset and leave cursor _after_ it
11949
11950 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11951
11952         * lyxfunc.C: move minibuffer completion handling out of here
11953
11954 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11955
11956         * BufferView_pimpl.C:
11957         * LaTeX.C: fix dispatch calls
11958
11959 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11960
11961         * text.C (drawChars): Fix Arabic text rendering.
11962
11963 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11964
11965         * LyXAction.C:
11966         * commandtags.h:
11967         * lyxfunc.C: remove message-push/pop
11968
11969         * lyxserver.C:
11970         * lyxfunc.h:
11971         * lyxfunc.C: rationalise some code by removing verboseDispatch
11972           in favour of a bool argument to dispatch()
11973
11974 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11975
11976         * lyx_main.C (init): make sure to read symlinks as absolute paths
11977
11978 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11979
11980         * lyxfunc.h:
11981         * lyxfunc.C: no need for commandshortcut to be a member
11982
11983 2002-07-15  André Pönitz <poenitz@gmx.net>
11984
11985         * converter.C: add support for $$s (scripts from lib/scripts dir)
11986         * lyx_main.C: white space
11987
11988 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11989
11990         * bufferlist.C:
11991         * lyxrc.h:
11992         * lyxrc.C: remove second exit confirmation
11993
11994 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11995
11996         * BufferView.h:
11997         * BufferView.C:
11998         * BufferView2.C:
11999         * BufferView_pimpl.h:
12000         * BufferView_pimpl.C:
12001         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12002
12003 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12004
12005         * MenuBackend.C (expand): add numeric shortcuts to document menu
12006
12007         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12008
12009 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12010
12011         * lyxfont.C (setLyXFamily):
12012         (setLyXSeries):
12013         (setLyXShape):
12014         (setLyXSize):
12015         (setLyXMisc):
12016         (lyxRead):
12017         * debug.C (value):
12018         * buffer.C (asciiParagraph): use ascii_lowercase
12019
12020 2002-07-15  Mike Fabian  <mfabian@suse.de>
12021
12022         * lyxlex_pimpl.C (search_kw):
12023         * lyxlex.C (getLongString):
12024         * converter.h (operator<):
12025         * converter.C (operator<):
12026         * buffer.C (parseSingleLyXformat2Token):
12027         (asciiParagraph):
12028         * ToolbarDefaults.C (read):
12029         * MenuBackend.C (checkShortcuts):
12030         (read):
12031         * LColor.C (getFromGUIName):
12032         (getFromLyXName): use the compare_ascii_no_case instead of
12033         compare_no_case, because in turkish, 'i' is not the lowercase
12034         version of 'I', and thus turkish locale breaks parsing of tags.
12035
12036 2002-07-16  Angus Leeming  <leeming@lyx.org>
12037
12038         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12039         now takes a Buffer const & argument.
12040
12041 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * BufferView.C (resize): check there's a buffer to resize
12044
12045 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * lyxfunc.C: remove dead code
12048
12049         * lyxserver.h:
12050         * lyxserver.C: use lyx_guii::set_read_callback
12051
12052 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12053
12054         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12055         an inset in a RTL paragraph.
12056
12057 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12058
12059         * lyxfunc.C: repaint after a font size update
12060
12061 2002-07-15  André Pönitz <poenitz@gmx.net>
12062
12063         * lyxlength.C: inBP should be able to return negative values
12064
12065 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12066
12067         * lyxfunc.C: use lyx_gui::update_fonts()
12068
12069 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12070
12071         * lyxfunc.C: use lyx_gui::update_color()
12072
12073 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12074
12075         * bufferlist.C:
12076         * lyxfunc.h:
12077         * lyxfunc.C:
12078         * lyxrc.h:
12079         * lyxrc.C: remove file->new asks for name option, and let
12080           buffer-new take an argument
12081
12082 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * BufferView_pimpl.C: remove unneeded extra repaint()
12085
12086 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12087
12088         * LyXAction.C: allow command-sequence with NoBuffer
12089
12090         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12091
12092 2002-07-10  Angus Leeming  <leeming@lyx.org>
12093
12094         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12095
12096 2002-07-09  Angus Leeming  <leeming@lyx.org>
12097
12098         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12099
12100 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12101
12102         * lengthcommon.h: whitespace
12103
12104         * lyxfunc.C: update scrollbar after goto paragraph
12105
12106         * lyxtext.h: factor out page break drawing, and fix it so
12107           page break/added space paints as selected nicely
12108
12109 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12110
12111         * BufferView_pimpl.C: add FIXMEs, clean up a little
12112
12113 2002-07-09  André Pönitz <poenitz@gmx.net>
12114
12115         * lyxfont.[Ch]: support for wasy symbols
12116
12117 2002-07-08  André Pönitz <poenitz@gmx.net>
12118
12119         * BufferView_pimpl.C: apply John's patch for #93.
12120
12121 2002-07-05  Angus Leeming  <leeming@lyx.org>
12122
12123         * BufferView_pimpl.C (buffer): generate previews if desired.
12124
12125         * LColor.h: add "preview" to the color enum.
12126
12127         * LColor.C (LColor): add a corresponding entry to the items array.
12128
12129         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12130         with this buffer.
12131
12132 2002-07-05  Angus Leeming  <leeming@lyx.org>
12133
12134         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12135         The body of the code is now in the method that is passed an ostream &
12136         rather than a file name.
12137         Pass an additional only_preamble parameter, useful for the forthcoming
12138         preview stuff.
12139
12140 2002-07-03  André Pönitz <poenitz@gmx.net>
12141
12142         * lyxfunc.C: simplify getStatus() a bit for math stuff
12143
12144 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12147
12148 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12149
12150         * text.C (changeRegionCase): do not change case of all the
12151         document when region ends at paragraph end (bug #461)
12152
12153 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12154
12155         * paragraph.C (startTeXParParams):
12156         (endTeXParParams): add \protect when necessary
12157
12158 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12159
12160         * BufferView_pimpl.C (workAreaExpose): remove warning
12161
12162 2002-06-27  Angus Leeming  <leeming@lyx.org>
12163
12164         * Makefile.am: add lyxlayout_ptr_fwd.h.
12165
12166 2002-06-26  André Pönitz <poenitz@gmx.net>
12167
12168         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12169
12170 2002-06-25  Angus Leeming  <leeming@lyx.org>
12171
12172         * lyxfunc.C (dispatch): Comment out the call to
12173         grfx::GCache::changeDisplay. The method no longer exists now that the
12174         pixmap generation part of the graphics loader has been moved into
12175         InsetGraphics.
12176
12177 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12178
12179         * text2.C: layout as layout
12180
12181         * text.C: layout as layout
12182
12183         * tabular.C (OldFormatRead): layout as layout
12184
12185         * paragraph_pimpl.C (TeXDeeper): layout as layout
12186         (realizeFont): layout as layout
12187
12188         * paragraph.C (writeFile): layout as layout
12189         (validate): layout as layout
12190         (getFont): layout as layout
12191         (getLabelFont): layout as layout
12192         (getLayoutFont): layout as layout
12193         (breakParagraph): layout as layout
12194         (stripLeadingSpaces): layout as layout
12195         (getEndLabel): layout as layout
12196         (getMaxDepthAfter): layout as layout
12197         (applyLayout): layout as layout
12198         (TeXOnePar): layout as layout
12199         (simpleTeXOnePar): layout as layout
12200         (TeXEnvironment): layout as layout
12201         (layout): layout as layout
12202         (layout): layout as layout
12203
12204         * lyxtextclass.C (compare_name): new functor to work with
12205         shared_ptr, layout as layout
12206         (Read): layout as layout
12207         (hasLayout): layout as layout
12208         (operator): layout as layout
12209         (delete_layout): layout as layout
12210         (defaultLayout): layout as layout
12211
12212         * lyxlayout_ptr_fwd.h: new file
12213
12214         * lyxlayout.C (Read): layout as layout
12215
12216         * lyx_cb.C (MenuInsertLabel): layout as layout
12217
12218         * bufferlist.C (newFile): layout as layout
12219
12220         * buffer.C (readLyXformat2): layout as layout
12221         (parseSingleLyXformat2Token): layout as layout
12222         (insertStringAsLines): layout as layout
12223         (asciiParagraph): layout as layout
12224         (latexParagraphs): layout as layout
12225         (makeLinuxDocFile): layout as layout
12226         (simpleLinuxDocOnePar): layout as layout
12227         (makeDocBookFile): layout as layout
12228         (simpleDocBookOnePar): layout as layout
12229         (getLists): layout as layout
12230
12231         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12232
12233         * CutAndPaste.C (cutSelection): layout as layout
12234         (pasteSelection): layout as layout
12235         (SwitchLayoutsBetweenClasses): layout as layout
12236
12237         * BufferView_pimpl.C (Dispatch): layout as layout
12238         (smartQuote): layout as layout
12239
12240         * BufferView2.C (unlockInset): layout as layout
12241
12242 2002-06-24  André Pönitz <poenitz@gmx.net>
12243
12244         * lyxfunc.C: fix #487
12245
12246 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * lyxrc.h:
12249         * lyxrc.C:
12250         * lyxfunc.C: remove display_shortcuts, show_banner
12251
12252 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * Buffer_pimpl.C: oops, update on resize
12255
12256 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * buffer.C:
12259         * converter.C:
12260         * exporter.C:
12261         * lyxfunc.C:
12262         * BufferView.h:
12263         * BufferView.C: use repaint()
12264
12265         * BufferView_pimpl.h:
12266         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12267           as it's a clearer description. Remove superfluous
12268           redraws.
12269
12270 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * text.C: fix bug 488. Not ideal, but getting
12273           getWord() to work properly for the insets that
12274           matter is more difficult ...
12275
12276 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * BufferView_pimpl.C:
12279         * LyXAction.C:
12280         * commandtags.h:
12281         * lyxfunc.C: remove the six million index lyxfuncs to just
12282           one, and DTRT (bug 458)
12283
12284 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * BufferView.h:
12287         * BufferView.C:
12288         * BufferView_pimpl.h:
12289         * BufferView_pimpl.C: clean up resize() stuff,
12290           and unnecessary updateScreen()s
12291
12292 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * BufferView.h:
12295         * BufferView.C:
12296         * BufferView_pimpl.h:
12297         * BufferView_pimpl.C:
12298         * lyxfind.h:
12299         * lyxfind.C:
12300         * minibuffer.C: remove focus management of workarea,
12301           not needed. Use screen's greyOut()
12302
12303 2002-06-17  Herbert Voss  <voss@lyx.org>
12304
12305         * converter.C: (convert) do not post a message, when converting
12306         fails, let the calling function decide what to do in this case
12307
12308 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * lyxfunc.C: tidy up a little
12311
12312 2002-06-16    <alstrup@diku.dk>
12313
12314         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12315         Got rid of FORMS_H_LOCATION include. Now we are
12316         GUII.
12317
12318 2002-06-15  LyX Development team  <lyx@rilke>
12319
12320         * buffer.[Ch] (sgmlOpenTag):
12321         (sgmlCloseTag): Added support for avoiding pernicious mixed
12322         content. Return number of lines written.
12323
12324         (makeLinuxDocFile):
12325         (makeDocBookFile): Fixed calls to sgml*Tag.
12326         Simple white space clean.
12327
12328         (simpleDocBookOnePar): Simple white space clean.
12329
12330         * tabular.[Ch] (docBook): Renamed to docbook and got another
12331         argument to related with the pernicious mixed content.
12332
12333         (docbookRow): Fixed calls for docbook inset method.
12334
12335 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12336
12337         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12338         so it's X11 independent.
12339
12340         * kb*.[Ch]: ditto.
12341
12342         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12343
12344 2002-06-15  Lyx Development team  <lyx@electronia>
12345
12346         * intl.h: Renamed getTrans to getTransManager.
12347
12348 2002-06-14  Angus Leeming  <leeming@lyx.org>
12349
12350         * Makefile.am: nuke forgotten stl_string_fwd.h.
12351
12352 2002-06-12  Angus Leeming  <leeming@lyx.org>
12353
12354         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12355
12356 2002-06-13  Angus Leeming  <leeming@lyx.org>
12357
12358         * LaTeX.C:
12359         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12360
12361 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12362
12363         * kbmap.C (getiso): add support for cyrillic and greek
12364
12365 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * BufferView.h:
12368         * BufferView.C:
12369         * BufferView_pimpl.h:
12370         * BufferView_pimpl.C: move bogus scrolling logic
12371           to xforms
12372
12373 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * lyxfunc.C:
12376         * BufferView_pimpl.C: view->resize() change
12377
12378 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12379
12380         * BufferView_pimpl.C: topCursorVisible
12381           prototype change
12382
12383 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12384
12385         * Makefile.am:
12386         * lyx_gui.h:
12387         * lyx_gui.C: move to frontends/
12388
12389         * main.C:
12390         * lyx_main.h:
12391         * lyx_main.C: changes from above
12392
12393 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * intl.C:
12396         * intl.h:
12397         * kbmap.C:
12398         * kbsequence.C:
12399         * lyx_cb.C:
12400         * lyx_main.C: minor tidy
12401
12402 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12403
12404         * BufferView_pimpl.h:
12405         * BufferView_pimpl.C:
12406         * BufferView.h:
12407         * BufferView.C: make painter() const,
12408           remove dead code
12409
12410         * BufferView2.C: use screen() accessor
12411
12412         * lyx_main.h:
12413         * lyx_main.C: some minor cleanup
12414
12415 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * BufferView_pimpl.h:
12418         * BufferView_pimpl.C: remove enter/leaveView,
12419           use workHeight()
12420
12421 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * BufferView.h:
12424         * BufferView.C:
12425         * BufferView2.C:
12426         * BufferView_pimpl.h:
12427         * BufferView_pimpl.C: only construct screen once,
12428           rename
12429
12430         * lyxrc.C: remove pointless comment
12431
12432 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * BufferView.h:
12435         * BufferView.C: remove active() and belowMouse()
12436
12437         * BufferView_pimpl.h:
12438         * BufferView_pimpl.C: use workarea() not workarea_,
12439           and make it use a scoped_ptr instead
12440
12441 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12442
12443         * lyx_gui.C: add debug message on BadWindow
12444
12445 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12446
12447         * sp_spell.C: fdopen is not part of the C++ standard.
12448
12449         * paragraph.C (InsetIterator): use >= instead of ==
12450
12451 2002-06-07  Angus Leeming  <leeming@lyx.org>
12452
12453         Fixes needed to compile with Compaq cxx 6.5.
12454         * BufferView_pimpl.C:
12455         * DepTable.C:
12456         * buffer.C:
12457         * converter.C:
12458         * encoding.C:
12459         * lyx_gui.C:
12460         * lyx_main.C:
12461         * lyxtextclasslist.C:
12462         * minibuffer.C:
12463         * sp_spell.C:
12464         * tabular_funcs.C:
12465         * vc-backend.C:
12466         all c-library variables have been moved into namespace std. Wrap
12467         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12468
12469         * lyxlength.C:
12470         * tabular-old.C:
12471         * tabular.C:
12472         Add a using std::abs declaration.
12473
12474         * kbmap.h (modifier_pair):
12475         * paragraph.h (InsetTable, InsetList):
12476         * lyxfont.h (FontBits):
12477         type definition made public.
12478
12479         * bufferlist.C (emergencyWriteAll): the compiler complains that
12480         there is more than one possible lyx::class_fun template to choose from.
12481         I re-named the void specialisation as lyx::void_class_fun.
12482
12483         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12484
12485         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12486         the compiler is is unable to find tostr in write_attribute.
12487
12488 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * buffer.C (sgmlError): hide #warning
12491
12492 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12493
12494         * xtl/*: get rid of xtl, which is not in use anyway
12495
12496         * LyXAction.C (init):
12497         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12498         were unimplemented xtl experimentation
12499
12500 2002-06-04  André Pönitz <poenitz@gmx.net>
12501
12502         * lyxfunc.C: disable array operation on simple formulae
12503
12504 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12505
12506         * converter.C: constify a bit
12507
12508 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * lyx_gui.C: check xforms version correctly
12511
12512 2002-04-30  Herbert Voss  <voss@lyx.org>
12513
12514         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12515         "keep" option
12516
12517 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12518
12519         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12520           attempt to register it with a VCS)
12521
12522 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12523
12524         * lyx_main.C (init): honor variables LYX_DIR_13x and
12525         LYX_USERDIR_13x
12526
12527 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * buffer.h:
12530         * buffer.C:
12531         * lyx_main.C: fix a crash on bad command line,
12532           and give a useful exit status on error
12533
12534         * lyxfunc.C (doImport): allow -i lyx to work
12535
12536 2002-03-30  André Pönitz <poenitz@gmx.net>
12537
12538         * lyxfunc.C: mathed font changes
12539
12540 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * LaTeX.C:
12543         * importer.h:
12544         * importer.C:
12545         * lyx_sty.h:
12546         * lyx_sty.C:
12547         * lyxlex.C:
12548         * lyxrow.h:
12549         * lyxtext.h:
12550         * paragraph.h:
12551         * paragraph.C:
12552         * texrow.h:
12553         * texrow.C:
12554         * text.C:
12555         * trans_mgr.h: srcdocs, and some minor cleanups
12556
12557 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12558
12559         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12560         call getFont all the time)
12561
12562 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12563
12564         * switch from SigC signals to boost::signals
12565
12566 2002-05-29  André Pönitz <poenitz@gmx.net>
12567
12568         * paragraph_pimpl.C (getChar): don't call size() too often...
12569
12570 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12571
12572         * paragraph_pimpl.C (insertChar): do not try to update tables when
12573         appending (pos == size())
12574
12575         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12576         in order to reduce drastically the number of comparisons needed to
12577         parse a large document
12578
12579 2002-05-29  André Pönitz <poenitz@gmx.net>
12580
12581         * text.C:
12582         * text2.C:
12583         * lyxtextclass.C:
12584         * sp_pspell.h:
12585         * textclasslist.[Ch]:
12586         * sp_ispell.h: whitespace change
12587
12588 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12589
12590         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12591         lyxaction directly now.
12592
12593 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * trans.C:
12596         * lyxfont.C:
12597         * lyxvc.C: remove unused headers
12598
12599 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12600
12601         * Makefile.am:
12602         * buffer.h:
12603         * undostack.h:
12604         * undostack.C:
12605         * undo_funcs.h:
12606         * undo_funcs.C: some cleanups. Use shared_ptr
12607           and a template for the undo stacks.
12608
12609 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * BufferView_pimpl.h:
12612         * BufferView_pimpl.C:
12613         * kbmap.h:
12614         * kbmap.C:
12615         * kbsequence.h:
12616         * kbsequence.C:
12617         * lyxfunc.h:
12618         * lyxfunc.C:
12619         * text2.C: use key_state/mouse_state
12620
12621 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12624         and LSubstring
12625
12626         * chset.C: change include order
12627         (loadFile): use boost regex and get rid of LRegex and LSubstring
12628
12629         * Makefile.am (BOOST_LIBS): new variable
12630         (lyx_LDADD): use it
12631
12632         * LaTeX.C: change include order.
12633         (scanAuxFile): use boost regex and get rid of LRegex and
12634         LSubstring
12635         (deplog): ditto
12636
12637 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12638
12639         * ColorHandler.h:
12640         * ColorHandler.C:
12641         * FontInfo.h:
12642         * FontInfo.C: moved to frontends/xforms/
12643
12644         * FontLoader.h:
12645         * FontLoader.C: moved into frontends for GUIIzation
12646
12647         * Makefile.am:
12648         * lyx_gui.C:
12649         * lyxfont.C:
12650         * lyxfunc.C: changes from above
12651
12652 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12653
12654         * LColor.C: remove spurious X include
12655
12656         * BufferView_pimpl.C:
12657         * Makefile.am:
12658         * font.h:
12659         * font.C:
12660         * text.C:
12661         * text2.C: move font metrics to frontends/
12662
12663 2002-05-24  Juergen Vigna  <jug@sad.it>
12664
12665         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12666         setting the undo_cursor.
12667
12668         * ParagraphParameters.h: include local includes first.
12669
12670 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12671
12672         * BufferView_pimpl.C:
12673         * BufferView_pimpl.h:
12674         * Makefile.am:
12675         * WorkArea.h:
12676         * WorkArea.C:
12677         * screen.C: move WorkArea into frontends/
12678
12679         * lyxscreen.h:
12680         * screen.C:
12681         * text.C:
12682         * BufferView.C:
12683         * BufferView2.C: move LyXScreen into frontends/
12684
12685         * lyxlookup.h:
12686         * lyxlookup.C:
12687         * lyx_gui.C: move lyxlookup into frontends/xforms/
12688
12689 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * BufferView2.C:
12692         * BufferView_pimpl.C:
12693         * FontLoader.C:
12694         * LyXView.h:
12695         * LyXView.C:
12696         * Makefile.am:
12697         * WorkArea.C:
12698         * XFormsView.h:
12699         * XFormsView.C:
12700         * buffer.C:
12701         * bufferlist.C:
12702         * bufferview_funcs.C:
12703         * converter.C:
12704         * importer.C:
12705         * lyx_cb.C:
12706         * lyx_gui.C:
12707         * lyx_main.C:
12708         * lyx_find.C:
12709         * lyxfunc.C:
12710         * lyxvc.C:
12711         * minibuffer.C:
12712         * text.C:
12713         * text2.C:
12714         * trans.C:
12715         * vc-backend.C: move LyX/XFormsView into frontends/
12716
12717 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * Makefile.am:
12720         * PainterBase.C:
12721         * PainterBase.h:
12722         * Painter.C:
12723         * Painter.h:
12724         * WorkArea.C:
12725         * WorkArea.h:
12726         * screen.C:
12727         * tabular.C:
12728         * text.C:
12729         * text2.C: move Painter to frontends/
12730
12731 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * buffer.C: comment out some some code that depend upon lyx_format
12734         < 220
12735
12736         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12737         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12738
12739         * buffer.h (NO_COMPABILITY): turn off compability
12740
12741         * ColorHandler.C: include scoped_array.hpp
12742
12743         * font.C: Use more specific smart_ptr header.
12744         * Painter.C: ditto
12745         * gettext.C: ditto
12746         * ShareContainer.h: ditto
12747         * lyx_main.h: ditto
12748         * kbmap.h: ditto
12749         * FontInfo.h: ditto
12750         * BufferView_pimpl.h: ditto
12751         * ColorHandler.h: ditto
12752
12753         * kbmap.C (defkey): change call to shared_ptr::reset
12754
12755 2002-05-21  Juergen Vigna  <jug@sad.it>
12756
12757         * buffer.C (insertErtContents): fix to insert ert asis if it is
12758         non empty. Skip it completely if it contains only whitespaces.
12759
12760 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12761
12762         * BufferView_pimpl.C:
12763         * BufferView2.C: clear selection on paste (bug 393)
12764
12765 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12766
12767         * DepTable.C: include ctime
12768
12769 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12770
12771         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12772
12773 2002-05-14  Juergen Vigna  <jug@sad.it>
12774
12775         * text.C (breakParagraph): fixed function to honor the keepempty
12776         layout in the right maner and also to permit the right breaking
12777         algorithm on empty or non empyt keepempty paragraphs.
12778
12779         * paragraph.C (breakParagraph): we have to check also if the par
12780         is really empty (!size()) for isempty otherwise we do the wrong
12781         paragraph break.
12782
12783 2002-05-10  Juergen Vigna  <jug@sad.it>
12784
12785         * buffer.[Ch] : The following are only changes to the ert
12786         compatibility read reading old LaTeX layout and font stuff and
12787         convert it to ERTInsets.
12788
12789         * buffer.h: added isErtInset().
12790
12791         * buffer.C (struct ErtComp): add a fromlayout bool to check
12792         if we're inside a LaTeX layout.
12793         (isErtInset): new helper function.
12794         (insertErtContents): look for other ert insets before this one
12795         and insert the contents there, so that we don't have subsequent
12796         ERT insets with nothing between them. This way we create only one
12797         inset with multiple paragraphs. Also check if we don't insert only
12798         spaces ' ' as they are ignored anyway afterwards in the .tex file
12799         so if we have only spaces we will ignore this latex part in the
12800         new file.
12801         (parseSingleLyXformat2Token \\layout): better compatibility when
12802         reading layout-latex stuff.
12803         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12804         language tag.
12805         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12806         stuff after reading the inset only get the information back from
12807         the stack.
12808
12809 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12810
12811         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12812
12813         * LaTeXFeatures.C (getBabelOptions): New method.
12814
12815 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12816
12817         * BufferView_pimpl.C (Dispatch): work around missing argument for
12818         'layout'
12819
12820 2002-05-08  Juergen Vigna  <jug@sad.it>
12821
12822         * text.C (leftMargin): handle paragraph leftindent.
12823
12824         * paragraph.C (writeFile): write the new \\leftindent tag.
12825         (validate): handle leftindent code.
12826         (TeXEnvironment): handle paragraphleftindent code again.
12827
12828         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12829
12830         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12831         for paragrap_extra indent code and new token \\leftindent.
12832         (latexParagraphs): handle the leftindent as environment.
12833
12834         * ParameterStruct.h: added leftindent support.
12835
12836         * ParagraphParameters.C (leftIndent): added support functions for
12837         the paragraph left indent.
12838
12839         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12840         more appropriate.
12841
12842 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12843
12844         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12845         inside insetERT.
12846
12847         * text.C (computeBidiTables): No bidi in insetERT.
12848
12849         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12850         in RTL documents.
12851
12852 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * version.C.in: pre 5
12855
12856 2002-05-02  José Matos  <jamatos@fep.up.pt>
12857         * buffer.C (makeDocBookFile): white space changes, add newline to
12858         command styles.
12859         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12860
12861         * tabular.C (docBook): fix typo.
12862
12863 2002-05-03  Juergen Vigna  <jug@sad.it>
12864
12865         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12866         change in LyXText as we can not be sure it was not freed.
12867         (drawOneRow): remove unused code.
12868
12869         * text.C (drawInset): redo the calculation of the need_break_row as
12870         it could have a row which was already freed.
12871         (draw): look at the return value of drawInset and return false if
12872         it also returned false.
12873         (paintRowText): look at the return value of draw and return false if
12874         it also returned false.
12875
12876         * lyxtext.h: added bool return type to drawInset() and draw() so that
12877         if we have a change in the row so that the rowbreak has to be redone
12878         we abort drawing as it will be called again.
12879
12880 2002-05-02  Juergen Vigna  <jug@sad.it>
12881
12882         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12883         a change in the maintext also if we're inside an inset.
12884         (Dispatch): set the cursor again after a break line and after the
12885         screen has been updated as it could be we're in a different row.
12886
12887         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12888         to set the cursor behind the pargraph with > size().
12889         (setCursor): check also for the same paragraph when checking where
12890         to put the cursor if we have a NFR inset.
12891
12892         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12893         parts of layout read further up as it still was in the wrong
12894         position.
12895
12896 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12897
12898         * screen.C (drawFromTo): change sine fullRebreak always return
12899         true.
12900
12901         * buffer.C (parseSingleLyXformat2Token): reindent some
12902
12903         * BufferView_pimpl.C (update): change since fullRebreak always
12904         return true.
12905         (Dispatch): git rid of the last hardcoded "Standard"s.
12906
12907 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12908
12909         * text2.[Ch] (fullRebreak): make it return void now that we always
12910         returned true.
12911
12912 2002-04-30  Juergen Vigna  <jug@sad.it>
12913
12914         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12915         ert compatibility check for "latex" layout.
12916
12917 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12918
12919         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12920         minipages: use col% instead of p%, and also use the current font.
12921         (makeLaTeXFile): Fix use babel condition.
12922         (parseSingleLyXformat2Token): Correct font when reading old floats.
12923
12924 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12925
12926         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12927         inserting list of floats.
12928
12929 2002-04-25  Herbert Voss  <voss@lyx.org>
12930
12931         * MenuBackend.C (expand): don't add the graphics extensions to the
12932         export menu
12933
12934 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12935
12936         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12937         non-existing layout, do not complain if it was the default layout
12938         of the original class (bug #342)
12939
12940 2002-04-24  Juergen Vigna  <jug@sad.it>
12941
12942         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12943         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12944
12945 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12946
12947         * buffer.C (getBibkeyList): If using \bibliography, return the
12948         option field with the reference itself. Enables us to provide natbib
12949         support when using \bibliography.
12950
12951 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12952
12953         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12954
12955         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12956         natbib is provided by the LaTeX class.
12957
12958 2002-04-23  Juergen Vigna  <jug@sad.it>
12959
12960         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12961         Wakeup functions.
12962
12963         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12964
12965 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12966
12967         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12968
12969         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12970         ensuremath around textordmasculine, textordfeminine and
12971         textdegree.
12972
12973 2002-04-19  Juergen Vigna  <jug@sad.it>
12974
12975         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12976         reinitializing the buffer otherwise row-dimensions may be wrong.
12977         (update): reset also the selection cursors if they do exits otherwise
12978         their x/y positions may be wrong.
12979
12980         * text2.C (cursorDown): don't enter the inset if we came from a row
12981         above and are one row over the inset.
12982
12983         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12984         really leaving an inset.
12985
12986 2002-04-18  Juergen Vigna  <jug@sad.it>
12987
12988         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12989         of the selected paragraph does not have the selected layout also if
12990         the last one had!
12991
12992         * text2.C (setLayout): fixed bug which did not change last selected
12993         paragraph.
12994
12995         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12996         changed the read and substituted \\end_float with \\end_inset!
12997
12998         * BufferView_pimpl.C (cursorPrevious):
12999         (cursorNext): fixed to make it work with rows heigher than the work
13000         area without moving the cursor only the draw of the row.
13001         (workAreaMotionNotify): fix jumping over high rows.
13002
13003 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13004
13005         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13006         Ressler.
13007
13008 2002-04-16  Juergen Vigna  <jug@sad.it>
13009
13010         * text2.C (setCursor): set also the irow().
13011         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13012         (cursorUp):
13013         (cursorDown): support for locking an inset if the x_fix value goes
13014         inside it. That way I can transverse insets too with cursor up/down.
13015
13016         * lyxrow.h: added irow helper function same as other (i) functions.
13017
13018         * BufferView_pimpl.C (cursorPrevious):
13019         (cursorNext): fixed for insets!
13020
13021 2002-04-15  Juergen Vigna  <jug@sad.it>
13022
13023         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13024         position otherwise it is wrong in some cases.
13025
13026         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13027         inside the inset before the call.
13028
13029 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13030
13031         * buffer.[Ch] (getBibkeyList): make it const.
13032
13033 2002-04-12  Juergen Vigna  <jug@sad.it>
13034
13035         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13036
13037         * text2.C (getCursorX): new helper function
13038         (setCursor): compute also ix_
13039         (setCursorFromCoordinates): set also ix.
13040
13041         * lyxcursor.h: added ix_ and helper functions.
13042
13043         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13044
13045         * buffer.C (insertStringAsLines): dont break paragraph if the this
13046         paragraph is inside an inset which does not permit it!
13047
13048         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13049         also with no chars on this paragraph.
13050         (paintRowText): only paint stuff if it's inside the workarea!
13051
13052         * paragraph.C (breakParagraph): honor keepempty flag and break the
13053         paragraph always below not above.
13054
13055         * BufferView2.C (unlockInset): update the paragraph layout on inset
13056         unlock as we changed paragraph in such a case.
13057
13058         * lyxfind.C (LyXFind): clear the former selection if not found!
13059
13060         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13061         again called in insertChar().
13062
13063         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13064         an inset which uses the whole row!
13065         (rightMargin): ditto.
13066         (insertChar): force a rebreak if we inserted an inset!
13067
13068 2002-03-28  Herbert Voss  <voss@lyx.org>
13069
13070         * lyxlength.[Ch]: add inBP() to get the right PS-point
13071         units (BigPoint). With inPixels we have rounding errors
13072
13073 2002-04-11  Juergen Vigna  <jug@sad.it>
13074
13075         * text2.C (setCursorFromCoordinates): set iy to the right value.
13076         (setCursor): add check if row->previous exists!
13077
13078         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13079         an old float_type as this was the case in the old code!
13080
13081         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13082
13083         * BufferView2.C (showLockedInsetCursor): use iy
13084         (fitLockedInsetCursor): ditto
13085
13086         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13087         locked insets as there we have the right value now.
13088
13089         * lyxcursor.C: added iy_ variable and iy functions to set to the
13090         baseline of cursor-y of the locked inset.
13091
13092         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13093         (setCursor): fixed for insets which need a full row.
13094
13095         * text.C (rowLastPrintable): don't ignore the last space when before
13096         an inset which needs a full row.
13097         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13098         as last character of a row when before a inset which needs a full row.
13099
13100 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13101
13102         * version.C.in: update date
13103
13104         * text2.C (fullRebreak): try to always return true and see what
13105         happens...
13106
13107 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13108
13109         * MenuBackend.C (expand): use Floating::listName
13110
13111         * FloatList.C (FloatList): add listName argument to the built-in
13112         floats
13113
13114         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13115         text associated with the float.
13116
13117 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13118
13119         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13120
13121 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13122
13123         * ShareContainer.h: add a couple of missing typenames.
13124
13125 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13126
13127         * lyxrc.C (getDescription): use _() correctly rather than N_().
13128
13129 2002-03-28  Herbert Voss  <voss@lyx.org>
13130
13131         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13132         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13133
13134 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13135
13136         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13137         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13138
13139 2002-03-29  Juergen Vigna  <jug@sad.it>
13140
13141         * lyxfunc.C (dispatch): add a missing fitCursor call.
13142
13143         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13144         it was scrolled by a cursor move, so return the bool status.
13145
13146         * BufferView.C (fitCursor): return the bool flag also to the outside
13147         world as this is needed.
13148
13149         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13150
13151         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13152         call the edit() as it is not needed (and wrong) IMO.
13153         (workAreaButtonPress): set the screen_first variable before evt.
13154         unlock the inset as this may change screen_first and then we have
13155         a wrong y position for the click!
13156
13157 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13158
13159         * MenuBackend.C (expand): another translation that I missed
13160
13161 2002-03-28  Juergen Vigna  <jug@sad.it>
13162
13163         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13164
13165         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13166
13167 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13168
13169         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13170
13171         * MenuBackend.C (expand): fix export/view/update when there is no
13172         document open.
13173
13174 2002-03-27  Herbert Voss  <voss@lyx.org>
13175
13176         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13177         and text%
13178
13179 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13180
13181         * bufferview_funcs.C (currentState): only show paragraph number
13182         for is DEVEL_VERSION is set.
13183
13184         * lyxfunc.C (dispatch): put warning in INFO channel
13185
13186         * MenuBackend.C (expand): translate the name of floats
13187
13188         * FloatList.C (FloatList): mark the float names for translation
13189
13190         * converter.C (convert): use LibScriptSearch
13191
13192 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13193
13194         * MenuBackend.C (defaults): fix default menu (we might as well get
13195         rid of it...)
13196
13197 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13198
13199         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13200         directory.
13201
13202 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * lyxvc.C: reorder includes.
13205
13206 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13207
13208         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13209           properly
13210
13211 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * CutAndPaste.C: change layouts earlier on paste
13214           to avoid crashing when calling getFont()
13215
13216 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13217
13218         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13219         irritating #error.
13220
13221 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13222
13223         * WorkArea.C: remove 'Pending' debug message.
13224
13225         * most files: ws cleanup
13226
13227         * buffer.[Ch]: ws changes
13228
13229         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13230
13231 2002-03-21  Juergen Vigna  <jug@sad.it>
13232
13233         * tabular.C (SetMultiColumn): collapse also the contents of the
13234         cells and set the last border right. Added a Buffer const * param.
13235
13236 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13237
13238         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13239         linking or not.
13240
13241 2002-03-19  Juergen Vigna  <jug@sad.it>
13242
13243         * text2.C (clearSelection): reset also xsel_cache.
13244
13245         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13246         where it needs to be called (John tells us to do so too :)
13247         (selectionLost): reset sel_cache.
13248
13249         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13250
13251 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13252
13253         * text2.C (setCursorIntern): put debuging code in INSETS channel
13254
13255 2002-03-19  André Pönitz <poenitz@gmx.net>
13256
13257         * lyxfunc.C: tiny whitespace change
13258
13259 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13260
13261         * ToolbarDefaults.C (init):
13262         * LyXAction.C (init):
13263         * commandtags.h:
13264         * BufferView_pimpl.C (Dispatch):
13265         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13266
13267 2002-03-19  Allan Rae  <rae@lyx.org>
13268
13269         * exporter.C (Export): removeAutoInsets before doing anything else.
13270         While I've just introduced a dependency on BufferView this really is
13271         the best place to clean the buffer otherwise you need to cleanup in
13272         a dozen places before calling export or cleanup in a dozen functions
13273         that export calls.
13274
13275         * converter.C (runLaTeX):
13276         (scanLog): Better handling of removeAutoInsets and screen updates.
13277
13278         * lyxfunc.C (dispatch): small whitespace changes
13279
13280 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13281
13282         * WorkArea.C (C_WorkAreaEvent): return a value.
13283         (event_cb): return 1 if we handled the event, 0 otherwise.
13284
13285         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13286
13287 2002-03-18  Juergen Vigna  <jug@sad.it>
13288
13289         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13290         (GetAdditionalWidth): ditto.
13291         (RightLine): ditto.
13292         (LeftLine): ditto.
13293
13294         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13295         inset if we're there actually (probably not used right now but this
13296         is the direction to go for unifying code).
13297         (paste): disable code to clear the selection.
13298
13299         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13300         inside an InsetText and move the check further up as it is in the
13301         wrong place.
13302
13303         * text2.C (pasteSelection): set a selection over the pasted text.
13304
13305 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13306
13307         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13308         and libgraphics to build on Cygwin.
13309
13310 2002-03-15  Juergen Vigna  <jug@sad.it>
13311
13312         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13313         inserting an Inset into the paragraph. I know this is not the best
13314         fix but we already use current_view in CutAndPaste so we will remove
13315         all of it's using at the same time.
13316
13317         * buffer.C (sgmlError): deactivated function till it is rewritten in
13318         the right mode, now it can create problems.
13319
13320         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13321         before accessing it.
13322
13323 2002-03-14  Juergen Vigna  <jug@sad.it>
13324
13325         * undo_funcs.C (textHandleUndo): do the right thing when updating
13326         the inset after the undo/redo.
13327
13328         * text2.C (setCursor): just some testcode for #44 not ready yet.
13329
13330         * undo_funcs.C (textHandleUndo): set the next() and previous()
13331         pointers of the paragraph to 0 before deleting otherwise we have
13332         problems with the Paragraph::[destructor].
13333
13334         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13335         on a paragraph insertion.
13336
13337 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13338
13339         * buffer.C (asciiParagraph): use += operator for char append to
13340         string.
13341
13342         * paragraph.C (getFontSettings): compare >= not just >
13343         (highestFontInRange): ditto
13344         (setFont): ditto
13345
13346 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13347
13348         * paragraph.C: change several algorithm to be more appripriate for
13349         the problem domain. This is lookip in FontList and in the InsetList.
13350
13351 2002-03-13  André Pönitz <poenitz@gmx.net>
13352
13353         * commandtags.h:
13354         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13355
13356 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13357
13358         * commandtags.h:
13359         * LyXAction.C:
13360         * lyxfunc.C:
13361         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13362
13363 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13364
13365         * Painter.C (display): anon helper function, adjust code for this
13366         change.
13367         (pixmap): remove function.
13368
13369         * Painter.h: remove private display variable.
13370
13371         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13372
13373 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13374
13375         * WorkArea.[Ch]: remove figinset_canvas cruft.
13376
13377 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13378
13379         * lyxtextclass.C (operator): add one item cache optimization.
13380
13381         * bufferlist.h: doxy changes
13382
13383         * bufferlist.C: ws changes
13384
13385         * DepTable.[Ch] (ext_exist): place const in the right spot.
13386
13387         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13388         call resizeInsets.
13389         (workAreaExpose): call resizeInsets when the with BufferView changes.
13390         (Dispatch): adjust for protectedBlank removal
13391         (specialChar): call updateInset if the insert went ok.
13392
13393         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13394         specialChar instead.
13395
13396         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13397
13398         * BufferView.h: doxy change
13399
13400         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13401
13402         * lyxtextclass.C (operator[]): remove non-const version
13403         (defaultLayout): remove non-const version
13404
13405 2002-03-12  Juergen Vigna  <jug@sad.it>
13406
13407         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13408         did resize the LyXText too.
13409
13410         * buffer.C (readLyXformat2): set layout information on newly allocated
13411         paragraphs.
13412
13413         * tabular.C (OldFormatRead): set layout information on the paragraph.
13414
13415 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13416
13417         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13418
13419 2002-03-11  Juergen Vigna  <jug@sad.it>
13420
13421         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13422         plainly wrong.
13423         (resizeCurrentBuffer): force also the insets to resize themselfes.
13424         (moveCursorUpdate): fixed up for InsetText.
13425
13426 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13427
13428         * commandtags.h:
13429         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13430         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13431         value of Dialogs::tooltipsEnabled().
13432         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13433
13434 2002-03-08  Juergen Vigna  <jug@sad.it>
13435
13436         * BufferView_pimpl.C (updateInset): update inset inside inset also
13437         if it isn't inside theLockingInset().
13438
13439 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13440
13441         * buffer.C (asciiParagraph): redo some of the word and line length
13442         handling.
13443         (getLists): look for Caption instead of caption.
13444
13445 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13446
13447         * buffer.C (Buffer): initialize niceFile to true
13448         (makeLaTeXFile):
13449         (makeLinuxDocFile):
13450         (makeDocBookFile): make sure niceFile is true on exit
13451
13452 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13453
13454         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13455
13456 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13457
13458         * LyXSendto.C: remove.
13459         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13460         * lyx_gui.C: remove now-redundant comment.
13461         * ColorHandler.h: remove forward declaration of class WorkArea.
13462         * lyxfunc.C: remove #include "WorkArea.h".
13463
13464 2002-03-07  Juergen Vigna  <jug@sad.it>
13465
13466         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13467         got moved away with the DEPM and also set the inset_owner always
13468         right which before could have been omitted.
13469
13470 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13473         wanted layout is not found.
13474
13475 2002-03-07  Juergen Vigna  <jug@sad.it>
13476
13477         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13478
13479 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13480
13481         * paragraph.C (breakParagraph): use default layout not layout of
13482         prev paragraph.
13483         (Paragraph): clear ParagraphParameters.
13484
13485 2002-03-06  Juergen Vigna  <jug@sad.it>
13486
13487         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13488         otherwise it would not be a valid lenght. Fixed a special case in
13489         the minipage compatibility read where we end the document with a
13490         minipage.
13491
13492         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13493         was set as it could be 0 for InsetTexts first entry.
13494
13495 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13496
13497         * paragraph.C (writeFile): if layout is empty write out
13498         defaultLayoutName().
13499
13500         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13501         file without named layout we set layout to defaultLayoutName().
13502
13503 2002-03-06  Juergen Vigna  <jug@sad.it>
13504
13505         * CutAndPaste.C (copySelection): set layout for new paragraph.
13506
13507         * text.C (prepareToPrint): leave ERT inset left aligned
13508         (leftMargin): don't indent paragraphs inside ERT insets
13509
13510 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13511
13512         * paragraph.C (breakParagraph): dont call clear do the work manually
13513
13514         * paragraph.[Ch] (clear): remove function
13515
13516 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * paragraph.C (Paragraph): dont call clear, the work has already
13519         been done.
13520
13521         * lyxtextclass.C (operator): assert if n is empty
13522
13523         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13524         work manually instead.
13525
13526 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13527
13528         * BufferView_pimpl.C: protect selectionLost against text == 0
13529
13530 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * text.C (breakParagraph): fix a setting layout to '0' problem.
13533
13534 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13535
13536         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13537         final location of file, for the included files, and graphics.
13538
13539 2002-03-05  Juergen Vigna  <jug@sad.it>
13540
13541         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13542
13543 2002-03-04  Juergen Vigna  <jug@sad.it>
13544
13545         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13546
13547         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13548         last column of multicolumn cells.
13549         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13550
13551 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13552
13553         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13554         file if it doesn't go to a temporary file.
13555
13556         * buffer.C (sgmlOpenTag):
13557         (sgmlCloseTag):  remove extra newline insertion.
13558
13559 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13560
13561         * text.C (getRowNearY): comment out debug msg
13562
13563 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * text2.C: first -> first_y
13566
13567         * text.C (getRowNearY): add some attemts at a possible
13568         optimization, not working.
13569
13570         * tabular.[Ch]: add BufferParams to several function so that newly
13571         created paragraph can be initialized to he default layotu for the
13572         buffers textclass.
13573
13574         * tabular-old.C (ReadOld): add buf->params to call of Init
13575
13576         * screen.C: rename text->first to text->first_y
13577
13578         * paragraph.C (breakParagraph): always set layout in the broken
13579         paragraph
13580
13581         * lyxtextclass.C (Read): remove lowercase
13582         (hasLayout): ditto
13583         (operator): ditto
13584         (delete_layout): ditto
13585
13586         * lyxtext.h: rename first -> first_y
13587
13588         * lyxlayout.C (Read): remove lowercase
13589         (name): ditto
13590         (setName): ditto
13591         (obsoleted_by): ditto
13592
13593         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13594
13595         * buffer.C (insertErtContents): add params are to InsetERT
13596         (parseSingleLyXformat2Token): add code to check if a paragraphs
13597         layout really exist.
13598         (parseSingleLyXformat2Token): add params to several inset
13599         constructors
13600         (asciiParagraph): remove lowercase, do the layout comparisons with
13601         no_case
13602
13603         * BufferView_pimpl.C (cursorNext): first -> first_y
13604         (resizeCurrentBuffer): first -> first_y
13605         (updateScrollbar): first -> first_y
13606         (scrollCB): first -> first_y
13607         (workAreaMotionNotify): first -> first_y
13608         (workAreaButtonPress): first -> first_y
13609         (checkInsetHit): first -> first_y
13610         (cursorPrevious): first -> first_y
13611         (cursorNext): first -> first_y
13612         (Dispatch): add buffer_->params to severl inset contructors
13613
13614 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13615
13616         * lyxlayout.C (Read): remove some debug info that I forgot.
13617
13618         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13619         clean up the code slightly.
13620         (makeLinuxDocFile): ditto
13621         (makeDocBookFile): ditto
13622
13623         * text2.C: layout as string
13624
13625         * text.C: layout as string
13626
13627         * paragraph_pimpl.C: layout as string
13628
13629         * paragraph.[Ch]: layout as string
13630
13631         * lyxtextclasslist.[Ch]: layout as string
13632
13633         * lyxtextclass.[Ch]: layout as string
13634
13635         * lyxtext.h: layout as string
13636
13637         * lyxlayout.[Ch]: layout as string
13638
13639         * lyx_cb.C: layout as string
13640
13641         * bufferview_funcs.C: layout as string
13642
13643         * bufferparams.C: layout as string
13644
13645         * buffer.C: layout as string
13646
13647         * LyXView.[Ch]: layout as string
13648
13649         * LaTeXFeatures.[Ch]: layout as string
13650
13651         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13652
13653         * BufferView_pimpl.C: change current_layout to string, remove
13654         lyx::layout_type.
13655         (Dispatch):
13656         (smartQuote):
13657         (insertInset):
13658         (workAreaButtonRelease): layout as string
13659
13660         * BufferView2.C (unlockInset): adjust
13661
13662         * vspace.C (asLatexCommand): use an explict temp variable.
13663
13664 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13665
13666         * Makefile.am: use FRONTEND_*
13667
13668 2002-03-01  Juergen Vigna  <jug@sad.it>
13669
13670         * tabular.C (SetWidthOfMulticolCell): changed to something better
13671         I hope but still work in progress.
13672         (recalculateMulticolumnsOfColumn): renamed function from
13673         recalculateMulticolCells as it is more appropriate now.
13674         (SetWidthOfCell): calculate multicols better.
13675
13676 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13677
13678         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13679
13680         * lyxfunc.C (processKeySym): print sequence also if it is
13681         `deleted' (complete)
13682
13683         * kbsequence.C (print): print sequence even if it is deleted
13684         (complete would be a better word, actually).
13685
13686         * lyxfunc.C (dispatch): print complete options after a prefix key
13687
13688         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13689
13690 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13691
13692         * text2.C (setCharFont): eliminate setCharFont code duplication.
13693
13694 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13695
13696         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13697         LFUN_TABULAR_FEATURE (bug #177)
13698
13699 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13700
13701         * Makefile.am: remove figure.h
13702
13703 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13704
13705         * Bufferview_pimpl.C:
13706         * CutAndPasteC:
13707         * LaTeX.C:
13708         * LyXSendto.C:
13709         * buffer.C:
13710         * bufferlist.C:
13711         * converter.C:
13712         * language.C:
13713         * lyxfunc.C:
13714         * lyxvc.C:
13715         * paragraph.C:
13716         * text.C:
13717         * text2.C: remove #include "lyx_gui_misc.h".
13718
13719         * LaTeX.C: added #include <cstdio>
13720
13721 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13722
13723         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13724         that the paragraph following this one can have.
13725
13726         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13727
13728         * vspace.C (asLatexCommand): fix bogus gcc warning
13729
13730         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13731
13732 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13733
13734         * text2.C (setLayout): get rid of redundant code
13735
13736 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13737
13738         * text2.C (incDepth): make sure depth cannot be increased beyond
13739         reasonable values.
13740
13741 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13742
13743         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13744         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13745
13746         * PainterBase.h (image):
13747         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13748         a LyXImage const *.
13749
13750 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13751
13752         * BufferView.C:
13753         * BufferView.h:
13754         * BufferView_pimpl.C:
13755         * BufferView_pimpl.h:
13756         * LaTeXFeatures.C:
13757         * LyXAction.C:
13758         * LyXView.C:
13759         * Makefile.am:
13760         * UpdateList.h:
13761         * UpdateList.C:
13762         * buffer.C:
13763         * figure.h:
13764         * figureForm.C:
13765         * figureForm.h:
13766         * figure_form.C:
13767         * figure_form.h:
13768         * lyx_cb.C:
13769         * lyx_gui.C:
13770         * lyx_gui_misc.C:
13771         * lyxfunc.C:
13772         * sp_base.h:
13773         * sp_ispell.h:
13774         * sp_pspell.h:
13775         * sp_spell.C: remove fig inset, and the crap house of
13776           cards that follows it
13777
13778 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13779
13780         * Makefile.am:
13781         * lyxserver.C:
13782         * os2_defines.h:
13783         * os2_errortable.h:
13784         * nt_defines.h: move .h into support/
13785
13786         * vms_defines.h: remove
13787
13788         * WorkArea.C: add space in debug output
13789
13790         * text2.C:
13791         * paragraph.C:
13792         * buffer.C: add WITH_WARNINGS
13793
13794         * vc-backend.h:
13795         * vc-backend.C:
13796         * bufferlist.C: s/retrive/retrieve/, add docs
13797
13798         * vspace.h:
13799         * vspace.C:
13800         * kbmap.h:
13801         * lyxlength.h:
13802         * lyxgluelength.h:
13803         * length_common.h:
13804         * chset.h:
13805         * chset.C: add docs
13806
13807         * lyxgui.C: add ID to X error handler
13808
13809         * lyxtestclass.c: fix typo
13810
13811 2002-02-26  Juergen Vigna  <jug@sad.it>
13812
13813         * tabular_funcs.C (write_attribute): changed so that some default
13814         attributes are not written at all.
13815         (getTokenValue): set default values before trying to read the
13816         value so we have the return value always set as default if we don't
13817         find the token we search for.
13818
13819         * tabular.C (Write): write bools as bools not as strings!
13820
13821 2002-02-22  Juergen Vigna  <jug@sad.it>
13822
13823         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13824         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13825
13826         * text.C (leftMargin): don't add an indent for paragraphs inside
13827         tabular cells (fix #208).
13828
13829 2002-02-21  José Matos  <jamatos@fep.up.pt>
13830
13831         * tabular.C (docBook): fixed support for long tables.
13832
13833 2002-02-20  Juergen Vigna  <jug@sad.it>
13834
13835         * text2.C (getFont): get the drawing font of the Inset if this
13836         paragraph is inside an inset (only important for InsetERT for now).
13837
13838         * buffer.C (insertErtContents): use new lanugage params in ERT
13839         constructor.
13840
13841         * CutAndPaste.C: commenting out seemingly uneeded code.
13842
13843 2002-02-19  Allan Rae  <rae@lyx.org>
13844
13845         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13846         Iterators might be simple to use but they also get invalidated.
13847         (removeAutoInsets): renamed saved cursor tracking variables and added
13848         some comments to clarify what everything does.
13849
13850 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13851
13852         * Chktex.C:
13853         * LaTeX.C:
13854         * LyXSendto.C:
13855         * converter.C:
13856         * lyx_cb.C:
13857         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13858         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13859
13860         * lyxfunc.C:
13861         * vc-backend.h: remove #include "support/syscall.h"
13862
13863         * LaTeX.C:
13864         * LyXSendto.C:
13865         * converter.C: rearrange #includes in Lars' approved fashion.
13866
13867         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13868         forward declare class Timeout in the header file.
13869
13870         * XFormsView.C: changes due to the above.
13871
13872         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13873         similar to LyXView.
13874
13875         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13876         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13877
13878 2002-02-18  José Matos  <jamatos@fep.up.pt>
13879
13880         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13881         insets contents.
13882
13883 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13884
13885         * a lot of small ws changes
13886         * add a lot of using std::XXX
13887         * use std construcs some places where approp.
13888         * use some exisint stuff from lyxfunctional where approp.
13889         * Make file changes to use partial linking (lets test this now...)
13890
13891 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13892
13893         * Chktex.C:
13894         * buffer.C:
13895         remove #include "support/syscontr.h" as it's redundant. Always has been.
13896
13897         * Chktex.C:
13898         * LaTeX.C:
13899         * LyXSendto.C:
13900         * converter.C:
13901         * lyx_cb.C:
13902         * vc-backend.C:
13903         change Systemcalls::System to Systemcalls::Wait and
13904         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13905         No change of functionality, just reflects the stripped down Systemcalls
13906         class.
13907
13908 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13909
13910         * debug.[Ch]: add a GRAPHICS type to the enum.
13911
13912 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13913
13914         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13915
13916         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13917         there is an inset.
13918
13919 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13920
13921         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13922         match the changes below.
13923
13924         * text2.C (toggleInset): if there is not editable inset at cursor
13925         position, try to see if cursor is _inside_ a collapsable inset
13926         and close it.
13927
13928 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13929
13930         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13931         document menu has a nice checkbox
13932
13933 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13934
13935         * lyxlength.C (asLatexString): change PW to output as percent of
13936         \textwidth.
13937
13938         * lengthcommon.C: change '%' to 't%'
13939
13940         * lyxfunc.C (dispatch): a few comments from Martin
13941
13942 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13943
13944         * WorkArea.h:
13945         * WorkArea.C:
13946         * BufferView_pimpl.h:
13947         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13948           the X selection.
13949
13950 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13951
13952         * vspace.C (inPixels): fix compiler warning
13953
13954 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13955
13956         * lyxfunc.C (getStatus): fix status message for disabled commands.
13957
13958 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13959
13960         * BufferView_pimpl.C: fix crash on close buffer
13961         during selection (#227)
13962
13963 2002-01-27  Herbert Voss  <voss@lyx.org>
13964
13965         * buffer.C: link old Figure to new graphic inset
13966
13967 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13968
13969         * FontLoader.C (getFontinfo): Change the latex font names in order
13970         to match the names of type1inst.
13971
13972 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13973
13974         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13975
13976         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13977         (extchanged): ditto
13978         (ext_exist): ditto
13979         (remove_files_with_extension): ditto
13980         (remove_file): ditto
13981         (write): ditto
13982
13983         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13984         document is smaller than the work area height. Do not initialize
13985         static variables to 0.
13986
13987 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13988
13989         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13990
13991         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13992         LFUN_LAYOUT_PARAGRAPHS.
13993
13994         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13995         tabular. It is possible to provide a possible cell, which will
13996         typically be the actcell from the corresponding insettabular
13997
13998         * lyxfunc.C (getStatus): small cleanup; disable
13999         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14000         true
14001
14002 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14003
14004         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14005
14006         * paragraph.C (startTeXParParams):
14007         (endTeXParParams): new methods. The LaTeX code to
14008         start/end paragraph formatting
14009         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14010         empty (fixes bug #200)
14011
14012         * vspace.C (inPixels): adapt to the change below
14013         (inPixels): [later] more cleanups (remove unused variables)
14014
14015         * lyxlength.C (inPixels): change to use a width and a height as
14016         parameter.
14017
14018 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14019
14020         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14021         Replaced with \paperwidth
14022
14023         * DepTable.C (insert): add std:: qualifier
14024
14025 2002-01-18  Allan Rae  <rae@lyx.org>
14026
14027         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14028         updated also?
14029
14030         * text.C (drawInset): Turned out I didn't know enough about how
14031         rebreaking worked.  This fixes most of the redraw problems.  I see
14032         an occasional cursor trail when a line is broken now and the cursor
14033         placement can seem out by a few pixels also after a rebreak.
14034
14035 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14036
14037         * buffer.C (parseSingleLyXformat2Token): update because minipage
14038         width is now a LyXLength
14039
14040         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14041
14042         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14043         math insets
14044
14045 2002-01-17  Juergen Vigna  <jug@sad.it>
14046
14047         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14048
14049         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14050         is set correctly and the inset is updated correctly.
14051
14052 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14053
14054         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14055         the beginning of the loop.
14056
14057 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * lyxrc.C: improve help for use_scalable_fonts
14060
14061 2002-01-17  Allan Rae  <rae@lyx.org>
14062
14063         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14064
14065 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14066
14067         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14068         make sure to set their inset_owner to the right value (bug #171)
14069
14070 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14071
14072         * DepTable.h
14073         * DepTable.C: Implement mtime checking to reduce time spent doing
14074         CRCs.
14075
14076 2002-01-16  Juergen Vigna  <jug@sad.it>
14077
14078         * tabular.C (GetAdditionalHeight): one of error fixed.
14079
14080         * lyxrc.C (output): small fix in writing use_pspell.
14081
14082 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14083
14084         * sp_base.h: #include LString.h
14085
14086 2002-01-16  Allan Rae  <rae@lyx.org>
14087
14088         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14089         Can someone check this please?
14090
14091         * text.C (drawInset): It was possible that p.row would be removed by
14092         breakAgainOneRow upsetting a few other settings.  There may be another
14093         small tweak possible by setting need_break_row = 0 when p.row has been
14094         removed but I don't know enough about the logic here.
14095
14096 2002-01-15  Allan Rae  <rae@lyx.org>
14097
14098         * text.C (insertChar): removed conditional truism.
14099
14100         * BufferView2.C (removeAutoInsets): More tweaks.
14101         cur_par_prev could be a stray pointer.  Check for trailing empty line
14102         in case last line was cur_par and only had an error inset on it.
14103
14104 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14105
14106         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14107         absolute
14108
14109         * vc-backend.C (most methods):
14110         * exporter.C (Export):
14111         * converter.C (convert):
14112         (runLaTeX):
14113         * LyXSendto.C (SendtoApplyCB):
14114         * lyxfunc.C (dispatch):
14115         (menuNew):
14116         (open):
14117         (doImport):
14118         * lyx_cb.C (AutoSave):
14119         (InsertAsciiFile):
14120         * BufferView_pimpl.C (MenuInsertLyXFile):
14121         * buffer.C (runChktex): use Buffer::filePath().
14122
14123         * buffer.h: rename filename to filename_; rename filepath to
14124         filepath_ and make it private
14125         (filePath): new method
14126
14127         * buffer.C (writeFile): use fileName()
14128         (getLatexName):
14129
14130         * lyx_main.C (init): fix starting  of LyX when the binary is a
14131         link from so,ewhere else.
14132
14133         * minibuffer.C: include <cctype> for isprint
14134
14135 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14136
14137         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14138         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14139         name clash with InsetCollapsable's width function.
14140
14141 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14142
14143         * lastfiles.C: include <iterator>
14144
14145 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14146
14147         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14148         std::count.
14149
14150         * buffer.C (makeLaTeXFile): ditto.
14151         Also make loop operation more transparent.
14152
14153 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14154
14155         * ToolbarDefaults.C: remove trailing comma closing namespace.
14156
14157         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14158
14159         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14160         as in WorkArea.
14161
14162         * trans.C (Load): comment out unused variable, allowed.
14163
14164 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14165
14166         * minibuffer.[Ch] (append_char): new method to recieve input from the
14167         drop-down completion browser. If a key was pressed, then recieve this
14168         char and append it to the existing string.
14169         (peek_event): modify the positioning data passed to the completion
14170         browser so that it can be placed above the minibuffer rather than below.
14171 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14172
14173         * LyXAction.C (init): alloe error-next for readonly documents.
14174
14175         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14176         count.
14177
14178 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14179
14180         * bufferlist.C (readFile): create the buffer _after_ checking that
14181         the file exists.
14182
14183         * lyxfunc.C (verboseDispatch): fix handling of arguments
14184
14185         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14186
14187         * lyxrc.C: use string::erase() instead of initializing to "".
14188
14189
14190 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * BufferView_pimpl.h:
14193         * BufferView_pimpl.C:
14194         * WorkArea.h:
14195         * WorkArea.C:
14196         * text2.C: tell X when we have made a selection for copying
14197
14198 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14199
14200         * BufferView_pimpl.C (MenuInsertLyXFile):
14201         * lyxfunc.C (menuNew):
14202         (open):
14203         (doImport): add shortcuts to directory buttons
14204
14205         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14206         open a float)
14207
14208         * lyxfunc.C (setStatusMessage):
14209         (getStatusMessage): new methods
14210         (getStatus):use setStatusMessage instead of setErrorMessage
14211         (dispatch): when function is disabled, set error message here
14212         [instead of in getStatus previously]
14213
14214         * BufferView_pimpl.C (workAreaButtonRelease): update
14215         toolbar/menubar here too.
14216
14217 2002-01-13  Allan Rae  <rae@lyx.org>
14218
14219         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14220         Now seems indestructible.  Remaining task is to audit all other
14221         code affected by deleteEmptyParagraphMechanism.  One small quirk
14222         left is that an empty document with an error in the preamble can
14223         be made to report an error but no error box appears.  I don't know
14224         where it goes.
14225         (removeAutoInsets): Improved comments.
14226
14227 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14228
14229         * Thesaurus.h:
14230         * Thesaurus.C: update for Aiksaurus 0.14
14231
14232 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14233
14234         * text2.C (firstParagraph): removed member function, all uses
14235         replaces with ownerParagraph
14236         (redoParagraphs): here
14237         (updateInset): here
14238         (toggleAppendix): here
14239         * BufferView2.C (insertErrors): here
14240         (setCursorFromRow): here
14241
14242 2002-01-13  Allan Rae  <rae@lyx.org>
14243
14244         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14245         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14246         There is still a way to segfault this although you may have to do this
14247         multiple times: Have an InsetERT with an unknown command in it.
14248         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14249         <down-arrow>, <Enter> again, View->DVI, BANG!
14250
14251         * text2.C (setCursor):
14252         (deleteEmptyParagraphMechanism):
14253         * lyxtext.h (setCursor):
14254         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14255         Making use of the return value may help fix other bugs.
14256
14257 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14258
14259         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14260
14261         * LyXView.C (updateMenubar): call MenuBar::update here
14262         (updateToolbar): but not here
14263         (showState): do not update toolbar/menubar
14264
14265         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14266         should need to care about that.
14267
14268         * lyxfunc.C (verboseDispatch): simplify a bit
14269         (getStatus): have a version which takes a pseudoaction, and
14270         another which requires a (kb_action,string).
14271
14272         * LyXAction.C (retrieveActionArg): make it work also when action
14273         is not a pseudo-action.
14274         (getActionName): simplify a bit
14275         (helpText):
14276
14277 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14278
14279         * lyxfunc.C (verboseDispatch): new families of methods with
14280         several ways to specify a command and a bool to indicate whether
14281         the command name and shortcut should be displayed in minibuffer
14282         (eventually, we could extend that to a finer bitmask like
14283         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14284         (dispatch): the pristine dispatch command which just, well,
14285         dispatchs! Note it still sets its result to minibuffer; I'm not
14286         sure we want that.
14287
14288         * lyxfunc.h: remove setHintMessage
14289
14290         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14291
14292 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14293
14294         * BufferView_pimpl.C (specialChar): delete new inset if we have
14295         not been able to insert it.
14296
14297         * kbmap.C: revert to using int instead of kb_action, since all we
14298         are dealing with is pseudo-actions.
14299
14300         * LyXAction.C (searchActionArg): change to return int instead of
14301         kb_action, since the result is a pseudoaction.
14302
14303 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14304
14305         * buffer.C (insertErtContents): Fix (partially) the font bug.
14306
14307 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14308
14309         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14310         as the other one is broken on my machine!
14311
14312 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14313
14314         * commandtags.h:
14315         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14316
14317 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14318
14319         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14320         reflect their actual use. Provide compatibility code for older lyxrc
14321         files.
14322
14323         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14324         FL_NORMAL_STYLE.
14325         change names of popup font variables in line with the changes to lyxrc.C
14326
14327 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14328
14329         * buffer.C (asciiParagraph): avoid outputing a word twice after
14330         an inset.
14331
14332         * lyxrc.C (getDescription): document that document_path and
14333         template_path can be empty.
14334
14335 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14336
14337         * LaTeXFeatures.C (getMacros):
14338         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14339
14340         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14341
14342         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14343         getPackages.
14344         (getPackages): rename feature "floats" to "float". Use an array to
14345         iterate over 'simple' features (i.e. just a \usepackage). Add
14346         handling of "amsmath" (renamed from "amsstyle").
14347
14348 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14349
14350         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14351         features list.
14352
14353 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14354
14355         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14356         FuncStaus::FuncStatus & FuncStaus::some_method().
14357
14358 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14359
14360         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14361         of the func_satus stuff. Edited and massaged in various ways by
14362         JMarc.
14363
14364         * lyxfunc.C (getStatus): use FuncStatus
14365
14366 2002-01-08  Juergen Vigna  <jug@sad.it>
14367
14368         * text.C (nextBreakPoint): use function Inset::isChar().
14369
14370         * paragraph.C (TeXOnePar): use function
14371         Inset::forceDefaultParagraphs.
14372
14373         * buffer.C (latexParagraphs): use function
14374         Inset::forceDefaultParagraphs.
14375
14376 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14377
14378         * lyx_gui.C (init): set the style of the menu popups to
14379         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14380
14381 2002-01-07  Juergen Vigna  <jug@sad.it>
14382
14383         * text.C (setHeightOfRow): small fix
14384         (prepareToPrint): don't look at alignment if we don't have the place
14385         for doing it.
14386
14387 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14388
14389         * box.C: New file. Move the Box methods and functions out of box.h,
14390         following Lars' suggestion.
14391
14392 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14393
14394         * box.h: #include "support/LOstream.h", needed for inlined function.
14395
14396         * lyxtextclass.C:
14397         * lyxtextclasslist.C: added some using std declarations.
14398
14399 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14400
14401         * box.h: make signed dimensions to allow insets wider than
14402           the screen (bug #162)
14403
14404         * BufferView_pimpl.C: add some insetHit debug
14405
14406 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14407
14408         * vc-backend.C: add FIXME
14409
14410 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14411
14412         * lyxfunc.C (getStatus): enable code for showing math font status
14413         in toolbar/menu.
14414
14415 2002-01-07  Juergen Vigna  <jug@sad.it>
14416
14417         * text.C (nextBreakPoint): removed debug output not needed anymore.
14418
14419 2002-01-06  Juergen Vigna  <jug@sad.it>
14420
14421         * text.C (nextBreakPoint): fixed up this function we had this bug
14422         since ever but now hopefully we break row better.
14423         (insertChar): we have to check if an inset is the next char as it
14424         could now happen that a large inset is causing a break.
14425
14426 2002-01-05  Juergen Vigna  <jug@sad.it>
14427
14428         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14429         if it doesn't like to be drawed.
14430
14431 2002-01-04  Juergen Vigna  <jug@sad.it>
14432
14433         * BufferView2.C (lockInset): forgot to set a cursor.
14434
14435         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14436
14437 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14438
14439         * FormMathsPanel.C:
14440         * FormMathsPanel.h
14441         * MathsSymbols.C:
14442         * form_maths_panel.C:
14443         * form_maths_panel.h:
14444         * form_maths_panel.fd: implemented sub- and super- buttons in math
14445         panel.
14446
14447         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14448         (or ^ space) to be used as in TeX (req'd by Andr�.
14449
14450         * lyxfunc.C: Allow ^ and _ again to be used both as
14451         super/subscript (mathed) and as themselves (in text).
14452
14453 2002-01-03  Allan Rae  <rae@lyx.org>
14454
14455         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14456         "LyX" or the filename of the current buffer if it has one.  This is a
14457         modified form of John Levon's patch.
14458
14459         * XFormsView.C (setWindowTitle): also set icon title.
14460
14461         * LyXView.h (setWindowTitle): signature changed.
14462         * XFormsView.h (setWindowTitle): ditto.
14463
14464 2002-01-02  Juergen Vigna  <jug@sad.it>
14465
14466         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14467
14468 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14469
14470         * screen.C (topCursorVisible): introduce a temp var for
14471         text->cursor.row(), handle the case where this row is null. (kindo
14472         hachish)
14473
14474         * text2.C (setCursor): add a couple of asserts.
14475
14476         * paragraph.h (inset_iterator): add -> operator
14477
14478         * paragraph.[Ch] (autoDeleteInsets): remove member function
14479
14480         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14481         cursor pos correctly and handle inset deletion by itself.
14482         (insertErrors): move iterator declaration out of for expression
14483
14484         * lyxtextclass.C: add <algorithm>
14485
14486         * Makefile.am: added the new files to sources, removed layout.C
14487
14488         * layout.C: removed file
14489
14490         * layout.h: remove LYX_DUMMY_LAYOUT
14491
14492         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14493         layout.
14494
14495         * lyxlayout.[Ch]:
14496         * lyxtextclass.[Ch]:
14497         * lyxtextclasslist.[Ch]: new files
14498
14499         * include order changes to a lot of files, also changes because of
14500         the six new files.
14501
14502 2001-12-27  Juergen Vigna  <jug@sad.it>
14503
14504         * buffer.C (asciiParagraph): more fixes.
14505
14506         * tabular.C (ascii): make ascii export support export of only the
14507         data separated by a column-delimiter.
14508         (ascii): better support for ascii export.
14509
14510         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14511
14512 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14513
14514         * tabular_funcs.C: use a "using std::getline" instead of the
14515         previous fix from Angus (necessary for cxx + lyxstring)
14516
14517 2001-12-24  Juergen Vigna  <jug@sad.it>
14518
14519         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14520
14521         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14522         problems. First check a minipage also if we have some ert-contents
14523         (not only on par->size(), second set the right depth of the paragraph
14524         on the relink to the root-paragraph-list!
14525
14526         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14527         which then did not anymore update the main paragraphs on undo/redo!
14528
14529 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14530
14531         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14532         code. Support all font-changing funcs (even those which are not in
14533         menu currently). Support for reporting font settings in
14534         mathed (disabled until Andre provides a function on mathed's side).
14535
14536         * func_status.h (toggle): small helper function to set toggle
14537         state on a flag.
14538
14539 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14540
14541         * tabular_funcs.C: getline -> std::getline
14542
14543 2001-12-21  Juergen Vigna  <jug@sad.it>
14544
14545         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14546         accessed and could be 0 (I couldn't generate this but it seems
14547         Michael could!).
14548
14549 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14550
14551         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14552         * tabular_funcs.h: here and include iosfwd
14553
14554 2001-12-20  Juergen Vigna  <jug@sad.it>
14555
14556         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14557         inside inset but undo_par was.
14558
14559 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14560
14561         * Thesaurus.C: always include <config.h> in sources.
14562
14563         * Painter.h:
14564         * lyxlookup.h:
14565         * box.h: do not include <config.h> in header files
14566
14567         * text.C (paintLastRow): remove unused variable
14568
14569         * text.C (transformChar):
14570         (insertChar):
14571         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14572
14573         * Painter.C (text):
14574         * font.C (width): rewrite to use uppercase() instead of
14575         islower/toupper.
14576
14577         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14578
14579 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14580
14581         * lyxfind.C: clean up of find failure position change
14582
14583 2001-12-20  Juergen Vigna  <jug@sad.it>
14584
14585         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14586
14587         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14588         (TeXRow): added to LaTeX a single tabular row.
14589         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14590         (Latex): simplified and finally good LT-h/f support.
14591         (various_functions): just small adaptions for LT-h/f support.
14592
14593         * tabular_funcs.[hC]: added and moved here all not classfunctions
14594         of LyXTabular.
14595
14596 2001-12-19  Juergen Vigna  <jug@sad.it>
14597
14598         * tabular.[Ch]: better support for longtabular options (not finished
14599         yet!)
14600
14601 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14602
14603         * text.C (paintLastRow): use the label font instead of the font of
14604         the last character to compute the size of *_BOX. This makes more
14605         sense and avoids a crash with empty paragraphs.
14606         Use Painter::rectangle to draw EMPTY_BOX.
14607
14608 2001-12-19  Juergen Vigna  <jug@sad.it>
14609
14610         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14611         the paragraphs if the replaced paragraph is not the first one!
14612         Tried to delete not used paragraphs but does not work yet so for
14613         now it's inside #ifdef's and by default off!
14614
14615 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14616
14617         * MenuBackend.C: include "lyx_main.h" instead of declaring
14618         lastfiles (actually was declared as LastFiles* instead of a
14619         scoped_ptr).
14620
14621 2001-12-17  Juergen Vigna  <jug@sad.it>
14622
14623         * tabular.C (AppendColumn): applied John's fix
14624
14625 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14626
14627         * BufferView.h:
14628         * BufferView.C:
14629         * BufferView_pimpl.h:
14630         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14631
14632         * Makefile.am:
14633         * box.h: new start of class for above
14634
14635         * lyxfunc.C: ignore space-only minibuffer dispatches.
14636           Show the command name when it doesn't exist
14637
14638         * minibuffer.C: don't add empty lines to the history
14639
14640         * minibuffer.C: add a space on dropdown completion
14641
14642 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14643
14644         * text.C: fix line above/below drawing in insets
14645
14646 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14647
14648         * lyxlength.C (LyXLength): Initialize private variables.
14649
14650 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14651
14652         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14653         when inserting error insets.
14654
14655 2001-12-13  Juergen Vigna  <jug@sad.it>
14656
14657         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14658         actually sometimes the before-paragraph.
14659         (setUndo): don't clear the redostack if we're not actually undoing!
14660
14661 2001-12-06  Juergen Vigna  <jug@sad.it>
14662
14663         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14664         and fixed redoing of main paragraph, so we can use it now ;)
14665
14666         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14667
14668 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14669
14670         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14671         Juergen's request
14672
14673 2001-12-13  André Pönitz <poenitz@gmx.net>
14674
14675         * undostack.[Ch]:
14676         * undo_func.C: minor cleanup
14677
14678 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14679
14680         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14681         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14682         font in urw-fonts package which is marked as -urw-fontspecific and
14683         does not work (incidentally, changing the encoding in the
14684         fonts.dir of this package to -adobe-fontspecific fixes the
14685         problem).
14686
14687         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14688         is a crash when undoing first paragraph (Juergen, please take a
14689         look). THis does not mean the undo fix is wrong, just that it
14690         uncovers problems.
14691
14692         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14693         the (Paragraph*) version when needed instead of duplicating the
14694         code.
14695
14696         * text.C (workWidth): use Inset::parOwner to find out where the
14697         inset has been inserted. This is a huge performance gain for large
14698         documents with lots of insets. If Inset::parOwner is not set, fall
14699         back on the brute force method
14700
14701         * paragraph_pimpl.C (insertInset):
14702         * paragraph.C (Paragraph):
14703         (cutIntoMinibuffer): set parOwner of insets when
14704         inserting/removing them
14705
14706         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14707
14708 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14709
14710         * commandtags.h:
14711         * LyXAction.C:
14712         * lyx_main.C:
14713         * lyxfunc.C:
14714         * mathed/formulabase.C:
14715         * mathed/math_cursor.[Ch]:
14716         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14717
14718
14719 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * lyxlength.[Ch] (operator!=): new function
14722
14723 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14724
14725         * text.C (workWidth): use Inset::parOwner to find out where the
14726         inset has been inserted. This is a huge performance gain for large
14727         documents with lots of insets. If Inset::parOwner is not set, fall
14728         back on the brute force method
14729
14730         * paragraph_pimpl.C (insertInset):
14731         * paragraph.C (Paragraph):
14732         (cutIntoMinibuffer): set parOwner of insets when
14733         inserting/removing them
14734
14735         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14736
14737 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14738
14739         * tabular-old.C (getTokenValue):
14740         * tabular.C (getTokenValue):
14741         (write_attribute): new versions for LyXLength
14742         (everywhere): adjust the use of widths
14743
14744         * tabular.h: change the type of widths from string to LyXLength
14745
14746 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14747
14748         * paragraph.C: fixed missing line number count when exporting
14749         Environments to LaTeX file
14750
14751         * buffer.C: added informational message for checking line numbers.
14752
14753 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14754
14755         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14756         paragraph, do the 'double space' part, but not the 'empty
14757         paragraph' one.
14758
14759         * text.C (workWidth): small optimization
14760         (getLengthMarkerHeight): use minimal size for negative lengths.
14761
14762 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14763
14764         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14765
14766         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14767
14768 2001-12-11  André Pönitz <poenitz@gmx.net>
14769
14770         * FontLoader.C:
14771         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14772
14773 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14774
14775         * text2.C: keep selection on a setFont()
14776
14777 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14778
14779         * lyx_cb.C: another bv->text misuse, from insert label
14780
14781 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14782
14783         * kbsequence.h:
14784         * kbsequence.C: re-instate nmodifier mask
14785
14786 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14787
14788         * lyx_main.h: make lyxGUI private.
14789
14790 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14791
14792         * lyxfind.C: place the cursor correctly on failed search
14793
14794 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14795
14796         * text.C (getLengthMarkerHeight): for small heights, the arrows
14797         are not always on top/bottom of the text
14798         (drawLengthMarker): smaller arrows; take the left margin in
14799         account; draw also vfills.
14800         (paintFirstRow):
14801         (paintLastRow): remove special code for vfill and standard spaces,
14802         since everything is handled in drawLengthMarker now.
14803
14804 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14805
14806         * buffer.C (insertErtContents): try to handle font and language
14807         interaction a bit better.g
14808
14809         * ColorHandler.C (updateColor): change the hash to cover the whole
14810         LColor enum, ws cleanup
14811         (getGCLinepars): ditto
14812         (getGCLinepars): only lookup in the linecache once.
14813
14814 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14815
14816         * iterators.C (operator++): Make the iterator more robust
14817
14818         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14819         (John's patch)
14820         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14821
14822 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14823
14824         * lyxtext.h:
14825         * text.C: better added space drawing
14826
14827 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14828
14829         * LyXView.C:
14830         * BufferView2.C: fix layout combo update on inset unlock
14831
14832 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14833
14834         * Makefile.am: don't compile unused files
14835
14836 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14837
14838         * lyxfunc.C:
14839         * commandtags.h:
14840         * LyXAction.C: remove old LFUN_LAYOUTNO
14841
14842 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14843
14844         * paragraph_pimpl.h:
14845         * paragraph_pimpl.C: isTextAt() doesn't need font param
14846
14847 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14848
14849         * lyxlex.h:
14850         * lyxlex.C: little cleanup
14851
14852 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14853
14854         * BufferView_pimpl.C: fix insertAscii for insets
14855
14856 2001-12-05  Juergen Vigna  <jug@sad.it>
14857
14858         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14859         set the right font on the "multi" paragraph paste!
14860
14861 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14862
14863         * trans_decl.h:
14864         * trans_mgr.[Ch]:
14865         * trans.[Ch]:
14866         * lyxgluelength.C:
14867         * lyxlength.C: remove out-commented code.
14868
14869         * BufferView_pimpl:
14870         * CutAndPaste.C:
14871         * DepTable.C:
14872         * buffer.C:
14873         * chset.C:
14874         * lastfiles.C:
14875         * lyxlex.C:
14876         * lyxlex_pimpl.C:
14877         * lyxserver.C:
14878         * screen.C:
14879         * tabular-old.C:
14880         * tabular.C:
14881         * text.C:
14882         * trans_mgr.C:
14883         * vc-backend.C: change "while(" to "while ("
14884
14885         * lyxlength.[Ch]: add zero function to check if length is zero or
14886         not
14887         * lyxgluelength.C: use it
14888
14889 2001-12-05  Allan Rae  <rae@lyx.org>
14890
14891         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14892         Works for 2.95.3, from what I understand of Garst's reports this should
14893         work for other g++ versions.  We're screwed if the abs(int) definition
14894         changed between bugfix releases of gcc.
14895
14896 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14897
14898         * text.C: fix chapter label offset !
14899
14900 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14901
14902         * lyxtext.h:
14903         * text.C: fix hfill at end of line, clean up
14904
14905 2001-12-04  Juergen Vigna  <jug@sad.it>
14906
14907         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14908         that we force an update of the inset and it's owners if neccessary.
14909
14910 2001-12-03  Juergen Vigna  <jug@sad.it>
14911
14912         * text.C (rowLast): simplified code
14913
14914 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14915
14916         * lyxfunc.C: fix show options on timeout
14917
14918 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14919
14920         * screen.C (topCursorVisible): scroll half a page when the cursor
14921         reached top of bottom of screen
14922
14923 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14924
14925         * minibuffer.C: deactivate on loss of focus
14926
14927 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14928
14929         * vspace.[Ch] (operator!=): add operator.
14930
14931 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14932
14933         * BufferView_pimpl.C: refuse to open an inset when
14934         there's a selection.
14935
14936 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14937
14938         * BufferView_pimpl.C: allow to click on RHS of full row insets
14939
14940 2001-11-30  Juergen Vigna  <jug@sad.it>
14941
14942         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14943         insets for undo reasons.
14944
14945 2001-11-28  André Pönitz <poenitz@gmx.net>
14946
14947         * vspace.[Ch]: cosmetical changes
14948
14949 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14950
14951         * LyXAction.h:
14952         * LyXAction.C:
14953         * lyxfunc.h:
14954         * lyxfunc.C:
14955         * kbmap.h:
14956         * kbmap.C:
14957         * lyxrc.C:
14958         * kbsequence.h:
14959         * kbsequence.C: part re-write of old kb code
14960
14961         * Painter.C:
14962         * WorkArea.C: remove Lgb_bug_find_hack
14963
14964 2001-11-30  José Matos <jamatos@fep.up.pt>
14965
14966         * buffer.C (makeDocBookFile): add a comment to point a hack.
14967         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14968         Fixed a double write of labels.
14969
14970 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14971
14972         * LaTeX.C:
14973         * LaTeX.h Fixed bug in LaTeX class where it would not
14974         re-run latex if no depfiles were changed, but the .dvi was removed.
14975
14976 2001-11-28  André Pönitz <poenitz@gmx.net>
14977
14978         * all the files from the change on 2001/11/26:
14979         use lyx::layout_type instead of LyXTextClass::size_type
14980         use lyx::textclass_type instead of LyXTextClassList::size_type
14981
14982 2001-11-29  Juergen Vigna  <jug@sad.it>
14983
14984         * text.C: added support for paragraph::isFreeSpacing()
14985
14986         * buffer.C: same as above
14987
14988         * paragraph.h: inserted isFreeSpacing() function to enable
14989         FreeSpacing inside InsetERT.
14990
14991         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14992         of the paragraph's in the cut/copy buffer to 0!
14993
14994         * text2.C (removeRow): remove the assert as it can!
14995
14996         * lyxtext.h: added helper function firstRow returning firstrow and
14997         made firstrow private again.
14998
14999         * BufferView2.C (lockInset): don't relock if we're already locked!
15000
15001         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15002         the only paragraph.
15003         (removeRow): added Assert::(firstrow)
15004
15005         * debug.C: forgot to add INSETTEXT here.
15006
15007 2001-11-28  Juergen Vigna  <jug@sad.it>
15008
15009         * sp_spell.C (initialize): changed error text to more general
15010         spellchecker command use (not only ispell!)
15011
15012         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15013
15014         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15015
15016 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15017
15018         * vspace.C: initialise lyxgluelength on failure
15019
15020 2001-11-28  Allan Rae  <rae@lyx.org>
15021
15022         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15023         declaration & definition that looks like a function declaration.
15024
15025 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15026
15027         * BufferView2.C (copy):
15028         (copyEnvironment): do not clear the selection when doing a copy.
15029
15030         * text.C (paintFirstRow): compilation fix
15031
15032 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15033
15034         * tabular.C (Latex): correct line count when writing latex.
15035
15036 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15037
15038         * paragraph_pimpl.h:
15039         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15040           bug a bit
15041
15042 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15043
15044         * text.C:
15045         * LColor.h:
15046         * LColor.C: change vfillline->added_space
15047
15048         * text.C: add markers and text for added space
15049
15050         * vspace.C: fix comment
15051
15052 2001-11-28  André Pönitz <poenitz@gmx.net>
15053
15054         * paragraph.C: whitespace changes
15055         * all the other files from the change on 2001/11/26:
15056         change *::pos_type into lyx::pos_type
15057
15058 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15059
15060         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15061         language of the document when inserting error insets.
15062
15063 2001-11-26  André Pönitz <poenitz@gmx.net>
15064
15065         * BufferView_pimpl.[Ch]:
15066         *       CutAndPaste.C:
15067         * buffer.[Ch]:
15068         * lyxcursor.[Ch]:
15069         * lyxfind.C:
15070         * lyxfunc.C:
15071         * lyxrow.[Ch]:
15072         * paragraph.[Ch]:
15073         * paragraph_pimpl.[Ch]:
15074         * sp_spell.C:
15075         * text.C:
15076         * text2.C: reduce header dependencies, introduce type for positions
15077
15078 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15079
15080         * <various>: change to use Alert.h
15081
15082 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15083
15084         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15085         when encountering an unknown token.
15086         (readLyXformat2): Show an error message if there were unknown tokens.
15087
15088 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * BufferView2.C:
15091         * BufferView_pimpl.C:
15092         * buffer.C:
15093         * paragraph.h:
15094         * text.C:
15095         * text2.C: use par->isInset()
15096
15097 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15098
15099         * paragraph_pimpl.h:
15100         * paragraph_pimpl.C: cleanup
15101
15102 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15103
15104         * text2.C (removeRow):
15105         * text.C (setHeightOfRow): remove useless (and costly) call to
15106         getRow.
15107
15108 2001-11-20  Allan Rae  <rae@lyx.org>
15109
15110         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15111         Now need Inset*::checkInsertChar() to return true for appropriate
15112         cases so that the characters in the minibuffer will actually be
15113         inserted.
15114
15115 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15116
15117         * text.C: change the order of the includes.
15118         (workWidth): initialize it at once.
15119         (workWidth): make maxw unsigned
15120         (setHeightOfRow): remove unused variable (inset)
15121         (selectSelectedWord): remove unused variable (inset)
15122         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15123
15124 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15125
15126         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15127         server is not running.
15128         (openConnection):
15129         (closeConnection): add debug info when server is disabled.
15130
15131         * ColorHandler.C (getGCForeground): send debug message to GUI
15132         channel.
15133
15134         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15135
15136         * kbmap.C (bind): modify because return conventions of
15137         kb_sequence::parse have changed.
15138
15139         * kbsequence.C (parse): only ignore spaces and not any stupid
15140         control character. This avoids tests like s[i] <= ' ', which are
15141         guaranteed to fail with 8bit characters and signed chars.
15142         Change return code to string::npos when there have been no error
15143         (0 was a bad idea when error is at first character)
15144
15145 2001-11-14  José Matos  <jamatos@fep.up.pt>
15146
15147         * buffer.h:
15148         * buffer.C (simpleDocBookOnePar): removed unused argument.
15149
15150 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15151
15152         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15153         insets which are part of a word. Paragraph::isLetter takes care of
15154         that now. Use Paragraph::isInset to identify insets.
15155         (selectSelectedWord): do not test for hyphenation break.
15156
15157         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15158         that protected spaces are considered as spaces.
15159
15160         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15161         Inset::isLetter.
15162
15163 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15164
15165         * lyxserver.h:
15166         * lyxserver.C: fix it. and small cleanup.
15167
15168 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15169
15170         * BufferView_pimpl.C: use inline helpers
15171
15172         * LaTeXFeatures.h:
15173         * LaTeXFeatures.C: fix typos
15174
15175         * Spacing.h:
15176         * Spacing.C: move spacing_string into class
15177
15178         * ToolbarDefaults.C: move stuff into namespace anon
15179
15180         * layout.h: update enum
15181
15182         * lyxfunc.C: use better debug
15183
15184         * minibuffer.h: fix typo
15185
15186         * debug.h:
15187         * debug.C:
15188         * WorkArea.C: add and use Debug::WORKAREA
15189
15190         * lyxtext.h:
15191         * text.C:
15192         * text2.C: code re-organisation, inline helpers
15193
15194 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15195
15196         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15197         std::vector.empty().
15198
15199 2001-11-09  Allan Rae  <rae@lyx.org>
15200
15201         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15202         '\n's after tables.  Tabular and ERT inset work now makes this no
15203         longer necessary.
15204
15205 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15206
15207         * minibuffer.h:
15208         * minibuffer.C: fix crash, improve drop-down completion
15209
15210 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15211
15212         * lyxserver.h:
15213         * lyxserver.C: invalidate fd's when doing endPipe()
15214
15215 2001-11-08  José Matos  <jamatos@fep.up.pt>
15216
15217         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15218         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15219
15220         * paragraph.h:
15221         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15222
15223 2001-11-07  José Matos  <jamatos@fep.up.pt>
15224
15225         * buffer.h:
15226         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15227         const qualifier.
15228
15229         * buffer.C (sgmlOpenTag):
15230         * buffer.C (sgmlCloseTag): removed debug info.
15231
15232         * buffer.h (sgmlOpenTag):
15233         * buffer.h (sgmlCloseTag): made public.
15234
15235 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15236
15237         * buffer.C (saveParamsAsDefaults):
15238         * lyx_cb.C (MenuLayoutSave): remove
15239
15240         * LyXAction.C (init):
15241         * commandtags.h:
15242         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15243
15244 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15245
15246         * buffer.C (setPaperStuff): removed from here...
15247
15248         * bufferparams.C (setPaperStuff): ... and moved there.
15249
15250 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15251
15252         * minibuffer.h:
15253         * minibuffer.C:
15254         * XFormsView.C: add support for drop-down completion
15255
15256 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15257
15258         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15259         commands.
15260
15261 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15262
15263         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15264         disabled.
15265
15266 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15267
15268         * lyx_main.C: change ref to known bugs
15269
15270 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15271
15272         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15273         to work around older babel problems.
15274
15275 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15276
15277         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15278
15279 2001-10-24  Juergen Vigna  <jug@sad.it>
15280
15281         * tabular-old.C (ReadOld): below variable changes reflected.
15282
15283         * tabular.[Ch]: added ltType struct for longtable header/footer
15284         defines and changed all instances where they are used. Added
15285         future support for double top/bottom rows.
15286
15287 2001-10-24  José Matos  <jamatos@fep.up.pt>
15288
15289         * buffer.h (docbookHandleCaption):
15290         * buffer.C (docbookHandleCaption): removed unused function.
15291         (makeDocBookFile): moved docbook supported version to v4.1.
15292
15293 2001-10-24  José Matos  <jamatos@fep.up.pt>
15294
15295         * tabular.h:
15296         * tabular.C (docbookRow): new function to export docbook code of a row.
15297         (DocBook): now honors the longtable flags.
15298
15299 2001-10-23  José Matos  <jamatos@fep.up.pt>
15300
15301         * LaTeXFeatures.h:
15302         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15303         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15304
15305         * buffer.C (makeLinuxDocFile):
15306         (makeDocBookFile): reworked the preamble, more clean, and with
15307         support for lyx defined entities. Changed the document declaration
15308         to be more XML friendly.
15309
15310         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15311         if we need to output XML that should be done with a filter.
15312
15313 2001-10-22  Juergen Vigna  <jug@sad.it>
15314
15315         * sp_pspell.h (class PSpell): add alive function needed in the
15316         controller to see if the spellchecker could be started.
15317
15318 2001-10-22  Juergen Vigna  <jug@sad.it>
15319
15320         * buffer.C (insertStringAsLines): modify the font for inserting
15321         chars in certain conditions by calling checkInsertChar(font).
15322
15323 2001-10-19  Juergen Vigna  <jug@sad.it>
15324
15325         * text.C (workWidth): use getRow instead of wrong algorithm.
15326         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15327
15328 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15329
15330         * lyxserver.h:
15331         * lyxserver.C:
15332         * lyx_main.h:
15333         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15334
15335 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * text.C (workWidth): do not search for the exact row when
15338         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15339         optimization for big documents.
15340
15341 2001-10-18  Juergen Vigna  <jug@sad.it>
15342
15343         * text.C (workWidth): new function with added Inset * parameter.
15344
15345 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15346
15347         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15348
15349         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15350         change return type of getColumnNearX.
15351
15352
15353         * text.C (changeRegionCase): use uppercase/lowercase instead of
15354         toupper/tolower.
15355         (leftMargin):
15356         (rightMargin): simplify code by factoring out the uses of
15357         textclasslist.
15358         (labelFill):
15359         (numberOfHfills):
15360         (setHeightOfRow):
15361         (appendParagraph): use Paragraph::size_type
15362
15363 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15364
15365         * vspace.C (asLatexString): add a missing break
15366
15367 2001-10-15  Herbert Voss  <voss@perce.de>
15368
15369         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15370
15371 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15372
15373         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15374         is not available.
15375
15376 2001-10-10  André Pönitz <poenitz@gmx.net>
15377
15378         * lyxfunc.C: removed greek_kb_flag.
15379
15380 2001-10-10  Herbert Voss  <voss@perce.de>
15381
15382         * lyx_main.C: delete global string help_lyxdir.
15383
15384 2001-10-09  Herbert Voss  <voss@perce.de>
15385
15386         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15387
15388         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15389
15390         * lyx_main.C: added global string help_lyxdir.
15391
15392         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15393
15394 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15395
15396         * lyxrc.C (set_font_norm_type): support iso8859-4
15397
15398 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15399
15400         * LaTeX.C (deplog): add another regex for MikTeX
15401
15402 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15403
15404         * lyxrc.C (set_font_norm_type): support iso8859-3
15405
15406 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15407
15408         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15409
15410         * LaTeXFeatures.C: remove special case of french and index
15411
15412         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15413         before \begin{document}). This solves several incompatibilities.
15414
15415 2001-10-03  Garst Reese  <reese@isn.net>
15416
15417         * lyx_cb.C: change CheckTex error msg.
15418
15419 2001-10-03  José Matos  <jamatos@fep.up.pt>
15420
15421         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15422
15423 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15424
15425         * .cvsignore: update
15426
15427         * lyx_main.C (commandLineVersionInfo): use new style version info.
15428
15429         * buffer.C (writeFile):
15430         (makeLaTeXFile):
15431         (makeLinuxDocFile):
15432         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15433
15434         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15435
15436         * version.h: update to use stuff in version.C
15437
15438         * version.C.in: new file. Contains version information determined
15439         at compile time. This is a merging of version.h and
15440         version_info.h.in.
15441
15442 2001-10-03  Juergen Vigna  <jug@sad.it>
15443
15444         * BufferView_pimpl.C (update): don't change "dirty" status in
15445         updateInset call.
15446
15447 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15448
15449         * WorkArea.C (c-tor): re-position version string slightly.
15450
15451 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15452
15453         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15454         revert to previous code.
15455
15456         WorkArea.[Ch]: (show, destroySplash): methods removed.
15457
15458         WorkArea.C: rework code so that it's an amalgam of the codes before and
15459         after the splash screen was moved to WorkArea.
15460
15461 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15462
15463         * lyxrc.C (read):
15464         * vspace.C (inPixels):
15465         (lyx_advance):
15466         * kbmap.C (bind):
15467         * buffer.C (insertStringAsLines):
15468         (asciiParagraph): fix types to be large enough
15469
15470         * lyxlex_pimpl.h: change member status from short to int
15471
15472         * layout.h: fix type of endlabeltype
15473
15474         * kbmap.C (bind):
15475         * kbsequence.C (parse): change return type to string::size_type
15476
15477         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15478         variable
15479
15480         * Bullet.C (bulletSize):
15481         (bulletEntry): do not use short ints as parameters
15482
15483         * BufferView2.C (insertLyXFile): change a char to an int.
15484
15485         * WorkArea.C (WorkArea): remove unneeded floats in computation
15486
15487 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15488
15489         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15490
15491         * paragraph.C (asString): Do not ignore newline/hfill chars when
15492         copying to the clipboard.
15493
15494 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15495
15496         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15497         after a multi-line inset.
15498
15499 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15500
15501         * paragraph.C (validate): Set NeedLyXFootnoteCode
15502
15503 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15504
15505         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15506         and decrease-error to decrease.
15507
15508 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15509
15510         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15511         it more readable (should be equivalent)
15512
15513 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15514
15515         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15516
15517 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15518
15519         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15520         of a cursor (row, etc.) after a character has been deleted
15521         (deleteEmptyParagraphMechanism): call the method above on _all_
15522         cursors held by the LyXText when a double space has been
15523         detected/deleted.
15524
15525 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15526
15527         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15528         pixmap.
15529         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15530
15531         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15532         background. Use greyOut() and the new show() methods to toggle between
15533         the foreground and background. Add code to remove the splash after
15534         its initial showing.
15535
15536         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15537         (create_forms): no longer call Dialogs::showSplash.
15538
15539 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15540
15541         * .cvsignore: add version_info.h
15542
15543 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15544
15545         * version_info.h.in: new file
15546
15547         * Makefile.am: add version_info.h.in
15548
15549         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15550         version_info.h instead of VERSION_INFO
15551
15552 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15553
15554         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15555         The ERT inset now returns string().
15556
15557 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15558
15559         * lyxtext.h, text.C (selectNextWord): renamed as
15560         selectNextWordToSpellcheck.
15561
15562         * text.C (selectNextWordToSpellcheck): Modified to not select
15563         words inside an ERT inset.
15564
15565 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15566
15567         * lyx_cb.C (MenuLayoutSave): change a bit the question
15568
15569         * sp_base.h: include <sys/types.h>
15570
15571 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15572
15573         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15574
15575 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15576
15577         * several files: fix typos in user-visible strings
15578
15579 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15580
15581         * text2.C (pasteSelection): do not set the selection, since it
15582         will be cleared later. Actually, the intent was to fix the way the
15583         selection was set, but I figured rmoving the code was just as good.
15584
15585 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15586
15587         * FontLoader.C (available): Check if font is available without
15588         loading the font.
15589
15590 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15591
15592         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15593
15594 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15595
15596         * lyxrc.[Ch]: added display_graphics variable and associated code.
15597
15598 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15599
15600         * bufferparams.C (hasClassDefaults): new method. Returns true if
15601         the buffer parameters correspond to known class defaults
15602
15603 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15604
15605         * XFormsView.C (show): set minimum size to the main window.
15606
15607 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15608
15609         * text2.C (copySelection):
15610         (cutSelection):
15611         * lyxfind.C (LyXReplace):
15612         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15613         LyXText::selectionAsString.
15614
15615         * paragraph.C (asString): add "label" argument to the second form
15616
15617         * text2.C (selectionAsString): add "label" argument and pass it to
15618         Paragraph::asString.
15619
15620 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15621
15622         * lyx_main.C (commandLineHelp): remove version information
15623
15624 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15625
15626         * lyx_main.C: add -version commandline option
15627
15628 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15629
15630         * paragraph.h: make the optional constructor arg required instead.
15631         some modifications to other files because of this.
15632
15633         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15634
15635         * lyxserver.C (C_LyXComm_callback): make it static
15636
15637         * lyx_main.C (error_handler): make it static
15638
15639         * lyx_gui.C (LyX_XErrHandler): make it static
15640
15641         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15642
15643         * WorkArea.C: make the extern "C" methods static.
15644
15645         * Makefile.am (lyx_LDADD): simplify
15646
15647 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15648
15649         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15650         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15651
15652         * LyXAction.C (init):
15653         * lyxfunc.C (dispatch): associated code removal.
15654
15655 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15656
15657         * lyxfont.h (isSymbolFont): shut off warning
15658
15659         * text.C (setHeightOfRow):
15660         (getVisibleRow): fix crash with empty paragraphs which have a
15661         bottom line
15662
15663 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15664
15665         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15666         code.
15667
15668 2001-09-04  José Matos  <jamatos@fep.up.pt>
15669         * buffer.C
15670         * buffer.h
15671         * tabular.C (docbook): rename docBook method to docbook.
15672
15673 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15674
15675         * Makefile.am: add dependencies to main.o.
15676
15677 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15678
15679         * FontLoader.C (available): Return false if !lyxrc.use_gui
15680
15681 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15682
15683         * FontInfo.C (query):
15684         * converter.C (view):
15685         * importer.C (Import):
15686         * exporter.C (Export): Can not -> cannot.
15687
15688 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15689
15690         * BufferView_pimpl.C: allow to create index inset even if
15691           string is empty
15692
15693 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15694
15695         * buffer.C (getLists): replace boost::tie code with an explicit pair
15696         as boost::tie can break some compilers.
15697
15698         * iterators.h: Added a std:: declaration to the return type of
15699         ParIterator::size.
15700
15701 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15702
15703         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15704           case.
15705
15706 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15707
15708         * iterators.[Ch]: New files. Provide paragraph iterators.
15709
15710         * buffer.C (changeLanguage): Use paragraph iterators.
15711         (isMultiLingual): ditto
15712
15713         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15714
15715 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15716
15717         * FontLoader.C: Support for cmr font.
15718
15719 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15720
15721         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15722         (available): New method.
15723
15724         * FontInfo.C (getFontname): Use scalable fonts even when
15725         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15726         found.
15727
15728 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15729
15730         * converter.C (Formats::view): reverted! Incorrect fix.
15731
15732 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15733
15734         * converter.C (Formats::view): only output the -paper option
15735         if the dvi viewer is xdvi, thereby fixing bug #233429.
15736
15737 2001-08-23  Herbert Voss  <voss@perce>
15738
15739         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15740
15741 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15742
15743         * Spacing.h (Spacing): Set space to Default on in the default
15744         constructor.
15745
15746 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15747
15748         * vc-backend.h (RCS::versionString): add RCS to version
15749         (CVS::versionString): add CVS to version
15750
15751         * vc-backend.C (scanMaster): do not add CVS to version.
15752         (scanMaster): do not add RCS to version
15753
15754         * lyxvc.C (versionString): new method
15755
15756         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15757
15758 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15759
15760         * Spacing.C (set): initialize fval
15761
15762 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15763
15764         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15765         " or \.
15766
15767 2001-08-16  Juergen Vigna  <jug@sad.it>
15768
15769         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15770
15771 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15772
15773         * BufferView_pimpl.C:
15774         * figureForm.C:
15775         * lyxtext.h:
15776         * text2.C: setParagraph takes linespacing now
15777
15778 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15779
15780         * LyxAction.C: add internal LFUN_CITATION_INSERT
15781
15782         * LyXView.C: actually apply fix
15783
15784         * bufferlist.C: fix open non-existent file
15785
15786         * lyxfind.C: fix indentation
15787
15788         * lyxfunc.C: remove unneeded assert, fix typo
15789
15790 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15791
15792         * MenuBackend.C: use "Floatname List"
15793
15794 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15795
15796         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15797         when converting LaTeX layout to insetERT.
15798         Generate a non-collapsed float when reading old float
15799
15800 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15801
15802         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15803         ERT insets.
15804
15805 2001-08-13  Juergen Vigna  <jug@sad.it>
15806
15807         * text.C (fill): return 0 instead of 20 as this seems to be the more
15808         correct value.
15809
15810 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15811
15812         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15813         lyxrc.font_norm.
15814
15815 2001-08-13  Juergen Vigna  <jug@sad.it>
15816
15817         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15818         casesensitive off.
15819         (SearchBackward): comment out the unlocking of the inset_owner this
15820         should not be needed!
15821
15822 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15823
15824         * Many files: Remove inherit_language, and add latex_language
15825
15826         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15827         collapsible insets.
15828
15829 2001-08-10  Juergen Vigna  <jug@sad.it>
15830
15831         * text.C (prepareToPrint): fixed hfill-width in draw!
15832
15833         * BufferView2.C (selectLastWord): save the selection cursor as this
15834         now is cleared in the function LyXText::clearSelection!
15835
15836 2001-08-08  Juergen Vigna  <jug@sad.it>
15837
15838         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15839         BACKSPACE type functions.
15840
15841         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15842         is only cutted from the document but not put in the cut-buffer, where
15843         still the old stuff should be.
15844
15845         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15846
15847         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15848
15849         * tabular.C (SetWidthOfCell): fixed special case where the width
15850         was not updated!
15851         (LeftLine): handle '|' in align_special.
15852         (RightLine): ditto
15853         (LeftAlreadyDrawed): ditto
15854         (SetWidthOfCell): ditto
15855
15856 2001-08-07  Juergen Vigna  <jug@sad.it>
15857
15858         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15859
15860 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15861
15862         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15863         * lyxlex.[hC]: ditto
15864
15865 2001-08-06  Juergen Vigna  <jug@sad.it>
15866
15867         * text.C (getVisibleRow): fix up row clearing a bit.
15868
15869 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15870
15871         * minibuffer.C: make sure the X server sees the changes in the input.
15872
15873 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15874
15875         * paragraph.C (getFont): split into...
15876         (getLabelFont): this
15877         (getLayoutFont): and this
15878         * paragraph_pimpl.C (realizeFont): calling this
15879
15880         * text2.C (getFont): split into...
15881         (getLayoutFont): this
15882         (getLabelFont): and this
15883         (realizeFont): all three calling this
15884
15885         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15886         files where used.
15887
15888 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15889
15890         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15891
15892 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15893
15894         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15895         layouts from the Quote inset insertion.
15896
15897 2001-08-03  Juergen Vigna  <jug@sad.it>
15898
15899         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15900
15901         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15902         only if status not is already CHANGED_IN_DRAW (second level).
15903
15904         * text.C (draw): don't set the need_break_row when inside an
15905         InsetText LyXText.
15906
15907 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15908
15909         * buffer.C (parseSingleLyXformat2Token): handle more latex
15910         conversion cases.
15911
15912         * bufferview_funcs.[hC]: change function names to
15913         begin with small char, adjust other files.
15914
15915 2001-08-02  André Pönitz <poenitz@gmx.net>
15916
15917         * lyxfunc.C:
15918         BufferView_pimpl.C: remove broken special code for math-greek
15919
15920 2001-08-02  Juergen Vigna  <jug@sad.it>
15921
15922         * BufferView_pimpl.C (update): redone this function so that we
15923         update the text again if there was a CHANGE_IN_DRAW.
15924
15925         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15926         (drawFromTo): added a new internal bool which is used by draw() and
15927         redraw() function.
15928         (general): some cursor drawing problems fixed.
15929
15930 2001-08-01  Juergen Vigna  <jug@sad.it>
15931
15932         * lyxfind.C (LyXFind): fixed
15933         (SearchForward): ditto
15934         (SearchBackward): ditto
15935
15936         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15937         spurius drawing of the cursor in the main area.
15938
15939         * text2.C (status): small fix which could lead to a segfault!
15940         (clearSelection): remove unneeded BufferView param.
15941
15942 2001-08-01  André Pönitz <poenitz@gmx.net>
15943
15944         * lyxfunc.C: small change due to changed mathed interface
15945
15946 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15947
15948         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15949
15950 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15951
15952         * lyxfunc.c: fail gracefully if file doesn't exist
15953
15954         * LyXSendto.C:
15955         * buffer.C:
15956         * lyxfunc.C:
15957         * BufferView_pimpl.C: IsDirWriteable() proto changed
15958
15959         * LyXView.C: fix updateWindowTitle() to store the last title
15960
15961 2001-07-31  Juergen Vigna  <jug@sad.it>
15962
15963         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15964         the font (wrong since using of Paragraph::highestFontInRange).
15965
15966         * paragraph.C (highestFontInRange): added a default_size parameter.
15967
15968         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15969         (setHeightOfRow): reformat
15970
15971 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * converter.[hC] + affected files: move to (inital-char)lowercase
15974         function names.
15975
15976         * ParagraphParameters.C (ParagraphParameters): remove commented code
15977
15978         * PainterBase.[Ch]: remove commented code
15979
15980         * LaTeXFeatures.h: add "bool floats" for float.sty
15981
15982         * LaTeXFeatures.C (LaTeXFeatures): init floats
15983         (require): handle float
15984         (getPackages): do it with floats
15985
15986 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15987
15988         * BufferView_pimpl.C (Dispatch): improve handling of
15989         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15990
15991         * commandtags.h: #include lyxfont.h here temporarily to avoid
15992         keybinding bug.
15993
15994         * bufferlist.h: include LString.h here.
15995
15996 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15997
15998         * text2.C (getStringToIndex): new method.
15999
16000 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16001
16002         * *: Reduced header file dependencies all over.
16003
16004 2001-07-30  Baruch Even  <baruch@lyx.org>
16005
16006         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16007
16008 2001-07-29  Baruch Even  <baruch@lyx.org>
16009
16010         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16011
16012 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16013
16014         * ParameterStruct.h (endif): add a default constructor to make
16015         sure that all variables is initialized.
16016
16017         * ParagraphParameters.C (ParagraphParameters): adjust
16018
16019 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16020
16021         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16022         index; also, check that there is something to index, and that it
16023         does not span over several paragraphs.
16024         (doubleClick): use WHOLE_WORD_STRICT for double click.
16025
16026         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16027
16028         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16029         scheme.
16030
16031 2001-07-26  Baruch Even  <baruch@lyx.org>
16032
16033         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16034         an InsetFig figure, backwards compatible reading of old figure code.
16035
16036 2001-07-27  Juergen Vigna  <jug@sad.it>
16037
16038         * text2.C: font.realize function adaption.
16039
16040         * text.C (draw): add a warnings lyxerr text if needed.
16041
16042         * layout.C: font.realize function adaption.
16043
16044         * language.C: add inherit_language and implement it's handlings
16045
16046         * bufferview_funcs.C (StyleReset): remove language parameter from
16047         font creation (should be language_inherit now).
16048
16049         * bufferparams.C (writeFile): handle ignore_language.
16050
16051         * paragraph.C (getFontSettings): the language has to be resolved
16052         otherwise we have problems in LyXFont!
16053
16054         * lyxfont.C (lyxWriteChanges): added document_language parameter
16055         (update): removed unneeded language parameter
16056
16057         * paragraph.C (validate): fixed wrong output of color-package when
16058         using interface colors for certain fonts in certain environments,
16059         which should not seen as that on the final output.
16060
16061 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16062
16063         * BufferView_pimpl.C:
16064         * Thesaurus.h:
16065         * Thesaurus.C:
16066         * Makefile.am:
16067         * commandtags.h:
16068         * LyXAction.C: add thesaurus support
16069
16070         * lyxfind.h:
16071         * lyxfind.C: add "once" parameter, for thesaurus, to not
16072           move to the next match
16073
16074 2001-07-26  Juergen Vigna  <jug@sad.it>
16075
16076         * lyxfont.C (realize): honor ignore_language too!
16077         (resolved): ditto.
16078
16079         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16080
16081         * text.C (draw): one place more for ignore_language to not draw
16082         itself!
16083
16084 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16085
16086         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16087
16088 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16089
16090         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16091         the minipage conversion problem.
16092
16093 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16094
16095         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16096         insert an inset.
16097
16098 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16099
16100         * BufferView.h: don't forward declare WorkArea
16101
16102         * BufferView.C: don't include WorkArea.h
16103
16104 2001-07-25  André Pönitz <poenitz@gmx.net>
16105
16106         * commandtags.h:
16107         * LyXAction.C:
16108         * lyxfunc.C:  new LFUN 'math-space'
16109
16110         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16111
16112 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16113
16114         * text2.C (toggleInset): call open/close
16115
16116 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16117
16118         * lyxfunc.C (dispatch): add debug for the disabled case
16119
16120         * font.C (buttonText): make similar to rectText
16121
16122         * buffer.C (readInset): comment out parsing of insetlist and
16123         insttheorem
16124
16125         * PainterBase.C (rectText): small correction
16126
16127         * BufferView_pimpl.C: comment out insettheorem and insetlist
16128         * LyXAction.C: ditto
16129         * commandtags.h: ditto
16130
16131 2001-07-24  Juergen Vigna  <jug@sad.it>
16132
16133         * text.C (draw): honor the ignore_language.
16134
16135         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16136
16137 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16138
16139         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16140         char inset.
16141
16142 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16143
16144         * lyxtext.h: remove unused (and unimplemented) methods
16145
16146 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16147
16148         * text.C (getVisibleRow): honor background color
16149
16150         * PainterBase.h:
16151         * Painter.h: remove default color argument for fillRectangle
16152
16153         * text.C (backgroundColor): new method
16154
16155 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16156
16157         * text.C (getVisibleRow): adjust
16158
16159         * font.[Ch] (rectText): new method, metrics
16160         (buttonText): new method, metrics
16161
16162         * PainterBase.[hC]: make rectText and buttonText always draw and take
16163         fewer paramteres.
16164
16165 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16166
16167         * ToolbarDefaults.C (read):
16168         * MenuBackend.C (read): allow escaping in all strings
16169
16170         * BufferView_pimpl.C (insertAndEditInset): new method.
16171         (Dispatch): use insertAndEditInset whenever appropriate.
16172
16173         * BufferView_pimpl.C (insertNote): removed
16174
16175         * BufferView_pimpl.C (smartQuote): new method, moved from
16176         BufferView; if an insetquote cannot be inserted, insert a '"'
16177         character instead.
16178
16179         * BufferView2.C: remove insertCorrectQuote();
16180
16181         * lyxfunc.C (getStatus): Add support for all remaingin
16182         inset-insert lfuns.
16183
16184         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16185
16186         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16187         command (necessary to pass " as parameter of self-insert.
16188
16189         * text.C (selectWordWhenUnderCursor):
16190         (selectWord): add word_location parameter
16191         (selectWordWhenUnderCursor): same + remove special code for word
16192         boundary.
16193         (selectNextWord): use kind() to guess type of insetspecialchar,
16194         not latex().
16195
16196         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16197         (insertErtContents): create ert insets as collapsed.
16198         (readInset): better compatibility code for Info inset.
16199
16200 2001-07-20  Juergen Vigna  <jug@sad.it>
16201
16202         * lyxfunc.C (dispatch): use always LyXFind now!
16203
16204         * text2.C (init): add a reinit flag so that the LyXText can be
16205         reinited instead of deleted and reallocated (used in InsetText).
16206
16207         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16208
16209         * text.C: ditto
16210
16211         * text2.C: ditto
16212
16213 2001-07-18  Juergen Vigna  <jug@sad.it>
16214
16215         * text.C (selectNextWord): handle insets inside inset by calling
16216         always the bv->text functions so that we can go up the_locking_inset!
16217
16218         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16219         in strange locations when inside an inset!
16220
16221         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16222         handling to include insets.
16223
16224         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16225
16226 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16227
16228         * LyXAction.C (init):
16229         * commandtags.h:
16230         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16231         LIGATURE_BREAK, since the name is so stupid.
16232
16233 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16234
16235         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16236         InsetInfos.
16237
16238         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16239
16240         * sp_form.[Ch]: remove.
16241
16242         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16243
16244         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16245         InsetInfo.
16246
16247         * src/buffer.C (readInset): ditto.
16248
16249 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16250
16251         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16252         menuSeparator(), endOfSentenceDot(), ldots() and
16253         hyphenationPoint(), which are therefore removed.
16254         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16255
16256         * LyXAction.C (init):
16257         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16258
16259         * paragraph.C (getWord): removed.
16260
16261         * BufferView_pimpl.C (Dispatch): use last word or selection for
16262         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16263
16264         * lyx_main.C (queryUserLyXDir): do not ask before creating
16265         user_dir, except if it has been named explicitely.
16266
16267 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16268
16269         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16270         a document of zero size.
16271
16272 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16273
16274         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16275         approriately in the c-tor and in require().
16276         (getPackages): output the appropriate LaTeX for natbib support.
16277
16278         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16279         variables "use_natbib" and "use_numerical_citations" when reading the
16280         LyX file.
16281         (readInset): read the various natbib cite commands.
16282         (validate): white-space change.
16283
16284         * bufferparams.[Ch]: new variables "bool use_natbib" and
16285         "bool use_numerical_citations".
16286         (writeFile): output them in the LyX file.
16287
16288 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16289
16290         * lyxfunc.C (getStatus): add support for all the inset insertion
16291         commands.
16292
16293         * text2.C (insertInset):
16294         * paragraph.C (insetAllowed):
16295         * BufferView_pimpl.C (insertInset): update to take in account the
16296         renaming of insertInsetAllowed
16297
16298         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16299
16300         * text2.C (getInset): new method. returns inset at cursor position.
16301
16302         * BufferView_pimpl.C (Dispatch): changes because of this.
16303
16304         * LyXAction.C (init): rename open-stuff to inset-toggle.
16305
16306         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16307
16308         * text2.C (toggleInset): renamed from openStuff; use
16309         Inset::open().
16310
16311 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16312
16313         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16314
16315         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16316
16317 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16318
16319         * buffer.C (readLyXformat2): Add filename to the error dialog
16320
16321 2001-07-18  Juergen Vigna  <jug@sad.it>
16322
16323         * tabular.C (GetCellNumber): put an assert here instead of the check!
16324
16325 2001-07-17  Juergen Vigna  <jug@sad.it>
16326
16327         * BufferView_pimpl.C (toggleSelection): adapted too.
16328
16329         * text.C (selectNextWord): adapted for use with insets.
16330         (selectSelectedWord): ditto
16331
16332 2001-07-17  Juergen Vigna  <jug@sad.it>
16333
16334         * sp_spell.C (PSpell): fix initialitation order.
16335
16336 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16337
16338         * paragraph.C: spacing
16339
16340 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16341
16342         * sp_spell.C: repair language selection for pspell
16343
16344 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16345
16346         * lyxfunc.h: change more methods to begin with lower char.
16347
16348 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16349
16350         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16351         for unknown layouts.
16352
16353 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16354
16355         * buffer.C (readLyXformat2): Generate an error dialog if there are
16356         unknown layouts.
16357
16358 2001-07-16  Juergen Vigna  <jug@sad.it>
16359
16360         * sp_spell.C: always compile ISpell part.
16361
16362         * lyxrc.C: added use_pspell entry and it's handling.
16363
16364 2001-07-13  Juergen Vigna  <jug@sad.it>
16365
16366         * sp_spell.C: removed double includes.
16367
16368 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16369
16370         Consistent use of Lsstream.h:
16371         * Lsstream.h: added using std::stringstream for consistencies sake.
16372
16373         * buffer.C: removed using std::stringstream
16374
16375         * lyxfont.C (stateText):
16376         * paragraph.C (asString):
16377         * text.C (selectNextWord, selectSelectedWord):
16378         * text2.C (setCounter):
16379         * vspace.C (asString, asLatexString):
16380         std::ostringstream -> ostringstream.
16381
16382 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16383
16384         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16385         * commandtags.h: add LFUN_HELP_ABOUTLYX
16386         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16387
16388 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16389
16390         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16391         cursorToggle()
16392         * lyx_gui_misc.C: remove spellchecker
16393         * lyxfunc.C: showSpellchecker
16394         * sp_base.h: added
16395         * sp_ispell.h: added
16396         * sp_pspell.h: added
16397         * sp_spell.C: added
16398         * sp_form.[Ch]: removed
16399         * spellchecker.[Ch]: removed
16400
16401 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16402
16403         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16404         is set.
16405         (simpleTeXSpecialChars): Simply print the input character without
16406         any special translation if pass_thru is set.
16407
16408         * layout.h: Added bool pass_thru to layout class for being able to
16409         implement pass through of a paragraph for Literate Programming.
16410
16411         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16412         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16413         * layout.C (Read): add "passthru" to list of layout tags and add
16414         code to set the pass_thru boolean when it is read.
16415
16416 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16417
16418         * trans_decl.h: remove allowed from KmodInfo
16419
16420         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16421         remove allowed code
16422         (Load): adjust
16423
16424         * paragraph_pimpl.C (erase): use boost::prior
16425
16426         * Painter.C (text): use data() instead of c_str() when length is
16427         also provided.
16428         * WorkArea.C (putClipboard): ditto
16429         * font.h (width): ditto
16430
16431         * BufferView2.C: use it-> instead of (*it). for iterators
16432         * texrow.C: ditto
16433         * paragraph_pimpl.C: ditto
16434         * paragraph.C: ditto
16435         * minibuffer.C: ditto
16436         * language.C: ditto
16437         * kbmap.C: ditto
16438         * encoding.C: ditto
16439         * counters.C: ditto
16440         * converter.C: ditto
16441         * chset.C: ditto
16442         * Variables.C: ditto
16443         * TextCache.C: ditto
16444         * MenuBackend.C: ditto
16445         * LyXAction.C: ditto
16446         * LColor.C: ditto
16447         * FloatList.C: ditto
16448         * DepTable.C: ditto
16449         * ColorHandler.C (LyXColorHandler): ditto
16450
16451 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16452
16453         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16454
16455         * text2.C (openStuff): reintroduce this method (which had been
16456         nuked in NEW_INSETS frenzy).
16457
16458         * lyxfunc.C (Dispatch): when an action has not been handled, use
16459         its name in the error message, not its number.
16460
16461         * paragraph.C (inInset): change method name to begin with lowercase.
16462
16463         * undo_funcs.C:
16464         * text2.C: updates because of this.
16465
16466 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16467
16468         * ToolbarDefaults.C (add): add spaces in error message
16469
16470 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16471
16472         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16473         (readLyXformat2): rename return_par to first_par, use lyxlex's
16474         pushToken and remove the manual push handling.
16475         (parseSingleLyXformat2Token): add another ert comp. variable:
16476         in_tabular, rename return_par to first_par. handle newlines better
16477
16478 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16479
16480         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16481
16482 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16483
16484         * text2.C (getParFromID): removed
16485
16486         * buffer.C (getParFromID): new method moved form lyxtext.
16487         * BufferView2.C (insertErrors): adjust
16488         (setCursorFromRow): adjust
16489         * BufferView_pimpl.C (restorePosition): adjust
16490         * lyxfunc.C (Dispatch): adjust
16491         * undo_funcs.C (textUndo): adjust
16492         (textRedo): adjust
16493         (textHandleUndo): adjust
16494         (textHandleUndo): adjust
16495
16496 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16497
16498         * buffer.C: up' the LYX_FORMAT
16499
16500         * lyxfont.h: turn NO_LATEX on as default
16501
16502         * buffer.C (insertErtContents): new methods of tex style compability.
16503         (parseSingleLyXformat2Token): use it several places.
16504         * tabular.C (OldFormatRead): and here
16505
16506 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16507
16508         * text2.C: remove some commented code.
16509         reindent file.
16510
16511         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16512         * trans.C: changes because of the above.
16513
16514 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16515
16516         * text2.C (setCounter): Fix counters bug with bibliography layout.
16517
16518 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16519
16520         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16521         own member functions
16522         (simpleTeXSpecialChars): ditto
16523
16524 2001-07-06  Juergen Vigna  <jug@sad.it>
16525
16526         * a lot of files: changed the access to LyXText::status and the
16527         call of undo-functions.
16528
16529         * undo.[Ch]: added a inset_id to the undo informations.
16530
16531         * undo_funcs.[Ch]: added and moved here all undo functions.
16532
16533         * lyxtext.h: give the status enum a weight, made status_ a private
16534         variable and made accessor functions for it, removed the whole bunch
16535         of undo-functions as they are now in their own file, make some
16536         functions publically available. Added function ownerParagraph with
16537         int parameter.
16538
16539         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16540         made InInset() a const function, added getParFromID() function.
16541
16542         * buffer.[Ch]: added const version for inset_iterator functions,
16543         added getInsetFromID() function.
16544
16545         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16546         changed undo functions for new version.
16547
16548 2001-07-05  Juergen Vigna  <jug@sad.it>
16549
16550         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16551         unknow mechanism does not call the proper constructor but only this
16552         one also if I request the other!?
16553
16554 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16555
16556         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16557
16558         * text2.C (LyXText): use initialization lists.
16559
16560         * lyxtext.h (Selection): initialize set_ and mark_
16561         (init): remove method
16562
16563 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16564
16565         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16566
16567 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16568
16569         * screen.[Ch]: change method names to begin with lowercase
16570
16571         * BufferView_pimpl.C (updateScrollbar): simplify further and
16572         hopefully make it a bit faster.
16573
16574 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16575
16576         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16577         calling directly xforms functions.
16578
16579         * Painter.C (Painter):
16580         * lyx_cb.C (MenuWrite):
16581         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16582         fl_display.
16583
16584         * lyx_gui.C: remove bogus guiruntime extern declaration.
16585
16586 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16587
16588         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16589         in NEW_INSETS
16590         (redoDrawingOfParagraph): ditto
16591         (redoParagraphs): ditto
16592         (cutSelection): don't create a object for CutAndPaste use the
16593         static method directly
16594         (pasteSelection): ditto
16595
16596         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16597         LyXview (+ rename)
16598
16599 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16600
16601         * modifications to some other files because of this.
16602
16603         * Makefile.am (lyx_SOURCES): add XFormsView
16604
16605         * XFormsView.[Ch]: new files
16606
16607         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16608         the main window. Move the gui dependent stuff to XFormsView
16609
16610 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16611
16612         * tabular.C (GetCellInset): update cur_cell also in the row/col
16613         version of this function.
16614
16615         * lyxfunc.C: no need to include figure_form.h here.
16616
16617         * FontLoader.h:
16618         * lyxfunc.h:
16619         * lyxscreen.h:
16620         * text2.C:
16621         * lyxvc.C: no need to include forms.h here.
16622
16623 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16624
16625         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16626
16627         * lyxfunc.C (Dispatch):
16628         * Spacing.C (set):
16629         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16630         constructor argument.
16631
16632 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16633
16634         * paragraph.C (Paragraph): dont't clear, and just set layout.
16635         (makeSameLayout): use params's copy contructor.
16636
16637         * ParagraphParameters.[Ch] (makeSame): delete method
16638
16639 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16640
16641         * Variables.[Ch]: fix indentation, rename set to isSet
16642
16643 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16644
16645         * lyxfunc.C (Dispatch): fix typo
16646
16647 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16648
16649         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16650         upper_bound.
16651
16652         * bufferlist.C: include assert.h for emergencyWrite().
16653
16654 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16655
16656         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16657           give up at last (bug #425202) !
16658
16659 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16660
16661         * lyx_gui_misc.C:
16662         * sp_form.h:
16663         * sp_form.C:
16664         * spellchecker.h:
16665         * spellchecker.C: strip spellchecker options and bring up
16666           preferences tab instead
16667
16668 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16669
16670         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16671         the istringstream constructor
16672
16673 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16674
16675         * paragraph.C (getLayout): fix return value
16676
16677         * paragraph.h: do not declare getLayout as inline.
16678
16679         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16680
16681 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16682
16683         * lyxcursor.h (operator<): new func
16684         (operator>): new func
16685         (operator>=): new func
16686         (operator<=): new func
16687
16688         * text.C (changeCase): use selection.start and selection.end
16689         (changeRegionCase): require from to be <= to. Require par to be a
16690         valid paragraph.
16691
16692         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16693
16694 2001-06-27  Juergen Vigna  <jug@sad.it>
16695
16696         * text.C (cursorLeftOneWord): changed to return the cursor and added
16697         overlay with BufferView * parameter which calls this one.
16698         (getWord): added
16699         (selectWord): use new getWord function.
16700         (changeCase): renamed from changeWordCase as and extended to work
16701         also on selections.
16702
16703         * lyxtext.h: added enum word_location
16704
16705         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16706         changeCase as this operates now also on selections.
16707
16708 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16709
16710         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16711
16712         * many files: send debug output to Debug::INFO instead of
16713         Debug::ANY.
16714
16715         * converter.C (View):
16716         (Convert):
16717         (Move): send debug output to Debug::FILES instead of console.
16718
16719 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16720
16721         * lyxfunc.C (getStatus): use func_status
16722
16723         * func_status.h: new header, describing the results of
16724         LyXFunc::getStatus;
16725
16726         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16727         LFUN_MATH_HALIGN.
16728
16729 2001-06-25  The LyX Project  <jug@sad.it>
16730
16731         * buffer.C (sgmlOpenTag):
16732         (sgmlCloseTag):
16733         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16734
16735 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16736
16737         * text2.C: remove some dead code
16738
16739         * tabular.C (GetCellInset): store the last cell checked (gotten)
16740
16741         * tabular.h: add the helper for the speedup
16742
16743         * lyxtext.h: remove some dead code
16744
16745 2001-06-26  The LyX Project  <Asger>
16746
16747         * paragraph.C: Change export to LaTeX of alignment to
16748         \begin{center} and family for better roundtrip work with reLyX.
16749
16750         * Tune the math drawing a bit.
16751
16752 2001-06-25  The LyX Project  <Asger>
16753
16754         * LColor.C (LColor): New color for math background. New color
16755         for buttons.
16756
16757 2001-06-25  The LyX Project  <jug@sad.it>
16758
16759         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16760
16761         * lyxfunc.C (Open):
16762         * bufferlist.C (newFile): do not restrict to files ending with
16763         .lyx
16764
16765         * BufferView_pimpl.C (MenuInsertLyXFile):
16766
16767 2001-06-24  The LyX Project  <jug@sad.it>
16768
16769         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16770         of compare_no_case
16771
16772 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16773
16774         * lyxtext.h: rename most methods to begin with a small char.
16775         Lots of changes because of this.
16776
16777         * paragraph.C (Paragraph): do not call fitToSize
16778         (erase): call Pimpl::erase
16779         (insertChar): call Pimpl::insertChar
16780         (insertInset): call Pipl::insertInset
16781         (breakParagraph): do not call fitToSize
16782         (breakParagraphConservative): do not call fitToSize
16783         (fitToSize): remove method
16784
16785         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16786
16787 2001-06-24  The LyX Project  <Asger>
16788
16789         * Fix Qt compilation^2
16790
16791 2001-06-24  The LyX Project  <jug@sad.it>
16792
16793         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16794         depthHook(getDepth()-1).
16795
16796         * paragraph.h:
16797         * ParagraphParameters.h:
16798         * ParameterStruct.h: change type of depth to unsigned int ==
16799         depth_type. Many adaptations to other files before of that.
16800
16801 2001-06-24  The LyX Project  <Asger>
16802
16803         * Fix Qt compilation.
16804
16805 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16806
16807         * paragraph.h: renamed several methods to begin with small letter.
16808         several changes to many parts of the code because of this.
16809
16810 2001-06-23  The LyX Project  <jug@sad.it>
16811
16812         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16813         rewritten to discard all double spaces when KeepEmpty is off
16814         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16815         to only handle newlines but not fiddle with spaces and friends.
16816
16817         * lyxfunc.C (MenuNew): when doing 'new from template', use
16818         template_path as default directory
16819
16820 2001-06-23  The LyX Project  <Asger>
16821
16822         * Clean-up of header file includes all over
16823         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16824
16825 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16826
16827         * paragraph.h: renamed from lyxparagraph.h
16828
16829 2001-06-23  Asger  <lyx@violet.home.sad.it>
16830
16831         * Buffer.h: Removed Buffer::resize
16832         * BufferList.h: Removed BufferList::resize
16833         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16834         the document lazily when we change the width, or the font settings.
16835
16836 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16837
16838         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16839
16840 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16841
16842         * buffer.h: remove out of date comment
16843
16844 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16845
16846         * lyxscreen.h:
16847         * screen.C: fix "theoretical" GC leak
16848
16849 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16850
16851         * LaTeX.C (scanAuxFile):
16852         (deplog): remove trailing \r when reading stream (useful under
16853         win32)
16854
16855 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16856
16857         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16858         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16859         and BufferView::theLockingInset(Inset*), so should use them and not
16860         access bv_->text->the_locking_inset directly.
16861
16862         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16863
16864 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16865
16866         * Makefile.am:
16867         * tex-defs.h: remove old unused file
16868
16869 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16870
16871         * BufferView_pimpl.C: fix typo, remove minibuffer message
16872           when buffer has loaded
16873
16874 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16875
16876         * lyxfunc.C (Dispatch): use stringstream
16877         (MenuNew): use stringstream
16878         (Open): use stringstream
16879
16880         * importer.C (Import): use stringstream
16881
16882         * bufferview_funcs.C (CurrentState): use stringstream
16883
16884         * LaTeX.C (run): use stringstream
16885
16886         * BufferView_pimpl.C (savePosition): use stringstream
16887         (restorePosition): use stringstream
16888         (MenuInsertLyXFile): use stringstream
16889
16890 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16891
16892         * BufferView.C:
16893         * Bullet.C:
16894         * ColorHandler.C:
16895         * FontInfo.C:
16896         * FontLoader.C:
16897         * LColor.C:
16898         * LaTeXFeatures.C:
16899         * Painter.C:
16900         * gettext.C:
16901         * lyx_gui_misc.C:
16902         * lyxserver.C:
16903         * vspace.C: removed // -*- C++ -*- as first line.
16904
16905         * lyxfind.h:
16906         * version.h: added // -*- C++ -*- as first line.
16907
16908 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16909
16910         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16911
16912         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16913         of string
16914
16915 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16916
16917         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16918         of floats.
16919
16920 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16921
16922         * gettext.C: include LString.h even when --disable-nls is on.
16923
16924 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16925
16926         * converter.h (Get): changed argument type from int to
16927         FormatList::size_type to avoid unnecessary conversion.
16928
16929         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16930         before using it.
16931
16932 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16933
16934         * gettext.h: include LString.h even when --disable-nls is on.
16935
16936 2001-06-07  Juergen Vigna  <jug@sad.it>
16937
16938         * text.C (BreakAgain): subst spaces with tabs.
16939
16940         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16941         (resizeInsetsLyXText): set force on resizeLyXText.
16942
16943 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16944
16945         * gettext.h (gettext_init):
16946         (locale_init): use a real definition instead of a macro
16947
16948 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16949
16950         * Bufferview_pimpl.C:
16951         * LColor.h:
16952         * LColor.C: further lcolor tidies
16953
16954 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16955
16956         * BufferView_pimpl.C (updateScrollbar): simplify.
16957
16958         * BufferView2.C: don't include insets/insetinfo.h, change
16959         prototype for insertInset and call the Pimpl version. let
16960         updateInset call Pimpl version.
16961
16962         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16963         gotoInset to BufferView::Pimpl
16964
16965 2001-06-01  Juergen Vigna  <jug@sad.it>
16966
16967         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16968         inside a LockingInset (is the update needed at all?).
16969
16970 2001-05-31  Juergen Vigna  <jug@sad.it>
16971
16972         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16973         here not the old one otherwise how should we compare it afterwards
16974         if it's the same!
16975
16976 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16977
16978         * lyxfont.C:
16979         * tabular.C:
16980         * tabular-old.C:
16981         * FontInfo.C: bring C functions into global namespace when
16982         necessary
16983
16984 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16985
16986         * LString.h: make sure config.h has been loaded before LString.h.
16987
16988         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16989         (one for each char read by EatLine!).
16990
16991         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16992         variables.
16993
16994 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16995
16996         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16997         to the same as the par we break from
16998
16999 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17000
17001         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17002
17003         * MenuBackend.C (expand): also create menu entries for wide
17004         versions of the floats.
17005
17006         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17007
17008         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17009
17010         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17011         frontends/Makefile.am
17012
17013         * text2.C: adjust
17014         * text.C: adjust
17015
17016
17017         * tabular.C (getTokenValue): add std::
17018
17019         * tabular-old.C (getTokenValue): add std::
17020         (getTokenValue): ditto
17021         (getTokenValue): ditto
17022
17023         * screen.C (ToggleSelection): adjust
17024
17025         * lyxtext.h: put selection cursors inside a Selection struct.
17026
17027         * lyxfunc.C (moveCursorUpdate): adjust
17028
17029         * lyxfont.C (latexWriteStartChanges): add std::
17030
17031         * lyxfind.C: adjust
17032
17033         * font.h: delete with(char const *, LyXFont const &)
17034
17035         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17036
17037         * FontInfo.C (getFontname): add std::
17038
17039         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17040         (workAreaButtonPress): adjust
17041         (tripleClick): adjust
17042         (update): adjust
17043         (moveCursorUpdate): adjust
17044         (Dispatch): adjust
17045
17046         * BufferView2.C (gotoInset): adjust
17047
17048 2001-05-30  Juergen Vigna  <jug@sad.it>
17049
17050         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17051         to check pspell I add this as default as I now have new pspell
17052         libraries and they seem to use this.
17053
17054 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17055
17056         * text2.C (CutSelection): make the cursor valid before the call to
17057         ClearSelection.
17058
17059 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17060
17061         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17062         relied on 0 terminated strings and other horrors. Bug found due to
17063         the new assert in lyxstring!
17064
17065         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17066         KP_ keys.
17067
17068 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17069
17070         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17071         to latinkeys.bind.
17072
17073         * lyxfunc.C (processKeySym): change method of getting to the
17074         self-insert char.
17075
17076         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17077         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17078         * BufferView_pimpl.[Ch]: here as private methods.
17079
17080 2001-05-28  Juergen Vigna  <jug@sad.it>
17081
17082         * text.C (SetHeightOfRow): added the update() call again as it is
17083         needed to initialize inset dimensions!
17084
17085 2001-05-16  Juergen Vigna  <jug@sad.it>
17086
17087         * text2.C (SetCharFont): Add new function with BufferView * and
17088         bool toggleall parameters for setting insets internal fonts.
17089         (SetFont): Freeze the undo as we may change fonts in Insets and
17090         all this change should be inside only one Undo!
17091
17092         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17093         setting font's in insets as for them we have the SetFont function!
17094
17095 2001-05-15  Juergen Vigna  <jug@sad.it>
17096
17097         * text2.C (ClearSelection): to be sure we REALLY don't have any
17098         selection anymore!
17099
17100         * tabular.C (TeXCellPreamble): fixed the left border problem for
17101         multicolumn cells.
17102
17103 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17104
17105         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17106         dependancy file
17107
17108 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17109
17110         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17111         LFUN_BREAKPARAGRAPH.
17112
17113         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17114         help test to "internal only", similar for LFUN_INSERT_URL
17115
17116         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17117         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17118         auto_region_delete and deadkeys.
17119
17120 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17121
17122         * LColor.h:
17123         * LColor.C: remove some dead entries, tidy a little
17124
17125 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17126
17127         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17128         commented code.
17129         (Dispatch): implement LFUN_ESCAPE
17130
17131         * commandtags.h: add LFUN_ESCAPE
17132
17133         * LyXAction.C (init): add entry for LFUN_ESCAPE
17134
17135         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17136         Remove commented code.
17137         (insertNote): moved here
17138         (open_new_inset): moved here
17139
17140         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17141         BufferView_pimpl
17142
17143 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17144
17145         * kbmap.C (findbinding): clean it up and make it work correctly.
17146
17147         * lyx_main.C (init): do not pass argc and argv as parameters
17148
17149 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17150
17151         * buffer.C: fix path for OS/2 & Win32
17152
17153         * lyx_gui.C:
17154         * lyx_main:
17155         * lyx_main.C: Added os:: class.
17156
17157         * os2_defines.h: update
17158
17159 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17160
17161         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17162         better by trying again with reduced state.
17163
17164 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17165
17166         * lyxrc.C (read): print error about invalid key sequence only when
17167         debugging (because not all latinX keysyms are known to some X
17168         servers)
17169
17170         * kbsequence.C (getiso): add a few std:: qualifiers
17171         (getiso): comment out extra return statement.
17172
17173 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17174
17175         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17176         handling.
17177         (Dispatch): enhance the accent inset a bit. (not perfect)
17178
17179 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17180
17181         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17182
17183 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17184
17185         * bufferlist.C (emergencyWrite): fix assert() call
17186
17187 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17188
17189         * text.C (InsertChar): Added trivial patch to only send the "you
17190         can not do multiple spaces this way" message once during a
17191         session.
17192
17193 2001-05-08  Baruch Even  <baruch@lyx.org>
17194
17195         * Makefile.am: Changed order of libraries to get LyX to link properly
17196         with the gnome frontend.
17197
17198 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17199
17200         * LaTeXFeatures.h: add a std:: qualifier
17201
17202 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17203
17204         * paragraph.C (String): use stringstream
17205
17206 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17207
17208         * paragraph.C (writeFile): remove footflag arg
17209
17210         * buffer.C (makeLaTeXFile): use stringstream
17211         (latexParagraphs): remove footnot gurba
17212
17213         * LaTeXFeatures.C (getPackages): use stringstream
17214         (getMacros): likewise
17215         (getTClassPreamble): likewise
17216         (getFloatDefinitions): new method
17217
17218         * paragraph.C (writeFile): reindent
17219         (Erase): reindent
17220
17221         * WorkArea.h: revert the xpos + etc changes.
17222
17223         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17224
17225         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17226
17227         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17228         (pasteSelection): likewise
17229         * text2.C (CreateUndo): likewise
17230
17231 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17232
17233         * minibuffer.C (peek_event): temporarily reduce the functionality
17234         of the minibuffer (to allow args on lfuns)
17235
17236         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17237         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17238
17239         * buffer.C (readInset): add compability reading of old float
17240         lists, add reading of new style float list.
17241         (readInset): avoid reevaluation of inscmd.getCmdName()
17242         (getLists): reindent
17243
17244         * MenuBackend.C (MenuItem): implement parsing of
17245         md_floatlistinsert and md_floatinsert.
17246         (expand::LastFiles): move initalizaton of iterators out of loop,
17247         avoid reevaluation.
17248         (expand::Documents): introduce typdedef vector<string> Strings,
17249         and use it.
17250         (expand::ExportFormats): introduce typedef vector<Format const *>
17251         Formats, and use it.
17252         (expand): implement FloatListInsert and FloatInsert.
17253
17254         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17255         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17256         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17257
17258         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17259         handling.
17260         (Dispatch::LFUN_FLOAT_LIST): implement
17261
17262 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17263
17264         * LaTeX.C (run): Fix problem with --export code.
17265
17266 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17267
17268         * BufferView.[Ch] (workarea): removed.
17269         (getClipboard) new method; wrapper for workarea()->getClipboard()
17270
17271         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17272         bug.
17273
17274         * WorkArea.h (width, height, xpos, ypos): These methods all
17275         returned the dimensions of the work_area sub-area of WorkArea,
17276         resulting in a position error if the WorkArea were resized. Now
17277         return the dimensions of the entire WorkArea.
17278
17279         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17280
17281 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17282
17283         * LaTeX.C (deplog): correct the syntax of regex reg1
17284
17285 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17286
17287         * undo.C: remove !NEW_INSETS cruft
17288
17289 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17290
17291         * text2.C: remove !NEW_INSETS cruft
17292
17293         * text.C: remove !NEW_INSETS cruft
17294
17295         * tabular.C: remove !NEW_INSETS cruft
17296
17297         * spellchecker.C: remove !NEW_INSETS cruft
17298
17299         * lyxtext.h: remove !NEW_INSETS cruft
17300
17301         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17302
17303         * lyxfunc.C: remove !NEW_INSETS cruft
17304
17305         * lyxfind.C: remove !NEW_INSETS cruft
17306
17307         * lyx_cb.C: remove !NEW_INSETS cruft
17308
17309         * figureForm.C: remove  !NEW_INSETS cruft
17310
17311         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17312
17313         * buffer.[Ch]: remove !NEW_INSETS cruft
17314
17315         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17316
17317         * CutAndPaste.C: remove !NEW_INSETS cruft
17318
17319         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17320
17321         * BufferView2.C: remove !NEW_INSETS cruft
17322
17323         * BufferView.h: remove !NEW_INSETS cruft
17324
17325 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17326
17327         * Lsstream.h: include LString.h before the sstream headers to
17328         fix problem with gcc 2.95.3 and lyxstring
17329
17330 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17331
17332         * lyx_main.C: add using directives when needed for C functions
17333         declared in std:: namespace.
17334
17335 2001-04-27  Juergen Vigna  <jug@sad.it>
17336
17337         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17338         (SetHeightOfRow): comment out the update call should not be needed!
17339
17340 2001-04-13  Juergen Vigna  <jug@sad.it>
17341
17342         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17343         (LyXTabular): tried to minimize operator= operations (and realized
17344         hopfully Lars wish).
17345
17346 2001-04-27  Juergen Vigna  <jug@sad.it>
17347
17348         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17349
17350 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17351
17352         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17353
17354         * buffer.C (readInset): hack to make listof algorithm work
17355
17356         * BufferView_pimpl.C: hack to make listof algorithm work
17357
17358 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17359
17360         * LyXAction.C: removed all !NEW_INSETS cruft
17361         (init): moved lfun_item in method
17362
17363         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17364
17365 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17366
17367         * BufferView2.C (theLockingInset): white space.
17368
17369 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17370
17371         * minibuffer.C: include <iostream>
17372
17373         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17374
17375         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17376
17377         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17378
17379         * text.[Ch] (TransposeChars): new method
17380
17381 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17382
17383         * call message directly through LyXView instead of through LyXFunc
17384         * BufferView2.C: adjust
17385         * BufferView_pimpl.C: adjust
17386         * FontLoader.C: adjust
17387         * buffer.C: adjust
17388         * bufferview_funcs.C: adjust
17389         * converter.C: adjust
17390         * figureForm.C: adjust
17391         * importer.C: adjust
17392         * lyx_cb.C: adjust
17393         * lyx_gui_misc.C: adjust
17394         * lyxfunc.C: adjust
17395         * lyxvc.C: adjust
17396         * text2.C: adjust
17397         + more files in subdirs
17398
17399         * lyxparagraph.h (size): move up int file
17400         (GetLayout): ditto
17401
17402         * adjust all uses of Assert to lyx::Assert.
17403
17404         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17405         lyxfunctional in namespace lyx
17406         * layout.C (hasLayout): ditto
17407         (GetLayout): ditto
17408         (GetLayout): ditto
17409         (delete_layout): ditto
17410         (NumberOfClass): ditto
17411         * converter.C (GetFormat): ditto
17412         (GetNumber): ditto
17413         (Add): ditto
17414         (Delete): ditto
17415         (SetViewer): ditto
17416         * bufferlist.C (getFileNames): ditto
17417         (emergencyWriteAll): ditto
17418         (exists): ditto
17419         (getBuffer): ditto
17420         * MenuBackend.C (hasSubmenu): ditto
17421         (hasMenu): ditto
17422         (getMenu): ditto
17423         * BufferView_pimpl.C (getInsetByCode): ditto
17424
17425 2001-04-18  Juergen Vigna  <jug@sad.it>
17426
17427         * vspace.C (asLatexString): fixed the 100% problem.
17428
17429 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17430
17431         * lyxfunc.C (Dispatch):
17432         * minibuffer.C:
17433         * minibuffer.h: add a few std:: qualifiers
17434
17435 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17436
17437         * minibuffer.[Ch]: reimplement so that commands is initiated and
17438         run from lyxfunc, simplified som handling, and made the completion
17439         and history code for complete. wip.
17440
17441         * lyxfunc.C (processKeySym): call message
17442         (miniDispatch): new temporary method
17443         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17444         (LFUN_MESSAGE): implement
17445         (LFUN_MESSAGE_PUSH): implement
17446         (LFUN_MESSAGE_POP): implement
17447         (initMiniBuffer): the initial/defualt minibuffer message.
17448
17449         * lyxfont.[Ch]: inline some more getters
17450
17451         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17452
17453         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17454
17455         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17456         (AutoSave): use LFUN_MESSAGE
17457         (Reconfigure): ditto
17458
17459         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17460
17461         * figureForm.C: use LFUN_MESSAGE
17462
17463         * converter.C (runLaTeX): use LFUN_MESSAGE
17464
17465         * bufferview_funcs.C: use LFUN_MESSAGE
17466         (Melt): ditto
17467         (changeDepth): ditto
17468
17469         * bufferparams.h: use boost::
17470
17471         * bufferlist.h: inherit privately from noncopyable
17472
17473         * bufferlist.C (loadLyXFile): remove some commented code.
17474
17475         * buffer.C (runChktex): use LFUN_MESSAGE
17476
17477         * ShareContainer.h: inherit privately from noncopyable
17478
17479         * ParagraphParameters.[hC] (depth): inline it.
17480
17481         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17482         methods.
17483         (message): new method
17484         (messagePush): ditto
17485         (messagePop): ditto
17486         (show): init minibuffer
17487         (showState): direct call
17488
17489         * LaTeX.[Ch]: inherit privately from noncopyable
17490         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17491         instead of WriteStatus.
17492
17493         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17494
17495         * BufferView_pimpl.C (buffer): don't init minibuffer
17496         (workAreaButtonPress): use LFUN_MESSAGE
17497         (workAreaButtonRelease): ditto
17498         (savePosition): ditto
17499         (restorePosition): ditto
17500         (MenuInsertLyXFile): ditto
17501         (workAreaExpose): don't init minibuffer
17502         (update): remove commented code, simplify
17503
17504         * BufferView2.C (openStuff): use LFUN_MESSAGE
17505         (toggleFloat): ditto
17506         (menuUndo): ditto
17507         (menuRedo): ditto
17508         (copyEnvironment): ditto
17509         (pasteEnvironment): ditto
17510         (copy): ditto
17511         (cut): ditto
17512         (paste): ditto
17513         (gotoInset): ditto
17514         (updateInset): remove some commented code
17515
17516         * lastfiles.h: inherit privately from noncopyable
17517         * layout.h: ditto
17518         * lyx_gui.h: ditto
17519         * lyx_main.h: ditto
17520         * lyxlex.h: ditto
17521         * lyxlex_pimpl.h: ditto
17522
17523         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17524         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17525         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17526
17527         * LyXAction.h: inherit privately from noncopyable, add methods
17528         func_begin, func_end, returning iterators to the func map.
17529
17530         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17531         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17532         (func_begin): new method
17533         (func_end): new method
17534
17535         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17536         and not)
17537         (copySelection): ditto
17538         (pasteSelection): ditto
17539
17540         * BufferView.C: whitespace change
17541         * BufferView.h: inherit privately from noncopyable
17542
17543 2001-04-16  Allan Rae  <rae@lyx.org>
17544
17545         * tabular-old.C (l_getline):
17546         * spellchecker.C (sc_check_word):
17547         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17548         an unrecognised preprocessor directive.  So ensure they're wrapped.
17549
17550 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17551
17552         * src/exporter.C (Export): Give an error message when path to file
17553         contains spaces.
17554
17555 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17556
17557         * LaTeX.C (deplog): Always check that foundfile exists.
17558
17559 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17560
17561         * lyx_main.h:
17562         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17563
17564 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17565
17566         * tabular.[Ch] (getLabelList): implement new method
17567
17568         * minibuffer.h: comment ouf setTiimer
17569
17570         * minibuffer.C (ExecutingCB): constify res
17571         (peek_event): constify s
17572         (Set): constify ntext
17573         (Init): constify nicename
17574
17575         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17576
17577         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17578         (savePosition): use two params to Minibuffer::Set
17579         (restorePosition): ditto
17580
17581 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17582
17583         * lyx_main.C: include language.h
17584
17585         * Makefile.am (lyx_main.o): add language.h
17586
17587 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17588
17589         * exporter.C:
17590         * paragraph.C:
17591         * screen.C:
17592         * tabular.C:
17593         * CutAndPaste.C: include gettext.h
17594
17595         * lyxfont.h: remove old hack with ON and OFF.
17596
17597         * lyxparagraph.h:
17598         * lyxfont.h: do not include language.h...
17599
17600         * BufferView2.C:
17601         * LaTeXFeatures.C:
17602         * Painter.C:
17603         * bufferview_funcs.C:
17604         * font.C:
17605         * lyxfont.C:
17606         * text.C:
17607         * text2.C:
17608         * trans_mgr.C:
17609         * paragraph.C: ... but do it here instead
17610
17611 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17612
17613         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17614
17615         * tabular.C: small reformat
17616
17617         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17618         NEW_INSETS version
17619         (GetChar): ditto
17620         (BreakParagraph): ditto
17621         (SetOnlyLayout): ditto
17622         (SetLayout): ditto
17623
17624         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17625         with one arg less.
17626
17627         * lastfiles.C: removed most using decl, add std:: where needed
17628
17629         * buffer.C: ws changes
17630
17631         * MenuBackend.C (class compare_format): put into anon namespace
17632         (expand): constify label, names, action, action2
17633         (expand):
17634
17635         * text.C (SingleWidth): constify font
17636         (IsBoundary): constify rtl2
17637         (GetVisibleRow): constify ww
17638
17639         * LaTeX.C (deplog): constify logfile
17640
17641         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17642         start_x, end_x
17643         (workAreaExpose): constify widthChange, heightChange
17644
17645         * lyxrow.C (par): moved
17646         (height): moved
17647         (next): moved
17648         * lyxrow.h: as inlines here
17649
17650         * lyxfont.h (shape): moved from lyxfont.C
17651         (emph): moved from lyxfont.C
17652
17653         * lyxfont.C (LyXFont): use initialization list for all
17654         constructors
17655         (shape): move to lyxfont.h as inline
17656         (emph): move to lyxfont.h as inline
17657
17658
17659 2001-04-04  Juergen Vigna  <jug@sad.it>
17660
17661         * vspace.C: had to include stdio.h for use of sscanf
17662
17663 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17664
17665         * BufferView.h:
17666         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17667         independent of xforms.
17668
17669 2001-04-02  Juergen Vigna  <jug@sad.it>
17670
17671         * spellchecker.C: fixed namespace placing!
17672
17673 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17674
17675         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17676         the LyXParagraph * is 0.
17677
17678 2001-03-29  Juergen Vigna  <jug@sad.it>
17679
17680         * vspace.C: added support for %, c%, p%, l%.
17681         (stringFromUnit): added helper function.
17682         (asLatexString): changed to give right results for the %-values.
17683
17684         * buffer.C: convert the widthp in a width%.
17685
17686 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17687
17688         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17689         figureForm.[Ch].
17690
17691         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17692         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17693
17694         * lyx_cb.[Ch]: see above.
17695
17696         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17697         form1.[Ch].
17698
17699         * form1.[Ch]:
17700         * lyx.[Ch]: replaced by figure_form.[Ch].
17701
17702         * lyx_gui.C:
17703         * lyx_gui_misc.C:
17704         * lyxfunc.C: changed headers associated with above changes.
17705
17706 2001-03-27  Juergen Vigna  <jug@sad.it>
17707
17708         * BufferView_pimpl.C: set the temporary cursor right!
17709
17710 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17711
17712         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17713
17714 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17715
17716         * LString.h: removed "using std::getline"!
17717
17718         * BufferView_pimpl.C (Dispatch): changes due to changes in
17719         InsetInclude::Params.
17720
17721         * buffer.C (tag_name): removed redundant break statements as they were
17722         producing lots of warnings with my compiler.
17723
17724 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17725
17726         * LString.h: add "using std::getline" when using the real <string>.
17727
17728 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17729
17730         * buffer.C: removed bitset usage.
17731         PAR_TAG moved to an anonymous name space.
17732         (tag_name): new funtion, also in the anonymous namespace.
17733         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17734         (makeDocBookFile): clean code. Completed transition from string arrays
17735         to string vectors.
17736         (SimpleDocBookOnePar): code clean.
17737
17738 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17739
17740         * tabular.C: add some comments.
17741
17742 2001-03-22  Juergen Vigna  <jug@sad.it>
17743
17744         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17745         compatibility read a bit and fixed bug with minipage in different
17746         depth.
17747
17748 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17749
17750         * buffer.C (pop_tag): removed.
17751         (push_tag): removed.
17752         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17753         array replaced with vector. Added support for CDATA sections.
17754         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17755         at any nest level.
17756         (makeDocBookFile): XML conformant declaration of CDATA section,
17757         fixed bug related to <emphasis> in the first paragraph char.
17758         (sgmlOpenTag): exclude empty tags.
17759         (sgmlCloseTag): ditto.
17760
17761         * buffer.h (pop_tag): removed.
17762         (push_tag): removed.
17763
17764 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17765
17766         * language.h (Languages): added size_type and size().
17767
17768 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17769
17770         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17771         response on compability reading of minipages. One probliem is that
17772         the old usage of minipages was flertydig
17773
17774         * several files here and in subdirs: don't use static at file
17775         scope use anon namespaces instead.
17776
17777 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17778
17779         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17780         LaTeX output. This is necessary for Literate document
17781         processing.
17782
17783 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17784
17785         * buffer.C: insert hfill when needed.
17786
17787         * tabular.C (l_getline): use string::erase, small whitespace change.
17788
17789         * BufferView_pimpl.C: try the anon namespace.
17790         * WorkArea.C: ditto
17791
17792 2001-03-16  Juergen Vigna  <jug@sad.it>
17793
17794         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17795         otherwise it won't open options-dialogs.
17796
17797         * buffer.C: honor pextraWidth(p) on converting minipages.
17798
17799         * tabular.C (l_getline): changed the functions to strip trailing \r.
17800
17801 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17802
17803         * BufferView_pimpl.C:
17804         * minibuffer..C: added "using SigC::slot" declaration.
17805
17806 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17807
17808         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17809
17810         * text2.C: ditto
17811
17812         * text.C: ditto
17813
17814         * paragraph.C: ditto
17815
17816         * lyxtext.h: NO_PEXTRA
17817
17818         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17819
17820         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17821         * ParameterStruct.h: ditto
17822         * ParagraphParameters.h: ditto
17823         * lyxparagraph.h: ditto
17824
17825 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17826
17827         * buffer.C: add compability for minipage alignment.
17828         (latexParagraphs): remove unwanted pextra check.
17829
17830         * several files: remove CXX_WORKING_NAMESPACES
17831
17832         * buffer.C (pop_tag): tie is in namespace boost
17833
17834         * BufferView.h: noncopyable is in namespace boost
17835         * lyxlex.h: ditto
17836         * lyx_main.h: ditto
17837         * lyx_gui.h: ditto
17838         * layout.h: ditto
17839         * lastfiles.h: ditto
17840         * bufferlist.h: ditto
17841         * ShareContainer.h: ditto
17842         * LyXView.h: ditto
17843         * LyXAction.h: ditto
17844         * LaTeX.h: ditto
17845
17846 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17847
17848         * Merging changes from BRANCH_MVC back into HEAD.
17849
17850         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17851
17852 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17853
17854         * BufferView_pimpl.C: change from intl.C
17855
17856         * combox.h:
17857         * combox.C:
17858         * Makefile.am: move combox.*
17859
17860         * form1.h:
17861         * form1.C:
17862         * lyx_gui.C:
17863         * intl.h:
17864         * intl.C: remove dialog (covered by prefs)
17865
17866 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17867
17868         * lyxfunc.C (Dispatch): removed redundant break statement.
17869
17870 2001-03-14  Juergen Vigna  <jug@sad.it>
17871
17872         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17873
17874 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17875
17876         * buffer.C: add hack to fix compability reading of minipages.
17877
17878 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17879
17880         * buffer.C (getLists): Cleanup.
17881
17882 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17883
17884         * lyxfont.C (update): don't honor toggleall on font size.
17885
17886 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17887
17888         * bmtable.c:
17889         * bmtable.h:
17890         * Makefile.am: moved to frontends/xforms/
17891
17892         * lyx_gui_misc.C:
17893         * lyxfunc.C:
17894         * BufferView_pimpl.C: changes for moved mathpanel
17895
17896 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17897
17898         * gettext.h: fix gettext_init() in --disable-nls
17899
17900 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17901
17902         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17903
17904 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17905
17906         * lyx.C:
17907         * lyx.h: strip external form
17908
17909 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17910
17911         * BufferView_pimpl.C: add comment, destroySplash()
17912
17913 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17914
17915         * BufferView_pimpl.C:
17916         * LyXAction.C:
17917         * buffer.C:
17918         * commandtags.h:
17919         * lyxfunc.C: use re-worked insetinclude
17920
17921 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17922
17923         * buffer.C: add using std::stringstream.
17924
17925         * lyx_cb.C: readd using std::ios.
17926
17927         * buffer.C: add using std::map.
17928
17929         * BufferView_pimpl.C: add using std::vector.
17930
17931         * ShareContainer.h: add std:: to swap.
17932
17933         * buffer.h: add some typedefs
17934         * buffer.C (getLists): use them
17935         (getLists): renamed from getTocList.
17936         add a counter for the different float types and use it in the
17937         generated string.
17938         (getLists): use the same counter for the NEW_INSETS and the "non"
17939         NEW_INSETS
17940
17941         * lyx_cb.h: remove unused items, includes, using etc.
17942
17943         * ShareContainer.h: remove some commented code, add more comments
17944         and "documentation".
17945
17946 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17947
17948         * buffer.C (getTocList): make the list also when NEW_INSETS is
17949         defined.
17950
17951         * buffer.h: remove TocType
17952
17953         * buffer.C (getTocList): change to return a map<string,
17954         vector<TocItem> >, implement for dynamic number of list.
17955
17956         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17957         * text2.C (PasteSelection): adjust
17958         * CutAndPaste.C (pasteSelection): adjust
17959
17960         * FloatList.C (FloatList): update from the new_insets branch.
17961         * Floating.[Ch]: ditto
17962         * LaTeXFeatures.C: ditto
17963         * buffer.C: ditto
17964         * lyxlex_pimpl.C: ditto
17965
17966         * paragraph.C (Last): remove when NEW_INSETS is defined.
17967
17968         * other file: changes because of the above.
17969
17970 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17971
17972         * lyxparagraph.h: rename next to next_, previous to previous_,
17973         make them private for NEW_INSETS. Rename Next() to next(),
17974         Previous() to previous().
17975
17976         * other files: changes because of the above.
17977
17978 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17979
17980         * BufferView.h:
17981         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17982         problem.
17983
17984 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17985
17986         * main.C (main): pass lyx_localedir to gettext_init().
17987
17988         * gettext.h: remove locale_init and gettext_init macros
17989
17990         * gettext.C (locale_init): new function
17991         (gettext_init): new function
17992
17993         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17994         setlocale().
17995
17996 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17997
17998         * Moved credits to frontends:
17999         * credits.[Ch]: removed
18000         * credits_form.[Ch]: removed
18001         * lyx_gui_misc.C: remove credits stuff
18002         * Makefile.am:
18003
18004 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18005
18006         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18007
18008         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18009         unneeded destructor.
18010
18011         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18012         a standalone pointer again.
18013
18014         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18015
18016 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18017
18018         * Makefile.am:
18019         * filedlg.h:
18020         * filedlg.C:
18021         * LyXAction.C:
18022         * ToolbarDefaults.C:
18023         * bufferlist.C:
18024         * commandtags.h:
18025         * form1.C:
18026         * form1.h:
18027         * lyx_cb.C:
18028         * lyx_cb.h:
18029         * lyxfunc.h:
18030         * lyxfunc.C:
18031         * BufferView_pimpl.C: use new file dialog in GUII
18032
18033         * lyx_cb.h:
18034         * lyx_cb.C: remove LayoutsCB to Toolbar
18035
18036 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18037
18038         * ShareContainer.h (get): add std:: qualifier
18039
18040 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18041
18042         * ShareContainer.h: define a proper ShareContainer::value_type
18043         type (and use typename to please compaq cxx)
18044
18045 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18046
18047         * lyxparagraph.h: move serveral local vars to
18048         ParameterStruct/ParagraphParameters., use ShareContainer in
18049         FontTable., make vars in FontTable private and add getter and
18050         setter.
18051
18052         * paragraph.C: changes because of the above.
18053
18054         * lyxfont.h: remove copy constructor and copy assignment. (the
18055         default ones is ok), move number inside FontBits. move inlines to
18056         lyxfont.C
18057
18058         * lyxfont.C: add number to initializaton of statics, move several
18059         inlines here. constify several local vars. some whitespace
18060         cleanup. Dont hide outerscope variables.
18061
18062         * Spacing.h: add two new constructors to match the set methods.
18063
18064         * ShareContainer.h: new file, will perhaps be moved to support
18065
18066         * ParameterStruct.h: new file
18067
18068         * ParagraphParameters.h: new file
18069
18070         * ParagraphParameters.C: new file
18071
18072         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18073         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18074
18075         * BufferView_pimpl.C: ParagraphParameter changes.
18076         * buffer.C: Likewise.
18077         * bufferview_funcs.C: Likewise.
18078         * text.C: Likewise.
18079         * text2.C: Likewise.
18080
18081 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18082
18083         * lyxfind.C (LyXReplace): do not redefine default argument in
18084         implementation.
18085         (IsStringInText): ditto
18086         (SearchForward): ditto
18087         (SearchBackward): ditto
18088
18089 2001-03-06  Juergen Vigna  <jug@sad.it>
18090
18091         * lyxfind.C (IsStringInText): put parentes around expressions.
18092
18093 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18094
18095         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18096
18097 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18098
18099         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18100
18101         * stl_string_fwd.h: add comment
18102
18103         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18104
18105         * tabular.h:
18106         * tabular.C: remove unused DocBook methods
18107
18108         * intl.C:
18109         * language.C:
18110         * paragraph.C:
18111         * buffer.C:
18112         killed DO_USE_DEFAULT_LANGUAGE
18113
18114 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18115
18116         * lyx_gui.C: do not include language.h.
18117
18118         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18119         arguments in function implementation.
18120
18121 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18122
18123         * BufferView_pimpl.C: add <ctime>
18124
18125 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18126
18127         * BufferView_pimpl.C: add using std::find_if
18128
18129 2001-02-27  José Matos  <jamatos@fep.up.pt>
18130
18131         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18132         by OnlyPath.
18133
18134 2001-02-11  José Matos  <jamatos@fep.up.pt>
18135
18136         * buffer.C (makeDocBookFile): command styles now have a parameter as
18137         "title" by default.
18138
18139 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18140
18141         * layout_forms.[Ch]: removed
18142         * lyx_cb.[Ch]: out character
18143         * lyx_gui.C: out character
18144         * lyx_gui_misc.C: out character
18145         * bufferview_funcs.C: : out character,
18146         added toggleall as parameter in ToggleAndShow
18147
18148 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18149
18150         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18151
18152         * text2.C (SetCurrentFont): Disable number property at boundary.
18153
18154 2001-02-26  Juergen Vigna  <jug@sad.it>
18155
18156         * lyxfunc.C (getStatus): added a string argument override function so
18157         that this is correctly called from LyXFunc::Dispatch if it contains a
18158         do_not_use_argument which is used!
18159         (Dispatch): added check for "custom" export and call appropriate func.
18160
18161 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18162
18163         * lyxrc.C: Add language_command_local, language_use_babel and
18164         language_global_options.
18165
18166         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18167
18168         * buffer.C (makeLaTeXFile): Use language_use_babel and
18169         language_global_options.
18170
18171 2001-02-23  Juergen Vigna  <jug@sad.it>
18172
18173         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18174         which works with LyXText and putted it inside BufferView. Here now we
18175         only call for that part the BufferView::Dispatch() function.
18176
18177         * BufferView.C (Dispatch): added.
18178
18179         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18180         functions which needs to use a LyXText over from LyXFunc.
18181         (MenuInsertLyXFile): added
18182         (getInsetByCode): added
18183         (moveCursorUpdate): added
18184         (static TEXT): added
18185
18186 2001-02-22  Juergen Vigna  <jug@sad.it>
18187
18188         * BufferView_pimpl.C (update): call a status update to see if LyXText
18189         needs it.
18190
18191 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18192
18193         * vc-backend.C (revert): implement for CVS
18194         (getLog): implement for CVS
18195
18196 2001-02-20  Juergen Vigna  <jug@sad.it>
18197
18198         * text2.C (ClearSelection): added BufferView param for inset_owner call
18199
18200         * lyxfunc.C (TEXT): added this function and use it instead of
18201         directly owner->view()-text of getLyXText().
18202
18203 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18204
18205         * src/layout_forms.C: out preamble
18206         * src/layout_forms.h: out preamble
18207         * src/lyx_cb.C: out preamble
18208         * src/lyx_cb.h: out preamble
18209         * src/lyx_gui.C: out preamble
18210         * src/lyx_gui_misc.C: out preamble
18211         * src/lyxfunc.C: connect with guii preamble
18212
18213 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18214
18215         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18216
18217 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18218
18219         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18220         whether to run bibtex.
18221
18222 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18223
18224         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18225
18226 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18227
18228         * Makefile.am (lyx_SOURCES): removed bibforms.h
18229
18230         * vspace.h: doxygen
18231
18232         * text.C (GetVisibleRow): make several local vars const
18233
18234         * tabular.C: small cleanup.
18235
18236         * lyxserver.C (callback): use compare instead of strncmp
18237
18238         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18239         inlines to after class or to paragraph.C
18240
18241         * lyxfont.h: remove friend operator!=
18242
18243         * converter.h: move friend bool operator< to non friend and after
18244         class def.
18245
18246         * combox.h: small cleanup
18247
18248         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18249         to inlines after class def.
18250
18251         * buffer.C (pop_tag): use string operations instead of strcmp
18252
18253         * bmtable.c: doxygen, small cleanup
18254
18255         * LaTeX.h: remove friend operator==
18256
18257 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18258
18259         * screen.C:
18260         * lyxrc.[Ch]:
18261         * lyxfunc.C:
18262         * lyxfont.[Ch]:
18263         * lyx_cb.C:
18264         * intl.[Ch]:
18265         * commandtags.h:
18266         * buffer.C:
18267         * WorkArea.[Ch]:
18268         * LyXAction.C:
18269         * BufferView_pimpl.C:
18270         * BufferView.[Ch]: remove cruft
18271
18272 2001-02-14  Juergen Vigna  <jug@sad.it>
18273
18274         * lyxfunc.C: removed #if 0 unused code
18275
18276         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18277
18278         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18279
18280         * text2.C (SetSelection): added a BufferView * parameter
18281
18282 2001-02-13  Juergen Vigna  <jug@sad.it>
18283
18284         * lyxfunc.C (Dispatch): fixed protected blank problem.
18285         * BufferView2.C (protectedBlank): added LyxText * parameter.
18286
18287         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18288         (AppendColumn): same as above for column_info.
18289
18290         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18291         (moveCursorUpdate): use a LyXText param for support of InsetText.
18292
18293         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18294         (tripleClick): ditto
18295
18296         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18297
18298         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18299
18300         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18301
18302         * text2.C (SetSelection): set correct update status if inset_owner
18303         (ToggleFree): ditto
18304
18305 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18306
18307         * tabular.C: remove some commented code.
18308
18309 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18310
18311         * BufferView_pimpl.C: call hideSplash()
18312
18313         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18314
18315         * include_form.h:
18316         * bibforms.h: remove
18317
18318         * lyxfunc.C:
18319         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18320           add LFUN_CHILD_CREATE
18321
18322         * counters.h: fix tiny typo
18323
18324         * lyx_cb.C:
18325         * lyx.h:
18326         * lyx_gui.C:
18327         * lyx.C: move splash to frontends/xforms/
18328
18329         * lyx_gui_misc.C: move Include and Bibform to frontends
18330
18331         * lyxvc.h: clarify comment
18332
18333         * vspace.C: tiny housekeeping
18334
18335 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18336
18337         * text.C (PrepareToPrint): RTL Fix.
18338
18339         * paragraph.C (GetUChar): New method.
18340         (String):  Use GetUChar.
18341
18342         * buffer.C (asciiParagraph): Use GetUChar.
18343
18344 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18345
18346         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18347
18348 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18349
18350         * buffer.h:
18351         * buffer.C: rename to getLogName(), handle
18352           build log / latex log nicely
18353
18354 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18355
18356         * MenuBackend.C:
18357         * MenuBackend.h: remove support for reference menuitem type.
18358
18359 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18360
18361         * BufferView_pimpl.C: housekeeping
18362         * BufferView_pimpl.h:
18363         * LyXView.h:
18364         * Makefile.am:
18365         * Timeout.C:
18366         * Timeout.h:
18367         * minibuffer.h: move Timeout GUI-I
18368
18369 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18370
18371         * lyxrc.C (read): Update converters data-structures.
18372
18373 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18374
18375         * LaTeX.h (operator!=): add operator != for Aux_Info
18376
18377 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18378
18379         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18380
18381         * LaTeXLog.C: deleted, useful code moved to Buffer
18382
18383         * buffer.h:
18384         * buffer.C: new function getLatexLogName()
18385
18386         * lyx_gui_misc.C:
18387         * lyx_gui.C:
18388         * lyxvc.C:
18389         * lyxvc.h:
18390         * lyxfunc.C: use frontends for LaTeX and VC logs
18391
18392 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18393
18394         * LaTeX.h: yet another std:: that Allan forgot.
18395
18396         * Variables.C (set): renamed from isset(), because this clashes
18397         with some HP-UX macros (grr).
18398
18399 2001-02-06  Allan Rae  <rae@lyx.org>
18400
18401         * LaTeX.h: Another bug fix.  Missing std:: this time.
18402
18403 2001-02-04  Allan Rae  <rae@lyx.org>
18404
18405         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18406         floats problem. I've left it commented out because it's not quite
18407         correct.  It should also test that the current object is a table or
18408         figure inset.  But I haven't gotten around to figuring out how to do
18409         that.  I *think* it'll be something like: "table" == inset.type()
18410
18411         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18412         bool.
18413
18414 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18415
18416         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18417         all the citation/databases/styles in the auxilary file.
18418         (run): Rerun latex if there was a babel language error.
18419
18420 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18421
18422         * text.C (Backspace): Preserve the font when changing newline char
18423         with a space.
18424         (BreakParagraph): If the cursor is before a space, delete the space.
18425
18426         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18427
18428 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18429
18430         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18431         new argument (code).
18432         (ChangeCitationsIfUnique): New method.
18433
18434         * paragraph.C (GetPositionOfInset): Handle bibkey.
18435
18436 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18437
18438         * BufferView_pimpl.h: change type of Position::par_pos to
18439         LyXParagraph::size_type.
18440
18441 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18442
18443         * BufferView_pimpl.C (savePosition, restorePosition): Write
18444         messages to minibuffer.
18445
18446 2001-01-28  José Matos  <jamatos@fep.up.pt>
18447
18448         * buffer.C (makeDocBookFile): adds support for document language.
18449         A silly restriction on the name of LatexCommand types where removed.
18450         Added support for CDATA sections, allows to chars unescaped, used
18451         among others in code, to avoid escape < and >.
18452
18453 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18454
18455         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18456         saved positions instrad of a stack. Furthermore, a position is
18457         stored using paragraph id/paragraph position.
18458
18459         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18460         Remove LFUN_REF_BACK.
18461
18462 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18463
18464         * converter.C (dvipdfm_options): New method.
18465
18466 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18467
18468         * vspace.C (isValidLength): Fix for empty input string.
18469
18470 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18471
18472         * LyXAction.C (init): change description of LFUN_FIGURE to
18473         "Insert Graphics"
18474
18475 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18476
18477         * LaTeX.C: add using directive
18478
18479 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18480
18481         * MenuBackend.C (expand): Fix the sorting of the formats.
18482
18483 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18484
18485         * lyx_main.C: tiny error message fix
18486
18487 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18488
18489         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18490         calling fl_initialize(). This fixes the problem with ',' as
18491         decimal separator in text files.
18492
18493 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18494
18495         * trans.C (process): Fix the keymap bug.
18496
18497 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18498
18499         * LaTeX.C (scanAuxFiles): New method. Provides support for
18500         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18501         (scanLogFile) Scan for "run BibTeX" messages.
18502
18503         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18504         OT1 font encoding. Also, load the aecompl package if the ae
18505         package is loaded.
18506
18507         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18508
18509 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18510
18511         * texrow.C (increasePos): turn two error messages into debug
18512         messages.
18513
18514 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18515
18516         * LaTeX.C (scanAux): Handle the \@input macro.
18517         (runBibTeX): Use scanAux().
18518
18519         * language.C (latex_options_): New field.
18520
18521         * LaTeXFeatures.C (getMacros): Add language macros.
18522
18523         * buffer.C (makeLaTeXFile): Small fix.
18524
18525 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18526
18527         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18528
18529         * text2.C: add a using directive.
18530
18531 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18532
18533         * BufferView2.C:
18534         * lyx_gui_misc.h:
18535         * lyxfr1.C:
18536         * lyxfunc.C: kill LyXBell.
18537
18538 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18539
18540         * text.C (IsBoundary): Remove the error message
18541
18542         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18543
18544         * lyxrc.C (setDefaults): Correct initialization value for
18545         font_norm_type.
18546
18547 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18548
18549         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18550         gotoError().
18551
18552         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18553         and GotoNextNote().
18554
18555         * src/LyXAction.C: Added reference-next.
18556
18557         * text.C (InsertChar): Use contains instead of strchr.
18558
18559         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18560
18561 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18562
18563         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18564         alignment commands (when needed).
18565
18566         * text.C (InsertChar): Add ':' to number separator chars.