]> git.lyx.org Git - features.git/blob - src/ChangeLog
22ab20f2da47e2d05d88c53de4fc84e27b235095
[features.git] / src / ChangeLog
1 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
4
5 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
6
7         * exporter.C: fix typo in text message
8
9 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
10
11         * text2.C (setLayout): move recUndo call to other setLayout method
12         * tabular.C (toggleFixedWidth): new, handle cell width changes
13         * tabular.C (setColumnPWidth): move some code from insettabular.C here
14         and use toggleFixedWidth
15         * tabular.C (setMColumnPWidth): ditto
16
17 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
18
19         * paragraph.C (asString): use new inset->textString method (fix bug 2089)
20
21 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * CutAndPaste.C (numberOfSelections): new helper function.
24
25         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
26
27         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
28         LyXFunc::getStatus; implement LFUN_PASTE.
29
30 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
31
32         * dociterator.[Ch]: new member realInset() that returns the cell
33         for tabulars and the inset for the rest (bug 1952).
34         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
35         (bug 1952).
36
37 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
40
41 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
42
43         * lyxfunc.C:
44         * paragraph.C:
45         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
46         argument.
47
48 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
51         line after typing ctrl-enter
52
53 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
54
55         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
56         math insets do not return a proper editable() state yet (bug 2124).
57
58 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
61         docs containing very large paragraphs.
62
63 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
64
65         * cursor.C (selectionBegin, selectionEnd):
66         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
67         cursor at different depths.
68
69 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
70
71         * bufferview_funcs.C (coordOffset): do not call cursorPos
72         for collapsed collapsables (fix bug 2094).
73
74 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
75
76         * paragraph.C (fontSpan): make sure that the FontSpan does not
77         span across beginOfBody (bug 1947).
78
79 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
80
81         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
82
83 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
84
85         * messages.C: fix crash and localization on MinGW/Windows platform
86
87 2005-11-02  Angus Leeming  <leeming@lyx.org>
88
89         * Bidi.C:
90         * lyxtextclass.C: trivial fixes to some MSVS warnings.
91
92 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * text3.C (getStatus): re-enable disabled code. (bug 2081)
95
96         * BranchList.h (empty): constify.
97
98 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * text3.C (getStatus): 
101         * MenuBackend.C (expandBranches): take the branch list from the
102         master document (bug 2092).
103         
104         * MenuBackend.C (expandBranches): 
105         * bufferparams.C (writeFile): use BranchList type.
106
107 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * text3.C (dispatch, getStatus): 
110         * LyXAction.C (init): 
111         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
112
113 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
116
117 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * text.C (insertChar): do not reset boundary (bug 2061)
120
121 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         * dociterator.C (updateInsets): new method. Updates the inset_
124         cache of all the slices of the iterator.
125
126         * text2.C (deleteEmptyParagraphMechanism): compare also containing
127         insets when comparing pit/pos; pass the right cursor to
128         recordUndo; when a paragraph has been deleted, compare `old.top()' to
129         the right cursor slice of `cur'; use updateInsets on cur to make
130         sure that the inset caches are correct; general cleanup.
131
132 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
135         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
136         containg inset. If this does not work, the same command will be
137         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
138
139         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
140         a dispatch.
141
142 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
143
144         * lyxtextclass.C (Read): convert layout file if the format is wrong
145         * lyxtextclass.C (layout2layout): new, needed for the above
146
147 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * messages.C: do not forget to include <cerrno>.
150
151 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
152
153         * dociterator.h (StableDocIterator): add access to pos().
154         * undo.C (samePar): new method to check if two
155         iterators are in the same paragraph
156         * undo.C (recordUndo): check for samePar instead of cell identity
157         (which includes pos() and is too strict) (fixes bug 2097)
158
159 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * text.C (setCursorFromCoordinates): return a bool telling whether
162         dEPM triggered.
163
164         * text3.C (cursorPrevious): update if needed after
165         setCursorFromCoordinates (when dEPM triggered).
166
167         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
168         (otherwise the anchor may be completely wrong and make dEPM assert).
169
170 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
171
172         * buffer.C: version upgrade to 245.
173         * bufferparams.C: remove \quotes_times (bug 2090).
174         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
175         quotation marks as default.
176
177 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
178
179         * CutAndPaste.C (nrOfParagraphs): remove (unused)
180         * CutAndPaste.C (cutSelection): Remove debug message
181         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
182         undo information and only copy if this is a real cut
183         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
184         call
185         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
186         (bug 2059)
187         * CutAndPaste.C (eraseSelection): prevent cursor corruption
188         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
189         superflous cur.selection() setting
190         * CutAndPaste.[Ch] (grabSelection): take a const cursor
191         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
192
193 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
194
195         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
196         change anything.
197
198 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
199
200         * BufferView_pimpl.C: comment layout change
201
202 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
203
204         * LyXAction.C:
205         * lfuns.h:
206         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
207         by bibliography managers (bug 2071).
208
209 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
210
211         * BufferView_pimpl.C (update): choose arguments to update call so
212         that single-par update works most times
213         * text3.C (dispatch): carefully tune updating separately for
214         whole-screen and current-paragraph
215         * rowpainter.C (paintText): 1) replace painting by caching for
216         the two extra paragraphs, because we can;
217         2) suppress greying out of areas below/above drawn area in case of
218         single-par refresh
219         * lyxfunc.C (dispatch): remove superfluous update
220         * LyXAction.[Ch]: introduce SingleParUpdate
221
222 2005-10-05  Angus Leeming  <leeming@lyx.org>
223
224         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
225         always initialised before use.
226
227         * text.C (setHeightOfRow): squash warning about comparison
228         of signed and unsigned types.
229
230 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
231
232         * text.C (cursorX): two fixes involving RtL text drawing
233
234 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
235
236         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
237         items, not only large ones (part of bug 2057)
238
239 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
240
241         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
242         argument, use "newcommand".
243
244 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
245
246         * cursor.C (setSelection): do not open collapsable insets;
247         the insets do by themselves now (autoopen).
248
249 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
250
251         * buffer.C: format is up to 244.
252
253 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
254
255         * text.C (redoParagraph): fix calcultation of inset width wrt 
256         leftMargin (bug 1957).
257
258         * text3.C (dispatch): leave inset to the right when hitting ESC 
259         (bug 2034).
260
261 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * text2.C: 
264         * text.C: 
265         * factory.C:
266         * messages.C: include <boost/current_function.hpp> 
267
268 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
271         when command is internal. (bug 1941)
272
273 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * text2.C (cursorRight): do not honor boundary when at the end of
276         a paragraph. (bug 2010 again)
277
278 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
281
282 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
283
284         * rowpainter.C (paintText): fix RtL space width display bug (2029)
285
286 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * text2.C (setCursor): remove the unused 'boundary' parameter for
289         the CursorSlice version; adapt the LCursor version.
290
291         * lyxrc.C (write): 
292         * paragraph_pimpl.C (markErased): 
293         * cursor.C (bruteFind2, bruteFond3): fix warnings.
294
295 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
298         as is already done for "chapter".
299
300 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
303         textclass; do not record undo if nothing is changed.
304
305 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
306
307         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
308
309 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
310
311         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
312
313 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
316         combox, it is necessary to search for the topmost paragraph in the
317         cursor stack (bug 1926)
318
319 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
320
321         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
322         end of paragraph. (bug 2010)
323
324 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
325
326         * text.C (leftMargin): check for inInset == 0
327
328 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
329
330         * text.C (leftMargin): test for insetbase's new neverIndent()
331         bool instead of listing each and every inset that does not
332         wish par indendation.
333
334 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * buffer_funcs.C (setCounter): put the code to compute enum label
337         here (where it belongs).
338
339         * counters.C (enumLabel): move code to buffer_funcs.C.
340
341 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
342
343         * outputparams.[Ch]: store local_font instead of local_language
344         * paragraph.C (simpleTeXOnePar): adapt to the change above
345
346 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
347
348         * buffer_funcs.C:
349         * counters.[Ch]: clean up special code for Hebrew.
350
351 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
354         than 2.
355
356 2005-09-08  Angus Leeming  <leeming@lyx.org>
357
358         * ispell.C:
359         * lyxrc.C: correct grammar describing invocation of the
360         spellchecker.
361
362 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * text.C (read): remove unused variable.
365         (readParToken): remove static Change variable (never good in
366         recursive settings...); add it as a parameter instead.
367
368         * paragraph_pimpl.C (acceptChange): make debug info conditional.
369
370         * metricsinfo.C (PainterInfo): add new member erased_.
371
372         * rowpainter.C (RowPainter): add erased_ member, initialized from
373         PainterInfo. 
374         (paintInset): pass erased_ to Inset::draw.
375
376         * lyxfunc.C (lookupChange): new function. Tells whether change 
377         tracking is disabled at a given postion.
378         (getStatus): disable some actions when in deleted text with change
379         tracking. 
380
381 2005-08-03  John Levon  <levon@movementarian.org>
382         
383         * tabular.C (appendColumn, setMultiColumn): adapt to change to
384         InsetText::clear().
385
386         * paragraph_pimpl.C (markErased): add bool argument and handle it.
387         Also make sure to mark insets recursively.
388         (rejectChange, erase): be recursive
389
390         * paragraph.C (markErased): add bool argument.
391 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * lyxfind.C (findNextChange): tiny cleanup.
394
395         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
396         change tracking with the cursor in an inset; make sure the first
397         change is not skipped.
398
399 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
400
401         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
402         tabularStackDirty to work around bug 1919 (tabular needs
403         to know whether its own cell paste buffer or the one of 
404         texted is newer.
405         * CutAndPaste.C: mark tabular_stack_ clean after copy.
406
407 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
408
409         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
410
411 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
412
413         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
414         use old deleteion algorithm when changetracking is on.
415
416 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
417
418         * messages.C (get): add debug output.
419
420 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
421
422         * text.C (cursorX): fix bug 1965: cursor movement at
423         line end broken in RtL.
424         (drawSelection): fix bug 1970: drawing of single-line 
425         selection broken for RtL.
426
427 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         bug 465.
430
431         * dociterator.h (clear, push_back, pop_back): change from
432         protected to public.
433
434         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
435         and changed to just return the value of the item depth; take a
436         ParIterator as argument; take the itemdepth at outer nesting level
437         in account if necessary; cleanup and comment the code.
438         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
439         and changed to just return true if reset is needed; take a
440         ParIterator as argument; cleanup and comment the code.
441         (setCounter): adapt to above changes.
442
443 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * text3.C (dispatch): make debug message optional
446
447 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
450         inset. (bug 1963)
451
452 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
455
456 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
457
458         * text.C (insertChar):
459         * text2.C (deleteEmptyParagraphMechanism): take care whether 
460         a blank has been deleted (in change tracking mode) (bug 1254).
461
462 2005-07-20  John Levon  <levon@movementarian.org>
463
464         * text2.C (insertStringAsLines): remove old dubious code,
465         fixing bug 1939.
466
467 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
468
469         * MenuBackend.C (expandToc): use Floating::listName() as title of
470         the floats submenus.
471
472 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
473
474         * toc.[Ch]: Do not use translatable strings (bug 1870).
475
476 2005-07-20  John Levon  <levon@movementarian.org>
477
478         * tabular.C: fix 1748 - setting multicolumn adds
479           left line to the first cell
480
481 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
482
483         bug 1920
484         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
485         pars in one go.
486
487 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
488
489         * messages.C: supress some lyxerr messages
490
491 2005-07-18  Juergen Vigna  <jug@lyx.org>
492
493         * text.C (drawSelection): honor boundary when asking for cursorX.
494
495 2005-07-17  José Matos  <jamatos@fc.up.pt>
496
497         * tabular.C (recalculateMulticolumns): fix handling of one column
498         tables.
499
500 2005-07-17  Juergen Vigna  <jug@lyx.org>
501
502         * text.C (Delete, backspace): fixed so that paragraph with the
503         same layout can be merged by Delete/Backspace.
504
505 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
506
507         * text.C (readParToken): fix spelling.
508
509 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
510
511         * text2.C: fix counter update for DEPM problem reported by
512         Georg Baum
513
514 2005-07-17  Juergen Vigna  <jug@lyx.org>
515
516         * BufferView_pimpl.C (setBuffer): save/restore the
517         cursor/selection when switching buffers
518
519         * buffer.h: 
520         * buffer.C (saveCursor): add saveDocumentIterators to save the
521         cursor when switching buffer.
522
523 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
524
525         * debug.C: fix typo
526         * buffer.C: clarify message
527         
528 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
529
530         * dociterator.C (DocIterator): fix initialization order
531
532 2005-07-17  Juergen Vigna  <jug@lyx.org>
533
534         * text2.C (cursorHome): 
535         * text.C (drawSelection, cursorX): 
536         * dociterator.C (textRow): add boundary to getRow() call
537
538         * paragraph.C (getRow): implementation of below
539
540         * paragraph.h: add parameter boundary for getRow() function
541
542 2005-07-17  José Matos  <jamatos@fc.up.pt>
543
544         * buffer.C:
545         * bufferparams.[Ch]:
546         * tex-strings.[Ch]: new file format, remove support for a4.sty,
547         a4wide.sty and a4widemargins.
548
549 2005-07-17  Juergen Vigna  <jug@lyx.org>
550
551         * text2.C (cursorLeft): fix one of error
552
553 2005-07-17  Juergen Vigna  <jug@lyx.org>
554
555         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
556                    cursorEnd):
557         more fixes for boundary handling
558
559         * text3.C (dispatch): don't reset cursor if boundary has changed
560         on cursor movement.
561
562 2005-07-16  Juergen Vigna  <jug@lyx.org>
563
564         * text2.C (getColumnNearX): hopefully got it right now,
565         check if we are on column 0 for special case.
566
567 2005-07-16  Juergen Vigna  <jug@lyx.org>
568
569         * text2.C (getColumnNearX): handle special case Newline Inset
570
571         * text.C (singleWidth): Just remove bogus check
572
573 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
574
575         * funcrequest.C (split): avoid reading uninitialized char c
576
577 2005-07-16  José Matos  <jamatos@fc.up.pt>
578
579         * buffer.C:
580         * converter.C:
581         * lyxrc.C:
582         * paper.h:
583         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
584         single papersize variable.
585
586 2005-07-16  Juergen Vigna  <jug@lyx.org>
587
588         * text3.C (dispatch): honor boundary when checking if a cursor
589         movement has been done
590
591         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
592         (setCursor, setCursorIntern): fix cursor movement with boundary
593
594 2005-07-16  Juergen Vigna  <jug@lyx.org>
595
596         * text.C (currentState): output the actual Boundary
597
598 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * factory.C (createInset): fix bad logic for tabular creation
601
602 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
603
604         * lyx_main.C (init): change some reLyX reference to tex2lyx
605
606 2005-07-16  Juergen Vigna  <jug@lyx.org>
607
608         * dociterator.C (DocIterator): initialize boundary
609
610 2005-07-16  Juergen Vigna  <jug@lyx.org>
611
612         * text2.C (getColumnNearX): Consider rows without trailing blank.  
613
614 2005-07-16  André Pönitz  <poenitz@gmx.net>
615
616         * lyxfont.h: Change order of declarations to give the compiler
617         a better chance to inline things
618
619         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
620         questions on unsaved docs for better scritability
621
622 2005-07-16  André Pönitz  <poenitz@gmx.net>
623
624         * paragraph.h (getChar): remove asserts as the same kind of security
625         can be achieved by using a suitable standard library implementation
626         and the function was in the critical path (25.9% in profiler)
627
628 2005-07-16  Juergen Vigna  <jug@lyx.org>
629
630         * cursor.C (bruteFind2):
631         * bufferview_funcs.C (coordOffset): 
632         * text.C (cursorX,cursorY): Handle cursor position after last char
633         in row before a inset which uses a whole row.
634
635 2005-07-15  José Matos <jamatos@lyx.org>
636
637         * output_plaintext.[Ch] (writeFileAscii): control reference title
638         printing.
639         (asciiParagraph): noparbreak was already deal and was incorrectly
640         used.
641
642 2005-07-15  Juergen Vigna <jug@lyx.org>
643
644         * lyxfunc.C (dispatch): save and restore the cursor after a
645         textclass switch.
646
647 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
648
649         * text.C (backspace): bug 806 for empty keepempty paragraphs we
650         change the layout to default before letting DEPM do its thing.
651
652         * paragraph_funcs.C (breakParagraph): dont reset the layout on
653         keepEmpty paragraphs
654
655         * text.C (setCursorFromCoordinates): add a debug statement
656
657         * text2.C (getColumnNearX): bug 1825 make sure that we don't
658         return a pos that is not on the row
659
660         * output_latex.C (TeXDeeper): get rid of potential dereferencing
661         of past the end iterator
662
663 2005-07-14  André Pönitz  <poenitz@gmx.net>
664
665         * undo.C (recordUndoFullBuffer): implement undo for
666         textclass switches
667
668 2005-07-14  André Pönitz  <poenitz@gmx.net>
669
670         * cursor.C (setSelection): open insets when selection is set there
671         to avoid crashs with cold coord cache
672
673 2005-07-14  André Pönitz  <poenitz@gmx.net>
674
675         * trans_mgr.C (insert): move cursor to the right after inserting
676         a char.
677
678 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
679
680         * BufferView_pimpl.C (update): dampen some of the debug blabbering
681         * factory.C (readInset): ditto
682         * text.C, text2.C: ditto
683
684 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685
686         * buffer.C: format incremented to 242. There is no file format per
687         se, but the "frenchb" language has been removed from lib/language
688         and has to be translated to "french" by lyx2lyx.
689
690 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
691
692         * cursor_slice.h, dociterator.h: add some documentation
693         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
694
695 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
696
697         * text.C (leftMargin): do not add identation to display() style
698         insets, because they are always centered (bug 1293).
699
700 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
701
702         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
703         formatted_time methods in support/lyxtime.
704
705 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
706
707         * toc.[Ch]: new method getGuiName, which is used by the frontends 
708         to set the toc combo (fixes bug 1870). Make TOC string translatable.
709
710 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
711
712         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
713         StableDocIterator const &)
714         * undo.C (recordUndo): use the above instead of cell.size() comparison
715         (fixes bug 1808; instructed by Andr�.
716
717 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
718
719         * cursor_slice.h: 
720         * dociterator.h: Fix the assert when copying rows/cols in math
721
722 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
723
724         * BufferView_pimpl.C:
725         * LyXAction.C:
726         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
727
728         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
729         (findInset): new functions, refactored from goto Inset that return 
730         the position of a certain inset without setting the buffer's cursor
731         (by Jean-Marc); 
732         (gotoInset): rewrite to call findInset and then set the cursor
733         (by Jean-Marc).
734
735 2005-06-16  Angus Leeming  <leeming@lyx.org>
736
737         * lyxrc.C (output, read): wrap all input and output of paths with
738         calls to os::internal_path and os::external_path, respectively.
739         (output): wrap bind_file inside quotes.
740
741         * format.C (view): enable the viewer to use the '$$s' placeholder.
742
743 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
744
745         * LColor.[Ch] (getFromLaTeXName): new
746
747 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
748
749         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
750
751 2005-06-14  Angus Leeming  <leeming@lyx.org>
752
753         * lyx_main.C (init): ensure that the LyX binary dir is the first
754         element in the PATH on non-POSIX builds.
755
756 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
757
758         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
759
760 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
761
762         * rowpainter.C (paintInset, paintHebrewComposeChar)
763         (paintArabicComposeChar, paintChars): add a LyXFont argument.
764         (paintChars): use getFontSpan to reduce calls to getFont to a
765         minimum; use Paragraph::lookupChange instead of isXXXText.
766         (paintForeignMark): rename LyXFont argument.
767         (paintFromPos): pass a LyXFont object to the various paintXXX
768         methods.
769
770         * FontIterator.C (FontIterator, operator++): use
771         Paragraph::getFontSpan
772
773         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
774         version that returns the font span as a pair.
775
776 2005-06-09  Angus Leeming  <leeming@lyx.org>
777
778         * converter.C (convert): Don't forget "outfile = real_outfile" as
779         the final step in a conversion where the input and output file names
780         are the same. Otherwise, future conversion steps won't work...
781
782 2005-06-09  Angus Leeming  <leeming@lyx.org>
783
784         * lyxsocket.C: remove stub code as it isn't needed by
785         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
786
787 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
788
789         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
790         effectively disabled -x
791
792 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
793
794         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
795         when it actually makes sense.
796
797 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
798
799         * BufferView_pimpl.C: revert to showCursor in connection with
800         Lars's front-end stack
801
802 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
803
804         * text.C (redoParagraph): move cursor right after a bibitem
805         has been inserted.
806
807         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
808
809 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
810
811         * buffer_funcs.C (bufferErrors): fix computation of the end of an
812         error range.
813
814 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
815
816         * BufferView.[Ch] (update):
817         * BufferView_pimpl.[Ch] (update, metrics):
818         * dimension.h (operator==):
819         * lyxfunc.C (dispatch):
820         * metricsinfo.h (ViewMetricsInfo):
821         * rowpainter.C (paintText):
822         * lyxtext.h:
823         * text.C (redoParagraph):
824         * text3.C (dispatch): Make LyX only repaint current paragraph in
825         case of character insert --> speedup. Also fix cursor draw
826         artifacts
827
828 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
829
830         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
831         avoid a crash (bug 1891)
832
833 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
834
835         Fix bug 1892:
836
837         * text2.C (getStringToIndex): constify cur argument.
838
839         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
840         argument has been given
841         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
842         try to invoke LFUN_INSET_APPLY).
843
844         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
845         if no inset was created by doInsertInset
846         (doInsertInset): return true if an inset has been inserted.
847
848 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
849
850         * vspace.C (asGUIName): new method. A version of the space
851         suitable for showing on screen.
852
853 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
854
855         * MenuBackend.C:
856         * lyxrc.C: rename "ASCII" to "Plain Text"
857
858 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * buffer_funcs.C (expandLabel): take a Buffer as argument;
861         translate the labelstring.
862         (setCounter): translate labelstring as needed.
863
864         * output_docbook.C (makeCommand): fix expandLabel invokation
865
866 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
867
868         * BufferView.C: fix dialog title
869
870 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
871
872         * lyx_main.C (priv_exec): fix logic error with help from Angus
873         * lyx_main.C (parse_execute): set is_gui = false and remove now
874         obsolete comment about a segfault
875
876 2005-05-18  Angus Leeming  <leeming@lyx.org>
877
878         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
879
880 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
881
882         * tabular.[hC]: added setCellInset to fix tabular paste.
883
884 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
885
886         * buffer.C (save): check if destination is writable before trying
887         to copy a file
888
889 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
890
891         * BufferView_pimpl.C (update): fix processEvents -caused update
892         recursion bug
893
894 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
895
896         * buffer_funcs.C (setCounter): fix test for numbering of
897         environments.
898
899         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
900         depth correctly; use optional argument when it exists
901
902         * lyxtextclass.C: remove unused MaxCounterTags enum
903         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
904         (max_toclevel, min_toclevel): new methods.
905
906         * MenuBackend.C (expandToc2): fix case where depth is smaller than
907         the smallest depth in toc.
908
909         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
910         layouts that should not appear in a table of contents.
911
912 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
913
914         * cursor.h (undispatched, noUpdate): add comments from Andr�
915 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
916
917         * lfuns.h:
918         * LyXAction.C:
919         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
920
921 2005-05-07  André Pönitz  <poenitz@gmx.net>
922
923         * cursor.[Ch] (leaveInset): new function
924
925 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
926
927         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
928
929 2005-05-04  Angus Leeming  <leeming@lyx.org>
930
931         * lyxfunc.C (getStatus): disable the spell checker dialog if
932         none of USE_[AIP]SPELL are defined.
933
934 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
935
936         * tabular.C (setWidthOfCell): remove obsolete comment
937
938 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
939
940         * paragraph.C (bibitem):
941         * buffer_funcs.C (setCounter):
942         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
943
944 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
945
946         * text3.C (getStatus): immediately return after setOnOff
947
948         * rowpainter.C: fix drawing of appendix start
949
950 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
951
952         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
953         SwitchBetweenClasses and remove the unused return value.
954         Handle character styles, too
955
956 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
957
958         * factory.C (createInset): handle undefined character styles
959
960 2005-05-02  Angus Leeming  <leeming@lyx.org>
961
962         * buffer.C: protect the #include of utime.h with a preprocessor
963         guard.
964
965 2005-05-02  Angus Leeming  <leeming@lyx.org>
966
967         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
968         function so that auto-saving works, albeit in a blocking manner.
969
970         * Makefile.am: make compilation of the client sub directory, of
971         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
972         on conditionals set at configure time.
973
974         * SpellBase.[Ch]: no longer an abstract base class. Instead,
975         it can be compiled in its own right but has no-op functionality.
976
977         * aspell.C, pspell.C: remove preprocessor guards. The files should
978         be compiled only if the necessary functionality exists.
979
980         * lyxserver.C, lyxsocket.C: disable on Windows.
981
982 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
983
984         * text.C (leftMargin): Fix the parindent use bug (1764)
985         by dirty trick
986
987 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
988
989         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
990         argument.
991
992 2005-04-25  Angus Leeming  <leeming@lyx.org>
993
994         * Bidi.[Ch]:
995         * coordcache.[Ch]:
996         * ispell.C:
997         * lyxserver.C:
998         * mover.C:
999         * pch.h:
1000         include <config.h> in .C files, not .h ones.
1001         add licence blurb.
1002         protect headers inside preprocessor guards.
1003
1004 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1005
1006         * FuncStatus.h (StatusCodes): document
1007
1008 2005-04-21  André Pönitz  <poenitz@gmx.net>
1009
1010         * FuncStatus.h (enabled, onoff): document
1011
1012 2005-04-19  Angus Leeming  <leeming@lyx.org>
1013
1014         * BufferView_pimpl.C (cursorToggle): no longer test whether
1015         any child processes have been reaped before calling
1016         handleCompletedProcesses().
1017
1018 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1019
1020         * text3.C (dispatch): fix, finally fix, the language problem in
1021         new lyxtexts, without disabling on-the-fly font changes (Helge's
1022         bug report)
1023
1024 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1025
1026         * text3.C (dispatch): set cursor on double/triple click events
1027         (bug 1811)
1028
1029 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1030
1031         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1032         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1033
1034         * rowpainter.C (paintFirst): simplify the code a little bit. In
1035         particular, remove the test for secnumdepth.
1036         * text.C (setHeightOfRow): only allocate space for chapter number
1037         when updateCounters provided an actual label, instead of looking
1038         at secnumdepth directly.
1039
1040         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1041
1042         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1043         paragraphs when secnumdepth is large enough or, for environments,
1044         when they are not the first in a sequence.
1045
1046 2005-04-17  Angus Leeming  <leeming@lyx.org>
1047
1048         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1049         containing space and '~' characters with a call to latex_path().
1050
1051 2005-04-17  Angus Leeming  <leeming@lyx.org>
1052
1053         * converter.C (convert): protect all args of convertDefault.sh
1054         script with quotes.
1055
1056 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1057
1058         * text3.C (dispatch): change the layout to "Caption" after inserting
1059         a float.
1060
1061 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1062
1063         * text3.C (dispatch): fix language problem in newly created
1064         textinsets (and main text) in non-english docs
1065
1066 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1067
1068         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1069         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1070         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1071
1072 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1073
1074         * lyxtext.h:
1075         * text.C (metrics):
1076         * text2.C (getFont):
1077         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1078         fonts fix
1079
1080 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1081
1082         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1083         output of \item arguments without trailing text.
1084
1085 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * FontIterator.C (operator*): avoid a copy of the font.
1088
1089 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1090
1091         * rowpainter.C (getFont): fix language bug from previous fix
1092
1093 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1094
1095         * rowpainter.C (RowPainter, getFont): fix font inside inset
1096         (bugs 1766, 1809)
1097
1098 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1099
1100         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1101         preventing inserted font, deco, delim insets jumping to start of
1102         surrounding inset.
1103
1104 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1105
1106         * lyxfunc.C (dispatch): translate message before sending it to the
1107         minibuffer.
1108
1109 2005-03-29  Angus Leeming  <leeming@lyx.org>
1110
1111         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1112         to LyX on the command line.
1113
1114 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1115
1116         * vc-backend.C: use QuoteName to protect file names wherever
1117         necessary.
1118
1119 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1120
1121         * buffer.[Ch]:
1122         * BranchList.h: fix bugs 1844,1845: document settings don't
1123         stick
1124
1125 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1126
1127         * lyxrc.C (setDefaults, read, output, getDescription): add support
1128         for tex_allows_spaces.
1129
1130         * exporter.C (Export): allows files in directory containing spaces
1131         if tex_allows_spaces is true.
1132
1133         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1134         output it in double quotes.
1135
1136 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1137
1138         * rowpainter.C: use default text height for drawing change tracker
1139         strikeout lines.
1140
1141 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1142
1143         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1144
1145 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1146
1147         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1148         directory is missing.
1149
1150 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1151
1152         * text2.C: fixed the fix, extended to other case.
1153
1154 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1155
1156         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1157
1158 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1159
1160         * text2.C (cursorUp): get rid of a crash
1161         * text.C (x2pos): add an assert
1162
1163 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1166
1167         * text3.C:
1168         * lyxfunc.C:
1169         * dociterator.C: include <boost/current_function.hpp>, which is
1170         needed when assertions are disabled.
1171
1172 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1173
1174         * text2.C: fix for stuck cursor when traversing two
1175         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1176
1177 2005-02-25  Andreas Vox  <avox@arcor.de>
1178
1179         * output_docbook.C (makeParagraph): suppress trailing newline
1180         after a run of paragraphs
1181
1182 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1183
1184         * paragraph.C: fix for confused change tracker when pasting
1185         text that begins with a lineseparator. [bug 1827]
1186         (setChange(0, Change::INSERTED);)
1187
1188         * paragraph_funcs.C: fix for lost changes on triple-paste
1189         in change tracking mode [bug 1827] (par.setChange()).
1190
1191 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1192
1193         * text2.C (updateCounters, setCounter, expandLabel): move to
1194         buffer_funcs.
1195
1196         * buffer_funcs.C (updateCounters): turn into a free standing
1197         function and add a buffer parameter. Remove dead code for tracking
1198         labelstring change.
1199         (setCounter): change into a free-standing function which gets a
1200         dociterator as argument. Use this iterator to fix captions in a
1201         simple way. When no float is found above the caption, use the
1202         labelstring of the caption layout as default.
1203
1204         * text.C (breakParagraph, backspace):
1205         * text2.C (init, setLayout, changeDepth):
1206         * text3.C (dispatch):
1207         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1208         updateCounters.
1209
1210         * dociterator.C (forwardPar): make it much faster by calling
1211         forwardPos() only when really necessary.
1212
1213         * output_docbook.C (makeCommand): adapt to expandLabel move.
1214
1215         * cursor.C: remove unused variable
1216
1217 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1218
1219         * paragraph_funcs.C: fix crash when pasting insets in change
1220         tracking mode [bug 1277] (honour change type in moveItem).
1221
1222 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1223
1224         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1225
1226 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1227
1228         * BufferView.C (setCursor): change to use a DocIterator.
1229         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1230         (putSelectionAt): adapt to BufferView::setCursor change.
1231
1232         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1233         moved here from LyXText and rewritten to use proper cursor
1234         methods. Fixes bug 1787, 616 and 835.
1235
1236         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1237         when inside an inset (part of bug 781).
1238         (dispatch): adapt to change of BufferView::setCursor.
1239         (getStatus, dispatch): handle LFUN_GOTOERROR,
1240         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1241
1242         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1243         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1244         * text3.C (gotoNextInset, gotoInset): removed.
1245
1246 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1247
1248         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1249
1250 2005-02-15  Angus Leeming  <leeming@lyx.org>
1251
1252         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1253         can be used meaningfully in a comparison.
1254
1255 2005-02-13  André Pönitz  <poenitz@gmx.net>
1256
1257         * bufferview_funcs.C (coordOffset): improve cursor drawing
1258
1259 2005-02-13  André Pönitz  <poenitz@gmx.net>
1260
1261         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1262         * Cursor.C (dispatch): use fixIfBroken
1263         * lyxfunc.C (getStatus): use fixIfBroken
1264
1265 2005-02-15  Angus Leeming  <leeming@lyx.org>
1266
1267         * lyx_main.C (error_handler):
1268         * lyxfunc.C:
1269         * lyxrc.C (setDefaults):
1270         s/GetEnv/getEnv/.
1271         #include "environment.h".
1272
1273         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1274
1275 2005-02-15  Angus Leeming  <leeming@lyx.org>
1276
1277         * lyxserver.C (startPipe): squash MSVC warning "local variable
1278         'fd' used without having been initialized".
1279
1280 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1281
1282         * BufferView_pimpl.C: revert accidental commit.
1283
1284 2005-02-14  André Pönitz  <poenitz@gmx.net>
1285
1286         * dociterator.[Ch]: new member forwardPosNoDescent(),
1287         which doesn't enter nested insets.
1288         * text2.C (setFont): use forwardPosNoDescent() instead
1289         of ForwardPos() (fixes crash on font change).
1290
1291 2005-02-13  Angus Leeming  <leeming@lyx.org>
1292
1293         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1294         only if lyxrc.path_prefix is not empty.
1295
1296 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1297
1298         * bufferparams.C (readGraphicsDriver): prevent crash
1299
1300 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1301
1302         * text2.C (setCounter): check for inInset() == 0
1303
1304 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1307         but use update() to get correct screen display; use convert
1308         instead of istringstream.
1309         (getStatus): handle LFUN_GOTO_PARAGRAPH
1310
1311         * lyxfunc.C (dispatch, getStatus): do not handle
1312         LFUN_GOTO_PARAGRAPH here.
1313
1314 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1315
1316         * text3.C (dispatch): size() -> depth()
1317
1318         * text2.C: remove some debug output
1319
1320         * paragraph.C: ws changes only
1321
1322         * lyxfunc.C (getStatus): size() -> depth()
1323
1324         * dociterator.h (clear, push_back, pop_back, internalData,
1325         operator[], resize, empty): new functions
1326         Make StableDocIterator and operator== be friends. Don't inherit
1327         from std::vector use a privat class variable slices_ instead.
1328         Modify to fit.
1329
1330         * dociterator.C: update because of not inheriting from std::vector
1331         anymore. Call explictly to slices_ instead. Use depth() instead of
1332         size() and top() instead of back()
1333
1334         * cursor.C: chagne size() -> depth and back() -> top(). Also
1335         remove some direct operator[](i) calls in favour of foo[i]
1336         (getFont): remove some dead code
1337
1338         * bufferview_funcs.C (coordOffset): size() -> depth()
1339
1340         * buffer.C: ws changes only
1341
1342         * CutAndPaste.C (eraseSelection): back() -> top()
1343
1344         * BufferView_pimpl.C (selectionRequested): back() -> top()
1345
1346         * BufferView.C (setCursor): size() -> depth()
1347
1348 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1349
1350         * text3.C (cursorPrevious): return true if depm changed something
1351         (cursorNext): ditto
1352         (dispatch): rename sl to oldTopSlice, remove moving use the new
1353         NoUpdate func attrib instead. Make sure that needsUpdate is set
1354         for function that have NoUpdate, but where depm might have changed
1355         the buffer anyway.
1356
1357         * text2.C (cursorLeft): make us return true if depm changed
1358         something
1359         (cursorRight): ditto
1360         (cursorUpParagraph): ditto
1361         (curosrDownParagraph): ditto
1362         (cursorUp, cursorDown): ditto, make sure to read comments in code
1363         (deleteEmptyParagraphMechanism): remove an assert, also return
1364         true if just a single char was deleted.
1365
1366         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1367         cursor that we modify, to avoid modifying an active cursor before
1368         we call setCursor. This allows depm to run. Also return true if
1369         depm deleted something.
1370
1371         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1372         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1373         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1374         something was changed in the buffer because of them (ie. depm run)
1375
1376         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1377         debug messages. Make update by default be false. Make sure that
1378         the result of update is retained throught several calls down to
1379         dispatch.
1380
1381         * LyXAction.h: add a new func_attrib: NoUpdate
1382
1383         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1384         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1385         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1386         and LFUN_WORDLEFT
1387         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1388
1389 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1390
1391         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1392         bv_->owner(), bv_->buffer() by direct references to the private
1393         members.
1394         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1395         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1396         (fitCursor): center() is in BufferView::Pimpl.
1397         (getStatus, trackChanges, dispatch): no need for a temporary buf
1398         variable
1399         (fitCursor, workAreaDispatch): use workarea().workheight()
1400
1401 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1402
1403         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1404
1405 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1406
1407         * buffer.C: format up to 241.
1408         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1409         break if pasting into ERT
1410         * lyxfunc.C (getStatus): suppress mathpanel and
1411         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1412
1413 2005-02-01  Angus Leeming  <leeming@lyx.org>
1414
1415         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1416
1417 2005-02-01  Angus Leeming  <leeming@lyx.org>
1418
1419         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1420         calling fs::is_directory().
1421
1422 2005-01-31  Angus Leeming  <leeming@lyx.org>
1423
1424         * lyx_main.C (priv_exec): specify explicitly the relative location
1425         of the top level build directory when run in-place.
1426
1427 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1430         LyXText containing the cursor, not the top-level one.
1431
1432         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1433         true.
1434         (insertStringAsLines): rename par to pit; use temporary variable
1435         par to hold a Paragraph; do not store par.layout() in a variable,
1436         since the pointer may die when breaking paragraphs; pass pars to
1437         breakParagraph() instead of Buffer::paragraphs().
1438
1439 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1440
1441         * lyxlex_pimpl.h: #include <fstream>.
1442
1443         * BufferView.[Ch] (getLyXText): add a const version.
1444
1445         * BufferView_pimpl.C: add debug aids.
1446
1447         * RowList_fwd.h:
1448         * buffer.h:
1449         * lyxrow.h:
1450         * paragraph_funcs.h: add commentary explaining what the class does.
1451
1452
1453         * coordcache.[Ch]: add lots of commentary.
1454         (startUpdating, doneUpdating): debug aids.
1455         (arrays, insets, parPos, getParPos): accessors to private data.
1456
1457         * cursor_slice.[Ch] (text): add a const version.
1458         * dociterator.[Ch] (text, innerText): add const versions.
1459
1460         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1461         bool.
1462
1463         * paragraph.C (getRow, pos2ros): add asserts.
1464
1465         * paragraph.h: add commentary. Lots of.
1466
1467         * paragraph.[Ch] (metrucs, draw): removed.
1468
1469         * cursor.C:
1470         * rowpainter.[Ch]: const-correct changes.
1471
1472         * text.C: various obvious clean-ups. Removal of ancient cruft.
1473         Bug fixes, even.
1474
1475 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1476
1477         * vc-backend.C (find_file): rewrite to use boost.filesystem
1478         (scanMaster): ditto
1479
1480         * main.C (main): set default name check for boost.filesystem to
1481         no check
1482
1483         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1484         (open): ditto
1485         (doImport): ditto
1486         (actOnUpdatedPrefs): ditto
1487
1488         * lyx_main.C (init): rewrite to use boost.filesystem
1489         (queryUserLyXDir): ditto
1490
1491         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1492         (getContentsOfAsciiFile): ditto
1493
1494         * lastfiles.C (readFile): rewrite to use boost.filesystem
1495
1496         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1497
1498         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1499         (loadLyXFile): ditto
1500
1501         * buffer.C (Buffer): adjust for destroydir
1502         (getLogName): rewrite to use boost.filesystem
1503         (setFileName): ditto
1504         (save): use fs::copy_file (from fs_extras)
1505
1506         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1507
1508         * LaTeX.C (run): rewrite to use boost.filesystem
1509         (scanAuxFiles): ditto
1510         (handleFoundFile): ditto
1511
1512 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1513
1514         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1515
1516         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1517
1518 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1519
1520         * lyxlayout.[Ch]: change some vars from float to double
1521
1522         * buffer.C (readFile): make a local var const
1523
1524         * Several files: use convert<> instead of atoi,strToXXX and friends
1525
1526 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1527
1528         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1529         holds the contents of packages.lst. New functions getAvailable
1530         and isAvailable to parse and check that list, resp.
1531
1532         * LyXAction.C:
1533         * lfuns.h:
1534         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1535
1536         * bufferparams.[Ch]: new param output_changes.
1537
1538         * Buffer.C: increase file format to 240.
1539         Use output_changes and isVailable.
1540
1541         * changes.[Ch]:
1542         * paragraph.C:
1543         * paragraph_pimpl.C: Use output_changes and isVailable.
1544
1545 2005-01-23  Angus Leeming  <leeming@lyx.org>
1546
1547         * output_latex.C: #include "insetbibitem.h", rather than
1548         forward declare function bibitemWidest.
1549
1550 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1551
1552         * lyx_main.C (init): make it compile on the Mac.
1553
1554 2005-01-20  Angus Leeming  <leeming@lyx.org>
1555
1556         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1557         (setLyXMisc): (char string literal) != (char string literal) is
1558         performing a comparison on the addresses. Convert one operand
1559         explicitly to string to guarantee expected behaviour.
1560         From MSVC warning.
1561
1562 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1563
1564         * buffer.C:
1565         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1566
1567         * output_plaintext.C: remove unneeded #include gzstream.h.
1568
1569 2005-01-20  Angus Leeming  <leeming@lyx.org>
1570
1571         * SpellBase.h: rename some of the elements of the Result enum.
1572
1573         * aspell_local.h:
1574         * ispell.h:
1575         * pspell.h:
1576         * aspell.C (check):
1577         * ispell.C (check):
1578         * pspell.C (check): ditto
1579
1580 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1581
1582         * buffer.C: add #include <fstream>.
1583
1584         * lyx_main.C (init): Compile fix.
1585
1586         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1587
1588 2005-01-20  Angus Leeming  <leeming@lyx.org>
1589
1590         * mover.h: change commentary to reflect the changed meaning of
1591         the $$s placeholder.
1592
1593 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1594
1595         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1596
1597         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1598
1599 2005-01-20  Angus Leeming  <leeming@lyx.org>
1600
1601         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1602         printing diagnostic data by not dereferecing an iterator past the
1603         end.
1604
1605 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1606
1607         * buffer.C (readHeader): use "&&" rather than "and".
1608
1609         * lyxserver.h (inPipeName, outPipeName): make these const.
1610
1611 2005-01-19  Angus Leeming  <leeming@lyx.org>
1612
1613         * lyx_main.C (error_handler, init): protect SIGHUP with
1614         #ifdef SIGHUP guards.
1615
1616 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1617
1618         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1619
1620 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * text.C (setHeightOfRow): add a margin at the top and bottom of
1623         the document (bug 1761)
1624
1625 2005-01-17  Angus Leeming  <leeming@lyx.org>
1626
1627         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1628         with "python ". Workaround for a brain-dead Windows.
1629
1630 2005-01-16  Angus Leeming  <leeming@lyx.org>
1631
1632         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1633         for MacOSX and Windows to use prependEnvPath.
1634         Strip out the hard-coded block to add elements to the PATH for
1635         MacOSX and replace it with a call to prependEnvPath using the
1636         contents of LyXRC::path_prefix.
1637         (queryUserLyXDir): strip out the code to run reconfigure, instead
1638         returning a boolean indicating the necessity to do so.
1639         (reconfigureUserLyXDir): contains the code to reconfigure the
1640         user support directory. Is now called after the various LyXRC data
1641         files have been read.
1642
1643         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1644
1645 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1646
1647         * converter.[Ch] (convert): take a new parameter try_default. Use
1648         a default converter (imagemagick) if try_default is true.
1649
1650 2005-01-13  Angus Leeming  <leeming@lyx.org>
1651
1652         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1653         os::cygwin_path_fix.
1654         (write): output LyXRC::cygwin_path_fix as necessary.
1655
1656 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1657
1658         * lyxrc.h:
1659         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1660
1661 2005-01-12  Angus Leeming  <leeming@lyx.org>
1662
1663         * lyx_main.C (init): set the PATH variable to include the
1664         directory containing the LyX binary when running on Mac or Windows.
1665
1666 2005-01-12  Angus Leeming  <leeming@lyx.org>
1667
1668         * lyx_main.C (init): remove cruft that purports to set the locale
1669         dir. It doesn't and is not needed anyway.
1670
1671 2005-01-10  Angus Leeming  <leeming@lyx.org>
1672
1673         * Makefile.am: remove the lyx_main.C special casing.
1674
1675         * BufferView_pimpl.C:
1676         * bufferlist.C:
1677         * exporter.C:
1678         * lyx_cb.C:
1679         * lyx_main.C:
1680         * lyxfunc.C:
1681         * messages.C: use support/package.h to provide the paths to the
1682         various directories used by LyX.
1683
1684 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1685
1686         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1687         layout if pasting into an empty paragraph)
1688
1689 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1690
1691         * tex-accent.C: add <string>
1692
1693 2005-01-06  José Matos  <jamatos@lyx.org>
1694
1695         * ParagraphParameters.C (write): put every parameter in its own line.
1696         * paragraph.C (write): reduce number of consecutive empty lines exported.
1697         * buffer.C (LYX_FORMAT): increase file format to 239.
1698
1699 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1700
1701         * everywhere: change support/tostr.h -> support/convert.h
1702
1703         * tabular.C: make all write_attributes templates, tostr -> convert
1704
1705         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1706         (emptyTag): and -> &&, and fix type for ret from getChar
1707         (getFirstWord): fix type for ret from getChar
1708         (onlyText): and -> &&
1709         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1710         getChar
1711
1712         * toc.C (goTo, action):
1713         * text3.C (dispatch):
1714         * text.C (currentState):
1715         * tex-accent.C (DoAccent):
1716         * sgml.C:
1717         * lyxrc.C:
1718         * lyxfunc.C (menuNew):
1719         * lyxfinc.C (replace):
1720         * counters.C (laberItem):
1721         * bufferview_funcs.C (font2string):
1722         * bufferparams.C (writeFile):
1723         * buffer.C (readFile):
1724         * Spacing.C (set):
1725         * MenuBackend.C: tostr -> convert
1726
1727         * LaTeX.C (runMessage): fix format
1728         (scanAuxFiles): tostr -> convert
1729
1730         * BufferView_pimpl.C (savePosition): fix format
1731         (restorePosition): ditto
1732         (dispatch): ditto
1733
1734 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1735
1736         * Spacing.[Ch]: New method getValueAsString().
1737
1738         * Spacing.[Ch]:
1739         * bufferparams.C:
1740         * ParagraphParameters.C:
1741         * lyxlayout.C:
1742         * text.C:
1743         * text3.C: store/read spacing value as string.
1744
1745         * rowpainter.C: change float value (spacing_val) to double.
1746
1747         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1748         broken custom document spacing).
1749
1750 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1751
1752         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1753         namespace, also more use of temp references and const
1754
1755         * cursor.[Ch] (getStatus): move to lyxfunc.C
1756
1757         * bufferparams.C: reformat slightly
1758
1759         * bufferview_funcs.C (font2string): constify arg
1760
1761         * changes.C:
1762         * converter.C:
1763         * counters.C:
1764         * bufferlist.C:
1765         * buffer_funcs.C: (many funcs): constify arg on function
1766         definitions, also make more local vars const, also add ASSERTS on
1767         pointer args.
1768
1769         * buffer.C (LYX_FORMAT): put const in correct place
1770         (many funcs): constify arg on function definitions, also make
1771         more local vars const
1772
1773         * aspell_local.h: remove "struct" from typdef setup
1774
1775         * aspell.C (check): make word_ok const
1776         (nextMiss): simplify slightly
1777         (error): ditto
1778
1779 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1780
1781         * lyxrc.[Ch]: store all float values as strings.
1782         use int (not float) for lyxrc.dpi.
1783
1784 2005-01-04  Angus Leeming  <leeming@lyx.org>
1785
1786         * lyx_cb.C (Reconfigure):
1787         * lyx_main.C (queryUserLyXDir):
1788         to run the <system_lyxdir>/configure correctly on Windows, prefix
1789         the path to the script with "sh " when generating the string that
1790         is passed to system().
1791
1792 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1793
1794         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1795
1796 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1797
1798         * lyxlength.C (asLatexString): get rid of setprecision
1799
1800 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1801
1802         * text2.C (setLayout): remove unused variable endpit.
1803         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1804
1805         * paragraph.C (onlyText): remove unused variable style.
1806
1807         * cursor.C (bruteFind): remove unused variables beg and end.
1808
1809         * Makefile.am (dist_noinset_DATA): not needed anymore
1810
1811         * cheaders/*: remove.
1812
1813 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1814
1815         * text3.C: fix LFUN_MATH_MODE.
1816
1817 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1818
1819         * buffer_funcs.C (countWords): new function. Counts words between
1820         two iterators.
1821
1822         * BufferView_pimpl.C (getStatus, dispatch): handle
1823         LFUN_WORDS_COUNT.
1824
1825         * LyXAction.C (init):
1826         * lfuns.h: add LFUN_WORDS_COUNT.
1827
1828 2004-12-19  Angus Leeming  <leeming@lyx.org>
1829
1830         * buffer.C (save): s/slashify_path/internal_path/.
1831
1832 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1833
1834         * lyxfind.C (findChange): do not search for end of pars, because
1835         the change tracker cannot handle this (fixes bug 1719).
1836
1837 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1838
1839         * paragraph.[Ch] (autoBreakRows): remove
1840
1841         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1842
1843         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1844         avoid using the paragraph one
1845
1846         * text2.C (LyXText, insertStringAsLines): adjust
1847
1848 2004-12-16  Angus Leeming  <leeming@lyx.org>
1849
1850         * bufferlist.C:
1851         * lyx_main.C:
1852         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1853
1854 2004-12-14  Angus Leeming  <leeming@lyx.org>
1855
1856         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1857
1858         * bufferlist.C (emergencyWrite):
1859         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1860         GetEnvPath("HOME").
1861
1862 2004-12-14  Angus Leeming  <leeming@lyx.org>
1863
1864         * main.C: (main): no longer pass pointers to os::init.
1865
1866 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1867
1868         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1869         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1870
1871 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1872
1873         * lyxfunc.C:
1874         * text3.C: remove selection_possible global flag
1875
1876 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1877
1878         * text2.C (getSelectionSpan): remove
1879         (changeDepth, changeDepthAllowed): adjust
1880
1881 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1882
1883         * Makefile.am (BOOST_LIBS): use boost variables
1884
1885 2004-12-03  José Matos  <jamatos@lyx.org>
1886
1887         * buffer.C: format up to 238.
1888
1889 2004-12-03  José Matos  <jamatos@lyx.org>
1890
1891         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1892
1893 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1894
1895         * cursor.C (goUpDown): remove call to idxUpDown2
1896
1897 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1898
1899         * tabular.[Ch]: use size_t-like types for cell, row and column
1900         indices
1901
1902 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1903
1904         * lyxfunc.C (getStatus): do not lose previous information when
1905         calling BufferView::getStatus; do not set a default "Command
1906         disabled" message at the beginning, but just before returning.
1907
1908 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1909
1910         * cursor.h (getStatus): add better comment from src/cursor.C
1911
1912 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1913
1914         * text3.C (getStatus): return false when the lfun is not handled
1915
1916 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1917
1918         * broken_headers.h: remove
1919
1920         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1921
1922 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1923
1924         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1925         offset_ref accessors
1926
1927         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1928         top_y_, merge fitcursor with update
1929         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1930         coord scheme
1931         (metrics): introduce
1932         (workAreaDispatch): adapt to new coord scheme
1933         (redoCurrentBuffer): remove
1934
1935         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1936
1937         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1938         CurStatus enum.
1939
1940         * coordcache.[Ch]: add paragraph cache and helpers
1941
1942         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1943         adjust everywhere
1944
1945         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1946         (targetX, setTargetX): introduce
1947
1948         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1949         baseline -> ascent, as the rest of lyx
1950
1951         * lyxtext.h: remove redoParagraphs, updateParPositions,
1952         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1953         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1954         have ascent/descent (ascent is ascent of first par)
1955
1956         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1957         step of BufferView
1958
1959         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1960
1961         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1962
1963         * pariterator.C: fix infinite loop introduced in par->pit renaming
1964
1965         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1966         in insets and LyXText, draw two off-screen paragraphs using
1967         NullPainter, and adapt to new coord scheme
1968
1969         * text.C:
1970         * text2.C:
1971         * text3.C: adapt lfun handlers to the new coord scheme, which
1972         means: there's only guaranteed coord information for onscreen pars
1973         plus one above and one below. This implies that one can do search
1974         from y coordinates in the range [-1,workHeight]
1975
1976 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1977
1978         * rename a lot of InsetOld to InsetBase
1979
1980 2004-11-25  Angus Leeming  <leeming@lyx.org>
1981
1982         * BufferView_pimpl.C:
1983         * lyx_cb.C:
1984         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1985
1986 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1987
1988         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1989         call BufferView::getStatus if LCursor::getStatus did nothing
1990         (setStatusMessage, getStatusMessage): removed.
1991
1992         * FuncStatus.C (message): new methods. Used to provide an error
1993         message indicating why a command is disabled.
1994         (clear, |=, FuncStatus): update for message.
1995
1996 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1997
1998         * lyxfunc.C (dispatch): always call sendDispatchMessage
1999
2000 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2001
2002         * BufferView.C:
2003         * BufferView_pimpl.C:
2004         * CutAndPaste.C:
2005         * FontIterator.C:
2006         * buffer.C:
2007         * cursor.C:
2008         * cursor_slice.[Ch]:
2009         * dociterator.[Ch]:
2010         * lyxfind.C:
2011         * paragraph_funcs.C:
2012         * pariterator.C:
2013         * rowpainter.C:
2014         * text.C:
2015         * text2.C:
2016         * text3.C:
2017         * undo.C: par->pit renaming
2018
2019 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2020
2021         * tabular.C (cellstruct): use initialization, store a shared_ptr
2022         to insettext instead of the insettext directly, adjust to fit.
2023         (operator=):  new function
2024         (swap): new function
2025         (rowstruct): use initialization
2026         (columnstruct): use initialization
2027         (ltType): use initialization
2028
2029
2030         * lyxlength.h (swap): new function
2031
2032         * LColor.[Ch] (operator=): use the common semantics
2033
2034 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2035
2036         * lyxfind.C (findNextChange): update the bufferview after setting
2037         the selection.
2038
2039 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2040
2041         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2042         number of InsetOptArgs has already been inserted.
2043
2044         * output_latex.C (latexOptArgInsets): new method. This outputs all
2045         the optarg insets, up to the limit defined in the layout file.
2046         (optArgInset): removed
2047         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2048
2049 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2050
2051         * paragraph.C (isLetter): remove special spellchecker-related
2052         code; return true also for digits
2053         (isWord, isKomma): remove
2054
2055         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2056         * lyxfind.C (MatchString()): use isLetter instead of isWord
2057
2058 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2059
2060         * pariterator.h (operatir=): comment out un-implemented member
2061         function.
2062
2063         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2064         static cast.
2065
2066 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * lyxfont.h: include LColor.h to satisfy concept checks.
2069
2070 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2071
2072         * pariterator.h: add typdefs for value_type, difference_type,
2073         pointer and reference to satisfy concept checks. Also add default
2074         constructor for same reason.
2075
2076         * pariterator.C (operator++): add post-increment operator to
2077         satisfy concept checks.
2078
2079         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2080         checks.
2081
2082         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2083
2084         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2085         checks. Also rename base_type to BaseType to follow naming
2086         standard better.
2087
2088         * FloatList.h: include Floating.h to satisfy concept checks.
2089
2090 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2091
2092         * lyxfunc.C (getStatus): when the origin of the request is menu or
2093         toolbar, and the LyXView does not have focus, do as if there was
2094         no buffer (bug 1720)
2095
2096         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2097         FuncRequest to individual entries of LFUN_SEQUENCE
2098
2099 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2100
2101         * output_latex.C (TeXOnePar): override runparams.moving_arg
2102         according to the needprotect value of the current paragraph (bug
2103         1739)
2104
2105         * paragraph.C (simpleTeXOnePar): no need to override
2106         runparams.moving_args here
2107
2108 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2109
2110         * vspace.C: fix off-by-one-error, related to fix #1682
2111
2112 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2113
2114         * lengthcommon.C: a more general fix for bug 1682
2115
2116 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2117
2118         * text.C (backspace): fix crash
2119
2120 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2121
2122         * format.[Ch] (getFormatFromFile): new method
2123         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2124
2125 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2126
2127         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2128
2129 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2130
2131         * lyxfunc.C (dispatch): remove the verbose argument
2132         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2133         instead
2134
2135         * kbmap.C (defkey): set the origin of func to KEYBOARD
2136
2137         * MenuBackend.C (MenuItem):
2138         * ToolbarBackend.C (add): set the origin of func to UI
2139
2140         * funcrequest.[Ch]: add origin member, which indicates which part
2141         of LyX requests an action
2142
2143 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2144
2145         * converter.C (move): don't lie in the error message
2146         * converter.h (isReachable, move): document
2147
2148 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2149
2150         * buffer.C: remove unused using lyx::support::atoi
2151         * paragraph_funcs.C: ditto
2152
2153 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2154
2155         * bufferlist.C (exists): use bind and equal_to instead of
2156         compare_memfun
2157         (getBuffer): ditto
2158         * lyxtextclasslist.C (NumberOfClass): ditto
2159
2160         * cursor.C (insert): use for_each instead of explicit for loop
2161
2162         * bufferlist.C (getFileNames): use std::transform and
2163         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2164
2165         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2166         for loop
2167
2168         * buffer.C (changeLanguage): use for_each instead of explicit for
2169         loop
2170         (hasParWithID): implement using getParFromID
2171
2172         * LaTeXFeatures.C: ws change only
2173
2174         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2175         to cleanup a bit.
2176
2177         * BufferView_pimpl.C (trackChanges): use for_each instead of
2178         expilicit for loop
2179
2180 2004-11-04  André Pönitz  <poenitz@gmx.net>
2181
2182         * undo.h:
2183         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2184
2185         * dociterator.C (asDocIterator): use hard assert again.
2186
2187 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2188
2189         * lyxlength.C (asLatexString): rewrite so that it does not use
2190         snprintf anymore
2191
2192 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2193
2194         * text3.C (specialChar, dispatch): make sure cursor moves to the
2195         right after inserting an inset
2196
2197 2004-11-02  José Matos  <jamatos@lyx.org>
2198
2199         * output_docbook.C (docbook):
2200         * paragraph.C (getID):
2201         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2202         garantee that the output is always legal.
2203
2204         * tabular.C (docbook):
2205         * outputprams.[Ch]: remove mixed contents.
2206
2207 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2208
2209         * text2.C (setCounter): prevent endless loop
2210
2211 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2212
2213         * exporter.C (copyFile): use the mover instead of support::copy()
2214         * exporter.C (Export): pass format and latex name to copyFile()
2215         * exporter.h (addExternalFile): document
2216         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2217
2218 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2219
2220         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2221
2222 2004-10-30  José Matos  <jamatos@lyx.org>
2223
2224         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2225         text and no inset or font change. This allows to use CDATA
2226         sections just for the whole paragraph.
2227
2228 2004-10-30  José Matos  <jamatos@lyx.org>
2229
2230         * paragraph.C (getFirstWord): remove unused variable.
2231
2232 2004-10-30  José Matos  <jamatos@lyx.org>
2233
2234         * paragraph.C (getFirstWord): the content should always be escaped
2235         there.
2236         (simpleDocBookOnePar):
2237         * output_docbook.C (makeEnvironment): replace reference to CDATA
2238         to style pass_thru.
2239
2240 2004-10-30  José Matos  <jamatos@lyx.org>
2241
2242         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2243
2244 2004-10-30  José Matos  <jamatos@lyx.org>
2245
2246         * output_docbook.C (makeParagraphs):
2247         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2248         standard paragraph has only a given type of content drop the wrapper.
2249
2250 2004-10-29  José Matos  <jamatos@lyx.org>
2251
2252         * output_docbook.C (makeEnvironment):
2253         * sgml.C (openTag):
2254         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2255
2256 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2257
2258         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2259         (cleanID): sanitize any id.
2260
2261 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2262
2263         * buffer.C, lyxlex_pimpl.C:
2264         * lyxlex_pimpl.C (setFile):
2265         s/getExtFromContents/getFormatFromContents/
2266
2267 2004-10-28  José Matos  <jamatos@lyx.org>
2268
2269         * output_docbook.C (makeEnvironment): move id to broadest possible
2270         scope.
2271
2272         * sgml.C (openTag): apply substitution of <> for all attributes.
2273
2274 2004-10-28  José Matos  <jamatos@lyx.org>
2275
2276         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2277         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2278         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2279
2280         * sgml.[Ch]: new version for open and closeTag for paragraph and
2281         for strings. Now they handle the ids of paragraphs.
2282
2283 2004-10-26  Angus Leeming  <leeming@lyx.org>
2284
2285         * Makefile.am: add mover.[Ch].
2286
2287         * converter.C (convert, move): use the new Movers to move external
2288         files to the temp directory.
2289
2290         * lyx_main.C (init): ensure that the global system_movers data
2291         is initialised.
2292
2293         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2294         preferences file.
2295
2296         * mover.[Ch]: new files, defining a Mover as a utility to move an
2297         external file between directories and, if necessary, manipulate this
2298         file using a helper script.
2299
2300 2004-10-25  José Matos  <jamatos@lyx.org>
2301
2302         * output_docbook.C (makeCommand): merge two if's that tested the
2303         same condition.
2304
2305 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2306
2307         * sgml.C (escapeString): fix warning in a better way
2308
2309 2004-10-25  José Matos  <jamatos@lyx.org>
2310
2311         * sgml.C (escapeString): import the require boosts header file for
2312         tie, and avoid a signed unsigned comparison.
2313
2314 2004-10-25  José Matos  <jamatos@lyx.org>
2315
2316         * sgml.h: add #include <string>
2317
2318 2004-10-25  José Matos  <jamatos@lyx.org>
2319
2320         * sgml.[Ch] (escapeString): new function to escape all the string.
2321
2322 2004-10-24  José Matos  <jamatos@lyx.org>
2323
2324         * paragraph.[Ch] (getFirstWord): new function to get the first
2325         word. Useful for description.
2326         (simpleDocBookOnePar): remove depth argument, add another that
2327         says where to start the paragraph.
2328
2329         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2330         use the new functions to fix cleanly the support for descriptions.
2331
2332 2004-10-24  José Matos  <jamatos@lyx.org>
2333
2334         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2335         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2336         * output_linuxdoc.C (linuxdocParagraphs):
2337         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2338         add buffer as argument.
2339
2340 2004-10-24  José Matos  <jamatos@lyx.org>
2341
2342         * output_docbook.C (makeEnvironment, searchEnvironment): place
2343         CDATA inside paragraphs and fix scope for listitems.
2344
2345 2004-10-24  José Matos  <jamatos@lyx.org>
2346
2347         * output_docbook.C: remove using statement for stack.
2348
2349 2004-10-23  José Matos  <jamatos@lyx.org>
2350
2351         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2352         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2353         docbook. The new scheme is recursive and makes use of iterators, the
2354         same as latex export works.
2355         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2356         directly with the paragraph contents. This code was moved up to
2357         output_docbook.C (docbookParagraphs).
2358         * sgml.C (openTag, closeTag): removed unneeded newlines.
2359         (closeEnvTags) removed.
2360
2361 2004-10-23  André Pönitz  <poenitz@gmx.net>
2362
2363         * undo.C (textUndoOrRedo):
2364         * dociterator.C (asDocIterator): work around crash
2365
2366         * cursor.C (getStatus): replace ASSERT by more verbose error message
2367           and manual correction of the problem. Should increase stability
2368           while providing more sensible information.
2369
2370 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2371
2372         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2373
2374         * bufferlist.C (previous, next): new methods
2375
2376         * lfuns.h:
2377         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2378
2379 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2380
2381         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2382         entities to preamble.
2383
2384 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2385
2386         * messages.C (Pimpl): strip off translation context information
2387
2388 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2389
2390         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2391         the cursor is correct (bug 1694)
2392
2393 2004-10-13  José Matos  <jamatos@lyx.org>
2394
2395         * output_docbook.C (docbookParagraphs): fix closing tags in the
2396         end of the document.
2397
2398 2004-10-09  José Matos  <jamatos@lyx.org>
2399
2400         * buffer.C: format up to 237.
2401         * bufferparams.C (write): use tostr to convert booleans to strings.
2402
2403 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2404
2405         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2406
2407 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2408
2409         * LaTeX.C: implement use of babel language in xindy.
2410
2411 2004-10-05  José Matos  <jamatos@lyx.org>
2412
2413         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2414         Add new translators to help reading and writing the lyx file.
2415
2416 2004-10-05  José Matos  <jamatos@lyx.org>
2417
2418         * ParagraphParameters.C (read):
2419         * text.C (readParToken): replace nexToken by more appropriate lex
2420         methods.
2421
2422 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2423
2424         * LaTeX.C (runMakeIndex):
2425         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2426         (usually 'makeindex') configurable.
2427
2428         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2429         with a variable rather than with a number.
2430
2431 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * output_latex.C (TeXOnePar): make sure font setting is the first
2434         thing that gets output (and the last at the end). Should fix bug
2435         1404.
2436
2437 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2438
2439         * pch.h: use proper signal include
2440
2441         * LaTeX.h: Use preferred calling of Boost.Signal
2442         * buffer.h: ditto
2443
2444 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2445
2446         * pch.h: dont include <boost/function/function0.hpp>
2447
2448         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2449
2450         * paragraph_pimpl.h: remove usage of ShareContainer
2451
2452         * paragraph_pimpl.C: remove initialization of ShareContainer.
2453
2454 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2455
2456         Fix bug #1666
2457
2458         * BufferView.C (putSelectionAt): change the semantics when
2459         backwards == true: now, this just swaps cursor and anchor wrt the
2460         forward case
2461
2462         * BufferView.h (putSelectionAt): add some documentation
2463
2464         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2465         make sure backwardChar is done at least once (to avoid getting
2466         stuck)
2467         (findNextChange): use putSelectionAt in the forward direction
2468         (operator()): use Paragraph::isWord
2469
2470 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2471
2472         * Spacing.C (set): c_str fix
2473
2474 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2475
2476         * lyx_cb.C (Reconfigure): quote the name of configure script in
2477         case it contains spaces
2478
2479 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2480
2481         * client: new dir
2482
2483         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2484         (BOOST_LIBS): use top_buildir when looking for the file
2485
2486 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2487
2488         * pch.h: do not use include boost/format.hpp, multiple symbols
2489                 will result (gcc bug)
2490
2491
2492 2004-08-23  José Matos  <jamatos@lyx.org>
2493
2494         * bufferparams.C (readToken): fix reading of the author field.
2495
2496 2004-08-20  José Matos  <jamatos@lyx.org>
2497
2498         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2499
2500 2004-08-20  José Matos  <jamatos@lyx.org>
2501
2502         * lyxlex.[Ch] (findToken): remove function.
2503
2504         * ParagraphParameters.C (findToken):
2505         * bufferparams.C (findToken): replace call for previous function
2506         with local copy. This local function has one more argument, the
2507         read string argument.
2508
2509 2004-08-16  José Matos  <jamatos@lyx.org>
2510
2511         * ParagraphParameters.C (write):
2512         * Spacing.C (writeFile):
2513         * bufferparams.C (writeLaTeX):
2514         * lyx_cb.C (Reconfigure):
2515         * paragraph.C (write):
2516         * tabular.C (write): remove unnecessary space at end of line.
2517
2518
2519 2004-08-16  José Matos  <jamatos@lyx.org>
2520
2521         * text.C (readParagraph): remove debug message.
2522
2523 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2524
2525         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2526         crash
2527
2528         * output_plaintext.C (asciiParagraph): set depth correctly
2529
2530         * outputparams.h: add member depth
2531
2532         * paragraph_funcs.C (ownerPar): remove.
2533
2534         * text2.C (setCounter): remove first_pit; comment out some
2535         non-working code that uses ownerPar
2536
2537         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2538         uses ownerPar
2539
2540 2004-08-16  José Matos  <jamatos@lyx.org>
2541
2542         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2543         For the same level of importance use the same chanel to report problems.
2544         (read): add code to deal with \begin_body and \end_body.
2545
2546
2547 2004-08-15  José Matos  <jamatos@lyx.org>
2548
2549         * lyxlex.C (getString): fix comment, buffer::readBody is now
2550         buffer:readDocument.
2551
2552         * tex-strings.C (string_papersize): Default -> default,
2553         Custom -> custom, for consistency with other options.
2554
2555 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2556
2557         * pch.h: new file
2558
2559         * Makefile.am: support pch
2560
2561 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2562
2563         * text.C (readParToken): remove the static LyXFont variable and
2564         pass it as a parameter instead. This fixes a nasty bug where an
2565         inset will be inserted with a bad font in some situations
2566         (readParagraph): adapt
2567
2568         * text2.C (setCounter): reduce number of calls to pars_[pit]
2569
2570         * text.C (singleWidth): add an assert, fix a test
2571
2572         * rowpainter.C (paintText): reduce number of calls to singleWidth
2573
2574         * paragraph.C (isHfill):
2575         (isNewline): ws only
2576
2577 2004-08-14  André Pönitz  <poenitz@gmx.net>
2578
2579         * text.C:
2580         * text2.C:
2581         * rowpainter.C:
2582         * lyxtext.h (several functions): use a Paragraph & argument
2583         instead of par_type
2584
2585 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2586
2587         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2588
2589         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2590
2591         * text.C (singleWidth): remove useless test
2592
2593 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2594
2595         * tabular.h: remove bogus comments
2596
2597         * tabular.C (getDescentOfRow):
2598         (isPartOfMultiColumn): add assertions
2599
2600         * lyxlength.C (inPixels): remove #warning
2601
2602 2004-08-14  André Pönitz  <poenitz@gmx.net>
2603
2604         * paragraph.h: inline getChar()
2605
2606         * BufferView.h: remove unused declarations
2607
2608 2004-08-14  José Matos  <jamatos@lyx.org>
2609
2610         * Buffer.[Ch] (readDocument): new name for old readBody.
2611         * Buffer.C: new file format, new keywords: \begin_document,
2612         \begin_header, \begin_body, \end_body.
2613
2614         * bufferparams.C (readToken): replace all calls to lex.nextToken
2615         by lex.next(). Do the same to eatLine except where really needed.
2616
2617         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2618         line when writing to the lyx file.
2619
2620         * output_plaintext.C (asciiParagraph): fix Bibliography style
2621         handling.
2622
2623         * text.C (read): fix end of file handling.
2624
2625 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2626
2627         * MenuBackend.C (Menu::operator[]): new method to access
2628         individual menu items
2629         (Menu::hasFunc): new method. search for an item that corresponds
2630         to a given func
2631         (MenuBackend::specialMenu): new method
2632         (MenuBackend::expand): if a special menu has been set, skip
2633         entries whose func() appears in this menu
2634
2635 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2636
2637         * text3.C: use Debug::DEBUG a bit more
2638
2639         * text.C (leftMargin): try to simplify a tiny bit change var x to
2640         l_margin. Dont output the wide margins always.
2641         (rightMargin): no margin in inner texts
2642
2643         * rowpainter.h (nestMargin): new func
2644         (changebarMargin): new func
2645         (rightMargin): new func
2646
2647         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2648         now functions.
2649         (paintLast): ditto
2650
2651         * factory.C (createInset): modify setDrawFrame
2652
2653         * cursor.C: use Debug::DEBUG a bit more
2654
2655 2004-08-14  André Pönitz  <poenitz@gmx.net>
2656
2657         * coordcache.[Ch]:
2658         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2659         cache for all insets in (at least partially) visible (top-level)
2660         paragraphs.
2661
2662         * BufferView_pimpl.C: reset external coord cache before every update.
2663         This means the coord cache only contains valid entries.
2664
2665 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2666
2667         bug 1096
2668         * BufferView_pimpl.C (getInsetByCode): move function out of class
2669         and change in to a template in anon namespace. Also fix to do what
2670         suits us better.
2671
2672 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2673
2674         bug 1305
2675         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2676         of char
2677         (breakParagraph): rename par to par_offset and use a local
2678         reference. Add code to keep the language over a rebreak.
2679         (breakParagraphConservative): rename par to par_offset, use a
2680         local reference
2681         (mergeParagraph): ditto
2682         (outerHook): ditto
2683         (isFirstInSequence): ditto
2684         (outerFont): rename pit to par_offset
2685
2686         * paragraph.C: ws change
2687         * paragraph.h: ditto
2688         * text3.C: ditto
2689         * text.C: ditto
2690
2691 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2692
2693         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2694         treatment for ']'
2695
2696         * paragraph.C (simpleTeXOnePar): when we have a \item with
2697         optional argument, enclose the argument with curly brackets (in
2698         case it contains a closing square bracket)
2699
2700         * text2.C (editXY):
2701         * text2.C (editXY):
2702         * text3.C (checkInsetHit): constify
2703
2704 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2705
2706         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2707         documents (bug 1629)
2708
2709 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2710
2711         Fix toggling of collapsable insets with the mouse (bug 1558)
2712
2713         * lyxfunc.C (dispatch): adapt to LCursor changes
2714
2715         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2716         make sure that dispatch is not invoked twice
2717
2718         * cursor.C (needsUpdate): new method
2719         (dispatch): return void
2720         (result): new method, to access the DispatchResult of the cursor.
2721
2722 2004-08-13  José Matos  <jamatos@lyx.org>
2723
2724         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2725
2726 2004-08-13  André Pönitz  <poenitz@gmx.net>
2727
2728         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2729
2730         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2731           multiple cells
2732
2733 2004-08-12  André Pönitz  <poenitz@gmx.net>
2734
2735         * text3.C: take out the 'cursor right' form insertInset and only
2736         do it in those places when it is really needed. Fixes crash on
2737         C-m...
2738
2739 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2740
2741         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2742
2743         * BufferView_pimpl.C (setBuffer): initialize the current font of
2744         the underlying LyXText
2745
2746 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2747
2748         * kbsequence.C (print): use UI native formatting for menu
2749         shortcuts
2750
2751         * text.C (insertChar): call Paragraph::insertChar with a font
2752         argument (cosmetic)
2753
2754         * paragraph.C (insertInset, insertChar): the version that takes a
2755         LyXFont argument is now a wrapper around the other one (the
2756         opposite used to be true).
2757
2758         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2759         argument. Font setting is done in Paragraph now.
2760
2761 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2762
2763         * outputparams.h: add new members intitle and lang.
2764
2765         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2766         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2767
2768 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2769
2770         * text3.C (dispatch): remove special handling of button 4 and 5,
2771         it is now taken care of in the frontend code.
2772
2773 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2774
2775         * Spacing.h: add <string> (STLPort compile fix)
2776
2777 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2778
2779         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2780
2781 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2782
2783         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2784         to bool.
2785
2786         * converter.C (showMessage): inherit from unary_function, make
2787         operator() const.
2788
2789         * buffer.C (writeFile): initialize retval
2790
2791         * InsetList.h: rename private variable list to list_
2792         * InsetList.[Ch]: adjust accordingly.
2793
2794 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2795
2796         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2797         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2798         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2799         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2800         * ParagraphParameters.C, LaTeXFeatures.C: replace
2801         "support/std_sstream.h" with <sstream>
2802
2803 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2804
2805         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2806         * lyxsocket.C (LyXServerSocket): ditto
2807         (serverCallback): ditto
2808
2809 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2810
2811         * LaTeXFeatures.C: check release date when loading jurabib.
2812
2813 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * lyxserver.C (startPipe): call register_socket_callback
2816         (endPipe): call unregister_socket_callback
2817
2818 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2819
2820         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2821         (LyXServerSocket): register the callback
2822         (LyXServerSocket): unregister the callback
2823         (fd): delete function
2824         (serverCallback): improve error checking and setup the callbacks.
2825         (dataCallback): change arg to fd.
2826         (writeln): new func (copied fro the client socket) used for server
2827         write to client.
2828         (LyXDataSocket): simplify
2829         (~LyXDataSocket): close ann unregiser callback
2830         (server): delete function
2831         (fd): delete function
2832         (readln): small changes, improve some std::string usage
2833         (writeln): constify a bit
2834
2835 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2836
2837         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2838         Qt frontend
2839
2840 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2841
2842         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2843         after it has been populated
2844
2845 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2846
2847         * text2.C (insertInset): move cursor when inserting inset.
2848
2849 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2850
2851         * kbmap.C (findbindings): a couple of new methods. returns a
2852         container of kb_sequence objects. The real work is done by the
2853         private recursive version
2854         (printbindings): uses findbindings to print out a bracketed list
2855         of bindings (renamed from findbinding).
2856
2857         * MenuBackend.C (binding): use kb_keymap::findbindings
2858
2859         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2860
2861 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2862
2863         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2864
2865 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2866
2867         * paragraph.C (isWord): return true on insets that report
2868         isLetter().
2869
2870         * text.C (getWord): use Paragraph::isWord to decide what is in a
2871         word and what is not; fix bug 1609.
2872
2873 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2874
2875         * tex-strings.C: add "none" to string_paperpackages[], fixes
2876         off-by-one-error in the paperpackage selection.
2877
2878         * lyxlex.[Ch]:
2879         * tex-strings.[Ch]: char const * string[n]
2880         -> char const * const string[]
2881
2882 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2883
2884         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2885         command, return early.
2886
2887 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2888
2889         * debug.h: add DEBUG to enum and fix size of ANY.
2890
2891         * debug.C: add support for Debug::DEBUG
2892         (showTags): cast errorTags.level to unsigned int
2893
2894         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2895         (redoCurrentBuffer): ditto
2896         (updateScrollbar): ditto
2897         * cursor.C (dispatch): ditto
2898         * text2.C (setLayout): ditto
2899         (setFont): ditto
2900         (updateCounters): ditto
2901         (editXY): ditto
2902         (deleteEmptyParagraphMechanism): ditto
2903
2904 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2905
2906         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2907         annotations to cleanup the Makefile slightly.
2908
2909 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2910
2911         * lyxrc.C: do not set user_email to a default value but use empty
2912         instead. The entry used to be translated, which does not work
2913         since at the point where lyxrc is constructed there is no
2914         translation service available
2915
2916         * messages.C (getLocaleDir): remove and use directly
2917         lyx_localedir() instead
2918
2919 2004-06-02  Angus Leeming  <leeming@lyx.org>
2920
2921         Fix crash caused by dereferencing null pointer 'exportdata' in
2922         OutputParams by creating a new ExportData variable on the heap,
2923         storing it in a boost::shared_ptr.
2924         The crash was triggered when generating an Instant Preview
2925         of an external inset.
2926
2927         * Makefile.am: add outputparams.C
2928
2929         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2930         (c-tor): allocate memory to it.
2931
2932         * exporter.C (c-tor): associated changes.
2933
2934 2004-06-01  Angus Leeming  <leeming@lyx.org>
2935
2936         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2937         contains data before calling isInset(0). (Bug 1513.)
2938
2939 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2940
2941         * exporter.C (checkOverwrite): new method
2942         * exporter.C (copyFile): new method
2943         * exporter.C (Export): copy referenced files to the document dir
2944         * exporter.[Ch]: new class ExportedFile
2945         * exporter.[Ch]: new class ExportData. Contains currently the
2946         names of referenced external files
2947         * outputparams.h: add exportdata member.
2948
2949 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2950
2951         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2952         version.C-tmp
2953
2954 2004-05-19  Angus Leeming  <leeming@lyx.org>
2955
2956         * LaTeXFeatures.C:
2957         * ToolbarBackend.C:
2958         * bufferparams.C:
2959         * lyxfunc.C: small changes due to the introduction of namespace
2960         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2961
2962 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2963
2964         * text3.C (dispatch): supress update when only moving the cursor
2965         * cursor.C (selHandle): remove commented code
2966
2967 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2968
2969         * paragraph.C (startTeXParParams): correct column count
2970         * CutAndPaste.C (pasteSelection): remove const_cast
2971         * output_docbook.C (docbookParagraphs): remove const_cast
2972         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2973         const_cast and return ParagraphList::const_iterator
2974         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2975         * output_plaintext.C (writeFileAscii): remove const_cast
2976         * paragraph.[Ch] (simpleTeXOnePar): make const
2977         * paragraph_funcs.C (outerPar): use const iterators
2978         * paragraph_pimpl.C (validate): use const iterators
2979         * text.C (setHeightOfRow): use const iterators
2980
2981 2004-05-17  Angus Leeming  <leeming@lyx.org>
2982
2983         * lfuns.h:
2984         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2985
2986         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2987         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2988         if the citation engine has changed.
2989
2990 2004-05-14  José Matos  <jamatos@lyx.org>
2991
2992         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2993         if the textclass does not provide it. Have it different for sgml and
2994         xml.
2995         support the language of document.
2996         * output_docbook.C (docbookParagraphs):
2997         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2998         first anchor as the id of the paragraph, remove special case code.
2999         * sgml.C (escapeChar): escape only < & >.
3000
3001 2004-05-14  Angus Leeming  <leeming@lyx.org>
3002
3003         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3004         dependencies on src/frontends/controllers/biblio.h. Define a
3005         CiteEngine_enum wrapper class to enable the enum to be forward
3006         declared.
3007
3008 2004-05-12  Angus Leeming  <leeming@lyx.org>
3009
3010         * buffer.C: up LYX_FORMAT to 234.
3011         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3012         use_numerical_citations with a single biblio::CiteEngine cite_engine
3013         variable.
3014         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3015
3016 2004-05-13  José Matos  <jamatos@lyx.org>
3017
3018         * converter.h:
3019         * converter.C (Converter, readFlags): add xml member.
3020         * outputparams.h: add XML flavor.
3021         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3022
3023 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3024
3025         * lyxfunc.C (dispatch):
3026         (getStatus): fix handling of LFUN_SEQUENCE
3027
3028 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3029
3030         * debug.C (showLevel): do not forget the end-of-line marker
3031
3032 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3033
3034         * kbmap.C (read): do not stop parsing a bind file when an error
3035         occurs (bug 1575)
3036
3037 2004-04-29  Angus Leeming  <leeming@lyx.org>
3038
3039         * cursor.C:
3040         * factory.C:
3041         * pariterator.C:
3042         * text2.C: wrap a bunch of #warning statements
3043         inside #ifdef WITH_WARNINGS blocks.
3044
3045 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3046
3047         * buffer.C: increment format to 233.
3048
3049 2004-04-28  Angus Leeming  <leeming@lyx.org>
3050
3051         * BufferView_pimpl.C:
3052         * lyxfunc.C:
3053         * text3.C:
3054         s/updateToolbar()/updateToolbars()/
3055         s/Toolbar.h/Toolbars.h/
3056
3057 2004-04-28  Angus Leeming  <leeming@lyx.org>
3058
3059         * BufferView.[Ch] (c-tor):
3060         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3061         No longer passes these data to the WorkArea generator.
3062
3063 2004-04-28  Angus Leeming  <leeming@lyx.org>
3064
3065         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3066
3067 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3068
3069         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3070
3071 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3072
3073         * output_latex.C (TeXEnvironment): make sure that there is a line
3074         break before \end{foo} for the last paragraph of a document
3075         (TeXOnePar): if the paragraph is at the end of the document (or
3076         inset) and the language has to be reset, then make sure that the
3077         line break is _before_ the language command, not after (fixes bug
3078         1225); also make sure that the language reset command is the first
3079         thing after the paragraph (to ensure proper nesting of
3080         environments and thus fix bug 1404)
3081
3082 2004-04-21  John Levon  <levon@movementarian.org>
3083
3084         * ToolbarBackend.h:
3085         * ToolbarBackend.C: make "name" be a programmatic name
3086         and a gui_name field.
3087
3088         * lyxfunc.C: display the minibuffer on M-x
3089
3090 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3091
3092         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3093         (bug 1526)
3094
3095 2004-04-19  Angus Leeming  <leeming@lyx.org>
3096
3097         * BufferView_pimpl.C (setBuffer): changed preview interface.
3098
3099         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3100         possible values.
3101
3102 2004-04-19  John Levon  <levon@movementarian.org>
3103
3104         * BufferView_pimpl.C:
3105         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3106
3107 2004-04-05  Angus Leeming  <leeming@lyx.org>
3108
3109         * text.C (redoParagraphs): add call to updateCounters(), thereby
3110         fixing the missing "Figure #:" label from the caption of a
3111         figure float.
3112
3113 2004-04-13  Angus Leeming  <leeming@lyx.org>
3114
3115         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3116         cursor is clicked out of an inset.
3117
3118 2004-04-13  Angus Leeming  <leeming@lyx.org>
3119
3120         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3121         than an InsetOld one.
3122
3123 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3124
3125         * format.[Ch]: add editor to Format
3126         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3127         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3128
3129 2004-04-08  André Pönitz  <poenitz@gmx.net>
3130
3131         * metricsinfo.h: remove PainterInfo::width member
3132
3133 2004-04-08  Angus Leeming  <leeming@lyx.org>
3134
3135         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3136         "\providecommand" rather than "\newcommand", thereby preventing
3137         clashes with packages that define "\boldsymbol" themselves.
3138         Eg, beamer.
3139
3140 2004-04-08  Angus Leeming  <leeming@lyx.org>
3141
3142         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3143         thereby squashing an unnecessary warning.
3144
3145 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3146
3147         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3148         setBuffer()
3149
3150 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3151
3152         * BufferView.C (setCursor): call redoParagraph (some insets could
3153         have been opened)
3154         (putSelectionAt): remove the 'double update' trick
3155
3156         * BufferView_pimpl.C (fitCursor): call refreshPar
3157         (workAreaDispatch): remove an uneeded update call
3158         (dispatch): remove some manual update calls
3159
3160         * cursor.[Ch]: remove cached_y_, updatePos
3161         (selHandle): set noUpdate when appropriate
3162
3163         * lyxfunc.C (dispatch): track if we need an update
3164
3165         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3166
3167         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3168         (paintSelection): cheap optimization, do not call cursorX when not
3169         needed
3170         (paintPars): change signature
3171         (refreshPar): add
3172         (paintText): adjust
3173         (paintTextInset): adjust
3174
3175         * text.C: adjust
3176
3177 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3178
3179         * lengthcommon.C: compilation fix: remove explicit array size from
3180         unit_name[] and friends
3181
3182 2004-04-05  Angus Leeming  <leeming@lyx.org>
3183
3184         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3185
3186         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3187         present only for the preferences dialog.
3188         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3189
3190 2004-04-05  Angus Leeming  <leeming@lyx.org>
3191
3192         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3193         to enable the frontends to export changes to lyxrc correctly.
3194
3195         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3196
3197 2004-04-07  André Pönitz  <poenitz@gmx.net>
3198
3199         * cursor.[Ch] (selClear, adjust): remove math
3200
3201         * cursor_slice.C: more agressive assert
3202
3203         * lyxfunc.C:
3204         * BufferView_pimpl.C: rework mouse event dispatch
3205
3206         * dociterator.C:
3207         * paragraph.C:
3208         * text2.C:
3209         * text3.C: adjust
3210
3211 2004-04-05  André Pönitz  <poenitz@gmx.net>
3212
3213         * cursor.[Ch] (valign, halign...): remove unneeded functions
3214
3215 2004-04-05  Angus Leeming  <leeming@lyx.org>
3216
3217         * lyxlength.[Ch] (unit_name et al.): const-correct.
3218
3219 2004-04-05  Angus Leeming  <leeming@lyx.org>
3220
3221         * BufferView_pimpl.C:
3222         * buffer.C:
3223         * counters.C:
3224         * cursor.C:
3225         * lyxfunc.C
3226         * paragraph.C:
3227         * pariterator.C:
3228         * text.C:
3229         * text2.C:
3230         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3231
3232 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3233
3234         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3235
3236 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3237
3238         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3239         * BufferView_pimpl.[Ch] (getStatus)
3240         * BufferView.[Ch] (getStatus): add
3241         * lyxfunc.C (getStatus): move lfuns handled in
3242         BufferView::dispatch to te function above
3243         * Cursor.C (setSelection): set selection() = true
3244
3245 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3246
3247         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3248
3249 2004-03-31  Angus Leeming  <leeming@lyx.org>
3250
3251         * lyxfunc.C (dispatch): Fall through to the generic
3252         Dialogs::show("preamble").
3253
3254 2004-03-31  Angus Leeming  <leeming@lyx.org>
3255
3256         * lyxfunc.C (dispatch): Fall through to the generic
3257         Dialogs::show("spellchecker").
3258
3259 2004-03-31  Angus Leeming  <leeming@lyx.org>
3260
3261         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3262         preferences dialog.
3263
3264 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3265
3266         * BufferView.C
3267         * cursor.[Ch]
3268         * dociterator.[Ch]:
3269         * insetiterator.[Ch]:
3270         * lyxfind.C:
3271         * lyxfunc.C:
3272         * pariterator.[Ch]:
3273         * text2.C:
3274         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3275
3276 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3279         insets where we are putting the cursor.
3280
3281 2004-03-31  Angus Leeming  <leeming@lyx.org>
3282
3283         * lfuns.h:
3284         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3285
3286         * lyxrc.[Ch] (read, write): overloaded member functions taking
3287         a std::[io]stream arguments.
3288
3289         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3290
3291 2004-03-31  Angus Leeming  <leeming@lyx.org>
3292
3293         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3294         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3295
3296         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3297         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3298
3299 2004-03-31  Angus Leeming  <leeming@lyx.org>
3300
3301         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3302         the LFUN_ALL_INSETS_TOGGLE code.
3303
3304 2004-03-30  Angus Leeming  <leeming@lyx.org>
3305
3306         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3307         has died. Fall through to the generic Dialogs::show("document").
3308
3309 2004-03-30  Angus Leeming  <leeming@lyx.org>
3310
3311         * lfuns.h:
3312         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3313         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3314
3315         * lyxfunc.C (getStatus, dispatch): define the actions for these
3316         lfuns. Little more than a cut and pste job from ControlDocument.C
3317
3318         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3319
3320 2004-03-30  Angus Leeming  <leeming@lyx.org>
3321
3322         * lfuns.h:
3323         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3324         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3325
3326         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3327         open/closed state of ollapsable insets. Usage:
3328
3329         all-inset-toggle <state> <name>, where
3330         <state> == "open" || "closed" || "toggle" and
3331         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3332
3333         * lyxtext.h, text2.C (toggleInset): removed.
3334
3335         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3336         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3337         now passes LFUN_INSET_TOGGLE to the found inset.
3338
3339         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3340         is now invoked as "all-insets-toggle toggle branch".
3341
3342 2004-03-30  Angus Leeming  <leeming@lyx.org>
3343
3344         * dociterator.C:
3345         * insetiterator.C:
3346         * pariterator.[Ch]: added/corrected header blurb.
3347
3348 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3349
3350         * dociterator.[Ch]: add an inset_ member
3351         (backwardPos): implemented
3352         (backwardPos, forwardPos): use inset_ when the stack is empty.
3353         (doc_iterator_begin, doc_iterator_end): implemented
3354         * pariterator.[Ch]: adjust, add begin, end
3355         * insetiterator.[Ch]: adjust, add begin, end
3356         * cursor.C:
3357         * document.C:
3358         * BufferView.C:
3359         * BufferView_pimpl.C:
3360         * CutAndPaste.C: adjust
3361
3362 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3363
3364         * buffer.C: increment file format to 232.
3365         * LaTeXFeatures.C: add bibtopic package.
3366         * bufferparams.[Ch]: param \use_bibtopic.
3367
3368         * lyxrc.[Ch]: add lyxrc bibtex_command
3369         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3370
3371         * buffer.C: increment file format to 231.
3372
3373 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3374
3375         * dociterator.C: implement forwardPar
3376         * iterators.[Ch]: remove, replaced by
3377         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3378         * BufferView.C:
3379         * BufferView_pimpl.C:
3380         * CutAndPaste.C:
3381         * buffer.C:
3382         * bufferview_funcs.C:
3383         * cursor.C:
3384         * lyxfind.C
3385         * lyxfunc.C
3386         * paragraph_funcs.C
3387         * toc.C:
3388         * Makefile.am: adjust
3389
3390 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3391
3392         * CutAndPaste.C (pasteSelection): fix 2 crashes
3393         (eraseSelection): fix a crash
3394         * paragraph_funcs.C: remove a warning
3395
3396 2004-03-28  Angus Leeming  <leeming@lyx.org>
3397
3398         * lfuns.h:
3399         * LyXAction.C (init): new LFUN_PRINT.
3400
3401         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3402
3403 2004-03-27  Angus Leeming  <leeming@lyx.org>
3404
3405         * lfuns.h:
3406         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3407
3408         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3409
3410 2004-03-27  Angus Leeming  <leeming@lyx.org>
3411
3412         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3413         insetlist always contains non-null pointers to insets.
3414
3415 2004-03-26  Angus Leeming  <leeming@lyx.org>
3416
3417         * src/BufferView_pimpl.C:
3418         * src/CutAndPaste.C:
3419         * src/buffer.C:
3420         * src/iterators.C:
3421         * src/output_plaintext.C:
3422         * src/outputparams.h:
3423         * src/paragraph_funcs.C:
3424         * src/rowpainter.C:
3425         * src/text.C:
3426         * src/text2.C:
3427         * src/frontends/controllers/ControlErrorList.C:
3428         * src/frontends/gtk/FileDialogPrivate.C:
3429         * src/frontends/gtk/GPainter.C:
3430         * src/frontends/gtk/GToolbar.C:
3431         * src/frontends/qt2/QRef.C:
3432         * src/mathed/math_scriptinset.C: squash compiler warnings.
3433
3434 2004-03-26  Angus Leeming  <leeming@lyx.org>
3435
3436         * ispell.C (LaunchIspell::start):
3437         * lyx_cb.C (AutoSaveBuffer::start):
3438         invoke run(DontWait) rather than runNonBlocking().
3439
3440 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3441
3442         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3443
3444 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3445
3446         * kbsequence.C (print): adjust
3447
3448         * kbmap.C (printKeySym): rename and change signature
3449         (printKey): use LyXKeySym::print()
3450
3451 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3452
3453         * undo.C: add using std::advance to compile for stlport
3454
3455 2004-03-24  Angus Leeming  <leeming@lyx.org>
3456
3457         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3458         it leads to a crash when no buffer is present.
3459
3460 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3461             Martin Vermeer  <martin.vermeer@hut.fi>
3462
3463         * lyxfunc.C (dispatch):
3464         * bufferparams.C (readToken): use the new LColor::setColor
3465
3466         * LColor.[Ch] (setColor): new version that takes two strings as
3467         argument and creates a new color entry if necessary
3468
3469 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3470
3471         * buffer.C (makeLaTeXFile): if the main latex file that is
3472         processed is usually a subdocument of some master, then pretend
3473         for a while that it is actually the master
3474
3475 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3476
3477         * buffer.C (getLabelList):
3478         (getBibkeyList): use getMasterBuffer()
3479         (getMasterBuffer): new method. Returns the main document in the
3480         case where one is using included documents.
3481
3482 2004-03-25  André Pönitz  <poenitz@gmx.net>
3483
3484         * Makefile.am:
3485         * iterators.[Ch]:
3486         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3487
3488         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3489
3490         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3491         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3492
3493         * ParameterStruct.h: merge with ParagraphParameters
3494
3495         * lyxtext.h: remove LyXText::parOffset() and getPar()
3496
3497         * text3.C: Remove all 'manual' update calls. We do now one per user
3498         interaction which is completely sufficient.
3499
3500         * Bidi.C:
3501         * BufferView.[Ch]:
3502         * BufferView_pimpl.C:
3503         * FontIterator.[Ch]:
3504         * MenuBackend.C:
3505         * ParagraphParameters.[Ch]:
3506         * buffer.C:
3507         * buffer.h:
3508         * bufferlist.C:
3509         * cursor.[Ch]:
3510         * cursor_slice.[Ch]:
3511         * dociterator.[Ch]:
3512         * errorlist.[Ch]:
3513         * factory.C:
3514         * lfuns.h:
3515         * lyxfind.C:
3516         * lyxfunc.C:
3517         * output_docbook.[Ch]:
3518         * output_latex.[Ch]:
3519         * output_linuxdoc.[Ch]:
3520         * output_plaintext.[Ch]:
3521         * paragraph.[Ch]:
3522         * paragraph_funcs.[Ch]:
3523         * paragraph_pimpl.[Ch]:
3524         * rowpainter.C:
3525         * tabular.[Ch]:
3526         * text.C:
3527         * text2.C:
3528         * toc.C:
3529         * undo.[Ch]: adjust
3530
3531         * frontends/controllers/ControlDocument.C:
3532         * frontends/controllers/ControlErrorList.C:
3533         * frontends/controllers/ControlSpellchecker.C:
3534         * insets/inset.C:
3535         * insets/inset.h:
3536         * insets/insetbase.h:
3537         * insets/insetbibitem.C:
3538         * insets/insetbox.C:
3539         * insets/insetbranch.C:
3540         * insets/insetcaption.C:
3541         * insets/insetcharstyle.C:
3542         * insets/insetcharstyle.h:
3543         * insets/insetcollapsable.C:
3544         * insets/insetcollapsable.h:
3545         * insets/insetert.C:
3546         * insets/insetfloat.C:
3547         * insets/insetfoot.C:
3548         * insets/insetmarginal.C:
3549         * insets/insetnote.C:
3550         * insets/insetoptarg.C:
3551         * insets/insettabular.C:
3552         * insets/insettext.C:
3553         * insets/insettext.h:
3554         * insets/insetwrap.C:
3555         * mathed/math_mboxinset.C:
3556         * mathed/math_nestinset.C:
3557         * mathed/math_scriptinset.C:
3558         * mathed/math_scriptinset.h:
3559         * support/types.h:
3560
3561 2004-03-24  Angus Leeming  <leeming@lyx.org>
3562
3563         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3564         deal with any child processes that have finished but are waiting to
3565         communicate this fact to the rest of LyX.
3566
3567 2004-03-24  Angus Leeming  <leeming@lyx.org>
3568
3569         64-bit compile fixes.
3570
3571         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3572         (c-tor): pass lyx::pos_types rather than ints.
3573
3574         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3575         lyx::pos_type.
3576
3577         * text.C (Delete): compile fix.
3578         (getPar): ensure that function declaration is the same as that in
3579         the header file.
3580
3581 2004-03-23  Angus Leeming  <leeming@lyx.org>
3582
3583         * ispell.C (LaunchIspell):
3584         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3585         a boost::shred_ptr rather than a std::auto_ptr.
3586
3587 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3588
3589         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3590         handle LFUN_FILE_INSERT_*
3591
3592         * lyxrc.C (setDefaults, getDescription, output, read):
3593         * lyxrc.h: remove ps_command
3594
3595 2004-03-22  Angus Leeming  <leeming@lyx.org>
3596
3597         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3598         Ensure that error_handler is processed once only and that all data
3599         is saved before attempting to output any warning messages.
3600
3601         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3602
3603 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3604
3605         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3606
3607 2004-03-19  André Pönitz  <poenitz@gmx.net>
3608
3609         * cursor.[Ch] (reset): take main text inset as argument
3610
3611         * BufferView: adjust
3612         * BufferView_pimpl.C: adjust
3613
3614         * paragraph.[Ch]: fix completely broken operator=()
3615
3616 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3617
3618         * LColor.C (getFromLyXName): make sure that the color name is used
3619         as lowercase.
3620
3621 2004-03-17  Angus Leeming  <leeming@lyx.org>
3622
3623         * lfuns.h:
3624         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3625
3626         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3627         dialog and to kill a forked process.
3628
3629 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3630
3631         * text2.C (setCursorFromCoordinates): fix font problem
3632
3633 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3634
3635         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3636         bogus "rebuild cursor" code
3637
3638 2004-03-11  André Pönitz  <poenitz@gmx.net>
3639
3640         * buffer.[Ch]: use InsetText instead of LyXText as container for
3641         the main lyx text.
3642
3643         * dociterator.[Ch]: drop the BufferView * member which is not needed
3644         anymore after the change to buffer.C
3645
3646         * paragraph_funcs.C:
3647         * text.C:
3648         * text2.C:
3649         * BufferView.[Ch]:
3650         * BufferView_pimpl.[Ch]:
3651         * cursor.[Ch]:
3652         * cursor_slice.[Ch]: adjust
3653
3654         * text3.C: fix bug in mathDispatch
3655
3656 2004-03-08  André Pönitz  <poenitz@gmx.net>
3657
3658         * undo.[Ch]: use 'StableDocumentIterator' as base for
3659         the Undo struct.
3660
3661 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3662
3663         * LaTeXFeatures.C:
3664         * bufferparams.[Ch]: add jurabib support and param.
3665
3666         * LaTeX.C: add FIXME/comment.
3667
3668 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3669
3670         * buffer.C: increment file format to 230.
3671
3672 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3673
3674         * cursor.C (dispatch): avoid infinite loops
3675
3676 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3677
3678         * rowpainter.C (paintSelection): fix x coordinates
3679
3680 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3681
3682         * text.C (rowBreakPoint): fix breaking before displayed insets
3683
3684 2004-03-01  André Pönitz  <poenitz@gmx.net>
3685
3686         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3687
3688         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3689
3690         * Makefile.am:
3691         * BufferView.C:
3692         * BufferView_pimpl.C:
3693         * buffer.C:
3694         * lyxfind.C:
3695         * lyxfunc.C:
3696         * text.C:
3697         * text2.C:
3698         * text3.C: adjust
3699
3700 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3701
3702         * lyxtext.h:
3703         * text.C:
3704         * text2.C:
3705         * rowpainter.C:
3706         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3707         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3708
3709 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3710
3711         * Bidi.[Ch] (computeTables): const correctness
3712         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3713         fill_hfill, fill_label_hfill and x from Row
3714         * lyxtext.h: prepareToPrint returns a RowMetrics
3715         * rowPainter.C: adjust
3716         * text.C (prepareToPrint): use width, not textWidth. adjust
3717         (redoParagraphInternal, cursorX): adjust
3718         * text2.C (getColumnNearX): adjust
3719         (init): put a default value to the top LyXText::width
3720
3721 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3722
3723         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3724
3725 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3726
3727         * lyxtext.h: add FontIterator class
3728
3729         * text.C (FontIterator, operator*, operator->, operator++): add
3730         (rowBreakPoint, setRowWidth): adjust (fixing a
3731         rebreaking bug)
3732
3733 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3734
3735         * BufferView_pimpl.C (workAreaDispatch): allow also
3736         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3737
3738 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3739
3740         * text.C (rowBreakPoint): fix a bug showing with very large insets
3741
3742 2004-02-25  André Pönitz  <poenitz@gmx.net>
3743
3744         * text3.C:
3745         * cursor.[Ch]: move some mathed specific code to mathed
3746
3747 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3748
3749         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3750         use_tempdir in preferences
3751         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3752         tempfile creation
3753         * lyx_main.C: ensure that tempdir is valid
3754         * lyxlex.h: correct typo
3755         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3756         * paragraph.[Ch] (isMultiLingual): make const
3757         * cursor.[Ch] (openable): make const
3758
3759 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3760
3761         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3762
3763 2004-02-20  André Pönitz  <poenitz@gmx.net>
3764
3765         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3766
3767         * cursor.[Ch]: prepare for localized getStatus()
3768
3769         * lyxtext.h:
3770         * tabular.C:
3771         * text.C:
3772         * text2.C:
3773         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3774
3775 2004-02-20  André Pönitz  <poenitz@gmx.net>
3776
3777         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3778
3779 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3780
3781         * text2.C (setCursorFromCoordinates): switch to absolute coords
3782         (cursorUp): adjust
3783         (cursorDown): adjust
3784         * text3.C (dispatch): adjust
3785
3786 2004-02-16  André Pönitz  <poenitz@gmx.net>
3787
3788         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3789           insets/ChangeLog)
3790
3791         * cursor_slice.[Ch]: remove unneeded acessor function
3792
3793         * lyxtext.h: rename rtl() to isRTL()
3794
3795         * rowpainter.C:
3796         * tabular.C:
3797         * text.C:
3798         * text2.C:
3799         * text3.C: adjust
3800
3801 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3802
3803         * rowpainter.C (paintSelection): coord fix
3804
3805 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3806
3807         * Spacing.C: compile fix
3808
3809 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3810
3811         * cursor.C (dispatch): restore current_ before returning
3812
3813 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3814
3815         * text2.C (cursorUp, cursorDown): fix coords
3816         (moveUp): fix crash
3817
3818 2004-02-12  André Pönitz  <poenitz@gmx.net>
3819
3820         * lyxtext.h:
3821         * text.C:
3822         * text2.C:
3823         * text3.C: add LCursor & parameter to most cursor movement functions
3824           remove usage of LyXText::cursorRow() and cursorPar()
3825
3826         * cursor.[Ch]: add textRow() needed members
3827
3828         * BufferView.C:
3829         * BufferView_pimpl.C:
3830         * paragraph.[Ch]:
3831         * BufferView.C:
3832         * BufferView_pimpl.C: adjust
3833
3834 2004-02-11  André Pönitz  <poenitz@gmx.net>
3835
3836         * lyxfunc.C:
3837         * BufferView.[Ch]:
3838         * BufferView_pimpl.C: shift undo/redo handling
3839
3840         * cursor.[Ch]: fix mathed crash
3841
3842         * lyxfind.C:
3843         * lyxtext.h: move selectionAsText to LCursor
3844
3845         * output_latex.C:
3846         * paragraph.C:
3847         * text.C:
3848         * text2.C:
3849         * text3.C: adjust
3850
3851         * rowpainter.C: fix excessive drawing
3852
3853 2004-02-06  André Pönitz  <poenitz@gmx.net>
3854
3855         * BufferView.[Ch]:
3856         * BufferView_pimpl.[Ch]:
3857         * text3.C: move some text specific LFUN handling
3858
3859 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3860
3861         * text3.C (checkInsetHit): adjust coords
3862         * text2.C (getColumnNearX): adjust coords
3863         (edit): adjust coords
3864         * text.C (getRowNearY): add two asserts
3865
3866 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3867
3868         * converter.C:
3869         * format.C: add using std::distance to compile on gcc 2.95/stlport
3870
3871 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3872
3873         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3874
3875 2004-02-04  André Pönitz  <poenitz@gmx.net>
3876
3877         * BufferView.[Ch] (insertInset):
3878         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3879
3880         * text2.C:
3881         * text3.C: adjust
3882
3883 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3884
3885         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3886         on the default clause of the switch
3887         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3888         wasn't catched by LCursor::dispatch
3889
3890 2004-02-03  André Pönitz  <poenitz@gmx.net>
3891
3892         * BufferView.C:
3893         * cursor.[Ch]: some additional asserts
3894
3895         * undo.[Ch]: remove LyXText dependency in interface
3896
3897         * lyxfunc.C: adjust
3898
3899         * lyxtext.h (firstPar, lastPar): remove dead functions
3900
3901         * text.C:
3902         * text2.C:
3903         * text3.C:
3904         * paragraph.[Ch]: adjust
3905
3906 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3907
3908         * lyxfind.C (find): fix argument order in call to ::find
3909
3910 2004-02-02  André Pönitz  <poenitz@gmx.net>
3911
3912         * cursor.[Ch]: remove direct access to anchor
3913
3914         * text.C: remove findText() hack
3915
3916 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3917
3918         * iterators.[Ch] (lockPath): remove in favour of...
3919         * BufferView.[Ch] (setCursor): this addition
3920         * BufferView.C (putSelectionAt): adjust
3921         * undo.C (performUndoOrRedo): adjust
3922         * lyxfunc.C (dispatch): adjust
3923
3924 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3925
3926         * iterators.C (lockPath): add a missing slice
3927         * undo.C (performUndoOrRedo): remove redundant positioning code
3928
3929 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * vc-backend.C (scanMaster): ";" -> ';'
3932
3933 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3936         std::binary_function
3937
3938         * lyxtextclass.C (compare_name): rename to...
3939         (LayoutNamesEqual): ...this
3940
3941         * lyxlex_pimpl.C (compare_tags): inherit from
3942         std::binary_function, put back into anon namespace
3943
3944         * lyxfind.C (MatchString): inherig from std::binary_function
3945         (findChange): use empty() istead of !size()
3946
3947         * format.C (FormatNamesEqual): new functor
3948         (getFormat): use it
3949         (getNumber): use it
3950         (add): use it
3951         (erase): use it
3952         (setViewer): use it
3953
3954         * converter.C (compare_Converter): rename to...
3955         (ConverterEqual): ...this, and fixup a bit.
3956         (getConverter): use it, and make function const
3957         (getNumber): use it, and make function const
3958         (add): use it
3959         (erase): use it:
3960
3961         * bufferlist.C: add using boost::bind
3962
3963         * MenuBackend.C (MenuNamesEqual): new functor
3964         (hasMenu): use it, and make function const
3965         (hasSubmenu): use nested bind to get rid of compare_memfun.
3966
3967 2004-01-30  André Pönitz  <poenitz@gmx.net>
3968
3969         * BufferView_pimpl.C:
3970         * cursor.C:
3971         * cursor.h:
3972         * cursor_slice.[Ch]:
3973         * lyxfunc.C:
3974         * lyxtext.h:
3975         * paragraph_funcs.C:
3976         * paragraph_funcs.h:
3977         * rowpainter.C:
3978         * text.C:
3979         * text2.C:
3980         * text3.C: move some of the edit(x,y) handling to the insets
3981         some coordinate changes.
3982
3983 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3984
3985         * text.C: add using statements for std::advance and std::distance
3986
3987         * paragraph.C: add using statement for std::distance
3988
3989         * lyxfind.C: add using statement for std::advance
3990
3991         * cursor.C (region): remove std:: from swap
3992         (openable): use nucleus in stead of operator->
3993
3994         * BufferView.C: add using statements for std::distance and std::swap
3995
3996 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * iterators.C: Remove the pimple, move the needed structures to
3999         the header file. Create accessor for the positions stack.
4000         (asPosIterator): remove function
4001
4002         * PosIterator.C (PosIterator): move constructors to top of file
4003         (PosIterator): reimplement the constructor taking a ParIterator in
4004         terms of setFrom.
4005         (setFrom): new function
4006         (operator!=): inline it
4007
4008 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * lyxfind.C (replaceAll): use std::advance
4011
4012         * iterators.h: inherit from std::iterator.
4013
4014         * PosIterator.C (advance, distance): remove
4015         * PosIterator.h: interit from std::iterator.
4016
4017 2004-01-26  André Pönitz  <poenitz@gmx.net>
4018
4019         * BufferView.[Ch]:
4020         * BufferView_pimpl.[Ch]:
4021         * InsetList.[Ch]:
4022         * PosIterator.[Ch]:
4023         * buffer.h:
4024         * bufferview_funcs.C:
4025         * cursor.[Ch]:
4026         * cursor_slice.h:
4027         * factory.[Ch]:
4028         * iterators.[Ch]:
4029         * lyxfind.C:
4030         * lyxfunc.C:
4031         * lyxtext.h:
4032         * output_docbook.C:
4033         * output_latex.C:
4034         * output_linuxdoc.C:
4035         * output_plaintext.C:
4036         * paragraph.[Ch]:
4037         * paragraph_funcs.[Ch]:
4038         * paragraph_pimpl.[Ch]:
4039         * rowpainter.C:
4040         * tabular.C:
4041         * tabular.h:
4042         * text.C:
4043         * text2.C:
4044         * text3.C: more IU:  dumps most of the rest of the mathcursor
4045     implementation into cursor.[Ch]; "globalize" a bit of it.
4046
4047 2004-01-25  Angus Leeming  <leeming@lyx.org>
4048
4049         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4050
4051 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4052
4053         * LaTeXFeatures.h: add nice_ and nice() const
4054         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4055
4056 2004-01-20  André Pönitz  <poenitz@gmx.net>
4057
4058         * BufferView.[Ch]:
4059         * BufferView_pimpl.C:
4060         * PosIterator.C:
4061         * bufferview_funcs.C:
4062         * cursor.[Ch]:
4063         * cursor_slice.[Ch]:
4064         * factory.C:
4065         * iterators.C:
4066         * lyx_cb.C:
4067         * lyxfind.C:
4068         * lyxfunc.C:
4069         * lyxtext.h:
4070         * rowpainter.C:
4071         * text.C:
4072         * text2.C:
4073         * text3.C:
4074         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4075           LCursor and mathcursor parts to LCursor and InsetBase.
4076
4077 2004-01-15  André Pönitz  <poenitz@gmx.net>
4078
4079         * cursor_slice.[Ch]: add a few covienience functions
4080
4081         * funcrequest.[Ch]: remove BufferView * member
4082
4083         * BufferView_pimpl.C:
4084         * cursor.C:
4085         * factory.[Ch]:
4086         * lyxfind.[Ch]:
4087         * lyxfunc.C:
4088         * lyxtext.h:
4089         * text3.C:
4090         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4091
4092 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4093
4094         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4095         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4096
4097 2004-01-13  André Pönitz  <poenitz@gmx.net>
4098
4099         * textcursor.[Ch]:
4100         * lyxtext.h: hide cursor and selection anchor behind accessor function
4101
4102         * BufferView.C:
4103         * BufferView_pimpl.[Ch]:
4104         * PosIterator.C:
4105         * bufferview_funcs.C:
4106         * cursor.h:
4107         * lyxfind.C:
4108         * lyxfunc.C:
4109         * text.C:
4110         * text2.C:
4111         * text3.C:
4112         * undo.C: adjust
4113
4114         * cursor.h:
4115         * cursor_slice.[Ch]: some integer type changes for inset unification
4116
4117         * lyxcursor.[hC]: remove, it's CursorSlice now.
4118
4119         * Makefile.am:
4120         * BufferView_pimpl.[Ch]:
4121         * bufferview_funcs.C:
4122         * cursor_slice.C:
4123         * lyxtext.h:
4124         * text.C:
4125         * text2.C:
4126         * text3.C:
4127         * textcursor.[Ch]: adjust
4128
4129 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4130
4131         * text2.C (undoSpan): add and use
4132         * text.C (breakParagraph): use undoSpan (fix bug 578)
4133         * lyxtext.h: adjust
4134
4135 2004-01-08  Angus Leeming  <leeming@lyx.org>
4136
4137         * BufferView_pimpl.C (MenuInsertLyXFile):
4138         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4139         * lyxfunc.C (menuNew, open, doImport):
4140         FileFilterList change to the FileDialog open and save functions.
4141
4142 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4143
4144         * ShareContainer.h: make isEqual and isUnique adaptable
4145
4146         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4147
4148 2004-01-07  Angus Leeming  <leeming@lyx.org>
4149
4150         * LyXAction.C:
4151         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4152
4153         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4154
4155         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4156         functions replacing find, replace and replaceAll.
4157
4158         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4159         LFUN_WORDFIND(FORWARD|BACKWARD).
4160
4161 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4162
4163         * text.C (breakParagraph): remove an outdated #warning
4164
4165 2004-01-07  André Pönitz  <poenitz@gmx.net>
4166
4167         * lyxfind.C: somewhat clearer logic
4168
4169         * text.C: prevent crash in cursorX on unitialized row cache
4170
4171 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4172
4173         * lyxcursor.[Ch] (operator>): add
4174         * textcursor.C (selStart, selEnd): use std::min and std::max
4175
4176 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4177
4178         * Chktex.C: include boost/format.hpp
4179
4180 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4181
4182         * InsetList.C: replace functor MathcIt with adaptable functor
4183         InsetTablePosLess
4184         (insetIterator): modify accordingly
4185
4186         * BranchList.h: move the BranchNamesEqual functor here from...
4187         * BranchList.C: ... to here
4188
4189         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4190         SameName and match.
4191         (add): replace a finding loop with std::find_if.
4192
4193 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4194
4195         * output_docbook.C: moving LatexParam functionality into
4196         .layout files
4197
4198 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4199
4200         * buffer.C: increment format to 229.
4201
4202 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4203
4204         * LaTeXFeatures.C:
4205         * lyx_sty.[Ch]: remove minipageindent_def
4206
4207         * LyXAction.C:
4208         * factory.C:
4209         * lfuns.h:
4210         * lyxfunc.C:
4211         * text3.C: remove LFUN_INSET_MINIPAGE
4212
4213 2003-12-28  Angus Leeming  <leeming@lyx.org>
4214
4215         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4216
4217 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4218
4219         * text2.C (setParagraph): fix off-by-one crash
4220
4221 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4222
4223         * output_docbook.C: header stuff for AGU
4224
4225 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4226
4227         * text2.C (redoCursor): remove
4228         * text.C:
4229         * text3.C:
4230         * BufferView_pimpl.C: remove calls to redoCursor and
4231         setCursor(cursor.par(), cursor.pos()) all around
4232
4233 2003-12-15  Angus Leeming  <leeming@lyx.org>
4234
4235         * buffer.C: up the format to 228.
4236
4237 2003-12-15  André Pönitz  <poenitz@gmx.net>
4238
4239         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4240         slices
4241
4242         * Makefile.am:
4243
4244         * BufferView_pimpl.C:
4245         * cursor.[Ch]:
4246         * lyxcursor.[Ch]:
4247         * rowpainter.[Ch]:
4248         * lyxtext.h:
4249         * text.C:
4250         * text2.C:
4251         * text3.C: adjust
4252
4253 2003-12-15  Angus Leeming  <leeming@lyx.org>
4254
4255         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4256         than getFromGUIName to manipulate the color.
4257
4258 2003-12-14  Angus Leeming  <leeming@lyx.org>
4259
4260         * BranchList.[Ch]: minimize the API.
4261         (Branch::getBranch, getColor): now return a 'const &'.
4262         (Branch::setSelected) now returns a bool set to true if the
4263         selection status changes.
4264         (BranchList::clear, size, getColor, setColor, setSelected,
4265         allBranches, allSelected, separator): removed.
4266         (BranchList::find): new functions, returning the Branch with
4267         the given name.
4268         (BranchList::add, remove): return a bool indicating that
4269         the operation was successful.
4270
4271         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4272         new InsetBranch::isBranchSlected member function.
4273
4274         * LColor.[Ch]: mimimize the API.
4275         (fill): renamed as addColor and made private.
4276         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4277         versions of these functions taking a string arg have been removed.
4278
4279         * bufferparams.C (readToken):
4280         * lyxfunc.C (dispatch):
4281         * lyxrc.C (read): changes due to the altered BranchList and
4282         LColor APIs.
4283
4284         * factory.C (createInset, readInset): changes due to altered
4285         InsetBranch c-tor.
4286
4287 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4288
4289         * factory.C:
4290         * lyxfunc.C: remove insetminipage. "minipage-insert"
4291         now produces a frameless minipage box inset.
4292
4293 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4294
4295         * textcursor.[Ch] (selStart,selEnd): add new methods
4296         remove selection::start, end, use LyXCursor::operator<
4297         * lyxcursor.[Ch] (operator<): add
4298         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4299         * BufferView.[Ch] (unsetXSel): add
4300         * text2.C (clearSelection): use unsetXSel,adjust
4301         * text.C: adjust
4302         * text3.C: adjust
4303         * rowpainter.C: adjust
4304         * bufferview_funcs.C (put_selection_at): adjust
4305
4306 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4307
4308         * BufferView_pimpl.C: small coord. correction
4309
4310 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4311
4312         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4313         dragging over the splash screen.
4314
4315 2003-12-11  Angus Leeming  <leeming@lyx.org>
4316
4317         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4318         as it is now handled in LyXText::dispatch.
4319
4320         * text3.C (doInsertInset): remove a level of nesting.
4321
4322 2003-12-11  Angus Leeming  <leeming@lyx.org>
4323
4324         * factory.C (createInset): changes due to the changed interface to
4325         InsetCommandMailer::string2params.
4326
4327 2003-12-10  Angus Leeming  <leeming@lyx.org>
4328
4329         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4330         'dialog-show-new-inset <inset name>'
4331
4332 2003-12-10  Angus Leeming  <leeming@lyx.org>
4333
4334         * buffer.C: up the format to 227.
4335
4336         * factory.C: the box inset is now identified simply by 'Box'.
4337
4338 2003-12-10  Angus Leeming  <leeming@lyx.org>
4339
4340         * buffer.C: up the format to 226.
4341
4342         * factory.C: the note inset is now identified simply by 'Note'.
4343
4344 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4345
4346         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4347         when a pit is enough. Standarize a couple of loops.
4348
4349 2003-12-05  Angus Leeming  <leeming@lyx.org>
4350
4351         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4352         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4353         data to the re-worked "log" dialog.
4354
4355 2003-12-03  André Pönitz  <poenitz@gmx.net>
4356
4357         * PosIterator.C:
4358         * iterators.C:
4359         * lyxtext.h:
4360         * output_latex.C:
4361         * paragraph_funcs.C:
4362         * text.C:
4363         * text2.C: use Inset::getText instead of Inset::getParagraph
4364
4365 2003-12-03  André Pönitz  <poenitz@gmx.net>
4366
4367         * buffer.[Ch]:
4368         * lyxtext.h:
4369         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4370         InsetText::read() as LyXText::read()
4371
4372 2003-12-02  Angus Leeming  <leeming@lyx.org>
4373
4374         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4375         type. Add a comment in the implementation that the function uses
4376         the stream's bad() function rather than fail() as the std::streams
4377         would do.
4378
4379 2003-12-02  André Pönitz  <poenitz@gmx.net>
4380
4381         * lyxlex.[Ch]: make interface more similar to std::stream
4382
4383         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4384
4385 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4386
4387         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4388
4389 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4390
4391         * vspace.[Ch]: remove VSpace::NONE
4392
4393 2003-12-01  André Pönitz  <poenitz@gmx.net>
4394
4395         * buffer.[Ch]:
4396         * lyxtext.h: move ParagraphList member to LyXText
4397         rename LyXText::ownerParagraphs to LyXText::paragraph
4398
4399         * CutAndPaste.C:
4400         * bufferview_funcs.C:
4401         * iterators.[Ch]:
4402         * lyx_cb.C:
4403         * paragraph.C:
4404         * rowpainter.C:
4405         * tabular.C:
4406         * text.C:
4407         * text2.C:
4408         * text3.C: adjust
4409
4410         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4411
4412         * undo.C: fix cursor positioning
4413
4414 2003-12-01  John Levon  <levon@movementarian.org>
4415
4416         * BufferView_pimpl.C: fix a crash on exit with
4417         a buffer open
4418
4419 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4420
4421         * BranchList.C: fix setSelected() method.
4422
4423 2003-11-28  André Pönitz  <poenitz@gmx.net>
4424
4425         * ParagraphParameters.[Ch]:
4426         * ParameterStruct.h: remove space above/below from Paragraph to
4427          InsetVSpace
4428
4429         * BufferView_pimpl.C:
4430         * factory.C:
4431         * lyxfunc.C:
4432         * lyxtext.h:
4433         * output_latex.C:
4434         * paragraph.C:
4435         * paragraph_funcs.C:
4436         * rowpainter.[Ch]:
4437         * text.C:
4438         * text2.C:
4439         * text3.C: adjust
4440
4441 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4442
4443         * factory.C: Syntax change for CharStyles
4444
4445 2003-11-28  André Pönitz  <poenitz@gmx.net>
4446
4447         * BufferView.[Ch]:
4448         * BufferView.[Ch]:
4449         * buffer.[Ch]:
4450         * buffer.[Ch]: move LyXText member
4451
4452 2003-11-28  André Pönitz  <poenitz@gmx.net>
4453
4454         * BufferView.[Ch]: make LyXText * text a private member
4455
4456         * BufferView_pimpl.C:
4457         * cursor.C:
4458         * iterators.C:
4459         * lyx_cb.C:
4460         * lyxfind.C:
4461         * lyxtext.h:
4462         * rowpainter.[Ch]:
4463         * text.C:
4464         * text2.C:
4465         * undo.C: adjust
4466
4467         * output_plaintext.C: cleanup
4468
4469 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4470
4471         * buffer.C:
4472         * lyxtextclass.[Ch]: parametrize SGML document header
4473
4474 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4475
4476         * converter.[Ch]:
4477         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4478         getFlavor().
4479
4480 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4481
4482         * text2.C (setFont): rework using PosIterator (no more recursive)
4483         (setCharFont): no more needed
4484         (setLayout): no more selection cursors fiddling (done by redoCursor)
4485         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4486         destroy remaining ones)
4487
4488 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4489
4490         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4491         * lyxtext.h: ditto
4492         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4493         selection cursors
4494         * lyxfunc.C: adjust
4495         * text3.C: adjust + re-allow multi par depth changes
4496         * textcursor.C: simplify a bit
4497
4498 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4499
4500         * src/buffer.C:
4501         * src/lyxlayout.C:
4502         * src/lyxlayout.h:
4503         * src/lyxtext.h:
4504         * src/output_docbook.C:
4505         * src/output_latex.C:
4506         * src/paragraph.C:
4507         * src/paragraph.h:
4508         * src/sgml.C:
4509         * src/sgml.h:
4510         * src/text2.C: Introducing a number of tags parametrizing various
4511         XML formats that we may want to support
4512
4513 2003-11-25  André Pönitz  <poenitz@gmx.net>
4514
4515         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4516
4517         * lyxtext.h (leftMargin/rightMargin): simplify interface
4518
4519         * rowpainter.C:
4520         * text.C:
4521         * text2.C:
4522         * text3.C: adjust
4523
4524 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4525
4526         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4527         master file to any child files. Fixes bug 546.
4528
4529 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4530
4531         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4532
4533 2003-11-24  André Pönitz  <poenitz@gmx.net>
4534
4535         * rowpainter.C: simplification
4536
4537         * text2.C (updateCounters): remove call to redoParagraph on
4538         changed labels as this is far too expensive.
4539
4540 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4541
4542         * converter.C (convert): fix a crash: this function gets
4543         called with buffer == 0 from importer code.
4544
4545 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * text3.C (cursorPrevious): make sure that we do not compare
4548         iterators form different containers.
4549         (cursorNext): ditto
4550
4551         * rowpainter.C (paintSelection): make sure that we do not compare
4552         iterators from different containers.
4553
4554         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4555         iterators from different ParagraphList containers.
4556         [NEXT] ditto
4557
4558         * text2.C (LyXText): change order of initialization slightly
4559         (operator=): new function. copy all variables except cache_par_
4560         (moveUp): make sure that we do not compare iterators from
4561         different ParagraphList constainers.
4562         (moveDown): ditto
4563
4564         * text.C (firstPar): new function
4565         (lastPar): new function
4566         (endPar): new function
4567
4568         * lyxtext.h: move things around and group public functions, public
4569         variables, private functions, private variables
4570
4571 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4572
4573         * factory.C: change call to InsetERT constructor to avoid
4574         additional invocation of method status
4575         * text2.C (toggleInset): remove redundant update() call
4576         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4577         instead of a Bufferview pointer
4578
4579 2003-11-21  André Pönitz  <poenitz@gmx.net>
4580
4581         * rowpainter.C: simplification
4582
4583 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4584
4585         * text3.C (dispatch): make possible to extend a word/row selection
4586         with the mouse
4587
4588 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4589
4590         * lyxtext.h: x0_,y0_ -> xo_,yo_
4591         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4592         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4593         * rowpainter.C (paintRows): paint full paragraphs
4594
4595 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4596
4597         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4598         screen coordinates)
4599
4600 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4601
4602         * lyxtext.h: add x0_, y0_
4603         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4604         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4605
4606 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4607
4608         * text2.C (setCursorIntern): move the x_target update here *
4609         * text3.C: change some bv() to true/false in calls to
4610         cursorUp/Down/Right/Left
4611         * cursor.C: use helper function.
4612
4613 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4614
4615         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4616         * paragraph_funcs.[Ch]: correct comment
4617         * rowpainter.C: do not paint selections away from bv->cursor()
4618         Fix a long standing selection painting bug.
4619         * text3.C: generalize mouse-selection code to LyXTexts other that
4620         top one
4621         * textcursor.C: do not use y coords if we can use par offsets
4622
4623 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4624
4625         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4626         cursor position after e.g. inset insert)
4627
4628 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4629
4630         * lyxfind.C (replace): adjust to locking removal + some
4631         code simplification
4632
4633 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4634
4635         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4636         of the path
4637
4638 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4639
4640         * lyxlayout.[Ch]:
4641         * output_docbook.C: XML sanitation: new layout
4642         parameters InnerTag and CommandDepth
4643
4644 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4645
4646         * BufferView_pimpl.C:
4647         * factory.C:
4648         * text3.C: Fix the insertion and modification of button-style
4649         insets
4650
4651 2003-11-13  André Pönitz  <poenitz@gmx.net>
4652
4653         * InsetList.[Ch]: remove deleteLyXText
4654
4655         * paragraph.[Ch]: cache beginOfBody position
4656
4657         * Bidi.C:
4658         * text.C:
4659         * text2.C:
4660         * text3.C: remove superfluous update() calls
4661
4662         * vspace.C: cleanup
4663
4664 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4665
4666         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4667         * BufferView.C (fitLockedInsetCursor): remove
4668         * cursor.[Ch] (getDim): add
4669         * text.C (getRowNearY): add faster version
4670         * text3.C: remove some update calls
4671
4672 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4673
4674         * LaTeXFeatures.C:
4675         * LyXAction.C:
4676         * MenuBackend.C:
4677         * MenuBackend.h:
4678         * dispatchresult.h:
4679         * factory.C:
4680         * lfuns.h:
4681         * lyxfunc.C:
4682         * lyxtextclass.C:
4683         * lyxtextclass.h:
4684         * text3.C: The Character Style /XML short element patch.
4685
4686 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4687
4688         * text3.C:
4689         * factory.C: Small step to solving 'unable to insert some insets'
4690         problem
4691
4692 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4693
4694         * cursor.[Ch] (updatePos): new function for updating the y
4695         position of the tip inset
4696         * bufferview_funcs.C (put_selection_at):
4697         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4698
4699 2003-11-11  André Pönitz  <poenitz@gmx.net>
4700
4701         * text.C: remove big comment on invalid Paragraph pointers as it is
4702         not valid anymore
4703
4704 2003-11-11  André Pönitz  <poenitz@gmx.net>
4705
4706         * text_funcs.[Ch]: merge with ...
4707
4708         * text.C: ... this
4709
4710         * lyxtext.h:
4711         * text2.C:
4712         * text3.C: adjust
4713
4714         * Makefile.am: remove text_funcs.[Ch]
4715
4716 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4717
4718         * cursor.C (getPos): return absolute cached y coord
4719
4720         * BufferView_pimpl.C (fitCursor): new simplistic code
4721         (workAreaDispatch): add a fitCursor call
4722
4723 2003-11-10  André Pönitz  <poenitz@gmx.net>
4724
4725         * BufferView.[Ch]:
4726         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4727
4728 2003-11-10  André Pönitz  <poenitz@gmx.net>
4729
4730         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4731         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4732         indicate that the cursor needs to leave an inset
4733
4734         * lyxtext.h: remove inset locking
4735
4736         * cursor.[Ch]: re-implement functionality provided by inset locking
4737
4738         * BufferView.[Ch]:
4739         * BufferView_pimpl.[Ch]:
4740         * LyXAction.C:
4741         * bufferview_funcs.[Ch]:
4742         * factory.C:
4743         * funcrequest.[Ch]:
4744         * iterators.C:
4745         * lyx_cb.C:
4746         * lyxfind.C:
4747         * lyxfunc.C:
4748         * text.C:
4749         * text2.C:
4750         * text3.C:
4751         * undo.C: adjust
4752
4753 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4754
4755         * PosIterator.[Ch]: replace the stack with a vector, add inset
4756         accesor
4757         * iterators.[C]: adjust
4758
4759 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4760
4761         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4762         replaced
4763         * paragraph_funcs.C (readParToken): put the correct id in the
4764         error item, not the id of the top paragraph
4765
4766 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4767
4768         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4769         * bufferview_funcs.C (put_selection_at): use the above
4770
4771 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4772
4773         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4774
4775 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4776
4777         * output_linuxdoc.h:
4778         * output_plaintext.h:
4779         * output.h:
4780         * output_docbook.h: add #include statements
4781
4782 2003-11-05  José Matos  <jamatos@lyx.org>
4783
4784         * output_docbook.[Ch]:
4785         * output_latex.[Ch]:
4786         * output_linuxdoc.[Ch]:
4787         * output_plaintext.[Ch]: New files for output formats.
4788         * output.[Ch]: New file for helper functions.
4789
4790         * buffer.[Ch]:
4791         * paragraph_funcs.[Ch]: output functions moved to new files.
4792
4793         * outputparams.h: rename of latexrunparams.h
4794
4795         * LaTeX.[Ch]:
4796         * buffer.[Ch]:
4797         * bufferlist.[Ch]:
4798         * converter.[Ch]:
4799         * exporter.C:
4800         * paragraph.[Ch]:
4801         * paragraph_funcs.[Ch]:
4802         * paragraph_pimpl.[Ch]:
4803         * tabular.[Ch]: rename ascii to plaintext
4804         and LatexRunParams to OutputParams.
4805
4806 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4807
4808         * iterators.[Ch] (text): require bv argument
4809         * undo.C (recordUndo):
4810         * lyxfunc.C (dispatch):
4811         * bufferview_funcs.C (put_selection_at): adjust
4812
4813 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4814
4815         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4816
4817 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4818
4819         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4820         nestings
4821
4822 2003-11-04  André Pönitz  <poenitz@gmx.net>
4823
4824         * cursor.[Ch]: restructure
4825
4826         * BufferView.[Ch]:
4827         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4828
4829         * iterators.[Ch] (asCursor): remove
4830
4831         * lfuns.h: remove LFUN_INSET_EDIT
4832
4833         * lyxfunc.C:
4834         * tabular.C:
4835         * text.C:
4836         * text2.C:
4837         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4838
4839 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4840
4841         * lyxfind.[Ch]: complete overhaul
4842         * BufferView_pimpl.C:
4843         * lyxfunc.C: adjust
4844         * paragraph.[Ch] (insert): add
4845
4846 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4847
4848         * BufferView.[Ch]:
4849         * lyxtext.h:
4850         * text.C: remove dead spellcheck code
4851
4852 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * dispatchresult.h: add a val setter
4855
4856         * cursor.C (dispatch): use a tempvar for data_[i]
4857
4858 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4859
4860         * PosIterator.[Ch]: compile fix
4861
4862 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * text.C (cursorPar): deactivate the cursor cache
4865
4866 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4867
4868         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4869
4870 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4871
4872         * text3.C (dispatch): adjust for new DisptchResult semantics.
4873
4874         * lyxfunc.C (dispatch): handle update when return from
4875         Cursor::dispatch, adjust for new DispatchResult semantics.
4876
4877         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4878         DispatchResult(true) mean to not update. Add class functions for
4879         setting dispatched and update, as well as reading.
4880
4881         * cursor.C (dispatch): don't handle update here
4882
4883 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4886         * trans_mgr.C: adjust
4887
4888         * paragraph_funcs.C (readParToken): exception safety
4889
4890         * lyxvc.h: store the vcs pointer in a scoped_ptr
4891         * lyxvc.C: adjust
4892
4893         * lyxsocket.C (serverCallback): exception safety
4894
4895         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4896
4897         * ispell.C (clone): make it return a auto_ptr
4898
4899         * factory.C (createInset): exception safety
4900         (readInset): exception safety
4901
4902         * bufferlist.C (newBuffer): exception safety
4903
4904         * Thesaurus.C (Thesaurus): use initialization for aik_
4905
4906         * MenuBackend.C (expandToc): exception safety.
4907
4908 2003-11-03  André Pönitz  <poenitz@gmx.net>
4909
4910         * buffer.C:
4911         * buffer.h:
4912         * bufferview_funcs.C: remove getInsetFromId()
4913
4914         * lyxcursor.[Ch]:
4915         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4916
4917         * lyxfunc.C:
4918         * text2.C:
4919         * text3.C: adjust
4920
4921 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4922
4923         * PosIterator.C (distance, advance): new
4924         * bufferview_funcs.[Ch] (put_selection_at): new
4925         * iterators.[Ch] (lockPath): new
4926
4927 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4928
4929         * iterators.[Ch] (asPosIterator): added
4930         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4931         * PosIterator.[Ch]: added
4932
4933 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4934
4935         * text3.C:
4936         * lyxfunc.C:
4937         * cursor.C (dispatch):
4938         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4939
4940         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4941         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4942         contructor, add a class function dispatched. Remove operator>=
4943
4944 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4945
4946         * debug.C: only use the default constructor for debugstream
4947         (lyxerr) here.
4948
4949         * main.C (main): include debug.h and setup the lyxerr streambuf
4950         here.
4951
4952 2003-10-31  José Matos  <jamatos@lyx.org>
4953
4954         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4955
4956         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4957         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4958         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4959         * paragraph_pimpl.C (simpleTeXSpecialC):
4960         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4961         add LatexRunParams argument.
4962
4963         * exporter.C (Export): change call accordingly.
4964
4965         * latexrunparams.h: add new member to take care of the other backends.
4966 2003-10-30  José Matos  <jamatos@lyx.org>
4967
4968         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4969         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4970         factorise code for paragraph output.
4971         * buffer.[Ch]:
4972         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4973         move functions.
4974
4975 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4976
4977         * text3.C (dispatch):
4978         * lyxfunc.C (dispatch):
4979         * cursor.C (dispatch):
4980         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4981
4982         * dispatchresult.h: make the dispatch_result_t ctor explicit
4983
4984 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4985
4986         * sgml.[Ch]:
4987         * buffer.C: small refactoring of docbook stuff
4988
4989 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4992         meaning.
4993
4994 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4995
4996         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4997         operator dispatch_result_t, and operators for == != and >=
4998
4999         * cursor.C (dispatch): adjust for operator dispatch_result_t
5000         removal. comment out call to update
5001
5002         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5003
5004 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * text3.C:
5007         * text2.C:
5008         * text.C:
5009         * lyxtext.h:
5010         * lyxfunc.C:
5011         * cursor.C:
5012         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5013         (dispatch):
5014
5015         * dispatchresult.h: new file, DispatchResult broken out of
5016         insets/insetbase.h
5017
5018         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5019
5020 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * text.C (rowBreakPoint): put a hack inside #if 0
5023
5024 2003-10-28  André Pönitz  <poenitz@gmx.net>
5025
5026         * lyxtext.h:
5027         * metricsinfo.C:
5028         * paragraph_funcs.C:
5029         * rowpainter.C:
5030         * text.C:
5031         * text2.C: general cleanup (lots of small stuff)
5032
5033 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5034
5035         * text2.C (cursorEnd): simple fix to the "end key goes to one
5036         before the end on last row" bug
5037
5038 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5039
5040         * text.C (backspace): fix the "zombie characters"
5041
5042 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5045
5046 2003-10-27  André Pönitz  <poenitz@gmx.net>
5047
5048         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5049
5050         * factory.C: handle new InsetPagebreak, InsetLine
5051
5052         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5053         and move handling into new InsetPagebreak, InsetLine
5054
5055         * BufferView_pimpl.C:
5056         * LyXAction.C:
5057         * ParagraphParameters.C:
5058         * ParameterStruct.h:
5059         * lyxfunc.C:
5060         * lyxtext.h:
5061         * paragraph.C:
5062         * paragraph.h:
5063         * paragraph_funcs.C:
5064         * paragraph_pimpl.C:
5065         * rowpainter.C:
5066         * text.C:
5067         * text2.C:
5068         * text3.C: adjust
5069
5070 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * text.C:
5073         * lyxrow_funcs.[Ch]:
5074         * Bidi.C:
5075         * paragraph.C:
5076         * lyxtext.h:
5077         * rowpainter.C:
5078         * text2.C:
5079         * text3.C: remove lastPos uses in favour of Row::endpos
5080
5081 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5082
5083         * undo.C (performUndoOrRedo): fix two crashes by setting a
5084         cursor by hand and reordering some calls. Use bv->lockInset instead
5085         of inset->edit because the latter loses cursor information
5086
5087 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5090         by Martin
5091         (rowBreakPoint): fix width. change point to point + 1.
5092         Add a missing check.
5093
5094 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5095
5096         * MenuBackend.C:
5097         * lyxfunc.C: fix (at least partly) the problems
5098         with the Nav menu and headers inside branch insets
5099         reported by Kayvan
5100
5101 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * paragraph.C (getChar): add strong asserts
5104
5105         * lyxrow_funcs.C (lastPos): remove hideous hack
5106
5107         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5108         (fill): adjust to that (avoid an infinite loop)
5109
5110 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5111
5112         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5113
5114 2003-10-23  André Pönitz  <poenitz@gmx.net>
5115
5116         * RowList_fwd.h: change list<> to vector<> to gain speed
5117         after suggestion from Alfredo
5118
5119 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5120
5121         * lyxtext.h: move the bidi stuff from here...
5122         * text.C: and here
5123         * text2.C: and here
5124         * Bidi.[Ch]: ... to here
5125
5126 2003-10-23  André Pönitz  <poenitz@gmx.net>
5127
5128         * lyxtext.h:
5129         * text.C (isLastRow, isFirstRow): new functions
5130
5131         * paragraph.h: new width cache member
5132
5133         * rowpainter.C: replace RowList::iterator with Row & where possible
5134
5135         * lyxfunc.C: replace several view()->text with a single call
5136
5137         * toc.C: fix 'unused' warning
5138
5139 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5142         when woring with stream::pos_type
5143         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5144
5145 2003-10-22  André Pönitz  <poenitz@gmx.net>
5146
5147         * lyxtext.h:
5148         * text.C: use Row & instead of RowList::iterator
5149
5150         * lyxrow.h: rename end() to endpos()
5151
5152         * rowpainter.C:
5153         * text.C:
5154         * text2.C: adjust
5155
5156 2003-10-22  Angus Leeming  <leeming@lyx.org>
5157
5158         * buffer.[Ch] (fully_loaded): new member function, returning true
5159         only when the file has been loaded fully.
5160         Used to prevent the premature generation of previews and by the
5161         citation inset to prevent computation of the natbib-style label.
5162
5163         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5164         templates are all set up.
5165
5166         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5167
5168 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5169
5170         * text.C: fixed an "oops" in the "is a bit silly"
5171         bug fix
5172
5173 2003-10-21  André Pönitz  <poenitz@gmx.net>
5174
5175         * FuncStatus.[Ch]: small stuff, whitespace
5176
5177         * lyxfont.[Ch]: operator<<() for debug reasons
5178
5179         * lyxfunc.C:
5180         * lyxrow_funcs.C:
5181         * lyxtext.h: whitespace, spelling
5182
5183         * paragraph.C: naming of variables
5184
5185         * text.C:
5186         * text2.C: small stuff
5187
5188
5189 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5190
5191         * text.C: (1) finish off the inset display() work;
5192         (2) fix the "is a bit silly" bug (accessing char
5193         past end of par).
5194
5195 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5196
5197         * text.C: re-introduce display() for insets, fixing the
5198         various bugs (stretch of line above, math inset
5199         positioning, ...)
5200
5201 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5202
5203         * text.C (rightMargin): remove spurious semicolon
5204
5205         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5206         1415)
5207
5208 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5209
5210         * text3.C: fix one crash due to wrong cursor def
5211
5212 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * vc-backend.C (scanMaster): make the regex static
5215
5216         * LaTeX.C (scanAuxFile): make the regexs static
5217
5218         * text3.C (doInsertInset, dispatch, dispatch):
5219         * text2.C (cursorUp, cursorDown):
5220         * text.C (selectNextWordToSpellcheck):
5221         * BufferView_pimpl.C (dispatch):
5222         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5223
5224 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5225
5226         * lyxsocket.C: include <cerrno>
5227
5228 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * lyxfunc.C (dispatch): remove textcache stuff
5231
5232         * bufferlist.C (release): remove textcache stuff
5233         (closeAll): ditto
5234
5235         * TextCache.C: delete file
5236         * TextCache.h: delete file
5237
5238         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5239
5240         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5241         delete of the bv_->text.
5242         (resizeCurrentBuffer): remove texcache stuff
5243         (workAreaResize): ditto
5244
5245 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5246
5247         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5248         action.
5249
5250 2003-10-16  André Pönitz  <poenitz@gmx.net>
5251
5252         * lyxrow.[Ch]:
5253         * paragraph.h:
5254         * rowpainter.C:
5255         * text.C:
5256         * text2.C:
5257         * text3.C: speed up by storing y positions per paragraph plus per-row
5258         offset instead of having a 'full' y position in the row.
5259
5260 2003-10-15  André Pönitz  <poenitz@gmx.net>
5261
5262         * iterators.[Ch]:
5263         * iterators.[Ch]:
5264         * undo.[Ch]: make undo aware of inner insets
5265
5266 2003-10-14  Angus Leeming  <leeming@lyx.org>
5267
5268         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5269         static member functions LyX::ref() and LyX::cref.
5270         (lastfiles): new accessor functions for the new lastfiles_ member var.
5271         (addLyXView, views_): add a new LyXView to the list of views_.
5272         (updateInset): loop over all LyXViews to call their own updateInset
5273         member function, returning a pointer to the Buffer owning the inset.
5274
5275         * BufferView_pimpl.C (loadLyXFile):
5276         * MenuBackend.C (expandLastfiles):
5277         * bufferlist.C (MenuWrite, QuitLyX):
5278         lastfiles is no longer a global variable.
5279         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5280
5281         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5282         static function. Access through LyX::cref().emergencyCleanup().
5283
5284 2003-10-14  André Pönitz  <poenitz@gmx.net>
5285
5286         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5287
5288         * undo.[Ch]: restoring part of 'undo in insets'
5289
5290         * Makefile.am:
5291         * undo_funcs.[Ch]: merge with undo.[Ch]
5292
5293         * tabular.C: small cleansing stuff
5294
5295 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5296
5297         * paragraph_funcs.C (readParToken): report unknown insets as error
5298         boxes. Use the outer paragraph as location (also for unknown
5299         tokens).
5300
5301         * factory.C (readInset): do not abort on reading an unknown inset.
5302         Eat it and return 0.
5303
5304 2003-10-13  Angus Leeming  <leeming@lyx.org>
5305
5306         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5307
5308         * lyxrc.C: displayTranslator is now a function,
5309         declared in GraphicsTypes.h.
5310
5311 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5312
5313         * format.C: new placeholder $$a to pass the socket address.
5314
5315         * bufferlist.[Ch]: new function getBufferFromTmp.
5316
5317         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5318           files in the temporary dir.
5319
5320 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5321
5322         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5323
5324         * Makefile.am: add lyxsocket.[Ch].
5325
5326         * lyx_main.C (error_handler): handle SIGPIPE.
5327
5328 2003-10-13  André Pönitz  <poenitz@gmx.net>
5329
5330         * BufferView_pimpl.C:
5331         * lyxtext.h:
5332         * text.C:
5333         * text2.C:
5334         * text3.C:
5335         * undo_funcs.[Ch]: use paroffset_type instead of
5336           ParagraphList::iterators to prevent multiple conversion
5337           (and get a more robust interface)
5338
5339 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5340
5341         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5342         * lyxtext.h: ditto
5343         * text3.C (dispatch): ditto
5344
5345 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5346
5347         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5348         move the onlyfile, use onlyfile instead of foundfile in a couple
5349         of places.
5350
5351         * DepTable.C (update): flush the error stream a bit more
5352
5353 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * lyxserver.C (callback): adjust
5356
5357         * lyxfunc.C (getStatus): add a missing brace in commented code
5358         (ensureBufferClean): reindent
5359         (dispatch): delete version taking a string
5360
5361 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * LaTeX.C (deplog): move found file handlig from here...
5364         (handleFoundFile): .. to new function here.
5365         (deplog): make sure to discover several files mentioned on the
5366         same log line.
5367
5368 2003-10-10  André Pönitz  <poenitz@gmx.net>
5369
5370         * lyxfunc.C:
5371         * lyxtext.h:
5372         * tabular.C:
5373         * text.C:
5374         * text2.C:
5375         * text3.C: fix some of the tabular crashes
5376
5377 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5378
5379         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5380
5381         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5382
5383 2003-10-09  André Pönitz  <poenitz@gmx.net>
5384
5385         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5386
5387         * BufferView.C:
5388         * BufferView_pimpl.C:
5389         * bufferview_funcs.C:
5390         * lyx_cb.C:
5391         * lyxcursor.C:
5392         * lyxfind.C:
5393         * lyxfunc.C:
5394         * lyxtext.h:
5395         * text.C:
5396         * text2.C:
5397         * text3.C:
5398         * text_funcs.[Ch]:
5399         * textcursor.[Ch]:
5400         * undo_funcs.C: adjust
5401
5402 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * text2.C (incrementItemDepth): new function, use a backtracking
5405         algorithm to discover the correct item depth.
5406         (resetEnumCounterIfNeeded): new function, use a backtracking
5407         algorithm to discover if counter reset is needed.
5408         (setCounter): use them. Simplify a bit. Add different labels for
5409         different item depths for itemize.
5410
5411         * paragraph.C (Paragraph): remove initialization of enumdepth
5412         (operator=): ditto
5413
5414         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5415         enumerate and itemize. Change the type of itemdepth to signed char.
5416
5417 2003-10-08  André Pönitz  <poenitz@gmx.net>
5418
5419         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5420           thing assignable.
5421         * text.C:
5422         * text2.C: adjust
5423
5424         * tabular.[Ch]: fix crash after 'row-insert'
5425
5426 2003-10-08  Angus Leeming  <leeming@lyx.org>
5427
5428         Fix doxygen warnings.
5429
5430         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5431         Remove CutAndPaste:: prefix from header file declaration.
5432
5433         * LColor.h (fill): remove LColor:: prefix from declaration.
5434
5435         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5436         use lyx::depth_type rather than Paragraph::depth_type so that
5437         header file and .C file match.
5438
5439         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5440
5441         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5442         * aspell.C: \file aspell_local.C -> \file aspell.C
5443         * gettext.C: \file gettext.C -> \file src/gettext.C
5444         * gettext.h: \file gettext.h -> \file src/gettext.h
5445         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5446         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5447         * text.C: \file text.C -> \file src/text.C
5448
5449         * toc.C: move comment so that doxygen is not confused.
5450
5451 2003-10-07  Angus Leeming  <leeming@lyx.org>
5452
5453         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5454
5455 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5456
5457         * aspell.C:
5458         * aspell_local.h: add forgotten std::string's.
5459
5460 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5461
5462         * LaTeXFeatures.C:
5463         * LyXAction.C:
5464         * factory.C:
5465         * lfuns.h:
5466         * lyxfunc.C:
5467         * text3.C: The Box patch. Fancybox support, minipage, parbox
5468
5469 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5470
5471         * CutAndPaste.h:
5472         * DepTable.h:
5473         * FloatList.h:
5474         * LaTeXFeatures.h:
5475         * ParagraphParameters.h:
5476         * TextCache.h:
5477         * Thesaurus.h:
5478         * bufferlist.h:
5479         * exporter.h:
5480         * importer.h:
5481         * lastfiles.h:
5482         * lyxfind.h:
5483         * lyxfont.h:
5484         * lyxlex.h:
5485         * lyxtextclasslist.h:
5486         * messages.h:
5487         * paragraph.h:
5488         * paragraph_pimpl.C:
5489         * textcursor.h: add <string> and other small fixes to make Lars'
5490         std::string patch compile with STLport.
5491
5492 2003-10-06  Angus Leeming  <leeming@lyx.org>
5493
5494         * LColor.h: Add missing #include <string>.
5495
5496 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * All most all file in all subdirs: Make <string> be the prefered
5499         way of getting to std::string, add using declarations.
5500
5501 2003-10-06  André Pönitz  <poenitz@gmx.net>
5502
5503         * metricsinfo.C: initialize LyXFont before changing attribute.
5504         (fixes the 'math in \emph is upright' bug)
5505
5506 2003-10-06  André Pönitz  <poenitz@gmx.net>
5507
5508         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5509
5510 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5511
5512         * graph.C:
5513         * paragraph_pimpl.C: Small fixes to build using STLport
5514
5515 2003-10-02  André Pönitz  <poenitz@gmx.net>
5516
5517         * lyxfunc.C:
5518         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5519
5520 2003-10-01  André Pönitz  <poenitz@gmx.net>
5521
5522         * factory.C: assert early
5523
5524 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5525
5526         * lyx_main.C: remove the global debug object
5527
5528         * debug.h: adjust for new debugstream
5529
5530         * debug.C: adjust for new debugstream and keep the global debug
5531         object here.
5532
5533 2003-09-22  Angus Leeming  <leeming@lyx.org>
5534
5535         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5536         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5537         an incomplete class LyXFont.
5538
5539 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5540
5541         * factory.C: bug fix in branches
5542
5543 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * lyxfunc.C (processKeySym): adjust
5546         (dispatch): adjust
5547         (dispatch): change arg name from ev to func, adjust
5548         (sendDispatchMessage): ditto
5549
5550         * lyx_main.C (defaultKeyBindings): adjust keybindings
5551         (deadKeyBindings): ditto
5552
5553         * kbsequence.C (addkey): return a FuncRequest
5554
5555         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5556
5557         * kbmap.C (bind): take a FuncRequest as arg, adjust
5558         (read): adjust
5559         (lookup): adjust
5560         (defkey): change to take a FuncRequest as arg, adjust
5561         (findbinding): take a FuncRequest as arg, adjust.
5562
5563         * funcrequest.h (operator=): added
5564
5565         * funcrequest.C (FuncRequest): default kb_action changed from
5566         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5567
5568         * buffer.C (dispatch): simplify
5569         (dispatch): adjust to take a FuncRequest as arg, adjust
5570
5571         * boost.C (assertion_failed): change assertion message slightly
5572
5573         * ToolbarBackend.C (read): simplify
5574
5575         * MenuBackend.C (binding): adjust call to findbinding, add a
5576         message if no binding is found.
5577         (read): simplify
5578         (expandToc): correct by adding a empty FuncRequest
5579
5580         * LyXAction.C: include <boost/assert.hpp>
5581         (isPseudoAction): delete function
5582         (LookupFunc): change name to...
5583         (lookupFunc): this. change return type to FuncRequest.
5584         (getActionName): take kb_action as arg, simplify
5585         (funcHasFlag): add an assert, simplify.
5586
5587 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5588
5589         * toc.C (action): return a FuncRequest, simplify
5590
5591         * lyxfunc.C (processKeySym): adjust
5592         (getStatus): delete version that takes an int.
5593         (getStatus): adjust
5594         (dispatch): delete version that takes action as int
5595         (dispatch): adjust
5596         (sendDispatchMessage): simplify and adjust
5597
5598         * funcrequest.C (getArg): take unsigned int as arg
5599
5600         * ToolbarBackend.C (read): adjust
5601         (add): delete version that takes func as a string.
5602         (getIton): take a FuncRequest as arg
5603
5604         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5605         action.
5606
5607         * MenuBackend.C (MenuItem): add a new construct that only takes a
5608         Kind, simplify the constructor use for submenus.
5609         (add): adjust
5610         (expandLastfiles): adjust
5611         (expandDocuments): adjust
5612         (expandFormats): adjust
5613         (expandFloatListInsert): adjust
5614         (expandFloatInsert): adjust
5615         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5616
5617         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5618         Remove class variables lyx_pseudo_map and lyx_arg_map
5619
5620         * LyXAction.C (searchActionArg): delete function
5621         (getPseudoAction): delete function
5622         (retrieveActionArg): delete function
5623         (LookupFunc): make it return kb_action, simplify.
5624         (getActionName): simplify
5625
5626         * factory.C (createInset): fix new bug
5627
5628 2003-09-19  Angus Leeming  <leeming@lyx.org>
5629
5630         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5631         masterFilename_ parameter in the include inset.
5632
5633         * factory.C (createInset): changes due to the changes to InsetInclude.
5634
5635 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5636
5637         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5638
5639 2003-09-18  Angus Leeming  <leeming@lyx.org>
5640
5641         * buffer.C:
5642         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5643         Inset::fillWithBibKeys.
5644         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5645
5646 2003-09-18  Angus Leeming  <leeming@lyx.org>
5647
5648         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5649         variables.
5650         (ctor): pass and store a 'Buffer const &'
5651         (buffer): new member function.
5652
5653         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5654         '*this' to the LaTeXFeatures ctor.
5655
5656 2003-09-18  Angus Leeming  <leeming@lyx.org>
5657
5658         * LColor.h:
5659         * lyxfont.C:
5660         * lyxfont.h:
5661         * lyxtext.h:
5662         * text.C: rename EnumLColor as LColor_color.
5663
5664 2003-09-18  Angus Leeming  <leeming@lyx.org>
5665
5666         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5667         remove #include "insets/insetbase.h" from cursor.h.
5668
5669 2003-09-18  Angus Leeming  <leeming@lyx.org>
5670
5671         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5672         InsetOld_code to remove #include "inset.h".
5673
5674         * iterators.C: add #include "insets/inset.h"
5675
5676 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5677
5678         * BufferView.C: remove more locking stuff that apparently doesn't
5679         do anything sensible.
5680
5681 2003-09-16  André Pönitz  <poenitz@gmx.net>
5682
5683         * paragraph.[Ch]:
5684         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5685           performance boost.
5686
5687 2003-09-16  Angus Leeming  <leeming@lyx.org>
5688
5689         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5690
5691         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5692         arg/return type.
5693
5694         * paragraph.h: remove #include "lyxfont.h". Forward declare
5695         LyXFont_size.
5696
5697 2003-09-16  Angus Leeming  <leeming@lyx.org>
5698
5699         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5700         of support/textutils.h.
5701         (isWord): move the contents of support/textutils.h's IsWordChar here.
5702
5703         * buffer.C:
5704         * lyxfind.C:
5705         * rowpainter.C:
5706         * text.C:
5707         * text2.C: add #include "paragraph.h".
5708
5709         * rowpainter.C:
5710         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5711
5712 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * main.C:
5715         * lyx_main.C:
5716         * lyx_cb.C:
5717         * buffer.C:
5718         * LaTeX.C: use namespace alias for lyx::support::os
5719
5720 2003-09-16  Angus Leeming  <leeming@lyx.org>
5721
5722         * bufferparams.C:
5723         * bufferview_funcs.C:
5724         * factory.C:
5725         * lyxfunc.C:
5726         * paragraph_pimpl.C:
5727         * rowpainter.C:
5728         * text.C: add #include "LColor.h".
5729
5730 2003-09-16  Angus Leeming  <leeming@lyx.org>
5731
5732         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5733         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5734         return LyXFont &.
5735         Store the FontBits::color variable as an int rather than as an
5736         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5737         file.
5738
5739         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5740         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5741         string calls together.
5742
5743         * lyxrc.C: add #include "LColor.h".
5744
5745 2003-09-15  Angus Leeming  <leeming@lyx.org>
5746
5747         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5748         a cow_ptr.
5749
5750 2003-09-15  Angus Leeming  <leeming@lyx.org>
5751
5752         * LColor.h: add an EnumLColor wrapper for LColor::color.
5753
5754         * lyxfont.[Ch] (color, setColor, realColor):
5755         * lyxtext.h, text.C (backgroundColor):
5756         pass EnumLColor args to/from the functions, rather than LColor::color
5757         ones.
5758
5759         * lyxfont.h:
5760         * lyxtext.h: forward declare EnumLColor.
5761
5762         * lyx_main.C: add #include "LColor.h".
5763
5764 2003-09-15  Angus Leeming  <leeming@lyx.org>
5765
5766         * .cvsignore: add lyx-gtk.
5767
5768 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * Chktex.C
5771         * LaTeX.C
5772         * LaTeXFeatures.C
5773         * ParagraphParameters.C
5774         * Spacing.C
5775         * buffer.C
5776         * bufferparams.C
5777         * bufferview_funcs.C
5778         * chset.C
5779         * counters.C
5780         * funcrequest.C
5781         * lyxfont.C
5782         * lyxgluelength.C
5783         * lyxlength.C
5784         * paragraph.C
5785         * paragraph_funcs.C
5786         * text3.C
5787         * vc-backend.C: remove usage of STRCONV
5788
5789 2003-09-15  Angus Leeming  <leeming@lyx.org>
5790
5791         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5792         explicitly define the color passed to the painter.
5793
5794 2003-09-15  Angus Leeming  <leeming@lyx.org>
5795
5796         * bufferparams.C (BufferParams): reorder member initializers to avoid
5797         compiler warning.
5798
5799 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5800
5801         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5802         * text.C (updateRowPositions): remove an unusual nop
5803
5804 2003-09-12  André Pönitz  <poenitz@gmx.net>
5805
5806         * BufferView_pimpl.C:
5807         * Bullet.C:
5808         * layout.h:
5809         * lyxfunc.C:
5810         * lyxlayout.[Ch]:
5811         * lyxtextclass.C:
5812         * rowpainter.C:
5813         * text.C:
5814         * text2.C:
5815         * Counters.[Ch]: finish the 'automatic counters' job
5816
5817 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5818
5819         * aspell.C: include <boost/assert.cpp> (compile fix)
5820
5821 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5822
5823         * boost.C (assertion_failed): use lyx::support::abort instead of
5824         assert.
5825
5826 2003-09-10  Angus Leeming  <leeming@lyx.org>
5827
5828         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5829         with their _fwd progeny.
5830
5831 2003-09-09  Angus Leeming  <leeming@lyx.org>
5832
5833         134 files throughtout the source tree: replace 'using namespace abc;'
5834         directives with the appropriate 'using abc::xyz;' declarations.
5835
5836 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5837
5838         * boost.C (emergencyCleanup): moved here from LAssert.c
5839         (assertion_failed): new function, called by BOOST_ASSERT
5840
5841         * several files: change Assert to BOOST_ASSERT
5842
5843 2003-09-09  Angus Leeming  <leeming@lyx.org>
5844
5845         * buffer.[Ch]: Add an Impl class and move Buffer's member
5846         variables into it. As a result move several header files out of
5847         buffer.h.
5848
5849         Add header files to lots of .C files all over the tree as a result.
5850
5851 2003-09-09  Angus Leeming  <leeming@lyx.org>
5852
5853         * buffer.[Ch]: make Buffer's member variables private. Add
5854         accessor functions.
5855
5856         Lots of changes all over the tree as a result.
5857
5858 2003-09-08  Angus Leeming  <leeming@lyx.org>
5859
5860         * graph.C: #include <config.h>.
5861
5862 2003-09-08  Angus Leeming  <leeming@lyx.org>
5863
5864         * BranchList.C:
5865         * BufferView.C:
5866         * BufferView_pimpl.C:
5867         * CutAndPaste.C:
5868         * DepTable.C:
5869         * LaTeX.C:
5870         * LaTeXFeatures.C:
5871         * LyXAction.C:
5872         * MenuBackend.C:
5873         * TextCache.C:
5874         * aspell.C:
5875         * buffer.C:
5876         * bufferlist.C:
5877         * changes.C:
5878         * chset.C:
5879         * converter.C:
5880         * counters.C:
5881         * debug.C:
5882         * graph.C:
5883         * ispell.C:
5884         * lyx_cb.C:
5885         * lyxfind.C:
5886         * lyxfunc.C:
5887         * lyxlex_pimpl.C:
5888         * lyxrc.C:
5889         * lyxrow.C:
5890         * paragraph.C:
5891         * rowpainter.C:
5892         * texrow.C:
5893         * text.C:
5894         * text2.C:
5895         * toc.C: remove redundant using directives.
5896
5897 2003-09-07  Angus Leeming  <leeming@lyx.org>
5898
5899         * LaTeXFeatures.h: remove #include "support/types.h".
5900         * ToolbarBackend.h: remove #include <algorithm>.
5901         * changes.h: remove #include <ctime>.
5902         * debug.h: remove #include <iosfwd>.
5903         * graph.h: remove #include "support/std_string.h".
5904         * lyx_main.h: remove #include <csignal>.
5905         * lyxlex_pimpl.h: remove #include <fstream>.
5906         * sgml.h: remove #include <algorithm>, <utility>.
5907         * toc.h: remove #include "support/std_ostream.h".
5908         Add #include <iosfwd>.
5909
5910 2003-09-07  Angus Leeming  <leeming@lyx.org>
5911
5912         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5913
5914         * converter.h: forward declare LatexRunParams.
5915         * encoding.h: remove #include "lyxrc.h".
5916         * lyxtext.h: remove #include "LColor.h".
5917         * lyxtextclass.h: remove #include "support/types.h".
5918         * trans.h: remove #include "tex-accent.h".
5919         * trans_mgr.h: remove #include "tex-accent.h".
5920         * insets/inset.h: remove #include "support/types.h", <vector>.
5921         * insets/insetcollapsable.h: remove #include "LColor.h".
5922         * insets/insetinclude.h: remove #include "dimension.h".
5923         * insets/insetlatexaccent.h: remove #include "dimension.h".
5924         * insets/insetoptarg.h:: remove #include "insettext.h".
5925         * insets/insettext.h: remove #include "dimension.h",
5926         <boost/shared_ptr.hpp>
5927
5928         * insets/renderers.h: add #include "dimension.h".
5929         * insets/updatableinset.h: add #include "support/types.h".
5930
5931         * many .C files: Associated changes.
5932
5933 2003-09-06  Angus Leeming  <leeming@lyx.org>
5934
5935         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5936         one, inside testInvariant.
5937
5938         * PrinterParams.C: new file.
5939         * PrinterParams.[Ch]: move the function bodies out of line.
5940
5941 2003-09-06  Angus Leeming  <leeming@lyx.org>
5942
5943         * ParagraphParameters.h: forward declare ParameterStruct rather than
5944         including its header file.
5945         (depth): moved out-of-line.
5946
5947 2003-09-06  Angus Leeming  <leeming@lyx.org>
5948
5949         * BufferView_pimpl.h:
5950         * kbmap.h:
5951         * kbsequence.h:
5952         * lyxfunc.h: forward declare LyXKeySym rather than
5953         #include "frontends/LyXKeySym.h".
5954
5955         * BufferView_pimpl.C:
5956         * kbmap.C:
5957         * kbsequence.C:
5958         * lyxfunc.C: associated changes.
5959
5960 2003-09-06  Angus Leeming  <leeming@lyx.org>
5961
5962         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5963         As a result, can remove the #include "insets/inset.h" from BufferView.h
5964
5965 2003-09-06  Angus Leeming  <leeming@lyx.org>
5966
5967         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5968         As a result, can remove the #include "insets/inset.h" from BufferView.h
5969
5970 2003-09-06  Angus Leeming  <leeming@lyx.org>
5971
5972         * buffer_funcs.C:
5973         * buffer.h:
5974         * bufferlist.C:
5975         * BufferView.C:
5976         * bufferview_funcs.C:
5977         * BufferView_pimpl.C:
5978         * CutAndPaste.C:
5979         * lyx_cb.C:
5980         * lyxfunc.C:
5981         * paragraph.h:
5982         * ParagraphParameters.C:
5983         * tabular.C:
5984         * text3.C:
5985         * toc.C:
5986         * undo_funcs.C:
5987         * frontends/controllers/ControlDocument.C:
5988         * insets/insetcaption.C: rearrange the #includes into some sort of
5989         coherent order.
5990
5991         * buffer.h: remove #includes ErrorList.h, undo.h
5992
5993 2003-09-06  Angus Leeming  <leeming@lyx.org>
5994
5995         * support/types.h: add a 'depth_type' typedef, used to store the
5996         nesting depth of a paragraph.
5997
5998         * paragraph.h:
5999         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6000         defining explicitly.
6001
6002         * buffer.h:
6003         * paragraph_funcs.h:
6004         * ParagraphParameters.h:
6005         * sgml.h: use lyx::depth_type rather than Paragraph or
6006         ParameterStruct's depth_type.
6007
6008         * buffer.h
6009         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6010
6011         * BufferView.C:
6012         * BufferView_pimpl.C:
6013         * CutAndPaste.C:
6014         * ParagraphParameters.C:
6015         * buffer_funcs.C:
6016         * bufferlist.C:
6017         * bufferview_funcs.C:
6018         * lyx_cb.C:
6019         * lyxfunc.C:
6020         * tabular.C:
6021         * text3.C:
6022         * toc.C:
6023         * undo_funcs.C:
6024         * frontends/LyXView.C:
6025         * frontends/controllers/ControlDocument.C:
6026         * frontends/controllers/ControlErrorList.C:
6027         * insets/insetbibitem.C:
6028         * insets/insetbranch.C:
6029         * insets/insetcaption.C:
6030         * insets/insetcollapsable.C:
6031         * insets/insetenv.C:
6032         * insets/insetert.C:
6033         * insets/insetfloat.C:
6034         * insets/insetfoot.C:
6035         * insets/insetfootlike.C:
6036         * insets/insetnewline.C:
6037         * insets/insetquotes.C:
6038         * insets/insettabular.C:
6039         * insets/insettext.C:
6040         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6041
6042         * frontends/controllers/ControlChanges.C: #include "changes.h".
6043
6044 2003-09-06  Angus Leeming  <leeming@lyx.org>
6045
6046         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6047         than #including paragraph.h.
6048
6049         * ParagraphList.h:
6050         * RowList.h: deleted. Superfluous.
6051
6052         * CutAndPaste.h:
6053         * iterators.h:
6054         * lyxcursor.h:
6055         * lyxtext.h:
6056         * text_funcs.h:
6057         * undo.h:
6058         * undo_funcs.h:
6059         * insets/inset.h:
6060         * insets/insettext.h: use ParagraphList_fwd.h rather than
6061         ParagraphList.h.
6062
6063         * paragraph.h: don't forward declare ParagraphList.
6064
6065         * buffer.h:
6066         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6067         rather than ParagraphList.h. paragraph.h is still needed for the
6068         Paragraph::depth_type parameters.
6069
6070         * textcursor.h: enable it to compile stand-alone in light of the
6071         above changes.
6072
6073         * bufferview_funcs.C:
6074         * iterators.C:
6075         * lyxfunc.C:
6076         * lyxrow_funcs.C:
6077         * paragraph.C:
6078         * rowpainter.C:
6079         * text.C:
6080         * text2.C:
6081         * text3.C:
6082         * text_funcs.C:
6083         * textcursor.C:
6084         * undo.C:
6085         * frontends/controllers/ControlParagraph.C:
6086         * frontends/controllers/ControlTabular.C:
6087         * insets/insetmarginal.C:
6088         * insets/insetminipage.C:
6089         * insets/insetnote.C:
6090         * insets/insetoptarg.C: add header files needed to compile again.
6091
6092 2003-09-06  Angus Leeming  <leeming@lyx.org>
6093
6094         * RowList_fwd.h: new file, forward-declaring Row rather than
6095         #including lyxrow.h.
6096
6097         * lyxrow_funcs.h:
6098         * lyxtext.h:
6099         * paragraph.h:
6100         * insets/insettext.h: use it instead of RowList.h
6101
6102         * bufferview_funcs.C:
6103         * lyxfunc.C:
6104         * lyxrow_funcs.C:
6105         * paragraph.C:
6106         * rowpainter.C:
6107         * text.C:
6108         * text2.C:
6109         * text3.C: #include "RowList.h".
6110
6111 2003-09-05  Angus Leeming  <leeming@lyx.org>
6112
6113         * factory.C (createInset):
6114         * vspace.C (c-tor): replace sscanf call with an istringstream.
6115         * ispell.C: re-add missing HP/UX headers.
6116         * lyxserver.C: re-add missing  os2 headers.
6117
6118 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6119
6120         * BranchList.C:
6121         * graph.C:
6122         * ispell.C:
6123         * lastfiles.C:
6124         * lyx_cb.C:
6125         * lyxserver.C:
6126         * texrow.C:
6127         * text3.C: re-add missing system headers, needed for 2.95.2.
6128
6129 2003-09-05  Angus Leeming  <leeming@lyx.org>
6130
6131         Changes most place everywhere due to the removal of using directives
6132         from support/std_sstream.h.
6133
6134 2003-09-05  Angus Leeming  <leeming@lyx.org>
6135
6136         Replace LString.h with support/std_string.h,
6137         Lsstream.h with support/std_sstream.h,
6138         support/LIstream.h with support/std_istream.h,
6139         support/LOstream.h with support/std_ostream.h.
6140
6141         Changes resulting throughout the tree.
6142
6143 2003-09-05  Angus Leeming  <leeming@lyx.org>
6144
6145         * sgml.h: ensure that the header file can be compiled stand-alone.
6146         * *.C: strip out redundant #includes. (320 in total.)
6147
6148 2003-09-04  Angus Leeming  <leeming@lyx.org>
6149
6150         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6151         here (from getPackages).
6152
6153         * debug.[Ch]: add a new EXTERNAL tag.
6154
6155 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6156
6157         * text2.C (cursorEnd): simplify
6158         (setCursor): adjust
6159         (getColumnNearX): adjust
6160
6161         * text.C (computeBidiTables): adjust
6162         (fill): adjust
6163
6164         * rowpainter.C (paintChars): adjust
6165         (paintSelection): adjust
6166         (paintChangeBar): adjust
6167         (paintText): adjust
6168
6169         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6170         lastPos instead.
6171         (numberOfSeparators): adjust
6172
6173 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6174
6175         * LyXAction.C:
6176         * box.[Ch]:
6177         * lfuns.h:
6178         * lyxfunc.C:
6179         * text3.C: Restricts the mouse click functionality
6180         of insets like bibtex, include, toc and floatlist to the visible
6181         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6182         up the dialogs. Cursor has to be in front of the inset (i.e.
6183         start of row) for this to function.
6184
6185 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6186
6187         * bufferview_funcs.C (currentState): output row information
6188
6189 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6190
6191         * bufferview_funcs.C (currentState): output paragraph position
6192
6193 2003-09-04  Angus Leeming  <leeming@lyx.org>
6194
6195         * FloatList.h: move out #include "Floating.h".
6196         * LaTeX.h: move out #include "DepTable.h".
6197         * LyXAction.h: move out #include "funcrequest.h".
6198         * buffer.h: move out #include "author.h", "iterators.h".
6199         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6200         * lyx_main.h: move out #include "errorlist.h".
6201         * lyxfunc.h: move out #include "FuncStatus.h".
6202         * lyxtext: move out #include "lyxcursor.h".
6203         * paragraph_pimpl.h: move out #include "counters.h".
6204
6205 2003-09-03  Angus Leeming  <leeming@lyx.org>
6206
6207         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6208         preamble_snippets list, enabling us to add snippets to the preamble
6209         only if the snippet was not there already.
6210
6211 2003-09-04  Angus Leeming  <leeming@lyx.org>
6212
6213         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6214
6215 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6216
6217         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6218         update
6219
6220 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6221
6222         * BranchList.C: point fix, earlier forgotten
6223
6224 2003-09-02  Angus Leeming  <leeming@lyx.org>
6225
6226         * box.C (contains): renamed from 'contained' after a fantastic
6227         amount of hot air.
6228
6229 2003-09-02  John Levon  <levon@movementarian.org>
6230
6231         * BufferView.C:
6232         * lyxcursor.h:
6233         * lyxcursor.C:
6234         * lyxfunc.C:
6235         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6236
6237 2003-09-02  John Levon  <levon@movementarian.org>
6238
6239         * text2.C: simplification of cursorEnd(), including partial
6240         fix for bug 1376
6241
6242 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6243
6244         * buffer.C (readFile): add a space
6245
6246 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6247
6248         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6249
6250 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * buffer.C (readFile): new function, take a filename and a
6253         ParagraphList::iterator
6254         (readFile): adjust
6255         (readFile): adjust, make it private. don't use setStream, make
6256         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6257         always contain the filename.
6258
6259         * BufferView.C (insertLyXFile): simplify and make it work for
6260         gzipped files.
6261
6262 2003-08-30  John Levon  <levon@movementarian.org>
6263
6264         * Makefile.am: fix dist (from Kayvan)
6265
6266 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6267
6268         * most files: change to use const Buffer refs
6269
6270 2003-08-27  André Pönitz  <poenitz@gmx.net>
6271
6272         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6273         on top of ownerPar().
6274
6275 2003-08-27  John Levon  <levon@movementarian.org>
6276
6277         * funcrequest.C: properly initialise POD members
6278
6279 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6280
6281         * lyxtext.h (top_y): move top_y from here
6282         * text.C:
6283         * text2.C:
6284         * text3.C:
6285         * BufferView.[Ch]:
6286         * BufferView_pimpl.[Ch]: to here
6287         * frontends/screen.C:
6288         * insets/insettabular.C:
6289         * insets/insettext.C: adjust
6290         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6291
6292 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6293
6294         * BufferView.[Ch]:
6295         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6296
6297 2003-08-26  André Pönitz  <poenitz@gmx.net>
6298
6299         * paragraph_func.[Ch] (outerPar): new function
6300
6301         * paragraph.C:
6302         * paragraph_funcs.C:
6303         * paragraph_funcs.h:
6304         * paragraph_pimpl.C:
6305         * text2.C: remove Inset::par_owner
6306
6307 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6308
6309         * lyxrow_funcs.C:
6310         * lyxtext.h:
6311         * text.C:
6312         * text2.C: eliminates the needFullRow/display() stuff
6313         altogether, putting the logic in metrics/draw in the insets.
6314
6315 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6316
6317         * text2.C (redoParagraphInternal, redoParagraphs):
6318         * text.C (redoParagraph): add a call to updateRowPositions at the
6319         end of each 'metrics-like' call. Remove all others.
6320         (getRow): remove the 'y-computing' version.
6321         (getRowNearY): do not compute nor return the real y. Solve the
6322         'y < 0' problem and simplify.
6323
6324 2003-08-22  Angus Leeming  <leeming@lyx.org>
6325
6326         * *.[Ch]: clean-up of licence and author blurbs.
6327         Also move config.h out of a few .h files and into a few .C files.
6328
6329 2003-08-22  André Pönitz  <poenitz@gmx.net>
6330
6331         * lyxrow.[Ch]: add x_ and *fill_ members
6332
6333         * lyxtext.h:
6334         * text.C:
6335         * rowpainter.C:
6336         * text2.C: adjust/remove prepareToPrint() calls
6337
6338 2003-08-22  André Pönitz  <poenitz@gmx.net>
6339
6340         * lyxrow.[Ch]: add  end_ member
6341
6342         * lyxrow_funcs.C: use LyXRow::end_
6343
6344         * lyxtext.h (singleWidth): add LyXFont parameter
6345
6346         * rowpainter.C:
6347         * text2.C: adjust LyXText::singleWidth() calls
6348
6349         * text.C (redoParagraph): simplify row breaking logic
6350
6351
6352 2003-08-19  André Pönitz  <poenitz@gmx.net>
6353
6354         * funcrequest.C: initialize button_ member
6355
6356         * text3.C:
6357         * rowpainter.[Ch]: interface consolidation
6358
6359 2003-08-18  André Pönitz  <poenitz@gmx.net>
6360
6361         * BufferView.C:
6362         * BufferView_pimpl.C:
6363         * lyxfind.C:
6364         * paragraph_funcs.C:
6365         * rowpainter.C:
6366         * text3.C: remove LyXScreen::draw() and fitCursor calls
6367
6368         * BranchList.h: remove spurious semicolons
6369
6370         * MenuBackend.C: fix branchlist related crash
6371
6372 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6373
6374         * BranchList.[Ch]:
6375         * InsetList.[Ch]:
6376         * LColor.[Ch]:
6377         * LyXAction.C:
6378         * Makefile.am:
6379         * MenuBackend.[Ch]:
6380         * bufferparams.[Ch]:
6381         * factory.C:
6382         * lfuns.h:
6383         * lyxfunc.C:
6384         * text3.C: implements the 'branch inset'
6385         idea. This allows the output of various versions of a document
6386         from a single source version, selectively outputing or suppressing
6387         output of parts of the text.
6388         This implementation contains a 'branch list editor' in a separate
6389         tab of the document settings dialog. Branches are user definable
6390         and have a "display colour" to distinguish them on-screen.
6391
6392         ColorHandler was somewhat cleaned up.
6393         (1) make possible a dynamically growing LColor list by allowing
6394         the graphic context cache to grow along (vector);
6395         (2) eliminate an IMHO unnecessary step in colour allocation.
6396
6397 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6398
6399         * BufferView_pimpl.C: compile fix
6400
6401 2003-08-15  André Pönitz  <poenitz@gmx.net>
6402
6403         * rowpainter.C: remove extra metrics calls
6404
6405         * lyxtext.h: merge the two constructors into a single one,
6406           pass reference to owner's par list
6407
6408         * BufferView_pimpl.C:
6409         * text.C:
6410         * text2.C: adjust
6411
6412 2003-08-15  André Pönitz  <poenitz@gmx.net>
6413
6414         * lyxrow_funcs.[Ch]:
6415         * lyxtext.h:
6416         * paragraph.h:
6417         * paragraph_funcs.C:
6418         * rowpainter.C:
6419         * text.C:
6420         * text2.C:
6421         * text3.C:
6422         * text_funcs.C: split LyXText::rowlist_ into individual
6423         Paragraph::rows_ chunks
6424
6425         * BufferView.[Ch]:
6426         * BufferView_pimpl.[Ch]:
6427         * lyxfind.C:
6428         * lyxtext.h:
6429         * text3.C: remove toggleSelection()
6430
6431 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6432
6433         * bufferlist.C: beautify two alerts (shorter text of buttons)
6434         * buffer.C: Remove redundant ' ' from message
6435         * tabular.h:
6436         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6437         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6438         rename VALIGN_CENTER to VALIGN_MIDDLE
6439
6440 2003-08-11  André Pönitz  <poenitz@gmx.net>
6441
6442         * lyxtext.h (getPar):
6443         * text.C: new function
6444
6445 2003-08-11  André Pönitz  <poenitz@gmx.net>
6446
6447         * Makefile.am:
6448         * tracer.[Ch]: remove unneeded files
6449
6450         * InsetList.[Ch]: remove resizeInsetsLyXText()
6451
6452         * lyxtext.h:
6453         * text.C:
6454         * text2.C:
6455         * text3.C: merge insertParagraphs() and appendParagraph()
6456         remove breakAgain(), update()
6457
6458         * BufferView_pimpl.[Ch]:
6459         * bufferview_funcs.[Ch]:
6460         * lyxfunc.C:
6461         * paragraph.[Ch]:
6462         * rowpainter.C:
6463         * tabular.C: adjust after text & InsetList changes.
6464
6465 2003-08-08  André Pönitz  <poenitz@gmx.net>
6466
6467         * text.C (insertChar, backspace): replace rowlist fiddling
6468         with rebreak of full par
6469
6470         * lyxtext.h:
6471         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6472         checkParagraph, updateInset): removed
6473
6474 2003-08-07  André Pönitz  <poenitz@gmx.net>
6475
6476         * paragraph.C:
6477         * text3.C: merge some LFUN handlers, remove dead code
6478
6479 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6480
6481         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6482
6483 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6484
6485         * text2.C (DEPM): fix part of bug 1255 and 1256
6486
6487 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6488
6489         * BufferView_pimpl.C (workAreaDispatch): change to use
6490         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6491         that are no mouse related.
6492
6493 2003-08-05  André Pönitz  <poenitz@gmx.net>
6494
6495         * BufferView.[Ch]:
6496         * BufferView_pimpl.[Ch]:
6497         * bufferview_funcs.C:
6498         * text2.C:
6499         * text3.C: rip out "deep update"
6500
6501         * textcursor.[Ch] (last_sel_cursor): remove unused member
6502
6503 2003-08-04  André Pönitz  <poenitz@gmx.net>
6504
6505         * BufferView.[Ch]:
6506         * BufferView_pimpl.[Ch]:
6507         * ParagraphParameters.C:
6508         * bufferview_funcs.C:
6509         * lyx_cb.C:
6510         * lyxfind.C:
6511         * lyxfunc.C:
6512         * text.C:
6513         * text2.C:
6514         * text3.C: replace "complicated" BufferView::update(...) calls with
6515         simpler ones.
6516
6517         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6518
6519 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6520
6521         * Makefile.am (lyx_SOURCES): add paper.h
6522
6523 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6524
6525         * Makefile.am: move things around so that both lyx-qt and
6526         lyx-xforms can be built (according to --with-frontend). Then lyx
6527         is a symbolic link to lyx-[firstfrontend]
6528
6529 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6530
6531         * Always use std::endl with lyxerr
6532
6533 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6534
6535         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6536
6537 2003-08-01  André Pönitz  <poenitz@gmx.net>
6538
6539         * BufferView.[Ch]:
6540         * BufferView_pimpl.[Ch]:
6541         * lyxfunc.C:
6542         * text3.C: merge BufferView::repaint() and BufferView::update()
6543
6544 2003-08-01  José Matos  <jamatos@lyx.org>
6545
6546         * buffer.[Ch]: file_format is no longer a buffer data element.
6547
6548 2003-08-01  André Pönitz  <poenitz@gmx.net>
6549
6550         * BufferView.C:
6551         * lyxtext.h:
6552         * text.C:
6553         * text2.C: make redoParagraph more independent of current cursor
6554
6555         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6556         * text.C:
6557         * text2.C: remove unneeded members
6558
6559 2003-07-30  André Pönitz  <poenitz@gmx.net>
6560
6561         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6562
6563         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6564           create a single function...
6565
6566         * paragraph_funcs.C (moveItem): ... here.
6567
6568         * text.C:
6569           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6570
6571 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6572
6573         * LColor.[Ch]: Add comment and greyedout logical colors.
6574
6575 2003-07-30  André Pönitz  <poenitz@gmx.net>
6576
6577         * tabular.C: don't use Assert too heavily. This crashes where it
6578           shouldn't
6579
6580 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6581
6582         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6583         is disabled (bug 1232)
6584
6585 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6586
6587         * factory.C: limited 'arg' scope
6588
6589 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6590
6591         * factory.C: fixed Note submenu issues
6592
6593 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6594
6595         * factory.C: submenu for Note/Comment/Greyedout
6596
6597 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6598
6599         * lyx_main.C (LyX):
6600         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6601
6602 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6603
6604         * LaTeXFeatures.C:
6605         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6606         greyedout. Patch provided by Jürgen Spitzmüller.
6607
6608 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6609
6610         * kbmap.C (read): fix error message when reading bind files
6611
6612 2003-07-29  Angus Leeming  <leeming@lyx.org>
6613
6614         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6615         certainly does not do what it purports to do. I am doing it, and
6616         us, a favour by killing it.
6617
6618 2003-07-28  José Matos  <jamatos@lyx.org>
6619
6620         * buffer.C (readBody, do_writeFile):
6621         * paragraph.C(readParagraph): \end_document replaces \the_end.
6622
6623 2003-07-29  André Pönitz  <poenitz@gmx.net>
6624
6625         * BufferView.[Ch]:
6626         * BufferView_pimpl.[Ch]:
6627         * lyxfunc.C:
6628         * text2.C:
6629         * text3.C:
6630         * textcursor.[Ch]: remove toggleToggle & Co
6631
6632 2003-07-28  José Matos  <jamatos@fep.up.pt>
6633
6634         * buffer.C (readParagraph):
6635         * params_func (readParToken, readParagraph):
6636         * paragraph.C (write): \layout -> \begin_layout.
6637
6638 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6639
6640         * lyxlex_pimpl.C (setFile): clean up slightly.
6641
6642         * bufferparams.h: add compressed var
6643
6644         * buffer_funcs.C (readFile): adjust for LyXLex change
6645         (newFile): ditto + simplify
6646
6647         * buffer.C (writeFile): handle writing of compressed files
6648
6649         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6650         Check if the file is compressed and set a bufferparm if so.
6651
6652         * Makefile.am (lyx_LDADD): remove explicit -lz
6653
6654 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6655
6656         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6657         makeDocBookFile): put the real LyX version in the first line of
6658         the file
6659
6660         * version.h:
6661         * version.C.in: remove lyx_docversion
6662
6663         * tabular.C (write_attribute): add a template-based version to
6664         write enums properly
6665
6666 2003-07-28  André Pönitz  <poenitz@gmx.net>
6667
6668         * lyxtext.h:
6669         * text.C:
6670         * text2.C:
6671         * text3.C: use doubles again for x-coordinates. They are needed.
6672
6673 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * messages.C (getLocaleDir): use lyx_localedir()
6676
6677         * lyxlex_pimpl.C (setFile): compress stuff
6678
6679         * buffer.C (writeFile): add some compression stuff
6680         (do_writeFile): new func, dont call expliti close... will this
6681         breake anything?
6682
6683         * Makefile.am (lyx_LDADD): add -lz
6684
6685 2003-07-28  José Matos  <jamatos@fep.up.pt>
6686
6687         * buffer.C: increment file format.
6688         * paragraph_funcs (readParagraph, readParToken):
6689         * paragraph.C (readParagraph): add \end_layout.
6690
6691 2003-07-27  Angus Leeming  <leeming@lyx.org>
6692
6693         * Makefile.am: remove special casing for configure-time setting of
6694         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6695
6696         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6697         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6698
6699 2003-07-26  André Pönitz  <poenitz@gmx.net>
6700
6701         * paragraph_func.[Ch]:
6702         * paragraph.C (realizeFont): inline it whereever it is used
6703
6704         * rowpainter.C:
6705         * text.C:
6706         * text2.C:
6707         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6708
6709
6710 2003-07-26  André Pönitz  <poenitz@gmx.net>
6711
6712         *       lyxtext.h:
6713         * text.C:
6714         * text2.C: get rid of LyXText::need_break_row
6715
6716 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6717
6718         * toc.[Ch]: put namespace toc inside namespace lyx
6719
6720         * MenuBackend.C (expandToc2): adjust for lyx::toc
6721         (expandToc): ditto
6722
6723         * lyxfunc.C (dispatch): adjust for lyx::find
6724
6725         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6726         lyx::find instead. Reorganize a bit.
6727         (LyXReplace): rename to replace
6728         (LyXFind): rename to find
6729
6730         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6731         (dispatch): ditto
6732
6733 2003-07-26  André Pönitz  <poenitz@gmx.net>
6734
6735         * text.C (setHeightOfRow): restrict scope of temporary variable
6736
6737         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6738           code (never has been used?)
6739
6740 2003-07-27  Asger Alstrup  <alstrup@local>
6741
6742         * text.C (fill): Optimise algorithm to exploit that we can reuse
6743         the LyXFont for many characters.
6744         (setHeightOfRow): Same thing.
6745         (rowBreakPoint): Same thing.
6746
6747 2003-07-26  Asger Alstrup  <alstrup@local>
6748
6749         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6750
6751         * text.C (singleWidth): Spurious font copying in hot-spot
6752         singleWidth avoided. Reorder tests for arabic for efficiency.
6753
6754         * text.C (fill): handle empty paragraphs better.
6755
6756 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6757
6758         * ispell.C:
6759         * encoding.h: add includes
6760
6761         * lyxrc.C: remove reading of bind files
6762
6763         * lyx_main.C (init): setup bindings and menus only if we have a
6764         gui.
6765
6766         * kbmap.C (read): new method. Do the actual reading of bind
6767         files.
6768
6769         * converter.C (dvipdfm_options):
6770         * bufferparams.C:
6771         * lyxrc.C (read):
6772         (output): adapt PAPER_* enums.
6773
6774         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6775
6776         * bufferparams.h: remove paper-related enums from there
6777
6778         * paper.h: New file. A trivial header file to hold paper-related
6779         enums. It should later expand to contain many paper-related
6780         horrors access.
6781
6782         * lyxrc.C: declare extern displayTranslator
6783
6784 2003-07-27  José Matos  <jamatos@fep.up.pt>
6785
6786         * tabular.[Ch] (linuxdoc): add support for tables and figures
6787         (linuxdoc).
6788
6789 2003-07-27  José Matos  <jamatos@fep.up.pt>
6790
6791         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6792         consistency in both functions.
6793         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6794
6795 2003-07-26  Asger Alstrup  <alstrup@local>
6796
6797         * rowpainter.C (paintRows): Change algorithm to work directly on
6798         the insets rather than asking every character in the document
6799         whether its an inset.
6800
6801 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6802
6803         * buffer.C (openFileWrite): factorize some code
6804
6805 2003-07-26  Angus Leeming  <leeming@lyx.org>
6806
6807         * lyx_cb.C:
6808         * lyx_main.[Ch]: replace occurances of system_tempdir with
6809         os::getTmpDir().
6810
6811 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6812
6813         * rename Inset to InsetOld
6814
6815 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6816
6817         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6818         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6819         which I think is a bit clearer. EDIT is gone, since it was
6820         premature optimisation, and broken for mathed anyway.
6821         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6822         with cursor positioning in insets as well (math insets still do not
6823         work, but that's a different story anyway.) It mysteriously
6824         crashes sometimes with undo in the first paragraph, but I'm fairly
6825         confident that this is a compiler bug.
6826
6827 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * paragraph.C (Paragraph): adjust for new clone return type
6830         (operator==): ditto
6831         (copyIntoMinibuffer): ditto
6832
6833 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6834
6835         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6836         by not having a special case, and always doing a full rebreak of
6837         the document after undo.
6838
6839 2003-07-23  Angus Leeming  <leeming@lyx.org>
6840
6841         * factory.C (createInset): InsetExternal::setParams now takes a
6842         Buffer const * arg.
6843
6844 2003-07-23  Angus Leeming  <leeming@lyx.org>
6845
6846         * factory.C (createInset): changed interface to the external and
6847         graphics mailers' string2params functions.
6848
6849 2003-07-23  Angus Leeming  <leeming@lyx.org>
6850
6851         * factory.C (createInset): pass a
6852         Buffer const * parameter to InsetExternalMailer's string2params.
6853
6854 2003-07-22  John Levon  <levon@movementarian.org>
6855
6856         * Thesaurus.h: include the right aiksaurus header
6857
6858 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6859
6860         * MenuBackend.C (expand): check menu shortcuts unconditionally
6861
6862 2003-07-21  Angus Leeming  <leeming@lyx.org>
6863
6864         * factory.C (createInset): pass a
6865         buffer_path parameter to InsetGraphicsMailer's string2params.
6866
6867 2003-07-21  Angus Leeming  <leeming@lyx.org>
6868
6869         * BufferView_pimpl.C (buffer):
6870         * buffer.C (d-tor):
6871         * lyx_main.C (LyX):
6872         * lyxfunc.C (dispatch):
6873         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6874         rather than the grfx shortcut.
6875
6876 2003-07-21  André Pönitz  <poenitz@gmx.net>
6877
6878         * rowpainter.C: remove unused variables
6879
6880         * tabular_funcs.C:
6881         * tabular_funcs.h: move to tabular.C
6882         * Makefile.am: adjust
6883
6884         * tabular.[Ch]: basic optical cleaning
6885
6886         * author.h: pass references, not values
6887
6888 2003-07-18  André Pönitz  <poenitz@gmx.net>
6889
6890         * lyxtext.h:
6891         * metricsinfo.C:
6892         * metricsinfo.h:
6893         * rowpainter.C:
6894         * text.C:
6895         * text2.C:
6896         * text3.C: two-phase drawing for InsetText and InsetTabular
6897         some float -> int changes.
6898
6899 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6900
6901         * lyx_main.C: fix the fix
6902
6903 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6904
6905         * lyx_main.C: fix a crash in batch mode if no files specified
6906         * converter.C: ws
6907
6908 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6909
6910         * format.[Ch] (papersize): moved to BufferParams
6911         * converter.[Ch] (dvips_options): moved to BufferParams
6912         (dvipdfm_options): moved to anon namespace
6913         * bufferparams.[Ch]: added above functions.
6914
6915 2003-07-17  André Pönitz  <poenitz@gmx.net>
6916
6917         * lyxtext.h:
6918         * rowpainter.C:
6919         * text2.C: don't call inset->update() anymore
6920
6921         * metricsinfo.[Ch]: add convenience constructor
6922
6923 2003-07-16  André Pönitz  <poenitz@gmx.net>
6924
6925         * lyxcursor.[Ch]:
6926         * lyxfunc.[Ch]:
6927         * text.C:
6928         * text2.C: replace the LyXCursor::irow_ member with
6929          on-demand computation of the value
6930
6931 2003-07-16  John Levon  <levon@movementarian.org>
6932
6933         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6934
6935 2003-07-15  André Pönitz  <poenitz@gmx.net>
6936
6937         * text.C:
6938         * text2.C: remove no more needed refresh_row
6939
6940 2003-07-15  André Pönitz  <poenitz@gmx.net>
6941
6942         * lyxtext.h:
6943         * rowpainter.C:
6944         * text2.C:
6945         * text3.C: refresh_status tristate -> need_update bool
6946
6947 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6948
6949         * lyxtext.h (init): remove reinit argument (act as if always true)
6950         * text2.C: adjust to that
6951
6952 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6953
6954         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6955         * text3.C: use it to delete selections in some cases
6956         (bugs 441, 673, 702, 954).
6957
6958 2003-07-14  André Pönitz  <poenitz@gmx.net>
6959
6960         * rowpainter.[Ch]: reduce interface
6961
6962 2003-07-14  André Pönitz  <poenitz@gmx.net>
6963
6964         * BufferView_pimpl.C:
6965         * text2.C: adjust after removing unused BufferView * argument
6966
6967 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6968
6969         * text2.C (init): fix a crash fired on resize
6970
6971 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6972
6973         * buffer.[Ch]: added new closing signal
6974         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6975         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6976         BufferView::Pimpl via the closing the signal
6977
6978 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6979
6980         * buffer.[Ch]: take out all bv-related from buffer
6981         * BufferView.C:
6982         * BufferView_pimpl.[Ch]: connect to new signals
6983         * CutAndPaste.C: removed useless asserts
6984         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6985         * lyxvc.[Ch]:
6986         * vc-backend.[Ch]:
6987         * lyxfunc.C: moved view-related funciontality from vc here
6988         * paragraph.C: removed outdated comments
6989         * text.C: ws
6990
6991 2003-07-10  André Pönitz  <poenitz@gmx.net>
6992
6993         * BufferView_pimpl.C:
6994         * tabular.h:
6995         * tabular_funcs.C:
6996         * text.C:
6997         * text2.C: remove InsetText::InnerCache, clean up consequences
6998
6999 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7000
7001         * ispell.C: fix two typos in error messages
7002
7003 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7004
7005         * Extend Note inset to other forms of annotation like Comment
7006         and Greyedout. Right button click gives dialog.
7007
7008         Files modified or added (+):
7009
7010         * insetnote.[Ch]
7011         * FormNote.[Ch]      +
7012         * ControlNote.[Ch]   +
7013         * form_note.fd       +
7014         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7015         frontends/controllers
7016         * xforms/Dialogs.C
7017         * factory.C
7018
7019 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7020
7021         * aspell.C: add missing namespace lyx::support
7022
7023 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7024
7025         * BufferView.[Ch] (newFile): Add
7026         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7027         * LaTeX.[Ch] (message): added this signal and use it
7028         * buffer.[Ch] (busy, message): added these signals and use them
7029         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7030         * converter.C:
7031         * exporter.C:
7032         * format.C:
7033         * importer.C: use buffer signals instead of direct bv calling
7034         * lyx_cb.[Ch] (ShowMessage): removed
7035         * lyx_main.C:
7036         * lyxfunc.C:
7037         * paragraph_funcs.C:
7038         * text2.C: use buffer signals
7039
7040 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * introduce namespace lyx::graphics
7043
7044 2003-07-02  André Pönitz  <poenitz@gmx.net>
7045
7046         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7047
7048 2003-07-01  André Pönitz  <poenitz@gmx.net>
7049
7050         * text.C:
7051         * text2.C:
7052         * text3.C:
7053         * text_funcs.[Ch]:
7054         * textcursor.h:
7055         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7056           text*.C to text_func.C
7057
7058 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7059
7060         * introduce namespace lyx::support
7061
7062 2003-06-30  André Pönitz  <poenitz@gmx.net>
7063
7064         * Chktex.C:
7065         * funcrequest.C:
7066         * lyxtext.h:
7067         * text.C: re-enable --with-included-string
7068
7069 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * textcursor.C: add <config.h>
7072
7073         * text.C (getWord): remove const from word_location arg
7074
7075         * lyxvc.C (getLogFile): fix const type order
7076
7077         * lyxtext.h: remove const from word_location arg, add arg name
7078
7079         * lyxlayout.h: currect type on labeltype.
7080
7081         * importer.C: correct \file
7082
7083         * converter.C (intToFormat): use std:: on ret val, ws changes
7084
7085         * bufferlist.h: correct \file
7086
7087         * buffer.C (makeLinuxDocFile): fix const type order
7088         (makeDocBookFile): ditto
7089         (fillWithBibKeys): use std:: on stdlib args.
7090
7091         * CutAndPaste.C: fix authors.
7092         (availableSelections): use std:: on return vector
7093
7094 2003-06-27  André Pönitz  <poenitz@gmx.net>
7095
7096         * BufferView_pimpl.C:
7097         * bufferview_funcs.C:
7098         * lyxcursor.C:
7099         * lyxcursor.h:
7100         * lyxfunc.C:
7101         * lyxtext.h:
7102         * rowpainter.C:
7103         * text.C:
7104         * text2.C:
7105         * text3.C: remove LyXCursor::row_ member
7106
7107         * lyxtext.h:
7108         * text.C: rename fullRebreak() to partialRebreak() and implement
7109           a fullRebreak() that really bereks fully
7110
7111         * textcursor.h: new struct for cursor-related data
7112
7113 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7114
7115         * lyx_main.C (LyX): get full path of document loaded on the
7116         command line
7117
7118 2003-06-26  André Pönitz  <poenitz@gmx.net>
7119
7120         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7121           remove unused/broken operator>,<,>=.
7122
7123         *       text.C: remove only use of broken operator<= in an Assert().
7124
7125 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7126
7127         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7128         moved errorlist_.clear to showErrorList
7129
7130 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7131
7132         * converter.C (scanLog, runLaTeX):
7133         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7134         move the bv->showErrorList call to the callers
7135         * lyxfunc.C: i.e. here...
7136         * text2.C: and here
7137         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7138         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7139         namespace, the second to...
7140         * buffer_funcs (BufferFormat, parseErrors): added
7141         * errorlist.C (ErrorList(TeXErrors const &)): removed
7142
7143 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7144
7145         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7146
7147 2003-06-24  "Garst R. Reese" <reese@isn.net>
7148
7149         * debug.C: fix typo
7150
7151 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7152
7153         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7154
7155         * version.C.in: change docversion to 1.4
7156
7157 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7158
7159         * buffer.C: fix a bug just introduced
7160
7161 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7162
7163         * buffer.[Ch]: added the parseError signal and use it, removed
7164         sgmlError
7165         * BufferView.[Ch] (addError): moved to ...
7166         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7167         to the Buffer::parseError signal to catch (guess what) parse errors
7168         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7169
7170 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7171
7172         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7173         ability to create a buffer and to return an existing one from
7174         the list. Moved these functions to...
7175         * buffer_funcs.[Ch]: added
7176         * BufferView.[Ch] (loadLyXFile): added
7177         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7178         job removed from bufferlist::loadLyXFile.
7179         * buffer.C (setReadOnly): make it work without view
7180         (i.e added an if (users))
7181
7182 2003-06-19  Angus Leeming  <leeming@lyx.org>
7183
7184         * lfuns.h:
7185         * LyXAction.C (init):
7186         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7187         with LFUN_DIALOG_SHOW <name> <data>.
7188
7189 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7190
7191         * CutAndPaste.C (availableSelections): small compilation fix for
7192         ancient (gcc 2.9x) compilers
7193
7194 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7195
7196         * text3.C (cursorNext): add tmp var
7197
7198         * text2.C (updateCounters): for function calling out of for clause
7199         (replaceSelectionWithString): ditto
7200         (insertStringAsParagraphs): ditto
7201         (getColumnNearX): add tmp var
7202         (setCursorFromCoordinates): add tmp var
7203         (cursorDownParagraph): add tmp var
7204         (deleteEmptyParagraphMechanism): add tmp var
7205
7206         * text.C (insertChar): add tmp var
7207
7208         * rowpainter.C (paintDepthBar): add tmp var
7209
7210         * CutAndPaste.C (availableSelections): potentially check all
7211         paragraphs in a cut to fill the shown strings.
7212
7213 2003-06-18  André Pönitz  <poenitz@gmx.net>
7214
7215         * kbmap.[Ch]: use vector<> instead of list<>
7216
7217 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7218
7219         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7220         pasteSelection with index
7221
7222         * text2.C (pasteSelection): modify, call pasteSelection with index
7223
7224         * paragraph.C (asString): reimplement version with no interval to
7225         call the one with interval.
7226
7227         * lyxtext.h: add index arg to pasteSelection
7228
7229         * MenuBackend.C (MenuItem): handle PasteRecent
7230         (Menu::read::Menutags): add md_pasterecent
7231         (read): handle it
7232         (expandPasteRecent): new function
7233         (expand): use it
7234
7235         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7236
7237         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7238         the limited stack
7239         (availableSelections): new function
7240
7241 2003-06-17  Angus Leeming  <leeming@lyx.org>
7242
7243         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7244
7245 2003-06-17  Angus Leeming  <leeming@lyx.org>
7246
7247         * lfuns.h:
7248         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7249
7250         * lyxfunc.C (dispatch): invoke it.
7251
7252 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7253
7254         * iterators.C (operator++, ParPosition): reintroduce some
7255         const_cast for the benefit of older compilers.
7256
7257 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7258
7259         * text3.C (dispatch): do not modify clipboard when doing
7260         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7261         LFUN_DELETE_SKIP on a selection selection
7262
7263 2003-06-16  André Pönitz  <poenitz@gmx.net>
7264
7265         * BufferView.C:
7266         * buffer.C:
7267         * buffer.h:
7268         * paragraph.C:
7269         * tabular.[Ch]: IU of clone() and getLabelList();
7270
7271 2003-06-13  André Pönitz  <poenitz@gmx.net>
7272
7273         * tabular.h: compactification
7274
7275 2003-06-12  André Pönitz  <poenitz@gmx.net>
7276
7277         * tabular.C:
7278         * tabular.h:
7279         * tabular_funcs.h: some renaming plus whitespace
7280
7281 2003-06-12  André Pönitz  <poenitz@gmx.net>
7282
7283         * BufferView.C:
7284         * BufferView_pimpl.C:
7285         * CutAndPaste.C:
7286         * buffer.C:
7287         * iterators.[Ch]:
7288         * lyxfunc.C:
7289         * text.C:
7290         * toc.C: Return a Paragraph & for ParIterator::operator*()
7291
7292 2003-06-11  John Levon  <levon@movementarian.org>
7293
7294         * lyx_main.C:
7295         * ToolbarBackend.h:
7296         * ToolbarBackend.C: add "Toolbars" section and
7297         put the flags there
7298
7299 2003-06-10  Angus Leeming  <leeming@lyx.org>
7300
7301         * lfuns.h:
7302         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7303
7304         * lyxfunc.C (dispatch): invoke it.
7305
7306 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7307
7308         * main.C: protect <ios> with HAVE_IOS
7309         (main): protect sync_with_stdio with HAVE_IOS
7310
7311 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7312
7313         * text2.C (cutSelection): adjust
7314         (pasteSelection): adjust
7315
7316         * messages.C: handle get of empty string
7317
7318         * main.C (main): use sync_with_stdio(false)
7319
7320         * lyxfunc.C (dispatch): adjust
7321
7322         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7323         (WriteAs): remove unneeded BufferView arg.
7324
7325         * bufferparams.h: use correct types on papersize, papersize2 and
7326         paperpackage.
7327
7328         * bufferparams.C (readToken): adjust for type
7329         (writeLaTeX): add missing cases to switch.
7330
7331         * bufferlist.C (quitWriteBuffer): adjust
7332         (close): adjust
7333
7334         * buffer.C (asciiParagraph): remove some commented code.
7335
7336         * CutAndPaste.C: remove current_view extern variable.
7337         (cutSelection): add BufferParams arg.
7338         (eraseSelection): add BufferParams arg.
7339         (pasteSelection): add Buffer const & arg
7340
7341 2003-06-07  John Levon  <levon@movementarian.org>
7342
7343         * buffer.C:
7344         * paragraph_funcs.C:
7345         * paragraph_pimpl.C:
7346         * text.C:
7347         * text2.C:
7348         * paragraph.h:
7349         * paragraph.C: allow InsetERT to freely space lines,
7350         and some consolidation of code
7351
7352 2003-06-06  José Matos  <jamatos@fep.up.pt>
7353
7354         * buffer.C (makeDocBookFile): fix bug #821
7355
7356 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7357
7358         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7359
7360 2003-06-04  Angus Leeming  <leeming@lyx.org>
7361
7362         * buffer.C: bump format to 224.
7363
7364 2003-06-05  André Pönitz  <poenitz@gmx.net>
7365
7366         * text2.C (redoParagraphs): remove two const_cast<>
7367
7368 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7369
7370         * ParagraphList.h: remove last remnants of NO_STD_LIST
7371
7372 2003-06-03  Angus Leeming  <leeming@lyx.org>
7373
7374         * factory.C (createInset): small change to the way InsetExternal's params
7375         are set.
7376
7377 2003-06-04  André Pönitz  <poenitz@gmx.net>
7378
7379         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7380
7381         * paragraph_pimpl.h:
7382         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7383
7384         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7385
7386         * undo_funcs.C: make some simple cases of undo work again
7387
7388 2003-06-03  John Levon  <levon@movementarian.org>
7389
7390         * ispell.C: HPUX doesn't have sys/select.h
7391         (from Albert Chin)
7392
7393 2003-06-03  John Levon  <levon@movementarian.org>
7394
7395         * CutAndPaste.C: update tabular and include inset
7396         buffer references
7397
7398         * buffer.h:
7399         * paragraph.h:
7400         * paragraph.C: remove owningBuffer(), don't pass Buffer
7401         to clone()
7402
7403         * factory.C: insetGraphicsParams changed
7404
7405 2003-06-02  John Levon  <levon@movementarian.org>
7406
7407         * LyXAction.C:
7408         * factory.C:
7409         * lfuns.h:
7410         * lyxfunc.C:
7411         * text3.C: remove insetparent
7412
7413 2003-06-02  John Levon  <levon@movementarian.org>
7414
7415         * buffer.h:
7416         * buffer.C: fix inset_iterator.end(), move out of line
7417         (bug 1149)
7418
7419 2003-06-01  John Levon  <levon@movementarian.org>
7420
7421         * text3.C: use a proper cut/paste when doing inset
7422         insert (from Jürgen Spitzmüller)
7423
7424 2003-06-01  John Levon  <levon@movementarian.org>
7425
7426         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7427
7428 2003-05-30  André Pönitz  <poenitz@gmx.net>
7429
7430         * rowpainter.C: unify second drawing phase
7431
7432 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7433
7434         * trans_mgr.C: remove one case of current_view
7435
7436         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7437
7438         * paragraph_funcs.h: remove paragraph.h include
7439
7440         * paragraph.h: delete NO_STD_LIST stuff
7441
7442         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7443
7444         * buffer.h: remove paragraph.h include
7445
7446         * ParagraphList.C: delete file
7447
7448         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7449
7450         * toc.C (getTocList): adjust
7451
7452         * paragraph_pimpl.C (validate): adjust
7453
7454         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7455
7456         * paragraph.C (Paragraph): adjust
7457         (getPositionOfInset): use const_iterator, adjust
7458         (bibitem): use const_iterator, adjust
7459         (setInsetOwner): adjust
7460
7461         * iterators.C (operator++): adjust
7462
7463         * InsetList.[Ch]: Replace selfmade iterator with standard
7464         vector::iterator also introduce const_iterator. Remove getPos,
7465         getInset and setInset from InsetTable. Adjust accordingly.
7466
7467         * BufferView.C (lockInset): adjust
7468         (ChangeInsets): adjust
7469
7470         * tabular.[Ch]: delete commented same_id functions
7471
7472 2003-05-28  John Levon  <levon@movementarian.org>
7473
7474         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7475
7476 2003-05-28  André Pönitz  <poenitz@gmx.net>
7477
7478         * metricsinfo.[Ch]: remove 'fullredraw' member
7479
7480 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7481
7482         * lyxtextclass.C (operator): remove caching.
7483
7484 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * text3.C: adjust
7487
7488         * text2.C (cursorBottom): adjust
7489         (setCounter): use ParagraphList::find, adjust
7490
7491         * text.C (workWidth): use ParagraphList::find, adjust
7492
7493         * lyxcursor.C (LyXCursor): adjust
7494
7495         * buffer.C (inset_iterator): adjust
7496
7497         * ParagraphList.h: make iterator(value_type) private, make
7498         ParagraphList a friend of iterator.
7499
7500         * ParagraphList.C (find): new function
7501
7502         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7503
7504 2003-05-27  André Pönitz  <poenitz@gmx.net>
7505
7506         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7507
7508 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7509
7510         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7511
7512 2003-05-26  John Levon  <levon@movementarian.org>
7513
7514         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7515
7516 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * remove same_id from function signatures, adjust.
7519
7520 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7523
7524         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7525
7526         * paragraph.C (Paragraph): get rid of same_ids parameter
7527
7528         * ParagraphList.C (insert): adjust
7529         (push_back): adjust
7530
7531 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * paragraph_funcs.C (breakParagraph): adjust
7534         (breakParagraphConservative): adjust
7535
7536         * buffer.C (readParagraph): adjust
7537
7538         * ParagraphList.C (insert): take a reference instead of a pointer
7539         (insert): adjust
7540
7541         * paragraph.[Ch] (id): new function
7542
7543         * bufferlist.C (newFile): adjust
7544
7545         * ParagraphList.C (ParagraphList): adjust
7546         (assign): adjust
7547         (push_back): take a reference instead of a pointer.
7548
7549         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7550
7551         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7552         instead.
7553
7554         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7555         set else use old code.
7556
7557         * ParagraphList.C: remove all NO_NEXT code and only compile this
7558         code of NO_STD_LIST is set.
7559
7560 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7561
7562         * BufferView_pimpl.C:
7563         * TextCache.C:
7564         * TextCache.h:
7565         * bufferlist.C:
7566         * errorlist.h:
7567         * format.C:
7568         * format.h:
7569         * graph.C:
7570         * lyxfunc.C:
7571         * lyxrc.C:
7572         * graphics/GraphicsConverter.C:
7573         * graphics/PreviewLoader.C: header adjustment
7574
7575 2003-05-23  Angus Leeming  <leeming@lyx.org>
7576
7577         * LaTeXFeatures.[Ch] (useBabel): new method.
7578         * bufferparams.C (writeLaTeX): use it.
7579
7580 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * ParagraphList.h (set): remove unused function.
7583
7584 2003-05-23  André Pönitz  <poenitz@gmx.net>
7585
7586         * BufferView.C:
7587         * BufferView_pimpl.C:
7588         * buffer.C:
7589         * buffer.h:
7590         * lyxfunc.C:
7591         * undo_funcs.C: setUndo reworked
7592
7593         * iterators.[Ch]: add access to topmost ParagraphList
7594
7595         * lyxtext.[Ch] (workWidth): add a const
7596
7597 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7598
7599         * texrow.[Ch] (increasePos): remove function
7600         * exporter.C (export): removed unused var and outdated comment
7601
7602 2003-05-23  Angus Leeming  <leeming@lyx.org>
7603
7604         * latexrunparams.h: rename fragile as moving_arg.
7605         * paragraph.C (simpleTeXOnePar): ditto.
7606         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7607
7608 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7609
7610         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7611         (createUndo): ditto
7612         (textUndoOrRedo): comment out a currently unused var.
7613
7614         * paragraph.h (NO_NEXT): enable NO_NEXT
7615
7616         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7617
7618         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7619
7620         * exporter.C (Export): adjust for removeAutoInsets removal.
7621
7622         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7623
7624         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7625
7626         * BufferView.[Ch] (removeAutoInsets): delete function
7627
7628 2003-05-22  Angus Leeming  <leeming@lyx.org>
7629
7630         * latexrunparams.h: add a free_spacing variable.
7631
7632         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7633         to pass moving_arg, as the data is stored in runparams.fragile.
7634
7635         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7636         to Inset::latexOptional or to simpleTeXOnePar.
7637
7638         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7639         free_spacing arg to Inset::latexOptional.
7640
7641         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7642         free_spacing arg.
7643
7644 2003-05-22  Angus Leeming  <leeming@lyx.org>
7645
7646         * latexrunparams.h: add fragile and use_babel variables.
7647
7648         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7649         * buffer.C (makeLaTeXFile): store this returned value in
7650         runparams.use_babel, thus passing it to the inset::latex methods.
7651
7652         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7653         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7654
7655         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7656         longer has a fragile arg, as it is stored in runparams.fragile.
7657
7658         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7659         moving_arg parameter as the data is stored in runparams.fragile.
7660
7661         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7662         a fragile parameter as the data is stored in runparams.fragile.
7663
7664 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7665
7666         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7667
7668 2003-05-22  Angus Leeming  <leeming@lyx.org>
7669
7670         * latexrunparams.h: add a 'bool nice' which defaults to false.
7671
7672         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7673         now encapsulated within runparams.
7674
7675         * bufferlist.C (updateIncludedTeXfiles):
7676         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7677
7678 2003-05-22  Angus Leeming  <leeming@lyx.org>
7679
7680         * latexrunparams.h: new file containing struct LatexRunParams.
7681         * Makefile.am: add new file.
7682
7683         * LaTeX.[Ch] (c-tor, run):
7684         * buffer.[Ch] (makeLaTeXFile):
7685         * bufferlist.[Ch] (updateIncludedTeXfiles):
7686         * converter.C (convert, scanLog):
7687         * converter.[Ch] (runLaTeX):
7688         * exporter.C (Export):
7689         * paragraph.[Ch] (simpleTeXOnePar):
7690         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7691         * paragraph_funcs.[Ch] (latexParagraphs):
7692         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7693         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7694         pass around a LatexRunParams parameter.
7695
7696 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7697
7698         * paragraph.[Ch]: remove unused constructor
7699
7700         * ParagraphList.C (erase): new function, taking two iterators
7701
7702 2003-05-22  André Pönitz  <poenitz@gmx.net>
7703
7704         * undo_funcs.C: remove duplicated code
7705
7706         * iterator.[Ch]: operator=
7707
7708 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * tabular.C (SetMultiColumn): ws changes
7711
7712         * rowpainter.C (paintFirst): get rid of a ->previous
7713
7714         * lyx_cb.C (getPossibleLabel): parlist simplification
7715
7716         * BufferView.C (ChangeInsets): simplify slightly.
7717
7718 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7719
7720         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7721         * lfuns.h: new LFUN_SPACE
7722         * lyxfunc.C: protected space has a new lfun
7723         * paragraph_funcs.C: read new space insets
7724         * text3.C:
7725         * factory.C: handle new space insets
7726
7727 2003-05-22  André Pönitz  <poenitz@gmx.net>
7728
7729         * BufferView.C:
7730         * BufferView_pimpl.C:
7731         * buffer.[Ch]:
7732         * lyxfunc.C:
7733         * undo_funcs.C: return a ParIterator from getParFromID.
7734
7735         * iterators.[Ch]: add two const's
7736
7737 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * toc.C (getTocList): adjust
7740
7741         * iterators.[Ch]: rework for parlist
7742
7743         * buffer.C (par_iterator_begin): adjust
7744         (par_iterator_end): adjust
7745
7746         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7747
7748         * BufferView.C (removeAutoInsets): adjust
7749         (ChangeInsets): adjust
7750
7751 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7752
7753         * text.C (top_y): fix bug 1110
7754
7755 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7756
7757         * errorlist.[Ch]: added
7758         * buffer.C:
7759         * BufferView.[Ch]:
7760         * BufferView_pimpl.C:
7761         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7762         instead
7763
7764 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * Makefile.am: ensure that lyx is relinked upon changes to the
7767         various "convenience" libs.
7768
7769 2003-05-20  Angus Leeming  <leeming@lyx.org>
7770
7771         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7772         files are compiled in alphabetical order again.
7773
7774         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7775
7776 2003-05-19  Angus Leeming  <leeming@lyx.org>
7777
7778         * gettext.[Ch]: remove "char const * _(char const *)".
7779
7780 2003-05-19  André Pönitz  <poenitz@gmx.net>
7781
7782         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7783
7784         * Makefile.am:
7785         * BufferView.C:
7786         * DepTable.h:
7787         * LaTeXFeatures.C:
7788         * buffer.C:
7789         * lyxfont.C:
7790         * lyxlex.h:
7791         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7792
7793 2003-05-19  André Pönitz  <poenitz@gmx.net>
7794
7795         * buffer.C:
7796         * lyxlayout.[Ch]:
7797         * lyxtextclass.[Ch]:
7798         * paragraph.C:
7799         * paragraph_funcs.[Ch]:
7800         * text2.C:
7801         * text3.C: more insetenv work
7802
7803 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7804
7805         * ParagraphParameters.C (params2string): small bug fixed
7806
7807 2003-05-16  André Pönitz  <poenitz@gmx.net>
7808
7809         * debug.C:
7810         * bufferview_funcs.C: patch from Kornel Benko to prevent
7811           crash when _(...) is called twice in a statement
7812
7813 2003-05-16  André Pönitz  <poenitz@gmx.net>
7814
7815         * BufferView.C:
7816         * lyxfunc.C:
7817         * text.C:
7818         * text2.C:
7819         * text3.C:
7820         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7821
7822 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7823
7824         * lyx_main.C (init): remove spurious static_cast
7825
7826 2003-05-14  André Pönitz  <poenitz@gmx.net>
7827
7828         * BufferView.C: fix format string
7829
7830 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7831
7832         * BufferView.[Ch] (insertErrors): removed
7833         * BufferView.[Ch] (showErrorList): added
7834         * buffer.C (runChkTeX):
7835         * converter.C (scanLog): call showErrorList instead of inserterrors
7836
7837 2003-05-13  André Pönitz  <poenitz@gmx.net>
7838
7839         * BufferView_pimpl.C:
7840         * buffer.C:
7841         * bufferview_func.C:
7842         * MenuBackend.C:
7843         * lyxfunc.C:
7844         * lyxrc.C:
7845         * tex-accent.C:
7846         * text3.C:
7847         * toc.C:
7848         * tabular_funcs.h: tostr() from its own header
7849
7850         * ParagraphParameters.C:
7851         * ToolbarBackend.C:
7852         * bufferparams.C:
7853         * format.C:
7854         * lyxlex_pimpl.C:
7855         * text3.C: STRCONV()
7856
7857 2003-05-12  André Pönitz  <poenitz@gmx.net>
7858
7859         * BufferView.C:
7860         * BufferView_pimpl.C:
7861         * CutAndPaste.C:
7862         * LaTeX.C:
7863         * LaTeXFeatures.C:
7864         * ParagraphParameters.C:
7865         * buffer.C:
7866         * bufferlist.C:
7867         * bufferparams.C:
7868         * bufferview_funcs.C:
7869         * converter.C:
7870         * counters.C:
7871         * debug.C:
7872         * exporter.C:
7873         * format.C:
7874         * importer.C:
7875         * lyx_cb.C:
7876         * lyx_main.C:
7877         * lyxfont.C:
7878         * lyxfunc.C:
7879         * lyxvc.C:
7880         * paragraph.C:
7881         * paragraph_funcs.C:
7882         * tabular.C:
7883         * tabular_funcs.C:
7884         * text2.C:
7885         * text3.C:  boost::format -> bformat  all over the place
7886
7887
7888 2003-05-09  André Pönitz  <poenitz@gmx.net>
7889
7890         * LColor.[Ch]: Pimpl the #include <map> away
7891
7892 2003-05-09  John Levon  <levon@movementarian.org>
7893
7894         * bufferlist.C: never remove emergency saves
7895
7896 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7897
7898         * Makefile.am: better lib building
7899
7900 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7903         instead.
7904         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7905         (simpleTeXSpecialChars): adjust
7906         (simpleTeXSpecialChars): adjust
7907         * paragraph.C (simpleTeXOnePar): adjust
7908         * buffer.C (makeLaTeXFile): adjust
7909
7910         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7911
7912         * text2.C (changeDepth): parlist cleanup
7913         (getColumnNearX): ditto
7914
7915         * rowpainter.C (getLabelFont): parlist cleanup
7916
7917         * bufferlist.C (newFile): parlist cleanup
7918
7919         * CutAndPaste.C (eraseSelection): parlist cleanup
7920
7921         * BufferView_pimpl.C (trackChanges): parlist cleanup
7922         (dispatch): ditto
7923
7924         * BufferView.C (lockInset): parlist cleanup.
7925         (ChangeInsets): ditto
7926
7927 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7928
7929         * CutAndPaste.h: Update file header.
7930
7931         * CutAndPaste.C: Update file header.
7932         Store the parts cut out of the Document in a limited_stack.
7933         (copySelection): adjust
7934         (pasteSelection): new function, takes the index in the limited stack.
7935         (nrOfParagraphs): adjust
7936         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7937         simplify error inset insertion.
7938         (checkPastePossible): adjust
7939
7940 2003-05-06  John Levon  <levon@movementarian.org>
7941
7942         * text2.C: don't cast wrap inset to float
7943
7944 2003-05-05  André Pönitz  <poenitz@gmx.net>
7945
7946         * iterator.C:
7947         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7948
7949         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7950           few naked Paragraph *.
7951
7952 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7953
7954         * bufferparams.C: Output warning if a document with missing
7955         TeX document class is loaded
7956         * exporter.C: Disable TeX exports if the document class is missing
7957         * lyxtextclass.C:
7958         * lyxtextclass.h:
7959         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7960         isTeXClassAvailable()
7961
7962 2003-05-03  John Levon  <levon@movementarian.org>
7963
7964         * BufferView.h:
7965         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7966         explicit cursor show/hide
7967
7968         * BufferView_pimpl.h:
7969         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7970         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7971
7972         * lyxfunc.C: hide cursor before dispatching.
7973
7974         * lyx_cb.C:
7975         * lyxfind.C:
7976         * text.C:
7977         * text3.C: remove explicit cursor hides
7978
7979 2003-05-02  André Pönitz  <poenitz@gmx.net>
7980
7981         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7982
7983         * undo_funcs.C:
7984         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7985           linked lists
7986
7987         * text2.C: tiny whitespace
7988
7989 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7990
7991         * undo_funcs.C: almost only ws changes.
7992
7993         * ParagraphList.C (splice): just return if pl is empty.
7994
7995 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7996
7997         * ParagraphList.C (splice): new function.
7998
7999         * CutAndPaste.C (pasteSelection): use it
8000
8001 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8002
8003         * CutAndPaste.C (pasteSelection): remove the last next and
8004         previous from this file.
8005
8006 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8007
8008         * CutAndPaste.C (pasteSelection): more clean up, user proper
8009         ParagraphList functions for pasteing.
8010
8011         * ParagraphList.C (insert): new function, three arg insert
8012
8013 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8014
8015         * ParagraphList.C (insert): new function, three arg insert
8016
8017         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8018         not on paragraphs.
8019
8020 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8023
8024 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8025
8026         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8027
8028 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8029
8030         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8031         (copySelection): clean up a bit.
8032         (pasteSelection): use make_pair
8033
8034         * ParagraphList.C (ParagraphList): implement copy constructor
8035         (operator=): implement, base on copy constructor.
8036         (assign): new func
8037
8038         * paragraph.C (erase): return a bool
8039
8040         * paragraph_pimpl.C (erasePos): remove function, move contents...
8041         (erase): ... here. Return a bool.
8042         (erase): call erase instead of erasePos.
8043
8044 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8045
8046         * ParagraphList.h: define PitPosPair
8047         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8048         ParagraphList, fix a bug on pasting multiple pars
8049         * text2.C: change interface to C&P
8050
8051 2003-04-30  André Pönitz  <poenitz@gmx.net>
8052
8053         * undo_func.C: revert part of yesterday's patch 2
8054
8055 2003-04-30  John Levon  <levon@movementarian.org>
8056
8057         * LColor.C: s/tabular/table/
8058
8059 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8060
8061         * text3.C (dispatch): do not convert iterator -> pointer
8062         * undo_funcs.C (setCursorParUndo): ditto
8063         * text_funcs.C (transposeChars): ditto
8064
8065         * text2.C (setLayout): ws changes only
8066
8067         * text.C (breakParagraph): do not convert iterator -> pointer
8068         (insertChar): ditto
8069         (acceptChange): ditto
8070         (rejectChange): ditto
8071         (changeCase): ditto
8072         (Delete): ditto
8073         (backspace): ditto
8074
8075         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8076         pointer
8077
8078 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8079
8080         * text3.C (gotoInset): YABG (yet another bad getChar)
8081
8082 2003-04-29  André Pönitz  <poenitz@gmx.net>
8083
8084         * paragraph.h: make operator= private unimplemented as long as
8085           it is unusable
8086
8087         * ParagraphList.C: whitespace
8088
8089         * paragraph.[Ch]:
8090         * paragraph_pimpl.[Ch]:
8091         * paragraph_funcs.C:
8092         * CutAndPaste.C:
8093         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8094
8095         * text2.C:
8096           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8097
8098 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8099
8100         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8101         * paragraph.[Ch] (erase):
8102         * paragraph_pimpl.[Ch] (erase): change return type and value
8103         * text2.C (cutSelection): some rework
8104
8105 2003-04-28  John Levon  <levon@movementarian.org>
8106
8107         * bufferlist.C: changes for unsaved changes dialog
8108
8109 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * bufferlist.C (newFile): set language (messages_) for new
8112         documents also.
8113
8114         * buffer.C (readFile): ws changes only.
8115
8116 2003-04-28  André Pönitz  <poenitz@gmx.net>
8117
8118         * undo_funcs.C:
8119         * lyxfunc.C:
8120         * buffer.[Ch]:
8121         * BufferView_pimpl.C:
8122         * BufferView.C: getParFromID related ParagraphList::iterator changes
8123
8124 2003-04-28  André Pönitz  <poenitz@gmx.net>
8125
8126         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8127           Changes
8128
8129 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * messages.C: remove one more localedir class variable.
8132
8133 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8134
8135         * messages.C (getLocaleDir): singleton generation function
8136         (Pimpl): use it.
8137         (Messages): add a default constructor.
8138
8139         * main.C (main): do not setup localedir here, do not call
8140         gettext_init.
8141
8142         * gettext.C (_): use it.
8143         (gettext_init): delete funciton
8144
8145 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8146
8147         * gettext.C (getLyXMessages): new singleton generating function.
8148
8149         * buffer.C (updateDocLang): adjust
8150
8151         * Makefile.am (messages.o): add target
8152         (main.o): remove target
8153
8154 2003-04-27  John Levon  <levon@movementarian.org>
8155
8156         * bufferlist.C:
8157         * lyx_cb.C:
8158         * lyxfunc.C:
8159         * lyxvc.C: specify cancel button in Alert::prompt
8160
8161 2003-04-26  John Levon  <levon@movementarian.org>
8162
8163         * text3.C:
8164         * lyxfunc.C:
8165         * lfuns.h:
8166         * LyXAction.C: add LFUN_INSET_SETTINGS
8167
8168         * lyxfunc.C: don't enable tabular-feature when there's
8169         just any locking inset
8170
8171 2003-04-26  John Levon  <levon@movementarian.org>
8172
8173         * bufferlist.C: re-add Cancel to buffer close question
8174
8175         * lyxfunc.C: fix import UI a bit
8176
8177 2003-04-25  John Levon  <levon@movementarian.org>
8178
8179         * gettext.C: remove the broken asserts for now
8180
8181 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * messages.C: make case where setlocale cannot comply work better.
8184
8185         * buffer.C (updateDocLang): new function
8186         (changeLanguage): use it
8187         (readFile): use it
8188
8189         * text2.C (setCounter): use B_ a bit.
8190
8191         * lyxlayout.C (Read): be sure to trim the label strings.
8192
8193         * messages.C (Messages): fix typo in comment
8194
8195         * buffer.C (readFile): set message_ after file is loaded.
8196         (makeDocBookFile): remove double return
8197         (changeLanguage): reset message_ upon language change.
8198         (B_): new func, use this to get translated buffer strings.
8199
8200         * main.C: add myself and Jean Marc as authors.
8201
8202 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8203
8204         * messages.[hC]: pimplify Messages, and three different pimpls to be
8205         used in different circumstances.
8206
8207         * gettext.[Ch]: change for use with new message code.
8208
8209 2003-04-24 André Pönitz <poenitz@gmx.net>
8210
8211         * factory.C: support for eqref
8212
8213 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * messages.[Ch]: add missing char
8216
8217         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8218
8219         * messages.[Ch]: New files
8220
8221 2003-04-18  John Levon  <levon@movementarian.org>
8222
8223         * BufferView.h:
8224         * BufferView.C:
8225         * BufferView_pimpl.C:
8226         * lfuns.h:
8227         * LyXAction.C:
8228         * lyxtext.h:
8229         * text2.C: remove layout-copy/paste (bug 778)
8230
8231 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8232
8233         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8234
8235 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8236
8237         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8238         if they succeed. Act accordingly.
8239
8240 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8241
8242         * text2.C (setCharFont): adjust
8243         (setCounter): adjust
8244         (insertStringAsLines): adjust
8245
8246         * text.C (leftMargin): adjust
8247         (setHeightOfRow): adjust
8248
8249         * rowpainter.C (paintFirst): adjust
8250         (paintLast): adjust
8251
8252         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8253         (outerHook): ditto
8254         (isFirstInSequence): ditto
8255         (getEndLabel): ditto
8256         (outerFont): adjust
8257
8258         * paragraph.C (getParLanguage): comment out some hard stuff.
8259
8260         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8261         (sgmlError): ditto
8262         (simpleDocBookOnePar): ditto
8263         (makeDocBookFile): use ParagraphList::iterator
8264
8265         * CutAndPaste.C (pasteSelection): adjust
8266
8267 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8268
8269         * text2.C (getFont): adjust
8270         (getLayoutFont): adjust
8271         (getLabelFont): adjust
8272
8273         * paragraph_funcs.C (TeXOnePar): adjust
8274
8275         * buffer.C (simpleLinuxDocOnePar): adjust
8276         (simpleDocBookOnePar): adjust
8277
8278         * CutAndPaste.C (pasteSelection): adjust
8279
8280         * BufferView.C (getEncoding): adjust
8281
8282         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8283
8284 2003-04-16  John Levon  <levon@movementarian.org>
8285
8286         * lyxfind.C: use parlist stuff for search/changes
8287
8288 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8291
8292         * text2.C (deleteEmptyParagraphMechanism): adjust
8293
8294         * text2.[Ch] (ownerParagraph): delete func (both of them
8295
8296 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8297
8298         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8299
8300 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8301
8302         * ParagraphList.C: prepare for NO_NEXT
8303
8304 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8305
8306         * text2.C (getFont): adjust
8307         (getLayoutFont): adjust
8308         (getLabelFont): adjust
8309
8310         * paragraph.C (getFont): adjust
8311         (getLabelFont): adjust
8312         (getLayoutFont): adjust
8313
8314         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8315
8316 2003-04-15  John Levon  <levon@movementarian.org>
8317
8318         From Angus Leeming
8319
8320         * lyx_main.C: handle Include in .ui files
8321
8322 2003-04-15  John Levon  <levon@movementarian.org>
8323
8324         * MenuBackend.C: make the doc files length shorter
8325
8326         * ToolbarBackend.h:
8327         * ToolbarBackend.C: handle toolbar placement flags,
8328         Minibuffer
8329
8330 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8331
8332         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8333         adjust
8334
8335         * paragraph_funcs.C (TeXOnePar): adjust
8336
8337         * paragraph.C (getLabelFont): add outerfont arg, adjust
8338         (getLayoutFont): ditto
8339         (simpleTeXOnePar): adjust
8340
8341         * paragraph_pimpl.C (realizeFont): delete func
8342
8343 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8344
8345         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8346         row argument, constify cur argument.
8347
8348 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8349
8350         * text2.C (getFont): adjust
8351         (getLayoutFont): adjust
8352         (getLabelFont): adjust
8353
8354         * paragraph_funcs.C (TeXOnePar): adjust
8355         (outerFont): new func...
8356         (realizeFont): ...moved out from here, changed this to facilitate
8357         transition
8358
8359         * paragraph.C (getFont): take outerfont as arg, adjust
8360         (simpleTeXOnePar): add outerfont arg, adjust
8361
8362         * buffer.C (simpleLinuxDocOnePar): adjust
8363         (simpleDocBookOnePar): adjust
8364
8365         * CutAndPaste.C (pasteSelection): adjust
8366
8367         * BufferView.C (getEncoding): adjust
8368
8369 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8370
8371         * text2.C (setCharFont): adjust
8372         (setCounter): adjust
8373
8374         * text.C (leftMargin): adjust
8375         (setHeightOfRow): adjust
8376
8377         * rowpainter.C (paintFirst): adjust
8378         (paintLast): adjust
8379
8380         * paragraph_pimpl.C (realizeFont): adjust
8381
8382         * paragraph.C (isFirstInSequence): move from here...
8383         * paragraph_funcs.C (isFirstInSequence): ...to here
8384
8385         * paragraph.C (outerHook): move from here...
8386         * paragraph_funcs.C (outerHook): ...to here
8387
8388         * paragraph.C (depthHook): move from here...
8389         * paragraph_funcs.C (depthHook): ...to here
8390
8391         * paragraph.C (getEndLabel): move from here...
8392         * paragraph_funcs.C (getEndLabel): ...to here
8393
8394         * text2.C (realizeFont): move from here...
8395         * paragraph_funcs.C (realizeFont): ...to here
8396
8397 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8400
8401 2003-04-14  Angus Leeming  <leeming@lyx.org>
8402
8403         * LColor.[Ch]: scrap LColor mathcursor.
8404
8405 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * lyxlex.[Ch] (text): delete function
8408         * trans.C (Load): adjust
8409         * paragraph_funcs.C (readParToken): adjust
8410
8411 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8412
8413         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8414         vector<char> instead of a char[].
8415
8416         * lyxlex_pimpl.C (getString): adjust
8417         (next): adjust
8418         (lex): use getString
8419         (eatLine): adjust
8420         (nextToken): adjust
8421
8422         * lyxlex.C (text): use pimpl_->getString()
8423         (getBool): ditto
8424         (findToken): ditto
8425
8426 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8427
8428         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8429         (makeFontEntriesLayoutSpecific): temp var for par.size()
8430         (setLayout): temp var for ownerParagraphs().end()
8431         (fullRebreak): temp var for rows().end()
8432         (selectionAsString): temp var for boost::next(startpit), realize
8433         that the while really is a regular for loop.
8434         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8435         setCursor in one place.
8436         (setParagraph): temp vr for ownerParagraphs().end()
8437         (updateCounters): make the while loop a for loop
8438         (cutSelection): temp var for ownerParagraphs().end()
8439         (updateInset): make the do {} while() a regular for loop
8440         (getCursorX): use temp vars
8441         (setCurrentFont): use temp vars
8442         (getColumnNearX): use temp vars
8443
8444 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8445
8446         * text.C (transformChar): use temp var for getChar
8447         (computeBidiTables): use temp var for row->par()
8448         (fill): move temp vars for row->par() and pit->layout() earlier in
8449         the function.
8450         (labelFill): use temp var for row->par()
8451         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8452         asc and desc, realize that pit never changes and that firstpit is
8453         just a duplicate and not needed. Exchange rit->par() with pit in a
8454         lot of places.
8455         (breakAgain): use a temp var for boost::next(rit)
8456         (breakAgainOneRow): ditto
8457         (breakParagraph): use a temp var for rows().begin()
8458         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8459         (cursorRightOneWord): use temp var for cursor.par() and
8460         cursor.pos(), remove usage of tmpcursor.
8461         (cursorLeftOneWord): use temp var for cursor.par() and
8462         cursor.pos() only set cur at end of function.
8463
8464 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8465
8466         * text.C, text2.C: exchange all usage of Paragraph::next with
8467         boost::next(ParagraphList::iterator)
8468
8469         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8470
8471         * text2.C (cursorTop): simplify implementation
8472         (cursorBottom): ditto
8473         (setParagraph): use ParagraphList::iterator
8474         (setCurrentFont): adjust
8475         (getColumnNearX): adjust
8476         (cursorRight): adjust
8477         (cursorLeft): remove usage of Paragraph::previous
8478         (cursorUpParagraph): ditto
8479         (deleteEmptyParagraphMechanism): slight cleanup
8480
8481         * text.C (isBoundary): take a Paragraph const & instead of a
8482         pointer as arg.
8483         (addressBreakPoint): ditto
8484         (leftMargin): remove usage of Paragraph::previous.
8485         (setHeightOfRow): ditto
8486         (cursorLeftOneWord): ditto
8487         (selectNextWordToSpellcheck): ditto
8488         (Delete): ditto
8489         (backspace): ditto
8490         (breakParagraph): remove one usage of Paragraph::next
8491         (redoParagraph): ditto
8492         (acceptChange): ditto
8493         (insertChar): adjust
8494         (rowBreakPoint): adjust
8495
8496         * bufferview_funcs.C (toggleAndShow): adjust
8497
8498 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8499
8500         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8501         methods to access it.
8502         * lyxtext.h:
8503         * text.C: Added updateRowPositions to compute all row positions.
8504         Make top_y and getRowNearY() to use the cached y position
8505
8506 2003-04-11  John Levon  <levon@movementarian.org>
8507
8508         * text.C (rowBreakPoint): reintroduce the labelEnd
8509         checks, code copied from the row fill stuff. Deep voodoo.
8510
8511         * text.C (fill): add a comment and debugging for the
8512         next poor soul.
8513
8514 2003-04-11  John Levon  <levon@movementarian.org>
8515
8516         * text.C: make sure fullrow insets get wrapped to the next line,
8517         even when they're in a manual label
8518
8519 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8520
8521         * text2.C (insertParagraph): make it take ParagraphList::iterator
8522         as arg.
8523         (setLayout): make it return ParagraphList::iterator
8524         (redoParagraphs): ditto
8525         (setCounter): ditto
8526         (checkParagraph): ditto
8527
8528         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8529
8530         * text2.C: adjust several funcs.
8531         (realizeFont): take a ParagraphList::iterator as arg.
8532         (getLayoutFont): ditto
8533         (getLabelFont): ditto
8534         (setCharFont): ditto
8535
8536         * text.C: adjust several funcs.
8537
8538 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8539
8540         * text.C (selectNextWordToSpellcheck): don't accidentally
8541         skip insets
8542
8543 2003-04-10  John Levon  <levon@movementarian.org>
8544
8545         * ToolbarBackend.C (getIcon): special handling for
8546         LFUN_MATH_DELIM
8547
8548 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8549
8550         * text2.C (cursorRight): a getChar assert fixed
8551
8552 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8553
8554         * text2.C (getFont): change to take a ParagraphList::iterator
8555         instead of Paragraph*
8556         Adjust several functions.
8557
8558         * text.C (transformChar): change to take a ParagraphList::iterator
8559         instead of Paragraph*
8560         (singleWidth): ditto
8561         Adjust several functions.
8562
8563         * rowpainter.C: adjust several functions
8564         * rowpainter.h:store a ParagraphList::iterator and not a
8565         Paragraph&.
8566
8567
8568 2003-04-09  John Levon  <levon@movementarian.org>
8569
8570         * lyxfunc.C:
8571         * lfuns.h:
8572         * LyXAction.h:
8573         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8574         and the "help" bits as well
8575
8576 2003-04-09  John Levon  <levon@movementarian.org>
8577
8578         * ToolbarBackend.h:
8579         * ToolbarBackend.C: allow multiple toolbars
8580
8581 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * undo_funcs.C (setCursorParUndo): adjust
8584
8585         * text_funcs.C (transposeChars): adjust
8586
8587         * text3.C (gotoNextInset): adjust
8588         (dispatch): adjust
8589
8590         * text2.C (setLayout): adjust
8591         (changeDepth): adjust
8592         (setFont): adjust
8593         (redoParagraphs): adjust
8594         (selectionAsString): adjust
8595         (setParagraph): adjust
8596         (insertInset): adjust
8597         (cutSelection): adjust
8598         (copySelection): adjust
8599         (pasteSelection): adjust
8600         (insertStringAsLines): adjust
8601         (updateInset): adjust
8602         (setCursor): change to take a ParagraphList::iterator parameter
8603         (setCursorIntern): change to take a ParagraphList::iterator parameter
8604         (setCurrentFont): adjust
8605         (cursorLeft): adjust
8606         (cursorRight): adjust
8607         (deleteEmptyParagraphMechanism): adjust
8608
8609         * text.C (breakParagraph): adjust
8610         (insertChar): adjust
8611         (acceptChange): adjust
8612         (rejectChange): adjust
8613         (selectNextWordToSpellcheck): adjust
8614         (changeCase): adjust
8615         (Delete): adjust
8616         (backspace): adjust
8617
8618         * lyxfind.C (SearchForward): adjust
8619         (SearchBackward): adjust
8620         (nextChange): adjust
8621
8622         * lyxcursor.C (par): adjust
8623
8624         * lyxcursor.h: store a ParagraphList::iterator instead of a
8625         Paragraph*
8626
8627         * lyx_cb.C (getPossibleLabel): adjust
8628
8629         * bufferview_funcs.C (toggleAndShow): adjust
8630
8631         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8632         (dispatch): adjust
8633
8634         * BufferView.C (removeAutoInsets): adjust
8635         (lockedInsetStoreUndo): adjust
8636
8637 2003-04-09  John Levon  <levon@movementarian.org>
8638
8639         * ToolbarBackend.C: try icon without argument
8640         if with argument fails
8641
8642 2003-04-08  John Levon  <levon@movementarian.org>
8643
8644         * ToolbarBackend.h:
8645         * ToolbarBackend.C: add getIcon(), handle tooltip,
8646         and change from "Icon" to "Item".
8647
8648 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8649
8650         * BufferView.C (lockInset): another bad getchar crunched
8651
8652 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8653
8654         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8655         again)
8656
8657 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8658
8659         * lyxfind.C (searchForward, searchBackwards): bug 782
8660
8661 2003-04-07  John Levon  <levon@movementarian.org>
8662
8663         * paragraph.C: remove dead comment
8664
8665         * text.C: remove troublesome depth-fiddling code
8666         in leftMargin() and rightMargin() (bug 1017)
8667
8668         * text.C: fix breaking of rows in nested lists
8669         (bug 1004)
8670
8671         * text2.C (updateCounters): fix up depth values
8672         (bug 1013)
8673
8674 2003-04-07  John Levon  <levon@movementarian.org>
8675
8676         * BufferView_pimpl.C: clear message when doc finishes resizing,
8677         and after a mouse event
8678
8679         * lyxfunc.C: clear message after exiting inset
8680
8681 2003-04-07  John Levon  <levon@movementarian.org>
8682
8683         * bufferview_funcs.C: show math status not outside
8684         status in the statusbar
8685
8686 2003-04-07  John Levon  <levon@movementarian.org>
8687
8688         * lyxfunc.C: note status changed after a depth change
8689
8690 2003-04-04  Angus Leeming  <leeming@lyx.org>
8691
8692         * LaTeX.h: move AuxInfo operator==, != out of line.
8693         Remove LaTeX virtual destructor; nothing derives from it.
8694         Move operator()() out of public area and rename it startscript().
8695         Change protected for private.
8696
8697 2003-04-04  Angus Leeming  <leeming@lyx.org>
8698
8699         * lyxfunc.C:
8700         * text2.C: remove unneeded #includes.
8701
8702 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8703
8704         * text2.C (dEPM): fix the heigth of the next row
8705
8706 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8707
8708         * text.C: squashed an invalid getChar requester + some ws changes
8709
8710 2003-04-03  John Levon  <levon@movementarian.org>
8711
8712         * bufferview_funcs.h:
8713         * bufferview_funcs.C:
8714         * lyxfunc.C:
8715         * lyxtext.h:
8716         * text2.C: make getStatus work for the env depth lfuns
8717
8718 2003-04-03  John Levon  <levon@movementarian.org>
8719
8720         * bufferview_funcs.h:
8721         * bufferview_funcs.C:
8722         * lyxfunc.C:
8723         * lyxtext.h:
8724         * text2.C: parlistize decDepth(), by merging it with incDepth()
8725
8726 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8727
8728         * lyxrow.h: store a ParagraphList::iterator instead of a
8729         Paragraph* and adjust other class functions to suit.
8730
8731         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8732         above.
8733
8734 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8735
8736         * text2.C (setCursor): do not anchor to cursor row for the time being
8737
8738 2003-04-02  John Levon  <levon@movementarian.org>
8739
8740         * LyXAction.C:
8741         * lfuns.h:
8742         * lyx_main.C:
8743         * lyxtext.h:
8744         * text.C:
8745         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8746
8747 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8748
8749         * paragraph.h: make ParagraphList and ParagraphList::iterator
8750         friends of Paragraph.
8751
8752         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8753
8754         * ParagraphList.C: Use the private next_ and previous_ from
8755         Paragraph.
8756
8757 2003-04-01  John Levon  <levon@movementarian.org>
8758
8759         * ToolbarBackend.h:
8760         * ToolbarBackend.C:
8761         * Makefile.am: rename, remove defaults gunk
8762
8763         * MenuBackend.h:
8764         * MenuBackend.C: remove defaults gunk
8765
8766         * Languages.h:
8767         * Languages.C: remove defaults gunk
8768
8769         * lyx_main.h:
8770         * lyx_main.C: error out if files couldn't be found.
8771
8772 2003-04-02  John Levon  <levon@movementarian.org>
8773
8774         * text2.C: make incDepth() use parlist
8775
8776 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8777
8778         * undo_funcs.C (firstUndoParagraph): adjust
8779
8780         * text3.C (gotoInset): adjust
8781         (dispatch): adjust, and rewrite loop.
8782
8783         * text2.C (init): adjust, and rewrite loop.
8784         (redoParagraphs): adjust
8785         (updateInset): adjust, and rewrite loop.
8786         (deleteEmptyParagraphMechanism): adjust
8787
8788         * tabular.C (LyXTabular): adjust
8789         (SetMultiColumn): adjust
8790         (TeXRow): adjust
8791
8792         * lyxtext.[Ch] (ownerParagraph): delete function
8793         (ownerParagraphs): new function returns a ParagraphList.
8794
8795         * BufferView.C (removeAutoInsets): adjust
8796         (insertErrors): adjust
8797         (setCursorFromRow): adjust
8798
8799 2003-04-01  Angus Leeming  <leeming@lyx.org>
8800
8801         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8802         in the frontends.
8803
8804 2003-04-02  John Levon  <levon@movementarian.org>
8805
8806         * lyxtext.h:
8807         * text.C:
8808         * Makefile.am:
8809         * text_funcs.h:
8810         * text_funcs.C: make transposeChars a free function
8811
8812         * lyxrow_funcs.C: remove wrong comment
8813
8814 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8815
8816         * lyxtext.h: adjust
8817         * rowpainter.C: adjust
8818         * text.C: adjust
8819         * text2.C: adjust
8820         * text3.C: adjust
8821
8822         * lyxrow_funcs. [Ch]: new files
8823
8824         * lyxrow.[Ch]: remove next and previous pointers
8825         (next,previous): remove accessor functions
8826         (isParEnd): move to lyxrow_funcs
8827         (lastPos): move to lyxrow_funcs
8828         (nextRowIsAllInset): move to lyxrow_funcs
8829         (lastPrintablePos): move to lyxrow_funcs
8830         (numberOfSeparators): move to lyxrow_funcs
8831         (numberOfHfills): move to lyxrow_funcs
8832         (numberOfLabelHfills): move to lyxrow_funcs
8833         (hfillExpansion): move to lyxrow_funcs
8834
8835         * lyxfunc.C: adjust
8836
8837         * bufferview_funcs.C (toggleAndShow): adjust
8838
8839         * RowList.h: Remove class RowList from file leave just a
8840         std::list<Row>.
8841
8842         * RowList.C: delete file
8843
8844         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8845         and lyxrow_funcs.h
8846
8847 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8848
8849         * text3.C (cursorPrevious): adjust
8850         (cursorNext): adjust
8851         (dispatch): adjust
8852
8853         * text2.C (redoHeightOfParagraph): adjust
8854         (redoDrawingOfParagraph): adjust
8855         (setCursor): adjust
8856
8857         * text.C (breakParagraph): adjust
8858         (insertChar): adjust
8859         (backspace): adjust
8860
8861         * rowpainter.C (RowPainter): adjust
8862         (leftMargin): simplify and adjust
8863         (most rowpainter functions): adjust.
8864
8865         * rowpainter.h: store the row as RowList::iterator not as Row*
8866
8867         * lyxcursor.C (row): taka RowList::iterator as arg
8868         (irow): ditto
8869
8870         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8871         of Row*.
8872
8873 2003-04-01  Angus Leeming  <leeming@lyx.org>
8874
8875         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8876         stuff like bool Bool.
8877
8878 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8879
8880         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8881         rewrite a loop
8882
8883 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8884
8885         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8886         RowList::iterator.
8887
8888         * lyxtext.h (rows): drop one version and leve a const variant that
8889         returns a RowList::iterator.
8890
8891 2003-03-31  Angus Leeming  <leeming@lyx.org>
8892
8893         * text.C (fill): ensure that the signature is the same as that in the
8894         header file.
8895
8896 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8897
8898         * text2.C (redoParagraphs): adjust
8899         (updateCounters): adjust
8900         (checkParagraph): adjust
8901         (getColumnNearX): adjust and reformat a bit.
8902
8903         * text.C (top_y): adjust
8904         (workWidth): adjust
8905         (leftMargin): adjust
8906         (prepareToPrint): adjust
8907         (getRow): adjust
8908         (getRowNearY): adjust
8909
8910         * lyxtext.h: make rowlist_ mutable.
8911
8912         * RowList.h: add const_iterator
8913         * RowList.C: adjust for RowList::const_iterator.
8914
8915         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8916         adjust.
8917
8918 2003-03-31  John Levon  <levon@movementarian.org>
8919
8920         * lyxrc.h:
8921         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8922
8923         * lyx_main.C: set default fonts from using lyx_gui funcs
8924
8925         * exporter.C: pdf_mode moved from lyxrc
8926
8927         * lyx_cb.C:
8928         * lyxfunc.C: changes from above
8929
8930 2003-03-31  John Levon  <levon@movementarian.org>
8931
8932         * lyx_main.C: fix to the last fix
8933
8934 2003-03-31  John Levon  <levon@movementarian.org>
8935
8936         * bufferlist.C: "Load original" -> "Load Original"
8937
8938         * converter.C:
8939         * exporter.C:
8940         * importer.C:
8941         * lyx_main.C:
8942         * format.C: more Alert cleanups
8943
8944 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8945
8946         * text2.C (removeParagraph): make it take a RowList::iterator as
8947         arg, adjust.
8948         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8949         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8950
8951         * text.C (anchor_row): make it take a RowList::iterator as arg,
8952         adjust.
8953         (computeBidiTables): make it take a const reference to Row instead
8954         of Row pointer, adjust.
8955         (leftMargin): make it take a RowList::iterator as arg, adjust.
8956         (rowBreakPoint): adjust
8957         (breakAgainOneRow): make it take a RowList::iterator as arg,
8958         adjust.
8959         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8960
8961         * bufferview_funcs.C (toggleAndShow): adjust
8962
8963 2003-03-30  John Levon  <levon@movementarian.org>
8964
8965         * Makefile.am:
8966         * BoostFormat.h:
8967         * boost-inst.C: moved to support
8968
8969         * several files: changes as a result
8970
8971 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8972
8973         * text2.C (LyXText): adjust.
8974         (init): adjust
8975         (removeRow): make it take a RowList::iterator as arg, adjust.
8976         (fullRebreak): adjust
8977         (deleteEmptyParagraphMechanism): adjust
8978         (clearPaint): adjust
8979         (postPaint): adjust
8980
8981         * text.C (top_y): adjust
8982         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8983         (breakAgain): make it take a RowList::iterator as arg, adjust.
8984         (breakParagraph): adjust
8985         (insertChar): adjust
8986         (backspace): adjust
8987
8988         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8989         need_break_row, and refresh_row.
8990
8991         * text3.C (dispatch): adjust
8992
8993         * text2.C (checkParagraph): adjust
8994         (setCursor): adjust
8995         (setCursorFromCoordinates): adjust
8996
8997         * text.C (top_y): adjust
8998         (workWidth): adjust
8999         (getRow): make it return a RowList::iterator, adjust
9000         (getRowNearY): make it return a RowList::iterator, adjust
9001
9002         * text2.C (init): adjust
9003         (insertRow): remove function
9004         (insertParagraph): adjust
9005         (redoParagraphs): adjust
9006         (fullRebreak): adjust
9007         (updateCounters): adjust
9008
9009         * text.C (top_y): rewrite to use RowList iterators.
9010         (top_y): adjust
9011         (setHeightOfRow): rewrite to sue RowList iterators.
9012         (appendParagraph): adjust
9013         (breakAgain): adjust
9014         (breakAgainOneRow): adjust
9015         (breakParagraph): adjust
9016         (getRow): adjust
9017         (getRowNearY): adjust, and remove commented code.
9018
9019         * lyxtext.h (firstRow): delete function
9020         (lastRow): delete function
9021         (rows): new function (const and non-const versions.)
9022         (insertRow): delete function
9023
9024         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9025
9026 2003-03-29  John Levon  <levon@movementarian.org>
9027
9028         * BufferView_pimpl.C: always update scrollbar top
9029         because pasting text when we're anchored could mean we
9030         miss an update altogether
9031
9032 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9033
9034         * text2.C (init): use rowlist_.end() and not 0.
9035         (insertRow): change to take a RowList::iterator as arg, adjust
9036         for this.
9037         (insertParagraph): change to take a RowList::iterator as arg,
9038         adjust for this.
9039         (redoParagraphs): remove some debug msgs.
9040
9041         * text.C (appendParagraph): change to take a RowList::iterator
9042         arg, adjust for this.
9043         (breakAgain): add an assert
9044         (breakAgainOneRow): ditto
9045
9046 2003-03-29  John Levon  <levon@movementarian.org>
9047
9048         * text2.C: do not clear selection after inc/decDepth
9049         (bug 550)
9050
9051 2003-03-29  John Levon  <levon@movementarian.org>
9052
9053         * BufferView.C:
9054         * buffer.C: fix broken strerrors according to Lars
9055
9056 2003-03-29  John Levon  <levon@movementarian.org>
9057
9058         * converters.C: more Alert cleanups
9059
9060 2003-03-29  John Levon  <levon@movementarian.org>
9061
9062         * bufferview_funcs.C: remove pointless Alert
9063
9064         * buffer.C: fix confusing error message when
9065         a template is chmoded 000
9066
9067 2003-03-29  John Levon  <levon@movementarian.org>
9068
9069         * BufferView.C:
9070         * BufferView.h:
9071         * BufferView_pimpl.C: Alert fixes
9072
9073         * Makefile.am:
9074         * tabular.C:
9075         * tabular-old.C: remove unused table compat reading
9076
9077 2003-03-29  John Levon  <levon@movementarian.org>
9078
9079         * BufferView.C:
9080         * buffer.C:
9081         * lyx_cb.h:
9082         * lyx_cb.C: more Alert cleanups
9083
9084         * lyxfunc.C: don't allow chktex if not latex document
9085
9086 2003-03-29  John Levon  <levon@movementarian.org>
9087
9088         * lyx_cb.C:
9089         * BufferView.C:
9090         * buffer.C: warnings pushed down from support/,
9091         kill err_alert
9092
9093 2003-03-29  John Levon  <levon@movementarian.org>
9094
9095         * lyxfunc.C: safety check for C-r (revert)
9096
9097 2003-03-29  John Levon  <levon@movementarian.org>
9098
9099         * bufferlist.h:
9100         * bufferlist.C: several UI fixes using Alert::prompt.
9101         Fix the pointless looping quit code. Fix stupid revert
9102         behaviour (bug 938)
9103
9104         * lyxvc.h:
9105         * lyxvc.C:
9106         * lyx_cb.C: use Alert::prompt
9107
9108         * lyx_main.C: remove a silly question
9109
9110         * lyxfunc.C: remove a couple of silly questions,
9111         use Alert::prompt
9112
9113 2003-03-28  John Levon  <levon@movementarian.org>
9114
9115         * text2.C: fix bug 974 (End on empty par)
9116
9117 2003-03-28  John Levon  <levon@movementarian.org>
9118
9119         * BufferView_pimpl.C:
9120         * LyXAction.C:
9121         * lfuns.h: remove do-nothing math greek lfuns
9122
9123 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9124
9125         * lyxgluelength.h (isValidGlueLength): add default arg on
9126         parameter 2. Remove default arg from friend in class.
9127
9128         * lyxlength.h (isValidLength): add default arg on parameter 2.
9129         Remove default arg from friend in class.
9130
9131         * text2.C (LyXText): adjust, initialize refresh_row.
9132         (init): adjust
9133         (removeRow): adjust
9134         (insertRow): adjust
9135         (insertParagraph): adjst
9136         (redoParagraphs): adjust
9137         (fullRebreak): adjust
9138         (updateCounters): adjust
9139         (deleteEmptyParagraphMechanism): first attempt at fixing a
9140         crashing bug.
9141
9142         * text.C (top_y): adjust
9143         (setHeightOfRow): adjust
9144         (getRow): adjust
9145         (getRowNearY): adjust
9146
9147         * lyxtext.h: include RowList.h
9148         (~LyXText): not needed anymore, deleted.
9149         (firstRow): modify for RowList
9150         (lastRow): new function
9151         Delete firstrow and lastrow class variables, add a Rowlist
9152         rowlist_ class variable.
9153
9154         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9155         paragraph is empty.
9156
9157         * RowList.C (insert): fix case where it == begin().
9158
9159 2003-03-26  Angus Leeming  <leeming@lyx.org>
9160
9161         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9162         the thesaurus dialog.
9163
9164 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9165
9166         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9167
9168         * RowList.[Ch]: new files
9169
9170         * ParagraphList.C (erase): handle the case where it == begin
9171         correctly.
9172
9173 2003-03-25  John Levon  <levon@movementarian.org>
9174
9175         * Makefile.am:
9176         * aspell_local.h:
9177         * aspell.C: add new aspell support
9178
9179         * lyxrc.h:
9180         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9181         have it accessible.
9182
9183 2003-03-25  Angus Leeming  <leeming@lyx.org>
9184
9185         * lfuns.h:
9186         * LyXAction.C (init): new LFUN_INSET_INSERT.
9187
9188         * BufferView_pimpl.C (dispatch): split out part of the
9189         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9190
9191         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9192         LFUN_INSET_APPLY.
9193
9194 2003-03-25  Angus Leeming  <leeming@lyx.org>
9195
9196         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9197
9198 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9199
9200         * text2.C:
9201         * text3.C: remove useless row->height(0)
9202
9203 2003-03-25  John Levon  <levon@movementarian.org>
9204
9205         * lyxtext.h:
9206         * text2.C:
9207         * text3.C: rename the refreshing stuff to better names
9208
9209 2003-03-24  John Levon  <levon@movementarian.org>
9210
9211         * BufferView_pimpl.h:
9212         * BufferView_pimpl.C: update layout choice on a mouse
9213         press/release
9214
9215 2003-03-23  John Levon  <levon@movementarian.org>
9216
9217         * Makefile.am: fix commandtags.h reference
9218
9219 2003-03-22  John Levon  <levon@movementarian.org>
9220
9221         * BufferView_pimpl.C:
9222         * lyxtext.h:
9223         * rowpainter.C:
9224         * rowpainter.h:
9225         * text.C:
9226         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9227
9228 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9229
9230         * lyxtext.h:
9231         * text.C: take the rtl methods out of line
9232
9233 2003-03-21 André Pönitz <poenitz@gmx.net>
9234
9235         * metricsinfo.[Ch]: new files containing structures to be passed around
9236         during the two-phase-drawing...
9237
9238 2003-03-21 André Pönitz <poenitz@gmx.net>
9239
9240         * lyxtextclass.C: read 'environment' tag.
9241
9242 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9243
9244         * text2.C (removeRow): fix bug 964
9245
9246 2003-03-20  John Levon  <levon@movementarian.org>
9247
9248         * rowpainter.C:
9249         * text.C:
9250         * text2.C: paint cleanups. Inset::update() dropped font
9251         parameter
9252
9253 2003-03-19  John Levon  <levon@movementarian.org>
9254
9255         * lyxfunc.C: only fitcursor/markDirty if available()
9256
9257 2003-03-19  John Levon  <levon@movementarian.org>
9258
9259         * commandtags.h: rename to ...
9260
9261         * lfuns.h: ... this, and renumber / cleanup
9262
9263 2003-03-19  John Levon  <levon@movementarian.org>
9264
9265         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9266         fit the cursor after an lfun
9267
9268         * BufferView.h:
9269         * BufferView.C:
9270         * BufferView_pimpl.h:
9271         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9272
9273         * LyXAction.C: layout-character should have ReadOnly
9274
9275         * ParagraphParameters.C:
9276         * buffer.C:
9277         * bufferview_funcs.C:
9278         * lyx_cb.C:
9279         * lyxfind.C:
9280         * lyxtext.h:
9281         * text.C:
9282         * text2.C:
9283         * text3.C:
9284         * undo_funcs.C: changes from above
9285
9286 2003-03-18  John Levon  <levon@movementarian.org>
9287
9288         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9289         remove it from update()
9290
9291         * lyxfunc.C: update layout choice after an lfun
9292
9293         * text3.C: remove extra updateLayoutChoice()s
9294
9295 2003-03-18  John Levon  <levon@movementarian.org>
9296
9297         * text.C: top_y change means full repaint, fix
9298         a drawing bug with cursor movement
9299
9300 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9301
9302         * lyxtext.h:
9303         * text.C:
9304         * text2.C: anchor row on setCursor
9305
9306 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9307
9308         * lyxtext.h: remove almost all mutable keywords
9309         * text.C:
9310         * text2.C:
9311         * text3.C: remove const keywords accordingly
9312
9313 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9314
9315         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9316         anon namespace
9317         (TeXEnvironment): ditto
9318         (TeXOnePar): ditto
9319
9320 2003-03-17  John Levon  <levon@movementarian.org>
9321
9322         * text.C (rowBreakPoint): remove attempt to fix displayed
9323         math insets inside a manual label
9324
9325 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9326
9327         * lyxtext.h: remove BufferView* as first arg from almost all class
9328         functions.
9329         * other files: adjust.
9330
9331 2003-03-17  John Levon  <levon@movementarian.org>
9332
9333         * lyxtext.h:
9334         * undo_funcs.C:
9335         * text2.C: more paint cleanups
9336
9337         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9338
9339         * rowpainter.h:
9340         * rowpainter.C: remove "smart" background painting code
9341
9342 2003-03-16  John Levon  <levon@movementarian.org>
9343
9344         * lyxtext.h:
9345         * text.C:
9346         * text2.C:
9347         * text3.C: add helper functions for setting refresh_row/y
9348
9349 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9350
9351         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9352         newline inset which *can* get inserted in the pass_thru layouts.
9353         This is primarily for literate documents.
9354
9355 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9356
9357         * buffer.C: increment LYX_FORMAT to 223
9358
9359 2003-03-14 André Pönitz <poenitz@gmx.net>
9360
9361         * textclass.h: prepare for environment handling, ws changes
9362         * lyxlayout.C: read latexheader and latexfooter tags
9363
9364 2003-03-14  John Levon  <levon@movementarian.org>
9365
9366         * text2.C: rewrite ::status() a bit
9367
9368 2003-03-13  John Levon  <levon@movementarian.org>
9369
9370         * lyxtext.h: add some docs
9371
9372 2003-03-13  John Levon  <levon@movementarian.org>
9373
9374         * lyxtext.h:
9375         * text.C:
9376         * text2.C:
9377         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9378
9379 2003-03-13  John Levon  <levon@movementarian.org>
9380
9381         * text3.C: fix appendix redrawing
9382
9383 2003-03-13  John Levon  <levon@movementarian.org>
9384
9385         * text.C (setHeightOfRow):
9386         * rowpainter.h:
9387         * rowpainter.C: make appendix mark have the text
9388           "Appendix" so the user knows what it is
9389
9390         * LColor.h:
9391         * LColor.C: s/appendixline/appendix/ from above
9392
9393 2003-03-13  John Levon  <levon@movementarian.org>
9394
9395         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9396
9397         * text.C: fix a getChar(pos) bug properly
9398
9399 2003-03-13  Angus Leeming  <leeming@lyx.org>
9400
9401         * commandtags.h:
9402         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9403         Probably only temporary. Let's see how things pan out.
9404
9405         * BufferView.C (unlockInset):
9406         * BufferView_pimpl.C (fitCursor):
9407         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9408
9409         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9410         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9411
9412         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9413         new functions that convert ParagraphParameters to and from a string.
9414
9415         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9416         BufferView::Pimpl's dispatch.
9417         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9418
9419 2003-03-13 André Pönitz <poenitz@gmx.net>
9420
9421         * lyxfunc.C:
9422         * text3.C:
9423         * factory.C: make it aware of InsetEnv
9424
9425 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9426
9427         * text2.C (setCursor): never ask for one past last
9428         (setCursor): add some debugging messages.
9429
9430         * text.C (singleWidth): never ask for one past last
9431         (singleWidth): ditto
9432         (leftMargin): ditto
9433         (rightMargin): ditto
9434         (rowBreakPoint): ditto
9435         (setHeightOfRow): ditto
9436         (prepareToPrint): ditto
9437
9438         * rowpainter.C (paintBackground): never ask for one past last
9439         (paintText): never ask for one past last
9440
9441         * paragraph_pimpl.C (getChar): make the assert stricter, never
9442         allow the one past last pos to be taken
9443
9444         * paragraph.C (getChar): ws changes only
9445
9446         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9447         (numberOfSeparators): ditto
9448         (numberOfHfills): ditto
9449
9450 2003-03-12  John Levon  <levon@movementarian.org>
9451
9452         * author.h:
9453         * author.C:
9454         * bufferparams.h:
9455         * bufferparams.C:
9456         * paragraph_funcs.C: fix per-buffer authorlists
9457
9458 2003-03-12  John Levon  <levon@movementarian.org>
9459
9460         * text.C: fix newline in right address
9461
9462 2003-03-12  Angus Leeming  <leeming@lyx.org>
9463
9464         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9465         duplicate those in LyXFunc::dispatch.
9466
9467         * commandtags.h:
9468         * LyXAction.C:
9469         * ToolbarDefaults.C:
9470         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9471         Add LFUN_FONTFREE_UPDATE.
9472
9473         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9474         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9475
9476         * bufferview_func.[Ch]: several new functions to facilliate
9477         transfer of data to and from the character dialog.
9478
9479 2003-03-12  John Levon  <levon@movementarian.org>
9480
9481         * buffer.C:
9482         * paragraph.h:
9483         * paragraph.C:
9484         * paragraph_funcs.C:
9485         * paragraph_pimpl.C:
9486         * sgml.C:
9487         * tabular.C:
9488         * text.C:
9489         * text3.C: remove META_NEWLINE in favour of an inset
9490
9491         * rowpainter.h:
9492         * rowpainter.C: remove paintNewline (done by inset)
9493
9494 2003-03-12  John Levon  <levon@movementarian.org>
9495
9496         * paragraph_pimpl.C: complain about bad getChar()s
9497         for a while at least
9498
9499 2003-03-12  John Levon  <levon@movementarian.org>
9500
9501         * buffer.h:
9502         * buffer.C: move paragraph read into a separate function,
9503         a little renaming to reflect that.
9504
9505         * bufferparams.h:
9506         * bufferparams.C: remove the author_ids map, not necessary now
9507
9508         * factory.h:
9509         * factory.C: moved Buffer::readInset to here
9510
9511         * paragraph_funcs.h:
9512         * paragraph_funcs.C: readParagraph free function moved from
9513         buffer.C
9514
9515         * tabular.C: name change
9516
9517 2003-03-12  John Levon  <levon@movementarian.org>
9518
9519         * buffer.C:
9520         * ParagraphParameters.C: move par params input to
9521         a read() method
9522
9523         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9524         behave like a normal read from the stream wrt reading
9525         a line vs. a \\token
9526
9527 2003-03-12  John Levon  <levon@movementarian.org>
9528
9529         * paragraph.C:
9530         * ParagraphParameters.h:
9531         * ParagraphParameters.C: move output code to a
9532         ::write() method
9533
9534 2003-03-12  John Levon  <levon@movementarian.org>
9535
9536         * BufferView.C (insertLyXFile):
9537         * buffer.h:
9538         * buffer.C:
9539         * tabular.C: use a parlist iterator for creating the
9540           document.
9541
9542 2003-03-12  John Levon  <levon@movementarian.org>
9543
9544         * buffer.C: make current_change static local not
9545           static file-scope
9546
9547 2003-03-12  John Levon  <levon@movementarian.org>
9548
9549         * buffer.C: fix insertStringAsLines for change tracking
9550
9551 2003-03-12  John Levon  <levon@movementarian.org>
9552
9553         * BufferView.C:
9554         * tabular.C:
9555         * buffer.h:
9556         * buffer.C:
9557         * bufferparams.h:
9558         * bufferparams.C: move author list into params. Rename some
9559           functions. Move the header reading into a separate token
9560           loop. Move the header token reading into BufferParams.
9561
9562 2003-03-12  John Levon  <levon@movementarian.org>
9563
9564         * changes.C: put debug inside lyxerr.debugging() checks
9565
9566 2003-03-11 André Pönitz <poenitz@gmx.net>
9567
9568         * factory.C: make it aware of InsetHFill
9569
9570 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9571
9572         * buffer.C (latexParagraphs): move function from here...
9573         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9574         args.
9575
9576 2003-03-10  Angus Leeming  <leeming@lyx.org>
9577
9578         * LyXAction.C (init): fix bug in poplating array with multiple entries
9579         with the same LFUN (spotted by JMarc).
9580
9581 2003-03-10  John Levon  <levon@movementarian.org>
9582
9583         * text.C:
9584         * text2.C: move getColumnNearX() near its
9585         only call site
9586
9587 2003-03-10  John Levon  <levon@movementarian.org>
9588
9589         * text.C: fix break before a minipage
9590
9591 2003-03-10  John Levon  <levon@movementarian.org>
9592
9593         * text.C: fix the last commit
9594
9595 2003-03-09  John Levon  <levon@movementarian.org>
9596
9597         * lyxtext.h:
9598         * text.C:
9599         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9600         bug 365 (don't break before insets unless needed). Don't
9601         return a value > last under any circumstances.
9602
9603 2003-03-09  Angus Leeming  <leeming@lyx.org>
9604
9605         * BufferView_pimpl.C (trackChanges, dispatch): call
9606         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9607
9608 2003-03-09  Angus Leeming  <leeming@lyx.org>
9609
9610         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9611         than Dialogs::showAboutlyx().
9612
9613 2003-03-09  Angus Leeming  <leeming@lyx.org>
9614
9615         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9616         than Dialogs::showTabularCreate().
9617
9618 2003-03-09  John Levon  <levon@movementarian.org>
9619
9620         * lyxtext.h:
9621         * text.C:
9622         * text2.C: 3rd arg to nextBreakPoint was always the same.
9623           Use references.
9624
9625 2003-03-08  John Levon  <levon@movementarian.org>
9626
9627         * lyxrow.C:
9628         * paragraph.C:
9629         * paragraph.h:
9630         * rowpainter.C:
9631         * text.C:
9632         * text2.C: Remove the "main" bit from the "main body"
9633           notion.
9634
9635 2003-03-08  John Levon  <levon@movementarian.org>
9636
9637         * text.C (leftMargin): The left margin of an empty
9638         manual label paragraph should not include the label width
9639         string length.
9640
9641         * text.C (prepareToPrint): don't attempt to measure hfills
9642         for empty manual label paragraphs - the answer should be 0
9643
9644 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9645
9646         * CutAndPaste.C: remove commented code and reindent.
9647
9648 2003-03-08  John Levon  <levon@movementarian.org>
9649
9650         * lyxfunc.h:
9651         * lyxfunc.C: move reloadBuffer()
9652
9653         * BufferView.h:
9654         * BufferView.C: to here
9655
9656         * lyxvc.C: add comment
9657
9658         * vc-backend.h:
9659         * vc-backend.C: call bv->reload() to avoid
9660           getStatus() check on MENURELOAD
9661
9662 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9663
9664         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9665         to an old format .dep file.
9666
9667 2003-03-07  Angus Leeming  <leeming@lyx.org>
9668
9669         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9670         when the LFUN_MOUSE_RELEASE should have been handled by
9671         inset->localDispatch.
9672
9673 2003-03-07  Angus Leeming  <leeming@lyx.org>
9674
9675         * BufferView_pimpl.C (dispatch):
9676         * LyXAction.C (init):
9677         * ToolbarDefaults.C (init):
9678         * commandtags.h:
9679         * lyxfunc.C (getStatus):
9680         remove LFUN_INSET_GRAPHICS.
9681
9682         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9683
9684 2003-03-07  Angus Leeming  <leeming@lyx.org>
9685
9686         * commandtags.h:
9687         * LyXAction.C (init):
9688         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9689
9690         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9691
9692         * commandtags.h:
9693         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9694
9695         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9696         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9697
9698 2003-03-07  Angus Leeming  <leeming@lyx.org>
9699
9700         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9701         remove "ert".
9702
9703 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9704
9705         * ParagraphList.C (front): new function
9706         (back): implement
9707
9708 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9709
9710         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9711         and top_row_offset_. removed var first_y.
9712         * text.C (top_y):
9713         * text2.C (LyXText, removeRow):
9714         * text3.C:
9715         * BufferView_pimpl.C:
9716         use these methods instead of using first_y
9717
9718 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9719
9720         * text2.C (pasteSelection): adjust for checkPastePossible
9721
9722         * CutAndPaste.C: remove Paragraph * buf and replace with
9723         ParagraphList paragraphs.
9724         (DeleteBuffer): delete
9725         (cutSelection): change the tc type to textclass_type
9726         (copySelection): change the tc type to textclass_type
9727         (copySelection): adjust for ParagraphList
9728         (pasteSelection): change the tc type to textclass_type
9729         (pasteSelection): adjust for Paragraphlist
9730         (nrOfParagraphs): simplify for ParagraphList
9731         (checkPastePossible): simplify for ParagraphList
9732         (checkPastePossible): remove unused arg
9733
9734         * ParagraphList.C (insert): handle the case where there are no
9735         paragraphs yet.
9736
9737         * CutAndPaste.h: make CutAndPaste a namespace.
9738
9739         * text3.C (dispatch): adjust
9740
9741         * text.C (breakParagraph): add a ParagraphList as arg
9742
9743         * paragraph_funcs.C (breakParagraph): change to take a
9744         BufferParams and a ParagraphList as args.
9745         (breakParagraphConservative): ditto
9746         (mergeParagraph): ditto
9747         (TeXDeeper): add a ParagraphList arg
9748         (TeXEnvironment): ditto
9749         (TeXOnePar): ditto
9750
9751         * buffer.C (readLyXformat2): adjust
9752         (insertStringAsLines): adjust
9753         (latexParagraphs): adjust
9754
9755         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9756         (cutSelection): adjust
9757         (pasteSelection): adjust
9758
9759         * BufferView_pimpl.C (insertInset): adjust
9760
9761 2003-03-05  Angus Leeming  <leeming@lyx.org>
9762
9763         * commandtags.h:
9764         * LyXAction.C (init):
9765         * BufferView_pimpl.C (dispatch):
9766         * lyxfunc.C (getStatus):
9767         remove LFUN_CHILD_INSERT.
9768
9769         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9770
9771 2003-03-05  Angus Leeming  <leeming@lyx.org>
9772
9773         * commandtags.h:
9774         * LyXAction.C (init):
9775         * src/factory.C (createInset):
9776         * lyxfunc.C (getStatus):
9777         * text3.C (dispatch):
9778         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9779
9780         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9781
9782 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9783
9784         * ParagraphList.C (insert): handle insert right before end()
9785         (erase): fix cases where it can be first or last paragraph.
9786
9787 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9788
9789         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9790         Paragraph::next and Paragraph::previous
9791         (TeXOnePar): ditto
9792
9793         * text.C (breakParagraph): adjust
9794
9795         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9796         BufferParams& as arg.
9797         (breakParagraph): use ParagraphList::insert
9798         (breakParagraphConservative): take a Buffer* instead of a
9799         BufferParams& as arg.
9800         (breakParagraphConservative): use ParagraphList::insert.
9801
9802         * buffer.C (insertStringAsLines): un-const it
9803         (insertStringAsLines): adjust
9804
9805         * ParagraphList.C (insert): new function
9806
9807         * CutAndPaste.C (pasteSelection): adjust
9808
9809         * text.C (backspace): adjust
9810
9811         * tabular.C (SetMultiColumn): adjust
9812
9813         * CutAndPaste.C (cutSelection): adjust
9814         (pasteSelection): adjust
9815
9816         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9817         Buffer const * as arg
9818
9819         * ParagraphList.C (erase): new function
9820         * paragraph_funcs.C (mergeParagraph): use it
9821         (mergeParagraph): make it take a Buffer* instead of a
9822         BufferParams* as arg
9823
9824         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9825         as arg
9826         (breakParagraphConservative): ditto
9827
9828         * paragraph.h: remove the breakParagraph friend
9829
9830         * paragraph.C (eraseIntern): new function
9831         (setChange): new function
9832
9833         * paragraph_funcs.C (mergeParagraph): make it take a
9834         ParagraphList::iterator instead of a Paragraph *, adjust
9835         accordingly.
9836
9837         * paragraph.h: move an #endif so that the change tracking stuff
9838         also works in the NO_NEXT case.
9839
9840 2003-03-04  Angus Leeming  <leeming@lyx.org>
9841
9842         * commandtags.h:
9843         * LyXAction.C: new LFUN_INSET_MODIFY.
9844
9845         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9846         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9847
9848 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9849
9850         * several files: ws changes only
9851
9852         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9853         (TeXEnvironment): ditto
9854         (TeXDeeper): ditto
9855
9856         * buffer.C (makeLaTeXFile): adjust
9857         (latexParagraphs): make it take ParagraphList::iterator as args
9858
9859 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9860
9861         * buffer.C (latexParagraphs): adjust
9862
9863         * paragraph.C (TeXOnePar): move function...
9864         (optArgInset): move function...
9865         (TeXEnvironment): move function...
9866         * paragraph_pimpl.C (TeXDeeper): move function...
9867         * paragraph_funcs.C: ...here
9868
9869         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9870
9871 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9872
9873         * buffer.C (readInset): remove compability code for old Figure and
9874         InsetInfo insets
9875
9876 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9877
9878         * buffer.C: ws changes
9879         (readInset):
9880
9881         * BufferView_pimpl.C: ditto
9882         * author.C: ditto
9883         * buffer.h: ditto
9884         * bufferlist.h: ditto
9885         * changes.h: ditto
9886         * lyxfunc.C: ditto
9887
9888 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9889
9890         * converter.[Ch]: split into itself +
9891         * graph.[Ch]
9892         * format.[Ch]
9893         * Makefile.am: += graph.[Ch] + format.[Ch]
9894         * MenuBackend.C
9895         * buffer.C
9896         * exporter.C
9897         * importer.C
9898         * lyx_main.C
9899         * lyxfunc.C
9900         * lyxrc.C: added #include "format.h"
9901
9902 2003-02-27  Angus Leeming  <leeming@lyx.org>
9903
9904         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9905           a label.
9906
9907         * factory.C (createInset): add "label" to the factory.
9908
9909         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9910           string and do no more.
9911
9912 2003-02-27  Angus Leeming  <leeming@lyx.org>
9913
9914         * commandtags.h:
9915         * LyXAction.C (init):
9916         * factory.C (createInset):
9917         * BufferView_pimpl.C (dispatch):
9918           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9919
9920         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9921
9922         * lyxfunc.C (dispatch):
9923         * text3.C (dispatch): pass name to params2string.
9924
9925 2003-02-26  Angus Leeming  <leeming@lyx.org>
9926
9927         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9928           blocks together.
9929           Rearrange the ~includes. Strip out the unnecessary ones.
9930
9931         * factory.C (createInset): reformat.
9932           create new insets for the various LFUN_XYZ_APPLY lfuns.
9933
9934 2003-02-26  John Levon  <levon@movementarian.org>
9935
9936         * lyxrow.h:
9937         * lyxrow.C: add isParStart,isParEnd helpers
9938
9939         * paragraph.h: make isInserted/DeletedText take refs
9940
9941         * paragraph_funcs.h:
9942         * paragraph_funcs.C: remove #if 0'd code
9943
9944         * lyxtext.h:
9945         * text3.C:
9946         * text2.C:
9947         * text.C: use lyxrow helpers above.
9948           Move draw and paint routines to RowPainter.
9949           Make several methods use refs not pointers.
9950           Make backgroundColor() const.
9951           Add markChangeInDraw(), isInInset().
9952           Merge changeRegionCase into changeCase.
9953           Make workWidth() shouldn't-happen code into an Assert.
9954
9955         * rowpainter.h:
9956         * rowpainter.C: new class for painting a row.
9957
9958         * vspace.h:
9959         * vspace.C: make inPixels take a ref
9960
9961 2003-02-26  Angus Leeming  <leeming@lyx.org>
9962
9963         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9964         LFUN_REF_APPLY.
9965
9966 2003-02-25  John Levon  <levon@movementarian.org>
9967
9968         * ispell.C: give the forked command a more accurate name
9969
9970 2003-02-22  John Levon  <levon@movementarian.org>
9971
9972         * toc.h:
9973         * toc.C: make TocItem store an id not a Paragraph *
9974           (bug #913)
9975
9976 2003-02-21  Angus Leeming  <leeming@lyx.org>
9977
9978         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9979           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9980           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9981           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9982           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9983           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9984
9985         * BufferView_pimpl.C (dispatch):
9986         * LyXAction.C (init):
9987         * factory.C (createInset):
9988         * lyxfunc.C (getStatus, dispatch):
9989         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9990
9991 2003-02-21  Angus Leeming  <leeming@lyx.org>
9992
9993         * BufferView_pimpl.C (MenuInsertLyXFile):
9994         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9995         * lyxfunc.C (menuNew, open, doImport):
9996           no longer pass a LyXView & to fileDlg.
9997
9998 2003-02-21  Angus Leeming  <leeming@lyx.org>
9999
10000         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10001         * LyXAction.C: change, BIBKEY to BIBITEM.
10002         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10003         Change InsetBibKey to InsetBibitem.
10004         Change BIBKEY_CODE to BIBITEM_CODE.
10005         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10006         * factory.C: replace insetbib.h with insetbibitem.h.
10007         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10008         * paragraph.C: replace insetbib.h with insetbibitem.h.
10009         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10010         Change bibkey() to bibitem().
10011         * text.C: remove insetbib.h.
10012         * text2.C: replace insetbib.h with insetbibitem.h.
10013         change bibkey() to bibitem().
10014         * text3.C: remove insetbib.h.
10015         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10016
10017 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10018
10019         * lyxrc.C (output): enclose user email in quotes (in case there are
10020         several words)
10021
10022 2003-02-18  John Levon  <levon@movementarian.org>
10023
10024         * buffer.h: add std::
10025
10026 2003-02-17  John Levon  <levon@movementarian.org>
10027
10028         * SpellBase.h:
10029         * ispell.h:
10030         * ispell.C:
10031         * pspell.h:
10032         * pspell.C: reworking. Especially in ispell, a large
10033           number of clean ups and bug fixes.
10034
10035         * lyxfunc.C: fix revert to behave sensibly
10036
10037 2003-02-17 André Pönitz <poenitz@gmx.net>
10038
10039         * LyXAction.C:
10040         * commandtags.h: new LFUN_INSERT_BIBKEY
10041
10042         * layout.h:
10043         * lyxlayout.C:
10044         * buffer.C:
10045         * factory.C:
10046         * text.C:
10047         * text2.C:
10048         * text3.C:
10049         * paragraph.[Ch]:
10050         * paragraph_func.C: remove special bibkey handling
10051
10052 2003-02-17  John Levon  <levon@movementarian.org>
10053
10054         * text.C (Delete): fix case where delete at the end of
10055           the very first paragraph would not merge the pars
10056
10057 2003-02-17  John Levon  <levon@movementarian.org>
10058
10059         * lyxrow.C: fix lastPrintablePos()
10060
10061 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10062
10063         * bufferparams.C (writeLaTeX): add a std:here
10064
10065         * buffer.C: and remove a using directive there
10066
10067 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10068
10069         * buffer.C (makeLaTeXFile): move the code that generates the
10070           preamble...
10071
10072         * bufferparams.C (writeLaTeX): ... in this new method
10073
10074         * LaTeXFeatures.C (getEncodingSet): make const
10075           (getLanguages): make const
10076
10077         * MenuBackend.C (binding): returns the binding associated to this
10078           action
10079           (add): sets the status of each item by calling getStatus. Adds
10080           some intelligence.
10081           (read): add support for OptSubMenu
10082           (expand): remove extra separator at the end of expanded menu
10083
10084 2003-02-15  John Levon  <levon@movementarian.org>
10085
10086         * BufferView.C:
10087         * BufferView_pimpl.C:
10088         * bufferlist.h:
10089         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10090           inset code that had no actual effect. Remove unneeded status
10091           code.
10092
10093 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10096           in preamble
10097
10098 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10099
10100         * text.C (drawLengthMarker): also draw an arrow marker for
10101           symbolic lengths (medskip...)
10102
10103 2003-02-14  John Levon  <levon@movementarian.org>
10104
10105         * tabular.h:
10106         * tabular.C: better method names
10107
10108 2003-02-14  John Levon  <levon@movementarian.org>
10109
10110         * BufferView_pimpl.C:
10111         * bufferlist.C:
10112         * buffer.C:
10113         * converter.C:
10114         * lyx_cb.C:
10115         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10116           it's a more accurate name. Remove some pointless uses.
10117
10118 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10119
10120         * text2.C (LyXText): change order of initilizers to shut off
10121           warnings
10122
10123 2003-02-14  John Levon  <levon@movementarian.org>
10124
10125         * buffer.C: use ParIterator for getParFromID()
10126
10127         * paragraph.h:
10128         * paragraph.C:
10129         * paragraph_pimpl.h:
10130         * paragraph_pimpl.C: remove unused getParFromID()
10131
10132 2003-02-14  John Levon  <levon@movementarian.org>
10133
10134         * buffer.C: remove some very old #if 0'd parse code
10135
10136 2003-02-13  John Levon  <levon@movementarian.org>
10137
10138         * text.h:
10139         * text.C:
10140         * text2.C: move hfillExpansion(), numberOfSeparators(),
10141           rowLast(), rowLastPrintable(), numberofHfills(),
10142           numberOfLabelHfills() ...
10143
10144         * lyxrow.h:
10145         * lyxrow.C: ... to member functions here.
10146
10147         * paragraph.h:
10148         * paragraph.C:
10149         * lyxtext.h:
10150         * text.C: remove LyXText::beginningOfMainBody(), and call
10151           p->beginningOfMainBody() directly. Move the check for
10152           LABEL_MANUAL into the latter.
10153
10154         * text.h:
10155         * text.C:
10156         * text2.C:
10157         * vspace.C:
10158         * BufferView.h:
10159         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10160
10161         * text.h:
10162         * text.C:
10163         * text2.C:
10164         * text3.C:
10165         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10166           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10167
10168 2003-02-13  John Levon  <levon@movementarian.org>
10169
10170         * CutAndPaste.C: remove debug
10171
10172 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10173
10174         * paragraph.C (asString): remove two unused variables
10175
10176         * lyxtextclass.C (readTitleType):
10177           (Read):
10178           (LyXTextClass): handle new members titletype_ and titlename_
10179
10180         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10181
10182 2003-02-09  John Levon  <levon@movementarian.org>
10183
10184         * buffer.h:
10185         * buffer.C: replace hand-coded list with a map for the dep clean
10186
10187 2003-02-08  John Levon  <levon@movementarian.org>
10188
10189         * LaTeX.C: consolidate code into showRunMessage() helper
10190
10191 2003-02-08  John Levon  <levon@movementarian.org>
10192
10193         * lyxfind.C:
10194         * lyxtext.h:
10195         * text2.C:
10196         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10197           and pass the size in explicitly
10198
10199         * BufferView_pimpl.h:
10200         * BufferView_pimpl.C:
10201         * BufferView.h:
10202         * BufferView.C: add getCurrentChange()
10203
10204         * BufferView_pimpl.h:
10205         * BufferView_pimpl.C: handle change lfuns
10206
10207         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10208           for changes. Mark pasted paragraphs as new.
10209
10210         * support/lyxtime.h:
10211         * support/lyxtime.C:
10212         * DepTable.C: abstract time_t as lyx::time_type
10213
10214         * LColor.h:
10215         * LColor.C: add colours for new text, deleted text, changebars
10216
10217         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10218           package use "usenames" option.
10219
10220         * commandtags.h:
10221         * lyxfunc.C:
10222         * LyXAction.C: add change lfuns
10223
10224         * Makefile.am:
10225         * author.h:
10226         * author.C: author handling
10227
10228         * buffer.h:
10229         * buffer.C: add a per-buffer author list, with first entry as
10230           current author. Handle new .lyx tokens for change tracking. Output
10231           author list to .lyx file. Output dvipost stuff to .tex preamble.
10232           Bump lyx format to 222.
10233
10234         * bufferlist.h:
10235         * bufferlist.C: add setCurrentAuthor() to reset current author details
10236           in all buffers.
10237
10238         * bufferparams.h:
10239         * bufferparams.C: add param for tracking
10240
10241         * bufferview_funcs.C: output change info in minibuffer
10242
10243         * Makefile.am:
10244         * changes.h:
10245         * changes.C: add change-tracking structure
10246
10247         * debug.h:
10248         * debug.C: add CHANGES debug flag
10249
10250         * lyxfind.h:
10251         * lyxfind.C: add code for finding the next change piece
10252
10253         * lyxrc.h:
10254         * lyxrc.C: add user_name and user_email
10255
10256         * lyxrow.h:
10257         * lyxrow.C: add a metric for the top of the text line
10258
10259         * lyxtext.h:
10260         * text.C: implement accept/rejectChange()
10261
10262         * lyxtext.h:
10263         * text.C: paint changebars. Paint new/deleted text in the chosen
10264         colours. Strike through deleted text.
10265
10266         * paragraph.h:
10267         * paragraph.C:
10268         * paragraph_pimpl.h:
10269         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10270           in the current change to the insert functions. Rework erase to
10271           mark text as deleted, adding an eraseIntern() and a range-based
10272           erase(). Implement per-paragraph change lookup and
10273           accept/reject.
10274
10275         * paragraph_funcs.C: Fixup paste for change tracking.
10276
10277         * tabular.C: mark added row/columns as new.
10278
10279         * text.C: fix rowLast() to never return -1. Don't allow
10280           spellchecking of deleted text. Track transpose changes. Don't
10281           allow paragraph break or merge where appropriate.
10282
10283         * text2.C: leave cursor at end of selection after a cut.
10284
10285 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10286
10287         * text.C (getLengthMarkerHeight):
10288         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10289         visible on screen too.
10290
10291 2003-02-07  John Levon  <levon@movementarian.org>
10292
10293         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10294
10295 2003-02-05  Angus Leeming  <leeming@lyx.org>
10296
10297         * lyxserver.C (read_ready): revert my patch of 11 September last year
10298         as it sends PC cpu through the roof. Presumably this means that
10299         the lyxserver will no longer run on an Alpha...
10300
10301 2003-01-30  Angus Leeming  <leeming@lyx.org>
10302
10303         * factory.C (createInset): create an InsetCommandParam of type "index"
10304         and use it to 'do the right thing'.
10305
10306         * text2.C (getStringToIndex): ensure that cursor position is always
10307         reset to the reset_cursor position.
10308
10309 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10310
10311         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10312         disabled.
10313
10314 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10315
10316         * bufferview.C:
10317         * lyxcb.C:
10318         * lyxfunc.C: Output messages with identical spelling, punctuation,
10319         and spaces
10320
10321 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10322
10323         * MenuBackend.C (expandFormats): List only viewable export formats
10324         in "View" menu
10325
10326         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10327         message
10328
10329         * lyxfunc.C (getStatus): Make sure that formats other than
10330         "fax" can also be disabled
10331
10332 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10333
10334         * text3.C (dispatch): put the lfuns that insert insets in 3
10335         groups, and call doInsertInset with appropriate arguments.
10336         (doInsertInset): new function, that creates an inset and inserts
10337         it according to some boolean parameters.
10338
10339 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10340
10341         * buffer.C (readFile): remember to pass on 'par' when calling
10342         readFile recursively.
10343
10344 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10345
10346         * MenuBackend.C (expandFormats): add "..." to import formats.
10347
10348 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10349
10350         * paragraph.C (asString): Remove XForms RTL hacks.
10351
10352 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10353         * buffer.C: fix typo
10354
10355 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10356
10357         * Makefile.am (LIBS): delete var
10358         (lyx_LDADD): add @LIBS@ here instead.
10359
10360 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10361
10362         * Clarify the meaning of "wheel mouse jump"
10363
10364 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10365
10366         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10367         tabular in a float
10368
10369 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10370
10371         * importer.C (Loaders): do not preallocate 3 elements in the
10372         vector, since one ends up with 6 elements otherwise
10373
10374 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10375
10376         * DepTable.C (write): write the file name as last element of the
10377         .dep file (because it may contain spaces)
10378         (read): read info in the right order
10379
10380 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10381
10382         * paragraph_pimpl.C (simpleTeXBlanks):
10383         (simpleTeXSpecialChars):
10384         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10385
10386         * tabular.C (latex): add some missing case statements. Reindent.
10387
10388         * MenuBackend.C (expandToc): remove unused variable.
10389
10390 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10391
10392         * LColor.C:
10393         * LaTeX.C:
10394         * LyXAction.C:
10395         * MenuBackend.C:
10396         * buffer.C:
10397         * exporter.C:
10398         * lyxfunc.C:
10399         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10400         and the like.
10401
10402 2003-01-05  John Levon  <levon@movementarian.org>
10403
10404         * BufferView.h:
10405         * BufferView.C: add getEncoding()
10406
10407         * kbsequence.h:
10408         * kbsequence.C: do not store last keypress
10409
10410         * lyxfunc.h:
10411         * lyxfunc.C: store last keypress here instead. Pass encoding
10412           to getISOEncoded()
10413
10414 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10415
10416         * lyx_main.C (init): remove annoying error message when following
10417         symbolic links (bug #780)
10418
10419 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10420
10421         * text.C (insertChar):
10422         * lyxrc.C (getDescription): remove extra spaces
10423
10424 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10425
10426         * lyxrc.C (getDescription): remove extra spaces
10427
10428 2002-12-20  John Levon  <levon@movementarian.org>
10429
10430         * text3.C: hack fix for page up/down across tall rows
10431
10432 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10433
10434         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10435         not been invoked
10436
10437 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10438
10439         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10440         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10441         thesaurus is not compiled in
10442
10443 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10444
10445         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10446
10447 2002-12-16  Angus Leeming  <leeming@lyx.org>
10448
10449         * lyxrc.[Ch]:
10450         * lyx_main.C (init): remove override_x_deadkeys stuff.
10451
10452 2002-12-12  John Levon  <levon@movementarian.org>
10453
10454         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10455           insert. Only remove shift modifier under strict
10456           circumstances.
10457
10458 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10459
10460         * MenuBackend.C (expandToc): fix crash.
10461
10462 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10463
10464         * MenuBackend.C (expandToc): gettext on float names.
10465
10466 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10467
10468         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10469         implement bool empty() [bug 490]
10470
10471 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10472
10473         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10474
10475 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10476
10477         * several files: ws changes
10478
10479 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10480
10481         * text2.C (setCounter): clean up a bit, use boost.format.
10482         (updateCounters): initialize par upon declaration.
10483
10484         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10485         if the layout exists. We do not just store the layout any more.
10486         (SwitchLayoutsBetweenClasses): use boost.format
10487
10488 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10489
10490         * converter.C (convert): if from and to files are the same, use a
10491         temporary files as intermediary
10492
10493 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10494
10495         * commandtags.h:
10496         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10497
10498 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10499
10500         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10501
10502 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10503
10504         * tabular.C (asciiPrintCell): use string(size, char) instead of
10505         explicit loop.
10506
10507         * sgml.C (openTag): fix order of arguments to string constructor
10508         (closeTag): ditto
10509
10510         * lyxfunc.C (dispatch): use boost.format
10511
10512         * lots of files: change "c" -> 'c'
10513
10514 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10515
10516         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10517
10518 2002-11-25  Angus Leeming  <leeming@lyx.org>
10519
10520         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10521
10522         * lyx_main.C (init): compile fix.
10523
10524 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10525
10526         * lyx_cb.C (start): boost.formatify
10527         do not include <iostream>
10528
10529         * lengthcommon.C: ws only
10530
10531         * boost-inst.C,BoostFormat.h: add more explict instantations
10532
10533 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10534
10535         * lots of files: handle USE_BOOST_FORMAT
10536
10537 2002-11-21  John Levon  <levon@movementarian.org>
10538
10539         * pspell.C: fix compile
10540
10541 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10542
10543         * lyxfunc.C (dispatch): use boost::format
10544         (open): ditto
10545         (doImport): ditto
10546
10547         * lyxfont.C (stateText): use boost::format
10548
10549         * lyx_main.C (LyX): use boost::format
10550         (init): ditto
10551         (queryUserLyXDir): ditto
10552         (readRcFile): ditto
10553         (parse_dbg): ditto
10554         (typedef boost::function): use the recommened syntax.
10555
10556         * importer.C (Import): use boost::format
10557
10558         * debug.C (showLevel): use boost::format
10559
10560         * converter.C (view): use boost::format
10561         (convert): ditto
10562         (move): ditto
10563         (scanLog): ditto
10564
10565         * bufferview_funcs.C (currentState): use boost::format
10566
10567         * bufferlist.C (emergencyWrite): use boost::format
10568
10569         * buffer.C (readLyXformat2): use boost::format
10570         (parseSingleLyXformat2Token): ditto
10571
10572         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10573
10574         * LaTeX.C (run): use boost::format
10575
10576         * Chktex.C (scanLogFile): use boost::format
10577
10578         * BufferView_pimpl.C (savePosition): use boost::format
10579         (restorePosition): ditto
10580         (MenuInsertLyXFile): ditto
10581
10582         * BoostFormat.h: help file for explicit instation.
10583
10584 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10585
10586         * tabular.C (latex): Support for block alignment in fixed width
10587         columns.
10588
10589 2002-11-17  John Levon  <levon@movementarian.org>
10590
10591         * BufferView_pimpl.C:
10592         * lyx_cb.C:
10593         * lyxfunc.C: split filedialog into open/save
10594
10595 2002-11-08  Juergen Vigna  <jug@sad.it>
10596
10597         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10598         by my last patch (hopefully).
10599
10600 2002-11-08  John Levon  <levon@movementarian.org>
10601
10602         * iterators.h:
10603         * iterators.C:
10604         * buffer.h:
10605         * buffer.C:
10606         * paragraph.h:
10607         * paragraph.C:
10608         * toc.h:
10609         * toc.C: ParConstIterator, and use it (from Lars)
10610
10611 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10612
10613         * lyxtextclass.[Ch]: revise and add doxygen comments
10614
10615 2002-11-07  John Levon  <levon@movementarian.org>
10616
10617         * text.C: fix progress value for spellchecker
10618
10619         * toc.C: fix navigate menu for insetwrap inside minipage
10620
10621         * paragraph_funcs.C: added FIXME for suspect code
10622
10623 2002-11-07  John Levon  <levon@movementarian.org>
10624
10625         * BufferView_pimpl.C: fix redrawing of insets
10626           on buffer switch
10627
10628 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10629
10630         * text2.C (updateCounters): fix bug 668
10631
10632 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10633
10634         * text3.C (dispatch): Do not make the buffer dirty when moving the
10635         cursor.
10636
10637 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10638
10639         * vc-backend.C: STRCONV
10640         (scanMaster): ditto
10641
10642         * text2.C (setCounter): STRCONV
10643
10644         * paragraph.C (asString): STRCONV
10645
10646         * lyxlength.C (asString): STRCONV
10647         (asLatexString): ditto
10648
10649         * lyxgluelength.C (asString): STRCONV
10650         (asLatexString): ditto
10651
10652         * lyxfunc.C (dispatch): STRCONV
10653         (open): ditto
10654
10655         * lyxfont.C (stateText): STRCONV
10656
10657         * importer.C (Import): STRCONV
10658
10659         * counters.C (labelItem): STRCONV
10660         (numberLabel): ditto
10661         (numberLabel): remove unused ostringstream o
10662
10663         * chset.C: STRCONV
10664         (loadFile): ditto
10665
10666         * bufferview_funcs.C (currentState): STRCONV
10667
10668         * buffer.C (readFile): STRCONV
10669         (asciiParagraph): ditto
10670         (makeLaTeXFile): ditto
10671
10672         * Spacing.C (writeEnvirBegin): STRCONV
10673
10674         * LaTeXFeatures.C (getLanguages): STRCONV
10675         (getPackages): ditto
10676         (getMacros): ditto
10677         (getBabelOptions): ditto
10678         (getTClassPreamble): ditto
10679         (getLyXSGMLEntities): ditto
10680         (getIncludedFiles): ditto
10681
10682         * LaTeX.C: STRCONV
10683         (run): ditto
10684         (scanAuxFile): ditto
10685         (deplog): ditto
10686
10687         * LString.h: add the STRCONV macros
10688
10689         * BufferView_pimpl.C (savePosition): STRCONV
10690         (restorePosition): ditto
10691         (MenuInsertLyXFile): ditto
10692
10693         * vc-backend.C (scanMaster): change from submatch[...] to
10694         submatch.str(...)
10695
10696         * funcrequest.C: include config.h
10697
10698         * factory.C: include config.h
10699
10700         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10701
10702         * box.C: include config.h
10703
10704         * LaTeX.C (scanAuxFile): change from submatch[...] to
10705         submatch.str(...)
10706         (deplog): ditto
10707
10708 2002-10-25  Angus Leeming  <leeming@lyx.org>
10709
10710         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10711
10712         * ispell.[Ch] (setError): new method.
10713         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10714         Use setError() insetead of goto END.
10715
10716         * lyx_cb.C (AutoSave): move out child process into new class
10717         AutoSaveBuffer.
10718
10719 2002-10-30  John Levon  <levon@movementarian.org>
10720
10721         * text3.C: make start appendix undoable
10722
10723 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10724
10725         * lyxlength.C (inPixels): Fix returned value.
10726
10727         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10728         environment.
10729
10730 2002-10-24  Angus Leeming  <leeming@lyx.org>
10731
10732         * lyxgluelength.h: no need to forward declare BufferParams
10733         or BufferView, so don't.
10734
10735 2002-10-21  John Levon  <levon@movementarian.org>
10736
10737         * BufferView.C: menuUndo ->undo, redo
10738
10739         * BufferView.h: document, remove dead, make some methods private
10740
10741         * paragraph_funcs.h:
10742         * paragraph_funcs.C:
10743         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10744
10745         * buffer.h:
10746         * buffer.C:
10747         * sgml.h:
10748         * sgml.C: move sgml open/close tag into sgml.C
10749
10750         * bufferview_funcs.h: unused prototype
10751
10752         * lyxfunc.h:
10753         * lyxfunc.C: remove unused
10754
10755         * lyxtext.h:
10756         * text.C: remove unused
10757
10758 2002-10-21  John Levon  <levon@movementarian.org>
10759
10760         * BufferView.h:
10761         * BufferView.C:
10762         * BufferView_pimpl.h:
10763         * BufferView_pimpl.C: fix mouse wheel handling based on
10764           patch from Darren Freeman
10765
10766 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10767
10768         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10769
10770 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10771
10772         * lyxlength.C (inPixels): Fix hanfling of negative length.
10773         Fix LyXLength::MU case.
10774
10775 2002-10-16  John Levon  <levon@movementarian.org>
10776
10777         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10778
10779 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10780
10781         * converter.C (view): add support for $$i (file name) and $$p
10782         (file path) for the viewer command. If $$i is not specified, then
10783         it is appended to the command (for compatibility with old syntax)
10784
10785 2002-10-14  Juergen Vigna  <jug@sad.it>
10786
10787         * undo_funcs.C (textHandleUndo): alter the order in which the
10788         new undopar is added to the LyXText, as we have to set first
10789         the right prev/next and then add it as otherwise the rebuild of
10790         LyXText is not correct. Also reset the cursor to the right paragraph,
10791         with this IMO we could remove the hack in "redoParagraphs()".
10792
10793 2002-10-09  Angus Leeming  <leeming@lyx.org>
10794
10795         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10796         to turn off an optimisation if a new inset is to be inserted.
10797
10798 2002-10-11 André Pönitz <poenitz@gmx.net>
10799
10800         * lyxtext.h: make some functions public to allow access
10801         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10802
10803 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10804
10805         * text3.C (dispatch): when changing layout, avoid an infinite loop
10806         [bug #652]
10807
10808 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10809
10810         * lyxrc.C (read): treat a viewer or converter command of "none" as
10811         if it were empty.
10812
10813         * MenuBackend.C (expandFormats): for an update, also allow the
10814         formats that are not viewable
10815
10816         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10817         script if it is newer than the lyxrc.defaults in user directory
10818
10819 2002-10-07 André Pönitz <poenitz@gmx.net>
10820
10821         * text.C: Vitaly Lipatov's small i18n fix
10822
10823 2002-09-25  Angus Leeming  <leeming@lyx.org>
10824
10825         * ispell.h: doxygen fix.
10826
10827 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10828
10829         * buffer.h (readFile): Add a new argument to the method, to allow
10830         reading of old-format templates.
10831
10832 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10833
10834         * toc.C (getTocList): Get TOC from InsetWrap.
10835
10836 2002-09-16  John Levon  <levon@movementarian.org>
10837
10838         * lyxfunc.C: check tabular for cut/copy too
10839
10840 2002-09-12  John Levon  <levon@movementarian.org>
10841
10842         * LyXAction.C: tidy
10843
10844         * factory.h:
10845         * factory.C: add header
10846
10847         * paragraph_funcs.h:
10848         * paragraph_funcs.C: cleanup
10849
10850 2002-09-11  John Levon  <levon@movementarian.org>
10851
10852         * PrinterParams.h: odd/even default to true
10853
10854 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10855
10856         * PrinterParams.h: update printer parameters for new xforms dialog
10857
10858 2002-09-11  Angus Leeming  <leeming@lyx.org>
10859
10860         * lyxserver.C (read_ready): re-write to make it more transparent
10861         and to make it work in coherent fashion under Tru64 Unix.
10862
10863 2002-09-11  André Pönitz <poenitz@gmx.net>
10864
10865         * commandtags.h:
10866         * LyXAction.C:
10867         * text3.C: implement LFUN_WORDSEL
10868
10869 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10870
10871         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10872         make floatlist_ a boost::shared_ptr<FloatList>
10873
10874         * lyxtextclass.C: include FloatList.h
10875         (LyXTextClass): initialize floatlist_
10876         (TextClassTags): add TC_NOFLOAT
10877         (Read): match "nofloat" to TC_NOFLOAT and use it.
10878         (readFloat): modify call to floatlist_
10879         (floats): ditto
10880         (floats): ditto
10881
10882         * FloatList.[Ch] (FloatList): remove commented out float
10883         initialization.
10884         (erase): new function
10885
10886 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10887
10888         * MenuBackend.C (expandToc): fix crash when there is no document
10889         open
10890
10891 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10892
10893         * many files: Add insetwrap.
10894
10895 2002-09-09  John Levon  <levon@movementarian.org>
10896
10897         * text2.C: remove confusing and awkward depth wraparound
10898
10899 2002-09-09  John Levon  <levon@movementarian.org>
10900
10901         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10902
10903         * buffer.h:
10904         * buffer.C: remove getIncludeonlyList()
10905
10906         * paragraph.C:
10907         * lyxfunc.C: remove headers
10908
10909 2002-09-09  Juergen Vigna  <jug@sad.it>
10910
10911         * text.C (getColumnNearX): fix form Michael this is most
10912         probably a cut&paste bug.
10913
10914 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10915
10916         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10917
10918         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10919         references, ws changes.
10920
10921         * text2.C (init): update counters after init
10922         (insertParagraph): no need to set counter on idividual paragraphs.
10923         (setCounter): access the counters object in the textclass object
10924         on in the buffer object.
10925         (updateCounters): ditto
10926
10927         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10928         shared_ptr<Counters> to avoid loading counters.h in all
10929         compilation units.
10930         (LyXTextClass): initialize ctrs_
10931         (TextClassTags): add TC_COUNTER, and ...
10932         (Read): use it here.
10933         (CounterTags): new tags
10934         (readCounter): new function
10935         (counters): new funtion
10936         (defaultLayoutName): return a const reference
10937
10938         * counters.C (Counters): remove contructor
10939         (newCounter): remove a couple of unneeded statements.
10940         (newCounter): simplify a bit.
10941         (numberLabel): some small formatting changes.
10942
10943         * buffer.[Ch]: remove all traces of counters, move the Counters
10944         object to the LyXTextClass.
10945
10946 2002-09-06  Alain Castera  <castera@in2p3.fr>
10947
10948         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10949         package to set the horizontal alignment on fixed width columns.
10950
10951         * lyx_sty.C:
10952         * lyx_sty.h: added tabularnewline macro def.
10953
10954         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10955
10956 2002-09-06  John Levon  <levon@movementarian.org>
10957
10958         * LyXAction.C: tooltips for sub/superscript
10959
10960         * MenuBackend.C: a bit more verbose
10961
10962         * lyxfunc.C: tiny clean
10963
10964         * undo_funcs.C: document undo_frozen
10965
10966 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10967
10968         * counters.C (Counters): add missing algorithm counter.
10969
10970         * text2.C (setCounter): lookup the counter with layouts latexname
10971         instead of by section number.
10972         (setCounter): use a hackish way to lookup the correct enum
10973         counter.
10974         a float name->type change
10975         reset enum couners with counter name directly instead of depth value.
10976
10977         * counters.C (Counters): remove the push_backs, change to use the
10978         float type not the float name.
10979         (labelItem): remove unused string, float name->type change
10980
10981         * counters.h: don't include vector, loose the enums and sects vectors
10982
10983 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10984
10985         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10986         (Read): add float->TC_FLOAT to textclassTags
10987         (Read): and handle it in the switch
10988         (readFloat): new function
10989
10990         * FloatList.C (FloatList): comment out the hardcoded float
10991         definitions.
10992
10993         * lyxlayout.h: ws change.
10994
10995 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10996
10997         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10998
10999 2002-09-03  Angus Leeming  <leeming@lyx.org>
11000
11001         * BufferView_pimpl.h: qualified name is not allowed in member
11002         declaration: WorkArea & Pimpl::workarea() const;
11003
11004         * factory.C: added using std::endl directive.
11005
11006         * text3.C: added using std::find and std::vector directives.
11007
11008 2002-08-29  André Pönitz <poenitz@gmx.net>
11009
11010         * lyxtext.h:
11011         * text2.C: remove unused member number_of_rows
11012
11013         * Makefile.am:
11014         * BufferView2.C: remove file, move contents to...
11015         * BufferView.C: ... here
11016
11017         * BufferView_pimpl.C:
11018         * factory.C: move more inset creation to factory
11019
11020         * vspace.C: avoid direct usage of LyXText, ws changes
11021
11022         * BufferView.[Ch]:
11023                 don't provide direct access to WorkArea, use two simple
11024                 acessors haveSelction() and workHeight() instead
11025
11026
11027 2002-08-29  John Levon  <levon@movementarian.org>
11028
11029         * BufferView_pimpl.C (dispatch): do not continue when
11030           no buffer
11031
11032 2002-08-28  André Pönitz <poenitz@gmx.net>
11033
11034         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11035
11036         * BufferView.h:
11037         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11038
11039 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11040
11041         * buffer.C: increment LYX_FORMAT to 221
11042
11043         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11044         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11045
11046         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11047
11048         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11049
11050 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11051
11052         * factory.C (createInset): use LyXTextClass::floats
11053
11054         * MenuBackend.C (expandFloatListInsert):
11055         (expandFloatInsert):
11056         (expandToc):
11057
11058         * text2.C (setCounter):
11059
11060         * LaTeXFeatures.C (useFloat):
11061         (getFloatDefinitions):
11062
11063         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11064
11065         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11066         floatlist_, with accessor floats().
11067
11068         * FloatList.h: remove global FloatList
11069
11070 2002-08-26  André Pönitz <poenitz@gmx.net>
11071
11072         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11073
11074         * BufferView.h:
11075         * BufferView2.C:
11076         * BufferView_pimpl.C:
11077         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11078
11079 2002-08-25  John Levon  <levon@movementarian.org>
11080
11081         * LyXAction.C: fix margin note description
11082
11083 2002-08-24  John Levon  <levon@movementarian.org>
11084
11085         * buffer.C:
11086         * bufferlist.C:
11087         * bufferview_funcs.C:
11088         * lyxfont.C:
11089         * undo_funcs.C: cleanups
11090
11091         * lyxfunc.C: disable CUT/COPY when no selection
11092
11093 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11094
11095         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11096         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11097
11098         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11099         Add backward compatibility to "mono", "gray" and "no".
11100
11101 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11102
11103         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11104         (and file_format >= 200).
11105
11106 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11107
11108         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11109
11110 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11111
11112         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11113
11114 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11115
11116         * BufferView_pimpl.C:
11117         * LyXAction.C:
11118         * buffer.C:
11119         * commandtags.h:
11120         * lyxfunc.C:
11121         * paragraph.[Ch]:
11122         * text2.C:
11123         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11124         inset and code to make it  work with the paragraph code. The inset
11125         can be anywhere in the paragraph, but will only do the expected
11126         thing in LaTeX if the layout file contains the parameter line
11127                         OptionalArgs    1
11128         (or more generally, a nonzero value) for that layout.
11129
11130 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11131
11132         * paragraph.h: remove the declaration of undefined counters class
11133         function.
11134
11135 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11136
11137         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11138         Dr. Richard Hawkins.
11139
11140 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11141
11142         * paragraph_funcs.h: remove some unneeded includes
11143
11144         * text.C (backspace): pasteParagraph now in global scipe
11145
11146         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11147         (pasteSelection): ditto
11148
11149         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11150         * paragraph_funcs.C (pasteParagraph): ... here
11151
11152 2002-08-20  André Pönitz <poenitz@gmx.net>
11153
11154         * commandtags.h: new LFUNs for swapping/copying table row/colums
11155
11156         * LyXAction.C:
11157         * lyxfunc.C: support for new lfuns
11158
11159 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11160
11161         * tabular.C:
11162         * buffer.[Ch]: remove NO_COMPABILITY stuff
11163
11164 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11165
11166         * boost.C (throw_exception): new file, with helper function for
11167         boost compiled without exceptions.
11168
11169         * paragraph.h:
11170         * lyxlength.C:
11171         * buffer.C:
11172         * ParameterStruct.h:
11173         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11174
11175         * bufferlist.C (emergencyWriteAll): use boost bind
11176
11177         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11178
11179         * text.C: include paragraph_funcs.h
11180         (breakParagraph): breakParagraph is now in global scope
11181
11182         * paragraph_funcs.[Ch]: new files
11183
11184         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11185         global scope
11186
11187         * buffer.C: include paragraph_funcs.h
11188         (insertStringAsLines): breakParagraph is now in global scope
11189
11190         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11191         paragraph_funcs.C
11192
11193         * CutAndPaste.C: include paragraph_funcs.h
11194         (cutSelection): breakParagraphConservative is now in global scope
11195         (pasteSelection): ditto
11196
11197         * buffer.h: declare oprator== and operator!= for
11198         Buffer::inset_iterator
11199
11200         * bufferlist.C (emergencyWrite): don't use fmt(...)
11201
11202         * text3.C: add using std::endl
11203
11204         * BufferView.C (moveCursorUpdate): remove default arg
11205
11206 2002-08-20  André Pönitz <poenitz@gmx.net>
11207
11208         * buffer.[Ch]: move inline functions to .C
11209
11210         * BufferView2.C:
11211         * BufferView_pimpl.C:
11212         * text.C:
11213         * buffer.[Ch]: use improved inset_iterator
11214
11215         * buffer.C:
11216         * paragraph.[Ch]: write one paragraph at a time
11217
11218 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11219
11220         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11221         style if style is not specified.
11222
11223 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11224
11225         * text2.C (setCounter): when searching for right label for a
11226         caption, make sure to recurse to parent insets (so that a caption
11227         in a minipage in a figure float works) (bug #568)
11228
11229 2002-08-20  André Pönitz <poenitz@gmx.net>
11230
11231         * text3.C: new file for LyXText::dispatch() and helpers
11232
11233         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11234
11235         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11236
11237 2002-08-19  André Pönitz <poenitz@gmx.net>
11238
11239         * lyxtext.h:
11240         * text.C: new LyXText::dispatch()
11241
11242         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11243
11244 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11245
11246         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11247
11248         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11249         Hebrew text.
11250
11251 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11252
11253         * Makefile.am: use $(variables) instead of @substitutions@
11254
11255 2002-08-15  André Pönitz <poenitz@gmx.net>
11256
11257         * lyxfunc.C:
11258         * BufferView_pimpl.C: streamlining mathed <-> outer world
11259         interaction
11260
11261         * commandtags.h:
11262         * LyXAction.C: remove unused LFUN_MATH
11263
11264 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11265
11266         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11267
11268 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11269
11270         * paragraph.C (Paragraph): reformat a bit
11271         (cutIntoMinibuffer): use builtin InsetList function instad of
11272         doing it manually.
11273         (getInset): ditto
11274
11275         * buffer.C: include boost/bind.hpp, add using std::for_each
11276         (writeFileAscii): use ParagraphList iterators
11277         (validate): use for_each for validate traversal of paragraphs
11278         (getBibkeyList): use ParagraphList iterators
11279         (resizeInsets): use for_each to resizeInsetsLyXText for all
11280         paragraphs.
11281         (getParFromID): use ParagraphList iterators
11282
11283         * BufferView2.C (lockInset): use paragraph list and iterators
11284
11285 2002-08-14  John Levon  <levon@movementarian.org>
11286
11287         * lyxserver.C: remove spurious xforms include
11288
11289 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11290
11291         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11292
11293 2002-08-13  André Pönitz <poenitz@gmx.net>
11294
11295         * LyXAction.[Ch]:
11296         * lyxfunc.C: further cleaning
11297
11298 2002-08-13  André Pönitz <poenitz@gmx.net>
11299
11300         * funcrequest.h: new constructor
11301
11302         * funcrequest.C: move stuff here from .h
11303
11304         * Makefile.am:
11305         * BufferView_pimpl.C:
11306         * LyXAction.C:
11307         * toc.C:
11308         * lyxfunc.C: subsequent changes
11309
11310         * lyxfunc.h: new view() member function
11311
11312         * lyxfunc.C: subsequent changes
11313
11314 2002-08-13  Angus Leeming  <leeming@lyx.org>
11315
11316         * BufferView2.C:
11317         * BufferView_pimpl.C:
11318         * buffer.C:
11319         * converter.C:
11320         * importer.C:
11321         * lyxfunc.C:
11322         * lyxvc.C:
11323         * toc.C:
11324         * vc-backend.C:
11325         changes due to the changed LyXView interface that now returns references
11326         to member variables not pointers.
11327
11328 2002-08-13  Angus Leeming  <leeming@lyx.org>
11329
11330         * WordLangTuple (word, lang_code): return references to strings,
11331         not strings.
11332
11333         * BufferView.h:
11334         * SpellBase.h:
11335         * lyxtext.h: forward-declare WordLangTuple.
11336
11337         * BufferView2.C:
11338         * ispell.C:
11339         * pspell.C:
11340         * text.C: #include "WordLangTuple.h".
11341
11342         * lyxtext.h:
11343         * text.C: (selectNextWordToSpellcheck): constify return type.
11344
11345 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11346
11347         * buffer.C:
11348         * buffer.h:
11349         * lyxtext.h:
11350         * paragraph.C:
11351         * paragraph_pimpl.h:
11352         * text.C:
11353         * text2.C:
11354         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11355         suggested by Angus.
11356         Made updateCounter always count from start of buffer, and removed
11357         second argument (par).
11358         Reverted floats number display to '#'. Perhaps I'll try again when the
11359         code base is sanitized a bit.
11360
11361 2002-08-12  Angus Leeming  <leeming@lyx.org>
11362
11363         * buffer.[Ch] (getLabelList): constify.
11364
11365 2002-08-07  André Pönitz <poenitz@gmx.net>
11366
11367         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11368
11369         * funcrequest.h: extension to keep mouse (x,y) position
11370
11371 2002-08-12  Juergen Vigna  <jug@sad.it>
11372
11373         * BufferView2.C (insertErrors): forbid undo when inserting error
11374         insets.
11375
11376         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11377
11378 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11379
11380         * ParagraphList.[Ch]: new files
11381
11382         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11383
11384         * BufferView2.C (lockInset): ParagraphList changes
11385         * toc.C: ditto
11386         * text2.C: ditto
11387         * bufferlist.C: ditto
11388         * buffer.h: ditto
11389         * buffer.C: ditto
11390
11391 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11392
11393         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11394         unused class variable counter_,
11395
11396         * paragraph.[Ch] (getFirstCounter): delete unused function
11397
11398         * counters.C: include LAssert.h
11399         (reset): add a new function with no arg, change other version to
11400         not have def. arg and to not allow empty arg.
11401
11402         * text2.C (setCounter): remove empty arg from call to Counters::reset
11403
11404 2002-08-11  John Levon  <levon@movementarian.org>
11405
11406         * Makefile.am: add WordLangTuple.h
11407
11408 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11409
11410         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11411         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11412
11413         * insets/insettext.C: InsetList changes
11414
11415         * graphics/GraphicsSupport.C (operator()): InsetList changes
11416
11417         * toc.C (getTocList): InsetList changes
11418
11419         * paragraph_pimpl.[Ch]: InsetList changes
11420
11421         * paragraph.[Ch]: InsetList changes
11422
11423         * buffer.C (inset_iterator): InsetList changes
11424         (setParagraph): ditto
11425         * buffer.h (inset_iterator): ditto
11426         * iterators.C (operator++): ditto
11427         * iterators.h: ditto
11428
11429         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11430
11431         * InsetList.[Ch]: new files, most InsetList handling moved out of
11432         paragraph.C.
11433
11434         * BufferView2.C (removeAutoInsets): InsetList changes
11435         (lockInset): ditto
11436         (ChangeInsets): ditto
11437
11438 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11439
11440         * paragraph_pimpl.h (empty): new function
11441
11442         * paragraph.[Ch] (empty): new function
11443
11444         * other files: use the new Paragraph::empty function
11445
11446 2002-08-09  John Levon  <levon@movementarian.org>
11447
11448         * lyxtext.h: remove unused refresh_height
11449
11450 2002-08-09  John Levon  <levon@movementarian.org>
11451
11452         * Makefile.am:
11453         * sgml.h:
11454         * sgml.C:
11455         * buffer.C:
11456         * paragraph.h:
11457         * paragraph.C: move sgml char escaping out of paragraph
11458
11459         * paragraph.h:
11460         * paragraph.C: remove id setter
11461
11462         * buffer.C:
11463         * paragraph.C:
11464         * paragraph_pimpl.C: remove dead tex_code_break_column
11465
11466         * bufferview_funcs.C: small cleanup
11467
11468         * lyxfunc.C: remove dead proto
11469
11470         * lyxtext.h: make some stuff private. Remove some dead stuff.
11471
11472         * lyxgluelength.C: make as[LyX]String() readable
11473
11474 2002-08-08  John Levon  <levon@movementarian.org>
11475
11476         * LyXAction.h:
11477         * LyXAction.C:
11478         * MenuBackend.C:
11479         * ToolbarDefaults.C:
11480         * lyxfunc.C:
11481         * lyxrc.C:
11482         * toc.C: lyxaction cleanup
11483
11484 2002-08-08  John Levon  <levon@movementarian.org>
11485
11486         * BufferView2.C: small cleanup
11487
11488         * lyxfind.h:
11489         * lyxfind.C: move unnecessary header into the .C
11490
11491 2002-08-08  John Levon  <levon@movementarian.org>
11492
11493         * funcrequest.h: just tedious nonsense
11494
11495         * lyx_main.h:
11496         * lyx_main.C: cleanups
11497
11498         * buffer.C:
11499         * vspace.C: remove dead header lyx_main.h
11500
11501 2002-08-07  Angus Leeming  <leeming@lyx.org>
11502
11503         * Paragraph.[Ch]:
11504         * paragraph_pimpl.h:
11505         Forward declare class Counters in paragraph.h by moving the ctrs member
11506         variable into Paragraph::Pimpl.
11507         (counters): new method, returning a reference to pimpl_->ctrs.
11508
11509         * text2.C: ensuing changes.
11510
11511 2002-08-07  John Levon  <levon@movementarian.org>
11512
11513         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11514
11515         * BufferView_pimpl.C: announce X selection on double/triple
11516           click
11517
11518         * lyx_main.C: use correct bool in batch dispatch
11519
11520         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11521
11522 2002-08-07  André Pönitz <poenitz@gmx.net>
11523
11524         * funcrequest.h: new class to wrap a kb_action and its argument
11525
11526         * BufferView.[Ch]:
11527         * BufferView_pimpl[Ch]:
11528         * LaTeX.C:
11529         * LyXAction.[Ch]:
11530         * lyxfunc.[Ch]:
11531         * lyxrc.C: subsequent changes
11532
11533
11534 2002-08-07  John Levon  <levon@movementarian.org>
11535
11536         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11537           document options change.
11538
11539 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11540
11541         * counters.[Ch]
11542         * text2.C
11543         * paragraph.[Ch]
11544         * makefile.am: move counters functionality over from
11545         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11546
11547 2002-08-06  John Levon  <levon@movementarian.org>
11548
11549         * WordLangTuple.h: new file for word + language code tuple
11550
11551         * SpellBase.h:
11552         * pspell.h:
11553         * pspell.C:
11554         * ispell.h:
11555         * ispell.C:
11556         * lyxtext.h:
11557         * text.C:
11558         * text2.C:
11559         * BufferView.h:
11560         * BufferView2.C: use WordLangTuple
11561
11562         * layout.h:
11563         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11564
11565 2002-08-06  John Levon  <levon@movementarian.org>
11566
11567         * lyx_main.C: fix cmdline batch handling
11568
11569 2002-08-06  André Pönitz <poenitz@gmx.net>
11570
11571         * lyxrc.C: set default for show_banner to true
11572
11573 2002-08-06  John Levon  <levon@movementarian.org>
11574
11575         * pspell.C: fix a crash, and allow new aspell to work
11576
11577 2002-08-06  John Levon  <levon@movementarian.org>
11578
11579         * lyxfunc.C:
11580         * kbmap.C: small cleanup
11581
11582         * vspace.h:
11583         * vspace.C: add const
11584
11585 2002-08-05  John Levon  <levon@movementarian.org>
11586
11587         * LyXAction.C: back to tabular-insert
11588
11589 2002-08-04  John Levon  <levon@movementarian.org>
11590
11591         * BufferView.h:
11592         * BufferView.C: cosmetic change
11593
11594         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11595
11596         * bufferlist.C:
11597         * buffer.h:
11598         * buffer.C:
11599         * lyxcb.h:
11600         * lyxcb.C:
11601         * lyxserver.C:
11602         * lyxvc.C:
11603         * vc-backend.C:
11604         * BufferView2.C: purge all "Lyx" not "LyX" strings
11605
11606         * lyxcursor.h:
11607         * lyxcursor.C: attempt to add some documentation
11608
11609         * lyxfunc.C:
11610         * commandtags.h:
11611         * LyXAction.C:
11612         * ToolbarDefaults.C:
11613         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11614           merge with LFUN_TABULAR_INSERT
11615
11616         * Makefile.am:
11617         * SpellBase.h:
11618         * ispell.h:
11619         * ispell.C:
11620         * pspell.h:
11621         * pspell.C: split up i/pspell implementations into separate
11622           files, many cleanups
11623
11624         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11625
11626         * text2.C: some cleanup
11627
11628         * lyxfunc.C: don't check for isp_command == "none" any more, it
11629           didn't make any sense
11630
11631 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11632
11633         * counters.[Ch]
11634         * text2.C
11635         * paragraph.[Ch]
11636         * makefile.am: move counters functionality over
11637         from text2.C/paragraph.[Ch] to counters.[Ch], and
11638         make proper C++.
11639 2002-08-02  John Levon  <levon@movementarian.org>
11640
11641         * buffer.C: s/lyxconvert/lyx2lyx/
11642
11643 2002-08-02  Angus Leeming  <leeming@lyx.org>
11644
11645         * lyxlex.C: revert John's change as it breaks reading of the user
11646         preamble.
11647
11648 2002-08-02  Angus Leeming  <leeming@lyx.org>
11649
11650         * importer.C (Import):
11651         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11652         changes due to LyXView::view() now returning a boost::shared_ptr.
11653
11654 2002-08-02  John Levon  <levon@movementarian.org>
11655
11656         * lyxlex.C: small cleanup
11657
11658 2002-08-02  John Levon  <levon@movementarian.org>
11659
11660         * text2.C (status): small cleanup, no logic change
11661
11662 2002-08-01  John Levon  <levon@movementarian.org>
11663
11664         * buffer.h:
11665         * buffer.C (writeFile): don't output alerts, caller
11666           handles this
11667
11668         * bufferlist.C:
11669         * lyx_cb.C: from above
11670
11671         * lyxfunc.C: allow to open non-existent files
11672
11673 2002-07-31  John Levon  <levon@movementarian.org>
11674
11675         * lyxserver.C: don't let incidental errors get
11676           in the way (errno)
11677
11678 2002-07-30  John Levon  <levon@movementarian.org>
11679
11680         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11681
11682 2002-07-30  John Levon  <levon@movementarian.org>
11683
11684         * lyxserver.h:
11685         * lyxserver.C: remove I/O callback too
11686
11687 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11688
11689         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11690         log.
11691
11692 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11693
11694         * many files: strip,frontStrip -> trim,ltrim,rtrim
11695
11696 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11697
11698         * PrinterParams.h: remove extern containsOnly, and include
11699         support/lstrings.h instead.
11700
11701         * LaTeX.C (scanAuxFile): modify because of strip changes
11702         (deplog): ditto
11703         * buffer.C (makeLaTeXFile): ditto
11704         * bufferparams.C (writeFile): ditt
11705         * lyxfont.C (stateText): ditto
11706         * lyxserver.C (read_ready): ditto
11707         * vc-backend.C (scanMaster): ditto
11708
11709         * BufferView_pimpl.h: ws changes
11710
11711         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11712
11713 2002-07-26  André Pönitz <poenitz@gmx.net>
11714
11715         * kb_sequence.C: remove unnedred usings
11716
11717 2002-07-26  Juergen Vigna  <jug@sad.it>
11718
11719         * lyxfind.C (LyXReplace): we have to check better if the returned
11720         text is not of theLockingInset()->getLockingInset().
11721
11722 2002-07-25  Juergen Vigna  <jug@sad.it>
11723
11724         * lyxfind.C (LyXReplace): don't replace if we don't get the
11725         right LyXText.
11726
11727         * undo_funcs.C (createUndo): remove debugging code.
11728
11729 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11730
11731         * buffer.C (parseSingleLyXformat2Token): Use default placement
11732         when reading old floats.
11733
11734         * FloatList.C (FloatList): Change the default placement of figure
11735         and tables to "tbp".
11736
11737 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * MenuBackend.C: using std::max
11740
11741 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11742
11743         * MenuBackend.C (expandToc):
11744         (expandToc2): code moved from xforms menu frontend. It is now
11745         generic and TOCs are transparent to menu frontends.
11746
11747 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11748
11749         * toc.C (getTocList): protect against buf=0
11750
11751         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11752         Menu as first parameter. Now, this calls itself recursively to
11753         expand a whole tree (this will be useful for TOC handling)
11754         (expandFloatInsert): remove 'wide' version of floats
11755
11756         * MenuBackend.h (submenuname): returns the name of the submenu.
11757         (submenu): returns the submenu itself, provided it has been
11758         created by MenuBackend::expand
11759
11760 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11761
11762         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11763         insets which have noFontChange == true. (bug #172)
11764
11765 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11766
11767         * BufferView_pimpl.C: add connection objects and use them...
11768         (Pimpl): here.
11769
11770 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11771
11772         * MenuBackend.C (expandLastfiles):
11773         (expandDocuments):
11774         (expandFormats):
11775         (expandFloatListInsert):
11776         (expandFloatInsert):
11777         (expand): split expand in parts
11778
11779 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11780
11781         * lyx_gui.C: use lyx_gui::exit()
11782
11783 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * LyXAction.C: show the failing pseudo action
11786
11787 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11788
11789         * buffer.C (readFile): Run the lyxconvert script in order to read
11790         old files.
11791
11792 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * LyXAction.C:
11795         * commandtags.h:
11796         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11797
11798 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11799
11800         * LyXAction.C:
11801         * commandtags.h:
11802         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11803
11804 2002-07-22  Herbert Voss  <voss@lyx.org>
11805
11806         * lengthcommon.C:
11807         * lyxlength.[Ch]: add support for the vertical lengths
11808
11809 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11810
11811         * toc.[Ch]: std:: fixes
11812
11813 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11814
11815         * lyxrc.C: do not include lyx_main.h
11816
11817         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11818         for layouts
11819
11820         * lyxrc.C:
11821         * encoding.C:
11822         * bufferlist.C:
11823         * BufferView2.C: include "lyxlex.h"
11824
11825         * tabular.h:
11826         * bufferparams.h: do not #include "lyxlex.h"
11827
11828         * lyxtextclasslist.C (Add): remove method
11829         (classlist): renamed to classlist_
11830
11831         * paragraph_pimpl.C:
11832         * paragraph.C:
11833         * text2.C:
11834         * CutAndPaste.C:
11835         * bufferview_funcs.C:
11836         * bufferlist.C:
11837         * text.C:
11838         * LaTeXFeatures.C:
11839         * buffer.C:
11840         * toc.C (getTocList): use BufferParams::getLyXTextClass
11841
11842         * toc.C (getTocList): use InsetFloat::addToToc
11843
11844         * toc.[Ch]: new files, containing helper functions to handle table
11845         of contents
11846
11847         * lyxfunc.C (dispatch): no need to remove spaces around command
11848         given as a string
11849         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11850         first command of the sequence; it is not very clever, but I do not
11851         have a better idea, actually
11852
11853         * LyXAction.C (LookupFunc): make sure to remove space at the
11854         beginning and end of the command
11855
11856 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11857
11858         * MenuBackend.C (getMenubar): new method: return the menubar of
11859         this menu set
11860         (read): treat differently reading of menu and menubar (in
11861         particular, the menubar has no name now)
11862         (Menu::menubar): remove
11863
11864         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11865         saving is finished
11866
11867 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11868
11869         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11870         a bibitem inset in a RTL paragraph.
11871
11872 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * paragraph_pimpl.C: constify
11875
11876         * BufferView_pimpl.C:
11877         * LaTeX.C:
11878         * lyxfunc.C: fix dispatch in a nicer way
11879
11880 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11881
11882         * lyxfunc.C (dispatch):
11883         * BufferView_pimpl.C:
11884         * BufferView_pimpl.h:
11885         * BufferView.C:
11886         * BufferView.h: rename Dispatch() to dispatch()
11887
11888         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11889
11890         * lyxlayout.C (Read): honor DependsOn tag
11891
11892         * lyxlayout.[Ch] (depends_on): new method
11893
11894         * version.C.in: update lyx_docversion
11895
11896         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11897
11898         * paragraph.C (validate): remove from here...
11899         * paragraph_pimpl.C (validate): ... and move here
11900         (isTextAt): make it const
11901
11902         * buffer.C (getLists): ws cleanup
11903
11904 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11905
11906         * language.C (read): Use iso8859-1 encoding in latex_lang
11907         (this prevents LyX from crashing when using iso10646-1 encoding).
11908
11909 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11910
11911         * text2.C (toggleInset): if cursor is inside an inset, close the
11912         inset and leave cursor _after_ it
11913
11914 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * lyxfunc.C: move minibuffer completion handling out of here
11917
11918 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11919
11920         * BufferView_pimpl.C:
11921         * LaTeX.C: fix dispatch calls
11922
11923 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11924
11925         * text.C (drawChars): Fix Arabic text rendering.
11926
11927 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * LyXAction.C:
11930         * commandtags.h:
11931         * lyxfunc.C: remove message-push/pop
11932
11933         * lyxserver.C:
11934         * lyxfunc.h:
11935         * lyxfunc.C: rationalise some code by removing verboseDispatch
11936           in favour of a bool argument to dispatch()
11937
11938 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11939
11940         * lyx_main.C (init): make sure to read symlinks as absolute paths
11941
11942 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * lyxfunc.h:
11945         * lyxfunc.C: no need for commandshortcut to be a member
11946
11947 2002-07-15  André Pönitz <poenitz@gmx.net>
11948
11949         * converter.C: add support for $$s (scripts from lib/scripts dir)
11950         * lyx_main.C: white space
11951
11952 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * bufferlist.C:
11955         * lyxrc.h:
11956         * lyxrc.C: remove second exit confirmation
11957
11958 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11959
11960         * BufferView.h:
11961         * BufferView.C:
11962         * BufferView2.C:
11963         * BufferView_pimpl.h:
11964         * BufferView_pimpl.C:
11965         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11966
11967 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11968
11969         * MenuBackend.C (expand): add numeric shortcuts to document menu
11970
11971         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11972
11973 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11974
11975         * lyxfont.C (setLyXFamily):
11976         (setLyXSeries):
11977         (setLyXShape):
11978         (setLyXSize):
11979         (setLyXMisc):
11980         (lyxRead):
11981         * debug.C (value):
11982         * buffer.C (asciiParagraph): use ascii_lowercase
11983
11984 2002-07-15  Mike Fabian  <mfabian@suse.de>
11985
11986         * lyxlex_pimpl.C (search_kw):
11987         * lyxlex.C (getLongString):
11988         * converter.h (operator<):
11989         * converter.C (operator<):
11990         * buffer.C (parseSingleLyXformat2Token):
11991         (asciiParagraph):
11992         * ToolbarDefaults.C (read):
11993         * MenuBackend.C (checkShortcuts):
11994         (read):
11995         * LColor.C (getFromGUIName):
11996         (getFromLyXName): use the compare_ascii_no_case instead of
11997         compare_no_case, because in turkish, 'i' is not the lowercase
11998         version of 'I', and thus turkish locale breaks parsing of tags.
11999
12000 2002-07-16  Angus Leeming  <leeming@lyx.org>
12001
12002         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12003         now takes a Buffer const & argument.
12004
12005 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * BufferView.C (resize): check there's a buffer to resize
12008
12009 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * lyxfunc.C: remove dead code
12012
12013         * lyxserver.h:
12014         * lyxserver.C: use lyx_guii::set_read_callback
12015
12016 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12017
12018         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12019         an inset in a RTL paragraph.
12020
12021 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * lyxfunc.C: repaint after a font size update
12024
12025 2002-07-15  André Pönitz <poenitz@gmx.net>
12026
12027         * lyxlength.C: inBP should be able to return negative values
12028
12029 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * lyxfunc.C: use lyx_gui::update_fonts()
12032
12033 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * lyxfunc.C: use lyx_gui::update_color()
12036
12037 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * bufferlist.C:
12040         * lyxfunc.h:
12041         * lyxfunc.C:
12042         * lyxrc.h:
12043         * lyxrc.C: remove file->new asks for name option, and let
12044           buffer-new take an argument
12045
12046 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * BufferView_pimpl.C: remove unneeded extra repaint()
12049
12050 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12051
12052         * LyXAction.C: allow command-sequence with NoBuffer
12053
12054         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12055
12056 2002-07-10  Angus Leeming  <leeming@lyx.org>
12057
12058         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12059
12060 2002-07-09  Angus Leeming  <leeming@lyx.org>
12061
12062         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12063
12064 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * lengthcommon.h: whitespace
12067
12068         * lyxfunc.C: update scrollbar after goto paragraph
12069
12070         * lyxtext.h: factor out page break drawing, and fix it so
12071           page break/added space paints as selected nicely
12072
12073 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12074
12075         * BufferView_pimpl.C: add FIXMEs, clean up a little
12076
12077 2002-07-09  André Pönitz <poenitz@gmx.net>
12078
12079         * lyxfont.[Ch]: support for wasy symbols
12080
12081 2002-07-08  André Pönitz <poenitz@gmx.net>
12082
12083         * BufferView_pimpl.C: apply John's patch for #93.
12084
12085 2002-07-05  Angus Leeming  <leeming@lyx.org>
12086
12087         * BufferView_pimpl.C (buffer): generate previews if desired.
12088
12089         * LColor.h: add "preview" to the color enum.
12090
12091         * LColor.C (LColor): add a corresponding entry to the items array.
12092
12093         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12094         with this buffer.
12095
12096 2002-07-05  Angus Leeming  <leeming@lyx.org>
12097
12098         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12099         The body of the code is now in the method that is passed an ostream &
12100         rather than a file name.
12101         Pass an additional only_preamble parameter, useful for the forthcoming
12102         preview stuff.
12103
12104 2002-07-03  André Pönitz <poenitz@gmx.net>
12105
12106         * lyxfunc.C: simplify getStatus() a bit for math stuff
12107
12108 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12109
12110         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12111
12112 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12113
12114         * text.C (changeRegionCase): do not change case of all the
12115         document when region ends at paragraph end (bug #461)
12116
12117 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12118
12119         * paragraph.C (startTeXParParams):
12120         (endTeXParParams): add \protect when necessary
12121
12122 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12123
12124         * BufferView_pimpl.C (workAreaExpose): remove warning
12125
12126 2002-06-27  Angus Leeming  <leeming@lyx.org>
12127
12128         * Makefile.am: add lyxlayout_ptr_fwd.h.
12129
12130 2002-06-26  André Pönitz <poenitz@gmx.net>
12131
12132         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12133
12134 2002-06-25  Angus Leeming  <leeming@lyx.org>
12135
12136         * lyxfunc.C (dispatch): Comment out the call to
12137         grfx::GCache::changeDisplay. The method no longer exists now that the
12138         pixmap generation part of the graphics loader has been moved into
12139         InsetGraphics.
12140
12141 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12142
12143         * text2.C: layout as layout
12144
12145         * text.C: layout as layout
12146
12147         * tabular.C (OldFormatRead): layout as layout
12148
12149         * paragraph_pimpl.C (TeXDeeper): layout as layout
12150         (realizeFont): layout as layout
12151
12152         * paragraph.C (writeFile): layout as layout
12153         (validate): layout as layout
12154         (getFont): layout as layout
12155         (getLabelFont): layout as layout
12156         (getLayoutFont): layout as layout
12157         (breakParagraph): layout as layout
12158         (stripLeadingSpaces): layout as layout
12159         (getEndLabel): layout as layout
12160         (getMaxDepthAfter): layout as layout
12161         (applyLayout): layout as layout
12162         (TeXOnePar): layout as layout
12163         (simpleTeXOnePar): layout as layout
12164         (TeXEnvironment): layout as layout
12165         (layout): layout as layout
12166         (layout): layout as layout
12167
12168         * lyxtextclass.C (compare_name): new functor to work with
12169         shared_ptr, layout as layout
12170         (Read): layout as layout
12171         (hasLayout): layout as layout
12172         (operator): layout as layout
12173         (delete_layout): layout as layout
12174         (defaultLayout): layout as layout
12175
12176         * lyxlayout_ptr_fwd.h: new file
12177
12178         * lyxlayout.C (Read): layout as layout
12179
12180         * lyx_cb.C (MenuInsertLabel): layout as layout
12181
12182         * bufferlist.C (newFile): layout as layout
12183
12184         * buffer.C (readLyXformat2): layout as layout
12185         (parseSingleLyXformat2Token): layout as layout
12186         (insertStringAsLines): layout as layout
12187         (asciiParagraph): layout as layout
12188         (latexParagraphs): layout as layout
12189         (makeLinuxDocFile): layout as layout
12190         (simpleLinuxDocOnePar): layout as layout
12191         (makeDocBookFile): layout as layout
12192         (simpleDocBookOnePar): layout as layout
12193         (getLists): layout as layout
12194
12195         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12196
12197         * CutAndPaste.C (cutSelection): layout as layout
12198         (pasteSelection): layout as layout
12199         (SwitchLayoutsBetweenClasses): layout as layout
12200
12201         * BufferView_pimpl.C (Dispatch): layout as layout
12202         (smartQuote): layout as layout
12203
12204         * BufferView2.C (unlockInset): layout as layout
12205
12206 2002-06-24  André Pönitz <poenitz@gmx.net>
12207
12208         * lyxfunc.C: fix #487
12209
12210 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12211
12212         * lyxrc.h:
12213         * lyxrc.C:
12214         * lyxfunc.C: remove display_shortcuts, show_banner
12215
12216 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * Buffer_pimpl.C: oops, update on resize
12219
12220 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * buffer.C:
12223         * converter.C:
12224         * exporter.C:
12225         * lyxfunc.C:
12226         * BufferView.h:
12227         * BufferView.C: use repaint()
12228
12229         * BufferView_pimpl.h:
12230         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12231           as it's a clearer description. Remove superfluous
12232           redraws.
12233
12234 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * text.C: fix bug 488. Not ideal, but getting
12237           getWord() to work properly for the insets that
12238           matter is more difficult ...
12239
12240 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * BufferView_pimpl.C:
12243         * LyXAction.C:
12244         * commandtags.h:
12245         * lyxfunc.C: remove the six million index lyxfuncs to just
12246           one, and DTRT (bug 458)
12247
12248 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12249
12250         * BufferView.h:
12251         * BufferView.C:
12252         * BufferView_pimpl.h:
12253         * BufferView_pimpl.C: clean up resize() stuff,
12254           and unnecessary updateScreen()s
12255
12256 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * BufferView.h:
12259         * BufferView.C:
12260         * BufferView_pimpl.h:
12261         * BufferView_pimpl.C:
12262         * lyxfind.h:
12263         * lyxfind.C:
12264         * minibuffer.C: remove focus management of workarea,
12265           not needed. Use screen's greyOut()
12266
12267 2002-06-17  Herbert Voss  <voss@lyx.org>
12268
12269         * converter.C: (convert) do not post a message, when converting
12270         fails, let the calling function decide what to do in this case
12271
12272 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * lyxfunc.C: tidy up a little
12275
12276 2002-06-16    <alstrup@diku.dk>
12277
12278         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12279         Got rid of FORMS_H_LOCATION include. Now we are
12280         GUII.
12281
12282 2002-06-15  LyX Development team  <lyx@rilke>
12283
12284         * buffer.[Ch] (sgmlOpenTag):
12285         (sgmlCloseTag): Added support for avoiding pernicious mixed
12286         content. Return number of lines written.
12287
12288         (makeLinuxDocFile):
12289         (makeDocBookFile): Fixed calls to sgml*Tag.
12290         Simple white space clean.
12291
12292         (simpleDocBookOnePar): Simple white space clean.
12293
12294         * tabular.[Ch] (docBook): Renamed to docbook and got another
12295         argument to related with the pernicious mixed content.
12296
12297         (docbookRow): Fixed calls for docbook inset method.
12298
12299 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12300
12301         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12302         so it's X11 independent.
12303
12304         * kb*.[Ch]: ditto.
12305
12306         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12307
12308 2002-06-15  Lyx Development team  <lyx@electronia>
12309
12310         * intl.h: Renamed getTrans to getTransManager.
12311
12312 2002-06-14  Angus Leeming  <leeming@lyx.org>
12313
12314         * Makefile.am: nuke forgotten stl_string_fwd.h.
12315
12316 2002-06-12  Angus Leeming  <leeming@lyx.org>
12317
12318         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12319
12320 2002-06-13  Angus Leeming  <leeming@lyx.org>
12321
12322         * LaTeX.C:
12323         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12324
12325 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12326
12327         * kbmap.C (getiso): add support for cyrillic and greek
12328
12329 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12330
12331         * BufferView.h:
12332         * BufferView.C:
12333         * BufferView_pimpl.h:
12334         * BufferView_pimpl.C: move bogus scrolling logic
12335           to xforms
12336
12337 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * lyxfunc.C:
12340         * BufferView_pimpl.C: view->resize() change
12341
12342 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12343
12344         * BufferView_pimpl.C: topCursorVisible
12345           prototype change
12346
12347 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12348
12349         * Makefile.am:
12350         * lyx_gui.h:
12351         * lyx_gui.C: move to frontends/
12352
12353         * main.C:
12354         * lyx_main.h:
12355         * lyx_main.C: changes from above
12356
12357 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12358
12359         * intl.C:
12360         * intl.h:
12361         * kbmap.C:
12362         * kbsequence.C:
12363         * lyx_cb.C:
12364         * lyx_main.C: minor tidy
12365
12366 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12367
12368         * BufferView_pimpl.h:
12369         * BufferView_pimpl.C:
12370         * BufferView.h:
12371         * BufferView.C: make painter() const,
12372           remove dead code
12373
12374         * BufferView2.C: use screen() accessor
12375
12376         * lyx_main.h:
12377         * lyx_main.C: some minor cleanup
12378
12379 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12380
12381         * BufferView_pimpl.h:
12382         * BufferView_pimpl.C: remove enter/leaveView,
12383           use workHeight()
12384
12385 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12386
12387         * BufferView.h:
12388         * BufferView.C:
12389         * BufferView2.C:
12390         * BufferView_pimpl.h:
12391         * BufferView_pimpl.C: only construct screen once,
12392           rename
12393
12394         * lyxrc.C: remove pointless comment
12395
12396 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12397
12398         * BufferView.h:
12399         * BufferView.C: remove active() and belowMouse()
12400
12401         * BufferView_pimpl.h:
12402         * BufferView_pimpl.C: use workarea() not workarea_,
12403           and make it use a scoped_ptr instead
12404
12405 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * lyx_gui.C: add debug message on BadWindow
12408
12409 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * sp_spell.C: fdopen is not part of the C++ standard.
12412
12413         * paragraph.C (InsetIterator): use >= instead of ==
12414
12415 2002-06-07  Angus Leeming  <leeming@lyx.org>
12416
12417         Fixes needed to compile with Compaq cxx 6.5.
12418         * BufferView_pimpl.C:
12419         * DepTable.C:
12420         * buffer.C:
12421         * converter.C:
12422         * encoding.C:
12423         * lyx_gui.C:
12424         * lyx_main.C:
12425         * lyxtextclasslist.C:
12426         * minibuffer.C:
12427         * sp_spell.C:
12428         * tabular_funcs.C:
12429         * vc-backend.C:
12430         all c-library variables have been moved into namespace std. Wrap
12431         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12432
12433         * lyxlength.C:
12434         * tabular-old.C:
12435         * tabular.C:
12436         Add a using std::abs declaration.
12437
12438         * kbmap.h (modifier_pair):
12439         * paragraph.h (InsetTable, InsetList):
12440         * lyxfont.h (FontBits):
12441         type definition made public.
12442
12443         * bufferlist.C (emergencyWriteAll): the compiler complains that
12444         there is more than one possible lyx::class_fun template to choose from.
12445         I re-named the void specialisation as lyx::void_class_fun.
12446
12447         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12448
12449         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12450         the compiler is is unable to find tostr in write_attribute.
12451
12452 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12453
12454         * buffer.C (sgmlError): hide #warning
12455
12456 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12457
12458         * xtl/*: get rid of xtl, which is not in use anyway
12459
12460         * LyXAction.C (init):
12461         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12462         were unimplemented xtl experimentation
12463
12464 2002-06-04  André Pönitz <poenitz@gmx.net>
12465
12466         * lyxfunc.C: disable array operation on simple formulae
12467
12468 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12469
12470         * converter.C: constify a bit
12471
12472 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12473
12474         * lyx_gui.C: check xforms version correctly
12475
12476 2002-04-30  Herbert Voss  <voss@lyx.org>
12477
12478         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12479         "keep" option
12480
12481 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12482
12483         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12484           attempt to register it with a VCS)
12485
12486 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12487
12488         * lyx_main.C (init): honor variables LYX_DIR_13x and
12489         LYX_USERDIR_13x
12490
12491 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12492
12493         * buffer.h:
12494         * buffer.C:
12495         * lyx_main.C: fix a crash on bad command line,
12496           and give a useful exit status on error
12497
12498         * lyxfunc.C (doImport): allow -i lyx to work
12499
12500 2002-03-30  André Pönitz <poenitz@gmx.net>
12501
12502         * lyxfunc.C: mathed font changes
12503
12504 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12505
12506         * LaTeX.C:
12507         * importer.h:
12508         * importer.C:
12509         * lyx_sty.h:
12510         * lyx_sty.C:
12511         * lyxlex.C:
12512         * lyxrow.h:
12513         * lyxtext.h:
12514         * paragraph.h:
12515         * paragraph.C:
12516         * texrow.h:
12517         * texrow.C:
12518         * text.C:
12519         * trans_mgr.h: srcdocs, and some minor cleanups
12520
12521 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12522
12523         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12524         call getFont all the time)
12525
12526 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12527
12528         * switch from SigC signals to boost::signals
12529
12530 2002-05-29  André Pönitz <poenitz@gmx.net>
12531
12532         * paragraph_pimpl.C (getChar): don't call size() too often...
12533
12534 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12535
12536         * paragraph_pimpl.C (insertChar): do not try to update tables when
12537         appending (pos == size())
12538
12539         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12540         in order to reduce drastically the number of comparisons needed to
12541         parse a large document
12542
12543 2002-05-29  André Pönitz <poenitz@gmx.net>
12544
12545         * text.C:
12546         * text2.C:
12547         * lyxtextclass.C:
12548         * sp_pspell.h:
12549         * textclasslist.[Ch]:
12550         * sp_ispell.h: whitespace change
12551
12552 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12553
12554         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12555         lyxaction directly now.
12556
12557 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12558
12559         * trans.C:
12560         * lyxfont.C:
12561         * lyxvc.C: remove unused headers
12562
12563 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12564
12565         * Makefile.am:
12566         * buffer.h:
12567         * undostack.h:
12568         * undostack.C:
12569         * undo_funcs.h:
12570         * undo_funcs.C: some cleanups. Use shared_ptr
12571           and a template for the undo stacks.
12572
12573 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12574
12575         * BufferView_pimpl.h:
12576         * BufferView_pimpl.C:
12577         * kbmap.h:
12578         * kbmap.C:
12579         * kbsequence.h:
12580         * kbsequence.C:
12581         * lyxfunc.h:
12582         * lyxfunc.C:
12583         * text2.C: use key_state/mouse_state
12584
12585 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12586
12587         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12588         and LSubstring
12589
12590         * chset.C: change include order
12591         (loadFile): use boost regex and get rid of LRegex and LSubstring
12592
12593         * Makefile.am (BOOST_LIBS): new variable
12594         (lyx_LDADD): use it
12595
12596         * LaTeX.C: change include order.
12597         (scanAuxFile): use boost regex and get rid of LRegex and
12598         LSubstring
12599         (deplog): ditto
12600
12601 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12602
12603         * ColorHandler.h:
12604         * ColorHandler.C:
12605         * FontInfo.h:
12606         * FontInfo.C: moved to frontends/xforms/
12607
12608         * FontLoader.h:
12609         * FontLoader.C: moved into frontends for GUIIzation
12610
12611         * Makefile.am:
12612         * lyx_gui.C:
12613         * lyxfont.C:
12614         * lyxfunc.C: changes from above
12615
12616 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * LColor.C: remove spurious X include
12619
12620         * BufferView_pimpl.C:
12621         * Makefile.am:
12622         * font.h:
12623         * font.C:
12624         * text.C:
12625         * text2.C: move font metrics to frontends/
12626
12627 2002-05-24  Juergen Vigna  <jug@sad.it>
12628
12629         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12630         setting the undo_cursor.
12631
12632         * ParagraphParameters.h: include local includes first.
12633
12634 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * BufferView_pimpl.C:
12637         * BufferView_pimpl.h:
12638         * Makefile.am:
12639         * WorkArea.h:
12640         * WorkArea.C:
12641         * screen.C: move WorkArea into frontends/
12642
12643         * lyxscreen.h:
12644         * screen.C:
12645         * text.C:
12646         * BufferView.C:
12647         * BufferView2.C: move LyXScreen into frontends/
12648
12649         * lyxlookup.h:
12650         * lyxlookup.C:
12651         * lyx_gui.C: move lyxlookup into frontends/xforms/
12652
12653 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12654
12655         * BufferView2.C:
12656         * BufferView_pimpl.C:
12657         * FontLoader.C:
12658         * LyXView.h:
12659         * LyXView.C:
12660         * Makefile.am:
12661         * WorkArea.C:
12662         * XFormsView.h:
12663         * XFormsView.C:
12664         * buffer.C:
12665         * bufferlist.C:
12666         * bufferview_funcs.C:
12667         * converter.C:
12668         * importer.C:
12669         * lyx_cb.C:
12670         * lyx_gui.C:
12671         * lyx_main.C:
12672         * lyx_find.C:
12673         * lyxfunc.C:
12674         * lyxvc.C:
12675         * minibuffer.C:
12676         * text.C:
12677         * text2.C:
12678         * trans.C:
12679         * vc-backend.C: move LyX/XFormsView into frontends/
12680
12681 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12682
12683         * Makefile.am:
12684         * PainterBase.C:
12685         * PainterBase.h:
12686         * Painter.C:
12687         * Painter.h:
12688         * WorkArea.C:
12689         * WorkArea.h:
12690         * screen.C:
12691         * tabular.C:
12692         * text.C:
12693         * text2.C: move Painter to frontends/
12694
12695 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12696
12697         * buffer.C: comment out some some code that depend upon lyx_format
12698         < 220
12699
12700         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12701         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12702
12703         * buffer.h (NO_COMPABILITY): turn off compability
12704
12705         * ColorHandler.C: include scoped_array.hpp
12706
12707         * font.C: Use more specific smart_ptr header.
12708         * Painter.C: ditto
12709         * gettext.C: ditto
12710         * ShareContainer.h: ditto
12711         * lyx_main.h: ditto
12712         * kbmap.h: ditto
12713         * FontInfo.h: ditto
12714         * BufferView_pimpl.h: ditto
12715         * ColorHandler.h: ditto
12716
12717         * kbmap.C (defkey): change call to shared_ptr::reset
12718
12719 2002-05-21  Juergen Vigna  <jug@sad.it>
12720
12721         * buffer.C (insertErtContents): fix to insert ert asis if it is
12722         non empty. Skip it completely if it contains only whitespaces.
12723
12724 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12725
12726         * BufferView_pimpl.C:
12727         * BufferView2.C: clear selection on paste (bug 393)
12728
12729 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12730
12731         * DepTable.C: include ctime
12732
12733 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12734
12735         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12736
12737 2002-05-14  Juergen Vigna  <jug@sad.it>
12738
12739         * text.C (breakParagraph): fixed function to honor the keepempty
12740         layout in the right maner and also to permit the right breaking
12741         algorithm on empty or non empyt keepempty paragraphs.
12742
12743         * paragraph.C (breakParagraph): we have to check also if the par
12744         is really empty (!size()) for isempty otherwise we do the wrong
12745         paragraph break.
12746
12747 2002-05-10  Juergen Vigna  <jug@sad.it>
12748
12749         * buffer.[Ch] : The following are only changes to the ert
12750         compatibility read reading old LaTeX layout and font stuff and
12751         convert it to ERTInsets.
12752
12753         * buffer.h: added isErtInset().
12754
12755         * buffer.C (struct ErtComp): add a fromlayout bool to check
12756         if we're inside a LaTeX layout.
12757         (isErtInset): new helper function.
12758         (insertErtContents): look for other ert insets before this one
12759         and insert the contents there, so that we don't have subsequent
12760         ERT insets with nothing between them. This way we create only one
12761         inset with multiple paragraphs. Also check if we don't insert only
12762         spaces ' ' as they are ignored anyway afterwards in the .tex file
12763         so if we have only spaces we will ignore this latex part in the
12764         new file.
12765         (parseSingleLyXformat2Token \\layout): better compatibility when
12766         reading layout-latex stuff.
12767         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12768         language tag.
12769         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12770         stuff after reading the inset only get the information back from
12771         the stack.
12772
12773 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12774
12775         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12776
12777         * LaTeXFeatures.C (getBabelOptions): New method.
12778
12779 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12780
12781         * BufferView_pimpl.C (Dispatch): work around missing argument for
12782         'layout'
12783
12784 2002-05-08  Juergen Vigna  <jug@sad.it>
12785
12786         * text.C (leftMargin): handle paragraph leftindent.
12787
12788         * paragraph.C (writeFile): write the new \\leftindent tag.
12789         (validate): handle leftindent code.
12790         (TeXEnvironment): handle paragraphleftindent code again.
12791
12792         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12793
12794         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12795         for paragrap_extra indent code and new token \\leftindent.
12796         (latexParagraphs): handle the leftindent as environment.
12797
12798         * ParameterStruct.h: added leftindent support.
12799
12800         * ParagraphParameters.C (leftIndent): added support functions for
12801         the paragraph left indent.
12802
12803         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12804         more appropriate.
12805
12806 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12807
12808         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12809         inside insetERT.
12810
12811         * text.C (computeBidiTables): No bidi in insetERT.
12812
12813         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12814         in RTL documents.
12815
12816 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12817
12818         * version.C.in: pre 5
12819
12820 2002-05-02  José Matos  <jamatos@fep.up.pt>
12821         * buffer.C (makeDocBookFile): white space changes, add newline to
12822         command styles.
12823         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12824
12825         * tabular.C (docBook): fix typo.
12826
12827 2002-05-03  Juergen Vigna  <jug@sad.it>
12828
12829         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12830         change in LyXText as we can not be sure it was not freed.
12831         (drawOneRow): remove unused code.
12832
12833         * text.C (drawInset): redo the calculation of the need_break_row as
12834         it could have a row which was already freed.
12835         (draw): look at the return value of drawInset and return false if
12836         it also returned false.
12837         (paintRowText): look at the return value of draw and return false if
12838         it also returned false.
12839
12840         * lyxtext.h: added bool return type to drawInset() and draw() so that
12841         if we have a change in the row so that the rowbreak has to be redone
12842         we abort drawing as it will be called again.
12843
12844 2002-05-02  Juergen Vigna  <jug@sad.it>
12845
12846         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12847         a change in the maintext also if we're inside an inset.
12848         (Dispatch): set the cursor again after a break line and after the
12849         screen has been updated as it could be we're in a different row.
12850
12851         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12852         to set the cursor behind the pargraph with > size().
12853         (setCursor): check also for the same paragraph when checking where
12854         to put the cursor if we have a NFR inset.
12855
12856         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12857         parts of layout read further up as it still was in the wrong
12858         position.
12859
12860 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12861
12862         * screen.C (drawFromTo): change sine fullRebreak always return
12863         true.
12864
12865         * buffer.C (parseSingleLyXformat2Token): reindent some
12866
12867         * BufferView_pimpl.C (update): change since fullRebreak always
12868         return true.
12869         (Dispatch): git rid of the last hardcoded "Standard"s.
12870
12871 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * text2.[Ch] (fullRebreak): make it return void now that we always
12874         returned true.
12875
12876 2002-04-30  Juergen Vigna  <jug@sad.it>
12877
12878         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12879         ert compatibility check for "latex" layout.
12880
12881 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12882
12883         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12884         minipages: use col% instead of p%, and also use the current font.
12885         (makeLaTeXFile): Fix use babel condition.
12886         (parseSingleLyXformat2Token): Correct font when reading old floats.
12887
12888 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12889
12890         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12891         inserting list of floats.
12892
12893 2002-04-25  Herbert Voss  <voss@lyx.org>
12894
12895         * MenuBackend.C (expand): don't add the graphics extensions to the
12896         export menu
12897
12898 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12899
12900         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12901         non-existing layout, do not complain if it was the default layout
12902         of the original class (bug #342)
12903
12904 2002-04-24  Juergen Vigna  <jug@sad.it>
12905
12906         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12907         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12908
12909 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12910
12911         * buffer.C (getBibkeyList): If using \bibliography, return the
12912         option field with the reference itself. Enables us to provide natbib
12913         support when using \bibliography.
12914
12915 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12916
12917         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12918
12919         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12920         natbib is provided by the LaTeX class.
12921
12922 2002-04-23  Juergen Vigna  <jug@sad.it>
12923
12924         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12925         Wakeup functions.
12926
12927         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12928
12929 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12930
12931         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12932
12933         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12934         ensuremath around textordmasculine, textordfeminine and
12935         textdegree.
12936
12937 2002-04-19  Juergen Vigna  <jug@sad.it>
12938
12939         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12940         reinitializing the buffer otherwise row-dimensions may be wrong.
12941         (update): reset also the selection cursors if they do exits otherwise
12942         their x/y positions may be wrong.
12943
12944         * text2.C (cursorDown): don't enter the inset if we came from a row
12945         above and are one row over the inset.
12946
12947         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12948         really leaving an inset.
12949
12950 2002-04-18  Juergen Vigna  <jug@sad.it>
12951
12952         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12953         of the selected paragraph does not have the selected layout also if
12954         the last one had!
12955
12956         * text2.C (setLayout): fixed bug which did not change last selected
12957         paragraph.
12958
12959         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12960         changed the read and substituted \\end_float with \\end_inset!
12961
12962         * BufferView_pimpl.C (cursorPrevious):
12963         (cursorNext): fixed to make it work with rows heigher than the work
12964         area without moving the cursor only the draw of the row.
12965         (workAreaMotionNotify): fix jumping over high rows.
12966
12967 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12968
12969         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12970         Ressler.
12971
12972 2002-04-16  Juergen Vigna  <jug@sad.it>
12973
12974         * text2.C (setCursor): set also the irow().
12975         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12976         (cursorUp):
12977         (cursorDown): support for locking an inset if the x_fix value goes
12978         inside it. That way I can transverse insets too with cursor up/down.
12979
12980         * lyxrow.h: added irow helper function same as other (i) functions.
12981
12982         * BufferView_pimpl.C (cursorPrevious):
12983         (cursorNext): fixed for insets!
12984
12985 2002-04-15  Juergen Vigna  <jug@sad.it>
12986
12987         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12988         position otherwise it is wrong in some cases.
12989
12990         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12991         inside the inset before the call.
12992
12993 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12994
12995         * buffer.[Ch] (getBibkeyList): make it const.
12996
12997 2002-04-12  Juergen Vigna  <jug@sad.it>
12998
12999         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13000
13001         * text2.C (getCursorX): new helper function
13002         (setCursor): compute also ix_
13003         (setCursorFromCoordinates): set also ix.
13004
13005         * lyxcursor.h: added ix_ and helper functions.
13006
13007         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13008
13009         * buffer.C (insertStringAsLines): dont break paragraph if the this
13010         paragraph is inside an inset which does not permit it!
13011
13012         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13013         also with no chars on this paragraph.
13014         (paintRowText): only paint stuff if it's inside the workarea!
13015
13016         * paragraph.C (breakParagraph): honor keepempty flag and break the
13017         paragraph always below not above.
13018
13019         * BufferView2.C (unlockInset): update the paragraph layout on inset
13020         unlock as we changed paragraph in such a case.
13021
13022         * lyxfind.C (LyXFind): clear the former selection if not found!
13023
13024         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13025         again called in insertChar().
13026
13027         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13028         an inset which uses the whole row!
13029         (rightMargin): ditto.
13030         (insertChar): force a rebreak if we inserted an inset!
13031
13032 2002-03-28  Herbert Voss  <voss@lyx.org>
13033
13034         * lyxlength.[Ch]: add inBP() to get the right PS-point
13035         units (BigPoint). With inPixels we have rounding errors
13036
13037 2002-04-11  Juergen Vigna  <jug@sad.it>
13038
13039         * text2.C (setCursorFromCoordinates): set iy to the right value.
13040         (setCursor): add check if row->previous exists!
13041
13042         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13043         an old float_type as this was the case in the old code!
13044
13045         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13046
13047         * BufferView2.C (showLockedInsetCursor): use iy
13048         (fitLockedInsetCursor): ditto
13049
13050         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13051         locked insets as there we have the right value now.
13052
13053         * lyxcursor.C: added iy_ variable and iy functions to set to the
13054         baseline of cursor-y of the locked inset.
13055
13056         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13057         (setCursor): fixed for insets which need a full row.
13058
13059         * text.C (rowLastPrintable): don't ignore the last space when before
13060         an inset which needs a full row.
13061         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13062         as last character of a row when before a inset which needs a full row.
13063
13064 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13065
13066         * version.C.in: update date
13067
13068         * text2.C (fullRebreak): try to always return true and see what
13069         happens...
13070
13071 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13072
13073         * MenuBackend.C (expand): use Floating::listName
13074
13075         * FloatList.C (FloatList): add listName argument to the built-in
13076         floats
13077
13078         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13079         text associated with the float.
13080
13081 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13082
13083         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13084
13085 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * ShareContainer.h: add a couple of missing typenames.
13088
13089 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13090
13091         * lyxrc.C (getDescription): use _() correctly rather than N_().
13092
13093 2002-03-28  Herbert Voss  <voss@lyx.org>
13094
13095         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13096         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13097
13098 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13099
13100         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13101         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13102
13103 2002-03-29  Juergen Vigna  <jug@sad.it>
13104
13105         * lyxfunc.C (dispatch): add a missing fitCursor call.
13106
13107         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13108         it was scrolled by a cursor move, so return the bool status.
13109
13110         * BufferView.C (fitCursor): return the bool flag also to the outside
13111         world as this is needed.
13112
13113         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13114
13115         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13116         call the edit() as it is not needed (and wrong) IMO.
13117         (workAreaButtonPress): set the screen_first variable before evt.
13118         unlock the inset as this may change screen_first and then we have
13119         a wrong y position for the click!
13120
13121 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13122
13123         * MenuBackend.C (expand): another translation that I missed
13124
13125 2002-03-28  Juergen Vigna  <jug@sad.it>
13126
13127         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13128
13129         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13130
13131 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13132
13133         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13134
13135         * MenuBackend.C (expand): fix export/view/update when there is no
13136         document open.
13137
13138 2002-03-27  Herbert Voss  <voss@lyx.org>
13139
13140         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13141         and text%
13142
13143 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13144
13145         * bufferview_funcs.C (currentState): only show paragraph number
13146         for is DEVEL_VERSION is set.
13147
13148         * lyxfunc.C (dispatch): put warning in INFO channel
13149
13150         * MenuBackend.C (expand): translate the name of floats
13151
13152         * FloatList.C (FloatList): mark the float names for translation
13153
13154         * converter.C (convert): use LibScriptSearch
13155
13156 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13157
13158         * MenuBackend.C (defaults): fix default menu (we might as well get
13159         rid of it...)
13160
13161 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13162
13163         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13164         directory.
13165
13166 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * lyxvc.C: reorder includes.
13169
13170 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13171
13172         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13173           properly
13174
13175 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13176
13177         * CutAndPaste.C: change layouts earlier on paste
13178           to avoid crashing when calling getFont()
13179
13180 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13181
13182         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13183         irritating #error.
13184
13185 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13186
13187         * WorkArea.C: remove 'Pending' debug message.
13188
13189         * most files: ws cleanup
13190
13191         * buffer.[Ch]: ws changes
13192
13193         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13194
13195 2002-03-21  Juergen Vigna  <jug@sad.it>
13196
13197         * tabular.C (SetMultiColumn): collapse also the contents of the
13198         cells and set the last border right. Added a Buffer const * param.
13199
13200 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13203         linking or not.
13204
13205 2002-03-19  Juergen Vigna  <jug@sad.it>
13206
13207         * text2.C (clearSelection): reset also xsel_cache.
13208
13209         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13210         where it needs to be called (John tells us to do so too :)
13211         (selectionLost): reset sel_cache.
13212
13213         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13214
13215 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13216
13217         * text2.C (setCursorIntern): put debuging code in INSETS channel
13218
13219 2002-03-19  André Pönitz <poenitz@gmx.net>
13220
13221         * lyxfunc.C: tiny whitespace change
13222
13223 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13224
13225         * ToolbarDefaults.C (init):
13226         * LyXAction.C (init):
13227         * commandtags.h:
13228         * BufferView_pimpl.C (Dispatch):
13229         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13230
13231 2002-03-19  Allan Rae  <rae@lyx.org>
13232
13233         * exporter.C (Export): removeAutoInsets before doing anything else.
13234         While I've just introduced a dependency on BufferView this really is
13235         the best place to clean the buffer otherwise you need to cleanup in
13236         a dozen places before calling export or cleanup in a dozen functions
13237         that export calls.
13238
13239         * converter.C (runLaTeX):
13240         (scanLog): Better handling of removeAutoInsets and screen updates.
13241
13242         * lyxfunc.C (dispatch): small whitespace changes
13243
13244 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * WorkArea.C (C_WorkAreaEvent): return a value.
13247         (event_cb): return 1 if we handled the event, 0 otherwise.
13248
13249         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13250
13251 2002-03-18  Juergen Vigna  <jug@sad.it>
13252
13253         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13254         (GetAdditionalWidth): ditto.
13255         (RightLine): ditto.
13256         (LeftLine): ditto.
13257
13258         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13259         inset if we're there actually (probably not used right now but this
13260         is the direction to go for unifying code).
13261         (paste): disable code to clear the selection.
13262
13263         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13264         inside an InsetText and move the check further up as it is in the
13265         wrong place.
13266
13267         * text2.C (pasteSelection): set a selection over the pasted text.
13268
13269 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13270
13271         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13272         and libgraphics to build on Cygwin.
13273
13274 2002-03-15  Juergen Vigna  <jug@sad.it>
13275
13276         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13277         inserting an Inset into the paragraph. I know this is not the best
13278         fix but we already use current_view in CutAndPaste so we will remove
13279         all of it's using at the same time.
13280
13281         * buffer.C (sgmlError): deactivated function till it is rewritten in
13282         the right mode, now it can create problems.
13283
13284         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13285         before accessing it.
13286
13287 2002-03-14  Juergen Vigna  <jug@sad.it>
13288
13289         * undo_funcs.C (textHandleUndo): do the right thing when updating
13290         the inset after the undo/redo.
13291
13292         * text2.C (setCursor): just some testcode for #44 not ready yet.
13293
13294         * undo_funcs.C (textHandleUndo): set the next() and previous()
13295         pointers of the paragraph to 0 before deleting otherwise we have
13296         problems with the Paragraph::[destructor].
13297
13298         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13299         on a paragraph insertion.
13300
13301 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * buffer.C (asciiParagraph): use += operator for char append to
13304         string.
13305
13306         * paragraph.C (getFontSettings): compare >= not just >
13307         (highestFontInRange): ditto
13308         (setFont): ditto
13309
13310 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13311
13312         * paragraph.C: change several algorithm to be more appripriate for
13313         the problem domain. This is lookip in FontList and in the InsetList.
13314
13315 2002-03-13  André Pönitz <poenitz@gmx.net>
13316
13317         * commandtags.h:
13318         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13319
13320 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13321
13322         * commandtags.h:
13323         * LyXAction.C:
13324         * lyxfunc.C:
13325         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13326
13327 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13328
13329         * Painter.C (display): anon helper function, adjust code for this
13330         change.
13331         (pixmap): remove function.
13332
13333         * Painter.h: remove private display variable.
13334
13335         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13336
13337 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * WorkArea.[Ch]: remove figinset_canvas cruft.
13340
13341 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13342
13343         * lyxtextclass.C (operator): add one item cache optimization.
13344
13345         * bufferlist.h: doxy changes
13346
13347         * bufferlist.C: ws changes
13348
13349         * DepTable.[Ch] (ext_exist): place const in the right spot.
13350
13351         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13352         call resizeInsets.
13353         (workAreaExpose): call resizeInsets when the with BufferView changes.
13354         (Dispatch): adjust for protectedBlank removal
13355         (specialChar): call updateInset if the insert went ok.
13356
13357         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13358         specialChar instead.
13359
13360         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13361
13362         * BufferView.h: doxy change
13363
13364         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13365
13366         * lyxtextclass.C (operator[]): remove non-const version
13367         (defaultLayout): remove non-const version
13368
13369 2002-03-12  Juergen Vigna  <jug@sad.it>
13370
13371         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13372         did resize the LyXText too.
13373
13374         * buffer.C (readLyXformat2): set layout information on newly allocated
13375         paragraphs.
13376
13377         * tabular.C (OldFormatRead): set layout information on the paragraph.
13378
13379 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13380
13381         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13382
13383 2002-03-11  Juergen Vigna  <jug@sad.it>
13384
13385         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13386         plainly wrong.
13387         (resizeCurrentBuffer): force also the insets to resize themselfes.
13388         (moveCursorUpdate): fixed up for InsetText.
13389
13390 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13391
13392         * commandtags.h:
13393         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13394         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13395         value of Dialogs::tooltipsEnabled().
13396         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13397
13398 2002-03-08  Juergen Vigna  <jug@sad.it>
13399
13400         * BufferView_pimpl.C (updateInset): update inset inside inset also
13401         if it isn't inside theLockingInset().
13402
13403 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13404
13405         * buffer.C (asciiParagraph): redo some of the word and line length
13406         handling.
13407         (getLists): look for Caption instead of caption.
13408
13409 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13410
13411         * buffer.C (Buffer): initialize niceFile to true
13412         (makeLaTeXFile):
13413         (makeLinuxDocFile):
13414         (makeDocBookFile): make sure niceFile is true on exit
13415
13416 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13417
13418         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13419
13420 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13421
13422         * LyXSendto.C: remove.
13423         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13424         * lyx_gui.C: remove now-redundant comment.
13425         * ColorHandler.h: remove forward declaration of class WorkArea.
13426         * lyxfunc.C: remove #include "WorkArea.h".
13427
13428 2002-03-07  Juergen Vigna  <jug@sad.it>
13429
13430         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13431         got moved away with the DEPM and also set the inset_owner always
13432         right which before could have been omitted.
13433
13434 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13435
13436         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13437         wanted layout is not found.
13438
13439 2002-03-07  Juergen Vigna  <jug@sad.it>
13440
13441         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13442
13443 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13444
13445         * paragraph.C (breakParagraph): use default layout not layout of
13446         prev paragraph.
13447         (Paragraph): clear ParagraphParameters.
13448
13449 2002-03-06  Juergen Vigna  <jug@sad.it>
13450
13451         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13452         otherwise it would not be a valid lenght. Fixed a special case in
13453         the minipage compatibility read where we end the document with a
13454         minipage.
13455
13456         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13457         was set as it could be 0 for InsetTexts first entry.
13458
13459 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13460
13461         * paragraph.C (writeFile): if layout is empty write out
13462         defaultLayoutName().
13463
13464         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13465         file without named layout we set layout to defaultLayoutName().
13466
13467 2002-03-06  Juergen Vigna  <jug@sad.it>
13468
13469         * CutAndPaste.C (copySelection): set layout for new paragraph.
13470
13471         * text.C (prepareToPrint): leave ERT inset left aligned
13472         (leftMargin): don't indent paragraphs inside ERT insets
13473
13474 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13475
13476         * paragraph.C (breakParagraph): dont call clear do the work manually
13477
13478         * paragraph.[Ch] (clear): remove function
13479
13480 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13481
13482         * paragraph.C (Paragraph): dont call clear, the work has already
13483         been done.
13484
13485         * lyxtextclass.C (operator): assert if n is empty
13486
13487         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13488         work manually instead.
13489
13490 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13491
13492         * BufferView_pimpl.C: protect selectionLost against text == 0
13493
13494 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13495
13496         * text.C (breakParagraph): fix a setting layout to '0' problem.
13497
13498 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13499
13500         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13501         final location of file, for the included files, and graphics.
13502
13503 2002-03-05  Juergen Vigna  <jug@sad.it>
13504
13505         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13506
13507 2002-03-04  Juergen Vigna  <jug@sad.it>
13508
13509         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13510
13511         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13512         last column of multicolumn cells.
13513         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13514
13515 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13516
13517         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13518         file if it doesn't go to a temporary file.
13519
13520         * buffer.C (sgmlOpenTag):
13521         (sgmlCloseTag):  remove extra newline insertion.
13522
13523 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * text.C (getRowNearY): comment out debug msg
13526
13527 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * text2.C: first -> first_y
13530
13531         * text.C (getRowNearY): add some attemts at a possible
13532         optimization, not working.
13533
13534         * tabular.[Ch]: add BufferParams to several function so that newly
13535         created paragraph can be initialized to he default layotu for the
13536         buffers textclass.
13537
13538         * tabular-old.C (ReadOld): add buf->params to call of Init
13539
13540         * screen.C: rename text->first to text->first_y
13541
13542         * paragraph.C (breakParagraph): always set layout in the broken
13543         paragraph
13544
13545         * lyxtextclass.C (Read): remove lowercase
13546         (hasLayout): ditto
13547         (operator): ditto
13548         (delete_layout): ditto
13549
13550         * lyxtext.h: rename first -> first_y
13551
13552         * lyxlayout.C (Read): remove lowercase
13553         (name): ditto
13554         (setName): ditto
13555         (obsoleted_by): ditto
13556
13557         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13558
13559         * buffer.C (insertErtContents): add params are to InsetERT
13560         (parseSingleLyXformat2Token): add code to check if a paragraphs
13561         layout really exist.
13562         (parseSingleLyXformat2Token): add params to several inset
13563         constructors
13564         (asciiParagraph): remove lowercase, do the layout comparisons with
13565         no_case
13566
13567         * BufferView_pimpl.C (cursorNext): first -> first_y
13568         (resizeCurrentBuffer): first -> first_y
13569         (updateScrollbar): first -> first_y
13570         (scrollCB): first -> first_y
13571         (workAreaMotionNotify): first -> first_y
13572         (workAreaButtonPress): first -> first_y
13573         (checkInsetHit): first -> first_y
13574         (cursorPrevious): first -> first_y
13575         (cursorNext): first -> first_y
13576         (Dispatch): add buffer_->params to severl inset contructors
13577
13578 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * lyxlayout.C (Read): remove some debug info that I forgot.
13581
13582         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13583         clean up the code slightly.
13584         (makeLinuxDocFile): ditto
13585         (makeDocBookFile): ditto
13586
13587         * text2.C: layout as string
13588
13589         * text.C: layout as string
13590
13591         * paragraph_pimpl.C: layout as string
13592
13593         * paragraph.[Ch]: layout as string
13594
13595         * lyxtextclasslist.[Ch]: layout as string
13596
13597         * lyxtextclass.[Ch]: layout as string
13598
13599         * lyxtext.h: layout as string
13600
13601         * lyxlayout.[Ch]: layout as string
13602
13603         * lyx_cb.C: layout as string
13604
13605         * bufferview_funcs.C: layout as string
13606
13607         * bufferparams.C: layout as string
13608
13609         * buffer.C: layout as string
13610
13611         * LyXView.[Ch]: layout as string
13612
13613         * LaTeXFeatures.[Ch]: layout as string
13614
13615         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13616
13617         * BufferView_pimpl.C: change current_layout to string, remove
13618         lyx::layout_type.
13619         (Dispatch):
13620         (smartQuote):
13621         (insertInset):
13622         (workAreaButtonRelease): layout as string
13623
13624         * BufferView2.C (unlockInset): adjust
13625
13626         * vspace.C (asLatexCommand): use an explict temp variable.
13627
13628 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13629
13630         * Makefile.am: use FRONTEND_*
13631
13632 2002-03-01  Juergen Vigna  <jug@sad.it>
13633
13634         * tabular.C (SetWidthOfMulticolCell): changed to something better
13635         I hope but still work in progress.
13636         (recalculateMulticolumnsOfColumn): renamed function from
13637         recalculateMulticolCells as it is more appropriate now.
13638         (SetWidthOfCell): calculate multicols better.
13639
13640 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13641
13642         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13643
13644         * lyxfunc.C (processKeySym): print sequence also if it is
13645         `deleted' (complete)
13646
13647         * kbsequence.C (print): print sequence even if it is deleted
13648         (complete would be a better word, actually).
13649
13650         * lyxfunc.C (dispatch): print complete options after a prefix key
13651
13652         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13653
13654 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13655
13656         * text2.C (setCharFont): eliminate setCharFont code duplication.
13657
13658 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13659
13660         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13661         LFUN_TABULAR_FEATURE (bug #177)
13662
13663 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * Makefile.am: remove figure.h
13666
13667 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13668
13669         * Bufferview_pimpl.C:
13670         * CutAndPasteC:
13671         * LaTeX.C:
13672         * LyXSendto.C:
13673         * buffer.C:
13674         * bufferlist.C:
13675         * converter.C:
13676         * language.C:
13677         * lyxfunc.C:
13678         * lyxvc.C:
13679         * paragraph.C:
13680         * text.C:
13681         * text2.C: remove #include "lyx_gui_misc.h".
13682
13683         * LaTeX.C: added #include <cstdio>
13684
13685 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13686
13687         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13688         that the paragraph following this one can have.
13689
13690         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13691
13692         * vspace.C (asLatexCommand): fix bogus gcc warning
13693
13694         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13695
13696 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13697
13698         * text2.C (setLayout): get rid of redundant code
13699
13700 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13701
13702         * text2.C (incDepth): make sure depth cannot be increased beyond
13703         reasonable values.
13704
13705 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13706
13707         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13708         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13709
13710         * PainterBase.h (image):
13711         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13712         a LyXImage const *.
13713
13714 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13715
13716         * BufferView.C:
13717         * BufferView.h:
13718         * BufferView_pimpl.C:
13719         * BufferView_pimpl.h:
13720         * LaTeXFeatures.C:
13721         * LyXAction.C:
13722         * LyXView.C:
13723         * Makefile.am:
13724         * UpdateList.h:
13725         * UpdateList.C:
13726         * buffer.C:
13727         * figure.h:
13728         * figureForm.C:
13729         * figureForm.h:
13730         * figure_form.C:
13731         * figure_form.h:
13732         * lyx_cb.C:
13733         * lyx_gui.C:
13734         * lyx_gui_misc.C:
13735         * lyxfunc.C:
13736         * sp_base.h:
13737         * sp_ispell.h:
13738         * sp_pspell.h:
13739         * sp_spell.C: remove fig inset, and the crap house of
13740           cards that follows it
13741
13742 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13743
13744         * Makefile.am:
13745         * lyxserver.C:
13746         * os2_defines.h:
13747         * os2_errortable.h:
13748         * nt_defines.h: move .h into support/
13749
13750         * vms_defines.h: remove
13751
13752         * WorkArea.C: add space in debug output
13753
13754         * text2.C:
13755         * paragraph.C:
13756         * buffer.C: add WITH_WARNINGS
13757
13758         * vc-backend.h:
13759         * vc-backend.C:
13760         * bufferlist.C: s/retrive/retrieve/, add docs
13761
13762         * vspace.h:
13763         * vspace.C:
13764         * kbmap.h:
13765         * lyxlength.h:
13766         * lyxgluelength.h:
13767         * length_common.h:
13768         * chset.h:
13769         * chset.C: add docs
13770
13771         * lyxgui.C: add ID to X error handler
13772
13773         * lyxtestclass.c: fix typo
13774
13775 2002-02-26  Juergen Vigna  <jug@sad.it>
13776
13777         * tabular_funcs.C (write_attribute): changed so that some default
13778         attributes are not written at all.
13779         (getTokenValue): set default values before trying to read the
13780         value so we have the return value always set as default if we don't
13781         find the token we search for.
13782
13783         * tabular.C (Write): write bools as bools not as strings!
13784
13785 2002-02-22  Juergen Vigna  <jug@sad.it>
13786
13787         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13788         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13789
13790         * text.C (leftMargin): don't add an indent for paragraphs inside
13791         tabular cells (fix #208).
13792
13793 2002-02-21  José Matos  <jamatos@fep.up.pt>
13794
13795         * tabular.C (docBook): fixed support for long tables.
13796
13797 2002-02-20  Juergen Vigna  <jug@sad.it>
13798
13799         * text2.C (getFont): get the drawing font of the Inset if this
13800         paragraph is inside an inset (only important for InsetERT for now).
13801
13802         * buffer.C (insertErtContents): use new lanugage params in ERT
13803         constructor.
13804
13805         * CutAndPaste.C: commenting out seemingly uneeded code.
13806
13807 2002-02-19  Allan Rae  <rae@lyx.org>
13808
13809         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13810         Iterators might be simple to use but they also get invalidated.
13811         (removeAutoInsets): renamed saved cursor tracking variables and added
13812         some comments to clarify what everything does.
13813
13814 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13815
13816         * Chktex.C:
13817         * LaTeX.C:
13818         * LyXSendto.C:
13819         * converter.C:
13820         * lyx_cb.C:
13821         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13822         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13823
13824         * lyxfunc.C:
13825         * vc-backend.h: remove #include "support/syscall.h"
13826
13827         * LaTeX.C:
13828         * LyXSendto.C:
13829         * converter.C: rearrange #includes in Lars' approved fashion.
13830
13831         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13832         forward declare class Timeout in the header file.
13833
13834         * XFormsView.C: changes due to the above.
13835
13836         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13837         similar to LyXView.
13838
13839         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13840         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13841
13842 2002-02-18  José Matos  <jamatos@fep.up.pt>
13843
13844         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13845         insets contents.
13846
13847 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13848
13849         * a lot of small ws changes
13850         * add a lot of using std::XXX
13851         * use std construcs some places where approp.
13852         * use some exisint stuff from lyxfunctional where approp.
13853         * Make file changes to use partial linking (lets test this now...)
13854
13855 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13856
13857         * Chktex.C:
13858         * buffer.C:
13859         remove #include "support/syscontr.h" as it's redundant. Always has been.
13860
13861         * Chktex.C:
13862         * LaTeX.C:
13863         * LyXSendto.C:
13864         * converter.C:
13865         * lyx_cb.C:
13866         * vc-backend.C:
13867         change Systemcalls::System to Systemcalls::Wait and
13868         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13869         No change of functionality, just reflects the stripped down Systemcalls
13870         class.
13871
13872 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13873
13874         * debug.[Ch]: add a GRAPHICS type to the enum.
13875
13876 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13877
13878         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13879
13880         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13881         there is an inset.
13882
13883 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13884
13885         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13886         match the changes below.
13887
13888         * text2.C (toggleInset): if there is not editable inset at cursor
13889         position, try to see if cursor is _inside_ a collapsable inset
13890         and close it.
13891
13892 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13893
13894         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13895         document menu has a nice checkbox
13896
13897 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13898
13899         * lyxlength.C (asLatexString): change PW to output as percent of
13900         \textwidth.
13901
13902         * lengthcommon.C: change '%' to 't%'
13903
13904         * lyxfunc.C (dispatch): a few comments from Martin
13905
13906 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13907
13908         * WorkArea.h:
13909         * WorkArea.C:
13910         * BufferView_pimpl.h:
13911         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13912           the X selection.
13913
13914 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13915
13916         * vspace.C (inPixels): fix compiler warning
13917
13918 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13919
13920         * lyxfunc.C (getStatus): fix status message for disabled commands.
13921
13922 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13923
13924         * BufferView_pimpl.C: fix crash on close buffer
13925         during selection (#227)
13926
13927 2002-01-27  Herbert Voss  <voss@lyx.org>
13928
13929         * buffer.C: link old Figure to new graphic inset
13930
13931 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13932
13933         * FontLoader.C (getFontinfo): Change the latex font names in order
13934         to match the names of type1inst.
13935
13936 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13937
13938         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13939
13940         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13941         (extchanged): ditto
13942         (ext_exist): ditto
13943         (remove_files_with_extension): ditto
13944         (remove_file): ditto
13945         (write): ditto
13946
13947         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13948         document is smaller than the work area height. Do not initialize
13949         static variables to 0.
13950
13951 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13952
13953         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13954
13955         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13956         LFUN_LAYOUT_PARAGRAPHS.
13957
13958         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13959         tabular. It is possible to provide a possible cell, which will
13960         typically be the actcell from the corresponding insettabular
13961
13962         * lyxfunc.C (getStatus): small cleanup; disable
13963         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13964         true
13965
13966 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13967
13968         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13969
13970         * paragraph.C (startTeXParParams):
13971         (endTeXParParams): new methods. The LaTeX code to
13972         start/end paragraph formatting
13973         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13974         empty (fixes bug #200)
13975
13976         * vspace.C (inPixels): adapt to the change below
13977         (inPixels): [later] more cleanups (remove unused variables)
13978
13979         * lyxlength.C (inPixels): change to use a width and a height as
13980         parameter.
13981
13982 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13983
13984         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13985         Replaced with \paperwidth
13986
13987         * DepTable.C (insert): add std:: qualifier
13988
13989 2002-01-18  Allan Rae  <rae@lyx.org>
13990
13991         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13992         updated also?
13993
13994         * text.C (drawInset): Turned out I didn't know enough about how
13995         rebreaking worked.  This fixes most of the redraw problems.  I see
13996         an occasional cursor trail when a line is broken now and the cursor
13997         placement can seem out by a few pixels also after a rebreak.
13998
13999 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14000
14001         * buffer.C (parseSingleLyXformat2Token): update because minipage
14002         width is now a LyXLength
14003
14004         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14005
14006         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14007         math insets
14008
14009 2002-01-17  Juergen Vigna  <jug@sad.it>
14010
14011         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14012
14013         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14014         is set correctly and the inset is updated correctly.
14015
14016 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14017
14018         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14019         the beginning of the loop.
14020
14021 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14022
14023         * lyxrc.C: improve help for use_scalable_fonts
14024
14025 2002-01-17  Allan Rae  <rae@lyx.org>
14026
14027         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14028
14029 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14030
14031         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14032         make sure to set their inset_owner to the right value (bug #171)
14033
14034 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14035
14036         * DepTable.h
14037         * DepTable.C: Implement mtime checking to reduce time spent doing
14038         CRCs.
14039
14040 2002-01-16  Juergen Vigna  <jug@sad.it>
14041
14042         * tabular.C (GetAdditionalHeight): one of error fixed.
14043
14044         * lyxrc.C (output): small fix in writing use_pspell.
14045
14046 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14047
14048         * sp_base.h: #include LString.h
14049
14050 2002-01-16  Allan Rae  <rae@lyx.org>
14051
14052         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14053         Can someone check this please?
14054
14055         * text.C (drawInset): It was possible that p.row would be removed by
14056         breakAgainOneRow upsetting a few other settings.  There may be another
14057         small tweak possible by setting need_break_row = 0 when p.row has been
14058         removed but I don't know enough about the logic here.
14059
14060 2002-01-15  Allan Rae  <rae@lyx.org>
14061
14062         * text.C (insertChar): removed conditional truism.
14063
14064         * BufferView2.C (removeAutoInsets): More tweaks.
14065         cur_par_prev could be a stray pointer.  Check for trailing empty line
14066         in case last line was cur_par and only had an error inset on it.
14067
14068 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14069
14070         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14071         absolute
14072
14073         * vc-backend.C (most methods):
14074         * exporter.C (Export):
14075         * converter.C (convert):
14076         (runLaTeX):
14077         * LyXSendto.C (SendtoApplyCB):
14078         * lyxfunc.C (dispatch):
14079         (menuNew):
14080         (open):
14081         (doImport):
14082         * lyx_cb.C (AutoSave):
14083         (InsertAsciiFile):
14084         * BufferView_pimpl.C (MenuInsertLyXFile):
14085         * buffer.C (runChktex): use Buffer::filePath().
14086
14087         * buffer.h: rename filename to filename_; rename filepath to
14088         filepath_ and make it private
14089         (filePath): new method
14090
14091         * buffer.C (writeFile): use fileName()
14092         (getLatexName):
14093
14094         * lyx_main.C (init): fix starting  of LyX when the binary is a
14095         link from so,ewhere else.
14096
14097         * minibuffer.C: include <cctype> for isprint
14098
14099 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14100
14101         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14102         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14103         name clash with InsetCollapsable's width function.
14104
14105 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14106
14107         * lastfiles.C: include <iterator>
14108
14109 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14110
14111         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14112         std::count.
14113
14114         * buffer.C (makeLaTeXFile): ditto.
14115         Also make loop operation more transparent.
14116
14117 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14118
14119         * ToolbarDefaults.C: remove trailing comma closing namespace.
14120
14121         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14122
14123         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14124         as in WorkArea.
14125
14126         * trans.C (Load): comment out unused variable, allowed.
14127
14128 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14129
14130         * minibuffer.[Ch] (append_char): new method to recieve input from the
14131         drop-down completion browser. If a key was pressed, then recieve this
14132         char and append it to the existing string.
14133         (peek_event): modify the positioning data passed to the completion
14134         browser so that it can be placed above the minibuffer rather than below.
14135 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14136
14137         * LyXAction.C (init): alloe error-next for readonly documents.
14138
14139         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14140         count.
14141
14142 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14143
14144         * bufferlist.C (readFile): create the buffer _after_ checking that
14145         the file exists.
14146
14147         * lyxfunc.C (verboseDispatch): fix handling of arguments
14148
14149         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14150
14151         * lyxrc.C: use string::erase() instead of initializing to "".
14152
14153
14154 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14155
14156         * BufferView_pimpl.h:
14157         * BufferView_pimpl.C:
14158         * WorkArea.h:
14159         * WorkArea.C:
14160         * text2.C: tell X when we have made a selection for copying
14161
14162 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14163
14164         * BufferView_pimpl.C (MenuInsertLyXFile):
14165         * lyxfunc.C (menuNew):
14166         (open):
14167         (doImport): add shortcuts to directory buttons
14168
14169         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14170         open a float)
14171
14172         * lyxfunc.C (setStatusMessage):
14173         (getStatusMessage): new methods
14174         (getStatus):use setStatusMessage instead of setErrorMessage
14175         (dispatch): when function is disabled, set error message here
14176         [instead of in getStatus previously]
14177
14178         * BufferView_pimpl.C (workAreaButtonRelease): update
14179         toolbar/menubar here too.
14180
14181 2002-01-13  Allan Rae  <rae@lyx.org>
14182
14183         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14184         Now seems indestructible.  Remaining task is to audit all other
14185         code affected by deleteEmptyParagraphMechanism.  One small quirk
14186         left is that an empty document with an error in the preamble can
14187         be made to report an error but no error box appears.  I don't know
14188         where it goes.
14189         (removeAutoInsets): Improved comments.
14190
14191 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14192
14193         * Thesaurus.h:
14194         * Thesaurus.C: update for Aiksaurus 0.14
14195
14196 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14197
14198         * text2.C (firstParagraph): removed member function, all uses
14199         replaces with ownerParagraph
14200         (redoParagraphs): here
14201         (updateInset): here
14202         (toggleAppendix): here
14203         * BufferView2.C (insertErrors): here
14204         (setCursorFromRow): here
14205
14206 2002-01-13  Allan Rae  <rae@lyx.org>
14207
14208         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14209         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14210         There is still a way to segfault this although you may have to do this
14211         multiple times: Have an InsetERT with an unknown command in it.
14212         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14213         <down-arrow>, <Enter> again, View->DVI, BANG!
14214
14215         * text2.C (setCursor):
14216         (deleteEmptyParagraphMechanism):
14217         * lyxtext.h (setCursor):
14218         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14219         Making use of the return value may help fix other bugs.
14220
14221 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14222
14223         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14224
14225         * LyXView.C (updateMenubar): call MenuBar::update here
14226         (updateToolbar): but not here
14227         (showState): do not update toolbar/menubar
14228
14229         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14230         should need to care about that.
14231
14232         * lyxfunc.C (verboseDispatch): simplify a bit
14233         (getStatus): have a version which takes a pseudoaction, and
14234         another which requires a (kb_action,string).
14235
14236         * LyXAction.C (retrieveActionArg): make it work also when action
14237         is not a pseudo-action.
14238         (getActionName): simplify a bit
14239         (helpText):
14240
14241 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14242
14243         * lyxfunc.C (verboseDispatch): new families of methods with
14244         several ways to specify a command and a bool to indicate whether
14245         the command name and shortcut should be displayed in minibuffer
14246         (eventually, we could extend that to a finer bitmask like
14247         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14248         (dispatch): the pristine dispatch command which just, well,
14249         dispatchs! Note it still sets its result to minibuffer; I'm not
14250         sure we want that.
14251
14252         * lyxfunc.h: remove setHintMessage
14253
14254         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14255
14256 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14257
14258         * BufferView_pimpl.C (specialChar): delete new inset if we have
14259         not been able to insert it.
14260
14261         * kbmap.C: revert to using int instead of kb_action, since all we
14262         are dealing with is pseudo-actions.
14263
14264         * LyXAction.C (searchActionArg): change to return int instead of
14265         kb_action, since the result is a pseudoaction.
14266
14267 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14268
14269         * buffer.C (insertErtContents): Fix (partially) the font bug.
14270
14271 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14272
14273         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14274         as the other one is broken on my machine!
14275
14276 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14277
14278         * commandtags.h:
14279         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14280
14281 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14282
14283         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14284         reflect their actual use. Provide compatibility code for older lyxrc
14285         files.
14286
14287         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14288         FL_NORMAL_STYLE.
14289         change names of popup font variables in line with the changes to lyxrc.C
14290
14291 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14292
14293         * buffer.C (asciiParagraph): avoid outputing a word twice after
14294         an inset.
14295
14296         * lyxrc.C (getDescription): document that document_path and
14297         template_path can be empty.
14298
14299 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14300
14301         * LaTeXFeatures.C (getMacros):
14302         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14303
14304         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14305
14306         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14307         getPackages.
14308         (getPackages): rename feature "floats" to "float". Use an array to
14309         iterate over 'simple' features (i.e. just a \usepackage). Add
14310         handling of "amsmath" (renamed from "amsstyle").
14311
14312 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14313
14314         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14315         features list.
14316
14317 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14318
14319         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14320         FuncStaus::FuncStatus & FuncStaus::some_method().
14321
14322 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14323
14324         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14325         of the func_satus stuff. Edited and massaged in various ways by
14326         JMarc.
14327
14328         * lyxfunc.C (getStatus): use FuncStatus
14329
14330 2002-01-08  Juergen Vigna  <jug@sad.it>
14331
14332         * text.C (nextBreakPoint): use function Inset::isChar().
14333
14334         * paragraph.C (TeXOnePar): use function
14335         Inset::forceDefaultParagraphs.
14336
14337         * buffer.C (latexParagraphs): use function
14338         Inset::forceDefaultParagraphs.
14339
14340 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14341
14342         * lyx_gui.C (init): set the style of the menu popups to
14343         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14344
14345 2002-01-07  Juergen Vigna  <jug@sad.it>
14346
14347         * text.C (setHeightOfRow): small fix
14348         (prepareToPrint): don't look at alignment if we don't have the place
14349         for doing it.
14350
14351 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14352
14353         * box.C: New file. Move the Box methods and functions out of box.h,
14354         following Lars' suggestion.
14355
14356 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14357
14358         * box.h: #include "support/LOstream.h", needed for inlined function.
14359
14360         * lyxtextclass.C:
14361         * lyxtextclasslist.C: added some using std declarations.
14362
14363 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14364
14365         * box.h: make signed dimensions to allow insets wider than
14366           the screen (bug #162)
14367
14368         * BufferView_pimpl.C: add some insetHit debug
14369
14370 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14371
14372         * vc-backend.C: add FIXME
14373
14374 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14375
14376         * lyxfunc.C (getStatus): enable code for showing math font status
14377         in toolbar/menu.
14378
14379 2002-01-07  Juergen Vigna  <jug@sad.it>
14380
14381         * text.C (nextBreakPoint): removed debug output not needed anymore.
14382
14383 2002-01-06  Juergen Vigna  <jug@sad.it>
14384
14385         * text.C (nextBreakPoint): fixed up this function we had this bug
14386         since ever but now hopefully we break row better.
14387         (insertChar): we have to check if an inset is the next char as it
14388         could now happen that a large inset is causing a break.
14389
14390 2002-01-05  Juergen Vigna  <jug@sad.it>
14391
14392         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14393         if it doesn't like to be drawed.
14394
14395 2002-01-04  Juergen Vigna  <jug@sad.it>
14396
14397         * BufferView2.C (lockInset): forgot to set a cursor.
14398
14399         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14400
14401 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14402
14403         * FormMathsPanel.C:
14404         * FormMathsPanel.h
14405         * MathsSymbols.C:
14406         * form_maths_panel.C:
14407         * form_maths_panel.h:
14408         * form_maths_panel.fd: implemented sub- and super- buttons in math
14409         panel.
14410
14411         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14412         (or ^ space) to be used as in TeX (req'd by Andr�.
14413
14414         * lyxfunc.C: Allow ^ and _ again to be used both as
14415         super/subscript (mathed) and as themselves (in text).
14416
14417 2002-01-03  Allan Rae  <rae@lyx.org>
14418
14419         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14420         "LyX" or the filename of the current buffer if it has one.  This is a
14421         modified form of John Levon's patch.
14422
14423         * XFormsView.C (setWindowTitle): also set icon title.
14424
14425         * LyXView.h (setWindowTitle): signature changed.
14426         * XFormsView.h (setWindowTitle): ditto.
14427
14428 2002-01-02  Juergen Vigna  <jug@sad.it>
14429
14430         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14431
14432 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14433
14434         * screen.C (topCursorVisible): introduce a temp var for
14435         text->cursor.row(), handle the case where this row is null. (kindo
14436         hachish)
14437
14438         * text2.C (setCursor): add a couple of asserts.
14439
14440         * paragraph.h (inset_iterator): add -> operator
14441
14442         * paragraph.[Ch] (autoDeleteInsets): remove member function
14443
14444         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14445         cursor pos correctly and handle inset deletion by itself.
14446         (insertErrors): move iterator declaration out of for expression
14447
14448         * lyxtextclass.C: add <algorithm>
14449
14450         * Makefile.am: added the new files to sources, removed layout.C
14451
14452         * layout.C: removed file
14453
14454         * layout.h: remove LYX_DUMMY_LAYOUT
14455
14456         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14457         layout.
14458
14459         * lyxlayout.[Ch]:
14460         * lyxtextclass.[Ch]:
14461         * lyxtextclasslist.[Ch]: new files
14462
14463         * include order changes to a lot of files, also changes because of
14464         the six new files.
14465
14466 2001-12-27  Juergen Vigna  <jug@sad.it>
14467
14468         * buffer.C (asciiParagraph): more fixes.
14469
14470         * tabular.C (ascii): make ascii export support export of only the
14471         data separated by a column-delimiter.
14472         (ascii): better support for ascii export.
14473
14474         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14475
14476 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14477
14478         * tabular_funcs.C: use a "using std::getline" instead of the
14479         previous fix from Angus (necessary for cxx + lyxstring)
14480
14481 2001-12-24  Juergen Vigna  <jug@sad.it>
14482
14483         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14484
14485         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14486         problems. First check a minipage also if we have some ert-contents
14487         (not only on par->size(), second set the right depth of the paragraph
14488         on the relink to the root-paragraph-list!
14489
14490         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14491         which then did not anymore update the main paragraphs on undo/redo!
14492
14493 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14494
14495         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14496         code. Support all font-changing funcs (even those which are not in
14497         menu currently). Support for reporting font settings in
14498         mathed (disabled until Andre provides a function on mathed's side).
14499
14500         * func_status.h (toggle): small helper function to set toggle
14501         state on a flag.
14502
14503 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14504
14505         * tabular_funcs.C: getline -> std::getline
14506
14507 2001-12-21  Juergen Vigna  <jug@sad.it>
14508
14509         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14510         accessed and could be 0 (I couldn't generate this but it seems
14511         Michael could!).
14512
14513 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14514
14515         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14516         * tabular_funcs.h: here and include iosfwd
14517
14518 2001-12-20  Juergen Vigna  <jug@sad.it>
14519
14520         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14521         inside inset but undo_par was.
14522
14523 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14524
14525         * Thesaurus.C: always include <config.h> in sources.
14526
14527         * Painter.h:
14528         * lyxlookup.h:
14529         * box.h: do not include <config.h> in header files
14530
14531         * text.C (paintLastRow): remove unused variable
14532
14533         * text.C (transformChar):
14534         (insertChar):
14535         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14536
14537         * Painter.C (text):
14538         * font.C (width): rewrite to use uppercase() instead of
14539         islower/toupper.
14540
14541         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14542
14543 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14544
14545         * lyxfind.C: clean up of find failure position change
14546
14547 2001-12-20  Juergen Vigna  <jug@sad.it>
14548
14549         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14550
14551         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14552         (TeXRow): added to LaTeX a single tabular row.
14553         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14554         (Latex): simplified and finally good LT-h/f support.
14555         (various_functions): just small adaptions for LT-h/f support.
14556
14557         * tabular_funcs.[hC]: added and moved here all not classfunctions
14558         of LyXTabular.
14559
14560 2001-12-19  Juergen Vigna  <jug@sad.it>
14561
14562         * tabular.[Ch]: better support for longtabular options (not finished
14563         yet!)
14564
14565 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14566
14567         * text.C (paintLastRow): use the label font instead of the font of
14568         the last character to compute the size of *_BOX. This makes more
14569         sense and avoids a crash with empty paragraphs.
14570         Use Painter::rectangle to draw EMPTY_BOX.
14571
14572 2001-12-19  Juergen Vigna  <jug@sad.it>
14573
14574         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14575         the paragraphs if the replaced paragraph is not the first one!
14576         Tried to delete not used paragraphs but does not work yet so for
14577         now it's inside #ifdef's and by default off!
14578
14579 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14580
14581         * MenuBackend.C: include "lyx_main.h" instead of declaring
14582         lastfiles (actually was declared as LastFiles* instead of a
14583         scoped_ptr).
14584
14585 2001-12-17  Juergen Vigna  <jug@sad.it>
14586
14587         * tabular.C (AppendColumn): applied John's fix
14588
14589 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14590
14591         * BufferView.h:
14592         * BufferView.C:
14593         * BufferView_pimpl.h:
14594         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14595
14596         * Makefile.am:
14597         * box.h: new start of class for above
14598
14599         * lyxfunc.C: ignore space-only minibuffer dispatches.
14600           Show the command name when it doesn't exist
14601
14602         * minibuffer.C: don't add empty lines to the history
14603
14604         * minibuffer.C: add a space on dropdown completion
14605
14606 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14607
14608         * text.C: fix line above/below drawing in insets
14609
14610 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * lyxlength.C (LyXLength): Initialize private variables.
14613
14614 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14615
14616         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14617         when inserting error insets.
14618
14619 2001-12-13  Juergen Vigna  <jug@sad.it>
14620
14621         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14622         actually sometimes the before-paragraph.
14623         (setUndo): don't clear the redostack if we're not actually undoing!
14624
14625 2001-12-06  Juergen Vigna  <jug@sad.it>
14626
14627         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14628         and fixed redoing of main paragraph, so we can use it now ;)
14629
14630         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14631
14632 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14633
14634         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14635         Juergen's request
14636
14637 2001-12-13  André Pönitz <poenitz@gmx.net>
14638
14639         * undostack.[Ch]:
14640         * undo_func.C: minor cleanup
14641
14642 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14643
14644         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14645         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14646         font in urw-fonts package which is marked as -urw-fontspecific and
14647         does not work (incidentally, changing the encoding in the
14648         fonts.dir of this package to -adobe-fontspecific fixes the
14649         problem).
14650
14651         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14652         is a crash when undoing first paragraph (Juergen, please take a
14653         look). THis does not mean the undo fix is wrong, just that it
14654         uncovers problems.
14655
14656         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14657         the (Paragraph*) version when needed instead of duplicating the
14658         code.
14659
14660         * text.C (workWidth): use Inset::parOwner to find out where the
14661         inset has been inserted. This is a huge performance gain for large
14662         documents with lots of insets. If Inset::parOwner is not set, fall
14663         back on the brute force method
14664
14665         * paragraph_pimpl.C (insertInset):
14666         * paragraph.C (Paragraph):
14667         (cutIntoMinibuffer): set parOwner of insets when
14668         inserting/removing them
14669
14670         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14671
14672 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14673
14674         * commandtags.h:
14675         * LyXAction.C:
14676         * lyx_main.C:
14677         * lyxfunc.C:
14678         * mathed/formulabase.C:
14679         * mathed/math_cursor.[Ch]:
14680         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14681
14682
14683 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14684
14685         * lyxlength.[Ch] (operator!=): new function
14686
14687 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14688
14689         * text.C (workWidth): use Inset::parOwner to find out where the
14690         inset has been inserted. This is a huge performance gain for large
14691         documents with lots of insets. If Inset::parOwner is not set, fall
14692         back on the brute force method
14693
14694         * paragraph_pimpl.C (insertInset):
14695         * paragraph.C (Paragraph):
14696         (cutIntoMinibuffer): set parOwner of insets when
14697         inserting/removing them
14698
14699         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14700
14701 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14702
14703         * tabular-old.C (getTokenValue):
14704         * tabular.C (getTokenValue):
14705         (write_attribute): new versions for LyXLength
14706         (everywhere): adjust the use of widths
14707
14708         * tabular.h: change the type of widths from string to LyXLength
14709
14710 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14711
14712         * paragraph.C: fixed missing line number count when exporting
14713         Environments to LaTeX file
14714
14715         * buffer.C: added informational message for checking line numbers.
14716
14717 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14718
14719         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14720         paragraph, do the 'double space' part, but not the 'empty
14721         paragraph' one.
14722
14723         * text.C (workWidth): small optimization
14724         (getLengthMarkerHeight): use minimal size for negative lengths.
14725
14726 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14727
14728         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14729
14730         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14731
14732 2001-12-11  André Pönitz <poenitz@gmx.net>
14733
14734         * FontLoader.C:
14735         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14736
14737 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14738
14739         * text2.C: keep selection on a setFont()
14740
14741 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14742
14743         * lyx_cb.C: another bv->text misuse, from insert label
14744
14745 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14746
14747         * kbsequence.h:
14748         * kbsequence.C: re-instate nmodifier mask
14749
14750 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14751
14752         * lyx_main.h: make lyxGUI private.
14753
14754 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14755
14756         * lyxfind.C: place the cursor correctly on failed search
14757
14758 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14759
14760         * text.C (getLengthMarkerHeight): for small heights, the arrows
14761         are not always on top/bottom of the text
14762         (drawLengthMarker): smaller arrows; take the left margin in
14763         account; draw also vfills.
14764         (paintFirstRow):
14765         (paintLastRow): remove special code for vfill and standard spaces,
14766         since everything is handled in drawLengthMarker now.
14767
14768 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * buffer.C (insertErtContents): try to handle font and language
14771         interaction a bit better.g
14772
14773         * ColorHandler.C (updateColor): change the hash to cover the whole
14774         LColor enum, ws cleanup
14775         (getGCLinepars): ditto
14776         (getGCLinepars): only lookup in the linecache once.
14777
14778 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14779
14780         * iterators.C (operator++): Make the iterator more robust
14781
14782         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14783         (John's patch)
14784         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14785
14786 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14787
14788         * lyxtext.h:
14789         * text.C: better added space drawing
14790
14791 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14792
14793         * LyXView.C:
14794         * BufferView2.C: fix layout combo update on inset unlock
14795
14796 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14797
14798         * Makefile.am: don't compile unused files
14799
14800 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14801
14802         * lyxfunc.C:
14803         * commandtags.h:
14804         * LyXAction.C: remove old LFUN_LAYOUTNO
14805
14806 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14807
14808         * paragraph_pimpl.h:
14809         * paragraph_pimpl.C: isTextAt() doesn't need font param
14810
14811 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14812
14813         * lyxlex.h:
14814         * lyxlex.C: little cleanup
14815
14816 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * BufferView_pimpl.C: fix insertAscii for insets
14819
14820 2001-12-05  Juergen Vigna  <jug@sad.it>
14821
14822         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14823         set the right font on the "multi" paragraph paste!
14824
14825 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14826
14827         * trans_decl.h:
14828         * trans_mgr.[Ch]:
14829         * trans.[Ch]:
14830         * lyxgluelength.C:
14831         * lyxlength.C: remove out-commented code.
14832
14833         * BufferView_pimpl:
14834         * CutAndPaste.C:
14835         * DepTable.C:
14836         * buffer.C:
14837         * chset.C:
14838         * lastfiles.C:
14839         * lyxlex.C:
14840         * lyxlex_pimpl.C:
14841         * lyxserver.C:
14842         * screen.C:
14843         * tabular-old.C:
14844         * tabular.C:
14845         * text.C:
14846         * trans_mgr.C:
14847         * vc-backend.C: change "while(" to "while ("
14848
14849         * lyxlength.[Ch]: add zero function to check if length is zero or
14850         not
14851         * lyxgluelength.C: use it
14852
14853 2001-12-05  Allan Rae  <rae@lyx.org>
14854
14855         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14856         Works for 2.95.3, from what I understand of Garst's reports this should
14857         work for other g++ versions.  We're screwed if the abs(int) definition
14858         changed between bugfix releases of gcc.
14859
14860 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14861
14862         * text.C: fix chapter label offset !
14863
14864 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * lyxtext.h:
14867         * text.C: fix hfill at end of line, clean up
14868
14869 2001-12-04  Juergen Vigna  <jug@sad.it>
14870
14871         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14872         that we force an update of the inset and it's owners if neccessary.
14873
14874 2001-12-03  Juergen Vigna  <jug@sad.it>
14875
14876         * text.C (rowLast): simplified code
14877
14878 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14879
14880         * lyxfunc.C: fix show options on timeout
14881
14882 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14883
14884         * screen.C (topCursorVisible): scroll half a page when the cursor
14885         reached top of bottom of screen
14886
14887 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14888
14889         * minibuffer.C: deactivate on loss of focus
14890
14891 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14892
14893         * vspace.[Ch] (operator!=): add operator.
14894
14895 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14896
14897         * BufferView_pimpl.C: refuse to open an inset when
14898         there's a selection.
14899
14900 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14901
14902         * BufferView_pimpl.C: allow to click on RHS of full row insets
14903
14904 2001-11-30  Juergen Vigna  <jug@sad.it>
14905
14906         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14907         insets for undo reasons.
14908
14909 2001-11-28  André Pönitz <poenitz@gmx.net>
14910
14911         * vspace.[Ch]: cosmetical changes
14912
14913 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14914
14915         * LyXAction.h:
14916         * LyXAction.C:
14917         * lyxfunc.h:
14918         * lyxfunc.C:
14919         * kbmap.h:
14920         * kbmap.C:
14921         * lyxrc.C:
14922         * kbsequence.h:
14923         * kbsequence.C: part re-write of old kb code
14924
14925         * Painter.C:
14926         * WorkArea.C: remove Lgb_bug_find_hack
14927
14928 2001-11-30  José Matos <jamatos@fep.up.pt>
14929
14930         * buffer.C (makeDocBookFile): add a comment to point a hack.
14931         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14932         Fixed a double write of labels.
14933
14934 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14935
14936         * LaTeX.C:
14937         * LaTeX.h Fixed bug in LaTeX class where it would not
14938         re-run latex if no depfiles were changed, but the .dvi was removed.
14939
14940 2001-11-28  André Pönitz <poenitz@gmx.net>
14941
14942         * all the files from the change on 2001/11/26:
14943         use lyx::layout_type instead of LyXTextClass::size_type
14944         use lyx::textclass_type instead of LyXTextClassList::size_type
14945
14946 2001-11-29  Juergen Vigna  <jug@sad.it>
14947
14948         * text.C: added support for paragraph::isFreeSpacing()
14949
14950         * buffer.C: same as above
14951
14952         * paragraph.h: inserted isFreeSpacing() function to enable
14953         FreeSpacing inside InsetERT.
14954
14955         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14956         of the paragraph's in the cut/copy buffer to 0!
14957
14958         * text2.C (removeRow): remove the assert as it can!
14959
14960         * lyxtext.h: added helper function firstRow returning firstrow and
14961         made firstrow private again.
14962
14963         * BufferView2.C (lockInset): don't relock if we're already locked!
14964
14965         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14966         the only paragraph.
14967         (removeRow): added Assert::(firstrow)
14968
14969         * debug.C: forgot to add INSETTEXT here.
14970
14971 2001-11-28  Juergen Vigna  <jug@sad.it>
14972
14973         * sp_spell.C (initialize): changed error text to more general
14974         spellchecker command use (not only ispell!)
14975
14976         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14977
14978         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14979
14980 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14981
14982         * vspace.C: initialise lyxgluelength on failure
14983
14984 2001-11-28  Allan Rae  <rae@lyx.org>
14985
14986         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14987         declaration & definition that looks like a function declaration.
14988
14989 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14990
14991         * BufferView2.C (copy):
14992         (copyEnvironment): do not clear the selection when doing a copy.
14993
14994         * text.C (paintFirstRow): compilation fix
14995
14996 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14997
14998         * tabular.C (Latex): correct line count when writing latex.
14999
15000 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * paragraph_pimpl.h:
15003         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15004           bug a bit
15005
15006 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15007
15008         * text.C:
15009         * LColor.h:
15010         * LColor.C: change vfillline->added_space
15011
15012         * text.C: add markers and text for added space
15013
15014         * vspace.C: fix comment
15015
15016 2001-11-28  André Pönitz <poenitz@gmx.net>
15017
15018         * paragraph.C: whitespace changes
15019         * all the other files from the change on 2001/11/26:
15020         change *::pos_type into lyx::pos_type
15021
15022 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15023
15024         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15025         language of the document when inserting error insets.
15026
15027 2001-11-26  André Pönitz <poenitz@gmx.net>
15028
15029         * BufferView_pimpl.[Ch]:
15030         *       CutAndPaste.C:
15031         * buffer.[Ch]:
15032         * lyxcursor.[Ch]:
15033         * lyxfind.C:
15034         * lyxfunc.C:
15035         * lyxrow.[Ch]:
15036         * paragraph.[Ch]:
15037         * paragraph_pimpl.[Ch]:
15038         * sp_spell.C:
15039         * text.C:
15040         * text2.C: reduce header dependencies, introduce type for positions
15041
15042 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15043
15044         * <various>: change to use Alert.h
15045
15046 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15047
15048         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15049         when encountering an unknown token.
15050         (readLyXformat2): Show an error message if there were unknown tokens.
15051
15052 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15053
15054         * BufferView2.C:
15055         * BufferView_pimpl.C:
15056         * buffer.C:
15057         * paragraph.h:
15058         * text.C:
15059         * text2.C: use par->isInset()
15060
15061 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15062
15063         * paragraph_pimpl.h:
15064         * paragraph_pimpl.C: cleanup
15065
15066 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15067
15068         * text2.C (removeRow):
15069         * text.C (setHeightOfRow): remove useless (and costly) call to
15070         getRow.
15071
15072 2001-11-20  Allan Rae  <rae@lyx.org>
15073
15074         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15075         Now need Inset*::checkInsertChar() to return true for appropriate
15076         cases so that the characters in the minibuffer will actually be
15077         inserted.
15078
15079 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15080
15081         * text.C: change the order of the includes.
15082         (workWidth): initialize it at once.
15083         (workWidth): make maxw unsigned
15084         (setHeightOfRow): remove unused variable (inset)
15085         (selectSelectedWord): remove unused variable (inset)
15086         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15087
15088 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15089
15090         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15091         server is not running.
15092         (openConnection):
15093         (closeConnection): add debug info when server is disabled.
15094
15095         * ColorHandler.C (getGCForeground): send debug message to GUI
15096         channel.
15097
15098         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15099
15100         * kbmap.C (bind): modify because return conventions of
15101         kb_sequence::parse have changed.
15102
15103         * kbsequence.C (parse): only ignore spaces and not any stupid
15104         control character. This avoids tests like s[i] <= ' ', which are
15105         guaranteed to fail with 8bit characters and signed chars.
15106         Change return code to string::npos when there have been no error
15107         (0 was a bad idea when error is at first character)
15108
15109 2001-11-14  José Matos  <jamatos@fep.up.pt>
15110
15111         * buffer.h:
15112         * buffer.C (simpleDocBookOnePar): removed unused argument.
15113
15114 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15115
15116         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15117         insets which are part of a word. Paragraph::isLetter takes care of
15118         that now. Use Paragraph::isInset to identify insets.
15119         (selectSelectedWord): do not test for hyphenation break.
15120
15121         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15122         that protected spaces are considered as spaces.
15123
15124         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15125         Inset::isLetter.
15126
15127 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15128
15129         * lyxserver.h:
15130         * lyxserver.C: fix it. and small cleanup.
15131
15132 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15133
15134         * BufferView_pimpl.C: use inline helpers
15135
15136         * LaTeXFeatures.h:
15137         * LaTeXFeatures.C: fix typos
15138
15139         * Spacing.h:
15140         * Spacing.C: move spacing_string into class
15141
15142         * ToolbarDefaults.C: move stuff into namespace anon
15143
15144         * layout.h: update enum
15145
15146         * lyxfunc.C: use better debug
15147
15148         * minibuffer.h: fix typo
15149
15150         * debug.h:
15151         * debug.C:
15152         * WorkArea.C: add and use Debug::WORKAREA
15153
15154         * lyxtext.h:
15155         * text.C:
15156         * text2.C: code re-organisation, inline helpers
15157
15158 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15159
15160         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15161         std::vector.empty().
15162
15163 2001-11-09  Allan Rae  <rae@lyx.org>
15164
15165         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15166         '\n's after tables.  Tabular and ERT inset work now makes this no
15167         longer necessary.
15168
15169 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15170
15171         * minibuffer.h:
15172         * minibuffer.C: fix crash, improve drop-down completion
15173
15174 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15175
15176         * lyxserver.h:
15177         * lyxserver.C: invalidate fd's when doing endPipe()
15178
15179 2001-11-08  José Matos  <jamatos@fep.up.pt>
15180
15181         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15182         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15183
15184         * paragraph.h:
15185         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15186
15187 2001-11-07  José Matos  <jamatos@fep.up.pt>
15188
15189         * buffer.h:
15190         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15191         const qualifier.
15192
15193         * buffer.C (sgmlOpenTag):
15194         * buffer.C (sgmlCloseTag): removed debug info.
15195
15196         * buffer.h (sgmlOpenTag):
15197         * buffer.h (sgmlCloseTag): made public.
15198
15199 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15200
15201         * buffer.C (saveParamsAsDefaults):
15202         * lyx_cb.C (MenuLayoutSave): remove
15203
15204         * LyXAction.C (init):
15205         * commandtags.h:
15206         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15207
15208 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15209
15210         * buffer.C (setPaperStuff): removed from here...
15211
15212         * bufferparams.C (setPaperStuff): ... and moved there.
15213
15214 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * minibuffer.h:
15217         * minibuffer.C:
15218         * XFormsView.C: add support for drop-down completion
15219
15220 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15221
15222         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15223         commands.
15224
15225 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15226
15227         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15228         disabled.
15229
15230 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15231
15232         * lyx_main.C: change ref to known bugs
15233
15234 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15235
15236         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15237         to work around older babel problems.
15238
15239 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15240
15241         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15242
15243 2001-10-24  Juergen Vigna  <jug@sad.it>
15244
15245         * tabular-old.C (ReadOld): below variable changes reflected.
15246
15247         * tabular.[Ch]: added ltType struct for longtable header/footer
15248         defines and changed all instances where they are used. Added
15249         future support for double top/bottom rows.
15250
15251 2001-10-24  José Matos  <jamatos@fep.up.pt>
15252
15253         * buffer.h (docbookHandleCaption):
15254         * buffer.C (docbookHandleCaption): removed unused function.
15255         (makeDocBookFile): moved docbook supported version to v4.1.
15256
15257 2001-10-24  José Matos  <jamatos@fep.up.pt>
15258
15259         * tabular.h:
15260         * tabular.C (docbookRow): new function to export docbook code of a row.
15261         (DocBook): now honors the longtable flags.
15262
15263 2001-10-23  José Matos  <jamatos@fep.up.pt>
15264
15265         * LaTeXFeatures.h:
15266         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15267         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15268
15269         * buffer.C (makeLinuxDocFile):
15270         (makeDocBookFile): reworked the preamble, more clean, and with
15271         support for lyx defined entities. Changed the document declaration
15272         to be more XML friendly.
15273
15274         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15275         if we need to output XML that should be done with a filter.
15276
15277 2001-10-22  Juergen Vigna  <jug@sad.it>
15278
15279         * sp_pspell.h (class PSpell): add alive function needed in the
15280         controller to see if the spellchecker could be started.
15281
15282 2001-10-22  Juergen Vigna  <jug@sad.it>
15283
15284         * buffer.C (insertStringAsLines): modify the font for inserting
15285         chars in certain conditions by calling checkInsertChar(font).
15286
15287 2001-10-19  Juergen Vigna  <jug@sad.it>
15288
15289         * text.C (workWidth): use getRow instead of wrong algorithm.
15290         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15291
15292 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15293
15294         * lyxserver.h:
15295         * lyxserver.C:
15296         * lyx_main.h:
15297         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15298
15299 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15300
15301         * text.C (workWidth): do not search for the exact row when
15302         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15303         optimization for big documents.
15304
15305 2001-10-18  Juergen Vigna  <jug@sad.it>
15306
15307         * text.C (workWidth): new function with added Inset * parameter.
15308
15309 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15310
15311         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15312
15313         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15314         change return type of getColumnNearX.
15315
15316
15317         * text.C (changeRegionCase): use uppercase/lowercase instead of
15318         toupper/tolower.
15319         (leftMargin):
15320         (rightMargin): simplify code by factoring out the uses of
15321         textclasslist.
15322         (labelFill):
15323         (numberOfHfills):
15324         (setHeightOfRow):
15325         (appendParagraph): use Paragraph::size_type
15326
15327 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15328
15329         * vspace.C (asLatexString): add a missing break
15330
15331 2001-10-15  Herbert Voss  <voss@perce.de>
15332
15333         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15334
15335 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15338         is not available.
15339
15340 2001-10-10  André Pönitz <poenitz@gmx.net>
15341
15342         * lyxfunc.C: removed greek_kb_flag.
15343
15344 2001-10-10  Herbert Voss  <voss@perce.de>
15345
15346         * lyx_main.C: delete global string help_lyxdir.
15347
15348 2001-10-09  Herbert Voss  <voss@perce.de>
15349
15350         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15351
15352         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15353
15354         * lyx_main.C: added global string help_lyxdir.
15355
15356         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15357
15358 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15359
15360         * lyxrc.C (set_font_norm_type): support iso8859-4
15361
15362 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15363
15364         * LaTeX.C (deplog): add another regex for MikTeX
15365
15366 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15367
15368         * lyxrc.C (set_font_norm_type): support iso8859-3
15369
15370 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15371
15372         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15373
15374         * LaTeXFeatures.C: remove special case of french and index
15375
15376         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15377         before \begin{document}). This solves several incompatibilities.
15378
15379 2001-10-03  Garst Reese  <reese@isn.net>
15380
15381         * lyx_cb.C: change CheckTex error msg.
15382
15383 2001-10-03  José Matos  <jamatos@fep.up.pt>
15384
15385         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15386
15387 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15388
15389         * .cvsignore: update
15390
15391         * lyx_main.C (commandLineVersionInfo): use new style version info.
15392
15393         * buffer.C (writeFile):
15394         (makeLaTeXFile):
15395         (makeLinuxDocFile):
15396         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15397
15398         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15399
15400         * version.h: update to use stuff in version.C
15401
15402         * version.C.in: new file. Contains version information determined
15403         at compile time. This is a merging of version.h and
15404         version_info.h.in.
15405
15406 2001-10-03  Juergen Vigna  <jug@sad.it>
15407
15408         * BufferView_pimpl.C (update): don't change "dirty" status in
15409         updateInset call.
15410
15411 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15412
15413         * WorkArea.C (c-tor): re-position version string slightly.
15414
15415 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15416
15417         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15418         revert to previous code.
15419
15420         WorkArea.[Ch]: (show, destroySplash): methods removed.
15421
15422         WorkArea.C: rework code so that it's an amalgam of the codes before and
15423         after the splash screen was moved to WorkArea.
15424
15425 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15426
15427         * lyxrc.C (read):
15428         * vspace.C (inPixels):
15429         (lyx_advance):
15430         * kbmap.C (bind):
15431         * buffer.C (insertStringAsLines):
15432         (asciiParagraph): fix types to be large enough
15433
15434         * lyxlex_pimpl.h: change member status from short to int
15435
15436         * layout.h: fix type of endlabeltype
15437
15438         * kbmap.C (bind):
15439         * kbsequence.C (parse): change return type to string::size_type
15440
15441         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15442         variable
15443
15444         * Bullet.C (bulletSize):
15445         (bulletEntry): do not use short ints as parameters
15446
15447         * BufferView2.C (insertLyXFile): change a char to an int.
15448
15449         * WorkArea.C (WorkArea): remove unneeded floats in computation
15450
15451 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15452
15453         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15454
15455         * paragraph.C (asString): Do not ignore newline/hfill chars when
15456         copying to the clipboard.
15457
15458 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15459
15460         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15461         after a multi-line inset.
15462
15463 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15464
15465         * paragraph.C (validate): Set NeedLyXFootnoteCode
15466
15467 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15468
15469         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15470         and decrease-error to decrease.
15471
15472 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15473
15474         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15475         it more readable (should be equivalent)
15476
15477 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15478
15479         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15480
15481 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15482
15483         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15484         of a cursor (row, etc.) after a character has been deleted
15485         (deleteEmptyParagraphMechanism): call the method above on _all_
15486         cursors held by the LyXText when a double space has been
15487         detected/deleted.
15488
15489 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15490
15491         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15492         pixmap.
15493         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15494
15495         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15496         background. Use greyOut() and the new show() methods to toggle between
15497         the foreground and background. Add code to remove the splash after
15498         its initial showing.
15499
15500         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15501         (create_forms): no longer call Dialogs::showSplash.
15502
15503 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * .cvsignore: add version_info.h
15506
15507 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15508
15509         * version_info.h.in: new file
15510
15511         * Makefile.am: add version_info.h.in
15512
15513         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15514         version_info.h instead of VERSION_INFO
15515
15516 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15517
15518         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15519         The ERT inset now returns string().
15520
15521 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15522
15523         * lyxtext.h, text.C (selectNextWord): renamed as
15524         selectNextWordToSpellcheck.
15525
15526         * text.C (selectNextWordToSpellcheck): Modified to not select
15527         words inside an ERT inset.
15528
15529 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15530
15531         * lyx_cb.C (MenuLayoutSave): change a bit the question
15532
15533         * sp_base.h: include <sys/types.h>
15534
15535 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15536
15537         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15538
15539 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15540
15541         * several files: fix typos in user-visible strings
15542
15543 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15544
15545         * text2.C (pasteSelection): do not set the selection, since it
15546         will be cleared later. Actually, the intent was to fix the way the
15547         selection was set, but I figured rmoving the code was just as good.
15548
15549 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15550
15551         * FontLoader.C (available): Check if font is available without
15552         loading the font.
15553
15554 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15555
15556         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15557
15558 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15559
15560         * lyxrc.[Ch]: added display_graphics variable and associated code.
15561
15562 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15563
15564         * bufferparams.C (hasClassDefaults): new method. Returns true if
15565         the buffer parameters correspond to known class defaults
15566
15567 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15568
15569         * XFormsView.C (show): set minimum size to the main window.
15570
15571 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * text2.C (copySelection):
15574         (cutSelection):
15575         * lyxfind.C (LyXReplace):
15576         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15577         LyXText::selectionAsString.
15578
15579         * paragraph.C (asString): add "label" argument to the second form
15580
15581         * text2.C (selectionAsString): add "label" argument and pass it to
15582         Paragraph::asString.
15583
15584 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15585
15586         * lyx_main.C (commandLineHelp): remove version information
15587
15588 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15589
15590         * lyx_main.C: add -version commandline option
15591
15592 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15593
15594         * paragraph.h: make the optional constructor arg required instead.
15595         some modifications to other files because of this.
15596
15597         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15598
15599         * lyxserver.C (C_LyXComm_callback): make it static
15600
15601         * lyx_main.C (error_handler): make it static
15602
15603         * lyx_gui.C (LyX_XErrHandler): make it static
15604
15605         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15606
15607         * WorkArea.C: make the extern "C" methods static.
15608
15609         * Makefile.am (lyx_LDADD): simplify
15610
15611 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15612
15613         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15614         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15615
15616         * LyXAction.C (init):
15617         * lyxfunc.C (dispatch): associated code removal.
15618
15619 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15620
15621         * lyxfont.h (isSymbolFont): shut off warning
15622
15623         * text.C (setHeightOfRow):
15624         (getVisibleRow): fix crash with empty paragraphs which have a
15625         bottom line
15626
15627 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15628
15629         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15630         code.
15631
15632 2001-09-04  José Matos  <jamatos@fep.up.pt>
15633         * buffer.C
15634         * buffer.h
15635         * tabular.C (docbook): rename docBook method to docbook.
15636
15637 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15638
15639         * Makefile.am: add dependencies to main.o.
15640
15641 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15642
15643         * FontLoader.C (available): Return false if !lyxrc.use_gui
15644
15645 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15646
15647         * FontInfo.C (query):
15648         * converter.C (view):
15649         * importer.C (Import):
15650         * exporter.C (Export): Can not -> cannot.
15651
15652 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15653
15654         * BufferView_pimpl.C: allow to create index inset even if
15655           string is empty
15656
15657 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15658
15659         * buffer.C (getLists): replace boost::tie code with an explicit pair
15660         as boost::tie can break some compilers.
15661
15662         * iterators.h: Added a std:: declaration to the return type of
15663         ParIterator::size.
15664
15665 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15666
15667         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15668           case.
15669
15670 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15671
15672         * iterators.[Ch]: New files. Provide paragraph iterators.
15673
15674         * buffer.C (changeLanguage): Use paragraph iterators.
15675         (isMultiLingual): ditto
15676
15677         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15678
15679 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15680
15681         * FontLoader.C: Support for cmr font.
15682
15683 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15684
15685         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15686         (available): New method.
15687
15688         * FontInfo.C (getFontname): Use scalable fonts even when
15689         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15690         found.
15691
15692 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15693
15694         * converter.C (Formats::view): reverted! Incorrect fix.
15695
15696 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15697
15698         * converter.C (Formats::view): only output the -paper option
15699         if the dvi viewer is xdvi, thereby fixing bug #233429.
15700
15701 2001-08-23  Herbert Voss  <voss@perce>
15702
15703         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15704
15705 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15706
15707         * Spacing.h (Spacing): Set space to Default on in the default
15708         constructor.
15709
15710 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15711
15712         * vc-backend.h (RCS::versionString): add RCS to version
15713         (CVS::versionString): add CVS to version
15714
15715         * vc-backend.C (scanMaster): do not add CVS to version.
15716         (scanMaster): do not add RCS to version
15717
15718         * lyxvc.C (versionString): new method
15719
15720         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15721
15722 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15723
15724         * Spacing.C (set): initialize fval
15725
15726 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15727
15728         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15729         " or \.
15730
15731 2001-08-16  Juergen Vigna  <jug@sad.it>
15732
15733         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15734
15735 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15736
15737         * BufferView_pimpl.C:
15738         * figureForm.C:
15739         * lyxtext.h:
15740         * text2.C: setParagraph takes linespacing now
15741
15742 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15743
15744         * LyxAction.C: add internal LFUN_CITATION_INSERT
15745
15746         * LyXView.C: actually apply fix
15747
15748         * bufferlist.C: fix open non-existent file
15749
15750         * lyxfind.C: fix indentation
15751
15752         * lyxfunc.C: remove unneeded assert, fix typo
15753
15754 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15755
15756         * MenuBackend.C: use "Floatname List"
15757
15758 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15759
15760         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15761         when converting LaTeX layout to insetERT.
15762         Generate a non-collapsed float when reading old float
15763
15764 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15765
15766         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15767         ERT insets.
15768
15769 2001-08-13  Juergen Vigna  <jug@sad.it>
15770
15771         * text.C (fill): return 0 instead of 20 as this seems to be the more
15772         correct value.
15773
15774 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15775
15776         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15777         lyxrc.font_norm.
15778
15779 2001-08-13  Juergen Vigna  <jug@sad.it>
15780
15781         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15782         casesensitive off.
15783         (SearchBackward): comment out the unlocking of the inset_owner this
15784         should not be needed!
15785
15786 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15787
15788         * Many files: Remove inherit_language, and add latex_language
15789
15790         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15791         collapsible insets.
15792
15793 2001-08-10  Juergen Vigna  <jug@sad.it>
15794
15795         * text.C (prepareToPrint): fixed hfill-width in draw!
15796
15797         * BufferView2.C (selectLastWord): save the selection cursor as this
15798         now is cleared in the function LyXText::clearSelection!
15799
15800 2001-08-08  Juergen Vigna  <jug@sad.it>
15801
15802         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15803         BACKSPACE type functions.
15804
15805         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15806         is only cutted from the document but not put in the cut-buffer, where
15807         still the old stuff should be.
15808
15809         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15810
15811         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15812
15813         * tabular.C (SetWidthOfCell): fixed special case where the width
15814         was not updated!
15815         (LeftLine): handle '|' in align_special.
15816         (RightLine): ditto
15817         (LeftAlreadyDrawed): ditto
15818         (SetWidthOfCell): ditto
15819
15820 2001-08-07  Juergen Vigna  <jug@sad.it>
15821
15822         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15823
15824 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15825
15826         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15827         * lyxlex.[hC]: ditto
15828
15829 2001-08-06  Juergen Vigna  <jug@sad.it>
15830
15831         * text.C (getVisibleRow): fix up row clearing a bit.
15832
15833 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15834
15835         * minibuffer.C: make sure the X server sees the changes in the input.
15836
15837 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15838
15839         * paragraph.C (getFont): split into...
15840         (getLabelFont): this
15841         (getLayoutFont): and this
15842         * paragraph_pimpl.C (realizeFont): calling this
15843
15844         * text2.C (getFont): split into...
15845         (getLayoutFont): this
15846         (getLabelFont): and this
15847         (realizeFont): all three calling this
15848
15849         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15850         files where used.
15851
15852 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15853
15854         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15855
15856 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15857
15858         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15859         layouts from the Quote inset insertion.
15860
15861 2001-08-03  Juergen Vigna  <jug@sad.it>
15862
15863         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15864
15865         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15866         only if status not is already CHANGED_IN_DRAW (second level).
15867
15868         * text.C (draw): don't set the need_break_row when inside an
15869         InsetText LyXText.
15870
15871 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15872
15873         * buffer.C (parseSingleLyXformat2Token): handle more latex
15874         conversion cases.
15875
15876         * bufferview_funcs.[hC]: change function names to
15877         begin with small char, adjust other files.
15878
15879 2001-08-02  André Pönitz <poenitz@gmx.net>
15880
15881         * lyxfunc.C:
15882         BufferView_pimpl.C: remove broken special code for math-greek
15883
15884 2001-08-02  Juergen Vigna  <jug@sad.it>
15885
15886         * BufferView_pimpl.C (update): redone this function so that we
15887         update the text again if there was a CHANGE_IN_DRAW.
15888
15889         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15890         (drawFromTo): added a new internal bool which is used by draw() and
15891         redraw() function.
15892         (general): some cursor drawing problems fixed.
15893
15894 2001-08-01  Juergen Vigna  <jug@sad.it>
15895
15896         * lyxfind.C (LyXFind): fixed
15897         (SearchForward): ditto
15898         (SearchBackward): ditto
15899
15900         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15901         spurius drawing of the cursor in the main area.
15902
15903         * text2.C (status): small fix which could lead to a segfault!
15904         (clearSelection): remove unneeded BufferView param.
15905
15906 2001-08-01  André Pönitz <poenitz@gmx.net>
15907
15908         * lyxfunc.C: small change due to changed mathed interface
15909
15910 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15911
15912         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15913
15914 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15915
15916         * lyxfunc.c: fail gracefully if file doesn't exist
15917
15918         * LyXSendto.C:
15919         * buffer.C:
15920         * lyxfunc.C:
15921         * BufferView_pimpl.C: IsDirWriteable() proto changed
15922
15923         * LyXView.C: fix updateWindowTitle() to store the last title
15924
15925 2001-07-31  Juergen Vigna  <jug@sad.it>
15926
15927         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15928         the font (wrong since using of Paragraph::highestFontInRange).
15929
15930         * paragraph.C (highestFontInRange): added a default_size parameter.
15931
15932         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15933         (setHeightOfRow): reformat
15934
15935 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15936
15937         * converter.[hC] + affected files: move to (inital-char)lowercase
15938         function names.
15939
15940         * ParagraphParameters.C (ParagraphParameters): remove commented code
15941
15942         * PainterBase.[Ch]: remove commented code
15943
15944         * LaTeXFeatures.h: add "bool floats" for float.sty
15945
15946         * LaTeXFeatures.C (LaTeXFeatures): init floats
15947         (require): handle float
15948         (getPackages): do it with floats
15949
15950 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15951
15952         * BufferView_pimpl.C (Dispatch): improve handling of
15953         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15954
15955         * commandtags.h: #include lyxfont.h here temporarily to avoid
15956         keybinding bug.
15957
15958         * bufferlist.h: include LString.h here.
15959
15960 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15961
15962         * text2.C (getStringToIndex): new method.
15963
15964 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15965
15966         * *: Reduced header file dependencies all over.
15967
15968 2001-07-30  Baruch Even  <baruch@lyx.org>
15969
15970         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15971
15972 2001-07-29  Baruch Even  <baruch@lyx.org>
15973
15974         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15975
15976 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15977
15978         * ParameterStruct.h (endif): add a default constructor to make
15979         sure that all variables is initialized.
15980
15981         * ParagraphParameters.C (ParagraphParameters): adjust
15982
15983 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15984
15985         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15986         index; also, check that there is something to index, and that it
15987         does not span over several paragraphs.
15988         (doubleClick): use WHOLE_WORD_STRICT for double click.
15989
15990         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15991
15992         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15993         scheme.
15994
15995 2001-07-26  Baruch Even  <baruch@lyx.org>
15996
15997         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15998         an InsetFig figure, backwards compatible reading of old figure code.
15999
16000 2001-07-27  Juergen Vigna  <jug@sad.it>
16001
16002         * text2.C: font.realize function adaption.
16003
16004         * text.C (draw): add a warnings lyxerr text if needed.
16005
16006         * layout.C: font.realize function adaption.
16007
16008         * language.C: add inherit_language and implement it's handlings
16009
16010         * bufferview_funcs.C (StyleReset): remove language parameter from
16011         font creation (should be language_inherit now).
16012
16013         * bufferparams.C (writeFile): handle ignore_language.
16014
16015         * paragraph.C (getFontSettings): the language has to be resolved
16016         otherwise we have problems in LyXFont!
16017
16018         * lyxfont.C (lyxWriteChanges): added document_language parameter
16019         (update): removed unneeded language parameter
16020
16021         * paragraph.C (validate): fixed wrong output of color-package when
16022         using interface colors for certain fonts in certain environments,
16023         which should not seen as that on the final output.
16024
16025 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16026
16027         * BufferView_pimpl.C:
16028         * Thesaurus.h:
16029         * Thesaurus.C:
16030         * Makefile.am:
16031         * commandtags.h:
16032         * LyXAction.C: add thesaurus support
16033
16034         * lyxfind.h:
16035         * lyxfind.C: add "once" parameter, for thesaurus, to not
16036           move to the next match
16037
16038 2001-07-26  Juergen Vigna  <jug@sad.it>
16039
16040         * lyxfont.C (realize): honor ignore_language too!
16041         (resolved): ditto.
16042
16043         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16044
16045         * text.C (draw): one place more for ignore_language to not draw
16046         itself!
16047
16048 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16049
16050         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16051
16052 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16053
16054         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16055         the minipage conversion problem.
16056
16057 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16058
16059         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16060         insert an inset.
16061
16062 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16063
16064         * BufferView.h: don't forward declare WorkArea
16065
16066         * BufferView.C: don't include WorkArea.h
16067
16068 2001-07-25  André Pönitz <poenitz@gmx.net>
16069
16070         * commandtags.h:
16071         * LyXAction.C:
16072         * lyxfunc.C:  new LFUN 'math-space'
16073
16074         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16075
16076 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16077
16078         * text2.C (toggleInset): call open/close
16079
16080 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16081
16082         * lyxfunc.C (dispatch): add debug for the disabled case
16083
16084         * font.C (buttonText): make similar to rectText
16085
16086         * buffer.C (readInset): comment out parsing of insetlist and
16087         insttheorem
16088
16089         * PainterBase.C (rectText): small correction
16090
16091         * BufferView_pimpl.C: comment out insettheorem and insetlist
16092         * LyXAction.C: ditto
16093         * commandtags.h: ditto
16094
16095 2001-07-24  Juergen Vigna  <jug@sad.it>
16096
16097         * text.C (draw): honor the ignore_language.
16098
16099         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16100
16101 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16102
16103         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16104         char inset.
16105
16106 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16107
16108         * lyxtext.h: remove unused (and unimplemented) methods
16109
16110 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16111
16112         * text.C (getVisibleRow): honor background color
16113
16114         * PainterBase.h:
16115         * Painter.h: remove default color argument for fillRectangle
16116
16117         * text.C (backgroundColor): new method
16118
16119 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16120
16121         * text.C (getVisibleRow): adjust
16122
16123         * font.[Ch] (rectText): new method, metrics
16124         (buttonText): new method, metrics
16125
16126         * PainterBase.[hC]: make rectText and buttonText always draw and take
16127         fewer paramteres.
16128
16129 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16130
16131         * ToolbarDefaults.C (read):
16132         * MenuBackend.C (read): allow escaping in all strings
16133
16134         * BufferView_pimpl.C (insertAndEditInset): new method.
16135         (Dispatch): use insertAndEditInset whenever appropriate.
16136
16137         * BufferView_pimpl.C (insertNote): removed
16138
16139         * BufferView_pimpl.C (smartQuote): new method, moved from
16140         BufferView; if an insetquote cannot be inserted, insert a '"'
16141         character instead.
16142
16143         * BufferView2.C: remove insertCorrectQuote();
16144
16145         * lyxfunc.C (getStatus): Add support for all remaingin
16146         inset-insert lfuns.
16147
16148         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16149
16150         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16151         command (necessary to pass " as parameter of self-insert.
16152
16153         * text.C (selectWordWhenUnderCursor):
16154         (selectWord): add word_location parameter
16155         (selectWordWhenUnderCursor): same + remove special code for word
16156         boundary.
16157         (selectNextWord): use kind() to guess type of insetspecialchar,
16158         not latex().
16159
16160         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16161         (insertErtContents): create ert insets as collapsed.
16162         (readInset): better compatibility code for Info inset.
16163
16164 2001-07-20  Juergen Vigna  <jug@sad.it>
16165
16166         * lyxfunc.C (dispatch): use always LyXFind now!
16167
16168         * text2.C (init): add a reinit flag so that the LyXText can be
16169         reinited instead of deleted and reallocated (used in InsetText).
16170
16171         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16172
16173         * text.C: ditto
16174
16175         * text2.C: ditto
16176
16177 2001-07-18  Juergen Vigna  <jug@sad.it>
16178
16179         * text.C (selectNextWord): handle insets inside inset by calling
16180         always the bv->text functions so that we can go up the_locking_inset!
16181
16182         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16183         in strange locations when inside an inset!
16184
16185         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16186         handling to include insets.
16187
16188         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16189
16190 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16191
16192         * LyXAction.C (init):
16193         * commandtags.h:
16194         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16195         LIGATURE_BREAK, since the name is so stupid.
16196
16197 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16198
16199         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16200         InsetInfos.
16201
16202         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16203
16204         * sp_form.[Ch]: remove.
16205
16206         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16207
16208         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16209         InsetInfo.
16210
16211         * src/buffer.C (readInset): ditto.
16212
16213 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16214
16215         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16216         menuSeparator(), endOfSentenceDot(), ldots() and
16217         hyphenationPoint(), which are therefore removed.
16218         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16219
16220         * LyXAction.C (init):
16221         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16222
16223         * paragraph.C (getWord): removed.
16224
16225         * BufferView_pimpl.C (Dispatch): use last word or selection for
16226         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16227
16228         * lyx_main.C (queryUserLyXDir): do not ask before creating
16229         user_dir, except if it has been named explicitely.
16230
16231 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16232
16233         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16234         a document of zero size.
16235
16236 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16237
16238         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16239         approriately in the c-tor and in require().
16240         (getPackages): output the appropriate LaTeX for natbib support.
16241
16242         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16243         variables "use_natbib" and "use_numerical_citations" when reading the
16244         LyX file.
16245         (readInset): read the various natbib cite commands.
16246         (validate): white-space change.
16247
16248         * bufferparams.[Ch]: new variables "bool use_natbib" and
16249         "bool use_numerical_citations".
16250         (writeFile): output them in the LyX file.
16251
16252 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16253
16254         * lyxfunc.C (getStatus): add support for all the inset insertion
16255         commands.
16256
16257         * text2.C (insertInset):
16258         * paragraph.C (insetAllowed):
16259         * BufferView_pimpl.C (insertInset): update to take in account the
16260         renaming of insertInsetAllowed
16261
16262         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16263
16264         * text2.C (getInset): new method. returns inset at cursor position.
16265
16266         * BufferView_pimpl.C (Dispatch): changes because of this.
16267
16268         * LyXAction.C (init): rename open-stuff to inset-toggle.
16269
16270         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16271
16272         * text2.C (toggleInset): renamed from openStuff; use
16273         Inset::open().
16274
16275 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16276
16277         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16278
16279         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16280
16281 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16282
16283         * buffer.C (readLyXformat2): Add filename to the error dialog
16284
16285 2001-07-18  Juergen Vigna  <jug@sad.it>
16286
16287         * tabular.C (GetCellNumber): put an assert here instead of the check!
16288
16289 2001-07-17  Juergen Vigna  <jug@sad.it>
16290
16291         * BufferView_pimpl.C (toggleSelection): adapted too.
16292
16293         * text.C (selectNextWord): adapted for use with insets.
16294         (selectSelectedWord): ditto
16295
16296 2001-07-17  Juergen Vigna  <jug@sad.it>
16297
16298         * sp_spell.C (PSpell): fix initialitation order.
16299
16300 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16301
16302         * paragraph.C: spacing
16303
16304 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16305
16306         * sp_spell.C: repair language selection for pspell
16307
16308 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16309
16310         * lyxfunc.h: change more methods to begin with lower char.
16311
16312 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16313
16314         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16315         for unknown layouts.
16316
16317 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16318
16319         * buffer.C (readLyXformat2): Generate an error dialog if there are
16320         unknown layouts.
16321
16322 2001-07-16  Juergen Vigna  <jug@sad.it>
16323
16324         * sp_spell.C: always compile ISpell part.
16325
16326         * lyxrc.C: added use_pspell entry and it's handling.
16327
16328 2001-07-13  Juergen Vigna  <jug@sad.it>
16329
16330         * sp_spell.C: removed double includes.
16331
16332 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16333
16334         Consistent use of Lsstream.h:
16335         * Lsstream.h: added using std::stringstream for consistencies sake.
16336
16337         * buffer.C: removed using std::stringstream
16338
16339         * lyxfont.C (stateText):
16340         * paragraph.C (asString):
16341         * text.C (selectNextWord, selectSelectedWord):
16342         * text2.C (setCounter):
16343         * vspace.C (asString, asLatexString):
16344         std::ostringstream -> ostringstream.
16345
16346 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16347
16348         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16349         * commandtags.h: add LFUN_HELP_ABOUTLYX
16350         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16351
16352 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16353
16354         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16355         cursorToggle()
16356         * lyx_gui_misc.C: remove spellchecker
16357         * lyxfunc.C: showSpellchecker
16358         * sp_base.h: added
16359         * sp_ispell.h: added
16360         * sp_pspell.h: added
16361         * sp_spell.C: added
16362         * sp_form.[Ch]: removed
16363         * spellchecker.[Ch]: removed
16364
16365 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16366
16367         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16368         is set.
16369         (simpleTeXSpecialChars): Simply print the input character without
16370         any special translation if pass_thru is set.
16371
16372         * layout.h: Added bool pass_thru to layout class for being able to
16373         implement pass through of a paragraph for Literate Programming.
16374
16375         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16376         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16377         * layout.C (Read): add "passthru" to list of layout tags and add
16378         code to set the pass_thru boolean when it is read.
16379
16380 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16381
16382         * trans_decl.h: remove allowed from KmodInfo
16383
16384         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16385         remove allowed code
16386         (Load): adjust
16387
16388         * paragraph_pimpl.C (erase): use boost::prior
16389
16390         * Painter.C (text): use data() instead of c_str() when length is
16391         also provided.
16392         * WorkArea.C (putClipboard): ditto
16393         * font.h (width): ditto
16394
16395         * BufferView2.C: use it-> instead of (*it). for iterators
16396         * texrow.C: ditto
16397         * paragraph_pimpl.C: ditto
16398         * paragraph.C: ditto
16399         * minibuffer.C: ditto
16400         * language.C: ditto
16401         * kbmap.C: ditto
16402         * encoding.C: ditto
16403         * counters.C: ditto
16404         * converter.C: ditto
16405         * chset.C: ditto
16406         * Variables.C: ditto
16407         * TextCache.C: ditto
16408         * MenuBackend.C: ditto
16409         * LyXAction.C: ditto
16410         * LColor.C: ditto
16411         * FloatList.C: ditto
16412         * DepTable.C: ditto
16413         * ColorHandler.C (LyXColorHandler): ditto
16414
16415 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16416
16417         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16418
16419         * text2.C (openStuff): reintroduce this method (which had been
16420         nuked in NEW_INSETS frenzy).
16421
16422         * lyxfunc.C (Dispatch): when an action has not been handled, use
16423         its name in the error message, not its number.
16424
16425         * paragraph.C (inInset): change method name to begin with lowercase.
16426
16427         * undo_funcs.C:
16428         * text2.C: updates because of this.
16429
16430 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16431
16432         * ToolbarDefaults.C (add): add spaces in error message
16433
16434 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16435
16436         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16437         (readLyXformat2): rename return_par to first_par, use lyxlex's
16438         pushToken and remove the manual push handling.
16439         (parseSingleLyXformat2Token): add another ert comp. variable:
16440         in_tabular, rename return_par to first_par. handle newlines better
16441
16442 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16443
16444         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16445
16446 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16447
16448         * text2.C (getParFromID): removed
16449
16450         * buffer.C (getParFromID): new method moved form lyxtext.
16451         * BufferView2.C (insertErrors): adjust
16452         (setCursorFromRow): adjust
16453         * BufferView_pimpl.C (restorePosition): adjust
16454         * lyxfunc.C (Dispatch): adjust
16455         * undo_funcs.C (textUndo): adjust
16456         (textRedo): adjust
16457         (textHandleUndo): adjust
16458         (textHandleUndo): adjust
16459
16460 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16461
16462         * buffer.C: up' the LYX_FORMAT
16463
16464         * lyxfont.h: turn NO_LATEX on as default
16465
16466         * buffer.C (insertErtContents): new methods of tex style compability.
16467         (parseSingleLyXformat2Token): use it several places.
16468         * tabular.C (OldFormatRead): and here
16469
16470 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16471
16472         * text2.C: remove some commented code.
16473         reindent file.
16474
16475         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16476         * trans.C: changes because of the above.
16477
16478 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16479
16480         * text2.C (setCounter): Fix counters bug with bibliography layout.
16481
16482 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16483
16484         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16485         own member functions
16486         (simpleTeXSpecialChars): ditto
16487
16488 2001-07-06  Juergen Vigna  <jug@sad.it>
16489
16490         * a lot of files: changed the access to LyXText::status and the
16491         call of undo-functions.
16492
16493         * undo.[Ch]: added a inset_id to the undo informations.
16494
16495         * undo_funcs.[Ch]: added and moved here all undo functions.
16496
16497         * lyxtext.h: give the status enum a weight, made status_ a private
16498         variable and made accessor functions for it, removed the whole bunch
16499         of undo-functions as they are now in their own file, make some
16500         functions publically available. Added function ownerParagraph with
16501         int parameter.
16502
16503         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16504         made InInset() a const function, added getParFromID() function.
16505
16506         * buffer.[Ch]: added const version for inset_iterator functions,
16507         added getInsetFromID() function.
16508
16509         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16510         changed undo functions for new version.
16511
16512 2001-07-05  Juergen Vigna  <jug@sad.it>
16513
16514         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16515         unknow mechanism does not call the proper constructor but only this
16516         one also if I request the other!?
16517
16518 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16519
16520         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16521
16522         * text2.C (LyXText): use initialization lists.
16523
16524         * lyxtext.h (Selection): initialize set_ and mark_
16525         (init): remove method
16526
16527 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16528
16529         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16530
16531 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16532
16533         * screen.[Ch]: change method names to begin with lowercase
16534
16535         * BufferView_pimpl.C (updateScrollbar): simplify further and
16536         hopefully make it a bit faster.
16537
16538 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16539
16540         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16541         calling directly xforms functions.
16542
16543         * Painter.C (Painter):
16544         * lyx_cb.C (MenuWrite):
16545         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16546         fl_display.
16547
16548         * lyx_gui.C: remove bogus guiruntime extern declaration.
16549
16550 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16551
16552         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16553         in NEW_INSETS
16554         (redoDrawingOfParagraph): ditto
16555         (redoParagraphs): ditto
16556         (cutSelection): don't create a object for CutAndPaste use the
16557         static method directly
16558         (pasteSelection): ditto
16559
16560         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16561         LyXview (+ rename)
16562
16563 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16564
16565         * modifications to some other files because of this.
16566
16567         * Makefile.am (lyx_SOURCES): add XFormsView
16568
16569         * XFormsView.[Ch]: new files
16570
16571         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16572         the main window. Move the gui dependent stuff to XFormsView
16573
16574 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16575
16576         * tabular.C (GetCellInset): update cur_cell also in the row/col
16577         version of this function.
16578
16579         * lyxfunc.C: no need to include figure_form.h here.
16580
16581         * FontLoader.h:
16582         * lyxfunc.h:
16583         * lyxscreen.h:
16584         * text2.C:
16585         * lyxvc.C: no need to include forms.h here.
16586
16587 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16588
16589         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16590
16591         * lyxfunc.C (Dispatch):
16592         * Spacing.C (set):
16593         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16594         constructor argument.
16595
16596 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16597
16598         * paragraph.C (Paragraph): dont't clear, and just set layout.
16599         (makeSameLayout): use params's copy contructor.
16600
16601         * ParagraphParameters.[Ch] (makeSame): delete method
16602
16603 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16604
16605         * Variables.[Ch]: fix indentation, rename set to isSet
16606
16607 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16608
16609         * lyxfunc.C (Dispatch): fix typo
16610
16611 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16612
16613         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16614         upper_bound.
16615
16616         * bufferlist.C: include assert.h for emergencyWrite().
16617
16618 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16619
16620         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16621           give up at last (bug #425202) !
16622
16623 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16624
16625         * lyx_gui_misc.C:
16626         * sp_form.h:
16627         * sp_form.C:
16628         * spellchecker.h:
16629         * spellchecker.C: strip spellchecker options and bring up
16630           preferences tab instead
16631
16632 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16633
16634         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16635         the istringstream constructor
16636
16637 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16638
16639         * paragraph.C (getLayout): fix return value
16640
16641         * paragraph.h: do not declare getLayout as inline.
16642
16643         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16644
16645 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16646
16647         * lyxcursor.h (operator<): new func
16648         (operator>): new func
16649         (operator>=): new func
16650         (operator<=): new func
16651
16652         * text.C (changeCase): use selection.start and selection.end
16653         (changeRegionCase): require from to be <= to. Require par to be a
16654         valid paragraph.
16655
16656         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16657
16658 2001-06-27  Juergen Vigna  <jug@sad.it>
16659
16660         * text.C (cursorLeftOneWord): changed to return the cursor and added
16661         overlay with BufferView * parameter which calls this one.
16662         (getWord): added
16663         (selectWord): use new getWord function.
16664         (changeCase): renamed from changeWordCase as and extended to work
16665         also on selections.
16666
16667         * lyxtext.h: added enum word_location
16668
16669         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16670         changeCase as this operates now also on selections.
16671
16672 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16673
16674         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16675
16676         * many files: send debug output to Debug::INFO instead of
16677         Debug::ANY.
16678
16679         * converter.C (View):
16680         (Convert):
16681         (Move): send debug output to Debug::FILES instead of console.
16682
16683 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16684
16685         * lyxfunc.C (getStatus): use func_status
16686
16687         * func_status.h: new header, describing the results of
16688         LyXFunc::getStatus;
16689
16690         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16691         LFUN_MATH_HALIGN.
16692
16693 2001-06-25  The LyX Project  <jug@sad.it>
16694
16695         * buffer.C (sgmlOpenTag):
16696         (sgmlCloseTag):
16697         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16698
16699 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16700
16701         * text2.C: remove some dead code
16702
16703         * tabular.C (GetCellInset): store the last cell checked (gotten)
16704
16705         * tabular.h: add the helper for the speedup
16706
16707         * lyxtext.h: remove some dead code
16708
16709 2001-06-26  The LyX Project  <Asger>
16710
16711         * paragraph.C: Change export to LaTeX of alignment to
16712         \begin{center} and family for better roundtrip work with reLyX.
16713
16714         * Tune the math drawing a bit.
16715
16716 2001-06-25  The LyX Project  <Asger>
16717
16718         * LColor.C (LColor): New color for math background. New color
16719         for buttons.
16720
16721 2001-06-25  The LyX Project  <jug@sad.it>
16722
16723         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16724
16725         * lyxfunc.C (Open):
16726         * bufferlist.C (newFile): do not restrict to files ending with
16727         .lyx
16728
16729         * BufferView_pimpl.C (MenuInsertLyXFile):
16730
16731 2001-06-24  The LyX Project  <jug@sad.it>
16732
16733         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16734         of compare_no_case
16735
16736 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16737
16738         * lyxtext.h: rename most methods to begin with a small char.
16739         Lots of changes because of this.
16740
16741         * paragraph.C (Paragraph): do not call fitToSize
16742         (erase): call Pimpl::erase
16743         (insertChar): call Pimpl::insertChar
16744         (insertInset): call Pipl::insertInset
16745         (breakParagraph): do not call fitToSize
16746         (breakParagraphConservative): do not call fitToSize
16747         (fitToSize): remove method
16748
16749         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16750
16751 2001-06-24  The LyX Project  <Asger>
16752
16753         * Fix Qt compilation^2
16754
16755 2001-06-24  The LyX Project  <jug@sad.it>
16756
16757         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16758         depthHook(getDepth()-1).
16759
16760         * paragraph.h:
16761         * ParagraphParameters.h:
16762         * ParameterStruct.h: change type of depth to unsigned int ==
16763         depth_type. Many adaptations to other files before of that.
16764
16765 2001-06-24  The LyX Project  <Asger>
16766
16767         * Fix Qt compilation.
16768
16769 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16770
16771         * paragraph.h: renamed several methods to begin with small letter.
16772         several changes to many parts of the code because of this.
16773
16774 2001-06-23  The LyX Project  <jug@sad.it>
16775
16776         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16777         rewritten to discard all double spaces when KeepEmpty is off
16778         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16779         to only handle newlines but not fiddle with spaces and friends.
16780
16781         * lyxfunc.C (MenuNew): when doing 'new from template', use
16782         template_path as default directory
16783
16784 2001-06-23  The LyX Project  <Asger>
16785
16786         * Clean-up of header file includes all over
16787         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16788
16789 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16790
16791         * paragraph.h: renamed from lyxparagraph.h
16792
16793 2001-06-23  Asger  <lyx@violet.home.sad.it>
16794
16795         * Buffer.h: Removed Buffer::resize
16796         * BufferList.h: Removed BufferList::resize
16797         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16798         the document lazily when we change the width, or the font settings.
16799
16800 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16801
16802         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16803
16804 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16805
16806         * buffer.h: remove out of date comment
16807
16808 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16809
16810         * lyxscreen.h:
16811         * screen.C: fix "theoretical" GC leak
16812
16813 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16814
16815         * LaTeX.C (scanAuxFile):
16816         (deplog): remove trailing \r when reading stream (useful under
16817         win32)
16818
16819 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16820
16821         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16822         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16823         and BufferView::theLockingInset(Inset*), so should use them and not
16824         access bv_->text->the_locking_inset directly.
16825
16826         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16827
16828 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16829
16830         * Makefile.am:
16831         * tex-defs.h: remove old unused file
16832
16833 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16834
16835         * BufferView_pimpl.C: fix typo, remove minibuffer message
16836           when buffer has loaded
16837
16838 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16839
16840         * lyxfunc.C (Dispatch): use stringstream
16841         (MenuNew): use stringstream
16842         (Open): use stringstream
16843
16844         * importer.C (Import): use stringstream
16845
16846         * bufferview_funcs.C (CurrentState): use stringstream
16847
16848         * LaTeX.C (run): use stringstream
16849
16850         * BufferView_pimpl.C (savePosition): use stringstream
16851         (restorePosition): use stringstream
16852         (MenuInsertLyXFile): use stringstream
16853
16854 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16855
16856         * BufferView.C:
16857         * Bullet.C:
16858         * ColorHandler.C:
16859         * FontInfo.C:
16860         * FontLoader.C:
16861         * LColor.C:
16862         * LaTeXFeatures.C:
16863         * Painter.C:
16864         * gettext.C:
16865         * lyx_gui_misc.C:
16866         * lyxserver.C:
16867         * vspace.C: removed // -*- C++ -*- as first line.
16868
16869         * lyxfind.h:
16870         * version.h: added // -*- C++ -*- as first line.
16871
16872 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16873
16874         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16875
16876         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16877         of string
16878
16879 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16880
16881         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16882         of floats.
16883
16884 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16885
16886         * gettext.C: include LString.h even when --disable-nls is on.
16887
16888 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16889
16890         * converter.h (Get): changed argument type from int to
16891         FormatList::size_type to avoid unnecessary conversion.
16892
16893         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16894         before using it.
16895
16896 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16897
16898         * gettext.h: include LString.h even when --disable-nls is on.
16899
16900 2001-06-07  Juergen Vigna  <jug@sad.it>
16901
16902         * text.C (BreakAgain): subst spaces with tabs.
16903
16904         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16905         (resizeInsetsLyXText): set force on resizeLyXText.
16906
16907 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16908
16909         * gettext.h (gettext_init):
16910         (locale_init): use a real definition instead of a macro
16911
16912 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16913
16914         * Bufferview_pimpl.C:
16915         * LColor.h:
16916         * LColor.C: further lcolor tidies
16917
16918 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16919
16920         * BufferView_pimpl.C (updateScrollbar): simplify.
16921
16922         * BufferView2.C: don't include insets/insetinfo.h, change
16923         prototype for insertInset and call the Pimpl version. let
16924         updateInset call Pimpl version.
16925
16926         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16927         gotoInset to BufferView::Pimpl
16928
16929 2001-06-01  Juergen Vigna  <jug@sad.it>
16930
16931         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16932         inside a LockingInset (is the update needed at all?).
16933
16934 2001-05-31  Juergen Vigna  <jug@sad.it>
16935
16936         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16937         here not the old one otherwise how should we compare it afterwards
16938         if it's the same!
16939
16940 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16941
16942         * lyxfont.C:
16943         * tabular.C:
16944         * tabular-old.C:
16945         * FontInfo.C: bring C functions into global namespace when
16946         necessary
16947
16948 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16949
16950         * LString.h: make sure config.h has been loaded before LString.h.
16951
16952         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16953         (one for each char read by EatLine!).
16954
16955         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16956         variables.
16957
16958 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16959
16960         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16961         to the same as the par we break from
16962
16963 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16964
16965         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16966
16967         * MenuBackend.C (expand): also create menu entries for wide
16968         versions of the floats.
16969
16970         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16971
16972         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16973
16974         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16975         frontends/Makefile.am
16976
16977         * text2.C: adjust
16978         * text.C: adjust
16979
16980
16981         * tabular.C (getTokenValue): add std::
16982
16983         * tabular-old.C (getTokenValue): add std::
16984         (getTokenValue): ditto
16985         (getTokenValue): ditto
16986
16987         * screen.C (ToggleSelection): adjust
16988
16989         * lyxtext.h: put selection cursors inside a Selection struct.
16990
16991         * lyxfunc.C (moveCursorUpdate): adjust
16992
16993         * lyxfont.C (latexWriteStartChanges): add std::
16994
16995         * lyxfind.C: adjust
16996
16997         * font.h: delete with(char const *, LyXFont const &)
16998
16999         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17000
17001         * FontInfo.C (getFontname): add std::
17002
17003         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17004         (workAreaButtonPress): adjust
17005         (tripleClick): adjust
17006         (update): adjust
17007         (moveCursorUpdate): adjust
17008         (Dispatch): adjust
17009
17010         * BufferView2.C (gotoInset): adjust
17011
17012 2001-05-30  Juergen Vigna  <jug@sad.it>
17013
17014         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17015         to check pspell I add this as default as I now have new pspell
17016         libraries and they seem to use this.
17017
17018 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17019
17020         * text2.C (CutSelection): make the cursor valid before the call to
17021         ClearSelection.
17022
17023 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17024
17025         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17026         relied on 0 terminated strings and other horrors. Bug found due to
17027         the new assert in lyxstring!
17028
17029         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17030         KP_ keys.
17031
17032 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17033
17034         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17035         to latinkeys.bind.
17036
17037         * lyxfunc.C (processKeySym): change method of getting to the
17038         self-insert char.
17039
17040         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17041         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17042         * BufferView_pimpl.[Ch]: here as private methods.
17043
17044 2001-05-28  Juergen Vigna  <jug@sad.it>
17045
17046         * text.C (SetHeightOfRow): added the update() call again as it is
17047         needed to initialize inset dimensions!
17048
17049 2001-05-16  Juergen Vigna  <jug@sad.it>
17050
17051         * text2.C (SetCharFont): Add new function with BufferView * and
17052         bool toggleall parameters for setting insets internal fonts.
17053         (SetFont): Freeze the undo as we may change fonts in Insets and
17054         all this change should be inside only one Undo!
17055
17056         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17057         setting font's in insets as for them we have the SetFont function!
17058
17059 2001-05-15  Juergen Vigna  <jug@sad.it>
17060
17061         * text2.C (ClearSelection): to be sure we REALLY don't have any
17062         selection anymore!
17063
17064         * tabular.C (TeXCellPreamble): fixed the left border problem for
17065         multicolumn cells.
17066
17067 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17068
17069         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17070         dependancy file
17071
17072 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17073
17074         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17075         LFUN_BREAKPARAGRAPH.
17076
17077         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17078         help test to "internal only", similar for LFUN_INSERT_URL
17079
17080         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17081         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17082         auto_region_delete and deadkeys.
17083
17084 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17085
17086         * LColor.h:
17087         * LColor.C: remove some dead entries, tidy a little
17088
17089 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17090
17091         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17092         commented code.
17093         (Dispatch): implement LFUN_ESCAPE
17094
17095         * commandtags.h: add LFUN_ESCAPE
17096
17097         * LyXAction.C (init): add entry for LFUN_ESCAPE
17098
17099         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17100         Remove commented code.
17101         (insertNote): moved here
17102         (open_new_inset): moved here
17103
17104         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17105         BufferView_pimpl
17106
17107 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17108
17109         * kbmap.C (findbinding): clean it up and make it work correctly.
17110
17111         * lyx_main.C (init): do not pass argc and argv as parameters
17112
17113 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17114
17115         * buffer.C: fix path for OS/2 & Win32
17116
17117         * lyx_gui.C:
17118         * lyx_main:
17119         * lyx_main.C: Added os:: class.
17120
17121         * os2_defines.h: update
17122
17123 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17124
17125         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17126         better by trying again with reduced state.
17127
17128 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17129
17130         * lyxrc.C (read): print error about invalid key sequence only when
17131         debugging (because not all latinX keysyms are known to some X
17132         servers)
17133
17134         * kbsequence.C (getiso): add a few std:: qualifiers
17135         (getiso): comment out extra return statement.
17136
17137 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17138
17139         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17140         handling.
17141         (Dispatch): enhance the accent inset a bit. (not perfect)
17142
17143 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17144
17145         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17146
17147 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17148
17149         * bufferlist.C (emergencyWrite): fix assert() call
17150
17151 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17152
17153         * text.C (InsertChar): Added trivial patch to only send the "you
17154         can not do multiple spaces this way" message once during a
17155         session.
17156
17157 2001-05-08  Baruch Even  <baruch@lyx.org>
17158
17159         * Makefile.am: Changed order of libraries to get LyX to link properly
17160         with the gnome frontend.
17161
17162 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17163
17164         * LaTeXFeatures.h: add a std:: qualifier
17165
17166 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17167
17168         * paragraph.C (String): use stringstream
17169
17170 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17171
17172         * paragraph.C (writeFile): remove footflag arg
17173
17174         * buffer.C (makeLaTeXFile): use stringstream
17175         (latexParagraphs): remove footnot gurba
17176
17177         * LaTeXFeatures.C (getPackages): use stringstream
17178         (getMacros): likewise
17179         (getTClassPreamble): likewise
17180         (getFloatDefinitions): new method
17181
17182         * paragraph.C (writeFile): reindent
17183         (Erase): reindent
17184
17185         * WorkArea.h: revert the xpos + etc changes.
17186
17187         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17188
17189         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17190
17191         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17192         (pasteSelection): likewise
17193         * text2.C (CreateUndo): likewise
17194
17195 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17196
17197         * minibuffer.C (peek_event): temporarily reduce the functionality
17198         of the minibuffer (to allow args on lfuns)
17199
17200         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17201         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17202
17203         * buffer.C (readInset): add compability reading of old float
17204         lists, add reading of new style float list.
17205         (readInset): avoid reevaluation of inscmd.getCmdName()
17206         (getLists): reindent
17207
17208         * MenuBackend.C (MenuItem): implement parsing of
17209         md_floatlistinsert and md_floatinsert.
17210         (expand::LastFiles): move initalizaton of iterators out of loop,
17211         avoid reevaluation.
17212         (expand::Documents): introduce typdedef vector<string> Strings,
17213         and use it.
17214         (expand::ExportFormats): introduce typedef vector<Format const *>
17215         Formats, and use it.
17216         (expand): implement FloatListInsert and FloatInsert.
17217
17218         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17219         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17220         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17221
17222         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17223         handling.
17224         (Dispatch::LFUN_FLOAT_LIST): implement
17225
17226 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17227
17228         * LaTeX.C (run): Fix problem with --export code.
17229
17230 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17231
17232         * BufferView.[Ch] (workarea): removed.
17233         (getClipboard) new method; wrapper for workarea()->getClipboard()
17234
17235         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17236         bug.
17237
17238         * WorkArea.h (width, height, xpos, ypos): These methods all
17239         returned the dimensions of the work_area sub-area of WorkArea,
17240         resulting in a position error if the WorkArea were resized. Now
17241         return the dimensions of the entire WorkArea.
17242
17243         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17244
17245 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17246
17247         * LaTeX.C (deplog): correct the syntax of regex reg1
17248
17249 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17250
17251         * undo.C: remove !NEW_INSETS cruft
17252
17253 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17254
17255         * text2.C: remove !NEW_INSETS cruft
17256
17257         * text.C: remove !NEW_INSETS cruft
17258
17259         * tabular.C: remove !NEW_INSETS cruft
17260
17261         * spellchecker.C: remove !NEW_INSETS cruft
17262
17263         * lyxtext.h: remove !NEW_INSETS cruft
17264
17265         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17266
17267         * lyxfunc.C: remove !NEW_INSETS cruft
17268
17269         * lyxfind.C: remove !NEW_INSETS cruft
17270
17271         * lyx_cb.C: remove !NEW_INSETS cruft
17272
17273         * figureForm.C: remove  !NEW_INSETS cruft
17274
17275         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17276
17277         * buffer.[Ch]: remove !NEW_INSETS cruft
17278
17279         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17280
17281         * CutAndPaste.C: remove !NEW_INSETS cruft
17282
17283         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17284
17285         * BufferView2.C: remove !NEW_INSETS cruft
17286
17287         * BufferView.h: remove !NEW_INSETS cruft
17288
17289 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17290
17291         * Lsstream.h: include LString.h before the sstream headers to
17292         fix problem with gcc 2.95.3 and lyxstring
17293
17294 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17295
17296         * lyx_main.C: add using directives when needed for C functions
17297         declared in std:: namespace.
17298
17299 2001-04-27  Juergen Vigna  <jug@sad.it>
17300
17301         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17302         (SetHeightOfRow): comment out the update call should not be needed!
17303
17304 2001-04-13  Juergen Vigna  <jug@sad.it>
17305
17306         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17307         (LyXTabular): tried to minimize operator= operations (and realized
17308         hopfully Lars wish).
17309
17310 2001-04-27  Juergen Vigna  <jug@sad.it>
17311
17312         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17313
17314 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17315
17316         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17317
17318         * buffer.C (readInset): hack to make listof algorithm work
17319
17320         * BufferView_pimpl.C: hack to make listof algorithm work
17321
17322 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17323
17324         * LyXAction.C: removed all !NEW_INSETS cruft
17325         (init): moved lfun_item in method
17326
17327         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17328
17329 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17330
17331         * BufferView2.C (theLockingInset): white space.
17332
17333 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17334
17335         * minibuffer.C: include <iostream>
17336
17337         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17338
17339         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17340
17341         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17342
17343         * text.[Ch] (TransposeChars): new method
17344
17345 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17346
17347         * call message directly through LyXView instead of through LyXFunc
17348         * BufferView2.C: adjust
17349         * BufferView_pimpl.C: adjust
17350         * FontLoader.C: adjust
17351         * buffer.C: adjust
17352         * bufferview_funcs.C: adjust
17353         * converter.C: adjust
17354         * figureForm.C: adjust
17355         * importer.C: adjust
17356         * lyx_cb.C: adjust
17357         * lyx_gui_misc.C: adjust
17358         * lyxfunc.C: adjust
17359         * lyxvc.C: adjust
17360         * text2.C: adjust
17361         + more files in subdirs
17362
17363         * lyxparagraph.h (size): move up int file
17364         (GetLayout): ditto
17365
17366         * adjust all uses of Assert to lyx::Assert.
17367
17368         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17369         lyxfunctional in namespace lyx
17370         * layout.C (hasLayout): ditto
17371         (GetLayout): ditto
17372         (GetLayout): ditto
17373         (delete_layout): ditto
17374         (NumberOfClass): ditto
17375         * converter.C (GetFormat): ditto
17376         (GetNumber): ditto
17377         (Add): ditto
17378         (Delete): ditto
17379         (SetViewer): ditto
17380         * bufferlist.C (getFileNames): ditto
17381         (emergencyWriteAll): ditto
17382         (exists): ditto
17383         (getBuffer): ditto
17384         * MenuBackend.C (hasSubmenu): ditto
17385         (hasMenu): ditto
17386         (getMenu): ditto
17387         * BufferView_pimpl.C (getInsetByCode): ditto
17388
17389 2001-04-18  Juergen Vigna  <jug@sad.it>
17390
17391         * vspace.C (asLatexString): fixed the 100% problem.
17392
17393 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17394
17395         * lyxfunc.C (Dispatch):
17396         * minibuffer.C:
17397         * minibuffer.h: add a few std:: qualifiers
17398
17399 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17400
17401         * minibuffer.[Ch]: reimplement so that commands is initiated and
17402         run from lyxfunc, simplified som handling, and made the completion
17403         and history code for complete. wip.
17404
17405         * lyxfunc.C (processKeySym): call message
17406         (miniDispatch): new temporary method
17407         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17408         (LFUN_MESSAGE): implement
17409         (LFUN_MESSAGE_PUSH): implement
17410         (LFUN_MESSAGE_POP): implement
17411         (initMiniBuffer): the initial/defualt minibuffer message.
17412
17413         * lyxfont.[Ch]: inline some more getters
17414
17415         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17416
17417         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17418
17419         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17420         (AutoSave): use LFUN_MESSAGE
17421         (Reconfigure): ditto
17422
17423         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17424
17425         * figureForm.C: use LFUN_MESSAGE
17426
17427         * converter.C (runLaTeX): use LFUN_MESSAGE
17428
17429         * bufferview_funcs.C: use LFUN_MESSAGE
17430         (Melt): ditto
17431         (changeDepth): ditto
17432
17433         * bufferparams.h: use boost::
17434
17435         * bufferlist.h: inherit privately from noncopyable
17436
17437         * bufferlist.C (loadLyXFile): remove some commented code.
17438
17439         * buffer.C (runChktex): use LFUN_MESSAGE
17440
17441         * ShareContainer.h: inherit privately from noncopyable
17442
17443         * ParagraphParameters.[hC] (depth): inline it.
17444
17445         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17446         methods.
17447         (message): new method
17448         (messagePush): ditto
17449         (messagePop): ditto
17450         (show): init minibuffer
17451         (showState): direct call
17452
17453         * LaTeX.[Ch]: inherit privately from noncopyable
17454         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17455         instead of WriteStatus.
17456
17457         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17458
17459         * BufferView_pimpl.C (buffer): don't init minibuffer
17460         (workAreaButtonPress): use LFUN_MESSAGE
17461         (workAreaButtonRelease): ditto
17462         (savePosition): ditto
17463         (restorePosition): ditto
17464         (MenuInsertLyXFile): ditto
17465         (workAreaExpose): don't init minibuffer
17466         (update): remove commented code, simplify
17467
17468         * BufferView2.C (openStuff): use LFUN_MESSAGE
17469         (toggleFloat): ditto
17470         (menuUndo): ditto
17471         (menuRedo): ditto
17472         (copyEnvironment): ditto
17473         (pasteEnvironment): ditto
17474         (copy): ditto
17475         (cut): ditto
17476         (paste): ditto
17477         (gotoInset): ditto
17478         (updateInset): remove some commented code
17479
17480         * lastfiles.h: inherit privately from noncopyable
17481         * layout.h: ditto
17482         * lyx_gui.h: ditto
17483         * lyx_main.h: ditto
17484         * lyxlex.h: ditto
17485         * lyxlex_pimpl.h: ditto
17486
17487         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17488         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17489         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17490
17491         * LyXAction.h: inherit privately from noncopyable, add methods
17492         func_begin, func_end, returning iterators to the func map.
17493
17494         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17495         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17496         (func_begin): new method
17497         (func_end): new method
17498
17499         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17500         and not)
17501         (copySelection): ditto
17502         (pasteSelection): ditto
17503
17504         * BufferView.C: whitespace change
17505         * BufferView.h: inherit privately from noncopyable
17506
17507 2001-04-16  Allan Rae  <rae@lyx.org>
17508
17509         * tabular-old.C (l_getline):
17510         * spellchecker.C (sc_check_word):
17511         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17512         an unrecognised preprocessor directive.  So ensure they're wrapped.
17513
17514 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17515
17516         * src/exporter.C (Export): Give an error message when path to file
17517         contains spaces.
17518
17519 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17520
17521         * LaTeX.C (deplog): Always check that foundfile exists.
17522
17523 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17524
17525         * lyx_main.h:
17526         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17527
17528 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17529
17530         * tabular.[Ch] (getLabelList): implement new method
17531
17532         * minibuffer.h: comment ouf setTiimer
17533
17534         * minibuffer.C (ExecutingCB): constify res
17535         (peek_event): constify s
17536         (Set): constify ntext
17537         (Init): constify nicename
17538
17539         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17540
17541         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17542         (savePosition): use two params to Minibuffer::Set
17543         (restorePosition): ditto
17544
17545 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17546
17547         * lyx_main.C: include language.h
17548
17549         * Makefile.am (lyx_main.o): add language.h
17550
17551 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17552
17553         * exporter.C:
17554         * paragraph.C:
17555         * screen.C:
17556         * tabular.C:
17557         * CutAndPaste.C: include gettext.h
17558
17559         * lyxfont.h: remove old hack with ON and OFF.
17560
17561         * lyxparagraph.h:
17562         * lyxfont.h: do not include language.h...
17563
17564         * BufferView2.C:
17565         * LaTeXFeatures.C:
17566         * Painter.C:
17567         * bufferview_funcs.C:
17568         * font.C:
17569         * lyxfont.C:
17570         * text.C:
17571         * text2.C:
17572         * trans_mgr.C:
17573         * paragraph.C: ... but do it here instead
17574
17575 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17576
17577         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17578
17579         * tabular.C: small reformat
17580
17581         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17582         NEW_INSETS version
17583         (GetChar): ditto
17584         (BreakParagraph): ditto
17585         (SetOnlyLayout): ditto
17586         (SetLayout): ditto
17587
17588         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17589         with one arg less.
17590
17591         * lastfiles.C: removed most using decl, add std:: where needed
17592
17593         * buffer.C: ws changes
17594
17595         * MenuBackend.C (class compare_format): put into anon namespace
17596         (expand): constify label, names, action, action2
17597         (expand):
17598
17599         * text.C (SingleWidth): constify font
17600         (IsBoundary): constify rtl2
17601         (GetVisibleRow): constify ww
17602
17603         * LaTeX.C (deplog): constify logfile
17604
17605         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17606         start_x, end_x
17607         (workAreaExpose): constify widthChange, heightChange
17608
17609         * lyxrow.C (par): moved
17610         (height): moved
17611         (next): moved
17612         * lyxrow.h: as inlines here
17613
17614         * lyxfont.h (shape): moved from lyxfont.C
17615         (emph): moved from lyxfont.C
17616
17617         * lyxfont.C (LyXFont): use initialization list for all
17618         constructors
17619         (shape): move to lyxfont.h as inline
17620         (emph): move to lyxfont.h as inline
17621
17622
17623 2001-04-04  Juergen Vigna  <jug@sad.it>
17624
17625         * vspace.C: had to include stdio.h for use of sscanf
17626
17627 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17628
17629         * BufferView.h:
17630         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17631         independent of xforms.
17632
17633 2001-04-02  Juergen Vigna  <jug@sad.it>
17634
17635         * spellchecker.C: fixed namespace placing!
17636
17637 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17638
17639         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17640         the LyXParagraph * is 0.
17641
17642 2001-03-29  Juergen Vigna  <jug@sad.it>
17643
17644         * vspace.C: added support for %, c%, p%, l%.
17645         (stringFromUnit): added helper function.
17646         (asLatexString): changed to give right results for the %-values.
17647
17648         * buffer.C: convert the widthp in a width%.
17649
17650 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17651
17652         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17653         figureForm.[Ch].
17654
17655         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17656         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17657
17658         * lyx_cb.[Ch]: see above.
17659
17660         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17661         form1.[Ch].
17662
17663         * form1.[Ch]:
17664         * lyx.[Ch]: replaced by figure_form.[Ch].
17665
17666         * lyx_gui.C:
17667         * lyx_gui_misc.C:
17668         * lyxfunc.C: changed headers associated with above changes.
17669
17670 2001-03-27  Juergen Vigna  <jug@sad.it>
17671
17672         * BufferView_pimpl.C: set the temporary cursor right!
17673
17674 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17675
17676         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17677
17678 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17679
17680         * LString.h: removed "using std::getline"!
17681
17682         * BufferView_pimpl.C (Dispatch): changes due to changes in
17683         InsetInclude::Params.
17684
17685         * buffer.C (tag_name): removed redundant break statements as they were
17686         producing lots of warnings with my compiler.
17687
17688 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17689
17690         * LString.h: add "using std::getline" when using the real <string>.
17691
17692 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17693
17694         * buffer.C: removed bitset usage.
17695         PAR_TAG moved to an anonymous name space.
17696         (tag_name): new funtion, also in the anonymous namespace.
17697         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17698         (makeDocBookFile): clean code. Completed transition from string arrays
17699         to string vectors.
17700         (SimpleDocBookOnePar): code clean.
17701
17702 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17703
17704         * tabular.C: add some comments.
17705
17706 2001-03-22  Juergen Vigna  <jug@sad.it>
17707
17708         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17709         compatibility read a bit and fixed bug with minipage in different
17710         depth.
17711
17712 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17713
17714         * buffer.C (pop_tag): removed.
17715         (push_tag): removed.
17716         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17717         array replaced with vector. Added support for CDATA sections.
17718         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17719         at any nest level.
17720         (makeDocBookFile): XML conformant declaration of CDATA section,
17721         fixed bug related to <emphasis> in the first paragraph char.
17722         (sgmlOpenTag): exclude empty tags.
17723         (sgmlCloseTag): ditto.
17724
17725         * buffer.h (pop_tag): removed.
17726         (push_tag): removed.
17727
17728 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17729
17730         * language.h (Languages): added size_type and size().
17731
17732 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17733
17734         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17735         response on compability reading of minipages. One probliem is that
17736         the old usage of minipages was flertydig
17737
17738         * several files here and in subdirs: don't use static at file
17739         scope use anon namespaces instead.
17740
17741 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17742
17743         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17744         LaTeX output. This is necessary for Literate document
17745         processing.
17746
17747 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17748
17749         * buffer.C: insert hfill when needed.
17750
17751         * tabular.C (l_getline): use string::erase, small whitespace change.
17752
17753         * BufferView_pimpl.C: try the anon namespace.
17754         * WorkArea.C: ditto
17755
17756 2001-03-16  Juergen Vigna  <jug@sad.it>
17757
17758         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17759         otherwise it won't open options-dialogs.
17760
17761         * buffer.C: honor pextraWidth(p) on converting minipages.
17762
17763         * tabular.C (l_getline): changed the functions to strip trailing \r.
17764
17765 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17766
17767         * BufferView_pimpl.C:
17768         * minibuffer..C: added "using SigC::slot" declaration.
17769
17770 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17771
17772         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17773
17774         * text2.C: ditto
17775
17776         * text.C: ditto
17777
17778         * paragraph.C: ditto
17779
17780         * lyxtext.h: NO_PEXTRA
17781
17782         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17783
17784         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17785         * ParameterStruct.h: ditto
17786         * ParagraphParameters.h: ditto
17787         * lyxparagraph.h: ditto
17788
17789 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17790
17791         * buffer.C: add compability for minipage alignment.
17792         (latexParagraphs): remove unwanted pextra check.
17793
17794         * several files: remove CXX_WORKING_NAMESPACES
17795
17796         * buffer.C (pop_tag): tie is in namespace boost
17797
17798         * BufferView.h: noncopyable is in namespace boost
17799         * lyxlex.h: ditto
17800         * lyx_main.h: ditto
17801         * lyx_gui.h: ditto
17802         * layout.h: ditto
17803         * lastfiles.h: ditto
17804         * bufferlist.h: ditto
17805         * ShareContainer.h: ditto
17806         * LyXView.h: ditto
17807         * LyXAction.h: ditto
17808         * LaTeX.h: ditto
17809
17810 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17811
17812         * Merging changes from BRANCH_MVC back into HEAD.
17813
17814         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17815
17816 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17817
17818         * BufferView_pimpl.C: change from intl.C
17819
17820         * combox.h:
17821         * combox.C:
17822         * Makefile.am: move combox.*
17823
17824         * form1.h:
17825         * form1.C:
17826         * lyx_gui.C:
17827         * intl.h:
17828         * intl.C: remove dialog (covered by prefs)
17829
17830 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17831
17832         * lyxfunc.C (Dispatch): removed redundant break statement.
17833
17834 2001-03-14  Juergen Vigna  <jug@sad.it>
17835
17836         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17837
17838 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17839
17840         * buffer.C: add hack to fix compability reading of minipages.
17841
17842 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17843
17844         * buffer.C (getLists): Cleanup.
17845
17846 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17847
17848         * lyxfont.C (update): don't honor toggleall on font size.
17849
17850 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17851
17852         * bmtable.c:
17853         * bmtable.h:
17854         * Makefile.am: moved to frontends/xforms/
17855
17856         * lyx_gui_misc.C:
17857         * lyxfunc.C:
17858         * BufferView_pimpl.C: changes for moved mathpanel
17859
17860 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17861
17862         * gettext.h: fix gettext_init() in --disable-nls
17863
17864 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17865
17866         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17867
17868 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17869
17870         * lyx.C:
17871         * lyx.h: strip external form
17872
17873 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17874
17875         * BufferView_pimpl.C: add comment, destroySplash()
17876
17877 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17878
17879         * BufferView_pimpl.C:
17880         * LyXAction.C:
17881         * buffer.C:
17882         * commandtags.h:
17883         * lyxfunc.C: use re-worked insetinclude
17884
17885 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17886
17887         * buffer.C: add using std::stringstream.
17888
17889         * lyx_cb.C: readd using std::ios.
17890
17891         * buffer.C: add using std::map.
17892
17893         * BufferView_pimpl.C: add using std::vector.
17894
17895         * ShareContainer.h: add std:: to swap.
17896
17897         * buffer.h: add some typedefs
17898         * buffer.C (getLists): use them
17899         (getLists): renamed from getTocList.
17900         add a counter for the different float types and use it in the
17901         generated string.
17902         (getLists): use the same counter for the NEW_INSETS and the "non"
17903         NEW_INSETS
17904
17905         * lyx_cb.h: remove unused items, includes, using etc.
17906
17907         * ShareContainer.h: remove some commented code, add more comments
17908         and "documentation".
17909
17910 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17911
17912         * buffer.C (getTocList): make the list also when NEW_INSETS is
17913         defined.
17914
17915         * buffer.h: remove TocType
17916
17917         * buffer.C (getTocList): change to return a map<string,
17918         vector<TocItem> >, implement for dynamic number of list.
17919
17920         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17921         * text2.C (PasteSelection): adjust
17922         * CutAndPaste.C (pasteSelection): adjust
17923
17924         * FloatList.C (FloatList): update from the new_insets branch.
17925         * Floating.[Ch]: ditto
17926         * LaTeXFeatures.C: ditto
17927         * buffer.C: ditto
17928         * lyxlex_pimpl.C: ditto
17929
17930         * paragraph.C (Last): remove when NEW_INSETS is defined.
17931
17932         * other file: changes because of the above.
17933
17934 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17935
17936         * lyxparagraph.h: rename next to next_, previous to previous_,
17937         make them private for NEW_INSETS. Rename Next() to next(),
17938         Previous() to previous().
17939
17940         * other files: changes because of the above.
17941
17942 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17943
17944         * BufferView.h:
17945         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17946         problem.
17947
17948 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17949
17950         * main.C (main): pass lyx_localedir to gettext_init().
17951
17952         * gettext.h: remove locale_init and gettext_init macros
17953
17954         * gettext.C (locale_init): new function
17955         (gettext_init): new function
17956
17957         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17958         setlocale().
17959
17960 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17961
17962         * Moved credits to frontends:
17963         * credits.[Ch]: removed
17964         * credits_form.[Ch]: removed
17965         * lyx_gui_misc.C: remove credits stuff
17966         * Makefile.am:
17967
17968 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17969
17970         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17971
17972         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17973         unneeded destructor.
17974
17975         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17976         a standalone pointer again.
17977
17978         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17979
17980 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17981
17982         * Makefile.am:
17983         * filedlg.h:
17984         * filedlg.C:
17985         * LyXAction.C:
17986         * ToolbarDefaults.C:
17987         * bufferlist.C:
17988         * commandtags.h:
17989         * form1.C:
17990         * form1.h:
17991         * lyx_cb.C:
17992         * lyx_cb.h:
17993         * lyxfunc.h:
17994         * lyxfunc.C:
17995         * BufferView_pimpl.C: use new file dialog in GUII
17996
17997         * lyx_cb.h:
17998         * lyx_cb.C: remove LayoutsCB to Toolbar
17999
18000 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18001
18002         * ShareContainer.h (get): add std:: qualifier
18003
18004 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18005
18006         * ShareContainer.h: define a proper ShareContainer::value_type
18007         type (and use typename to please compaq cxx)
18008
18009 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18010
18011         * lyxparagraph.h: move serveral local vars to
18012         ParameterStruct/ParagraphParameters., use ShareContainer in
18013         FontTable., make vars in FontTable private and add getter and
18014         setter.
18015
18016         * paragraph.C: changes because of the above.
18017
18018         * lyxfont.h: remove copy constructor and copy assignment. (the
18019         default ones is ok), move number inside FontBits. move inlines to
18020         lyxfont.C
18021
18022         * lyxfont.C: add number to initializaton of statics, move several
18023         inlines here. constify several local vars. some whitespace
18024         cleanup. Dont hide outerscope variables.
18025
18026         * Spacing.h: add two new constructors to match the set methods.
18027
18028         * ShareContainer.h: new file, will perhaps be moved to support
18029
18030         * ParameterStruct.h: new file
18031
18032         * ParagraphParameters.h: new file
18033
18034         * ParagraphParameters.C: new file
18035
18036         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18037         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18038
18039         * BufferView_pimpl.C: ParagraphParameter changes.
18040         * buffer.C: Likewise.
18041         * bufferview_funcs.C: Likewise.
18042         * text.C: Likewise.
18043         * text2.C: Likewise.
18044
18045 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18046
18047         * lyxfind.C (LyXReplace): do not redefine default argument in
18048         implementation.
18049         (IsStringInText): ditto
18050         (SearchForward): ditto
18051         (SearchBackward): ditto
18052
18053 2001-03-06  Juergen Vigna  <jug@sad.it>
18054
18055         * lyxfind.C (IsStringInText): put parentes around expressions.
18056
18057 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18058
18059         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18060
18061 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18062
18063         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18064
18065         * stl_string_fwd.h: add comment
18066
18067         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18068
18069         * tabular.h:
18070         * tabular.C: remove unused DocBook methods
18071
18072         * intl.C:
18073         * language.C:
18074         * paragraph.C:
18075         * buffer.C:
18076         killed DO_USE_DEFAULT_LANGUAGE
18077
18078 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18079
18080         * lyx_gui.C: do not include language.h.
18081
18082         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18083         arguments in function implementation.
18084
18085 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18086
18087         * BufferView_pimpl.C: add <ctime>
18088
18089 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18090
18091         * BufferView_pimpl.C: add using std::find_if
18092
18093 2001-02-27  José Matos  <jamatos@fep.up.pt>
18094
18095         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18096         by OnlyPath.
18097
18098 2001-02-11  José Matos  <jamatos@fep.up.pt>
18099
18100         * buffer.C (makeDocBookFile): command styles now have a parameter as
18101         "title" by default.
18102
18103 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18104
18105         * layout_forms.[Ch]: removed
18106         * lyx_cb.[Ch]: out character
18107         * lyx_gui.C: out character
18108         * lyx_gui_misc.C: out character
18109         * bufferview_funcs.C: : out character,
18110         added toggleall as parameter in ToggleAndShow
18111
18112 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18113
18114         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18115
18116         * text2.C (SetCurrentFont): Disable number property at boundary.
18117
18118 2001-02-26  Juergen Vigna  <jug@sad.it>
18119
18120         * lyxfunc.C (getStatus): added a string argument override function so
18121         that this is correctly called from LyXFunc::Dispatch if it contains a
18122         do_not_use_argument which is used!
18123         (Dispatch): added check for "custom" export and call appropriate func.
18124
18125 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18126
18127         * lyxrc.C: Add language_command_local, language_use_babel and
18128         language_global_options.
18129
18130         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18131
18132         * buffer.C (makeLaTeXFile): Use language_use_babel and
18133         language_global_options.
18134
18135 2001-02-23  Juergen Vigna  <jug@sad.it>
18136
18137         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18138         which works with LyXText and putted it inside BufferView. Here now we
18139         only call for that part the BufferView::Dispatch() function.
18140
18141         * BufferView.C (Dispatch): added.
18142
18143         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18144         functions which needs to use a LyXText over from LyXFunc.
18145         (MenuInsertLyXFile): added
18146         (getInsetByCode): added
18147         (moveCursorUpdate): added
18148         (static TEXT): added
18149
18150 2001-02-22  Juergen Vigna  <jug@sad.it>
18151
18152         * BufferView_pimpl.C (update): call a status update to see if LyXText
18153         needs it.
18154
18155 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18156
18157         * vc-backend.C (revert): implement for CVS
18158         (getLog): implement for CVS
18159
18160 2001-02-20  Juergen Vigna  <jug@sad.it>
18161
18162         * text2.C (ClearSelection): added BufferView param for inset_owner call
18163
18164         * lyxfunc.C (TEXT): added this function and use it instead of
18165         directly owner->view()-text of getLyXText().
18166
18167 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18168
18169         * src/layout_forms.C: out preamble
18170         * src/layout_forms.h: out preamble
18171         * src/lyx_cb.C: out preamble
18172         * src/lyx_cb.h: out preamble
18173         * src/lyx_gui.C: out preamble
18174         * src/lyx_gui_misc.C: out preamble
18175         * src/lyxfunc.C: connect with guii preamble
18176
18177 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18178
18179         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18180
18181 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18182
18183         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18184         whether to run bibtex.
18185
18186 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18187
18188         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18189
18190 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18191
18192         * Makefile.am (lyx_SOURCES): removed bibforms.h
18193
18194         * vspace.h: doxygen
18195
18196         * text.C (GetVisibleRow): make several local vars const
18197
18198         * tabular.C: small cleanup.
18199
18200         * lyxserver.C (callback): use compare instead of strncmp
18201
18202         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18203         inlines to after class or to paragraph.C
18204
18205         * lyxfont.h: remove friend operator!=
18206
18207         * converter.h: move friend bool operator< to non friend and after
18208         class def.
18209
18210         * combox.h: small cleanup
18211
18212         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18213         to inlines after class def.
18214
18215         * buffer.C (pop_tag): use string operations instead of strcmp
18216
18217         * bmtable.c: doxygen, small cleanup
18218
18219         * LaTeX.h: remove friend operator==
18220
18221 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18222
18223         * screen.C:
18224         * lyxrc.[Ch]:
18225         * lyxfunc.C:
18226         * lyxfont.[Ch]:
18227         * lyx_cb.C:
18228         * intl.[Ch]:
18229         * commandtags.h:
18230         * buffer.C:
18231         * WorkArea.[Ch]:
18232         * LyXAction.C:
18233         * BufferView_pimpl.C:
18234         * BufferView.[Ch]: remove cruft
18235
18236 2001-02-14  Juergen Vigna  <jug@sad.it>
18237
18238         * lyxfunc.C: removed #if 0 unused code
18239
18240         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18241
18242         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18243
18244         * text2.C (SetSelection): added a BufferView * parameter
18245
18246 2001-02-13  Juergen Vigna  <jug@sad.it>
18247
18248         * lyxfunc.C (Dispatch): fixed protected blank problem.
18249         * BufferView2.C (protectedBlank): added LyxText * parameter.
18250
18251         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18252         (AppendColumn): same as above for column_info.
18253
18254         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18255         (moveCursorUpdate): use a LyXText param for support of InsetText.
18256
18257         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18258         (tripleClick): ditto
18259
18260         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18261
18262         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18263
18264         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18265
18266         * text2.C (SetSelection): set correct update status if inset_owner
18267         (ToggleFree): ditto
18268
18269 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18270
18271         * tabular.C: remove some commented code.
18272
18273 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18274
18275         * BufferView_pimpl.C: call hideSplash()
18276
18277         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18278
18279         * include_form.h:
18280         * bibforms.h: remove
18281
18282         * lyxfunc.C:
18283         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18284           add LFUN_CHILD_CREATE
18285
18286         * counters.h: fix tiny typo
18287
18288         * lyx_cb.C:
18289         * lyx.h:
18290         * lyx_gui.C:
18291         * lyx.C: move splash to frontends/xforms/
18292
18293         * lyx_gui_misc.C: move Include and Bibform to frontends
18294
18295         * lyxvc.h: clarify comment
18296
18297         * vspace.C: tiny housekeeping
18298
18299 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18300
18301         * text.C (PrepareToPrint): RTL Fix.
18302
18303         * paragraph.C (GetUChar): New method.
18304         (String):  Use GetUChar.
18305
18306         * buffer.C (asciiParagraph): Use GetUChar.
18307
18308 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18309
18310         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18311
18312 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18313
18314         * buffer.h:
18315         * buffer.C: rename to getLogName(), handle
18316           build log / latex log nicely
18317
18318 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18319
18320         * MenuBackend.C:
18321         * MenuBackend.h: remove support for reference menuitem type.
18322
18323 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18324
18325         * BufferView_pimpl.C: housekeeping
18326         * BufferView_pimpl.h:
18327         * LyXView.h:
18328         * Makefile.am:
18329         * Timeout.C:
18330         * Timeout.h:
18331         * minibuffer.h: move Timeout GUI-I
18332
18333 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18334
18335         * lyxrc.C (read): Update converters data-structures.
18336
18337 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18338
18339         * LaTeX.h (operator!=): add operator != for Aux_Info
18340
18341 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18342
18343         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18344
18345         * LaTeXLog.C: deleted, useful code moved to Buffer
18346
18347         * buffer.h:
18348         * buffer.C: new function getLatexLogName()
18349
18350         * lyx_gui_misc.C:
18351         * lyx_gui.C:
18352         * lyxvc.C:
18353         * lyxvc.h:
18354         * lyxfunc.C: use frontends for LaTeX and VC logs
18355
18356 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18357
18358         * LaTeX.h: yet another std:: that Allan forgot.
18359
18360         * Variables.C (set): renamed from isset(), because this clashes
18361         with some HP-UX macros (grr).
18362
18363 2001-02-06  Allan Rae  <rae@lyx.org>
18364
18365         * LaTeX.h: Another bug fix.  Missing std:: this time.
18366
18367 2001-02-04  Allan Rae  <rae@lyx.org>
18368
18369         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18370         floats problem. I've left it commented out because it's not quite
18371         correct.  It should also test that the current object is a table or
18372         figure inset.  But I haven't gotten around to figuring out how to do
18373         that.  I *think* it'll be something like: "table" == inset.type()
18374
18375         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18376         bool.
18377
18378 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18379
18380         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18381         all the citation/databases/styles in the auxilary file.
18382         (run): Rerun latex if there was a babel language error.
18383
18384 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18385
18386         * text.C (Backspace): Preserve the font when changing newline char
18387         with a space.
18388         (BreakParagraph): If the cursor is before a space, delete the space.
18389
18390         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18391
18392 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18393
18394         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18395         new argument (code).
18396         (ChangeCitationsIfUnique): New method.
18397
18398         * paragraph.C (GetPositionOfInset): Handle bibkey.
18399
18400 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18401
18402         * BufferView_pimpl.h: change type of Position::par_pos to
18403         LyXParagraph::size_type.
18404
18405 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18406
18407         * BufferView_pimpl.C (savePosition, restorePosition): Write
18408         messages to minibuffer.
18409
18410 2001-01-28  José Matos  <jamatos@fep.up.pt>
18411
18412         * buffer.C (makeDocBookFile): adds support for document language.
18413         A silly restriction on the name of LatexCommand types where removed.
18414         Added support for CDATA sections, allows to chars unescaped, used
18415         among others in code, to avoid escape < and >.
18416
18417 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18418
18419         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18420         saved positions instrad of a stack. Furthermore, a position is
18421         stored using paragraph id/paragraph position.
18422
18423         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18424         Remove LFUN_REF_BACK.
18425
18426 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18427
18428         * converter.C (dvipdfm_options): New method.
18429
18430 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18431
18432         * vspace.C (isValidLength): Fix for empty input string.
18433
18434 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18435
18436         * LyXAction.C (init): change description of LFUN_FIGURE to
18437         "Insert Graphics"
18438
18439 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18440
18441         * LaTeX.C: add using directive
18442
18443 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18444
18445         * MenuBackend.C (expand): Fix the sorting of the formats.
18446
18447 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18448
18449         * lyx_main.C: tiny error message fix
18450
18451 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18452
18453         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18454         calling fl_initialize(). This fixes the problem with ',' as
18455         decimal separator in text files.
18456
18457 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18458
18459         * trans.C (process): Fix the keymap bug.
18460
18461 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18462
18463         * LaTeX.C (scanAuxFiles): New method. Provides support for
18464         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18465         (scanLogFile) Scan for "run BibTeX" messages.
18466
18467         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18468         OT1 font encoding. Also, load the aecompl package if the ae
18469         package is loaded.
18470
18471         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18472
18473 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18474
18475         * texrow.C (increasePos): turn two error messages into debug
18476         messages.
18477
18478 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18479
18480         * LaTeX.C (scanAux): Handle the \@input macro.
18481         (runBibTeX): Use scanAux().
18482
18483         * language.C (latex_options_): New field.
18484
18485         * LaTeXFeatures.C (getMacros): Add language macros.
18486
18487         * buffer.C (makeLaTeXFile): Small fix.
18488
18489 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18490
18491         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18492
18493         * text2.C: add a using directive.
18494
18495 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18496
18497         * BufferView2.C:
18498         * lyx_gui_misc.h:
18499         * lyxfr1.C:
18500         * lyxfunc.C: kill LyXBell.
18501
18502 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18503
18504         * text.C (IsBoundary): Remove the error message
18505
18506         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18507
18508         * lyxrc.C (setDefaults): Correct initialization value for
18509         font_norm_type.
18510
18511 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18512
18513         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18514         gotoError().
18515
18516         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18517         and GotoNextNote().
18518
18519         * src/LyXAction.C: Added reference-next.
18520
18521         * text.C (InsertChar): Use contains instead of strchr.
18522
18523         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18524
18525 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18526
18527         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18528         alignment commands (when needed).
18529
18530         * text.C (InsertChar): Add ':' to number separator chars.