]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
08b99e4c7f8a957b8cbe7a9c48c262d19c23e846
[lyx.git] / src / ChangeLog
1 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
2
3         * exporter.C: fix typo in text message
4
5 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
6
7         * text2.C (setLayout): move recUndo call to other setLayout method
8         * tabular.C (toggleFixedWidth): new, handle cell width changes
9         * tabular.C (setColumnPWidth): move some code from insettabular.C here
10         and use toggleFixedWidth
11         * tabular.C (setMColumnPWidth): ditto
12
13 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14
15         * paragraph.C (asString): use new inset->textString method (fix bug 2089)
16
17 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * CutAndPaste.C (numberOfSelections): new helper function.
20
21         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
22
23         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
24         LyXFunc::getStatus; implement LFUN_PASTE.
25
26 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
27
28         * dociterator.[Ch]: new member realInset() that returns the cell
29         for tabulars and the inset for the rest (bug 1952).
30         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
31         (bug 1952).
32
33 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
36
37 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
38
39         * lyxfunc.C:
40         * paragraph.C:
41         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
42         argument.
43
44 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
45
46         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
47         line after typing ctrl-enter
48
49 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
50
51         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
52         math insets do not return a proper editable() state yet (bug 2124).
53
54 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
55
56         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
57         docs containing very large paragraphs.
58
59 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * cursor.C (selectionBegin, selectionEnd):
62         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
63         cursor at different depths.
64
65 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
66
67         * bufferview_funcs.C (coordOffset): do not call cursorPos
68         for collapsed collapsables (fix bug 2094).
69
70 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * paragraph.C (fontSpan): make sure that the FontSpan does not
73         span across beginOfBody (bug 1947).
74
75 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
78
79 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
80
81         * messages.C: fix crash and localization on MinGW/Windows platform
82
83 2005-11-02  Angus Leeming  <leeming@lyx.org>
84
85         * Bidi.C:
86         * lyxtextclass.C: trivial fixes to some MSVS warnings.
87
88 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
89
90         * text3.C (getStatus): re-enable disabled code. (bug 2081)
91
92         * BranchList.h (empty): constify.
93
94 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * text3.C (getStatus): 
97         * MenuBackend.C (expandBranches): take the branch list from the
98         master document (bug 2092).
99         
100         * MenuBackend.C (expandBranches): 
101         * bufferparams.C (writeFile): use BranchList type.
102
103 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * text3.C (dispatch, getStatus): 
106         * LyXAction.C (init): 
107         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
108
109 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
110
111         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
112
113 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * text.C (insertChar): do not reset boundary (bug 2061)
116
117 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * dociterator.C (updateInsets): new method. Updates the inset_
120         cache of all the slices of the iterator.
121
122         * text2.C (deleteEmptyParagraphMechanism): compare also containing
123         insets when comparing pit/pos; pass the right cursor to
124         recordUndo; when a paragraph has been deleted, compare `old.top()' to
125         the right cursor slice of `cur'; use updateInsets on cur to make
126         sure that the inset caches are correct; general cleanup.
127
128 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
129
130         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
131         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
132         containg inset. If this does not work, the same command will be
133         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
134
135         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
136         a dispatch.
137
138 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
139
140         * lyxtextclass.C (Read): convert layout file if the format is wrong
141         * lyxtextclass.C (layout2layout): new, needed for the above
142
143 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * messages.C: do not forget to include <cerrno>.
146
147 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
148
149         * dociterator.h (StableDocIterator): add access to pos().
150         * undo.C (samePar): new method to check if two
151         iterators are in the same paragraph
152         * undo.C (recordUndo): check for samePar instead of cell identity
153         (which includes pos() and is too strict) (fixes bug 2097)
154
155 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * text.C (setCursorFromCoordinates): return a bool telling whether
158         dEPM triggered.
159
160         * text3.C (cursorPrevious): update if needed after
161         setCursorFromCoordinates (when dEPM triggered).
162
163         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
164         (otherwise the anchor may be completely wrong and make dEPM assert).
165
166 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
167
168         * buffer.C: version upgrade to 245.
169         * bufferparams.C: remove \quotes_times (bug 2090).
170         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
171         quotation marks as default.
172
173 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * CutAndPaste.C (nrOfParagraphs): remove (unused)
176         * CutAndPaste.C (cutSelection): Remove debug message
177         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
178         undo information and only copy if this is a real cut
179         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
180         call
181         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
182         (bug 2059)
183         * CutAndPaste.C (eraseSelection): prevent cursor corruption
184         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
185         superflous cur.selection() setting
186         * CutAndPaste.[Ch] (grabSelection): take a const cursor
187         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
188
189 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
190
191         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
192         change anything.
193
194 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
195
196         * BufferView_pimpl.C: comment layout change
197
198 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
199
200         * LyXAction.C:
201         * lfuns.h:
202         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
203         by bibliography managers (bug 2071).
204
205 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * BufferView_pimpl.C (update): choose arguments to update call so
208         that single-par update works most times
209         * text3.C (dispatch): carefully tune updating separately for
210         whole-screen and current-paragraph
211         * rowpainter.C (paintText): 1) replace painting by caching for
212         the two extra paragraphs, because we can;
213         2) suppress greying out of areas below/above drawn area in case of
214         single-par refresh
215         * lyxfunc.C (dispatch): remove superfluous update
216         * LyXAction.[Ch]: introduce SingleParUpdate
217
218 2005-10-05  Angus Leeming  <leeming@lyx.org>
219
220         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
221         always initialised before use.
222
223         * text.C (setHeightOfRow): squash warning about comparison
224         of signed and unsigned types.
225
226 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
227
228         * text.C (cursorX): two fixes involving RtL text drawing
229
230 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231
232         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
233         items, not only large ones (part of bug 2057)
234
235 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
236
237         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
238         argument, use "newcommand".
239
240 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
241
242         * cursor.C (setSelection): do not open collapsable insets;
243         the insets do by themselves now (autoopen).
244
245 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
246
247         * buffer.C: format is up to 244.
248
249 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
250
251         * text.C (redoParagraph): fix calcultation of inset width wrt 
252         leftMargin (bug 1957).
253
254         * text3.C (dispatch): leave inset to the right when hitting ESC 
255         (bug 2034).
256
257 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         * text2.C: 
260         * text.C: 
261         * factory.C:
262         * messages.C: include <boost/current_function.hpp> 
263
264 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
267         when command is internal. (bug 1941)
268
269 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         * text2.C (cursorRight): do not honor boundary when at the end of
272         a paragraph. (bug 2010 again)
273
274 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
277
278 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
279
280         * rowpainter.C (paintText): fix RtL space width display bug (2029)
281
282 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
283
284         * text2.C (setCursor): remove the unused 'boundary' parameter for
285         the CursorSlice version; adapt the LCursor version.
286
287         * lyxrc.C (write): 
288         * paragraph_pimpl.C (markErased): 
289         * cursor.C (bruteFind2, bruteFond3): fix warnings.
290
291 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
294         as is already done for "chapter".
295
296 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
297
298         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
299         textclass; do not record undo if nothing is changed.
300
301 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
302
303         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
304
305 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
306
307         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
308
309 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
312         combox, it is necessary to search for the topmost paragraph in the
313         cursor stack (bug 1926)
314
315 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
316
317         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
318         end of paragraph. (bug 2010)
319
320 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
321
322         * text.C (leftMargin): check for inInset == 0
323
324 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
325
326         * text.C (leftMargin): test for insetbase's new neverIndent()
327         bool instead of listing each and every inset that does not
328         wish par indendation.
329
330 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * buffer_funcs.C (setCounter): put the code to compute enum label
333         here (where it belongs).
334
335         * counters.C (enumLabel): move code to buffer_funcs.C.
336
337 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
338
339         * outputparams.[Ch]: store local_font instead of local_language
340         * paragraph.C (simpleTeXOnePar): adapt to the change above
341
342 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
343
344         * buffer_funcs.C:
345         * counters.[Ch]: clean up special code for Hebrew.
346
347 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
350         than 2.
351
352 2005-09-08  Angus Leeming  <leeming@lyx.org>
353
354         * ispell.C:
355         * lyxrc.C: correct grammar describing invocation of the
356         spellchecker.
357
358 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * text.C (read): remove unused variable.
361         (readParToken): remove static Change variable (never good in
362         recursive settings...); add it as a parameter instead.
363
364         * paragraph_pimpl.C (acceptChange): make debug info conditional.
365
366         * metricsinfo.C (PainterInfo): add new member erased_.
367
368         * rowpainter.C (RowPainter): add erased_ member, initialized from
369         PainterInfo. 
370         (paintInset): pass erased_ to Inset::draw.
371
372         * lyxfunc.C (lookupChange): new function. Tells whether change 
373         tracking is disabled at a given postion.
374         (getStatus): disable some actions when in deleted text with change
375         tracking. 
376
377 2005-08-03  John Levon  <levon@movementarian.org>
378         
379         * tabular.C (appendColumn, setMultiColumn): adapt to change to
380         InsetText::clear().
381
382         * paragraph_pimpl.C (markErased): add bool argument and handle it.
383         Also make sure to mark insets recursively.
384         (rejectChange, erase): be recursive
385
386         * paragraph.C (markErased): add bool argument.
387 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * lyxfind.C (findNextChange): tiny cleanup.
390
391         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
392         change tracking with the cursor in an inset; make sure the first
393         change is not skipped.
394
395 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
396
397         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
398         tabularStackDirty to work around bug 1919 (tabular needs
399         to know whether its own cell paste buffer or the one of 
400         texted is newer.
401         * CutAndPaste.C: mark tabular_stack_ clean after copy.
402
403 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
404
405         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
406
407 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
408
409         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
410         use old deleteion algorithm when changetracking is on.
411
412 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
413
414         * messages.C (get): add debug output.
415
416 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
417
418         * text.C (cursorX): fix bug 1965: cursor movement at
419         line end broken in RtL.
420         (drawSelection): fix bug 1970: drawing of single-line 
421         selection broken for RtL.
422
423 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         bug 465.
426
427         * dociterator.h (clear, push_back, pop_back): change from
428         protected to public.
429
430         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
431         and changed to just return the value of the item depth; take a
432         ParIterator as argument; take the itemdepth at outer nesting level
433         in account if necessary; cleanup and comment the code.
434         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
435         and changed to just return true if reset is needed; take a
436         ParIterator as argument; cleanup and comment the code.
437         (setCounter): adapt to above changes.
438
439 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
440
441         * text3.C (dispatch): make debug message optional
442
443 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
446         inset. (bug 1963)
447
448 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
449
450         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
451
452 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
453
454         * text.C (insertChar):
455         * text2.C (deleteEmptyParagraphMechanism): take care whether 
456         a blank has been deleted (in change tracking mode) (bug 1254).
457
458 2005-07-20  John Levon  <levon@movementarian.org>
459
460         * text2.C (insertStringAsLines): remove old dubious code,
461         fixing bug 1939.
462
463 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * MenuBackend.C (expandToc): use Floating::listName() as title of
466         the floats submenus.
467
468 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
469
470         * toc.[Ch]: Do not use translatable strings (bug 1870).
471
472 2005-07-20  John Levon  <levon@movementarian.org>
473
474         * tabular.C: fix 1748 - setting multicolumn adds
475           left line to the first cell
476
477 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
478
479         bug 1920
480         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
481         pars in one go.
482
483 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
484
485         * messages.C: supress some lyxerr messages
486
487 2005-07-18  Juergen Vigna  <jug@lyx.org>
488
489         * text.C (drawSelection): honor boundary when asking for cursorX.
490
491 2005-07-17  José Matos  <jamatos@fc.up.pt>
492
493         * tabular.C (recalculateMulticolumns): fix handling of one column
494         tables.
495
496 2005-07-17  Juergen Vigna  <jug@lyx.org>
497
498         * text.C (Delete, backspace): fixed so that paragraph with the
499         same layout can be merged by Delete/Backspace.
500
501 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
502
503         * text.C (readParToken): fix spelling.
504
505 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
506
507         * text2.C: fix counter update for DEPM problem reported by
508         Georg Baum
509
510 2005-07-17  Juergen Vigna  <jug@lyx.org>
511
512         * BufferView_pimpl.C (setBuffer): save/restore the
513         cursor/selection when switching buffers
514
515         * buffer.h: 
516         * buffer.C (saveCursor): add saveDocumentIterators to save the
517         cursor when switching buffer.
518
519 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
520
521         * debug.C: fix typo
522         * buffer.C: clarify message
523         
524 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
525
526         * dociterator.C (DocIterator): fix initialization order
527
528 2005-07-17  Juergen Vigna  <jug@lyx.org>
529
530         * text2.C (cursorHome): 
531         * text.C (drawSelection, cursorX): 
532         * dociterator.C (textRow): add boundary to getRow() call
533
534         * paragraph.C (getRow): implementation of below
535
536         * paragraph.h: add parameter boundary for getRow() function
537
538 2005-07-17  José Matos  <jamatos@fc.up.pt>
539
540         * buffer.C:
541         * bufferparams.[Ch]:
542         * tex-strings.[Ch]: new file format, remove support for a4.sty,
543         a4wide.sty and a4widemargins.
544
545 2005-07-17  Juergen Vigna  <jug@lyx.org>
546
547         * text2.C (cursorLeft): fix one of error
548
549 2005-07-17  Juergen Vigna  <jug@lyx.org>
550
551         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
552                    cursorEnd):
553         more fixes for boundary handling
554
555         * text3.C (dispatch): don't reset cursor if boundary has changed
556         on cursor movement.
557
558 2005-07-16  Juergen Vigna  <jug@lyx.org>
559
560         * text2.C (getColumnNearX): hopefully got it right now,
561         check if we are on column 0 for special case.
562
563 2005-07-16  Juergen Vigna  <jug@lyx.org>
564
565         * text2.C (getColumnNearX): handle special case Newline Inset
566
567         * text.C (singleWidth): Just remove bogus check
568
569 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
570
571         * funcrequest.C (split): avoid reading uninitialized char c
572
573 2005-07-16  José Matos  <jamatos@fc.up.pt>
574
575         * buffer.C:
576         * converter.C:
577         * lyxrc.C:
578         * paper.h:
579         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
580         single papersize variable.
581
582 2005-07-16  Juergen Vigna  <jug@lyx.org>
583
584         * text3.C (dispatch): honor boundary when checking if a cursor
585         movement has been done
586
587         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
588         (setCursor, setCursorIntern): fix cursor movement with boundary
589
590 2005-07-16  Juergen Vigna  <jug@lyx.org>
591
592         * text.C (currentState): output the actual Boundary
593
594 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
595
596         * factory.C (createInset): fix bad logic for tabular creation
597
598 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
599
600         * lyx_main.C (init): change some reLyX reference to tex2lyx
601
602 2005-07-16  Juergen Vigna  <jug@lyx.org>
603
604         * dociterator.C (DocIterator): initialize boundary
605
606 2005-07-16  Juergen Vigna  <jug@lyx.org>
607
608         * text2.C (getColumnNearX): Consider rows without trailing blank.  
609
610 2005-07-16  André Pönitz  <poenitz@gmx.net>
611
612         * lyxfont.h: Change order of declarations to give the compiler
613         a better chance to inline things
614
615         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
616         questions on unsaved docs for better scritability
617
618 2005-07-16  André Pönitz  <poenitz@gmx.net>
619
620         * paragraph.h (getChar): remove asserts as the same kind of security
621         can be achieved by using a suitable standard library implementation
622         and the function was in the critical path (25.9% in profiler)
623
624 2005-07-16  Juergen Vigna  <jug@lyx.org>
625
626         * cursor.C (bruteFind2):
627         * bufferview_funcs.C (coordOffset): 
628         * text.C (cursorX,cursorY): Handle cursor position after last char
629         in row before a inset which uses a whole row.
630
631 2005-07-15  José Matos <jamatos@lyx.org>
632
633         * output_plaintext.[Ch] (writeFileAscii): control reference title
634         printing.
635         (asciiParagraph): noparbreak was already deal and was incorrectly
636         used.
637
638 2005-07-15  Juergen Vigna <jug@lyx.org>
639
640         * lyxfunc.C (dispatch): save and restore the cursor after a
641         textclass switch.
642
643 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
644
645         * text.C (backspace): bug 806 for empty keepempty paragraphs we
646         change the layout to default before letting DEPM do its thing.
647
648         * paragraph_funcs.C (breakParagraph): dont reset the layout on
649         keepEmpty paragraphs
650
651         * text.C (setCursorFromCoordinates): add a debug statement
652
653         * text2.C (getColumnNearX): bug 1825 make sure that we don't
654         return a pos that is not on the row
655
656         * output_latex.C (TeXDeeper): get rid of potential dereferencing
657         of past the end iterator
658
659 2005-07-14  André Pönitz  <poenitz@gmx.net>
660
661         * undo.C (recordUndoFullBuffer): implement undo for
662         textclass switches
663
664 2005-07-14  André Pönitz  <poenitz@gmx.net>
665
666         * cursor.C (setSelection): open insets when selection is set there
667         to avoid crashs with cold coord cache
668
669 2005-07-14  André Pönitz  <poenitz@gmx.net>
670
671         * trans_mgr.C (insert): move cursor to the right after inserting
672         a char.
673
674 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
675
676         * BufferView_pimpl.C (update): dampen some of the debug blabbering
677         * factory.C (readInset): ditto
678         * text.C, text2.C: ditto
679
680 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
681
682         * buffer.C: format incremented to 242. There is no file format per
683         se, but the "frenchb" language has been removed from lib/language
684         and has to be translated to "french" by lyx2lyx.
685
686 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
687
688         * cursor_slice.h, dociterator.h: add some documentation
689         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
690
691 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
692
693         * text.C (leftMargin): do not add identation to display() style
694         insets, because they are always centered (bug 1293).
695
696 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
697
698         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
699         formatted_time methods in support/lyxtime.
700
701 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
702
703         * toc.[Ch]: new method getGuiName, which is used by the frontends 
704         to set the toc combo (fixes bug 1870). Make TOC string translatable.
705
706 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
707
708         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
709         StableDocIterator const &)
710         * undo.C (recordUndo): use the above instead of cell.size() comparison
711         (fixes bug 1808; instructed by Andr�.
712
713 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
714
715         * cursor_slice.h: 
716         * dociterator.h: Fix the assert when copying rows/cols in math
717
718 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
719
720         * BufferView_pimpl.C:
721         * LyXAction.C:
722         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
723
724         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
725         (findInset): new functions, refactored from goto Inset that return 
726         the position of a certain inset without setting the buffer's cursor
727         (by Jean-Marc); 
728         (gotoInset): rewrite to call findInset and then set the cursor
729         (by Jean-Marc).
730
731 2005-06-16  Angus Leeming  <leeming@lyx.org>
732
733         * lyxrc.C (output, read): wrap all input and output of paths with
734         calls to os::internal_path and os::external_path, respectively.
735         (output): wrap bind_file inside quotes.
736
737         * format.C (view): enable the viewer to use the '$$s' placeholder.
738
739 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
740
741         * LColor.[Ch] (getFromLaTeXName): new
742
743 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
744
745         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
746
747 2005-06-14  Angus Leeming  <leeming@lyx.org>
748
749         * lyx_main.C (init): ensure that the LyX binary dir is the first
750         element in the PATH on non-POSIX builds.
751
752 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
753
754         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
755
756 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
757
758         * rowpainter.C (paintInset, paintHebrewComposeChar)
759         (paintArabicComposeChar, paintChars): add a LyXFont argument.
760         (paintChars): use getFontSpan to reduce calls to getFont to a
761         minimum; use Paragraph::lookupChange instead of isXXXText.
762         (paintForeignMark): rename LyXFont argument.
763         (paintFromPos): pass a LyXFont object to the various paintXXX
764         methods.
765
766         * FontIterator.C (FontIterator, operator++): use
767         Paragraph::getFontSpan
768
769         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
770         version that returns the font span as a pair.
771
772 2005-06-09  Angus Leeming  <leeming@lyx.org>
773
774         * converter.C (convert): Don't forget "outfile = real_outfile" as
775         the final step in a conversion where the input and output file names
776         are the same. Otherwise, future conversion steps won't work...
777
778 2005-06-09  Angus Leeming  <leeming@lyx.org>
779
780         * lyxsocket.C: remove stub code as it isn't needed by
781         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
782
783 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
784
785         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
786         effectively disabled -x
787
788 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
789
790         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
791         when it actually makes sense.
792
793 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
794
795         * BufferView_pimpl.C: revert to showCursor in connection with
796         Lars's front-end stack
797
798 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
799
800         * text.C (redoParagraph): move cursor right after a bibitem
801         has been inserted.
802
803         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
804
805 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
806
807         * buffer_funcs.C (bufferErrors): fix computation of the end of an
808         error range.
809
810 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
811
812         * BufferView.[Ch] (update):
813         * BufferView_pimpl.[Ch] (update, metrics):
814         * dimension.h (operator==):
815         * lyxfunc.C (dispatch):
816         * metricsinfo.h (ViewMetricsInfo):
817         * rowpainter.C (paintText):
818         * lyxtext.h:
819         * text.C (redoParagraph):
820         * text3.C (dispatch): Make LyX only repaint current paragraph in
821         case of character insert --> speedup. Also fix cursor draw
822         artifacts
823
824 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
825
826         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
827         avoid a crash (bug 1891)
828
829 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
830
831         Fix bug 1892:
832
833         * text2.C (getStringToIndex): constify cur argument.
834
835         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
836         argument has been given
837         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
838         try to invoke LFUN_INSET_APPLY).
839
840         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
841         if no inset was created by doInsertInset
842         (doInsertInset): return true if an inset has been inserted.
843
844 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
845
846         * vspace.C (asGUIName): new method. A version of the space
847         suitable for showing on screen.
848
849 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
850
851         * MenuBackend.C:
852         * lyxrc.C: rename "ASCII" to "Plain Text"
853
854 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
855
856         * buffer_funcs.C (expandLabel): take a Buffer as argument;
857         translate the labelstring.
858         (setCounter): translate labelstring as needed.
859
860         * output_docbook.C (makeCommand): fix expandLabel invokation
861
862 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
863
864         * BufferView.C: fix dialog title
865
866 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
867
868         * lyx_main.C (priv_exec): fix logic error with help from Angus
869         * lyx_main.C (parse_execute): set is_gui = false and remove now
870         obsolete comment about a segfault
871
872 2005-05-18  Angus Leeming  <leeming@lyx.org>
873
874         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
875
876 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
877
878         * tabular.[hC]: added setCellInset to fix tabular paste.
879
880 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
881
882         * buffer.C (save): check if destination is writable before trying
883         to copy a file
884
885 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
886
887         * BufferView_pimpl.C (update): fix processEvents -caused update
888         recursion bug
889
890 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
891
892         * buffer_funcs.C (setCounter): fix test for numbering of
893         environments.
894
895         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
896         depth correctly; use optional argument when it exists
897
898         * lyxtextclass.C: remove unused MaxCounterTags enum
899         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
900         (max_toclevel, min_toclevel): new methods.
901
902         * MenuBackend.C (expandToc2): fix case where depth is smaller than
903         the smallest depth in toc.
904
905         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
906         layouts that should not appear in a table of contents.
907
908 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
909
910         * cursor.h (undispatched, noUpdate): add comments from Andr�
911 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
912
913         * lfuns.h:
914         * LyXAction.C:
915         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
916
917 2005-05-07  André Pönitz  <poenitz@gmx.net>
918
919         * cursor.[Ch] (leaveInset): new function
920
921 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
922
923         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
924
925 2005-05-04  Angus Leeming  <leeming@lyx.org>
926
927         * lyxfunc.C (getStatus): disable the spell checker dialog if
928         none of USE_[AIP]SPELL are defined.
929
930 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
931
932         * tabular.C (setWidthOfCell): remove obsolete comment
933
934 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
935
936         * paragraph.C (bibitem):
937         * buffer_funcs.C (setCounter):
938         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
939
940 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
941
942         * text3.C (getStatus): immediately return after setOnOff
943
944         * rowpainter.C: fix drawing of appendix start
945
946 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
947
948         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
949         SwitchBetweenClasses and remove the unused return value.
950         Handle character styles, too
951
952 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
953
954         * factory.C (createInset): handle undefined character styles
955
956 2005-05-02  Angus Leeming  <leeming@lyx.org>
957
958         * buffer.C: protect the #include of utime.h with a preprocessor
959         guard.
960
961 2005-05-02  Angus Leeming  <leeming@lyx.org>
962
963         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
964         function so that auto-saving works, albeit in a blocking manner.
965
966         * Makefile.am: make compilation of the client sub directory, of
967         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
968         on conditionals set at configure time.
969
970         * SpellBase.[Ch]: no longer an abstract base class. Instead,
971         it can be compiled in its own right but has no-op functionality.
972
973         * aspell.C, pspell.C: remove preprocessor guards. The files should
974         be compiled only if the necessary functionality exists.
975
976         * lyxserver.C, lyxsocket.C: disable on Windows.
977
978 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
979
980         * text.C (leftMargin): Fix the parindent use bug (1764)
981         by dirty trick
982
983 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
984
985         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
986         argument.
987
988 2005-04-25  Angus Leeming  <leeming@lyx.org>
989
990         * Bidi.[Ch]:
991         * coordcache.[Ch]:
992         * ispell.C:
993         * lyxserver.C:
994         * mover.C:
995         * pch.h:
996         include <config.h> in .C files, not .h ones.
997         add licence blurb.
998         protect headers inside preprocessor guards.
999
1000 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1001
1002         * FuncStatus.h (StatusCodes): document
1003
1004 2005-04-21  André Pönitz  <poenitz@gmx.net>
1005
1006         * FuncStatus.h (enabled, onoff): document
1007
1008 2005-04-19  Angus Leeming  <leeming@lyx.org>
1009
1010         * BufferView_pimpl.C (cursorToggle): no longer test whether
1011         any child processes have been reaped before calling
1012         handleCompletedProcesses().
1013
1014 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1015
1016         * text3.C (dispatch): fix, finally fix, the language problem in
1017         new lyxtexts, without disabling on-the-fly font changes (Helge's
1018         bug report)
1019
1020 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1021
1022         * text3.C (dispatch): set cursor on double/triple click events
1023         (bug 1811)
1024
1025 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1026
1027         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1028         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1029
1030         * rowpainter.C (paintFirst): simplify the code a little bit. In
1031         particular, remove the test for secnumdepth.
1032         * text.C (setHeightOfRow): only allocate space for chapter number
1033         when updateCounters provided an actual label, instead of looking
1034         at secnumdepth directly.
1035
1036         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1037
1038         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1039         paragraphs when secnumdepth is large enough or, for environments,
1040         when they are not the first in a sequence.
1041
1042 2005-04-17  Angus Leeming  <leeming@lyx.org>
1043
1044         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1045         containing space and '~' characters with a call to latex_path().
1046
1047 2005-04-17  Angus Leeming  <leeming@lyx.org>
1048
1049         * converter.C (convert): protect all args of convertDefault.sh
1050         script with quotes.
1051
1052 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         * text3.C (dispatch): change the layout to "Caption" after inserting
1055         a float.
1056
1057 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1058
1059         * text3.C (dispatch): fix language problem in newly created
1060         textinsets (and main text) in non-english docs
1061
1062 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1063
1064         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1065         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1066         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1067
1068 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1069
1070         * lyxtext.h:
1071         * text.C (metrics):
1072         * text2.C (getFont):
1073         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1074         fonts fix
1075
1076 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1077
1078         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1079         output of \item arguments without trailing text.
1080
1081 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1082
1083         * FontIterator.C (operator*): avoid a copy of the font.
1084
1085 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1086
1087         * rowpainter.C (getFont): fix language bug from previous fix
1088
1089 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1090
1091         * rowpainter.C (RowPainter, getFont): fix font inside inset
1092         (bugs 1766, 1809)
1093
1094 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1095
1096         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1097         preventing inserted font, deco, delim insets jumping to start of
1098         surrounding inset.
1099
1100 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1101
1102         * lyxfunc.C (dispatch): translate message before sending it to the
1103         minibuffer.
1104
1105 2005-03-29  Angus Leeming  <leeming@lyx.org>
1106
1107         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1108         to LyX on the command line.
1109
1110 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1111
1112         * vc-backend.C: use QuoteName to protect file names wherever
1113         necessary.
1114
1115 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1116
1117         * buffer.[Ch]:
1118         * BranchList.h: fix bugs 1844,1845: document settings don't
1119         stick
1120
1121 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1122
1123         * lyxrc.C (setDefaults, read, output, getDescription): add support
1124         for tex_allows_spaces.
1125
1126         * exporter.C (Export): allows files in directory containing spaces
1127         if tex_allows_spaces is true.
1128
1129         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1130         output it in double quotes.
1131
1132 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1133
1134         * rowpainter.C: use default text height for drawing change tracker
1135         strikeout lines.
1136
1137 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1138
1139         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1140
1141 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1142
1143         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1144         directory is missing.
1145
1146 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1147
1148         * text2.C: fixed the fix, extended to other case.
1149
1150 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1151
1152         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1153
1154 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1155
1156         * text2.C (cursorUp): get rid of a crash
1157         * text.C (x2pos): add an assert
1158
1159 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1160
1161         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1162
1163         * text3.C:
1164         * lyxfunc.C:
1165         * dociterator.C: include <boost/current_function.hpp>, which is
1166         needed when assertions are disabled.
1167
1168 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1169
1170         * text2.C: fix for stuck cursor when traversing two
1171         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1172
1173 2005-02-25  Andreas Vox  <avox@arcor.de>
1174
1175         * output_docbook.C (makeParagraph): suppress trailing newline
1176         after a run of paragraphs
1177
1178 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1179
1180         * paragraph.C: fix for confused change tracker when pasting
1181         text that begins with a lineseparator. [bug 1827]
1182         (setChange(0, Change::INSERTED);)
1183
1184         * paragraph_funcs.C: fix for lost changes on triple-paste
1185         in change tracking mode [bug 1827] (par.setChange()).
1186
1187 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1188
1189         * text2.C (updateCounters, setCounter, expandLabel): move to
1190         buffer_funcs.
1191
1192         * buffer_funcs.C (updateCounters): turn into a free standing
1193         function and add a buffer parameter. Remove dead code for tracking
1194         labelstring change.
1195         (setCounter): change into a free-standing function which gets a
1196         dociterator as argument. Use this iterator to fix captions in a
1197         simple way. When no float is found above the caption, use the
1198         labelstring of the caption layout as default.
1199
1200         * text.C (breakParagraph, backspace):
1201         * text2.C (init, setLayout, changeDepth):
1202         * text3.C (dispatch):
1203         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1204         updateCounters.
1205
1206         * dociterator.C (forwardPar): make it much faster by calling
1207         forwardPos() only when really necessary.
1208
1209         * output_docbook.C (makeCommand): adapt to expandLabel move.
1210
1211         * cursor.C: remove unused variable
1212
1213 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1214
1215         * paragraph_funcs.C: fix crash when pasting insets in change
1216         tracking mode [bug 1277] (honour change type in moveItem).
1217
1218 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1219
1220         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1221
1222 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1223
1224         * BufferView.C (setCursor): change to use a DocIterator.
1225         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1226         (putSelectionAt): adapt to BufferView::setCursor change.
1227
1228         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1229         moved here from LyXText and rewritten to use proper cursor
1230         methods. Fixes bug 1787, 616 and 835.
1231
1232         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1233         when inside an inset (part of bug 781).
1234         (dispatch): adapt to change of BufferView::setCursor.
1235         (getStatus, dispatch): handle LFUN_GOTOERROR,
1236         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1237
1238         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1239         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1240         * text3.C (gotoNextInset, gotoInset): removed.
1241
1242 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1245
1246 2005-02-15  Angus Leeming  <leeming@lyx.org>
1247
1248         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1249         can be used meaningfully in a comparison.
1250
1251 2005-02-13  André Pönitz  <poenitz@gmx.net>
1252
1253         * bufferview_funcs.C (coordOffset): improve cursor drawing
1254
1255 2005-02-13  André Pönitz  <poenitz@gmx.net>
1256
1257         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1258         * Cursor.C (dispatch): use fixIfBroken
1259         * lyxfunc.C (getStatus): use fixIfBroken
1260
1261 2005-02-15  Angus Leeming  <leeming@lyx.org>
1262
1263         * lyx_main.C (error_handler):
1264         * lyxfunc.C:
1265         * lyxrc.C (setDefaults):
1266         s/GetEnv/getEnv/.
1267         #include "environment.h".
1268
1269         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1270
1271 2005-02-15  Angus Leeming  <leeming@lyx.org>
1272
1273         * lyxserver.C (startPipe): squash MSVC warning "local variable
1274         'fd' used without having been initialized".
1275
1276 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1277
1278         * BufferView_pimpl.C: revert accidental commit.
1279
1280 2005-02-14  André Pönitz  <poenitz@gmx.net>
1281
1282         * dociterator.[Ch]: new member forwardPosNoDescent(),
1283         which doesn't enter nested insets.
1284         * text2.C (setFont): use forwardPosNoDescent() instead
1285         of ForwardPos() (fixes crash on font change).
1286
1287 2005-02-13  Angus Leeming  <leeming@lyx.org>
1288
1289         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1290         only if lyxrc.path_prefix is not empty.
1291
1292 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1293
1294         * bufferparams.C (readGraphicsDriver): prevent crash
1295
1296 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1297
1298         * text2.C (setCounter): check for inInset() == 0
1299
1300 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1301
1302         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1303         but use update() to get correct screen display; use convert
1304         instead of istringstream.
1305         (getStatus): handle LFUN_GOTO_PARAGRAPH
1306
1307         * lyxfunc.C (dispatch, getStatus): do not handle
1308         LFUN_GOTO_PARAGRAPH here.
1309
1310 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1311
1312         * text3.C (dispatch): size() -> depth()
1313
1314         * text2.C: remove some debug output
1315
1316         * paragraph.C: ws changes only
1317
1318         * lyxfunc.C (getStatus): size() -> depth()
1319
1320         * dociterator.h (clear, push_back, pop_back, internalData,
1321         operator[], resize, empty): new functions
1322         Make StableDocIterator and operator== be friends. Don't inherit
1323         from std::vector use a privat class variable slices_ instead.
1324         Modify to fit.
1325
1326         * dociterator.C: update because of not inheriting from std::vector
1327         anymore. Call explictly to slices_ instead. Use depth() instead of
1328         size() and top() instead of back()
1329
1330         * cursor.C: chagne size() -> depth and back() -> top(). Also
1331         remove some direct operator[](i) calls in favour of foo[i]
1332         (getFont): remove some dead code
1333
1334         * bufferview_funcs.C (coordOffset): size() -> depth()
1335
1336         * buffer.C: ws changes only
1337
1338         * CutAndPaste.C (eraseSelection): back() -> top()
1339
1340         * BufferView_pimpl.C (selectionRequested): back() -> top()
1341
1342         * BufferView.C (setCursor): size() -> depth()
1343
1344 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1345
1346         * text3.C (cursorPrevious): return true if depm changed something
1347         (cursorNext): ditto
1348         (dispatch): rename sl to oldTopSlice, remove moving use the new
1349         NoUpdate func attrib instead. Make sure that needsUpdate is set
1350         for function that have NoUpdate, but where depm might have changed
1351         the buffer anyway.
1352
1353         * text2.C (cursorLeft): make us return true if depm changed
1354         something
1355         (cursorRight): ditto
1356         (cursorUpParagraph): ditto
1357         (curosrDownParagraph): ditto
1358         (cursorUp, cursorDown): ditto, make sure to read comments in code
1359         (deleteEmptyParagraphMechanism): remove an assert, also return
1360         true if just a single char was deleted.
1361
1362         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1363         cursor that we modify, to avoid modifying an active cursor before
1364         we call setCursor. This allows depm to run. Also return true if
1365         depm deleted something.
1366
1367         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1368         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1369         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1370         something was changed in the buffer because of them (ie. depm run)
1371
1372         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1373         debug messages. Make update by default be false. Make sure that
1374         the result of update is retained throught several calls down to
1375         dispatch.
1376
1377         * LyXAction.h: add a new func_attrib: NoUpdate
1378
1379         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1380         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1381         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1382         and LFUN_WORDLEFT
1383         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1384
1385 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1386
1387         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1388         bv_->owner(), bv_->buffer() by direct references to the private
1389         members.
1390         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1391         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1392         (fitCursor): center() is in BufferView::Pimpl.
1393         (getStatus, trackChanges, dispatch): no need for a temporary buf
1394         variable
1395         (fitCursor, workAreaDispatch): use workarea().workheight()
1396
1397 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1398
1399         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1400
1401 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1402
1403         * buffer.C: format up to 241.
1404         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1405         break if pasting into ERT
1406         * lyxfunc.C (getStatus): suppress mathpanel and
1407         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1408
1409 2005-02-01  Angus Leeming  <leeming@lyx.org>
1410
1411         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1412
1413 2005-02-01  Angus Leeming  <leeming@lyx.org>
1414
1415         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1416         calling fs::is_directory().
1417
1418 2005-01-31  Angus Leeming  <leeming@lyx.org>
1419
1420         * lyx_main.C (priv_exec): specify explicitly the relative location
1421         of the top level build directory when run in-place.
1422
1423 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1424
1425         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1426         LyXText containing the cursor, not the top-level one.
1427
1428         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1429         true.
1430         (insertStringAsLines): rename par to pit; use temporary variable
1431         par to hold a Paragraph; do not store par.layout() in a variable,
1432         since the pointer may die when breaking paragraphs; pass pars to
1433         breakParagraph() instead of Buffer::paragraphs().
1434
1435 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1436
1437         * lyxlex_pimpl.h: #include <fstream>.
1438
1439         * BufferView.[Ch] (getLyXText): add a const version.
1440
1441         * BufferView_pimpl.C: add debug aids.
1442
1443         * RowList_fwd.h:
1444         * buffer.h:
1445         * lyxrow.h:
1446         * paragraph_funcs.h: add commentary explaining what the class does.
1447
1448
1449         * coordcache.[Ch]: add lots of commentary.
1450         (startUpdating, doneUpdating): debug aids.
1451         (arrays, insets, parPos, getParPos): accessors to private data.
1452
1453         * cursor_slice.[Ch] (text): add a const version.
1454         * dociterator.[Ch] (text, innerText): add const versions.
1455
1456         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1457         bool.
1458
1459         * paragraph.C (getRow, pos2ros): add asserts.
1460
1461         * paragraph.h: add commentary. Lots of.
1462
1463         * paragraph.[Ch] (metrucs, draw): removed.
1464
1465         * cursor.C:
1466         * rowpainter.[Ch]: const-correct changes.
1467
1468         * text.C: various obvious clean-ups. Removal of ancient cruft.
1469         Bug fixes, even.
1470
1471 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1472
1473         * vc-backend.C (find_file): rewrite to use boost.filesystem
1474         (scanMaster): ditto
1475
1476         * main.C (main): set default name check for boost.filesystem to
1477         no check
1478
1479         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1480         (open): ditto
1481         (doImport): ditto
1482         (actOnUpdatedPrefs): ditto
1483
1484         * lyx_main.C (init): rewrite to use boost.filesystem
1485         (queryUserLyXDir): ditto
1486
1487         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1488         (getContentsOfAsciiFile): ditto
1489
1490         * lastfiles.C (readFile): rewrite to use boost.filesystem
1491
1492         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1493
1494         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1495         (loadLyXFile): ditto
1496
1497         * buffer.C (Buffer): adjust for destroydir
1498         (getLogName): rewrite to use boost.filesystem
1499         (setFileName): ditto
1500         (save): use fs::copy_file (from fs_extras)
1501
1502         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1503
1504         * LaTeX.C (run): rewrite to use boost.filesystem
1505         (scanAuxFiles): ditto
1506         (handleFoundFile): ditto
1507
1508 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1509
1510         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1511
1512         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1513
1514 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1515
1516         * lyxlayout.[Ch]: change some vars from float to double
1517
1518         * buffer.C (readFile): make a local var const
1519
1520         * Several files: use convert<> instead of atoi,strToXXX and friends
1521
1522 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1523
1524         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1525         holds the contents of packages.lst. New functions getAvailable
1526         and isAvailable to parse and check that list, resp.
1527
1528         * LyXAction.C:
1529         * lfuns.h:
1530         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1531
1532         * bufferparams.[Ch]: new param output_changes.
1533
1534         * Buffer.C: increase file format to 240.
1535         Use output_changes and isVailable.
1536
1537         * changes.[Ch]:
1538         * paragraph.C:
1539         * paragraph_pimpl.C: Use output_changes and isVailable.
1540
1541 2005-01-23  Angus Leeming  <leeming@lyx.org>
1542
1543         * output_latex.C: #include "insetbibitem.h", rather than
1544         forward declare function bibitemWidest.
1545
1546 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1547
1548         * lyx_main.C (init): make it compile on the Mac.
1549
1550 2005-01-20  Angus Leeming  <leeming@lyx.org>
1551
1552         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1553         (setLyXMisc): (char string literal) != (char string literal) is
1554         performing a comparison on the addresses. Convert one operand
1555         explicitly to string to guarantee expected behaviour.
1556         From MSVC warning.
1557
1558 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1559
1560         * buffer.C:
1561         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1562
1563         * output_plaintext.C: remove unneeded #include gzstream.h.
1564
1565 2005-01-20  Angus Leeming  <leeming@lyx.org>
1566
1567         * SpellBase.h: rename some of the elements of the Result enum.
1568
1569         * aspell_local.h:
1570         * ispell.h:
1571         * pspell.h:
1572         * aspell.C (check):
1573         * ispell.C (check):
1574         * pspell.C (check): ditto
1575
1576 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1577
1578         * buffer.C: add #include <fstream>.
1579
1580         * lyx_main.C (init): Compile fix.
1581
1582         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1583
1584 2005-01-20  Angus Leeming  <leeming@lyx.org>
1585
1586         * mover.h: change commentary to reflect the changed meaning of
1587         the $$s placeholder.
1588
1589 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1590
1591         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1592
1593         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1594
1595 2005-01-20  Angus Leeming  <leeming@lyx.org>
1596
1597         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1598         printing diagnostic data by not dereferecing an iterator past the
1599         end.
1600
1601 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1602
1603         * buffer.C (readHeader): use "&&" rather than "and".
1604
1605         * lyxserver.h (inPipeName, outPipeName): make these const.
1606
1607 2005-01-19  Angus Leeming  <leeming@lyx.org>
1608
1609         * lyx_main.C (error_handler, init): protect SIGHUP with
1610         #ifdef SIGHUP guards.
1611
1612 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1615
1616 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1617
1618         * text.C (setHeightOfRow): add a margin at the top and bottom of
1619         the document (bug 1761)
1620
1621 2005-01-17  Angus Leeming  <leeming@lyx.org>
1622
1623         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1624         with "python ". Workaround for a brain-dead Windows.
1625
1626 2005-01-16  Angus Leeming  <leeming@lyx.org>
1627
1628         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1629         for MacOSX and Windows to use prependEnvPath.
1630         Strip out the hard-coded block to add elements to the PATH for
1631         MacOSX and replace it with a call to prependEnvPath using the
1632         contents of LyXRC::path_prefix.
1633         (queryUserLyXDir): strip out the code to run reconfigure, instead
1634         returning a boolean indicating the necessity to do so.
1635         (reconfigureUserLyXDir): contains the code to reconfigure the
1636         user support directory. Is now called after the various LyXRC data
1637         files have been read.
1638
1639         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1640
1641 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1642
1643         * converter.[Ch] (convert): take a new parameter try_default. Use
1644         a default converter (imagemagick) if try_default is true.
1645
1646 2005-01-13  Angus Leeming  <leeming@lyx.org>
1647
1648         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1649         os::cygwin_path_fix.
1650         (write): output LyXRC::cygwin_path_fix as necessary.
1651
1652 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1653
1654         * lyxrc.h:
1655         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1656
1657 2005-01-12  Angus Leeming  <leeming@lyx.org>
1658
1659         * lyx_main.C (init): set the PATH variable to include the
1660         directory containing the LyX binary when running on Mac or Windows.
1661
1662 2005-01-12  Angus Leeming  <leeming@lyx.org>
1663
1664         * lyx_main.C (init): remove cruft that purports to set the locale
1665         dir. It doesn't and is not needed anyway.
1666
1667 2005-01-10  Angus Leeming  <leeming@lyx.org>
1668
1669         * Makefile.am: remove the lyx_main.C special casing.
1670
1671         * BufferView_pimpl.C:
1672         * bufferlist.C:
1673         * exporter.C:
1674         * lyx_cb.C:
1675         * lyx_main.C:
1676         * lyxfunc.C:
1677         * messages.C: use support/package.h to provide the paths to the
1678         various directories used by LyX.
1679
1680 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1681
1682         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1683         layout if pasting into an empty paragraph)
1684
1685 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1686
1687         * tex-accent.C: add <string>
1688
1689 2005-01-06  José Matos  <jamatos@lyx.org>
1690
1691         * ParagraphParameters.C (write): put every parameter in its own line.
1692         * paragraph.C (write): reduce number of consecutive empty lines exported.
1693         * buffer.C (LYX_FORMAT): increase file format to 239.
1694
1695 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1696
1697         * everywhere: change support/tostr.h -> support/convert.h
1698
1699         * tabular.C: make all write_attributes templates, tostr -> convert
1700
1701         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1702         (emptyTag): and -> &&, and fix type for ret from getChar
1703         (getFirstWord): fix type for ret from getChar
1704         (onlyText): and -> &&
1705         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1706         getChar
1707
1708         * toc.C (goTo, action):
1709         * text3.C (dispatch):
1710         * text.C (currentState):
1711         * tex-accent.C (DoAccent):
1712         * sgml.C:
1713         * lyxrc.C:
1714         * lyxfunc.C (menuNew):
1715         * lyxfinc.C (replace):
1716         * counters.C (laberItem):
1717         * bufferview_funcs.C (font2string):
1718         * bufferparams.C (writeFile):
1719         * buffer.C (readFile):
1720         * Spacing.C (set):
1721         * MenuBackend.C: tostr -> convert
1722
1723         * LaTeX.C (runMessage): fix format
1724         (scanAuxFiles): tostr -> convert
1725
1726         * BufferView_pimpl.C (savePosition): fix format
1727         (restorePosition): ditto
1728         (dispatch): ditto
1729
1730 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1731
1732         * Spacing.[Ch]: New method getValueAsString().
1733
1734         * Spacing.[Ch]:
1735         * bufferparams.C:
1736         * ParagraphParameters.C:
1737         * lyxlayout.C:
1738         * text.C:
1739         * text3.C: store/read spacing value as string.
1740
1741         * rowpainter.C: change float value (spacing_val) to double.
1742
1743         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1744         broken custom document spacing).
1745
1746 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1747
1748         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1749         namespace, also more use of temp references and const
1750
1751         * cursor.[Ch] (getStatus): move to lyxfunc.C
1752
1753         * bufferparams.C: reformat slightly
1754
1755         * bufferview_funcs.C (font2string): constify arg
1756
1757         * changes.C:
1758         * converter.C:
1759         * counters.C:
1760         * bufferlist.C:
1761         * buffer_funcs.C: (many funcs): constify arg on function
1762         definitions, also make more local vars const, also add ASSERTS on
1763         pointer args.
1764
1765         * buffer.C (LYX_FORMAT): put const in correct place
1766         (many funcs): constify arg on function definitions, also make
1767         more local vars const
1768
1769         * aspell_local.h: remove "struct" from typdef setup
1770
1771         * aspell.C (check): make word_ok const
1772         (nextMiss): simplify slightly
1773         (error): ditto
1774
1775 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1776
1777         * lyxrc.[Ch]: store all float values as strings.
1778         use int (not float) for lyxrc.dpi.
1779
1780 2005-01-04  Angus Leeming  <leeming@lyx.org>
1781
1782         * lyx_cb.C (Reconfigure):
1783         * lyx_main.C (queryUserLyXDir):
1784         to run the <system_lyxdir>/configure correctly on Windows, prefix
1785         the path to the script with "sh " when generating the string that
1786         is passed to system().
1787
1788 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1789
1790         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1791
1792 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1793
1794         * lyxlength.C (asLatexString): get rid of setprecision
1795
1796 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1797
1798         * text2.C (setLayout): remove unused variable endpit.
1799         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1800
1801         * paragraph.C (onlyText): remove unused variable style.
1802
1803         * cursor.C (bruteFind): remove unused variables beg and end.
1804
1805         * Makefile.am (dist_noinset_DATA): not needed anymore
1806
1807         * cheaders/*: remove.
1808
1809 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1810
1811         * text3.C: fix LFUN_MATH_MODE.
1812
1813 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1814
1815         * buffer_funcs.C (countWords): new function. Counts words between
1816         two iterators.
1817
1818         * BufferView_pimpl.C (getStatus, dispatch): handle
1819         LFUN_WORDS_COUNT.
1820
1821         * LyXAction.C (init):
1822         * lfuns.h: add LFUN_WORDS_COUNT.
1823
1824 2004-12-19  Angus Leeming  <leeming@lyx.org>
1825
1826         * buffer.C (save): s/slashify_path/internal_path/.
1827
1828 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1829
1830         * lyxfind.C (findChange): do not search for end of pars, because
1831         the change tracker cannot handle this (fixes bug 1719).
1832
1833 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1834
1835         * paragraph.[Ch] (autoBreakRows): remove
1836
1837         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1838
1839         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1840         avoid using the paragraph one
1841
1842         * text2.C (LyXText, insertStringAsLines): adjust
1843
1844 2004-12-16  Angus Leeming  <leeming@lyx.org>
1845
1846         * bufferlist.C:
1847         * lyx_main.C:
1848         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1849
1850 2004-12-14  Angus Leeming  <leeming@lyx.org>
1851
1852         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1853
1854         * bufferlist.C (emergencyWrite):
1855         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1856         GetEnvPath("HOME").
1857
1858 2004-12-14  Angus Leeming  <leeming@lyx.org>
1859
1860         * main.C: (main): no longer pass pointers to os::init.
1861
1862 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1863
1864         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1865         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1866
1867 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1868
1869         * lyxfunc.C:
1870         * text3.C: remove selection_possible global flag
1871
1872 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1873
1874         * text2.C (getSelectionSpan): remove
1875         (changeDepth, changeDepthAllowed): adjust
1876
1877 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1878
1879         * Makefile.am (BOOST_LIBS): use boost variables
1880
1881 2004-12-03  José Matos  <jamatos@lyx.org>
1882
1883         * buffer.C: format up to 238.
1884
1885 2004-12-03  José Matos  <jamatos@lyx.org>
1886
1887         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1888
1889 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1890
1891         * cursor.C (goUpDown): remove call to idxUpDown2
1892
1893 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1894
1895         * tabular.[Ch]: use size_t-like types for cell, row and column
1896         indices
1897
1898 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1899
1900         * lyxfunc.C (getStatus): do not lose previous information when
1901         calling BufferView::getStatus; do not set a default "Command
1902         disabled" message at the beginning, but just before returning.
1903
1904 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1905
1906         * cursor.h (getStatus): add better comment from src/cursor.C
1907
1908 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1909
1910         * text3.C (getStatus): return false when the lfun is not handled
1911
1912 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1913
1914         * broken_headers.h: remove
1915
1916         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1917
1918 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1919
1920         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1921         offset_ref accessors
1922
1923         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1924         top_y_, merge fitcursor with update
1925         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1926         coord scheme
1927         (metrics): introduce
1928         (workAreaDispatch): adapt to new coord scheme
1929         (redoCurrentBuffer): remove
1930
1931         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1932
1933         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1934         CurStatus enum.
1935
1936         * coordcache.[Ch]: add paragraph cache and helpers
1937
1938         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1939         adjust everywhere
1940
1941         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1942         (targetX, setTargetX): introduce
1943
1944         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1945         baseline -> ascent, as the rest of lyx
1946
1947         * lyxtext.h: remove redoParagraphs, updateParPositions,
1948         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1949         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1950         have ascent/descent (ascent is ascent of first par)
1951
1952         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1953         step of BufferView
1954
1955         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1956
1957         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1958
1959         * pariterator.C: fix infinite loop introduced in par->pit renaming
1960
1961         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1962         in insets and LyXText, draw two off-screen paragraphs using
1963         NullPainter, and adapt to new coord scheme
1964
1965         * text.C:
1966         * text2.C:
1967         * text3.C: adapt lfun handlers to the new coord scheme, which
1968         means: there's only guaranteed coord information for onscreen pars
1969         plus one above and one below. This implies that one can do search
1970         from y coordinates in the range [-1,workHeight]
1971
1972 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1973
1974         * rename a lot of InsetOld to InsetBase
1975
1976 2004-11-25  Angus Leeming  <leeming@lyx.org>
1977
1978         * BufferView_pimpl.C:
1979         * lyx_cb.C:
1980         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1981
1982 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1983
1984         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1985         call BufferView::getStatus if LCursor::getStatus did nothing
1986         (setStatusMessage, getStatusMessage): removed.
1987
1988         * FuncStatus.C (message): new methods. Used to provide an error
1989         message indicating why a command is disabled.
1990         (clear, |=, FuncStatus): update for message.
1991
1992 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1993
1994         * lyxfunc.C (dispatch): always call sendDispatchMessage
1995
1996 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1997
1998         * BufferView.C:
1999         * BufferView_pimpl.C:
2000         * CutAndPaste.C:
2001         * FontIterator.C:
2002         * buffer.C:
2003         * cursor.C:
2004         * cursor_slice.[Ch]:
2005         * dociterator.[Ch]:
2006         * lyxfind.C:
2007         * paragraph_funcs.C:
2008         * pariterator.C:
2009         * rowpainter.C:
2010         * text.C:
2011         * text2.C:
2012         * text3.C:
2013         * undo.C: par->pit renaming
2014
2015 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2016
2017         * tabular.C (cellstruct): use initialization, store a shared_ptr
2018         to insettext instead of the insettext directly, adjust to fit.
2019         (operator=):  new function
2020         (swap): new function
2021         (rowstruct): use initialization
2022         (columnstruct): use initialization
2023         (ltType): use initialization
2024
2025
2026         * lyxlength.h (swap): new function
2027
2028         * LColor.[Ch] (operator=): use the common semantics
2029
2030 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2031
2032         * lyxfind.C (findNextChange): update the bufferview after setting
2033         the selection.
2034
2035 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2036
2037         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2038         number of InsetOptArgs has already been inserted.
2039
2040         * output_latex.C (latexOptArgInsets): new method. This outputs all
2041         the optarg insets, up to the limit defined in the layout file.
2042         (optArgInset): removed
2043         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2044
2045 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2046
2047         * paragraph.C (isLetter): remove special spellchecker-related
2048         code; return true also for digits
2049         (isWord, isKomma): remove
2050
2051         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2052         * lyxfind.C (MatchString()): use isLetter instead of isWord
2053
2054 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2055
2056         * pariterator.h (operatir=): comment out un-implemented member
2057         function.
2058
2059         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2060         static cast.
2061
2062 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2063
2064         * lyxfont.h: include LColor.h to satisfy concept checks.
2065
2066 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * pariterator.h: add typdefs for value_type, difference_type,
2069         pointer and reference to satisfy concept checks. Also add default
2070         constructor for same reason.
2071
2072         * pariterator.C (operator++): add post-increment operator to
2073         satisfy concept checks.
2074
2075         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2076         checks.
2077
2078         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2079
2080         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2081         checks. Also rename base_type to BaseType to follow naming
2082         standard better.
2083
2084         * FloatList.h: include Floating.h to satisfy concept checks.
2085
2086 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2087
2088         * lyxfunc.C (getStatus): when the origin of the request is menu or
2089         toolbar, and the LyXView does not have focus, do as if there was
2090         no buffer (bug 1720)
2091
2092         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2093         FuncRequest to individual entries of LFUN_SEQUENCE
2094
2095 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2096
2097         * output_latex.C (TeXOnePar): override runparams.moving_arg
2098         according to the needprotect value of the current paragraph (bug
2099         1739)
2100
2101         * paragraph.C (simpleTeXOnePar): no need to override
2102         runparams.moving_args here
2103
2104 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2105
2106         * vspace.C: fix off-by-one-error, related to fix #1682
2107
2108 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2109
2110         * lengthcommon.C: a more general fix for bug 1682
2111
2112 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2113
2114         * text.C (backspace): fix crash
2115
2116 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2117
2118         * format.[Ch] (getFormatFromFile): new method
2119         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2120
2121 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2124
2125 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2126
2127         * lyxfunc.C (dispatch): remove the verbose argument
2128         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2129         instead
2130
2131         * kbmap.C (defkey): set the origin of func to KEYBOARD
2132
2133         * MenuBackend.C (MenuItem):
2134         * ToolbarBackend.C (add): set the origin of func to UI
2135
2136         * funcrequest.[Ch]: add origin member, which indicates which part
2137         of LyX requests an action
2138
2139 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2140
2141         * converter.C (move): don't lie in the error message
2142         * converter.h (isReachable, move): document
2143
2144 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2145
2146         * buffer.C: remove unused using lyx::support::atoi
2147         * paragraph_funcs.C: ditto
2148
2149 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2150
2151         * bufferlist.C (exists): use bind and equal_to instead of
2152         compare_memfun
2153         (getBuffer): ditto
2154         * lyxtextclasslist.C (NumberOfClass): ditto
2155
2156         * cursor.C (insert): use for_each instead of explicit for loop
2157
2158         * bufferlist.C (getFileNames): use std::transform and
2159         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2160
2161         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2162         for loop
2163
2164         * buffer.C (changeLanguage): use for_each instead of explicit for
2165         loop
2166         (hasParWithID): implement using getParFromID
2167
2168         * LaTeXFeatures.C: ws change only
2169
2170         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2171         to cleanup a bit.
2172
2173         * BufferView_pimpl.C (trackChanges): use for_each instead of
2174         expilicit for loop
2175
2176 2004-11-04  André Pönitz  <poenitz@gmx.net>
2177
2178         * undo.h:
2179         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2180
2181         * dociterator.C (asDocIterator): use hard assert again.
2182
2183 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2184
2185         * lyxlength.C (asLatexString): rewrite so that it does not use
2186         snprintf anymore
2187
2188 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2189
2190         * text3.C (specialChar, dispatch): make sure cursor moves to the
2191         right after inserting an inset
2192
2193 2004-11-02  José Matos  <jamatos@lyx.org>
2194
2195         * output_docbook.C (docbook):
2196         * paragraph.C (getID):
2197         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2198         garantee that the output is always legal.
2199
2200         * tabular.C (docbook):
2201         * outputprams.[Ch]: remove mixed contents.
2202
2203 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2204
2205         * text2.C (setCounter): prevent endless loop
2206
2207 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2208
2209         * exporter.C (copyFile): use the mover instead of support::copy()
2210         * exporter.C (Export): pass format and latex name to copyFile()
2211         * exporter.h (addExternalFile): document
2212         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2213
2214 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2215
2216         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2217
2218 2004-10-30  José Matos  <jamatos@lyx.org>
2219
2220         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2221         text and no inset or font change. This allows to use CDATA
2222         sections just for the whole paragraph.
2223
2224 2004-10-30  José Matos  <jamatos@lyx.org>
2225
2226         * paragraph.C (getFirstWord): remove unused variable.
2227
2228 2004-10-30  José Matos  <jamatos@lyx.org>
2229
2230         * paragraph.C (getFirstWord): the content should always be escaped
2231         there.
2232         (simpleDocBookOnePar):
2233         * output_docbook.C (makeEnvironment): replace reference to CDATA
2234         to style pass_thru.
2235
2236 2004-10-30  José Matos  <jamatos@lyx.org>
2237
2238         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2239
2240 2004-10-30  José Matos  <jamatos@lyx.org>
2241
2242         * output_docbook.C (makeParagraphs):
2243         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2244         standard paragraph has only a given type of content drop the wrapper.
2245
2246 2004-10-29  José Matos  <jamatos@lyx.org>
2247
2248         * output_docbook.C (makeEnvironment):
2249         * sgml.C (openTag):
2250         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2251
2252 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2253
2254         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2255         (cleanID): sanitize any id.
2256
2257 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2258
2259         * buffer.C, lyxlex_pimpl.C:
2260         * lyxlex_pimpl.C (setFile):
2261         s/getExtFromContents/getFormatFromContents/
2262
2263 2004-10-28  José Matos  <jamatos@lyx.org>
2264
2265         * output_docbook.C (makeEnvironment): move id to broadest possible
2266         scope.
2267
2268         * sgml.C (openTag): apply substitution of <> for all attributes.
2269
2270 2004-10-28  José Matos  <jamatos@lyx.org>
2271
2272         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2273         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2274         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2275
2276         * sgml.[Ch]: new version for open and closeTag for paragraph and
2277         for strings. Now they handle the ids of paragraphs.
2278
2279 2004-10-26  Angus Leeming  <leeming@lyx.org>
2280
2281         * Makefile.am: add mover.[Ch].
2282
2283         * converter.C (convert, move): use the new Movers to move external
2284         files to the temp directory.
2285
2286         * lyx_main.C (init): ensure that the global system_movers data
2287         is initialised.
2288
2289         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2290         preferences file.
2291
2292         * mover.[Ch]: new files, defining a Mover as a utility to move an
2293         external file between directories and, if necessary, manipulate this
2294         file using a helper script.
2295
2296 2004-10-25  José Matos  <jamatos@lyx.org>
2297
2298         * output_docbook.C (makeCommand): merge two if's that tested the
2299         same condition.
2300
2301 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2302
2303         * sgml.C (escapeString): fix warning in a better way
2304
2305 2004-10-25  José Matos  <jamatos@lyx.org>
2306
2307         * sgml.C (escapeString): import the require boosts header file for
2308         tie, and avoid a signed unsigned comparison.
2309
2310 2004-10-25  José Matos  <jamatos@lyx.org>
2311
2312         * sgml.h: add #include <string>
2313
2314 2004-10-25  José Matos  <jamatos@lyx.org>
2315
2316         * sgml.[Ch] (escapeString): new function to escape all the string.
2317
2318 2004-10-24  José Matos  <jamatos@lyx.org>
2319
2320         * paragraph.[Ch] (getFirstWord): new function to get the first
2321         word. Useful for description.
2322         (simpleDocBookOnePar): remove depth argument, add another that
2323         says where to start the paragraph.
2324
2325         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2326         use the new functions to fix cleanly the support for descriptions.
2327
2328 2004-10-24  José Matos  <jamatos@lyx.org>
2329
2330         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2331         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2332         * output_linuxdoc.C (linuxdocParagraphs):
2333         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2334         add buffer as argument.
2335
2336 2004-10-24  José Matos  <jamatos@lyx.org>
2337
2338         * output_docbook.C (makeEnvironment, searchEnvironment): place
2339         CDATA inside paragraphs and fix scope for listitems.
2340
2341 2004-10-24  José Matos  <jamatos@lyx.org>
2342
2343         * output_docbook.C: remove using statement for stack.
2344
2345 2004-10-23  José Matos  <jamatos@lyx.org>
2346
2347         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2348         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2349         docbook. The new scheme is recursive and makes use of iterators, the
2350         same as latex export works.
2351         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2352         directly with the paragraph contents. This code was moved up to
2353         output_docbook.C (docbookParagraphs).
2354         * sgml.C (openTag, closeTag): removed unneeded newlines.
2355         (closeEnvTags) removed.
2356
2357 2004-10-23  André Pönitz  <poenitz@gmx.net>
2358
2359         * undo.C (textUndoOrRedo):
2360         * dociterator.C (asDocIterator): work around crash
2361
2362         * cursor.C (getStatus): replace ASSERT by more verbose error message
2363           and manual correction of the problem. Should increase stability
2364           while providing more sensible information.
2365
2366 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2367
2368         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2369
2370         * bufferlist.C (previous, next): new methods
2371
2372         * lfuns.h:
2373         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2374
2375 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2376
2377         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2378         entities to preamble.
2379
2380 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2381
2382         * messages.C (Pimpl): strip off translation context information
2383
2384 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2385
2386         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2387         the cursor is correct (bug 1694)
2388
2389 2004-10-13  José Matos  <jamatos@lyx.org>
2390
2391         * output_docbook.C (docbookParagraphs): fix closing tags in the
2392         end of the document.
2393
2394 2004-10-09  José Matos  <jamatos@lyx.org>
2395
2396         * buffer.C: format up to 237.
2397         * bufferparams.C (write): use tostr to convert booleans to strings.
2398
2399 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2400
2401         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2402
2403 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2404
2405         * LaTeX.C: implement use of babel language in xindy.
2406
2407 2004-10-05  José Matos  <jamatos@lyx.org>
2408
2409         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2410         Add new translators to help reading and writing the lyx file.
2411
2412 2004-10-05  José Matos  <jamatos@lyx.org>
2413
2414         * ParagraphParameters.C (read):
2415         * text.C (readParToken): replace nexToken by more appropriate lex
2416         methods.
2417
2418 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2419
2420         * LaTeX.C (runMakeIndex):
2421         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2422         (usually 'makeindex') configurable.
2423
2424         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2425         with a variable rather than with a number.
2426
2427 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2428
2429         * output_latex.C (TeXOnePar): make sure font setting is the first
2430         thing that gets output (and the last at the end). Should fix bug
2431         1404.
2432
2433 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2434
2435         * pch.h: use proper signal include
2436
2437         * LaTeX.h: Use preferred calling of Boost.Signal
2438         * buffer.h: ditto
2439
2440 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2441
2442         * pch.h: dont include <boost/function/function0.hpp>
2443
2444         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2445
2446         * paragraph_pimpl.h: remove usage of ShareContainer
2447
2448         * paragraph_pimpl.C: remove initialization of ShareContainer.
2449
2450 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2451
2452         Fix bug #1666
2453
2454         * BufferView.C (putSelectionAt): change the semantics when
2455         backwards == true: now, this just swaps cursor and anchor wrt the
2456         forward case
2457
2458         * BufferView.h (putSelectionAt): add some documentation
2459
2460         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2461         make sure backwardChar is done at least once (to avoid getting
2462         stuck)
2463         (findNextChange): use putSelectionAt in the forward direction
2464         (operator()): use Paragraph::isWord
2465
2466 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2467
2468         * Spacing.C (set): c_str fix
2469
2470 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2471
2472         * lyx_cb.C (Reconfigure): quote the name of configure script in
2473         case it contains spaces
2474
2475 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2476
2477         * client: new dir
2478
2479         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2480         (BOOST_LIBS): use top_buildir when looking for the file
2481
2482 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2483
2484         * pch.h: do not use include boost/format.hpp, multiple symbols
2485                 will result (gcc bug)
2486
2487
2488 2004-08-23  José Matos  <jamatos@lyx.org>
2489
2490         * bufferparams.C (readToken): fix reading of the author field.
2491
2492 2004-08-20  José Matos  <jamatos@lyx.org>
2493
2494         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2495
2496 2004-08-20  José Matos  <jamatos@lyx.org>
2497
2498         * lyxlex.[Ch] (findToken): remove function.
2499
2500         * ParagraphParameters.C (findToken):
2501         * bufferparams.C (findToken): replace call for previous function
2502         with local copy. This local function has one more argument, the
2503         read string argument.
2504
2505 2004-08-16  José Matos  <jamatos@lyx.org>
2506
2507         * ParagraphParameters.C (write):
2508         * Spacing.C (writeFile):
2509         * bufferparams.C (writeLaTeX):
2510         * lyx_cb.C (Reconfigure):
2511         * paragraph.C (write):
2512         * tabular.C (write): remove unnecessary space at end of line.
2513
2514
2515 2004-08-16  José Matos  <jamatos@lyx.org>
2516
2517         * text.C (readParagraph): remove debug message.
2518
2519 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2520
2521         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2522         crash
2523
2524         * output_plaintext.C (asciiParagraph): set depth correctly
2525
2526         * outputparams.h: add member depth
2527
2528         * paragraph_funcs.C (ownerPar): remove.
2529
2530         * text2.C (setCounter): remove first_pit; comment out some
2531         non-working code that uses ownerPar
2532
2533         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2534         uses ownerPar
2535
2536 2004-08-16  José Matos  <jamatos@lyx.org>
2537
2538         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2539         For the same level of importance use the same chanel to report problems.
2540         (read): add code to deal with \begin_body and \end_body.
2541
2542
2543 2004-08-15  José Matos  <jamatos@lyx.org>
2544
2545         * lyxlex.C (getString): fix comment, buffer::readBody is now
2546         buffer:readDocument.
2547
2548         * tex-strings.C (string_papersize): Default -> default,
2549         Custom -> custom, for consistency with other options.
2550
2551 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2552
2553         * pch.h: new file
2554
2555         * Makefile.am: support pch
2556
2557 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2558
2559         * text.C (readParToken): remove the static LyXFont variable and
2560         pass it as a parameter instead. This fixes a nasty bug where an
2561         inset will be inserted with a bad font in some situations
2562         (readParagraph): adapt
2563
2564         * text2.C (setCounter): reduce number of calls to pars_[pit]
2565
2566         * text.C (singleWidth): add an assert, fix a test
2567
2568         * rowpainter.C (paintText): reduce number of calls to singleWidth
2569
2570         * paragraph.C (isHfill):
2571         (isNewline): ws only
2572
2573 2004-08-14  André Pönitz  <poenitz@gmx.net>
2574
2575         * text.C:
2576         * text2.C:
2577         * rowpainter.C:
2578         * lyxtext.h (several functions): use a Paragraph & argument
2579         instead of par_type
2580
2581 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2582
2583         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2584
2585         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2586
2587         * text.C (singleWidth): remove useless test
2588
2589 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2590
2591         * tabular.h: remove bogus comments
2592
2593         * tabular.C (getDescentOfRow):
2594         (isPartOfMultiColumn): add assertions
2595
2596         * lyxlength.C (inPixels): remove #warning
2597
2598 2004-08-14  André Pönitz  <poenitz@gmx.net>
2599
2600         * paragraph.h: inline getChar()
2601
2602         * BufferView.h: remove unused declarations
2603
2604 2004-08-14  José Matos  <jamatos@lyx.org>
2605
2606         * Buffer.[Ch] (readDocument): new name for old readBody.
2607         * Buffer.C: new file format, new keywords: \begin_document,
2608         \begin_header, \begin_body, \end_body.
2609
2610         * bufferparams.C (readToken): replace all calls to lex.nextToken
2611         by lex.next(). Do the same to eatLine except where really needed.
2612
2613         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2614         line when writing to the lyx file.
2615
2616         * output_plaintext.C (asciiParagraph): fix Bibliography style
2617         handling.
2618
2619         * text.C (read): fix end of file handling.
2620
2621 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2622
2623         * MenuBackend.C (Menu::operator[]): new method to access
2624         individual menu items
2625         (Menu::hasFunc): new method. search for an item that corresponds
2626         to a given func
2627         (MenuBackend::specialMenu): new method
2628         (MenuBackend::expand): if a special menu has been set, skip
2629         entries whose func() appears in this menu
2630
2631 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2632
2633         * text3.C: use Debug::DEBUG a bit more
2634
2635         * text.C (leftMargin): try to simplify a tiny bit change var x to
2636         l_margin. Dont output the wide margins always.
2637         (rightMargin): no margin in inner texts
2638
2639         * rowpainter.h (nestMargin): new func
2640         (changebarMargin): new func
2641         (rightMargin): new func
2642
2643         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2644         now functions.
2645         (paintLast): ditto
2646
2647         * factory.C (createInset): modify setDrawFrame
2648
2649         * cursor.C: use Debug::DEBUG a bit more
2650
2651 2004-08-14  André Pönitz  <poenitz@gmx.net>
2652
2653         * coordcache.[Ch]:
2654         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2655         cache for all insets in (at least partially) visible (top-level)
2656         paragraphs.
2657
2658         * BufferView_pimpl.C: reset external coord cache before every update.
2659         This means the coord cache only contains valid entries.
2660
2661 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2662
2663         bug 1096
2664         * BufferView_pimpl.C (getInsetByCode): move function out of class
2665         and change in to a template in anon namespace. Also fix to do what
2666         suits us better.
2667
2668 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2669
2670         bug 1305
2671         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2672         of char
2673         (breakParagraph): rename par to par_offset and use a local
2674         reference. Add code to keep the language over a rebreak.
2675         (breakParagraphConservative): rename par to par_offset, use a
2676         local reference
2677         (mergeParagraph): ditto
2678         (outerHook): ditto
2679         (isFirstInSequence): ditto
2680         (outerFont): rename pit to par_offset
2681
2682         * paragraph.C: ws change
2683         * paragraph.h: ditto
2684         * text3.C: ditto
2685         * text.C: ditto
2686
2687 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2688
2689         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2690         treatment for ']'
2691
2692         * paragraph.C (simpleTeXOnePar): when we have a \item with
2693         optional argument, enclose the argument with curly brackets (in
2694         case it contains a closing square bracket)
2695
2696         * text2.C (editXY):
2697         * text2.C (editXY):
2698         * text3.C (checkInsetHit): constify
2699
2700 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2701
2702         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2703         documents (bug 1629)
2704
2705 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2706
2707         Fix toggling of collapsable insets with the mouse (bug 1558)
2708
2709         * lyxfunc.C (dispatch): adapt to LCursor changes
2710
2711         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2712         make sure that dispatch is not invoked twice
2713
2714         * cursor.C (needsUpdate): new method
2715         (dispatch): return void
2716         (result): new method, to access the DispatchResult of the cursor.
2717
2718 2004-08-13  José Matos  <jamatos@lyx.org>
2719
2720         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2721
2722 2004-08-13  André Pönitz  <poenitz@gmx.net>
2723
2724         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2725
2726         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2727           multiple cells
2728
2729 2004-08-12  André Pönitz  <poenitz@gmx.net>
2730
2731         * text3.C: take out the 'cursor right' form insertInset and only
2732         do it in those places when it is really needed. Fixes crash on
2733         C-m...
2734
2735 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2736
2737         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2738
2739         * BufferView_pimpl.C (setBuffer): initialize the current font of
2740         the underlying LyXText
2741
2742 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2743
2744         * kbsequence.C (print): use UI native formatting for menu
2745         shortcuts
2746
2747         * text.C (insertChar): call Paragraph::insertChar with a font
2748         argument (cosmetic)
2749
2750         * paragraph.C (insertInset, insertChar): the version that takes a
2751         LyXFont argument is now a wrapper around the other one (the
2752         opposite used to be true).
2753
2754         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2755         argument. Font setting is done in Paragraph now.
2756
2757 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2758
2759         * outputparams.h: add new members intitle and lang.
2760
2761         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2762         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2763
2764 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2765
2766         * text3.C (dispatch): remove special handling of button 4 and 5,
2767         it is now taken care of in the frontend code.
2768
2769 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2770
2771         * Spacing.h: add <string> (STLPort compile fix)
2772
2773 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2774
2775         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2776
2777 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2778
2779         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2780         to bool.
2781
2782         * converter.C (showMessage): inherit from unary_function, make
2783         operator() const.
2784
2785         * buffer.C (writeFile): initialize retval
2786
2787         * InsetList.h: rename private variable list to list_
2788         * InsetList.[Ch]: adjust accordingly.
2789
2790 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2791
2792         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2793         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2794         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2795         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2796         * ParagraphParameters.C, LaTeXFeatures.C: replace
2797         "support/std_sstream.h" with <sstream>
2798
2799 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2800
2801         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2802         * lyxsocket.C (LyXServerSocket): ditto
2803         (serverCallback): ditto
2804
2805 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2806
2807         * LaTeXFeatures.C: check release date when loading jurabib.
2808
2809 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * lyxserver.C (startPipe): call register_socket_callback
2812         (endPipe): call unregister_socket_callback
2813
2814 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2815
2816         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2817         (LyXServerSocket): register the callback
2818         (LyXServerSocket): unregister the callback
2819         (fd): delete function
2820         (serverCallback): improve error checking and setup the callbacks.
2821         (dataCallback): change arg to fd.
2822         (writeln): new func (copied fro the client socket) used for server
2823         write to client.
2824         (LyXDataSocket): simplify
2825         (~LyXDataSocket): close ann unregiser callback
2826         (server): delete function
2827         (fd): delete function
2828         (readln): small changes, improve some std::string usage
2829         (writeln): constify a bit
2830
2831 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2832
2833         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2834         Qt frontend
2835
2836 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2837
2838         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2839         after it has been populated
2840
2841 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2842
2843         * text2.C (insertInset): move cursor when inserting inset.
2844
2845 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2846
2847         * kbmap.C (findbindings): a couple of new methods. returns a
2848         container of kb_sequence objects. The real work is done by the
2849         private recursive version
2850         (printbindings): uses findbindings to print out a bracketed list
2851         of bindings (renamed from findbinding).
2852
2853         * MenuBackend.C (binding): use kb_keymap::findbindings
2854
2855         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2856
2857 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2858
2859         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2860
2861 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2862
2863         * paragraph.C (isWord): return true on insets that report
2864         isLetter().
2865
2866         * text.C (getWord): use Paragraph::isWord to decide what is in a
2867         word and what is not; fix bug 1609.
2868
2869 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2870
2871         * tex-strings.C: add "none" to string_paperpackages[], fixes
2872         off-by-one-error in the paperpackage selection.
2873
2874         * lyxlex.[Ch]:
2875         * tex-strings.[Ch]: char const * string[n]
2876         -> char const * const string[]
2877
2878 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2879
2880         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2881         command, return early.
2882
2883 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * debug.h: add DEBUG to enum and fix size of ANY.
2886
2887         * debug.C: add support for Debug::DEBUG
2888         (showTags): cast errorTags.level to unsigned int
2889
2890         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2891         (redoCurrentBuffer): ditto
2892         (updateScrollbar): ditto
2893         * cursor.C (dispatch): ditto
2894         * text2.C (setLayout): ditto
2895         (setFont): ditto
2896         (updateCounters): ditto
2897         (editXY): ditto
2898         (deleteEmptyParagraphMechanism): ditto
2899
2900 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2901
2902         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2903         annotations to cleanup the Makefile slightly.
2904
2905 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2906
2907         * lyxrc.C: do not set user_email to a default value but use empty
2908         instead. The entry used to be translated, which does not work
2909         since at the point where lyxrc is constructed there is no
2910         translation service available
2911
2912         * messages.C (getLocaleDir): remove and use directly
2913         lyx_localedir() instead
2914
2915 2004-06-02  Angus Leeming  <leeming@lyx.org>
2916
2917         Fix crash caused by dereferencing null pointer 'exportdata' in
2918         OutputParams by creating a new ExportData variable on the heap,
2919         storing it in a boost::shared_ptr.
2920         The crash was triggered when generating an Instant Preview
2921         of an external inset.
2922
2923         * Makefile.am: add outputparams.C
2924
2925         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2926         (c-tor): allocate memory to it.
2927
2928         * exporter.C (c-tor): associated changes.
2929
2930 2004-06-01  Angus Leeming  <leeming@lyx.org>
2931
2932         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2933         contains data before calling isInset(0). (Bug 1513.)
2934
2935 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2936
2937         * exporter.C (checkOverwrite): new method
2938         * exporter.C (copyFile): new method
2939         * exporter.C (Export): copy referenced files to the document dir
2940         * exporter.[Ch]: new class ExportedFile
2941         * exporter.[Ch]: new class ExportData. Contains currently the
2942         names of referenced external files
2943         * outputparams.h: add exportdata member.
2944
2945 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2946
2947         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2948         version.C-tmp
2949
2950 2004-05-19  Angus Leeming  <leeming@lyx.org>
2951
2952         * LaTeXFeatures.C:
2953         * ToolbarBackend.C:
2954         * bufferparams.C:
2955         * lyxfunc.C: small changes due to the introduction of namespace
2956         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2957
2958 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2959
2960         * text3.C (dispatch): supress update when only moving the cursor
2961         * cursor.C (selHandle): remove commented code
2962
2963 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2964
2965         * paragraph.C (startTeXParParams): correct column count
2966         * CutAndPaste.C (pasteSelection): remove const_cast
2967         * output_docbook.C (docbookParagraphs): remove const_cast
2968         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2969         const_cast and return ParagraphList::const_iterator
2970         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2971         * output_plaintext.C (writeFileAscii): remove const_cast
2972         * paragraph.[Ch] (simpleTeXOnePar): make const
2973         * paragraph_funcs.C (outerPar): use const iterators
2974         * paragraph_pimpl.C (validate): use const iterators
2975         * text.C (setHeightOfRow): use const iterators
2976
2977 2004-05-17  Angus Leeming  <leeming@lyx.org>
2978
2979         * lfuns.h:
2980         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2981
2982         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2983         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2984         if the citation engine has changed.
2985
2986 2004-05-14  José Matos  <jamatos@lyx.org>
2987
2988         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2989         if the textclass does not provide it. Have it different for sgml and
2990         xml.
2991         support the language of document.
2992         * output_docbook.C (docbookParagraphs):
2993         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2994         first anchor as the id of the paragraph, remove special case code.
2995         * sgml.C (escapeChar): escape only < & >.
2996
2997 2004-05-14  Angus Leeming  <leeming@lyx.org>
2998
2999         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3000         dependencies on src/frontends/controllers/biblio.h. Define a
3001         CiteEngine_enum wrapper class to enable the enum to be forward
3002         declared.
3003
3004 2004-05-12  Angus Leeming  <leeming@lyx.org>
3005
3006         * buffer.C: up LYX_FORMAT to 234.
3007         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3008         use_numerical_citations with a single biblio::CiteEngine cite_engine
3009         variable.
3010         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3011
3012 2004-05-13  José Matos  <jamatos@lyx.org>
3013
3014         * converter.h:
3015         * converter.C (Converter, readFlags): add xml member.
3016         * outputparams.h: add XML flavor.
3017         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3018
3019 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3020
3021         * lyxfunc.C (dispatch):
3022         (getStatus): fix handling of LFUN_SEQUENCE
3023
3024 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3025
3026         * debug.C (showLevel): do not forget the end-of-line marker
3027
3028 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3029
3030         * kbmap.C (read): do not stop parsing a bind file when an error
3031         occurs (bug 1575)
3032
3033 2004-04-29  Angus Leeming  <leeming@lyx.org>
3034
3035         * cursor.C:
3036         * factory.C:
3037         * pariterator.C:
3038         * text2.C: wrap a bunch of #warning statements
3039         inside #ifdef WITH_WARNINGS blocks.
3040
3041 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3042
3043         * buffer.C: increment format to 233.
3044
3045 2004-04-28  Angus Leeming  <leeming@lyx.org>
3046
3047         * BufferView_pimpl.C:
3048         * lyxfunc.C:
3049         * text3.C:
3050         s/updateToolbar()/updateToolbars()/
3051         s/Toolbar.h/Toolbars.h/
3052
3053 2004-04-28  Angus Leeming  <leeming@lyx.org>
3054
3055         * BufferView.[Ch] (c-tor):
3056         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3057         No longer passes these data to the WorkArea generator.
3058
3059 2004-04-28  Angus Leeming  <leeming@lyx.org>
3060
3061         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3062
3063 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3064
3065         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3066
3067 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3068
3069         * output_latex.C (TeXEnvironment): make sure that there is a line
3070         break before \end{foo} for the last paragraph of a document
3071         (TeXOnePar): if the paragraph is at the end of the document (or
3072         inset) and the language has to be reset, then make sure that the
3073         line break is _before_ the language command, not after (fixes bug
3074         1225); also make sure that the language reset command is the first
3075         thing after the paragraph (to ensure proper nesting of
3076         environments and thus fix bug 1404)
3077
3078 2004-04-21  John Levon  <levon@movementarian.org>
3079
3080         * ToolbarBackend.h:
3081         * ToolbarBackend.C: make "name" be a programmatic name
3082         and a gui_name field.
3083
3084         * lyxfunc.C: display the minibuffer on M-x
3085
3086 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3087
3088         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3089         (bug 1526)
3090
3091 2004-04-19  Angus Leeming  <leeming@lyx.org>
3092
3093         * BufferView_pimpl.C (setBuffer): changed preview interface.
3094
3095         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3096         possible values.
3097
3098 2004-04-19  John Levon  <levon@movementarian.org>
3099
3100         * BufferView_pimpl.C:
3101         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3102
3103 2004-04-05  Angus Leeming  <leeming@lyx.org>
3104
3105         * text.C (redoParagraphs): add call to updateCounters(), thereby
3106         fixing the missing "Figure #:" label from the caption of a
3107         figure float.
3108
3109 2004-04-13  Angus Leeming  <leeming@lyx.org>
3110
3111         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3112         cursor is clicked out of an inset.
3113
3114 2004-04-13  Angus Leeming  <leeming@lyx.org>
3115
3116         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3117         than an InsetOld one.
3118
3119 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3120
3121         * format.[Ch]: add editor to Format
3122         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3123         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3124
3125 2004-04-08  André Pönitz  <poenitz@gmx.net>
3126
3127         * metricsinfo.h: remove PainterInfo::width member
3128
3129 2004-04-08  Angus Leeming  <leeming@lyx.org>
3130
3131         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3132         "\providecommand" rather than "\newcommand", thereby preventing
3133         clashes with packages that define "\boldsymbol" themselves.
3134         Eg, beamer.
3135
3136 2004-04-08  Angus Leeming  <leeming@lyx.org>
3137
3138         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3139         thereby squashing an unnecessary warning.
3140
3141 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3142
3143         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3144         setBuffer()
3145
3146 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3147
3148         * BufferView.C (setCursor): call redoParagraph (some insets could
3149         have been opened)
3150         (putSelectionAt): remove the 'double update' trick
3151
3152         * BufferView_pimpl.C (fitCursor): call refreshPar
3153         (workAreaDispatch): remove an uneeded update call
3154         (dispatch): remove some manual update calls
3155
3156         * cursor.[Ch]: remove cached_y_, updatePos
3157         (selHandle): set noUpdate when appropriate
3158
3159         * lyxfunc.C (dispatch): track if we need an update
3160
3161         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3162
3163         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3164         (paintSelection): cheap optimization, do not call cursorX when not
3165         needed
3166         (paintPars): change signature
3167         (refreshPar): add
3168         (paintText): adjust
3169         (paintTextInset): adjust
3170
3171         * text.C: adjust
3172
3173 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3174
3175         * lengthcommon.C: compilation fix: remove explicit array size from
3176         unit_name[] and friends
3177
3178 2004-04-05  Angus Leeming  <leeming@lyx.org>
3179
3180         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3181
3182         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3183         present only for the preferences dialog.
3184         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3185
3186 2004-04-05  Angus Leeming  <leeming@lyx.org>
3187
3188         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3189         to enable the frontends to export changes to lyxrc correctly.
3190
3191         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3192
3193 2004-04-07  André Pönitz  <poenitz@gmx.net>
3194
3195         * cursor.[Ch] (selClear, adjust): remove math
3196
3197         * cursor_slice.C: more agressive assert
3198
3199         * lyxfunc.C:
3200         * BufferView_pimpl.C: rework mouse event dispatch
3201
3202         * dociterator.C:
3203         * paragraph.C:
3204         * text2.C:
3205         * text3.C: adjust
3206
3207 2004-04-05  André Pönitz  <poenitz@gmx.net>
3208
3209         * cursor.[Ch] (valign, halign...): remove unneeded functions
3210
3211 2004-04-05  Angus Leeming  <leeming@lyx.org>
3212
3213         * lyxlength.[Ch] (unit_name et al.): const-correct.
3214
3215 2004-04-05  Angus Leeming  <leeming@lyx.org>
3216
3217         * BufferView_pimpl.C:
3218         * buffer.C:
3219         * counters.C:
3220         * cursor.C:
3221         * lyxfunc.C
3222         * paragraph.C:
3223         * pariterator.C:
3224         * text.C:
3225         * text2.C:
3226         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3227
3228 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3229
3230         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3231
3232 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3233
3234         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3235         * BufferView_pimpl.[Ch] (getStatus)
3236         * BufferView.[Ch] (getStatus): add
3237         * lyxfunc.C (getStatus): move lfuns handled in
3238         BufferView::dispatch to te function above
3239         * Cursor.C (setSelection): set selection() = true
3240
3241 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3242
3243         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3244
3245 2004-03-31  Angus Leeming  <leeming@lyx.org>
3246
3247         * lyxfunc.C (dispatch): Fall through to the generic
3248         Dialogs::show("preamble").
3249
3250 2004-03-31  Angus Leeming  <leeming@lyx.org>
3251
3252         * lyxfunc.C (dispatch): Fall through to the generic
3253         Dialogs::show("spellchecker").
3254
3255 2004-03-31  Angus Leeming  <leeming@lyx.org>
3256
3257         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3258         preferences dialog.
3259
3260 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3261
3262         * BufferView.C
3263         * cursor.[Ch]
3264         * dociterator.[Ch]:
3265         * insetiterator.[Ch]:
3266         * lyxfind.C:
3267         * lyxfunc.C:
3268         * pariterator.[Ch]:
3269         * text2.C:
3270         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3271
3272 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3273
3274         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3275         insets where we are putting the cursor.
3276
3277 2004-03-31  Angus Leeming  <leeming@lyx.org>
3278
3279         * lfuns.h:
3280         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3281
3282         * lyxrc.[Ch] (read, write): overloaded member functions taking
3283         a std::[io]stream arguments.
3284
3285         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3286
3287 2004-03-31  Angus Leeming  <leeming@lyx.org>
3288
3289         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3290         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3291
3292         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3293         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3294
3295 2004-03-31  Angus Leeming  <leeming@lyx.org>
3296
3297         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3298         the LFUN_ALL_INSETS_TOGGLE code.
3299
3300 2004-03-30  Angus Leeming  <leeming@lyx.org>
3301
3302         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3303         has died. Fall through to the generic Dialogs::show("document").
3304
3305 2004-03-30  Angus Leeming  <leeming@lyx.org>
3306
3307         * lfuns.h:
3308         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3309         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3310
3311         * lyxfunc.C (getStatus, dispatch): define the actions for these
3312         lfuns. Little more than a cut and pste job from ControlDocument.C
3313
3314         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3315
3316 2004-03-30  Angus Leeming  <leeming@lyx.org>
3317
3318         * lfuns.h:
3319         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3320         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3321
3322         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3323         open/closed state of ollapsable insets. Usage:
3324
3325         all-inset-toggle <state> <name>, where
3326         <state> == "open" || "closed" || "toggle" and
3327         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3328
3329         * lyxtext.h, text2.C (toggleInset): removed.
3330
3331         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3332         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3333         now passes LFUN_INSET_TOGGLE to the found inset.
3334
3335         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3336         is now invoked as "all-insets-toggle toggle branch".
3337
3338 2004-03-30  Angus Leeming  <leeming@lyx.org>
3339
3340         * dociterator.C:
3341         * insetiterator.C:
3342         * pariterator.[Ch]: added/corrected header blurb.
3343
3344 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3345
3346         * dociterator.[Ch]: add an inset_ member
3347         (backwardPos): implemented
3348         (backwardPos, forwardPos): use inset_ when the stack is empty.
3349         (doc_iterator_begin, doc_iterator_end): implemented
3350         * pariterator.[Ch]: adjust, add begin, end
3351         * insetiterator.[Ch]: adjust, add begin, end
3352         * cursor.C:
3353         * document.C:
3354         * BufferView.C:
3355         * BufferView_pimpl.C:
3356         * CutAndPaste.C: adjust
3357
3358 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3359
3360         * buffer.C: increment file format to 232.
3361         * LaTeXFeatures.C: add bibtopic package.
3362         * bufferparams.[Ch]: param \use_bibtopic.
3363
3364         * lyxrc.[Ch]: add lyxrc bibtex_command
3365         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3366
3367         * buffer.C: increment file format to 231.
3368
3369 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3370
3371         * dociterator.C: implement forwardPar
3372         * iterators.[Ch]: remove, replaced by
3373         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3374         * BufferView.C:
3375         * BufferView_pimpl.C:
3376         * CutAndPaste.C:
3377         * buffer.C:
3378         * bufferview_funcs.C:
3379         * cursor.C:
3380         * lyxfind.C
3381         * lyxfunc.C
3382         * paragraph_funcs.C
3383         * toc.C:
3384         * Makefile.am: adjust
3385
3386 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3387
3388         * CutAndPaste.C (pasteSelection): fix 2 crashes
3389         (eraseSelection): fix a crash
3390         * paragraph_funcs.C: remove a warning
3391
3392 2004-03-28  Angus Leeming  <leeming@lyx.org>
3393
3394         * lfuns.h:
3395         * LyXAction.C (init): new LFUN_PRINT.
3396
3397         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3398
3399 2004-03-27  Angus Leeming  <leeming@lyx.org>
3400
3401         * lfuns.h:
3402         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3403
3404         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3405
3406 2004-03-27  Angus Leeming  <leeming@lyx.org>
3407
3408         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3409         insetlist always contains non-null pointers to insets.
3410
3411 2004-03-26  Angus Leeming  <leeming@lyx.org>
3412
3413         * src/BufferView_pimpl.C:
3414         * src/CutAndPaste.C:
3415         * src/buffer.C:
3416         * src/iterators.C:
3417         * src/output_plaintext.C:
3418         * src/outputparams.h:
3419         * src/paragraph_funcs.C:
3420         * src/rowpainter.C:
3421         * src/text.C:
3422         * src/text2.C:
3423         * src/frontends/controllers/ControlErrorList.C:
3424         * src/frontends/gtk/FileDialogPrivate.C:
3425         * src/frontends/gtk/GPainter.C:
3426         * src/frontends/gtk/GToolbar.C:
3427         * src/frontends/qt2/QRef.C:
3428         * src/mathed/math_scriptinset.C: squash compiler warnings.
3429
3430 2004-03-26  Angus Leeming  <leeming@lyx.org>
3431
3432         * ispell.C (LaunchIspell::start):
3433         * lyx_cb.C (AutoSaveBuffer::start):
3434         invoke run(DontWait) rather than runNonBlocking().
3435
3436 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3437
3438         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3439
3440 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3441
3442         * kbsequence.C (print): adjust
3443
3444         * kbmap.C (printKeySym): rename and change signature
3445         (printKey): use LyXKeySym::print()
3446
3447 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3448
3449         * undo.C: add using std::advance to compile for stlport
3450
3451 2004-03-24  Angus Leeming  <leeming@lyx.org>
3452
3453         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3454         it leads to a crash when no buffer is present.
3455
3456 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3457             Martin Vermeer  <martin.vermeer@hut.fi>
3458
3459         * lyxfunc.C (dispatch):
3460         * bufferparams.C (readToken): use the new LColor::setColor
3461
3462         * LColor.[Ch] (setColor): new version that takes two strings as
3463         argument and creates a new color entry if necessary
3464
3465 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3466
3467         * buffer.C (makeLaTeXFile): if the main latex file that is
3468         processed is usually a subdocument of some master, then pretend
3469         for a while that it is actually the master
3470
3471 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3472
3473         * buffer.C (getLabelList):
3474         (getBibkeyList): use getMasterBuffer()
3475         (getMasterBuffer): new method. Returns the main document in the
3476         case where one is using included documents.
3477
3478 2004-03-25  André Pönitz  <poenitz@gmx.net>
3479
3480         * Makefile.am:
3481         * iterators.[Ch]:
3482         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3483
3484         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3485
3486         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3487         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3488
3489         * ParameterStruct.h: merge with ParagraphParameters
3490
3491         * lyxtext.h: remove LyXText::parOffset() and getPar()
3492
3493         * text3.C: Remove all 'manual' update calls. We do now one per user
3494         interaction which is completely sufficient.
3495
3496         * Bidi.C:
3497         * BufferView.[Ch]:
3498         * BufferView_pimpl.C:
3499         * FontIterator.[Ch]:
3500         * MenuBackend.C:
3501         * ParagraphParameters.[Ch]:
3502         * buffer.C:
3503         * buffer.h:
3504         * bufferlist.C:
3505         * cursor.[Ch]:
3506         * cursor_slice.[Ch]:
3507         * dociterator.[Ch]:
3508         * errorlist.[Ch]:
3509         * factory.C:
3510         * lfuns.h:
3511         * lyxfind.C:
3512         * lyxfunc.C:
3513         * output_docbook.[Ch]:
3514         * output_latex.[Ch]:
3515         * output_linuxdoc.[Ch]:
3516         * output_plaintext.[Ch]:
3517         * paragraph.[Ch]:
3518         * paragraph_funcs.[Ch]:
3519         * paragraph_pimpl.[Ch]:
3520         * rowpainter.C:
3521         * tabular.[Ch]:
3522         * text.C:
3523         * text2.C:
3524         * toc.C:
3525         * undo.[Ch]: adjust
3526
3527         * frontends/controllers/ControlDocument.C:
3528         * frontends/controllers/ControlErrorList.C:
3529         * frontends/controllers/ControlSpellchecker.C:
3530         * insets/inset.C:
3531         * insets/inset.h:
3532         * insets/insetbase.h:
3533         * insets/insetbibitem.C:
3534         * insets/insetbox.C:
3535         * insets/insetbranch.C:
3536         * insets/insetcaption.C:
3537         * insets/insetcharstyle.C:
3538         * insets/insetcharstyle.h:
3539         * insets/insetcollapsable.C:
3540         * insets/insetcollapsable.h:
3541         * insets/insetert.C:
3542         * insets/insetfloat.C:
3543         * insets/insetfoot.C:
3544         * insets/insetmarginal.C:
3545         * insets/insetnote.C:
3546         * insets/insetoptarg.C:
3547         * insets/insettabular.C:
3548         * insets/insettext.C:
3549         * insets/insettext.h:
3550         * insets/insetwrap.C:
3551         * mathed/math_mboxinset.C:
3552         * mathed/math_nestinset.C:
3553         * mathed/math_scriptinset.C:
3554         * mathed/math_scriptinset.h:
3555         * support/types.h:
3556
3557 2004-03-24  Angus Leeming  <leeming@lyx.org>
3558
3559         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3560         deal with any child processes that have finished but are waiting to
3561         communicate this fact to the rest of LyX.
3562
3563 2004-03-24  Angus Leeming  <leeming@lyx.org>
3564
3565         64-bit compile fixes.
3566
3567         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3568         (c-tor): pass lyx::pos_types rather than ints.
3569
3570         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3571         lyx::pos_type.
3572
3573         * text.C (Delete): compile fix.
3574         (getPar): ensure that function declaration is the same as that in
3575         the header file.
3576
3577 2004-03-23  Angus Leeming  <leeming@lyx.org>
3578
3579         * ispell.C (LaunchIspell):
3580         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3581         a boost::shred_ptr rather than a std::auto_ptr.
3582
3583 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3584
3585         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3586         handle LFUN_FILE_INSERT_*
3587
3588         * lyxrc.C (setDefaults, getDescription, output, read):
3589         * lyxrc.h: remove ps_command
3590
3591 2004-03-22  Angus Leeming  <leeming@lyx.org>
3592
3593         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3594         Ensure that error_handler is processed once only and that all data
3595         is saved before attempting to output any warning messages.
3596
3597         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3598
3599 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3600
3601         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3602
3603 2004-03-19  André Pönitz  <poenitz@gmx.net>
3604
3605         * cursor.[Ch] (reset): take main text inset as argument
3606
3607         * BufferView: adjust
3608         * BufferView_pimpl.C: adjust
3609
3610         * paragraph.[Ch]: fix completely broken operator=()
3611
3612 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3613
3614         * LColor.C (getFromLyXName): make sure that the color name is used
3615         as lowercase.
3616
3617 2004-03-17  Angus Leeming  <leeming@lyx.org>
3618
3619         * lfuns.h:
3620         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3621
3622         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3623         dialog and to kill a forked process.
3624
3625 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3626
3627         * text2.C (setCursorFromCoordinates): fix font problem
3628
3629 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3630
3631         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3632         bogus "rebuild cursor" code
3633
3634 2004-03-11  André Pönitz  <poenitz@gmx.net>
3635
3636         * buffer.[Ch]: use InsetText instead of LyXText as container for
3637         the main lyx text.
3638
3639         * dociterator.[Ch]: drop the BufferView * member which is not needed
3640         anymore after the change to buffer.C
3641
3642         * paragraph_funcs.C:
3643         * text.C:
3644         * text2.C:
3645         * BufferView.[Ch]:
3646         * BufferView_pimpl.[Ch]:
3647         * cursor.[Ch]:
3648         * cursor_slice.[Ch]: adjust
3649
3650         * text3.C: fix bug in mathDispatch
3651
3652 2004-03-08  André Pönitz  <poenitz@gmx.net>
3653
3654         * undo.[Ch]: use 'StableDocumentIterator' as base for
3655         the Undo struct.
3656
3657 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3658
3659         * LaTeXFeatures.C:
3660         * bufferparams.[Ch]: add jurabib support and param.
3661
3662         * LaTeX.C: add FIXME/comment.
3663
3664 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3665
3666         * buffer.C: increment file format to 230.
3667
3668 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3669
3670         * cursor.C (dispatch): avoid infinite loops
3671
3672 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3673
3674         * rowpainter.C (paintSelection): fix x coordinates
3675
3676 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3677
3678         * text.C (rowBreakPoint): fix breaking before displayed insets
3679
3680 2004-03-01  André Pönitz  <poenitz@gmx.net>
3681
3682         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3683
3684         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3685
3686         * Makefile.am:
3687         * BufferView.C:
3688         * BufferView_pimpl.C:
3689         * buffer.C:
3690         * lyxfind.C:
3691         * lyxfunc.C:
3692         * text.C:
3693         * text2.C:
3694         * text3.C: adjust
3695
3696 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3697
3698         * lyxtext.h:
3699         * text.C:
3700         * text2.C:
3701         * rowpainter.C:
3702         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3703         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3704
3705 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3706
3707         * Bidi.[Ch] (computeTables): const correctness
3708         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3709         fill_hfill, fill_label_hfill and x from Row
3710         * lyxtext.h: prepareToPrint returns a RowMetrics
3711         * rowPainter.C: adjust
3712         * text.C (prepareToPrint): use width, not textWidth. adjust
3713         (redoParagraphInternal, cursorX): adjust
3714         * text2.C (getColumnNearX): adjust
3715         (init): put a default value to the top LyXText::width
3716
3717 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3718
3719         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3720
3721 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3722
3723         * lyxtext.h: add FontIterator class
3724
3725         * text.C (FontIterator, operator*, operator->, operator++): add
3726         (rowBreakPoint, setRowWidth): adjust (fixing a
3727         rebreaking bug)
3728
3729 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3730
3731         * BufferView_pimpl.C (workAreaDispatch): allow also
3732         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3733
3734 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3735
3736         * text.C (rowBreakPoint): fix a bug showing with very large insets
3737
3738 2004-02-25  André Pönitz  <poenitz@gmx.net>
3739
3740         * text3.C:
3741         * cursor.[Ch]: move some mathed specific code to mathed
3742
3743 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3744
3745         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3746         use_tempdir in preferences
3747         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3748         tempfile creation
3749         * lyx_main.C: ensure that tempdir is valid
3750         * lyxlex.h: correct typo
3751         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3752         * paragraph.[Ch] (isMultiLingual): make const
3753         * cursor.[Ch] (openable): make const
3754
3755 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3756
3757         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3758
3759 2004-02-20  André Pönitz  <poenitz@gmx.net>
3760
3761         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3762
3763         * cursor.[Ch]: prepare for localized getStatus()
3764
3765         * lyxtext.h:
3766         * tabular.C:
3767         * text.C:
3768         * text2.C:
3769         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3770
3771 2004-02-20  André Pönitz  <poenitz@gmx.net>
3772
3773         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3774
3775 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3776
3777         * text2.C (setCursorFromCoordinates): switch to absolute coords
3778         (cursorUp): adjust
3779         (cursorDown): adjust
3780         * text3.C (dispatch): adjust
3781
3782 2004-02-16  André Pönitz  <poenitz@gmx.net>
3783
3784         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3785           insets/ChangeLog)
3786
3787         * cursor_slice.[Ch]: remove unneeded acessor function
3788
3789         * lyxtext.h: rename rtl() to isRTL()
3790
3791         * rowpainter.C:
3792         * tabular.C:
3793         * text.C:
3794         * text2.C:
3795         * text3.C: adjust
3796
3797 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3798
3799         * rowpainter.C (paintSelection): coord fix
3800
3801 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3802
3803         * Spacing.C: compile fix
3804
3805 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3806
3807         * cursor.C (dispatch): restore current_ before returning
3808
3809 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3810
3811         * text2.C (cursorUp, cursorDown): fix coords
3812         (moveUp): fix crash
3813
3814 2004-02-12  André Pönitz  <poenitz@gmx.net>
3815
3816         * lyxtext.h:
3817         * text.C:
3818         * text2.C:
3819         * text3.C: add LCursor & parameter to most cursor movement functions
3820           remove usage of LyXText::cursorRow() and cursorPar()
3821
3822         * cursor.[Ch]: add textRow() needed members
3823
3824         * BufferView.C:
3825         * BufferView_pimpl.C:
3826         * paragraph.[Ch]:
3827         * BufferView.C:
3828         * BufferView_pimpl.C: adjust
3829
3830 2004-02-11  André Pönitz  <poenitz@gmx.net>
3831
3832         * lyxfunc.C:
3833         * BufferView.[Ch]:
3834         * BufferView_pimpl.C: shift undo/redo handling
3835
3836         * cursor.[Ch]: fix mathed crash
3837
3838         * lyxfind.C:
3839         * lyxtext.h: move selectionAsText to LCursor
3840
3841         * output_latex.C:
3842         * paragraph.C:
3843         * text.C:
3844         * text2.C:
3845         * text3.C: adjust
3846
3847         * rowpainter.C: fix excessive drawing
3848
3849 2004-02-06  André Pönitz  <poenitz@gmx.net>
3850
3851         * BufferView.[Ch]:
3852         * BufferView_pimpl.[Ch]:
3853         * text3.C: move some text specific LFUN handling
3854
3855 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3856
3857         * text3.C (checkInsetHit): adjust coords
3858         * text2.C (getColumnNearX): adjust coords
3859         (edit): adjust coords
3860         * text.C (getRowNearY): add two asserts
3861
3862 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3863
3864         * converter.C:
3865         * format.C: add using std::distance to compile on gcc 2.95/stlport
3866
3867 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3868
3869         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3870
3871 2004-02-04  André Pönitz  <poenitz@gmx.net>
3872
3873         * BufferView.[Ch] (insertInset):
3874         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3875
3876         * text2.C:
3877         * text3.C: adjust
3878
3879 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3880
3881         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3882         on the default clause of the switch
3883         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3884         wasn't catched by LCursor::dispatch
3885
3886 2004-02-03  André Pönitz  <poenitz@gmx.net>
3887
3888         * BufferView.C:
3889         * cursor.[Ch]: some additional asserts
3890
3891         * undo.[Ch]: remove LyXText dependency in interface
3892
3893         * lyxfunc.C: adjust
3894
3895         * lyxtext.h (firstPar, lastPar): remove dead functions
3896
3897         * text.C:
3898         * text2.C:
3899         * text3.C:
3900         * paragraph.[Ch]: adjust
3901
3902 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3903
3904         * lyxfind.C (find): fix argument order in call to ::find
3905
3906 2004-02-02  André Pönitz  <poenitz@gmx.net>
3907
3908         * cursor.[Ch]: remove direct access to anchor
3909
3910         * text.C: remove findText() hack
3911
3912 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3913
3914         * iterators.[Ch] (lockPath): remove in favour of...
3915         * BufferView.[Ch] (setCursor): this addition
3916         * BufferView.C (putSelectionAt): adjust
3917         * undo.C (performUndoOrRedo): adjust
3918         * lyxfunc.C (dispatch): adjust
3919
3920 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3921
3922         * iterators.C (lockPath): add a missing slice
3923         * undo.C (performUndoOrRedo): remove redundant positioning code
3924
3925 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * vc-backend.C (scanMaster): ";" -> ';'
3928
3929 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3932         std::binary_function
3933
3934         * lyxtextclass.C (compare_name): rename to...
3935         (LayoutNamesEqual): ...this
3936
3937         * lyxlex_pimpl.C (compare_tags): inherit from
3938         std::binary_function, put back into anon namespace
3939
3940         * lyxfind.C (MatchString): inherig from std::binary_function
3941         (findChange): use empty() istead of !size()
3942
3943         * format.C (FormatNamesEqual): new functor
3944         (getFormat): use it
3945         (getNumber): use it
3946         (add): use it
3947         (erase): use it
3948         (setViewer): use it
3949
3950         * converter.C (compare_Converter): rename to...
3951         (ConverterEqual): ...this, and fixup a bit.
3952         (getConverter): use it, and make function const
3953         (getNumber): use it, and make function const
3954         (add): use it
3955         (erase): use it:
3956
3957         * bufferlist.C: add using boost::bind
3958
3959         * MenuBackend.C (MenuNamesEqual): new functor
3960         (hasMenu): use it, and make function const
3961         (hasSubmenu): use nested bind to get rid of compare_memfun.
3962
3963 2004-01-30  André Pönitz  <poenitz@gmx.net>
3964
3965         * BufferView_pimpl.C:
3966         * cursor.C:
3967         * cursor.h:
3968         * cursor_slice.[Ch]:
3969         * lyxfunc.C:
3970         * lyxtext.h:
3971         * paragraph_funcs.C:
3972         * paragraph_funcs.h:
3973         * rowpainter.C:
3974         * text.C:
3975         * text2.C:
3976         * text3.C: move some of the edit(x,y) handling to the insets
3977         some coordinate changes.
3978
3979 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * text.C: add using statements for std::advance and std::distance
3982
3983         * paragraph.C: add using statement for std::distance
3984
3985         * lyxfind.C: add using statement for std::advance
3986
3987         * cursor.C (region): remove std:: from swap
3988         (openable): use nucleus in stead of operator->
3989
3990         * BufferView.C: add using statements for std::distance and std::swap
3991
3992 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * iterators.C: Remove the pimple, move the needed structures to
3995         the header file. Create accessor for the positions stack.
3996         (asPosIterator): remove function
3997
3998         * PosIterator.C (PosIterator): move constructors to top of file
3999         (PosIterator): reimplement the constructor taking a ParIterator in
4000         terms of setFrom.
4001         (setFrom): new function
4002         (operator!=): inline it
4003
4004 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * lyxfind.C (replaceAll): use std::advance
4007
4008         * iterators.h: inherit from std::iterator.
4009
4010         * PosIterator.C (advance, distance): remove
4011         * PosIterator.h: interit from std::iterator.
4012
4013 2004-01-26  André Pönitz  <poenitz@gmx.net>
4014
4015         * BufferView.[Ch]:
4016         * BufferView_pimpl.[Ch]:
4017         * InsetList.[Ch]:
4018         * PosIterator.[Ch]:
4019         * buffer.h:
4020         * bufferview_funcs.C:
4021         * cursor.[Ch]:
4022         * cursor_slice.h:
4023         * factory.[Ch]:
4024         * iterators.[Ch]:
4025         * lyxfind.C:
4026         * lyxfunc.C:
4027         * lyxtext.h:
4028         * output_docbook.C:
4029         * output_latex.C:
4030         * output_linuxdoc.C:
4031         * output_plaintext.C:
4032         * paragraph.[Ch]:
4033         * paragraph_funcs.[Ch]:
4034         * paragraph_pimpl.[Ch]:
4035         * rowpainter.C:
4036         * tabular.C:
4037         * tabular.h:
4038         * text.C:
4039         * text2.C:
4040         * text3.C: more IU:  dumps most of the rest of the mathcursor
4041     implementation into cursor.[Ch]; "globalize" a bit of it.
4042
4043 2004-01-25  Angus Leeming  <leeming@lyx.org>
4044
4045         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4046
4047 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4048
4049         * LaTeXFeatures.h: add nice_ and nice() const
4050         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4051
4052 2004-01-20  André Pönitz  <poenitz@gmx.net>
4053
4054         * BufferView.[Ch]:
4055         * BufferView_pimpl.C:
4056         * PosIterator.C:
4057         * bufferview_funcs.C:
4058         * cursor.[Ch]:
4059         * cursor_slice.[Ch]:
4060         * factory.C:
4061         * iterators.C:
4062         * lyx_cb.C:
4063         * lyxfind.C:
4064         * lyxfunc.C:
4065         * lyxtext.h:
4066         * rowpainter.C:
4067         * text.C:
4068         * text2.C:
4069         * text3.C:
4070         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4071           LCursor and mathcursor parts to LCursor and InsetBase.
4072
4073 2004-01-15  André Pönitz  <poenitz@gmx.net>
4074
4075         * cursor_slice.[Ch]: add a few covienience functions
4076
4077         * funcrequest.[Ch]: remove BufferView * member
4078
4079         * BufferView_pimpl.C:
4080         * cursor.C:
4081         * factory.[Ch]:
4082         * lyxfind.[Ch]:
4083         * lyxfunc.C:
4084         * lyxtext.h:
4085         * text3.C:
4086         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4087
4088 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4089
4090         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4091         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4092
4093 2004-01-13  André Pönitz  <poenitz@gmx.net>
4094
4095         * textcursor.[Ch]:
4096         * lyxtext.h: hide cursor and selection anchor behind accessor function
4097
4098         * BufferView.C:
4099         * BufferView_pimpl.[Ch]:
4100         * PosIterator.C:
4101         * bufferview_funcs.C:
4102         * cursor.h:
4103         * lyxfind.C:
4104         * lyxfunc.C:
4105         * text.C:
4106         * text2.C:
4107         * text3.C:
4108         * undo.C: adjust
4109
4110         * cursor.h:
4111         * cursor_slice.[Ch]: some integer type changes for inset unification
4112
4113         * lyxcursor.[hC]: remove, it's CursorSlice now.
4114
4115         * Makefile.am:
4116         * BufferView_pimpl.[Ch]:
4117         * bufferview_funcs.C:
4118         * cursor_slice.C:
4119         * lyxtext.h:
4120         * text.C:
4121         * text2.C:
4122         * text3.C:
4123         * textcursor.[Ch]: adjust
4124
4125 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4126
4127         * text2.C (undoSpan): add and use
4128         * text.C (breakParagraph): use undoSpan (fix bug 578)
4129         * lyxtext.h: adjust
4130
4131 2004-01-08  Angus Leeming  <leeming@lyx.org>
4132
4133         * BufferView_pimpl.C (MenuInsertLyXFile):
4134         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4135         * lyxfunc.C (menuNew, open, doImport):
4136         FileFilterList change to the FileDialog open and save functions.
4137
4138 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * ShareContainer.h: make isEqual and isUnique adaptable
4141
4142         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4143
4144 2004-01-07  Angus Leeming  <leeming@lyx.org>
4145
4146         * LyXAction.C:
4147         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4148
4149         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4150
4151         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4152         functions replacing find, replace and replaceAll.
4153
4154         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4155         LFUN_WORDFIND(FORWARD|BACKWARD).
4156
4157 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4158
4159         * text.C (breakParagraph): remove an outdated #warning
4160
4161 2004-01-07  André Pönitz  <poenitz@gmx.net>
4162
4163         * lyxfind.C: somewhat clearer logic
4164
4165         * text.C: prevent crash in cursorX on unitialized row cache
4166
4167 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4168
4169         * lyxcursor.[Ch] (operator>): add
4170         * textcursor.C (selStart, selEnd): use std::min and std::max
4171
4172 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4173
4174         * Chktex.C: include boost/format.hpp
4175
4176 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4177
4178         * InsetList.C: replace functor MathcIt with adaptable functor
4179         InsetTablePosLess
4180         (insetIterator): modify accordingly
4181
4182         * BranchList.h: move the BranchNamesEqual functor here from...
4183         * BranchList.C: ... to here
4184
4185         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4186         SameName and match.
4187         (add): replace a finding loop with std::find_if.
4188
4189 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4190
4191         * output_docbook.C: moving LatexParam functionality into
4192         .layout files
4193
4194 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4195
4196         * buffer.C: increment format to 229.
4197
4198 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4199
4200         * LaTeXFeatures.C:
4201         * lyx_sty.[Ch]: remove minipageindent_def
4202
4203         * LyXAction.C:
4204         * factory.C:
4205         * lfuns.h:
4206         * lyxfunc.C:
4207         * text3.C: remove LFUN_INSET_MINIPAGE
4208
4209 2003-12-28  Angus Leeming  <leeming@lyx.org>
4210
4211         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4212
4213 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4214
4215         * text2.C (setParagraph): fix off-by-one crash
4216
4217 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4218
4219         * output_docbook.C: header stuff for AGU
4220
4221 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4222
4223         * text2.C (redoCursor): remove
4224         * text.C:
4225         * text3.C:
4226         * BufferView_pimpl.C: remove calls to redoCursor and
4227         setCursor(cursor.par(), cursor.pos()) all around
4228
4229 2003-12-15  Angus Leeming  <leeming@lyx.org>
4230
4231         * buffer.C: up the format to 228.
4232
4233 2003-12-15  André Pönitz  <poenitz@gmx.net>
4234
4235         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4236         slices
4237
4238         * Makefile.am:
4239
4240         * BufferView_pimpl.C:
4241         * cursor.[Ch]:
4242         * lyxcursor.[Ch]:
4243         * rowpainter.[Ch]:
4244         * lyxtext.h:
4245         * text.C:
4246         * text2.C:
4247         * text3.C: adjust
4248
4249 2003-12-15  Angus Leeming  <leeming@lyx.org>
4250
4251         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4252         than getFromGUIName to manipulate the color.
4253
4254 2003-12-14  Angus Leeming  <leeming@lyx.org>
4255
4256         * BranchList.[Ch]: minimize the API.
4257         (Branch::getBranch, getColor): now return a 'const &'.
4258         (Branch::setSelected) now returns a bool set to true if the
4259         selection status changes.
4260         (BranchList::clear, size, getColor, setColor, setSelected,
4261         allBranches, allSelected, separator): removed.
4262         (BranchList::find): new functions, returning the Branch with
4263         the given name.
4264         (BranchList::add, remove): return a bool indicating that
4265         the operation was successful.
4266
4267         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4268         new InsetBranch::isBranchSlected member function.
4269
4270         * LColor.[Ch]: mimimize the API.
4271         (fill): renamed as addColor and made private.
4272         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4273         versions of these functions taking a string arg have been removed.
4274
4275         * bufferparams.C (readToken):
4276         * lyxfunc.C (dispatch):
4277         * lyxrc.C (read): changes due to the altered BranchList and
4278         LColor APIs.
4279
4280         * factory.C (createInset, readInset): changes due to altered
4281         InsetBranch c-tor.
4282
4283 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4284
4285         * factory.C:
4286         * lyxfunc.C: remove insetminipage. "minipage-insert"
4287         now produces a frameless minipage box inset.
4288
4289 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4290
4291         * textcursor.[Ch] (selStart,selEnd): add new methods
4292         remove selection::start, end, use LyXCursor::operator<
4293         * lyxcursor.[Ch] (operator<): add
4294         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4295         * BufferView.[Ch] (unsetXSel): add
4296         * text2.C (clearSelection): use unsetXSel,adjust
4297         * text.C: adjust
4298         * text3.C: adjust
4299         * rowpainter.C: adjust
4300         * bufferview_funcs.C (put_selection_at): adjust
4301
4302 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4303
4304         * BufferView_pimpl.C: small coord. correction
4305
4306 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4307
4308         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4309         dragging over the splash screen.
4310
4311 2003-12-11  Angus Leeming  <leeming@lyx.org>
4312
4313         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4314         as it is now handled in LyXText::dispatch.
4315
4316         * text3.C (doInsertInset): remove a level of nesting.
4317
4318 2003-12-11  Angus Leeming  <leeming@lyx.org>
4319
4320         * factory.C (createInset): changes due to the changed interface to
4321         InsetCommandMailer::string2params.
4322
4323 2003-12-10  Angus Leeming  <leeming@lyx.org>
4324
4325         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4326         'dialog-show-new-inset <inset name>'
4327
4328 2003-12-10  Angus Leeming  <leeming@lyx.org>
4329
4330         * buffer.C: up the format to 227.
4331
4332         * factory.C: the box inset is now identified simply by 'Box'.
4333
4334 2003-12-10  Angus Leeming  <leeming@lyx.org>
4335
4336         * buffer.C: up the format to 226.
4337
4338         * factory.C: the note inset is now identified simply by 'Note'.
4339
4340 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4341
4342         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4343         when a pit is enough. Standarize a couple of loops.
4344
4345 2003-12-05  Angus Leeming  <leeming@lyx.org>
4346
4347         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4348         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4349         data to the re-worked "log" dialog.
4350
4351 2003-12-03  André Pönitz  <poenitz@gmx.net>
4352
4353         * PosIterator.C:
4354         * iterators.C:
4355         * lyxtext.h:
4356         * output_latex.C:
4357         * paragraph_funcs.C:
4358         * text.C:
4359         * text2.C: use Inset::getText instead of Inset::getParagraph
4360
4361 2003-12-03  André Pönitz  <poenitz@gmx.net>
4362
4363         * buffer.[Ch]:
4364         * lyxtext.h:
4365         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4366         InsetText::read() as LyXText::read()
4367
4368 2003-12-02  Angus Leeming  <leeming@lyx.org>
4369
4370         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4371         type. Add a comment in the implementation that the function uses
4372         the stream's bad() function rather than fail() as the std::streams
4373         would do.
4374
4375 2003-12-02  André Pönitz  <poenitz@gmx.net>
4376
4377         * lyxlex.[Ch]: make interface more similar to std::stream
4378
4379         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4380
4381 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4382
4383         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4384
4385 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4386
4387         * vspace.[Ch]: remove VSpace::NONE
4388
4389 2003-12-01  André Pönitz  <poenitz@gmx.net>
4390
4391         * buffer.[Ch]:
4392         * lyxtext.h: move ParagraphList member to LyXText
4393         rename LyXText::ownerParagraphs to LyXText::paragraph
4394
4395         * CutAndPaste.C:
4396         * bufferview_funcs.C:
4397         * iterators.[Ch]:
4398         * lyx_cb.C:
4399         * paragraph.C:
4400         * rowpainter.C:
4401         * tabular.C:
4402         * text.C:
4403         * text2.C:
4404         * text3.C: adjust
4405
4406         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4407
4408         * undo.C: fix cursor positioning
4409
4410 2003-12-01  John Levon  <levon@movementarian.org>
4411
4412         * BufferView_pimpl.C: fix a crash on exit with
4413         a buffer open
4414
4415 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4416
4417         * BranchList.C: fix setSelected() method.
4418
4419 2003-11-28  André Pönitz  <poenitz@gmx.net>
4420
4421         * ParagraphParameters.[Ch]:
4422         * ParameterStruct.h: remove space above/below from Paragraph to
4423          InsetVSpace
4424
4425         * BufferView_pimpl.C:
4426         * factory.C:
4427         * lyxfunc.C:
4428         * lyxtext.h:
4429         * output_latex.C:
4430         * paragraph.C:
4431         * paragraph_funcs.C:
4432         * rowpainter.[Ch]:
4433         * text.C:
4434         * text2.C:
4435         * text3.C: adjust
4436
4437 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4438
4439         * factory.C: Syntax change for CharStyles
4440
4441 2003-11-28  André Pönitz  <poenitz@gmx.net>
4442
4443         * BufferView.[Ch]:
4444         * BufferView.[Ch]:
4445         * buffer.[Ch]:
4446         * buffer.[Ch]: move LyXText member
4447
4448 2003-11-28  André Pönitz  <poenitz@gmx.net>
4449
4450         * BufferView.[Ch]: make LyXText * text a private member
4451
4452         * BufferView_pimpl.C:
4453         * cursor.C:
4454         * iterators.C:
4455         * lyx_cb.C:
4456         * lyxfind.C:
4457         * lyxtext.h:
4458         * rowpainter.[Ch]:
4459         * text.C:
4460         * text2.C:
4461         * undo.C: adjust
4462
4463         * output_plaintext.C: cleanup
4464
4465 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4466
4467         * buffer.C:
4468         * lyxtextclass.[Ch]: parametrize SGML document header
4469
4470 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4471
4472         * converter.[Ch]:
4473         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4474         getFlavor().
4475
4476 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4477
4478         * text2.C (setFont): rework using PosIterator (no more recursive)
4479         (setCharFont): no more needed
4480         (setLayout): no more selection cursors fiddling (done by redoCursor)
4481         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4482         destroy remaining ones)
4483
4484 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4485
4486         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4487         * lyxtext.h: ditto
4488         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4489         selection cursors
4490         * lyxfunc.C: adjust
4491         * text3.C: adjust + re-allow multi par depth changes
4492         * textcursor.C: simplify a bit
4493
4494 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4495
4496         * src/buffer.C:
4497         * src/lyxlayout.C:
4498         * src/lyxlayout.h:
4499         * src/lyxtext.h:
4500         * src/output_docbook.C:
4501         * src/output_latex.C:
4502         * src/paragraph.C:
4503         * src/paragraph.h:
4504         * src/sgml.C:
4505         * src/sgml.h:
4506         * src/text2.C: Introducing a number of tags parametrizing various
4507         XML formats that we may want to support
4508
4509 2003-11-25  André Pönitz  <poenitz@gmx.net>
4510
4511         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4512
4513         * lyxtext.h (leftMargin/rightMargin): simplify interface
4514
4515         * rowpainter.C:
4516         * text.C:
4517         * text2.C:
4518         * text3.C: adjust
4519
4520 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4521
4522         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4523         master file to any child files. Fixes bug 546.
4524
4525 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4526
4527         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4528
4529 2003-11-24  André Pönitz  <poenitz@gmx.net>
4530
4531         * rowpainter.C: simplification
4532
4533         * text2.C (updateCounters): remove call to redoParagraph on
4534         changed labels as this is far too expensive.
4535
4536 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4537
4538         * converter.C (convert): fix a crash: this function gets
4539         called with buffer == 0 from importer code.
4540
4541 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4542
4543         * text3.C (cursorPrevious): make sure that we do not compare
4544         iterators form different containers.
4545         (cursorNext): ditto
4546
4547         * rowpainter.C (paintSelection): make sure that we do not compare
4548         iterators from different containers.
4549
4550         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4551         iterators from different ParagraphList containers.
4552         [NEXT] ditto
4553
4554         * text2.C (LyXText): change order of initialization slightly
4555         (operator=): new function. copy all variables except cache_par_
4556         (moveUp): make sure that we do not compare iterators from
4557         different ParagraphList constainers.
4558         (moveDown): ditto
4559
4560         * text.C (firstPar): new function
4561         (lastPar): new function
4562         (endPar): new function
4563
4564         * lyxtext.h: move things around and group public functions, public
4565         variables, private functions, private variables
4566
4567 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4568
4569         * factory.C: change call to InsetERT constructor to avoid
4570         additional invocation of method status
4571         * text2.C (toggleInset): remove redundant update() call
4572         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4573         instead of a Bufferview pointer
4574
4575 2003-11-21  André Pönitz  <poenitz@gmx.net>
4576
4577         * rowpainter.C: simplification
4578
4579 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4580
4581         * text3.C (dispatch): make possible to extend a word/row selection
4582         with the mouse
4583
4584 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4585
4586         * lyxtext.h: x0_,y0_ -> xo_,yo_
4587         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4588         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4589         * rowpainter.C (paintRows): paint full paragraphs
4590
4591 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4592
4593         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4594         screen coordinates)
4595
4596 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4597
4598         * lyxtext.h: add x0_, y0_
4599         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4600         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4601
4602 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4603
4604         * text2.C (setCursorIntern): move the x_target update here *
4605         * text3.C: change some bv() to true/false in calls to
4606         cursorUp/Down/Right/Left
4607         * cursor.C: use helper function.
4608
4609 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4610
4611         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4612         * paragraph_funcs.[Ch]: correct comment
4613         * rowpainter.C: do not paint selections away from bv->cursor()
4614         Fix a long standing selection painting bug.
4615         * text3.C: generalize mouse-selection code to LyXTexts other that
4616         top one
4617         * textcursor.C: do not use y coords if we can use par offsets
4618
4619 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4620
4621         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4622         cursor position after e.g. inset insert)
4623
4624 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4625
4626         * lyxfind.C (replace): adjust to locking removal + some
4627         code simplification
4628
4629 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4630
4631         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4632         of the path
4633
4634 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4635
4636         * lyxlayout.[Ch]:
4637         * output_docbook.C: XML sanitation: new layout
4638         parameters InnerTag and CommandDepth
4639
4640 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4641
4642         * BufferView_pimpl.C:
4643         * factory.C:
4644         * text3.C: Fix the insertion and modification of button-style
4645         insets
4646
4647 2003-11-13  André Pönitz  <poenitz@gmx.net>
4648
4649         * InsetList.[Ch]: remove deleteLyXText
4650
4651         * paragraph.[Ch]: cache beginOfBody position
4652
4653         * Bidi.C:
4654         * text.C:
4655         * text2.C:
4656         * text3.C: remove superfluous update() calls
4657
4658         * vspace.C: cleanup
4659
4660 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4661
4662         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4663         * BufferView.C (fitLockedInsetCursor): remove
4664         * cursor.[Ch] (getDim): add
4665         * text.C (getRowNearY): add faster version
4666         * text3.C: remove some update calls
4667
4668 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4669
4670         * LaTeXFeatures.C:
4671         * LyXAction.C:
4672         * MenuBackend.C:
4673         * MenuBackend.h:
4674         * dispatchresult.h:
4675         * factory.C:
4676         * lfuns.h:
4677         * lyxfunc.C:
4678         * lyxtextclass.C:
4679         * lyxtextclass.h:
4680         * text3.C: The Character Style /XML short element patch.
4681
4682 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4683
4684         * text3.C:
4685         * factory.C: Small step to solving 'unable to insert some insets'
4686         problem
4687
4688 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4689
4690         * cursor.[Ch] (updatePos): new function for updating the y
4691         position of the tip inset
4692         * bufferview_funcs.C (put_selection_at):
4693         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4694
4695 2003-11-11  André Pönitz  <poenitz@gmx.net>
4696
4697         * text.C: remove big comment on invalid Paragraph pointers as it is
4698         not valid anymore
4699
4700 2003-11-11  André Pönitz  <poenitz@gmx.net>
4701
4702         * text_funcs.[Ch]: merge with ...
4703
4704         * text.C: ... this
4705
4706         * lyxtext.h:
4707         * text2.C:
4708         * text3.C: adjust
4709
4710         * Makefile.am: remove text_funcs.[Ch]
4711
4712 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * cursor.C (getPos): return absolute cached y coord
4715
4716         * BufferView_pimpl.C (fitCursor): new simplistic code
4717         (workAreaDispatch): add a fitCursor call
4718
4719 2003-11-10  André Pönitz  <poenitz@gmx.net>
4720
4721         * BufferView.[Ch]:
4722         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4723
4724 2003-11-10  André Pönitz  <poenitz@gmx.net>
4725
4726         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4727         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4728         indicate that the cursor needs to leave an inset
4729
4730         * lyxtext.h: remove inset locking
4731
4732         * cursor.[Ch]: re-implement functionality provided by inset locking
4733
4734         * BufferView.[Ch]:
4735         * BufferView_pimpl.[Ch]:
4736         * LyXAction.C:
4737         * bufferview_funcs.[Ch]:
4738         * factory.C:
4739         * funcrequest.[Ch]:
4740         * iterators.C:
4741         * lyx_cb.C:
4742         * lyxfind.C:
4743         * lyxfunc.C:
4744         * text.C:
4745         * text2.C:
4746         * text3.C:
4747         * undo.C: adjust
4748
4749 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4750
4751         * PosIterator.[Ch]: replace the stack with a vector, add inset
4752         accesor
4753         * iterators.[C]: adjust
4754
4755 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4756
4757         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4758         replaced
4759         * paragraph_funcs.C (readParToken): put the correct id in the
4760         error item, not the id of the top paragraph
4761
4762 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4763
4764         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4765         * bufferview_funcs.C (put_selection_at): use the above
4766
4767 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4768
4769         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4770
4771 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4772
4773         * output_linuxdoc.h:
4774         * output_plaintext.h:
4775         * output.h:
4776         * output_docbook.h: add #include statements
4777
4778 2003-11-05  José Matos  <jamatos@lyx.org>
4779
4780         * output_docbook.[Ch]:
4781         * output_latex.[Ch]:
4782         * output_linuxdoc.[Ch]:
4783         * output_plaintext.[Ch]: New files for output formats.
4784         * output.[Ch]: New file for helper functions.
4785
4786         * buffer.[Ch]:
4787         * paragraph_funcs.[Ch]: output functions moved to new files.
4788
4789         * outputparams.h: rename of latexrunparams.h
4790
4791         * LaTeX.[Ch]:
4792         * buffer.[Ch]:
4793         * bufferlist.[Ch]:
4794         * converter.[Ch]:
4795         * exporter.C:
4796         * paragraph.[Ch]:
4797         * paragraph_funcs.[Ch]:
4798         * paragraph_pimpl.[Ch]:
4799         * tabular.[Ch]: rename ascii to plaintext
4800         and LatexRunParams to OutputParams.
4801
4802 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4803
4804         * iterators.[Ch] (text): require bv argument
4805         * undo.C (recordUndo):
4806         * lyxfunc.C (dispatch):
4807         * bufferview_funcs.C (put_selection_at): adjust
4808
4809 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4810
4811         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4812
4813 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4814
4815         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4816         nestings
4817
4818 2003-11-04  André Pönitz  <poenitz@gmx.net>
4819
4820         * cursor.[Ch]: restructure
4821
4822         * BufferView.[Ch]:
4823         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4824
4825         * iterators.[Ch] (asCursor): remove
4826
4827         * lfuns.h: remove LFUN_INSET_EDIT
4828
4829         * lyxfunc.C:
4830         * tabular.C:
4831         * text.C:
4832         * text2.C:
4833         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4834
4835 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4836
4837         * lyxfind.[Ch]: complete overhaul
4838         * BufferView_pimpl.C:
4839         * lyxfunc.C: adjust
4840         * paragraph.[Ch] (insert): add
4841
4842 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4843
4844         * BufferView.[Ch]:
4845         * lyxtext.h:
4846         * text.C: remove dead spellcheck code
4847
4848 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * dispatchresult.h: add a val setter
4851
4852         * cursor.C (dispatch): use a tempvar for data_[i]
4853
4854 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4855
4856         * PosIterator.[Ch]: compile fix
4857
4858 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4859
4860         * text.C (cursorPar): deactivate the cursor cache
4861
4862 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4865
4866 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * text3.C (dispatch): adjust for new DisptchResult semantics.
4869
4870         * lyxfunc.C (dispatch): handle update when return from
4871         Cursor::dispatch, adjust for new DispatchResult semantics.
4872
4873         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4874         DispatchResult(true) mean to not update. Add class functions for
4875         setting dispatched and update, as well as reading.
4876
4877         * cursor.C (dispatch): don't handle update here
4878
4879 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4880
4881         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4882         * trans_mgr.C: adjust
4883
4884         * paragraph_funcs.C (readParToken): exception safety
4885
4886         * lyxvc.h: store the vcs pointer in a scoped_ptr
4887         * lyxvc.C: adjust
4888
4889         * lyxsocket.C (serverCallback): exception safety
4890
4891         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4892
4893         * ispell.C (clone): make it return a auto_ptr
4894
4895         * factory.C (createInset): exception safety
4896         (readInset): exception safety
4897
4898         * bufferlist.C (newBuffer): exception safety
4899
4900         * Thesaurus.C (Thesaurus): use initialization for aik_
4901
4902         * MenuBackend.C (expandToc): exception safety.
4903
4904 2003-11-03  André Pönitz  <poenitz@gmx.net>
4905
4906         * buffer.C:
4907         * buffer.h:
4908         * bufferview_funcs.C: remove getInsetFromId()
4909
4910         * lyxcursor.[Ch]:
4911         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4912
4913         * lyxfunc.C:
4914         * text2.C:
4915         * text3.C: adjust
4916
4917 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4918
4919         * PosIterator.C (distance, advance): new
4920         * bufferview_funcs.[Ch] (put_selection_at): new
4921         * iterators.[Ch] (lockPath): new
4922
4923 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4924
4925         * iterators.[Ch] (asPosIterator): added
4926         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4927         * PosIterator.[Ch]: added
4928
4929 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * text3.C:
4932         * lyxfunc.C:
4933         * cursor.C (dispatch):
4934         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4935
4936         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4937         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4938         contructor, add a class function dispatched. Remove operator>=
4939
4940 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4941
4942         * debug.C: only use the default constructor for debugstream
4943         (lyxerr) here.
4944
4945         * main.C (main): include debug.h and setup the lyxerr streambuf
4946         here.
4947
4948 2003-10-31  José Matos  <jamatos@lyx.org>
4949
4950         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4951
4952         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4953         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4954         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4955         * paragraph_pimpl.C (simpleTeXSpecialC):
4956         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4957         add LatexRunParams argument.
4958
4959         * exporter.C (Export): change call accordingly.
4960
4961         * latexrunparams.h: add new member to take care of the other backends.
4962 2003-10-30  José Matos  <jamatos@lyx.org>
4963
4964         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4965         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4966         factorise code for paragraph output.
4967         * buffer.[Ch]:
4968         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4969         move functions.
4970
4971 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * text3.C (dispatch):
4974         * lyxfunc.C (dispatch):
4975         * cursor.C (dispatch):
4976         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4977
4978         * dispatchresult.h: make the dispatch_result_t ctor explicit
4979
4980 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4981
4982         * sgml.[Ch]:
4983         * buffer.C: small refactoring of docbook stuff
4984
4985 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4988         meaning.
4989
4990 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4991
4992         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4993         operator dispatch_result_t, and operators for == != and >=
4994
4995         * cursor.C (dispatch): adjust for operator dispatch_result_t
4996         removal. comment out call to update
4997
4998         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4999
5000 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5001
5002         * text3.C:
5003         * text2.C:
5004         * text.C:
5005         * lyxtext.h:
5006         * lyxfunc.C:
5007         * cursor.C:
5008         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5009         (dispatch):
5010
5011         * dispatchresult.h: new file, DispatchResult broken out of
5012         insets/insetbase.h
5013
5014         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5015
5016 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5017
5018         * text.C (rowBreakPoint): put a hack inside #if 0
5019
5020 2003-10-28  André Pönitz  <poenitz@gmx.net>
5021
5022         * lyxtext.h:
5023         * metricsinfo.C:
5024         * paragraph_funcs.C:
5025         * rowpainter.C:
5026         * text.C:
5027         * text2.C: general cleanup (lots of small stuff)
5028
5029 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * text2.C (cursorEnd): simple fix to the "end key goes to one
5032         before the end on last row" bug
5033
5034 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5035
5036         * text.C (backspace): fix the "zombie characters"
5037
5038 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5039
5040         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5041
5042 2003-10-27  André Pönitz  <poenitz@gmx.net>
5043
5044         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5045
5046         * factory.C: handle new InsetPagebreak, InsetLine
5047
5048         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5049         and move handling into new InsetPagebreak, InsetLine
5050
5051         * BufferView_pimpl.C:
5052         * LyXAction.C:
5053         * ParagraphParameters.C:
5054         * ParameterStruct.h:
5055         * lyxfunc.C:
5056         * lyxtext.h:
5057         * paragraph.C:
5058         * paragraph.h:
5059         * paragraph_funcs.C:
5060         * paragraph_pimpl.C:
5061         * rowpainter.C:
5062         * text.C:
5063         * text2.C:
5064         * text3.C: adjust
5065
5066 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5067
5068         * text.C:
5069         * lyxrow_funcs.[Ch]:
5070         * Bidi.C:
5071         * paragraph.C:
5072         * lyxtext.h:
5073         * rowpainter.C:
5074         * text2.C:
5075         * text3.C: remove lastPos uses in favour of Row::endpos
5076
5077 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5078
5079         * undo.C (performUndoOrRedo): fix two crashes by setting a
5080         cursor by hand and reordering some calls. Use bv->lockInset instead
5081         of inset->edit because the latter loses cursor information
5082
5083 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5084
5085         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5086         by Martin
5087         (rowBreakPoint): fix width. change point to point + 1.
5088         Add a missing check.
5089
5090 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5091
5092         * MenuBackend.C:
5093         * lyxfunc.C: fix (at least partly) the problems
5094         with the Nav menu and headers inside branch insets
5095         reported by Kayvan
5096
5097 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5098
5099         * paragraph.C (getChar): add strong asserts
5100
5101         * lyxrow_funcs.C (lastPos): remove hideous hack
5102
5103         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5104         (fill): adjust to that (avoid an infinite loop)
5105
5106 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5109
5110 2003-10-23  André Pönitz  <poenitz@gmx.net>
5111
5112         * RowList_fwd.h: change list<> to vector<> to gain speed
5113         after suggestion from Alfredo
5114
5115 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5116
5117         * lyxtext.h: move the bidi stuff from here...
5118         * text.C: and here
5119         * text2.C: and here
5120         * Bidi.[Ch]: ... to here
5121
5122 2003-10-23  André Pönitz  <poenitz@gmx.net>
5123
5124         * lyxtext.h:
5125         * text.C (isLastRow, isFirstRow): new functions
5126
5127         * paragraph.h: new width cache member
5128
5129         * rowpainter.C: replace RowList::iterator with Row & where possible
5130
5131         * lyxfunc.C: replace several view()->text with a single call
5132
5133         * toc.C: fix 'unused' warning
5134
5135 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5138         when woring with stream::pos_type
5139         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5140
5141 2003-10-22  André Pönitz  <poenitz@gmx.net>
5142
5143         * lyxtext.h:
5144         * text.C: use Row & instead of RowList::iterator
5145
5146         * lyxrow.h: rename end() to endpos()
5147
5148         * rowpainter.C:
5149         * text.C:
5150         * text2.C: adjust
5151
5152 2003-10-22  Angus Leeming  <leeming@lyx.org>
5153
5154         * buffer.[Ch] (fully_loaded): new member function, returning true
5155         only when the file has been loaded fully.
5156         Used to prevent the premature generation of previews and by the
5157         citation inset to prevent computation of the natbib-style label.
5158
5159         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5160         templates are all set up.
5161
5162         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5163
5164 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5165
5166         * text.C: fixed an "oops" in the "is a bit silly"
5167         bug fix
5168
5169 2003-10-21  André Pönitz  <poenitz@gmx.net>
5170
5171         * FuncStatus.[Ch]: small stuff, whitespace
5172
5173         * lyxfont.[Ch]: operator<<() for debug reasons
5174
5175         * lyxfunc.C:
5176         * lyxrow_funcs.C:
5177         * lyxtext.h: whitespace, spelling
5178
5179         * paragraph.C: naming of variables
5180
5181         * text.C:
5182         * text2.C: small stuff
5183
5184
5185 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5186
5187         * text.C: (1) finish off the inset display() work;
5188         (2) fix the "is a bit silly" bug (accessing char
5189         past end of par).
5190
5191 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5192
5193         * text.C: re-introduce display() for insets, fixing the
5194         various bugs (stretch of line above, math inset
5195         positioning, ...)
5196
5197 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5198
5199         * text.C (rightMargin): remove spurious semicolon
5200
5201         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5202         1415)
5203
5204 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5205
5206         * text3.C: fix one crash due to wrong cursor def
5207
5208 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * vc-backend.C (scanMaster): make the regex static
5211
5212         * LaTeX.C (scanAuxFile): make the regexs static
5213
5214         * text3.C (doInsertInset, dispatch, dispatch):
5215         * text2.C (cursorUp, cursorDown):
5216         * text.C (selectNextWordToSpellcheck):
5217         * BufferView_pimpl.C (dispatch):
5218         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5219
5220 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5221
5222         * lyxsocket.C: include <cerrno>
5223
5224 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5225
5226         * lyxfunc.C (dispatch): remove textcache stuff
5227
5228         * bufferlist.C (release): remove textcache stuff
5229         (closeAll): ditto
5230
5231         * TextCache.C: delete file
5232         * TextCache.h: delete file
5233
5234         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5235
5236         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5237         delete of the bv_->text.
5238         (resizeCurrentBuffer): remove texcache stuff
5239         (workAreaResize): ditto
5240
5241 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5242
5243         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5244         action.
5245
5246 2003-10-16  André Pönitz  <poenitz@gmx.net>
5247
5248         * lyxrow.[Ch]:
5249         * paragraph.h:
5250         * rowpainter.C:
5251         * text.C:
5252         * text2.C:
5253         * text3.C: speed up by storing y positions per paragraph plus per-row
5254         offset instead of having a 'full' y position in the row.
5255
5256 2003-10-15  André Pönitz  <poenitz@gmx.net>
5257
5258         * iterators.[Ch]:
5259         * iterators.[Ch]:
5260         * undo.[Ch]: make undo aware of inner insets
5261
5262 2003-10-14  Angus Leeming  <leeming@lyx.org>
5263
5264         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5265         static member functions LyX::ref() and LyX::cref.
5266         (lastfiles): new accessor functions for the new lastfiles_ member var.
5267         (addLyXView, views_): add a new LyXView to the list of views_.
5268         (updateInset): loop over all LyXViews to call their own updateInset
5269         member function, returning a pointer to the Buffer owning the inset.
5270
5271         * BufferView_pimpl.C (loadLyXFile):
5272         * MenuBackend.C (expandLastfiles):
5273         * bufferlist.C (MenuWrite, QuitLyX):
5274         lastfiles is no longer a global variable.
5275         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5276
5277         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5278         static function. Access through LyX::cref().emergencyCleanup().
5279
5280 2003-10-14  André Pönitz  <poenitz@gmx.net>
5281
5282         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5283
5284         * undo.[Ch]: restoring part of 'undo in insets'
5285
5286         * Makefile.am:
5287         * undo_funcs.[Ch]: merge with undo.[Ch]
5288
5289         * tabular.C: small cleansing stuff
5290
5291 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5292
5293         * paragraph_funcs.C (readParToken): report unknown insets as error
5294         boxes. Use the outer paragraph as location (also for unknown
5295         tokens).
5296
5297         * factory.C (readInset): do not abort on reading an unknown inset.
5298         Eat it and return 0.
5299
5300 2003-10-13  Angus Leeming  <leeming@lyx.org>
5301
5302         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5303
5304         * lyxrc.C: displayTranslator is now a function,
5305         declared in GraphicsTypes.h.
5306
5307 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5308
5309         * format.C: new placeholder $$a to pass the socket address.
5310
5311         * bufferlist.[Ch]: new function getBufferFromTmp.
5312
5313         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5314           files in the temporary dir.
5315
5316 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5317
5318         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5319
5320         * Makefile.am: add lyxsocket.[Ch].
5321
5322         * lyx_main.C (error_handler): handle SIGPIPE.
5323
5324 2003-10-13  André Pönitz  <poenitz@gmx.net>
5325
5326         * BufferView_pimpl.C:
5327         * lyxtext.h:
5328         * text.C:
5329         * text2.C:
5330         * text3.C:
5331         * undo_funcs.[Ch]: use paroffset_type instead of
5332           ParagraphList::iterators to prevent multiple conversion
5333           (and get a more robust interface)
5334
5335 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5338         * lyxtext.h: ditto
5339         * text3.C (dispatch): ditto
5340
5341 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5344         move the onlyfile, use onlyfile instead of foundfile in a couple
5345         of places.
5346
5347         * DepTable.C (update): flush the error stream a bit more
5348
5349 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * lyxserver.C (callback): adjust
5352
5353         * lyxfunc.C (getStatus): add a missing brace in commented code
5354         (ensureBufferClean): reindent
5355         (dispatch): delete version taking a string
5356
5357 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5358
5359         * LaTeX.C (deplog): move found file handlig from here...
5360         (handleFoundFile): .. to new function here.
5361         (deplog): make sure to discover several files mentioned on the
5362         same log line.
5363
5364 2003-10-10  André Pönitz  <poenitz@gmx.net>
5365
5366         * lyxfunc.C:
5367         * lyxtext.h:
5368         * tabular.C:
5369         * text.C:
5370         * text2.C:
5371         * text3.C: fix some of the tabular crashes
5372
5373 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5374
5375         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5376
5377         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5378
5379 2003-10-09  André Pönitz  <poenitz@gmx.net>
5380
5381         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5382
5383         * BufferView.C:
5384         * BufferView_pimpl.C:
5385         * bufferview_funcs.C:
5386         * lyx_cb.C:
5387         * lyxcursor.C:
5388         * lyxfind.C:
5389         * lyxfunc.C:
5390         * lyxtext.h:
5391         * text.C:
5392         * text2.C:
5393         * text3.C:
5394         * text_funcs.[Ch]:
5395         * textcursor.[Ch]:
5396         * undo_funcs.C: adjust
5397
5398 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5399
5400         * text2.C (incrementItemDepth): new function, use a backtracking
5401         algorithm to discover the correct item depth.
5402         (resetEnumCounterIfNeeded): new function, use a backtracking
5403         algorithm to discover if counter reset is needed.
5404         (setCounter): use them. Simplify a bit. Add different labels for
5405         different item depths for itemize.
5406
5407         * paragraph.C (Paragraph): remove initialization of enumdepth
5408         (operator=): ditto
5409
5410         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5411         enumerate and itemize. Change the type of itemdepth to signed char.
5412
5413 2003-10-08  André Pönitz  <poenitz@gmx.net>
5414
5415         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5416           thing assignable.
5417         * text.C:
5418         * text2.C: adjust
5419
5420         * tabular.[Ch]: fix crash after 'row-insert'
5421
5422 2003-10-08  Angus Leeming  <leeming@lyx.org>
5423
5424         Fix doxygen warnings.
5425
5426         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5427         Remove CutAndPaste:: prefix from header file declaration.
5428
5429         * LColor.h (fill): remove LColor:: prefix from declaration.
5430
5431         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5432         use lyx::depth_type rather than Paragraph::depth_type so that
5433         header file and .C file match.
5434
5435         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5436
5437         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5438         * aspell.C: \file aspell_local.C -> \file aspell.C
5439         * gettext.C: \file gettext.C -> \file src/gettext.C
5440         * gettext.h: \file gettext.h -> \file src/gettext.h
5441         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5442         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5443         * text.C: \file text.C -> \file src/text.C
5444
5445         * toc.C: move comment so that doxygen is not confused.
5446
5447 2003-10-07  Angus Leeming  <leeming@lyx.org>
5448
5449         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5450
5451 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5452
5453         * aspell.C:
5454         * aspell_local.h: add forgotten std::string's.
5455
5456 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5457
5458         * LaTeXFeatures.C:
5459         * LyXAction.C:
5460         * factory.C:
5461         * lfuns.h:
5462         * lyxfunc.C:
5463         * text3.C: The Box patch. Fancybox support, minipage, parbox
5464
5465 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5466
5467         * CutAndPaste.h:
5468         * DepTable.h:
5469         * FloatList.h:
5470         * LaTeXFeatures.h:
5471         * ParagraphParameters.h:
5472         * TextCache.h:
5473         * Thesaurus.h:
5474         * bufferlist.h:
5475         * exporter.h:
5476         * importer.h:
5477         * lastfiles.h:
5478         * lyxfind.h:
5479         * lyxfont.h:
5480         * lyxlex.h:
5481         * lyxtextclasslist.h:
5482         * messages.h:
5483         * paragraph.h:
5484         * paragraph_pimpl.C:
5485         * textcursor.h: add <string> and other small fixes to make Lars'
5486         std::string patch compile with STLport.
5487
5488 2003-10-06  Angus Leeming  <leeming@lyx.org>
5489
5490         * LColor.h: Add missing #include <string>.
5491
5492 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * All most all file in all subdirs: Make <string> be the prefered
5495         way of getting to std::string, add using declarations.
5496
5497 2003-10-06  André Pönitz  <poenitz@gmx.net>
5498
5499         * metricsinfo.C: initialize LyXFont before changing attribute.
5500         (fixes the 'math in \emph is upright' bug)
5501
5502 2003-10-06  André Pönitz  <poenitz@gmx.net>
5503
5504         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5505
5506 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5507
5508         * graph.C:
5509         * paragraph_pimpl.C: Small fixes to build using STLport
5510
5511 2003-10-02  André Pönitz  <poenitz@gmx.net>
5512
5513         * lyxfunc.C:
5514         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5515
5516 2003-10-01  André Pönitz  <poenitz@gmx.net>
5517
5518         * factory.C: assert early
5519
5520 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5521
5522         * lyx_main.C: remove the global debug object
5523
5524         * debug.h: adjust for new debugstream
5525
5526         * debug.C: adjust for new debugstream and keep the global debug
5527         object here.
5528
5529 2003-09-22  Angus Leeming  <leeming@lyx.org>
5530
5531         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5532         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5533         an incomplete class LyXFont.
5534
5535 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5536
5537         * factory.C: bug fix in branches
5538
5539 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * lyxfunc.C (processKeySym): adjust
5542         (dispatch): adjust
5543         (dispatch): change arg name from ev to func, adjust
5544         (sendDispatchMessage): ditto
5545
5546         * lyx_main.C (defaultKeyBindings): adjust keybindings
5547         (deadKeyBindings): ditto
5548
5549         * kbsequence.C (addkey): return a FuncRequest
5550
5551         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5552
5553         * kbmap.C (bind): take a FuncRequest as arg, adjust
5554         (read): adjust
5555         (lookup): adjust
5556         (defkey): change to take a FuncRequest as arg, adjust
5557         (findbinding): take a FuncRequest as arg, adjust.
5558
5559         * funcrequest.h (operator=): added
5560
5561         * funcrequest.C (FuncRequest): default kb_action changed from
5562         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5563
5564         * buffer.C (dispatch): simplify
5565         (dispatch): adjust to take a FuncRequest as arg, adjust
5566
5567         * boost.C (assertion_failed): change assertion message slightly
5568
5569         * ToolbarBackend.C (read): simplify
5570
5571         * MenuBackend.C (binding): adjust call to findbinding, add a
5572         message if no binding is found.
5573         (read): simplify
5574         (expandToc): correct by adding a empty FuncRequest
5575
5576         * LyXAction.C: include <boost/assert.hpp>
5577         (isPseudoAction): delete function
5578         (LookupFunc): change name to...
5579         (lookupFunc): this. change return type to FuncRequest.
5580         (getActionName): take kb_action as arg, simplify
5581         (funcHasFlag): add an assert, simplify.
5582
5583 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * toc.C (action): return a FuncRequest, simplify
5586
5587         * lyxfunc.C (processKeySym): adjust
5588         (getStatus): delete version that takes an int.
5589         (getStatus): adjust
5590         (dispatch): delete version that takes action as int
5591         (dispatch): adjust
5592         (sendDispatchMessage): simplify and adjust
5593
5594         * funcrequest.C (getArg): take unsigned int as arg
5595
5596         * ToolbarBackend.C (read): adjust
5597         (add): delete version that takes func as a string.
5598         (getIton): take a FuncRequest as arg
5599
5600         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5601         action.
5602
5603         * MenuBackend.C (MenuItem): add a new construct that only takes a
5604         Kind, simplify the constructor use for submenus.
5605         (add): adjust
5606         (expandLastfiles): adjust
5607         (expandDocuments): adjust
5608         (expandFormats): adjust
5609         (expandFloatListInsert): adjust
5610         (expandFloatInsert): adjust
5611         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5612
5613         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5614         Remove class variables lyx_pseudo_map and lyx_arg_map
5615
5616         * LyXAction.C (searchActionArg): delete function
5617         (getPseudoAction): delete function
5618         (retrieveActionArg): delete function
5619         (LookupFunc): make it return kb_action, simplify.
5620         (getActionName): simplify
5621
5622         * factory.C (createInset): fix new bug
5623
5624 2003-09-19  Angus Leeming  <leeming@lyx.org>
5625
5626         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5627         masterFilename_ parameter in the include inset.
5628
5629         * factory.C (createInset): changes due to the changes to InsetInclude.
5630
5631 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5632
5633         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5634
5635 2003-09-18  Angus Leeming  <leeming@lyx.org>
5636
5637         * buffer.C:
5638         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5639         Inset::fillWithBibKeys.
5640         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5641
5642 2003-09-18  Angus Leeming  <leeming@lyx.org>
5643
5644         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5645         variables.
5646         (ctor): pass and store a 'Buffer const &'
5647         (buffer): new member function.
5648
5649         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5650         '*this' to the LaTeXFeatures ctor.
5651
5652 2003-09-18  Angus Leeming  <leeming@lyx.org>
5653
5654         * LColor.h:
5655         * lyxfont.C:
5656         * lyxfont.h:
5657         * lyxtext.h:
5658         * text.C: rename EnumLColor as LColor_color.
5659
5660 2003-09-18  Angus Leeming  <leeming@lyx.org>
5661
5662         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5663         remove #include "insets/insetbase.h" from cursor.h.
5664
5665 2003-09-18  Angus Leeming  <leeming@lyx.org>
5666
5667         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5668         InsetOld_code to remove #include "inset.h".
5669
5670         * iterators.C: add #include "insets/inset.h"
5671
5672 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5673
5674         * BufferView.C: remove more locking stuff that apparently doesn't
5675         do anything sensible.
5676
5677 2003-09-16  André Pönitz  <poenitz@gmx.net>
5678
5679         * paragraph.[Ch]:
5680         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5681           performance boost.
5682
5683 2003-09-16  Angus Leeming  <leeming@lyx.org>
5684
5685         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5686
5687         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5688         arg/return type.
5689
5690         * paragraph.h: remove #include "lyxfont.h". Forward declare
5691         LyXFont_size.
5692
5693 2003-09-16  Angus Leeming  <leeming@lyx.org>
5694
5695         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5696         of support/textutils.h.
5697         (isWord): move the contents of support/textutils.h's IsWordChar here.
5698
5699         * buffer.C:
5700         * lyxfind.C:
5701         * rowpainter.C:
5702         * text.C:
5703         * text2.C: add #include "paragraph.h".
5704
5705         * rowpainter.C:
5706         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5707
5708 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5709
5710         * main.C:
5711         * lyx_main.C:
5712         * lyx_cb.C:
5713         * buffer.C:
5714         * LaTeX.C: use namespace alias for lyx::support::os
5715
5716 2003-09-16  Angus Leeming  <leeming@lyx.org>
5717
5718         * bufferparams.C:
5719         * bufferview_funcs.C:
5720         * factory.C:
5721         * lyxfunc.C:
5722         * paragraph_pimpl.C:
5723         * rowpainter.C:
5724         * text.C: add #include "LColor.h".
5725
5726 2003-09-16  Angus Leeming  <leeming@lyx.org>
5727
5728         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5729         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5730         return LyXFont &.
5731         Store the FontBits::color variable as an int rather than as an
5732         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5733         file.
5734
5735         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5736         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5737         string calls together.
5738
5739         * lyxrc.C: add #include "LColor.h".
5740
5741 2003-09-15  Angus Leeming  <leeming@lyx.org>
5742
5743         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5744         a cow_ptr.
5745
5746 2003-09-15  Angus Leeming  <leeming@lyx.org>
5747
5748         * LColor.h: add an EnumLColor wrapper for LColor::color.
5749
5750         * lyxfont.[Ch] (color, setColor, realColor):
5751         * lyxtext.h, text.C (backgroundColor):
5752         pass EnumLColor args to/from the functions, rather than LColor::color
5753         ones.
5754
5755         * lyxfont.h:
5756         * lyxtext.h: forward declare EnumLColor.
5757
5758         * lyx_main.C: add #include "LColor.h".
5759
5760 2003-09-15  Angus Leeming  <leeming@lyx.org>
5761
5762         * .cvsignore: add lyx-gtk.
5763
5764 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5765
5766         * Chktex.C
5767         * LaTeX.C
5768         * LaTeXFeatures.C
5769         * ParagraphParameters.C
5770         * Spacing.C
5771         * buffer.C
5772         * bufferparams.C
5773         * bufferview_funcs.C
5774         * chset.C
5775         * counters.C
5776         * funcrequest.C
5777         * lyxfont.C
5778         * lyxgluelength.C
5779         * lyxlength.C
5780         * paragraph.C
5781         * paragraph_funcs.C
5782         * text3.C
5783         * vc-backend.C: remove usage of STRCONV
5784
5785 2003-09-15  Angus Leeming  <leeming@lyx.org>
5786
5787         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5788         explicitly define the color passed to the painter.
5789
5790 2003-09-15  Angus Leeming  <leeming@lyx.org>
5791
5792         * bufferparams.C (BufferParams): reorder member initializers to avoid
5793         compiler warning.
5794
5795 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5796
5797         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5798         * text.C (updateRowPositions): remove an unusual nop
5799
5800 2003-09-12  André Pönitz  <poenitz@gmx.net>
5801
5802         * BufferView_pimpl.C:
5803         * Bullet.C:
5804         * layout.h:
5805         * lyxfunc.C:
5806         * lyxlayout.[Ch]:
5807         * lyxtextclass.C:
5808         * rowpainter.C:
5809         * text.C:
5810         * text2.C:
5811         * Counters.[Ch]: finish the 'automatic counters' job
5812
5813 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5814
5815         * aspell.C: include <boost/assert.cpp> (compile fix)
5816
5817 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5818
5819         * boost.C (assertion_failed): use lyx::support::abort instead of
5820         assert.
5821
5822 2003-09-10  Angus Leeming  <leeming@lyx.org>
5823
5824         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5825         with their _fwd progeny.
5826
5827 2003-09-09  Angus Leeming  <leeming@lyx.org>
5828
5829         134 files throughtout the source tree: replace 'using namespace abc;'
5830         directives with the appropriate 'using abc::xyz;' declarations.
5831
5832 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5833
5834         * boost.C (emergencyCleanup): moved here from LAssert.c
5835         (assertion_failed): new function, called by BOOST_ASSERT
5836
5837         * several files: change Assert to BOOST_ASSERT
5838
5839 2003-09-09  Angus Leeming  <leeming@lyx.org>
5840
5841         * buffer.[Ch]: Add an Impl class and move Buffer's member
5842         variables into it. As a result move several header files out of
5843         buffer.h.
5844
5845         Add header files to lots of .C files all over the tree as a result.
5846
5847 2003-09-09  Angus Leeming  <leeming@lyx.org>
5848
5849         * buffer.[Ch]: make Buffer's member variables private. Add
5850         accessor functions.
5851
5852         Lots of changes all over the tree as a result.
5853
5854 2003-09-08  Angus Leeming  <leeming@lyx.org>
5855
5856         * graph.C: #include <config.h>.
5857
5858 2003-09-08  Angus Leeming  <leeming@lyx.org>
5859
5860         * BranchList.C:
5861         * BufferView.C:
5862         * BufferView_pimpl.C:
5863         * CutAndPaste.C:
5864         * DepTable.C:
5865         * LaTeX.C:
5866         * LaTeXFeatures.C:
5867         * LyXAction.C:
5868         * MenuBackend.C:
5869         * TextCache.C:
5870         * aspell.C:
5871         * buffer.C:
5872         * bufferlist.C:
5873         * changes.C:
5874         * chset.C:
5875         * converter.C:
5876         * counters.C:
5877         * debug.C:
5878         * graph.C:
5879         * ispell.C:
5880         * lyx_cb.C:
5881         * lyxfind.C:
5882         * lyxfunc.C:
5883         * lyxlex_pimpl.C:
5884         * lyxrc.C:
5885         * lyxrow.C:
5886         * paragraph.C:
5887         * rowpainter.C:
5888         * texrow.C:
5889         * text.C:
5890         * text2.C:
5891         * toc.C: remove redundant using directives.
5892
5893 2003-09-07  Angus Leeming  <leeming@lyx.org>
5894
5895         * LaTeXFeatures.h: remove #include "support/types.h".
5896         * ToolbarBackend.h: remove #include <algorithm>.
5897         * changes.h: remove #include <ctime>.
5898         * debug.h: remove #include <iosfwd>.
5899         * graph.h: remove #include "support/std_string.h".
5900         * lyx_main.h: remove #include <csignal>.
5901         * lyxlex_pimpl.h: remove #include <fstream>.
5902         * sgml.h: remove #include <algorithm>, <utility>.
5903         * toc.h: remove #include "support/std_ostream.h".
5904         Add #include <iosfwd>.
5905
5906 2003-09-07  Angus Leeming  <leeming@lyx.org>
5907
5908         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5909
5910         * converter.h: forward declare LatexRunParams.
5911         * encoding.h: remove #include "lyxrc.h".
5912         * lyxtext.h: remove #include "LColor.h".
5913         * lyxtextclass.h: remove #include "support/types.h".
5914         * trans.h: remove #include "tex-accent.h".
5915         * trans_mgr.h: remove #include "tex-accent.h".
5916         * insets/inset.h: remove #include "support/types.h", <vector>.
5917         * insets/insetcollapsable.h: remove #include "LColor.h".
5918         * insets/insetinclude.h: remove #include "dimension.h".
5919         * insets/insetlatexaccent.h: remove #include "dimension.h".
5920         * insets/insetoptarg.h:: remove #include "insettext.h".
5921         * insets/insettext.h: remove #include "dimension.h",
5922         <boost/shared_ptr.hpp>
5923
5924         * insets/renderers.h: add #include "dimension.h".
5925         * insets/updatableinset.h: add #include "support/types.h".
5926
5927         * many .C files: Associated changes.
5928
5929 2003-09-06  Angus Leeming  <leeming@lyx.org>
5930
5931         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5932         one, inside testInvariant.
5933
5934         * PrinterParams.C: new file.
5935         * PrinterParams.[Ch]: move the function bodies out of line.
5936
5937 2003-09-06  Angus Leeming  <leeming@lyx.org>
5938
5939         * ParagraphParameters.h: forward declare ParameterStruct rather than
5940         including its header file.
5941         (depth): moved out-of-line.
5942
5943 2003-09-06  Angus Leeming  <leeming@lyx.org>
5944
5945         * BufferView_pimpl.h:
5946         * kbmap.h:
5947         * kbsequence.h:
5948         * lyxfunc.h: forward declare LyXKeySym rather than
5949         #include "frontends/LyXKeySym.h".
5950
5951         * BufferView_pimpl.C:
5952         * kbmap.C:
5953         * kbsequence.C:
5954         * lyxfunc.C: associated changes.
5955
5956 2003-09-06  Angus Leeming  <leeming@lyx.org>
5957
5958         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5959         As a result, can remove the #include "insets/inset.h" from BufferView.h
5960
5961 2003-09-06  Angus Leeming  <leeming@lyx.org>
5962
5963         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5964         As a result, can remove the #include "insets/inset.h" from BufferView.h
5965
5966 2003-09-06  Angus Leeming  <leeming@lyx.org>
5967
5968         * buffer_funcs.C:
5969         * buffer.h:
5970         * bufferlist.C:
5971         * BufferView.C:
5972         * bufferview_funcs.C:
5973         * BufferView_pimpl.C:
5974         * CutAndPaste.C:
5975         * lyx_cb.C:
5976         * lyxfunc.C:
5977         * paragraph.h:
5978         * ParagraphParameters.C:
5979         * tabular.C:
5980         * text3.C:
5981         * toc.C:
5982         * undo_funcs.C:
5983         * frontends/controllers/ControlDocument.C:
5984         * insets/insetcaption.C: rearrange the #includes into some sort of
5985         coherent order.
5986
5987         * buffer.h: remove #includes ErrorList.h, undo.h
5988
5989 2003-09-06  Angus Leeming  <leeming@lyx.org>
5990
5991         * support/types.h: add a 'depth_type' typedef, used to store the
5992         nesting depth of a paragraph.
5993
5994         * paragraph.h:
5995         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5996         defining explicitly.
5997
5998         * buffer.h:
5999         * paragraph_funcs.h:
6000         * ParagraphParameters.h:
6001         * sgml.h: use lyx::depth_type rather than Paragraph or
6002         ParameterStruct's depth_type.
6003
6004         * buffer.h
6005         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6006
6007         * BufferView.C:
6008         * BufferView_pimpl.C:
6009         * CutAndPaste.C:
6010         * ParagraphParameters.C:
6011         * buffer_funcs.C:
6012         * bufferlist.C:
6013         * bufferview_funcs.C:
6014         * lyx_cb.C:
6015         * lyxfunc.C:
6016         * tabular.C:
6017         * text3.C:
6018         * toc.C:
6019         * undo_funcs.C:
6020         * frontends/LyXView.C:
6021         * frontends/controllers/ControlDocument.C:
6022         * frontends/controllers/ControlErrorList.C:
6023         * insets/insetbibitem.C:
6024         * insets/insetbranch.C:
6025         * insets/insetcaption.C:
6026         * insets/insetcollapsable.C:
6027         * insets/insetenv.C:
6028         * insets/insetert.C:
6029         * insets/insetfloat.C:
6030         * insets/insetfoot.C:
6031         * insets/insetfootlike.C:
6032         * insets/insetnewline.C:
6033         * insets/insetquotes.C:
6034         * insets/insettabular.C:
6035         * insets/insettext.C:
6036         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6037
6038         * frontends/controllers/ControlChanges.C: #include "changes.h".
6039
6040 2003-09-06  Angus Leeming  <leeming@lyx.org>
6041
6042         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6043         than #including paragraph.h.
6044
6045         * ParagraphList.h:
6046         * RowList.h: deleted. Superfluous.
6047
6048         * CutAndPaste.h:
6049         * iterators.h:
6050         * lyxcursor.h:
6051         * lyxtext.h:
6052         * text_funcs.h:
6053         * undo.h:
6054         * undo_funcs.h:
6055         * insets/inset.h:
6056         * insets/insettext.h: use ParagraphList_fwd.h rather than
6057         ParagraphList.h.
6058
6059         * paragraph.h: don't forward declare ParagraphList.
6060
6061         * buffer.h:
6062         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6063         rather than ParagraphList.h. paragraph.h is still needed for the
6064         Paragraph::depth_type parameters.
6065
6066         * textcursor.h: enable it to compile stand-alone in light of the
6067         above changes.
6068
6069         * bufferview_funcs.C:
6070         * iterators.C:
6071         * lyxfunc.C:
6072         * lyxrow_funcs.C:
6073         * paragraph.C:
6074         * rowpainter.C:
6075         * text.C:
6076         * text2.C:
6077         * text3.C:
6078         * text_funcs.C:
6079         * textcursor.C:
6080         * undo.C:
6081         * frontends/controllers/ControlParagraph.C:
6082         * frontends/controllers/ControlTabular.C:
6083         * insets/insetmarginal.C:
6084         * insets/insetminipage.C:
6085         * insets/insetnote.C:
6086         * insets/insetoptarg.C: add header files needed to compile again.
6087
6088 2003-09-06  Angus Leeming  <leeming@lyx.org>
6089
6090         * RowList_fwd.h: new file, forward-declaring Row rather than
6091         #including lyxrow.h.
6092
6093         * lyxrow_funcs.h:
6094         * lyxtext.h:
6095         * paragraph.h:
6096         * insets/insettext.h: use it instead of RowList.h
6097
6098         * bufferview_funcs.C:
6099         * lyxfunc.C:
6100         * lyxrow_funcs.C:
6101         * paragraph.C:
6102         * rowpainter.C:
6103         * text.C:
6104         * text2.C:
6105         * text3.C: #include "RowList.h".
6106
6107 2003-09-05  Angus Leeming  <leeming@lyx.org>
6108
6109         * factory.C (createInset):
6110         * vspace.C (c-tor): replace sscanf call with an istringstream.
6111         * ispell.C: re-add missing HP/UX headers.
6112         * lyxserver.C: re-add missing  os2 headers.
6113
6114 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6115
6116         * BranchList.C:
6117         * graph.C:
6118         * ispell.C:
6119         * lastfiles.C:
6120         * lyx_cb.C:
6121         * lyxserver.C:
6122         * texrow.C:
6123         * text3.C: re-add missing system headers, needed for 2.95.2.
6124
6125 2003-09-05  Angus Leeming  <leeming@lyx.org>
6126
6127         Changes most place everywhere due to the removal of using directives
6128         from support/std_sstream.h.
6129
6130 2003-09-05  Angus Leeming  <leeming@lyx.org>
6131
6132         Replace LString.h with support/std_string.h,
6133         Lsstream.h with support/std_sstream.h,
6134         support/LIstream.h with support/std_istream.h,
6135         support/LOstream.h with support/std_ostream.h.
6136
6137         Changes resulting throughout the tree.
6138
6139 2003-09-05  Angus Leeming  <leeming@lyx.org>
6140
6141         * sgml.h: ensure that the header file can be compiled stand-alone.
6142         * *.C: strip out redundant #includes. (320 in total.)
6143
6144 2003-09-04  Angus Leeming  <leeming@lyx.org>
6145
6146         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6147         here (from getPackages).
6148
6149         * debug.[Ch]: add a new EXTERNAL tag.
6150
6151 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6152
6153         * text2.C (cursorEnd): simplify
6154         (setCursor): adjust
6155         (getColumnNearX): adjust
6156
6157         * text.C (computeBidiTables): adjust
6158         (fill): adjust
6159
6160         * rowpainter.C (paintChars): adjust
6161         (paintSelection): adjust
6162         (paintChangeBar): adjust
6163         (paintText): adjust
6164
6165         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6166         lastPos instead.
6167         (numberOfSeparators): adjust
6168
6169 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6170
6171         * LyXAction.C:
6172         * box.[Ch]:
6173         * lfuns.h:
6174         * lyxfunc.C:
6175         * text3.C: Restricts the mouse click functionality
6176         of insets like bibtex, include, toc and floatlist to the visible
6177         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6178         up the dialogs. Cursor has to be in front of the inset (i.e.
6179         start of row) for this to function.
6180
6181 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6182
6183         * bufferview_funcs.C (currentState): output row information
6184
6185 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6186
6187         * bufferview_funcs.C (currentState): output paragraph position
6188
6189 2003-09-04  Angus Leeming  <leeming@lyx.org>
6190
6191         * FloatList.h: move out #include "Floating.h".
6192         * LaTeX.h: move out #include "DepTable.h".
6193         * LyXAction.h: move out #include "funcrequest.h".
6194         * buffer.h: move out #include "author.h", "iterators.h".
6195         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6196         * lyx_main.h: move out #include "errorlist.h".
6197         * lyxfunc.h: move out #include "FuncStatus.h".
6198         * lyxtext: move out #include "lyxcursor.h".
6199         * paragraph_pimpl.h: move out #include "counters.h".
6200
6201 2003-09-03  Angus Leeming  <leeming@lyx.org>
6202
6203         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6204         preamble_snippets list, enabling us to add snippets to the preamble
6205         only if the snippet was not there already.
6206
6207 2003-09-04  Angus Leeming  <leeming@lyx.org>
6208
6209         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6210
6211 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6214         update
6215
6216 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6217
6218         * BranchList.C: point fix, earlier forgotten
6219
6220 2003-09-02  Angus Leeming  <leeming@lyx.org>
6221
6222         * box.C (contains): renamed from 'contained' after a fantastic
6223         amount of hot air.
6224
6225 2003-09-02  John Levon  <levon@movementarian.org>
6226
6227         * BufferView.C:
6228         * lyxcursor.h:
6229         * lyxcursor.C:
6230         * lyxfunc.C:
6231         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6232
6233 2003-09-02  John Levon  <levon@movementarian.org>
6234
6235         * text2.C: simplification of cursorEnd(), including partial
6236         fix for bug 1376
6237
6238 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6239
6240         * buffer.C (readFile): add a space
6241
6242 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6243
6244         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6245
6246 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * buffer.C (readFile): new function, take a filename and a
6249         ParagraphList::iterator
6250         (readFile): adjust
6251         (readFile): adjust, make it private. don't use setStream, make
6252         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6253         always contain the filename.
6254
6255         * BufferView.C (insertLyXFile): simplify and make it work for
6256         gzipped files.
6257
6258 2003-08-30  John Levon  <levon@movementarian.org>
6259
6260         * Makefile.am: fix dist (from Kayvan)
6261
6262 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * most files: change to use const Buffer refs
6265
6266 2003-08-27  André Pönitz  <poenitz@gmx.net>
6267
6268         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6269         on top of ownerPar().
6270
6271 2003-08-27  John Levon  <levon@movementarian.org>
6272
6273         * funcrequest.C: properly initialise POD members
6274
6275 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6276
6277         * lyxtext.h (top_y): move top_y from here
6278         * text.C:
6279         * text2.C:
6280         * text3.C:
6281         * BufferView.[Ch]:
6282         * BufferView_pimpl.[Ch]: to here
6283         * frontends/screen.C:
6284         * insets/insettabular.C:
6285         * insets/insettext.C: adjust
6286         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6287
6288 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6289
6290         * BufferView.[Ch]:
6291         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6292
6293 2003-08-26  André Pönitz  <poenitz@gmx.net>
6294
6295         * paragraph_func.[Ch] (outerPar): new function
6296
6297         * paragraph.C:
6298         * paragraph_funcs.C:
6299         * paragraph_funcs.h:
6300         * paragraph_pimpl.C:
6301         * text2.C: remove Inset::par_owner
6302
6303 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6304
6305         * lyxrow_funcs.C:
6306         * lyxtext.h:
6307         * text.C:
6308         * text2.C: eliminates the needFullRow/display() stuff
6309         altogether, putting the logic in metrics/draw in the insets.
6310
6311 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6312
6313         * text2.C (redoParagraphInternal, redoParagraphs):
6314         * text.C (redoParagraph): add a call to updateRowPositions at the
6315         end of each 'metrics-like' call. Remove all others.
6316         (getRow): remove the 'y-computing' version.
6317         (getRowNearY): do not compute nor return the real y. Solve the
6318         'y < 0' problem and simplify.
6319
6320 2003-08-22  Angus Leeming  <leeming@lyx.org>
6321
6322         * *.[Ch]: clean-up of licence and author blurbs.
6323         Also move config.h out of a few .h files and into a few .C files.
6324
6325 2003-08-22  André Pönitz  <poenitz@gmx.net>
6326
6327         * lyxrow.[Ch]: add x_ and *fill_ members
6328
6329         * lyxtext.h:
6330         * text.C:
6331         * rowpainter.C:
6332         * text2.C: adjust/remove prepareToPrint() calls
6333
6334 2003-08-22  André Pönitz  <poenitz@gmx.net>
6335
6336         * lyxrow.[Ch]: add  end_ member
6337
6338         * lyxrow_funcs.C: use LyXRow::end_
6339
6340         * lyxtext.h (singleWidth): add LyXFont parameter
6341
6342         * rowpainter.C:
6343         * text2.C: adjust LyXText::singleWidth() calls
6344
6345         * text.C (redoParagraph): simplify row breaking logic
6346
6347
6348 2003-08-19  André Pönitz  <poenitz@gmx.net>
6349
6350         * funcrequest.C: initialize button_ member
6351
6352         * text3.C:
6353         * rowpainter.[Ch]: interface consolidation
6354
6355 2003-08-18  André Pönitz  <poenitz@gmx.net>
6356
6357         * BufferView.C:
6358         * BufferView_pimpl.C:
6359         * lyxfind.C:
6360         * paragraph_funcs.C:
6361         * rowpainter.C:
6362         * text3.C: remove LyXScreen::draw() and fitCursor calls
6363
6364         * BranchList.h: remove spurious semicolons
6365
6366         * MenuBackend.C: fix branchlist related crash
6367
6368 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6369
6370         * BranchList.[Ch]:
6371         * InsetList.[Ch]:
6372         * LColor.[Ch]:
6373         * LyXAction.C:
6374         * Makefile.am:
6375         * MenuBackend.[Ch]:
6376         * bufferparams.[Ch]:
6377         * factory.C:
6378         * lfuns.h:
6379         * lyxfunc.C:
6380         * text3.C: implements the 'branch inset'
6381         idea. This allows the output of various versions of a document
6382         from a single source version, selectively outputing or suppressing
6383         output of parts of the text.
6384         This implementation contains a 'branch list editor' in a separate
6385         tab of the document settings dialog. Branches are user definable
6386         and have a "display colour" to distinguish them on-screen.
6387
6388         ColorHandler was somewhat cleaned up.
6389         (1) make possible a dynamically growing LColor list by allowing
6390         the graphic context cache to grow along (vector);
6391         (2) eliminate an IMHO unnecessary step in colour allocation.
6392
6393 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6394
6395         * BufferView_pimpl.C: compile fix
6396
6397 2003-08-15  André Pönitz  <poenitz@gmx.net>
6398
6399         * rowpainter.C: remove extra metrics calls
6400
6401         * lyxtext.h: merge the two constructors into a single one,
6402           pass reference to owner's par list
6403
6404         * BufferView_pimpl.C:
6405         * text.C:
6406         * text2.C: adjust
6407
6408 2003-08-15  André Pönitz  <poenitz@gmx.net>
6409
6410         * lyxrow_funcs.[Ch]:
6411         * lyxtext.h:
6412         * paragraph.h:
6413         * paragraph_funcs.C:
6414         * rowpainter.C:
6415         * text.C:
6416         * text2.C:
6417         * text3.C:
6418         * text_funcs.C: split LyXText::rowlist_ into individual
6419         Paragraph::rows_ chunks
6420
6421         * BufferView.[Ch]:
6422         * BufferView_pimpl.[Ch]:
6423         * lyxfind.C:
6424         * lyxtext.h:
6425         * text3.C: remove toggleSelection()
6426
6427 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6428
6429         * bufferlist.C: beautify two alerts (shorter text of buttons)
6430         * buffer.C: Remove redundant ' ' from message
6431         * tabular.h:
6432         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6433         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6434         rename VALIGN_CENTER to VALIGN_MIDDLE
6435
6436 2003-08-11  André Pönitz  <poenitz@gmx.net>
6437
6438         * lyxtext.h (getPar):
6439         * text.C: new function
6440
6441 2003-08-11  André Pönitz  <poenitz@gmx.net>
6442
6443         * Makefile.am:
6444         * tracer.[Ch]: remove unneeded files
6445
6446         * InsetList.[Ch]: remove resizeInsetsLyXText()
6447
6448         * lyxtext.h:
6449         * text.C:
6450         * text2.C:
6451         * text3.C: merge insertParagraphs() and appendParagraph()
6452         remove breakAgain(), update()
6453
6454         * BufferView_pimpl.[Ch]:
6455         * bufferview_funcs.[Ch]:
6456         * lyxfunc.C:
6457         * paragraph.[Ch]:
6458         * rowpainter.C:
6459         * tabular.C: adjust after text & InsetList changes.
6460
6461 2003-08-08  André Pönitz  <poenitz@gmx.net>
6462
6463         * text.C (insertChar, backspace): replace rowlist fiddling
6464         with rebreak of full par
6465
6466         * lyxtext.h:
6467         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6468         checkParagraph, updateInset): removed
6469
6470 2003-08-07  André Pönitz  <poenitz@gmx.net>
6471
6472         * paragraph.C:
6473         * text3.C: merge some LFUN handlers, remove dead code
6474
6475 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6476
6477         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6478
6479 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6480
6481         * text2.C (DEPM): fix part of bug 1255 and 1256
6482
6483 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6484
6485         * BufferView_pimpl.C (workAreaDispatch): change to use
6486         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6487         that are no mouse related.
6488
6489 2003-08-05  André Pönitz  <poenitz@gmx.net>
6490
6491         * BufferView.[Ch]:
6492         * BufferView_pimpl.[Ch]:
6493         * bufferview_funcs.C:
6494         * text2.C:
6495         * text3.C: rip out "deep update"
6496
6497         * textcursor.[Ch] (last_sel_cursor): remove unused member
6498
6499 2003-08-04  André Pönitz  <poenitz@gmx.net>
6500
6501         * BufferView.[Ch]:
6502         * BufferView_pimpl.[Ch]:
6503         * ParagraphParameters.C:
6504         * bufferview_funcs.C:
6505         * lyx_cb.C:
6506         * lyxfind.C:
6507         * lyxfunc.C:
6508         * text.C:
6509         * text2.C:
6510         * text3.C: replace "complicated" BufferView::update(...) calls with
6511         simpler ones.
6512
6513         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6514
6515 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6516
6517         * Makefile.am (lyx_SOURCES): add paper.h
6518
6519 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6520
6521         * Makefile.am: move things around so that both lyx-qt and
6522         lyx-xforms can be built (according to --with-frontend). Then lyx
6523         is a symbolic link to lyx-[firstfrontend]
6524
6525 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6526
6527         * Always use std::endl with lyxerr
6528
6529 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6530
6531         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6532
6533 2003-08-01  André Pönitz  <poenitz@gmx.net>
6534
6535         * BufferView.[Ch]:
6536         * BufferView_pimpl.[Ch]:
6537         * lyxfunc.C:
6538         * text3.C: merge BufferView::repaint() and BufferView::update()
6539
6540 2003-08-01  José Matos  <jamatos@lyx.org>
6541
6542         * buffer.[Ch]: file_format is no longer a buffer data element.
6543
6544 2003-08-01  André Pönitz  <poenitz@gmx.net>
6545
6546         * BufferView.C:
6547         * lyxtext.h:
6548         * text.C:
6549         * text2.C: make redoParagraph more independent of current cursor
6550
6551         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6552         * text.C:
6553         * text2.C: remove unneeded members
6554
6555 2003-07-30  André Pönitz  <poenitz@gmx.net>
6556
6557         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6558
6559         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6560           create a single function...
6561
6562         * paragraph_funcs.C (moveItem): ... here.
6563
6564         * text.C:
6565           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6566
6567 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6568
6569         * LColor.[Ch]: Add comment and greyedout logical colors.
6570
6571 2003-07-30  André Pönitz  <poenitz@gmx.net>
6572
6573         * tabular.C: don't use Assert too heavily. This crashes where it
6574           shouldn't
6575
6576 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6577
6578         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6579         is disabled (bug 1232)
6580
6581 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6582
6583         * factory.C: limited 'arg' scope
6584
6585 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6586
6587         * factory.C: fixed Note submenu issues
6588
6589 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6590
6591         * factory.C: submenu for Note/Comment/Greyedout
6592
6593 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6594
6595         * lyx_main.C (LyX):
6596         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6597
6598 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6599
6600         * LaTeXFeatures.C:
6601         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6602         greyedout. Patch provided by Jürgen Spitzmüller.
6603
6604 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6605
6606         * kbmap.C (read): fix error message when reading bind files
6607
6608 2003-07-29  Angus Leeming  <leeming@lyx.org>
6609
6610         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6611         certainly does not do what it purports to do. I am doing it, and
6612         us, a favour by killing it.
6613
6614 2003-07-28  José Matos  <jamatos@lyx.org>
6615
6616         * buffer.C (readBody, do_writeFile):
6617         * paragraph.C(readParagraph): \end_document replaces \the_end.
6618
6619 2003-07-29  André Pönitz  <poenitz@gmx.net>
6620
6621         * BufferView.[Ch]:
6622         * BufferView_pimpl.[Ch]:
6623         * lyxfunc.C:
6624         * text2.C:
6625         * text3.C:
6626         * textcursor.[Ch]: remove toggleToggle & Co
6627
6628 2003-07-28  José Matos  <jamatos@fep.up.pt>
6629
6630         * buffer.C (readParagraph):
6631         * params_func (readParToken, readParagraph):
6632         * paragraph.C (write): \layout -> \begin_layout.
6633
6634 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * lyxlex_pimpl.C (setFile): clean up slightly.
6637
6638         * bufferparams.h: add compressed var
6639
6640         * buffer_funcs.C (readFile): adjust for LyXLex change
6641         (newFile): ditto + simplify
6642
6643         * buffer.C (writeFile): handle writing of compressed files
6644
6645         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6646         Check if the file is compressed and set a bufferparm if so.
6647
6648         * Makefile.am (lyx_LDADD): remove explicit -lz
6649
6650 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6651
6652         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6653         makeDocBookFile): put the real LyX version in the first line of
6654         the file
6655
6656         * version.h:
6657         * version.C.in: remove lyx_docversion
6658
6659         * tabular.C (write_attribute): add a template-based version to
6660         write enums properly
6661
6662 2003-07-28  André Pönitz  <poenitz@gmx.net>
6663
6664         * lyxtext.h:
6665         * text.C:
6666         * text2.C:
6667         * text3.C: use doubles again for x-coordinates. They are needed.
6668
6669 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * messages.C (getLocaleDir): use lyx_localedir()
6672
6673         * lyxlex_pimpl.C (setFile): compress stuff
6674
6675         * buffer.C (writeFile): add some compression stuff
6676         (do_writeFile): new func, dont call expliti close... will this
6677         breake anything?
6678
6679         * Makefile.am (lyx_LDADD): add -lz
6680
6681 2003-07-28  José Matos  <jamatos@fep.up.pt>
6682
6683         * buffer.C: increment file format.
6684         * paragraph_funcs (readParagraph, readParToken):
6685         * paragraph.C (readParagraph): add \end_layout.
6686
6687 2003-07-27  Angus Leeming  <leeming@lyx.org>
6688
6689         * Makefile.am: remove special casing for configure-time setting of
6690         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6691
6692         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6693         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6694
6695 2003-07-26  André Pönitz  <poenitz@gmx.net>
6696
6697         * paragraph_func.[Ch]:
6698         * paragraph.C (realizeFont): inline it whereever it is used
6699
6700         * rowpainter.C:
6701         * text.C:
6702         * text2.C:
6703         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6704
6705
6706 2003-07-26  André Pönitz  <poenitz@gmx.net>
6707
6708         *       lyxtext.h:
6709         * text.C:
6710         * text2.C: get rid of LyXText::need_break_row
6711
6712 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6713
6714         * toc.[Ch]: put namespace toc inside namespace lyx
6715
6716         * MenuBackend.C (expandToc2): adjust for lyx::toc
6717         (expandToc): ditto
6718
6719         * lyxfunc.C (dispatch): adjust for lyx::find
6720
6721         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6722         lyx::find instead. Reorganize a bit.
6723         (LyXReplace): rename to replace
6724         (LyXFind): rename to find
6725
6726         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6727         (dispatch): ditto
6728
6729 2003-07-26  André Pönitz  <poenitz@gmx.net>
6730
6731         * text.C (setHeightOfRow): restrict scope of temporary variable
6732
6733         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6734           code (never has been used?)
6735
6736 2003-07-27  Asger Alstrup  <alstrup@local>
6737
6738         * text.C (fill): Optimise algorithm to exploit that we can reuse
6739         the LyXFont for many characters.
6740         (setHeightOfRow): Same thing.
6741         (rowBreakPoint): Same thing.
6742
6743 2003-07-26  Asger Alstrup  <alstrup@local>
6744
6745         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6746
6747         * text.C (singleWidth): Spurious font copying in hot-spot
6748         singleWidth avoided. Reorder tests for arabic for efficiency.
6749
6750         * text.C (fill): handle empty paragraphs better.
6751
6752 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6753
6754         * ispell.C:
6755         * encoding.h: add includes
6756
6757         * lyxrc.C: remove reading of bind files
6758
6759         * lyx_main.C (init): setup bindings and menus only if we have a
6760         gui.
6761
6762         * kbmap.C (read): new method. Do the actual reading of bind
6763         files.
6764
6765         * converter.C (dvipdfm_options):
6766         * bufferparams.C:
6767         * lyxrc.C (read):
6768         (output): adapt PAPER_* enums.
6769
6770         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6771
6772         * bufferparams.h: remove paper-related enums from there
6773
6774         * paper.h: New file. A trivial header file to hold paper-related
6775         enums. It should later expand to contain many paper-related
6776         horrors access.
6777
6778         * lyxrc.C: declare extern displayTranslator
6779
6780 2003-07-27  José Matos  <jamatos@fep.up.pt>
6781
6782         * tabular.[Ch] (linuxdoc): add support for tables and figures
6783         (linuxdoc).
6784
6785 2003-07-27  José Matos  <jamatos@fep.up.pt>
6786
6787         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6788         consistency in both functions.
6789         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6790
6791 2003-07-26  Asger Alstrup  <alstrup@local>
6792
6793         * rowpainter.C (paintRows): Change algorithm to work directly on
6794         the insets rather than asking every character in the document
6795         whether its an inset.
6796
6797 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6798
6799         * buffer.C (openFileWrite): factorize some code
6800
6801 2003-07-26  Angus Leeming  <leeming@lyx.org>
6802
6803         * lyx_cb.C:
6804         * lyx_main.[Ch]: replace occurances of system_tempdir with
6805         os::getTmpDir().
6806
6807 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6808
6809         * rename Inset to InsetOld
6810
6811 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6812
6813         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6814         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6815         which I think is a bit clearer. EDIT is gone, since it was
6816         premature optimisation, and broken for mathed anyway.
6817         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6818         with cursor positioning in insets as well (math insets still do not
6819         work, but that's a different story anyway.) It mysteriously
6820         crashes sometimes with undo in the first paragraph, but I'm fairly
6821         confident that this is a compiler bug.
6822
6823 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6824
6825         * paragraph.C (Paragraph): adjust for new clone return type
6826         (operator==): ditto
6827         (copyIntoMinibuffer): ditto
6828
6829 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6830
6831         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6832         by not having a special case, and always doing a full rebreak of
6833         the document after undo.
6834
6835 2003-07-23  Angus Leeming  <leeming@lyx.org>
6836
6837         * factory.C (createInset): InsetExternal::setParams now takes a
6838         Buffer const * arg.
6839
6840 2003-07-23  Angus Leeming  <leeming@lyx.org>
6841
6842         * factory.C (createInset): changed interface to the external and
6843         graphics mailers' string2params functions.
6844
6845 2003-07-23  Angus Leeming  <leeming@lyx.org>
6846
6847         * factory.C (createInset): pass a
6848         Buffer const * parameter to InsetExternalMailer's string2params.
6849
6850 2003-07-22  John Levon  <levon@movementarian.org>
6851
6852         * Thesaurus.h: include the right aiksaurus header
6853
6854 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6855
6856         * MenuBackend.C (expand): check menu shortcuts unconditionally
6857
6858 2003-07-21  Angus Leeming  <leeming@lyx.org>
6859
6860         * factory.C (createInset): pass a
6861         buffer_path parameter to InsetGraphicsMailer's string2params.
6862
6863 2003-07-21  Angus Leeming  <leeming@lyx.org>
6864
6865         * BufferView_pimpl.C (buffer):
6866         * buffer.C (d-tor):
6867         * lyx_main.C (LyX):
6868         * lyxfunc.C (dispatch):
6869         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6870         rather than the grfx shortcut.
6871
6872 2003-07-21  André Pönitz  <poenitz@gmx.net>
6873
6874         * rowpainter.C: remove unused variables
6875
6876         * tabular_funcs.C:
6877         * tabular_funcs.h: move to tabular.C
6878         * Makefile.am: adjust
6879
6880         * tabular.[Ch]: basic optical cleaning
6881
6882         * author.h: pass references, not values
6883
6884 2003-07-18  André Pönitz  <poenitz@gmx.net>
6885
6886         * lyxtext.h:
6887         * metricsinfo.C:
6888         * metricsinfo.h:
6889         * rowpainter.C:
6890         * text.C:
6891         * text2.C:
6892         * text3.C: two-phase drawing for InsetText and InsetTabular
6893         some float -> int changes.
6894
6895 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6896
6897         * lyx_main.C: fix the fix
6898
6899 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6900
6901         * lyx_main.C: fix a crash in batch mode if no files specified
6902         * converter.C: ws
6903
6904 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6905
6906         * format.[Ch] (papersize): moved to BufferParams
6907         * converter.[Ch] (dvips_options): moved to BufferParams
6908         (dvipdfm_options): moved to anon namespace
6909         * bufferparams.[Ch]: added above functions.
6910
6911 2003-07-17  André Pönitz  <poenitz@gmx.net>
6912
6913         * lyxtext.h:
6914         * rowpainter.C:
6915         * text2.C: don't call inset->update() anymore
6916
6917         * metricsinfo.[Ch]: add convenience constructor
6918
6919 2003-07-16  André Pönitz  <poenitz@gmx.net>
6920
6921         * lyxcursor.[Ch]:
6922         * lyxfunc.[Ch]:
6923         * text.C:
6924         * text2.C: replace the LyXCursor::irow_ member with
6925          on-demand computation of the value
6926
6927 2003-07-16  John Levon  <levon@movementarian.org>
6928
6929         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6930
6931 2003-07-15  André Pönitz  <poenitz@gmx.net>
6932
6933         * text.C:
6934         * text2.C: remove no more needed refresh_row
6935
6936 2003-07-15  André Pönitz  <poenitz@gmx.net>
6937
6938         * lyxtext.h:
6939         * rowpainter.C:
6940         * text2.C:
6941         * text3.C: refresh_status tristate -> need_update bool
6942
6943 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6944
6945         * lyxtext.h (init): remove reinit argument (act as if always true)
6946         * text2.C: adjust to that
6947
6948 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6949
6950         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6951         * text3.C: use it to delete selections in some cases
6952         (bugs 441, 673, 702, 954).
6953
6954 2003-07-14  André Pönitz  <poenitz@gmx.net>
6955
6956         * rowpainter.[Ch]: reduce interface
6957
6958 2003-07-14  André Pönitz  <poenitz@gmx.net>
6959
6960         * BufferView_pimpl.C:
6961         * text2.C: adjust after removing unused BufferView * argument
6962
6963 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6964
6965         * text2.C (init): fix a crash fired on resize
6966
6967 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6968
6969         * buffer.[Ch]: added new closing signal
6970         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6971         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6972         BufferView::Pimpl via the closing the signal
6973
6974 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6975
6976         * buffer.[Ch]: take out all bv-related from buffer
6977         * BufferView.C:
6978         * BufferView_pimpl.[Ch]: connect to new signals
6979         * CutAndPaste.C: removed useless asserts
6980         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6981         * lyxvc.[Ch]:
6982         * vc-backend.[Ch]:
6983         * lyxfunc.C: moved view-related funciontality from vc here
6984         * paragraph.C: removed outdated comments
6985         * text.C: ws
6986
6987 2003-07-10  André Pönitz  <poenitz@gmx.net>
6988
6989         * BufferView_pimpl.C:
6990         * tabular.h:
6991         * tabular_funcs.C:
6992         * text.C:
6993         * text2.C: remove InsetText::InnerCache, clean up consequences
6994
6995 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6996
6997         * ispell.C: fix two typos in error messages
6998
6999 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7000
7001         * Extend Note inset to other forms of annotation like Comment
7002         and Greyedout. Right button click gives dialog.
7003
7004         Files modified or added (+):
7005
7006         * insetnote.[Ch]
7007         * FormNote.[Ch]      +
7008         * ControlNote.[Ch]   +
7009         * form_note.fd       +
7010         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7011         frontends/controllers
7012         * xforms/Dialogs.C
7013         * factory.C
7014
7015 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7016
7017         * aspell.C: add missing namespace lyx::support
7018
7019 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7020
7021         * BufferView.[Ch] (newFile): Add
7022         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7023         * LaTeX.[Ch] (message): added this signal and use it
7024         * buffer.[Ch] (busy, message): added these signals and use them
7025         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7026         * converter.C:
7027         * exporter.C:
7028         * format.C:
7029         * importer.C: use buffer signals instead of direct bv calling
7030         * lyx_cb.[Ch] (ShowMessage): removed
7031         * lyx_main.C:
7032         * lyxfunc.C:
7033         * paragraph_funcs.C:
7034         * text2.C: use buffer signals
7035
7036 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * introduce namespace lyx::graphics
7039
7040 2003-07-02  André Pönitz  <poenitz@gmx.net>
7041
7042         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7043
7044 2003-07-01  André Pönitz  <poenitz@gmx.net>
7045
7046         * text.C:
7047         * text2.C:
7048         * text3.C:
7049         * text_funcs.[Ch]:
7050         * textcursor.h:
7051         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7052           text*.C to text_func.C
7053
7054 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7055
7056         * introduce namespace lyx::support
7057
7058 2003-06-30  André Pönitz  <poenitz@gmx.net>
7059
7060         * Chktex.C:
7061         * funcrequest.C:
7062         * lyxtext.h:
7063         * text.C: re-enable --with-included-string
7064
7065 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * textcursor.C: add <config.h>
7068
7069         * text.C (getWord): remove const from word_location arg
7070
7071         * lyxvc.C (getLogFile): fix const type order
7072
7073         * lyxtext.h: remove const from word_location arg, add arg name
7074
7075         * lyxlayout.h: currect type on labeltype.
7076
7077         * importer.C: correct \file
7078
7079         * converter.C (intToFormat): use std:: on ret val, ws changes
7080
7081         * bufferlist.h: correct \file
7082
7083         * buffer.C (makeLinuxDocFile): fix const type order
7084         (makeDocBookFile): ditto
7085         (fillWithBibKeys): use std:: on stdlib args.
7086
7087         * CutAndPaste.C: fix authors.
7088         (availableSelections): use std:: on return vector
7089
7090 2003-06-27  André Pönitz  <poenitz@gmx.net>
7091
7092         * BufferView_pimpl.C:
7093         * bufferview_funcs.C:
7094         * lyxcursor.C:
7095         * lyxcursor.h:
7096         * lyxfunc.C:
7097         * lyxtext.h:
7098         * rowpainter.C:
7099         * text.C:
7100         * text2.C:
7101         * text3.C: remove LyXCursor::row_ member
7102
7103         * lyxtext.h:
7104         * text.C: rename fullRebreak() to partialRebreak() and implement
7105           a fullRebreak() that really bereks fully
7106
7107         * textcursor.h: new struct for cursor-related data
7108
7109 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7110
7111         * lyx_main.C (LyX): get full path of document loaded on the
7112         command line
7113
7114 2003-06-26  André Pönitz  <poenitz@gmx.net>
7115
7116         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7117           remove unused/broken operator>,<,>=.
7118
7119         *       text.C: remove only use of broken operator<= in an Assert().
7120
7121 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7122
7123         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7124         moved errorlist_.clear to showErrorList
7125
7126 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7127
7128         * converter.C (scanLog, runLaTeX):
7129         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7130         move the bv->showErrorList call to the callers
7131         * lyxfunc.C: i.e. here...
7132         * text2.C: and here
7133         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7134         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7135         namespace, the second to...
7136         * buffer_funcs (BufferFormat, parseErrors): added
7137         * errorlist.C (ErrorList(TeXErrors const &)): removed
7138
7139 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7140
7141         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7142
7143 2003-06-24  "Garst R. Reese" <reese@isn.net>
7144
7145         * debug.C: fix typo
7146
7147 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7148
7149         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7150
7151         * version.C.in: change docversion to 1.4
7152
7153 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7154
7155         * buffer.C: fix a bug just introduced
7156
7157 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7158
7159         * buffer.[Ch]: added the parseError signal and use it, removed
7160         sgmlError
7161         * BufferView.[Ch] (addError): moved to ...
7162         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7163         to the Buffer::parseError signal to catch (guess what) parse errors
7164         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7165
7166 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7167
7168         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7169         ability to create a buffer and to return an existing one from
7170         the list. Moved these functions to...
7171         * buffer_funcs.[Ch]: added
7172         * BufferView.[Ch] (loadLyXFile): added
7173         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7174         job removed from bufferlist::loadLyXFile.
7175         * buffer.C (setReadOnly): make it work without view
7176         (i.e added an if (users))
7177
7178 2003-06-19  Angus Leeming  <leeming@lyx.org>
7179
7180         * lfuns.h:
7181         * LyXAction.C (init):
7182         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7183         with LFUN_DIALOG_SHOW <name> <data>.
7184
7185 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7186
7187         * CutAndPaste.C (availableSelections): small compilation fix for
7188         ancient (gcc 2.9x) compilers
7189
7190 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * text3.C (cursorNext): add tmp var
7193
7194         * text2.C (updateCounters): for function calling out of for clause
7195         (replaceSelectionWithString): ditto
7196         (insertStringAsParagraphs): ditto
7197         (getColumnNearX): add tmp var
7198         (setCursorFromCoordinates): add tmp var
7199         (cursorDownParagraph): add tmp var
7200         (deleteEmptyParagraphMechanism): add tmp var
7201
7202         * text.C (insertChar): add tmp var
7203
7204         * rowpainter.C (paintDepthBar): add tmp var
7205
7206         * CutAndPaste.C (availableSelections): potentially check all
7207         paragraphs in a cut to fill the shown strings.
7208
7209 2003-06-18  André Pönitz  <poenitz@gmx.net>
7210
7211         * kbmap.[Ch]: use vector<> instead of list<>
7212
7213 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7214
7215         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7216         pasteSelection with index
7217
7218         * text2.C (pasteSelection): modify, call pasteSelection with index
7219
7220         * paragraph.C (asString): reimplement version with no interval to
7221         call the one with interval.
7222
7223         * lyxtext.h: add index arg to pasteSelection
7224
7225         * MenuBackend.C (MenuItem): handle PasteRecent
7226         (Menu::read::Menutags): add md_pasterecent
7227         (read): handle it
7228         (expandPasteRecent): new function
7229         (expand): use it
7230
7231         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7232
7233         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7234         the limited stack
7235         (availableSelections): new function
7236
7237 2003-06-17  Angus Leeming  <leeming@lyx.org>
7238
7239         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7240
7241 2003-06-17  Angus Leeming  <leeming@lyx.org>
7242
7243         * lfuns.h:
7244         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7245
7246         * lyxfunc.C (dispatch): invoke it.
7247
7248 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7249
7250         * iterators.C (operator++, ParPosition): reintroduce some
7251         const_cast for the benefit of older compilers.
7252
7253 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7254
7255         * text3.C (dispatch): do not modify clipboard when doing
7256         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7257         LFUN_DELETE_SKIP on a selection selection
7258
7259 2003-06-16  André Pönitz  <poenitz@gmx.net>
7260
7261         * BufferView.C:
7262         * buffer.C:
7263         * buffer.h:
7264         * paragraph.C:
7265         * tabular.[Ch]: IU of clone() and getLabelList();
7266
7267 2003-06-13  André Pönitz  <poenitz@gmx.net>
7268
7269         * tabular.h: compactification
7270
7271 2003-06-12  André Pönitz  <poenitz@gmx.net>
7272
7273         * tabular.C:
7274         * tabular.h:
7275         * tabular_funcs.h: some renaming plus whitespace
7276
7277 2003-06-12  André Pönitz  <poenitz@gmx.net>
7278
7279         * BufferView.C:
7280         * BufferView_pimpl.C:
7281         * CutAndPaste.C:
7282         * buffer.C:
7283         * iterators.[Ch]:
7284         * lyxfunc.C:
7285         * text.C:
7286         * toc.C: Return a Paragraph & for ParIterator::operator*()
7287
7288 2003-06-11  John Levon  <levon@movementarian.org>
7289
7290         * lyx_main.C:
7291         * ToolbarBackend.h:
7292         * ToolbarBackend.C: add "Toolbars" section and
7293         put the flags there
7294
7295 2003-06-10  Angus Leeming  <leeming@lyx.org>
7296
7297         * lfuns.h:
7298         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7299
7300         * lyxfunc.C (dispatch): invoke it.
7301
7302 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * main.C: protect <ios> with HAVE_IOS
7305         (main): protect sync_with_stdio with HAVE_IOS
7306
7307 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7308
7309         * text2.C (cutSelection): adjust
7310         (pasteSelection): adjust
7311
7312         * messages.C: handle get of empty string
7313
7314         * main.C (main): use sync_with_stdio(false)
7315
7316         * lyxfunc.C (dispatch): adjust
7317
7318         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7319         (WriteAs): remove unneeded BufferView arg.
7320
7321         * bufferparams.h: use correct types on papersize, papersize2 and
7322         paperpackage.
7323
7324         * bufferparams.C (readToken): adjust for type
7325         (writeLaTeX): add missing cases to switch.
7326
7327         * bufferlist.C (quitWriteBuffer): adjust
7328         (close): adjust
7329
7330         * buffer.C (asciiParagraph): remove some commented code.
7331
7332         * CutAndPaste.C: remove current_view extern variable.
7333         (cutSelection): add BufferParams arg.
7334         (eraseSelection): add BufferParams arg.
7335         (pasteSelection): add Buffer const & arg
7336
7337 2003-06-07  John Levon  <levon@movementarian.org>
7338
7339         * buffer.C:
7340         * paragraph_funcs.C:
7341         * paragraph_pimpl.C:
7342         * text.C:
7343         * text2.C:
7344         * paragraph.h:
7345         * paragraph.C: allow InsetERT to freely space lines,
7346         and some consolidation of code
7347
7348 2003-06-06  José Matos  <jamatos@fep.up.pt>
7349
7350         * buffer.C (makeDocBookFile): fix bug #821
7351
7352 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7353
7354         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7355
7356 2003-06-04  Angus Leeming  <leeming@lyx.org>
7357
7358         * buffer.C: bump format to 224.
7359
7360 2003-06-05  André Pönitz  <poenitz@gmx.net>
7361
7362         * text2.C (redoParagraphs): remove two const_cast<>
7363
7364 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7365
7366         * ParagraphList.h: remove last remnants of NO_STD_LIST
7367
7368 2003-06-03  Angus Leeming  <leeming@lyx.org>
7369
7370         * factory.C (createInset): small change to the way InsetExternal's params
7371         are set.
7372
7373 2003-06-04  André Pönitz  <poenitz@gmx.net>
7374
7375         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7376
7377         * paragraph_pimpl.h:
7378         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7379
7380         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7381
7382         * undo_funcs.C: make some simple cases of undo work again
7383
7384 2003-06-03  John Levon  <levon@movementarian.org>
7385
7386         * ispell.C: HPUX doesn't have sys/select.h
7387         (from Albert Chin)
7388
7389 2003-06-03  John Levon  <levon@movementarian.org>
7390
7391         * CutAndPaste.C: update tabular and include inset
7392         buffer references
7393
7394         * buffer.h:
7395         * paragraph.h:
7396         * paragraph.C: remove owningBuffer(), don't pass Buffer
7397         to clone()
7398
7399         * factory.C: insetGraphicsParams changed
7400
7401 2003-06-02  John Levon  <levon@movementarian.org>
7402
7403         * LyXAction.C:
7404         * factory.C:
7405         * lfuns.h:
7406         * lyxfunc.C:
7407         * text3.C: remove insetparent
7408
7409 2003-06-02  John Levon  <levon@movementarian.org>
7410
7411         * buffer.h:
7412         * buffer.C: fix inset_iterator.end(), move out of line
7413         (bug 1149)
7414
7415 2003-06-01  John Levon  <levon@movementarian.org>
7416
7417         * text3.C: use a proper cut/paste when doing inset
7418         insert (from Jürgen Spitzmüller)
7419
7420 2003-06-01  John Levon  <levon@movementarian.org>
7421
7422         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7423
7424 2003-05-30  André Pönitz  <poenitz@gmx.net>
7425
7426         * rowpainter.C: unify second drawing phase
7427
7428 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7429
7430         * trans_mgr.C: remove one case of current_view
7431
7432         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7433
7434         * paragraph_funcs.h: remove paragraph.h include
7435
7436         * paragraph.h: delete NO_STD_LIST stuff
7437
7438         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7439
7440         * buffer.h: remove paragraph.h include
7441
7442         * ParagraphList.C: delete file
7443
7444         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7445
7446         * toc.C (getTocList): adjust
7447
7448         * paragraph_pimpl.C (validate): adjust
7449
7450         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7451
7452         * paragraph.C (Paragraph): adjust
7453         (getPositionOfInset): use const_iterator, adjust
7454         (bibitem): use const_iterator, adjust
7455         (setInsetOwner): adjust
7456
7457         * iterators.C (operator++): adjust
7458
7459         * InsetList.[Ch]: Replace selfmade iterator with standard
7460         vector::iterator also introduce const_iterator. Remove getPos,
7461         getInset and setInset from InsetTable. Adjust accordingly.
7462
7463         * BufferView.C (lockInset): adjust
7464         (ChangeInsets): adjust
7465
7466         * tabular.[Ch]: delete commented same_id functions
7467
7468 2003-05-28  John Levon  <levon@movementarian.org>
7469
7470         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7471
7472 2003-05-28  André Pönitz  <poenitz@gmx.net>
7473
7474         * metricsinfo.[Ch]: remove 'fullredraw' member
7475
7476 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7477
7478         * lyxtextclass.C (operator): remove caching.
7479
7480 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * text3.C: adjust
7483
7484         * text2.C (cursorBottom): adjust
7485         (setCounter): use ParagraphList::find, adjust
7486
7487         * text.C (workWidth): use ParagraphList::find, adjust
7488
7489         * lyxcursor.C (LyXCursor): adjust
7490
7491         * buffer.C (inset_iterator): adjust
7492
7493         * ParagraphList.h: make iterator(value_type) private, make
7494         ParagraphList a friend of iterator.
7495
7496         * ParagraphList.C (find): new function
7497
7498         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7499
7500 2003-05-27  André Pönitz  <poenitz@gmx.net>
7501
7502         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7503
7504 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7505
7506         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7507
7508 2003-05-26  John Levon  <levon@movementarian.org>
7509
7510         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7511
7512 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7513
7514         * remove same_id from function signatures, adjust.
7515
7516 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7519
7520         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7521
7522         * paragraph.C (Paragraph): get rid of same_ids parameter
7523
7524         * ParagraphList.C (insert): adjust
7525         (push_back): adjust
7526
7527 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7528
7529         * paragraph_funcs.C (breakParagraph): adjust
7530         (breakParagraphConservative): adjust
7531
7532         * buffer.C (readParagraph): adjust
7533
7534         * ParagraphList.C (insert): take a reference instead of a pointer
7535         (insert): adjust
7536
7537         * paragraph.[Ch] (id): new function
7538
7539         * bufferlist.C (newFile): adjust
7540
7541         * ParagraphList.C (ParagraphList): adjust
7542         (assign): adjust
7543         (push_back): take a reference instead of a pointer.
7544
7545         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7546
7547         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7548         instead.
7549
7550         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7551         set else use old code.
7552
7553         * ParagraphList.C: remove all NO_NEXT code and only compile this
7554         code of NO_STD_LIST is set.
7555
7556 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7557
7558         * BufferView_pimpl.C:
7559         * TextCache.C:
7560         * TextCache.h:
7561         * bufferlist.C:
7562         * errorlist.h:
7563         * format.C:
7564         * format.h:
7565         * graph.C:
7566         * lyxfunc.C:
7567         * lyxrc.C:
7568         * graphics/GraphicsConverter.C:
7569         * graphics/PreviewLoader.C: header adjustment
7570
7571 2003-05-23  Angus Leeming  <leeming@lyx.org>
7572
7573         * LaTeXFeatures.[Ch] (useBabel): new method.
7574         * bufferparams.C (writeLaTeX): use it.
7575
7576 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7577
7578         * ParagraphList.h (set): remove unused function.
7579
7580 2003-05-23  André Pönitz  <poenitz@gmx.net>
7581
7582         * BufferView.C:
7583         * BufferView_pimpl.C:
7584         * buffer.C:
7585         * buffer.h:
7586         * lyxfunc.C:
7587         * undo_funcs.C: setUndo reworked
7588
7589         * iterators.[Ch]: add access to topmost ParagraphList
7590
7591         * lyxtext.[Ch] (workWidth): add a const
7592
7593 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7594
7595         * texrow.[Ch] (increasePos): remove function
7596         * exporter.C (export): removed unused var and outdated comment
7597
7598 2003-05-23  Angus Leeming  <leeming@lyx.org>
7599
7600         * latexrunparams.h: rename fragile as moving_arg.
7601         * paragraph.C (simpleTeXOnePar): ditto.
7602         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7603
7604 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7605
7606         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7607         (createUndo): ditto
7608         (textUndoOrRedo): comment out a currently unused var.
7609
7610         * paragraph.h (NO_NEXT): enable NO_NEXT
7611
7612         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7613
7614         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7615
7616         * exporter.C (Export): adjust for removeAutoInsets removal.
7617
7618         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7619
7620         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7621
7622         * BufferView.[Ch] (removeAutoInsets): delete function
7623
7624 2003-05-22  Angus Leeming  <leeming@lyx.org>
7625
7626         * latexrunparams.h: add a free_spacing variable.
7627
7628         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7629         to pass moving_arg, as the data is stored in runparams.fragile.
7630
7631         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7632         to Inset::latexOptional or to simpleTeXOnePar.
7633
7634         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7635         free_spacing arg to Inset::latexOptional.
7636
7637         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7638         free_spacing arg.
7639
7640 2003-05-22  Angus Leeming  <leeming@lyx.org>
7641
7642         * latexrunparams.h: add fragile and use_babel variables.
7643
7644         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7645         * buffer.C (makeLaTeXFile): store this returned value in
7646         runparams.use_babel, thus passing it to the inset::latex methods.
7647
7648         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7649         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7650
7651         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7652         longer has a fragile arg, as it is stored in runparams.fragile.
7653
7654         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7655         moving_arg parameter as the data is stored in runparams.fragile.
7656
7657         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7658         a fragile parameter as the data is stored in runparams.fragile.
7659
7660 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7663
7664 2003-05-22  Angus Leeming  <leeming@lyx.org>
7665
7666         * latexrunparams.h: add a 'bool nice' which defaults to false.
7667
7668         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7669         now encapsulated within runparams.
7670
7671         * bufferlist.C (updateIncludedTeXfiles):
7672         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7673
7674 2003-05-22  Angus Leeming  <leeming@lyx.org>
7675
7676         * latexrunparams.h: new file containing struct LatexRunParams.
7677         * Makefile.am: add new file.
7678
7679         * LaTeX.[Ch] (c-tor, run):
7680         * buffer.[Ch] (makeLaTeXFile):
7681         * bufferlist.[Ch] (updateIncludedTeXfiles):
7682         * converter.C (convert, scanLog):
7683         * converter.[Ch] (runLaTeX):
7684         * exporter.C (Export):
7685         * paragraph.[Ch] (simpleTeXOnePar):
7686         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7687         * paragraph_funcs.[Ch] (latexParagraphs):
7688         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7689         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7690         pass around a LatexRunParams parameter.
7691
7692 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * paragraph.[Ch]: remove unused constructor
7695
7696         * ParagraphList.C (erase): new function, taking two iterators
7697
7698 2003-05-22  André Pönitz  <poenitz@gmx.net>
7699
7700         * undo_funcs.C: remove duplicated code
7701
7702         * iterator.[Ch]: operator=
7703
7704 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * tabular.C (SetMultiColumn): ws changes
7707
7708         * rowpainter.C (paintFirst): get rid of a ->previous
7709
7710         * lyx_cb.C (getPossibleLabel): parlist simplification
7711
7712         * BufferView.C (ChangeInsets): simplify slightly.
7713
7714 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7715
7716         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7717         * lfuns.h: new LFUN_SPACE
7718         * lyxfunc.C: protected space has a new lfun
7719         * paragraph_funcs.C: read new space insets
7720         * text3.C:
7721         * factory.C: handle new space insets
7722
7723 2003-05-22  André Pönitz  <poenitz@gmx.net>
7724
7725         * BufferView.C:
7726         * BufferView_pimpl.C:
7727         * buffer.[Ch]:
7728         * lyxfunc.C:
7729         * undo_funcs.C: return a ParIterator from getParFromID.
7730
7731         * iterators.[Ch]: add two const's
7732
7733 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7734
7735         * toc.C (getTocList): adjust
7736
7737         * iterators.[Ch]: rework for parlist
7738
7739         * buffer.C (par_iterator_begin): adjust
7740         (par_iterator_end): adjust
7741
7742         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7743
7744         * BufferView.C (removeAutoInsets): adjust
7745         (ChangeInsets): adjust
7746
7747 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7748
7749         * text.C (top_y): fix bug 1110
7750
7751 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7752
7753         * errorlist.[Ch]: added
7754         * buffer.C:
7755         * BufferView.[Ch]:
7756         * BufferView_pimpl.C:
7757         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7758         instead
7759
7760 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * Makefile.am: ensure that lyx is relinked upon changes to the
7763         various "convenience" libs.
7764
7765 2003-05-20  Angus Leeming  <leeming@lyx.org>
7766
7767         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7768         files are compiled in alphabetical order again.
7769
7770         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7771
7772 2003-05-19  Angus Leeming  <leeming@lyx.org>
7773
7774         * gettext.[Ch]: remove "char const * _(char const *)".
7775
7776 2003-05-19  André Pönitz  <poenitz@gmx.net>
7777
7778         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7779
7780         * Makefile.am:
7781         * BufferView.C:
7782         * DepTable.h:
7783         * LaTeXFeatures.C:
7784         * buffer.C:
7785         * lyxfont.C:
7786         * lyxlex.h:
7787         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7788
7789 2003-05-19  André Pönitz  <poenitz@gmx.net>
7790
7791         * buffer.C:
7792         * lyxlayout.[Ch]:
7793         * lyxtextclass.[Ch]:
7794         * paragraph.C:
7795         * paragraph_funcs.[Ch]:
7796         * text2.C:
7797         * text3.C: more insetenv work
7798
7799 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7800
7801         * ParagraphParameters.C (params2string): small bug fixed
7802
7803 2003-05-16  André Pönitz  <poenitz@gmx.net>
7804
7805         * debug.C:
7806         * bufferview_funcs.C: patch from Kornel Benko to prevent
7807           crash when _(...) is called twice in a statement
7808
7809 2003-05-16  André Pönitz  <poenitz@gmx.net>
7810
7811         * BufferView.C:
7812         * lyxfunc.C:
7813         * text.C:
7814         * text2.C:
7815         * text3.C:
7816         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7817
7818 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7819
7820         * lyx_main.C (init): remove spurious static_cast
7821
7822 2003-05-14  André Pönitz  <poenitz@gmx.net>
7823
7824         * BufferView.C: fix format string
7825
7826 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7827
7828         * BufferView.[Ch] (insertErrors): removed
7829         * BufferView.[Ch] (showErrorList): added
7830         * buffer.C (runChkTeX):
7831         * converter.C (scanLog): call showErrorList instead of inserterrors
7832
7833 2003-05-13  André Pönitz  <poenitz@gmx.net>
7834
7835         * BufferView_pimpl.C:
7836         * buffer.C:
7837         * bufferview_func.C:
7838         * MenuBackend.C:
7839         * lyxfunc.C:
7840         * lyxrc.C:
7841         * tex-accent.C:
7842         * text3.C:
7843         * toc.C:
7844         * tabular_funcs.h: tostr() from its own header
7845
7846         * ParagraphParameters.C:
7847         * ToolbarBackend.C:
7848         * bufferparams.C:
7849         * format.C:
7850         * lyxlex_pimpl.C:
7851         * text3.C: STRCONV()
7852
7853 2003-05-12  André Pönitz  <poenitz@gmx.net>
7854
7855         * BufferView.C:
7856         * BufferView_pimpl.C:
7857         * CutAndPaste.C:
7858         * LaTeX.C:
7859         * LaTeXFeatures.C:
7860         * ParagraphParameters.C:
7861         * buffer.C:
7862         * bufferlist.C:
7863         * bufferparams.C:
7864         * bufferview_funcs.C:
7865         * converter.C:
7866         * counters.C:
7867         * debug.C:
7868         * exporter.C:
7869         * format.C:
7870         * importer.C:
7871         * lyx_cb.C:
7872         * lyx_main.C:
7873         * lyxfont.C:
7874         * lyxfunc.C:
7875         * lyxvc.C:
7876         * paragraph.C:
7877         * paragraph_funcs.C:
7878         * tabular.C:
7879         * tabular_funcs.C:
7880         * text2.C:
7881         * text3.C:  boost::format -> bformat  all over the place
7882
7883
7884 2003-05-09  André Pönitz  <poenitz@gmx.net>
7885
7886         * LColor.[Ch]: Pimpl the #include <map> away
7887
7888 2003-05-09  John Levon  <levon@movementarian.org>
7889
7890         * bufferlist.C: never remove emergency saves
7891
7892 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * Makefile.am: better lib building
7895
7896 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7897
7898         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7899         instead.
7900         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7901         (simpleTeXSpecialChars): adjust
7902         (simpleTeXSpecialChars): adjust
7903         * paragraph.C (simpleTeXOnePar): adjust
7904         * buffer.C (makeLaTeXFile): adjust
7905
7906         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7907
7908         * text2.C (changeDepth): parlist cleanup
7909         (getColumnNearX): ditto
7910
7911         * rowpainter.C (getLabelFont): parlist cleanup
7912
7913         * bufferlist.C (newFile): parlist cleanup
7914
7915         * CutAndPaste.C (eraseSelection): parlist cleanup
7916
7917         * BufferView_pimpl.C (trackChanges): parlist cleanup
7918         (dispatch): ditto
7919
7920         * BufferView.C (lockInset): parlist cleanup.
7921         (ChangeInsets): ditto
7922
7923 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * CutAndPaste.h: Update file header.
7926
7927         * CutAndPaste.C: Update file header.
7928         Store the parts cut out of the Document in a limited_stack.
7929         (copySelection): adjust
7930         (pasteSelection): new function, takes the index in the limited stack.
7931         (nrOfParagraphs): adjust
7932         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7933         simplify error inset insertion.
7934         (checkPastePossible): adjust
7935
7936 2003-05-06  John Levon  <levon@movementarian.org>
7937
7938         * text2.C: don't cast wrap inset to float
7939
7940 2003-05-05  André Pönitz  <poenitz@gmx.net>
7941
7942         * iterator.C:
7943         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7944
7945         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7946           few naked Paragraph *.
7947
7948 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7949
7950         * bufferparams.C: Output warning if a document with missing
7951         TeX document class is loaded
7952         * exporter.C: Disable TeX exports if the document class is missing
7953         * lyxtextclass.C:
7954         * lyxtextclass.h:
7955         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7956         isTeXClassAvailable()
7957
7958 2003-05-03  John Levon  <levon@movementarian.org>
7959
7960         * BufferView.h:
7961         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7962         explicit cursor show/hide
7963
7964         * BufferView_pimpl.h:
7965         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7966         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7967
7968         * lyxfunc.C: hide cursor before dispatching.
7969
7970         * lyx_cb.C:
7971         * lyxfind.C:
7972         * text.C:
7973         * text3.C: remove explicit cursor hides
7974
7975 2003-05-02  André Pönitz  <poenitz@gmx.net>
7976
7977         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7978
7979         * undo_funcs.C:
7980         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7981           linked lists
7982
7983         * text2.C: tiny whitespace
7984
7985 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986
7987         * undo_funcs.C: almost only ws changes.
7988
7989         * ParagraphList.C (splice): just return if pl is empty.
7990
7991 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7992
7993         * ParagraphList.C (splice): new function.
7994
7995         * CutAndPaste.C (pasteSelection): use it
7996
7997 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7998
7999         * CutAndPaste.C (pasteSelection): remove the last next and
8000         previous from this file.
8001
8002 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8003
8004         * CutAndPaste.C (pasteSelection): more clean up, user proper
8005         ParagraphList functions for pasteing.
8006
8007         * ParagraphList.C (insert): new function, three arg insert
8008
8009 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8010
8011         * ParagraphList.C (insert): new function, three arg insert
8012
8013         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8014         not on paragraphs.
8015
8016 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8017
8018         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8019
8020 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8023
8024 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8025
8026         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8027         (copySelection): clean up a bit.
8028         (pasteSelection): use make_pair
8029
8030         * ParagraphList.C (ParagraphList): implement copy constructor
8031         (operator=): implement, base on copy constructor.
8032         (assign): new func
8033
8034         * paragraph.C (erase): return a bool
8035
8036         * paragraph_pimpl.C (erasePos): remove function, move contents...
8037         (erase): ... here. Return a bool.
8038         (erase): call erase instead of erasePos.
8039
8040 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8041
8042         * ParagraphList.h: define PitPosPair
8043         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8044         ParagraphList, fix a bug on pasting multiple pars
8045         * text2.C: change interface to C&P
8046
8047 2003-04-30  André Pönitz  <poenitz@gmx.net>
8048
8049         * undo_func.C: revert part of yesterday's patch 2
8050
8051 2003-04-30  John Levon  <levon@movementarian.org>
8052
8053         * LColor.C: s/tabular/table/
8054
8055 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8056
8057         * text3.C (dispatch): do not convert iterator -> pointer
8058         * undo_funcs.C (setCursorParUndo): ditto
8059         * text_funcs.C (transposeChars): ditto
8060
8061         * text2.C (setLayout): ws changes only
8062
8063         * text.C (breakParagraph): do not convert iterator -> pointer
8064         (insertChar): ditto
8065         (acceptChange): ditto
8066         (rejectChange): ditto
8067         (changeCase): ditto
8068         (Delete): ditto
8069         (backspace): ditto
8070
8071         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8072         pointer
8073
8074 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8075
8076         * text3.C (gotoInset): YABG (yet another bad getChar)
8077
8078 2003-04-29  André Pönitz  <poenitz@gmx.net>
8079
8080         * paragraph.h: make operator= private unimplemented as long as
8081           it is unusable
8082
8083         * ParagraphList.C: whitespace
8084
8085         * paragraph.[Ch]:
8086         * paragraph_pimpl.[Ch]:
8087         * paragraph_funcs.C:
8088         * CutAndPaste.C:
8089         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8090
8091         * text2.C:
8092           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8093
8094 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8095
8096         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8097         * paragraph.[Ch] (erase):
8098         * paragraph_pimpl.[Ch] (erase): change return type and value
8099         * text2.C (cutSelection): some rework
8100
8101 2003-04-28  John Levon  <levon@movementarian.org>
8102
8103         * bufferlist.C: changes for unsaved changes dialog
8104
8105 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8106
8107         * bufferlist.C (newFile): set language (messages_) for new
8108         documents also.
8109
8110         * buffer.C (readFile): ws changes only.
8111
8112 2003-04-28  André Pönitz  <poenitz@gmx.net>
8113
8114         * undo_funcs.C:
8115         * lyxfunc.C:
8116         * buffer.[Ch]:
8117         * BufferView_pimpl.C:
8118         * BufferView.C: getParFromID related ParagraphList::iterator changes
8119
8120 2003-04-28  André Pönitz  <poenitz@gmx.net>
8121
8122         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8123           Changes
8124
8125 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8126
8127         * messages.C: remove one more localedir class variable.
8128
8129 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * messages.C (getLocaleDir): singleton generation function
8132         (Pimpl): use it.
8133         (Messages): add a default constructor.
8134
8135         * main.C (main): do not setup localedir here, do not call
8136         gettext_init.
8137
8138         * gettext.C (_): use it.
8139         (gettext_init): delete funciton
8140
8141 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * gettext.C (getLyXMessages): new singleton generating function.
8144
8145         * buffer.C (updateDocLang): adjust
8146
8147         * Makefile.am (messages.o): add target
8148         (main.o): remove target
8149
8150 2003-04-27  John Levon  <levon@movementarian.org>
8151
8152         * bufferlist.C:
8153         * lyx_cb.C:
8154         * lyxfunc.C:
8155         * lyxvc.C: specify cancel button in Alert::prompt
8156
8157 2003-04-26  John Levon  <levon@movementarian.org>
8158
8159         * text3.C:
8160         * lyxfunc.C:
8161         * lfuns.h:
8162         * LyXAction.C: add LFUN_INSET_SETTINGS
8163
8164         * lyxfunc.C: don't enable tabular-feature when there's
8165         just any locking inset
8166
8167 2003-04-26  John Levon  <levon@movementarian.org>
8168
8169         * bufferlist.C: re-add Cancel to buffer close question
8170
8171         * lyxfunc.C: fix import UI a bit
8172
8173 2003-04-25  John Levon  <levon@movementarian.org>
8174
8175         * gettext.C: remove the broken asserts for now
8176
8177 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * messages.C: make case where setlocale cannot comply work better.
8180
8181         * buffer.C (updateDocLang): new function
8182         (changeLanguage): use it
8183         (readFile): use it
8184
8185         * text2.C (setCounter): use B_ a bit.
8186
8187         * lyxlayout.C (Read): be sure to trim the label strings.
8188
8189         * messages.C (Messages): fix typo in comment
8190
8191         * buffer.C (readFile): set message_ after file is loaded.
8192         (makeDocBookFile): remove double return
8193         (changeLanguage): reset message_ upon language change.
8194         (B_): new func, use this to get translated buffer strings.
8195
8196         * main.C: add myself and Jean Marc as authors.
8197
8198 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8199
8200         * messages.[hC]: pimplify Messages, and three different pimpls to be
8201         used in different circumstances.
8202
8203         * gettext.[Ch]: change for use with new message code.
8204
8205 2003-04-24 André Pönitz <poenitz@gmx.net>
8206
8207         * factory.C: support for eqref
8208
8209 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8210
8211         * messages.[Ch]: add missing char
8212
8213         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8214
8215         * messages.[Ch]: New files
8216
8217 2003-04-18  John Levon  <levon@movementarian.org>
8218
8219         * BufferView.h:
8220         * BufferView.C:
8221         * BufferView_pimpl.C:
8222         * lfuns.h:
8223         * LyXAction.C:
8224         * lyxtext.h:
8225         * text2.C: remove layout-copy/paste (bug 778)
8226
8227 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8228
8229         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8230
8231 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8232
8233         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8234         if they succeed. Act accordingly.
8235
8236 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8237
8238         * text2.C (setCharFont): adjust
8239         (setCounter): adjust
8240         (insertStringAsLines): adjust
8241
8242         * text.C (leftMargin): adjust
8243         (setHeightOfRow): adjust
8244
8245         * rowpainter.C (paintFirst): adjust
8246         (paintLast): adjust
8247
8248         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8249         (outerHook): ditto
8250         (isFirstInSequence): ditto
8251         (getEndLabel): ditto
8252         (outerFont): adjust
8253
8254         * paragraph.C (getParLanguage): comment out some hard stuff.
8255
8256         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8257         (sgmlError): ditto
8258         (simpleDocBookOnePar): ditto
8259         (makeDocBookFile): use ParagraphList::iterator
8260
8261         * CutAndPaste.C (pasteSelection): adjust
8262
8263 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8264
8265         * text2.C (getFont): adjust
8266         (getLayoutFont): adjust
8267         (getLabelFont): adjust
8268
8269         * paragraph_funcs.C (TeXOnePar): adjust
8270
8271         * buffer.C (simpleLinuxDocOnePar): adjust
8272         (simpleDocBookOnePar): adjust
8273
8274         * CutAndPaste.C (pasteSelection): adjust
8275
8276         * BufferView.C (getEncoding): adjust
8277
8278         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8279
8280 2003-04-16  John Levon  <levon@movementarian.org>
8281
8282         * lyxfind.C: use parlist stuff for search/changes
8283
8284 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8285
8286         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8287
8288         * text2.C (deleteEmptyParagraphMechanism): adjust
8289
8290         * text2.[Ch] (ownerParagraph): delete func (both of them
8291
8292 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8293
8294         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8295
8296 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8297
8298         * ParagraphList.C: prepare for NO_NEXT
8299
8300 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8301
8302         * text2.C (getFont): adjust
8303         (getLayoutFont): adjust
8304         (getLabelFont): adjust
8305
8306         * paragraph.C (getFont): adjust
8307         (getLabelFont): adjust
8308         (getLayoutFont): adjust
8309
8310         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8311
8312 2003-04-15  John Levon  <levon@movementarian.org>
8313
8314         From Angus Leeming
8315
8316         * lyx_main.C: handle Include in .ui files
8317
8318 2003-04-15  John Levon  <levon@movementarian.org>
8319
8320         * MenuBackend.C: make the doc files length shorter
8321
8322         * ToolbarBackend.h:
8323         * ToolbarBackend.C: handle toolbar placement flags,
8324         Minibuffer
8325
8326 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8327
8328         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8329         adjust
8330
8331         * paragraph_funcs.C (TeXOnePar): adjust
8332
8333         * paragraph.C (getLabelFont): add outerfont arg, adjust
8334         (getLayoutFont): ditto
8335         (simpleTeXOnePar): adjust
8336
8337         * paragraph_pimpl.C (realizeFont): delete func
8338
8339 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8340
8341         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8342         row argument, constify cur argument.
8343
8344 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8345
8346         * text2.C (getFont): adjust
8347         (getLayoutFont): adjust
8348         (getLabelFont): adjust
8349
8350         * paragraph_funcs.C (TeXOnePar): adjust
8351         (outerFont): new func...
8352         (realizeFont): ...moved out from here, changed this to facilitate
8353         transition
8354
8355         * paragraph.C (getFont): take outerfont as arg, adjust
8356         (simpleTeXOnePar): add outerfont arg, adjust
8357
8358         * buffer.C (simpleLinuxDocOnePar): adjust
8359         (simpleDocBookOnePar): adjust
8360
8361         * CutAndPaste.C (pasteSelection): adjust
8362
8363         * BufferView.C (getEncoding): adjust
8364
8365 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * text2.C (setCharFont): adjust
8368         (setCounter): adjust
8369
8370         * text.C (leftMargin): adjust
8371         (setHeightOfRow): adjust
8372
8373         * rowpainter.C (paintFirst): adjust
8374         (paintLast): adjust
8375
8376         * paragraph_pimpl.C (realizeFont): adjust
8377
8378         * paragraph.C (isFirstInSequence): move from here...
8379         * paragraph_funcs.C (isFirstInSequence): ...to here
8380
8381         * paragraph.C (outerHook): move from here...
8382         * paragraph_funcs.C (outerHook): ...to here
8383
8384         * paragraph.C (depthHook): move from here...
8385         * paragraph_funcs.C (depthHook): ...to here
8386
8387         * paragraph.C (getEndLabel): move from here...
8388         * paragraph_funcs.C (getEndLabel): ...to here
8389
8390         * text2.C (realizeFont): move from here...
8391         * paragraph_funcs.C (realizeFont): ...to here
8392
8393 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8396
8397 2003-04-14  Angus Leeming  <leeming@lyx.org>
8398
8399         * LColor.[Ch]: scrap LColor mathcursor.
8400
8401 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8402
8403         * lyxlex.[Ch] (text): delete function
8404         * trans.C (Load): adjust
8405         * paragraph_funcs.C (readParToken): adjust
8406
8407 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8408
8409         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8410         vector<char> instead of a char[].
8411
8412         * lyxlex_pimpl.C (getString): adjust
8413         (next): adjust
8414         (lex): use getString
8415         (eatLine): adjust
8416         (nextToken): adjust
8417
8418         * lyxlex.C (text): use pimpl_->getString()
8419         (getBool): ditto
8420         (findToken): ditto
8421
8422 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8423
8424         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8425         (makeFontEntriesLayoutSpecific): temp var for par.size()
8426         (setLayout): temp var for ownerParagraphs().end()
8427         (fullRebreak): temp var for rows().end()
8428         (selectionAsString): temp var for boost::next(startpit), realize
8429         that the while really is a regular for loop.
8430         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8431         setCursor in one place.
8432         (setParagraph): temp vr for ownerParagraphs().end()
8433         (updateCounters): make the while loop a for loop
8434         (cutSelection): temp var for ownerParagraphs().end()
8435         (updateInset): make the do {} while() a regular for loop
8436         (getCursorX): use temp vars
8437         (setCurrentFont): use temp vars
8438         (getColumnNearX): use temp vars
8439
8440 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8441
8442         * text.C (transformChar): use temp var for getChar
8443         (computeBidiTables): use temp var for row->par()
8444         (fill): move temp vars for row->par() and pit->layout() earlier in
8445         the function.
8446         (labelFill): use temp var for row->par()
8447         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8448         asc and desc, realize that pit never changes and that firstpit is
8449         just a duplicate and not needed. Exchange rit->par() with pit in a
8450         lot of places.
8451         (breakAgain): use a temp var for boost::next(rit)
8452         (breakAgainOneRow): ditto
8453         (breakParagraph): use a temp var for rows().begin()
8454         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8455         (cursorRightOneWord): use temp var for cursor.par() and
8456         cursor.pos(), remove usage of tmpcursor.
8457         (cursorLeftOneWord): use temp var for cursor.par() and
8458         cursor.pos() only set cur at end of function.
8459
8460 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8461
8462         * text.C, text2.C: exchange all usage of Paragraph::next with
8463         boost::next(ParagraphList::iterator)
8464
8465         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8466
8467         * text2.C (cursorTop): simplify implementation
8468         (cursorBottom): ditto
8469         (setParagraph): use ParagraphList::iterator
8470         (setCurrentFont): adjust
8471         (getColumnNearX): adjust
8472         (cursorRight): adjust
8473         (cursorLeft): remove usage of Paragraph::previous
8474         (cursorUpParagraph): ditto
8475         (deleteEmptyParagraphMechanism): slight cleanup
8476
8477         * text.C (isBoundary): take a Paragraph const & instead of a
8478         pointer as arg.
8479         (addressBreakPoint): ditto
8480         (leftMargin): remove usage of Paragraph::previous.
8481         (setHeightOfRow): ditto
8482         (cursorLeftOneWord): ditto
8483         (selectNextWordToSpellcheck): ditto
8484         (Delete): ditto
8485         (backspace): ditto
8486         (breakParagraph): remove one usage of Paragraph::next
8487         (redoParagraph): ditto
8488         (acceptChange): ditto
8489         (insertChar): adjust
8490         (rowBreakPoint): adjust
8491
8492         * bufferview_funcs.C (toggleAndShow): adjust
8493
8494 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8495
8496         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8497         methods to access it.
8498         * lyxtext.h:
8499         * text.C: Added updateRowPositions to compute all row positions.
8500         Make top_y and getRowNearY() to use the cached y position
8501
8502 2003-04-11  John Levon  <levon@movementarian.org>
8503
8504         * text.C (rowBreakPoint): reintroduce the labelEnd
8505         checks, code copied from the row fill stuff. Deep voodoo.
8506
8507         * text.C (fill): add a comment and debugging for the
8508         next poor soul.
8509
8510 2003-04-11  John Levon  <levon@movementarian.org>
8511
8512         * text.C: make sure fullrow insets get wrapped to the next line,
8513         even when they're in a manual label
8514
8515 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8516
8517         * text2.C (insertParagraph): make it take ParagraphList::iterator
8518         as arg.
8519         (setLayout): make it return ParagraphList::iterator
8520         (redoParagraphs): ditto
8521         (setCounter): ditto
8522         (checkParagraph): ditto
8523
8524         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8525
8526         * text2.C: adjust several funcs.
8527         (realizeFont): take a ParagraphList::iterator as arg.
8528         (getLayoutFont): ditto
8529         (getLabelFont): ditto
8530         (setCharFont): ditto
8531
8532         * text.C: adjust several funcs.
8533
8534 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8535
8536         * text.C (selectNextWordToSpellcheck): don't accidentally
8537         skip insets
8538
8539 2003-04-10  John Levon  <levon@movementarian.org>
8540
8541         * ToolbarBackend.C (getIcon): special handling for
8542         LFUN_MATH_DELIM
8543
8544 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8545
8546         * text2.C (cursorRight): a getChar assert fixed
8547
8548 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8549
8550         * text2.C (getFont): change to take a ParagraphList::iterator
8551         instead of Paragraph*
8552         Adjust several functions.
8553
8554         * text.C (transformChar): change to take a ParagraphList::iterator
8555         instead of Paragraph*
8556         (singleWidth): ditto
8557         Adjust several functions.
8558
8559         * rowpainter.C: adjust several functions
8560         * rowpainter.h:store a ParagraphList::iterator and not a
8561         Paragraph&.
8562
8563
8564 2003-04-09  John Levon  <levon@movementarian.org>
8565
8566         * lyxfunc.C:
8567         * lfuns.h:
8568         * LyXAction.h:
8569         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8570         and the "help" bits as well
8571
8572 2003-04-09  John Levon  <levon@movementarian.org>
8573
8574         * ToolbarBackend.h:
8575         * ToolbarBackend.C: allow multiple toolbars
8576
8577 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8578
8579         * undo_funcs.C (setCursorParUndo): adjust
8580
8581         * text_funcs.C (transposeChars): adjust
8582
8583         * text3.C (gotoNextInset): adjust
8584         (dispatch): adjust
8585
8586         * text2.C (setLayout): adjust
8587         (changeDepth): adjust
8588         (setFont): adjust
8589         (redoParagraphs): adjust
8590         (selectionAsString): adjust
8591         (setParagraph): adjust
8592         (insertInset): adjust
8593         (cutSelection): adjust
8594         (copySelection): adjust
8595         (pasteSelection): adjust
8596         (insertStringAsLines): adjust
8597         (updateInset): adjust
8598         (setCursor): change to take a ParagraphList::iterator parameter
8599         (setCursorIntern): change to take a ParagraphList::iterator parameter
8600         (setCurrentFont): adjust
8601         (cursorLeft): adjust
8602         (cursorRight): adjust
8603         (deleteEmptyParagraphMechanism): adjust
8604
8605         * text.C (breakParagraph): adjust
8606         (insertChar): adjust
8607         (acceptChange): adjust
8608         (rejectChange): adjust
8609         (selectNextWordToSpellcheck): adjust
8610         (changeCase): adjust
8611         (Delete): adjust
8612         (backspace): adjust
8613
8614         * lyxfind.C (SearchForward): adjust
8615         (SearchBackward): adjust
8616         (nextChange): adjust
8617
8618         * lyxcursor.C (par): adjust
8619
8620         * lyxcursor.h: store a ParagraphList::iterator instead of a
8621         Paragraph*
8622
8623         * lyx_cb.C (getPossibleLabel): adjust
8624
8625         * bufferview_funcs.C (toggleAndShow): adjust
8626
8627         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8628         (dispatch): adjust
8629
8630         * BufferView.C (removeAutoInsets): adjust
8631         (lockedInsetStoreUndo): adjust
8632
8633 2003-04-09  John Levon  <levon@movementarian.org>
8634
8635         * ToolbarBackend.C: try icon without argument
8636         if with argument fails
8637
8638 2003-04-08  John Levon  <levon@movementarian.org>
8639
8640         * ToolbarBackend.h:
8641         * ToolbarBackend.C: add getIcon(), handle tooltip,
8642         and change from "Icon" to "Item".
8643
8644 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8645
8646         * BufferView.C (lockInset): another bad getchar crunched
8647
8648 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8649
8650         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8651         again)
8652
8653 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8654
8655         * lyxfind.C (searchForward, searchBackwards): bug 782
8656
8657 2003-04-07  John Levon  <levon@movementarian.org>
8658
8659         * paragraph.C: remove dead comment
8660
8661         * text.C: remove troublesome depth-fiddling code
8662         in leftMargin() and rightMargin() (bug 1017)
8663
8664         * text.C: fix breaking of rows in nested lists
8665         (bug 1004)
8666
8667         * text2.C (updateCounters): fix up depth values
8668         (bug 1013)
8669
8670 2003-04-07  John Levon  <levon@movementarian.org>
8671
8672         * BufferView_pimpl.C: clear message when doc finishes resizing,
8673         and after a mouse event
8674
8675         * lyxfunc.C: clear message after exiting inset
8676
8677 2003-04-07  John Levon  <levon@movementarian.org>
8678
8679         * bufferview_funcs.C: show math status not outside
8680         status in the statusbar
8681
8682 2003-04-07  John Levon  <levon@movementarian.org>
8683
8684         * lyxfunc.C: note status changed after a depth change
8685
8686 2003-04-04  Angus Leeming  <leeming@lyx.org>
8687
8688         * LaTeX.h: move AuxInfo operator==, != out of line.
8689         Remove LaTeX virtual destructor; nothing derives from it.
8690         Move operator()() out of public area and rename it startscript().
8691         Change protected for private.
8692
8693 2003-04-04  Angus Leeming  <leeming@lyx.org>
8694
8695         * lyxfunc.C:
8696         * text2.C: remove unneeded #includes.
8697
8698 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8699
8700         * text2.C (dEPM): fix the heigth of the next row
8701
8702 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8703
8704         * text.C: squashed an invalid getChar requester + some ws changes
8705
8706 2003-04-03  John Levon  <levon@movementarian.org>
8707
8708         * bufferview_funcs.h:
8709         * bufferview_funcs.C:
8710         * lyxfunc.C:
8711         * lyxtext.h:
8712         * text2.C: make getStatus work for the env depth lfuns
8713
8714 2003-04-03  John Levon  <levon@movementarian.org>
8715
8716         * bufferview_funcs.h:
8717         * bufferview_funcs.C:
8718         * lyxfunc.C:
8719         * lyxtext.h:
8720         * text2.C: parlistize decDepth(), by merging it with incDepth()
8721
8722 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8723
8724         * lyxrow.h: store a ParagraphList::iterator instead of a
8725         Paragraph* and adjust other class functions to suit.
8726
8727         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8728         above.
8729
8730 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8731
8732         * text2.C (setCursor): do not anchor to cursor row for the time being
8733
8734 2003-04-02  John Levon  <levon@movementarian.org>
8735
8736         * LyXAction.C:
8737         * lfuns.h:
8738         * lyx_main.C:
8739         * lyxtext.h:
8740         * text.C:
8741         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8742
8743 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8744
8745         * paragraph.h: make ParagraphList and ParagraphList::iterator
8746         friends of Paragraph.
8747
8748         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8749
8750         * ParagraphList.C: Use the private next_ and previous_ from
8751         Paragraph.
8752
8753 2003-04-01  John Levon  <levon@movementarian.org>
8754
8755         * ToolbarBackend.h:
8756         * ToolbarBackend.C:
8757         * Makefile.am: rename, remove defaults gunk
8758
8759         * MenuBackend.h:
8760         * MenuBackend.C: remove defaults gunk
8761
8762         * Languages.h:
8763         * Languages.C: remove defaults gunk
8764
8765         * lyx_main.h:
8766         * lyx_main.C: error out if files couldn't be found.
8767
8768 2003-04-02  John Levon  <levon@movementarian.org>
8769
8770         * text2.C: make incDepth() use parlist
8771
8772 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8773
8774         * undo_funcs.C (firstUndoParagraph): adjust
8775
8776         * text3.C (gotoInset): adjust
8777         (dispatch): adjust, and rewrite loop.
8778
8779         * text2.C (init): adjust, and rewrite loop.
8780         (redoParagraphs): adjust
8781         (updateInset): adjust, and rewrite loop.
8782         (deleteEmptyParagraphMechanism): adjust
8783
8784         * tabular.C (LyXTabular): adjust
8785         (SetMultiColumn): adjust
8786         (TeXRow): adjust
8787
8788         * lyxtext.[Ch] (ownerParagraph): delete function
8789         (ownerParagraphs): new function returns a ParagraphList.
8790
8791         * BufferView.C (removeAutoInsets): adjust
8792         (insertErrors): adjust
8793         (setCursorFromRow): adjust
8794
8795 2003-04-01  Angus Leeming  <leeming@lyx.org>
8796
8797         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8798         in the frontends.
8799
8800 2003-04-02  John Levon  <levon@movementarian.org>
8801
8802         * lyxtext.h:
8803         * text.C:
8804         * Makefile.am:
8805         * text_funcs.h:
8806         * text_funcs.C: make transposeChars a free function
8807
8808         * lyxrow_funcs.C: remove wrong comment
8809
8810 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * lyxtext.h: adjust
8813         * rowpainter.C: adjust
8814         * text.C: adjust
8815         * text2.C: adjust
8816         * text3.C: adjust
8817
8818         * lyxrow_funcs. [Ch]: new files
8819
8820         * lyxrow.[Ch]: remove next and previous pointers
8821         (next,previous): remove accessor functions
8822         (isParEnd): move to lyxrow_funcs
8823         (lastPos): move to lyxrow_funcs
8824         (nextRowIsAllInset): move to lyxrow_funcs
8825         (lastPrintablePos): move to lyxrow_funcs
8826         (numberOfSeparators): move to lyxrow_funcs
8827         (numberOfHfills): move to lyxrow_funcs
8828         (numberOfLabelHfills): move to lyxrow_funcs
8829         (hfillExpansion): move to lyxrow_funcs
8830
8831         * lyxfunc.C: adjust
8832
8833         * bufferview_funcs.C (toggleAndShow): adjust
8834
8835         * RowList.h: Remove class RowList from file leave just a
8836         std::list<Row>.
8837
8838         * RowList.C: delete file
8839
8840         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8841         and lyxrow_funcs.h
8842
8843 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8844
8845         * text3.C (cursorPrevious): adjust
8846         (cursorNext): adjust
8847         (dispatch): adjust
8848
8849         * text2.C (redoHeightOfParagraph): adjust
8850         (redoDrawingOfParagraph): adjust
8851         (setCursor): adjust
8852
8853         * text.C (breakParagraph): adjust
8854         (insertChar): adjust
8855         (backspace): adjust
8856
8857         * rowpainter.C (RowPainter): adjust
8858         (leftMargin): simplify and adjust
8859         (most rowpainter functions): adjust.
8860
8861         * rowpainter.h: store the row as RowList::iterator not as Row*
8862
8863         * lyxcursor.C (row): taka RowList::iterator as arg
8864         (irow): ditto
8865
8866         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8867         of Row*.
8868
8869 2003-04-01  Angus Leeming  <leeming@lyx.org>
8870
8871         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8872         stuff like bool Bool.
8873
8874 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8875
8876         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8877         rewrite a loop
8878
8879 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8880
8881         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8882         RowList::iterator.
8883
8884         * lyxtext.h (rows): drop one version and leve a const variant that
8885         returns a RowList::iterator.
8886
8887 2003-03-31  Angus Leeming  <leeming@lyx.org>
8888
8889         * text.C (fill): ensure that the signature is the same as that in the
8890         header file.
8891
8892 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8893
8894         * text2.C (redoParagraphs): adjust
8895         (updateCounters): adjust
8896         (checkParagraph): adjust
8897         (getColumnNearX): adjust and reformat a bit.
8898
8899         * text.C (top_y): adjust
8900         (workWidth): adjust
8901         (leftMargin): adjust
8902         (prepareToPrint): adjust
8903         (getRow): adjust
8904         (getRowNearY): adjust
8905
8906         * lyxtext.h: make rowlist_ mutable.
8907
8908         * RowList.h: add const_iterator
8909         * RowList.C: adjust for RowList::const_iterator.
8910
8911         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8912         adjust.
8913
8914 2003-03-31  John Levon  <levon@movementarian.org>
8915
8916         * lyxrc.h:
8917         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8918
8919         * lyx_main.C: set default fonts from using lyx_gui funcs
8920
8921         * exporter.C: pdf_mode moved from lyxrc
8922
8923         * lyx_cb.C:
8924         * lyxfunc.C: changes from above
8925
8926 2003-03-31  John Levon  <levon@movementarian.org>
8927
8928         * lyx_main.C: fix to the last fix
8929
8930 2003-03-31  John Levon  <levon@movementarian.org>
8931
8932         * bufferlist.C: "Load original" -> "Load Original"
8933
8934         * converter.C:
8935         * exporter.C:
8936         * importer.C:
8937         * lyx_main.C:
8938         * format.C: more Alert cleanups
8939
8940 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8941
8942         * text2.C (removeParagraph): make it take a RowList::iterator as
8943         arg, adjust.
8944         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8945         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8946
8947         * text.C (anchor_row): make it take a RowList::iterator as arg,
8948         adjust.
8949         (computeBidiTables): make it take a const reference to Row instead
8950         of Row pointer, adjust.
8951         (leftMargin): make it take a RowList::iterator as arg, adjust.
8952         (rowBreakPoint): adjust
8953         (breakAgainOneRow): make it take a RowList::iterator as arg,
8954         adjust.
8955         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8956
8957         * bufferview_funcs.C (toggleAndShow): adjust
8958
8959 2003-03-30  John Levon  <levon@movementarian.org>
8960
8961         * Makefile.am:
8962         * BoostFormat.h:
8963         * boost-inst.C: moved to support
8964
8965         * several files: changes as a result
8966
8967 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8968
8969         * text2.C (LyXText): adjust.
8970         (init): adjust
8971         (removeRow): make it take a RowList::iterator as arg, adjust.
8972         (fullRebreak): adjust
8973         (deleteEmptyParagraphMechanism): adjust
8974         (clearPaint): adjust
8975         (postPaint): adjust
8976
8977         * text.C (top_y): adjust
8978         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8979         (breakAgain): make it take a RowList::iterator as arg, adjust.
8980         (breakParagraph): adjust
8981         (insertChar): adjust
8982         (backspace): adjust
8983
8984         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8985         need_break_row, and refresh_row.
8986
8987         * text3.C (dispatch): adjust
8988
8989         * text2.C (checkParagraph): adjust
8990         (setCursor): adjust
8991         (setCursorFromCoordinates): adjust
8992
8993         * text.C (top_y): adjust
8994         (workWidth): adjust
8995         (getRow): make it return a RowList::iterator, adjust
8996         (getRowNearY): make it return a RowList::iterator, adjust
8997
8998         * text2.C (init): adjust
8999         (insertRow): remove function
9000         (insertParagraph): adjust
9001         (redoParagraphs): adjust
9002         (fullRebreak): adjust
9003         (updateCounters): adjust
9004
9005         * text.C (top_y): rewrite to use RowList iterators.
9006         (top_y): adjust
9007         (setHeightOfRow): rewrite to sue RowList iterators.
9008         (appendParagraph): adjust
9009         (breakAgain): adjust
9010         (breakAgainOneRow): adjust
9011         (breakParagraph): adjust
9012         (getRow): adjust
9013         (getRowNearY): adjust, and remove commented code.
9014
9015         * lyxtext.h (firstRow): delete function
9016         (lastRow): delete function
9017         (rows): new function (const and non-const versions.)
9018         (insertRow): delete function
9019
9020         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9021
9022 2003-03-29  John Levon  <levon@movementarian.org>
9023
9024         * BufferView_pimpl.C: always update scrollbar top
9025         because pasting text when we're anchored could mean we
9026         miss an update altogether
9027
9028 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9029
9030         * text2.C (init): use rowlist_.end() and not 0.
9031         (insertRow): change to take a RowList::iterator as arg, adjust
9032         for this.
9033         (insertParagraph): change to take a RowList::iterator as arg,
9034         adjust for this.
9035         (redoParagraphs): remove some debug msgs.
9036
9037         * text.C (appendParagraph): change to take a RowList::iterator
9038         arg, adjust for this.
9039         (breakAgain): add an assert
9040         (breakAgainOneRow): ditto
9041
9042 2003-03-29  John Levon  <levon@movementarian.org>
9043
9044         * text2.C: do not clear selection after inc/decDepth
9045         (bug 550)
9046
9047 2003-03-29  John Levon  <levon@movementarian.org>
9048
9049         * BufferView.C:
9050         * buffer.C: fix broken strerrors according to Lars
9051
9052 2003-03-29  John Levon  <levon@movementarian.org>
9053
9054         * converters.C: more Alert cleanups
9055
9056 2003-03-29  John Levon  <levon@movementarian.org>
9057
9058         * bufferview_funcs.C: remove pointless Alert
9059
9060         * buffer.C: fix confusing error message when
9061         a template is chmoded 000
9062
9063 2003-03-29  John Levon  <levon@movementarian.org>
9064
9065         * BufferView.C:
9066         * BufferView.h:
9067         * BufferView_pimpl.C: Alert fixes
9068
9069         * Makefile.am:
9070         * tabular.C:
9071         * tabular-old.C: remove unused table compat reading
9072
9073 2003-03-29  John Levon  <levon@movementarian.org>
9074
9075         * BufferView.C:
9076         * buffer.C:
9077         * lyx_cb.h:
9078         * lyx_cb.C: more Alert cleanups
9079
9080         * lyxfunc.C: don't allow chktex if not latex document
9081
9082 2003-03-29  John Levon  <levon@movementarian.org>
9083
9084         * lyx_cb.C:
9085         * BufferView.C:
9086         * buffer.C: warnings pushed down from support/,
9087         kill err_alert
9088
9089 2003-03-29  John Levon  <levon@movementarian.org>
9090
9091         * lyxfunc.C: safety check for C-r (revert)
9092
9093 2003-03-29  John Levon  <levon@movementarian.org>
9094
9095         * bufferlist.h:
9096         * bufferlist.C: several UI fixes using Alert::prompt.
9097         Fix the pointless looping quit code. Fix stupid revert
9098         behaviour (bug 938)
9099
9100         * lyxvc.h:
9101         * lyxvc.C:
9102         * lyx_cb.C: use Alert::prompt
9103
9104         * lyx_main.C: remove a silly question
9105
9106         * lyxfunc.C: remove a couple of silly questions,
9107         use Alert::prompt
9108
9109 2003-03-28  John Levon  <levon@movementarian.org>
9110
9111         * text2.C: fix bug 974 (End on empty par)
9112
9113 2003-03-28  John Levon  <levon@movementarian.org>
9114
9115         * BufferView_pimpl.C:
9116         * LyXAction.C:
9117         * lfuns.h: remove do-nothing math greek lfuns
9118
9119 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9120
9121         * lyxgluelength.h (isValidGlueLength): add default arg on
9122         parameter 2. Remove default arg from friend in class.
9123
9124         * lyxlength.h (isValidLength): add default arg on parameter 2.
9125         Remove default arg from friend in class.
9126
9127         * text2.C (LyXText): adjust, initialize refresh_row.
9128         (init): adjust
9129         (removeRow): adjust
9130         (insertRow): adjust
9131         (insertParagraph): adjst
9132         (redoParagraphs): adjust
9133         (fullRebreak): adjust
9134         (updateCounters): adjust
9135         (deleteEmptyParagraphMechanism): first attempt at fixing a
9136         crashing bug.
9137
9138         * text.C (top_y): adjust
9139         (setHeightOfRow): adjust
9140         (getRow): adjust
9141         (getRowNearY): adjust
9142
9143         * lyxtext.h: include RowList.h
9144         (~LyXText): not needed anymore, deleted.
9145         (firstRow): modify for RowList
9146         (lastRow): new function
9147         Delete firstrow and lastrow class variables, add a Rowlist
9148         rowlist_ class variable.
9149
9150         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9151         paragraph is empty.
9152
9153         * RowList.C (insert): fix case where it == begin().
9154
9155 2003-03-26  Angus Leeming  <leeming@lyx.org>
9156
9157         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9158         the thesaurus dialog.
9159
9160 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9161
9162         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9163
9164         * RowList.[Ch]: new files
9165
9166         * ParagraphList.C (erase): handle the case where it == begin
9167         correctly.
9168
9169 2003-03-25  John Levon  <levon@movementarian.org>
9170
9171         * Makefile.am:
9172         * aspell_local.h:
9173         * aspell.C: add new aspell support
9174
9175         * lyxrc.h:
9176         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9177         have it accessible.
9178
9179 2003-03-25  Angus Leeming  <leeming@lyx.org>
9180
9181         * lfuns.h:
9182         * LyXAction.C (init): new LFUN_INSET_INSERT.
9183
9184         * BufferView_pimpl.C (dispatch): split out part of the
9185         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9186
9187         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9188         LFUN_INSET_APPLY.
9189
9190 2003-03-25  Angus Leeming  <leeming@lyx.org>
9191
9192         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9193
9194 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9195
9196         * text2.C:
9197         * text3.C: remove useless row->height(0)
9198
9199 2003-03-25  John Levon  <levon@movementarian.org>
9200
9201         * lyxtext.h:
9202         * text2.C:
9203         * text3.C: rename the refreshing stuff to better names
9204
9205 2003-03-24  John Levon  <levon@movementarian.org>
9206
9207         * BufferView_pimpl.h:
9208         * BufferView_pimpl.C: update layout choice on a mouse
9209         press/release
9210
9211 2003-03-23  John Levon  <levon@movementarian.org>
9212
9213         * Makefile.am: fix commandtags.h reference
9214
9215 2003-03-22  John Levon  <levon@movementarian.org>
9216
9217         * BufferView_pimpl.C:
9218         * lyxtext.h:
9219         * rowpainter.C:
9220         * rowpainter.h:
9221         * text.C:
9222         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9223
9224 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9225
9226         * lyxtext.h:
9227         * text.C: take the rtl methods out of line
9228
9229 2003-03-21 André Pönitz <poenitz@gmx.net>
9230
9231         * metricsinfo.[Ch]: new files containing structures to be passed around
9232         during the two-phase-drawing...
9233
9234 2003-03-21 André Pönitz <poenitz@gmx.net>
9235
9236         * lyxtextclass.C: read 'environment' tag.
9237
9238 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9239
9240         * text2.C (removeRow): fix bug 964
9241
9242 2003-03-20  John Levon  <levon@movementarian.org>
9243
9244         * rowpainter.C:
9245         * text.C:
9246         * text2.C: paint cleanups. Inset::update() dropped font
9247         parameter
9248
9249 2003-03-19  John Levon  <levon@movementarian.org>
9250
9251         * lyxfunc.C: only fitcursor/markDirty if available()
9252
9253 2003-03-19  John Levon  <levon@movementarian.org>
9254
9255         * commandtags.h: rename to ...
9256
9257         * lfuns.h: ... this, and renumber / cleanup
9258
9259 2003-03-19  John Levon  <levon@movementarian.org>
9260
9261         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9262         fit the cursor after an lfun
9263
9264         * BufferView.h:
9265         * BufferView.C:
9266         * BufferView_pimpl.h:
9267         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9268
9269         * LyXAction.C: layout-character should have ReadOnly
9270
9271         * ParagraphParameters.C:
9272         * buffer.C:
9273         * bufferview_funcs.C:
9274         * lyx_cb.C:
9275         * lyxfind.C:
9276         * lyxtext.h:
9277         * text.C:
9278         * text2.C:
9279         * text3.C:
9280         * undo_funcs.C: changes from above
9281
9282 2003-03-18  John Levon  <levon@movementarian.org>
9283
9284         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9285         remove it from update()
9286
9287         * lyxfunc.C: update layout choice after an lfun
9288
9289         * text3.C: remove extra updateLayoutChoice()s
9290
9291 2003-03-18  John Levon  <levon@movementarian.org>
9292
9293         * text.C: top_y change means full repaint, fix
9294         a drawing bug with cursor movement
9295
9296 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9297
9298         * lyxtext.h:
9299         * text.C:
9300         * text2.C: anchor row on setCursor
9301
9302 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9303
9304         * lyxtext.h: remove almost all mutable keywords
9305         * text.C:
9306         * text2.C:
9307         * text3.C: remove const keywords accordingly
9308
9309 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9310
9311         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9312         anon namespace
9313         (TeXEnvironment): ditto
9314         (TeXOnePar): ditto
9315
9316 2003-03-17  John Levon  <levon@movementarian.org>
9317
9318         * text.C (rowBreakPoint): remove attempt to fix displayed
9319         math insets inside a manual label
9320
9321 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9322
9323         * lyxtext.h: remove BufferView* as first arg from almost all class
9324         functions.
9325         * other files: adjust.
9326
9327 2003-03-17  John Levon  <levon@movementarian.org>
9328
9329         * lyxtext.h:
9330         * undo_funcs.C:
9331         * text2.C: more paint cleanups
9332
9333         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9334
9335         * rowpainter.h:
9336         * rowpainter.C: remove "smart" background painting code
9337
9338 2003-03-16  John Levon  <levon@movementarian.org>
9339
9340         * lyxtext.h:
9341         * text.C:
9342         * text2.C:
9343         * text3.C: add helper functions for setting refresh_row/y
9344
9345 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9346
9347         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9348         newline inset which *can* get inserted in the pass_thru layouts.
9349         This is primarily for literate documents.
9350
9351 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9352
9353         * buffer.C: increment LYX_FORMAT to 223
9354
9355 2003-03-14 André Pönitz <poenitz@gmx.net>
9356
9357         * textclass.h: prepare for environment handling, ws changes
9358         * lyxlayout.C: read latexheader and latexfooter tags
9359
9360 2003-03-14  John Levon  <levon@movementarian.org>
9361
9362         * text2.C: rewrite ::status() a bit
9363
9364 2003-03-13  John Levon  <levon@movementarian.org>
9365
9366         * lyxtext.h: add some docs
9367
9368 2003-03-13  John Levon  <levon@movementarian.org>
9369
9370         * lyxtext.h:
9371         * text.C:
9372         * text2.C:
9373         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9374
9375 2003-03-13  John Levon  <levon@movementarian.org>
9376
9377         * text3.C: fix appendix redrawing
9378
9379 2003-03-13  John Levon  <levon@movementarian.org>
9380
9381         * text.C (setHeightOfRow):
9382         * rowpainter.h:
9383         * rowpainter.C: make appendix mark have the text
9384           "Appendix" so the user knows what it is
9385
9386         * LColor.h:
9387         * LColor.C: s/appendixline/appendix/ from above
9388
9389 2003-03-13  John Levon  <levon@movementarian.org>
9390
9391         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9392
9393         * text.C: fix a getChar(pos) bug properly
9394
9395 2003-03-13  Angus Leeming  <leeming@lyx.org>
9396
9397         * commandtags.h:
9398         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9399         Probably only temporary. Let's see how things pan out.
9400
9401         * BufferView.C (unlockInset):
9402         * BufferView_pimpl.C (fitCursor):
9403         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9404
9405         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9406         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9407
9408         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9409         new functions that convert ParagraphParameters to and from a string.
9410
9411         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9412         BufferView::Pimpl's dispatch.
9413         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9414
9415 2003-03-13 André Pönitz <poenitz@gmx.net>
9416
9417         * lyxfunc.C:
9418         * text3.C:
9419         * factory.C: make it aware of InsetEnv
9420
9421 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9422
9423         * text2.C (setCursor): never ask for one past last
9424         (setCursor): add some debugging messages.
9425
9426         * text.C (singleWidth): never ask for one past last
9427         (singleWidth): ditto
9428         (leftMargin): ditto
9429         (rightMargin): ditto
9430         (rowBreakPoint): ditto
9431         (setHeightOfRow): ditto
9432         (prepareToPrint): ditto
9433
9434         * rowpainter.C (paintBackground): never ask for one past last
9435         (paintText): never ask for one past last
9436
9437         * paragraph_pimpl.C (getChar): make the assert stricter, never
9438         allow the one past last pos to be taken
9439
9440         * paragraph.C (getChar): ws changes only
9441
9442         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9443         (numberOfSeparators): ditto
9444         (numberOfHfills): ditto
9445
9446 2003-03-12  John Levon  <levon@movementarian.org>
9447
9448         * author.h:
9449         * author.C:
9450         * bufferparams.h:
9451         * bufferparams.C:
9452         * paragraph_funcs.C: fix per-buffer authorlists
9453
9454 2003-03-12  John Levon  <levon@movementarian.org>
9455
9456         * text.C: fix newline in right address
9457
9458 2003-03-12  Angus Leeming  <leeming@lyx.org>
9459
9460         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9461         duplicate those in LyXFunc::dispatch.
9462
9463         * commandtags.h:
9464         * LyXAction.C:
9465         * ToolbarDefaults.C:
9466         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9467         Add LFUN_FONTFREE_UPDATE.
9468
9469         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9470         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9471
9472         * bufferview_func.[Ch]: several new functions to facilliate
9473         transfer of data to and from the character dialog.
9474
9475 2003-03-12  John Levon  <levon@movementarian.org>
9476
9477         * buffer.C:
9478         * paragraph.h:
9479         * paragraph.C:
9480         * paragraph_funcs.C:
9481         * paragraph_pimpl.C:
9482         * sgml.C:
9483         * tabular.C:
9484         * text.C:
9485         * text3.C: remove META_NEWLINE in favour of an inset
9486
9487         * rowpainter.h:
9488         * rowpainter.C: remove paintNewline (done by inset)
9489
9490 2003-03-12  John Levon  <levon@movementarian.org>
9491
9492         * paragraph_pimpl.C: complain about bad getChar()s
9493         for a while at least
9494
9495 2003-03-12  John Levon  <levon@movementarian.org>
9496
9497         * buffer.h:
9498         * buffer.C: move paragraph read into a separate function,
9499         a little renaming to reflect that.
9500
9501         * bufferparams.h:
9502         * bufferparams.C: remove the author_ids map, not necessary now
9503
9504         * factory.h:
9505         * factory.C: moved Buffer::readInset to here
9506
9507         * paragraph_funcs.h:
9508         * paragraph_funcs.C: readParagraph free function moved from
9509         buffer.C
9510
9511         * tabular.C: name change
9512
9513 2003-03-12  John Levon  <levon@movementarian.org>
9514
9515         * buffer.C:
9516         * ParagraphParameters.C: move par params input to
9517         a read() method
9518
9519         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9520         behave like a normal read from the stream wrt reading
9521         a line vs. a \\token
9522
9523 2003-03-12  John Levon  <levon@movementarian.org>
9524
9525         * paragraph.C:
9526         * ParagraphParameters.h:
9527         * ParagraphParameters.C: move output code to a
9528         ::write() method
9529
9530 2003-03-12  John Levon  <levon@movementarian.org>
9531
9532         * BufferView.C (insertLyXFile):
9533         * buffer.h:
9534         * buffer.C:
9535         * tabular.C: use a parlist iterator for creating the
9536           document.
9537
9538 2003-03-12  John Levon  <levon@movementarian.org>
9539
9540         * buffer.C: make current_change static local not
9541           static file-scope
9542
9543 2003-03-12  John Levon  <levon@movementarian.org>
9544
9545         * buffer.C: fix insertStringAsLines for change tracking
9546
9547 2003-03-12  John Levon  <levon@movementarian.org>
9548
9549         * BufferView.C:
9550         * tabular.C:
9551         * buffer.h:
9552         * buffer.C:
9553         * bufferparams.h:
9554         * bufferparams.C: move author list into params. Rename some
9555           functions. Move the header reading into a separate token
9556           loop. Move the header token reading into BufferParams.
9557
9558 2003-03-12  John Levon  <levon@movementarian.org>
9559
9560         * changes.C: put debug inside lyxerr.debugging() checks
9561
9562 2003-03-11 André Pönitz <poenitz@gmx.net>
9563
9564         * factory.C: make it aware of InsetHFill
9565
9566 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9567
9568         * buffer.C (latexParagraphs): move function from here...
9569         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9570         args.
9571
9572 2003-03-10  Angus Leeming  <leeming@lyx.org>
9573
9574         * LyXAction.C (init): fix bug in poplating array with multiple entries
9575         with the same LFUN (spotted by JMarc).
9576
9577 2003-03-10  John Levon  <levon@movementarian.org>
9578
9579         * text.C:
9580         * text2.C: move getColumnNearX() near its
9581         only call site
9582
9583 2003-03-10  John Levon  <levon@movementarian.org>
9584
9585         * text.C: fix break before a minipage
9586
9587 2003-03-10  John Levon  <levon@movementarian.org>
9588
9589         * text.C: fix the last commit
9590
9591 2003-03-09  John Levon  <levon@movementarian.org>
9592
9593         * lyxtext.h:
9594         * text.C:
9595         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9596         bug 365 (don't break before insets unless needed). Don't
9597         return a value > last under any circumstances.
9598
9599 2003-03-09  Angus Leeming  <leeming@lyx.org>
9600
9601         * BufferView_pimpl.C (trackChanges, dispatch): call
9602         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9603
9604 2003-03-09  Angus Leeming  <leeming@lyx.org>
9605
9606         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9607         than Dialogs::showAboutlyx().
9608
9609 2003-03-09  Angus Leeming  <leeming@lyx.org>
9610
9611         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9612         than Dialogs::showTabularCreate().
9613
9614 2003-03-09  John Levon  <levon@movementarian.org>
9615
9616         * lyxtext.h:
9617         * text.C:
9618         * text2.C: 3rd arg to nextBreakPoint was always the same.
9619           Use references.
9620
9621 2003-03-08  John Levon  <levon@movementarian.org>
9622
9623         * lyxrow.C:
9624         * paragraph.C:
9625         * paragraph.h:
9626         * rowpainter.C:
9627         * text.C:
9628         * text2.C: Remove the "main" bit from the "main body"
9629           notion.
9630
9631 2003-03-08  John Levon  <levon@movementarian.org>
9632
9633         * text.C (leftMargin): The left margin of an empty
9634         manual label paragraph should not include the label width
9635         string length.
9636
9637         * text.C (prepareToPrint): don't attempt to measure hfills
9638         for empty manual label paragraphs - the answer should be 0
9639
9640 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9641
9642         * CutAndPaste.C: remove commented code and reindent.
9643
9644 2003-03-08  John Levon  <levon@movementarian.org>
9645
9646         * lyxfunc.h:
9647         * lyxfunc.C: move reloadBuffer()
9648
9649         * BufferView.h:
9650         * BufferView.C: to here
9651
9652         * lyxvc.C: add comment
9653
9654         * vc-backend.h:
9655         * vc-backend.C: call bv->reload() to avoid
9656           getStatus() check on MENURELOAD
9657
9658 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9659
9660         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9661         to an old format .dep file.
9662
9663 2003-03-07  Angus Leeming  <leeming@lyx.org>
9664
9665         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9666         when the LFUN_MOUSE_RELEASE should have been handled by
9667         inset->localDispatch.
9668
9669 2003-03-07  Angus Leeming  <leeming@lyx.org>
9670
9671         * BufferView_pimpl.C (dispatch):
9672         * LyXAction.C (init):
9673         * ToolbarDefaults.C (init):
9674         * commandtags.h:
9675         * lyxfunc.C (getStatus):
9676         remove LFUN_INSET_GRAPHICS.
9677
9678         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9679
9680 2003-03-07  Angus Leeming  <leeming@lyx.org>
9681
9682         * commandtags.h:
9683         * LyXAction.C (init):
9684         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9685
9686         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9687
9688         * commandtags.h:
9689         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9690
9691         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9692         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9693
9694 2003-03-07  Angus Leeming  <leeming@lyx.org>
9695
9696         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9697         remove "ert".
9698
9699 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9700
9701         * ParagraphList.C (front): new function
9702         (back): implement
9703
9704 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9705
9706         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9707         and top_row_offset_. removed var first_y.
9708         * text.C (top_y):
9709         * text2.C (LyXText, removeRow):
9710         * text3.C:
9711         * BufferView_pimpl.C:
9712         use these methods instead of using first_y
9713
9714 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9715
9716         * text2.C (pasteSelection): adjust for checkPastePossible
9717
9718         * CutAndPaste.C: remove Paragraph * buf and replace with
9719         ParagraphList paragraphs.
9720         (DeleteBuffer): delete
9721         (cutSelection): change the tc type to textclass_type
9722         (copySelection): change the tc type to textclass_type
9723         (copySelection): adjust for ParagraphList
9724         (pasteSelection): change the tc type to textclass_type
9725         (pasteSelection): adjust for Paragraphlist
9726         (nrOfParagraphs): simplify for ParagraphList
9727         (checkPastePossible): simplify for ParagraphList
9728         (checkPastePossible): remove unused arg
9729
9730         * ParagraphList.C (insert): handle the case where there are no
9731         paragraphs yet.
9732
9733         * CutAndPaste.h: make CutAndPaste a namespace.
9734
9735         * text3.C (dispatch): adjust
9736
9737         * text.C (breakParagraph): add a ParagraphList as arg
9738
9739         * paragraph_funcs.C (breakParagraph): change to take a
9740         BufferParams and a ParagraphList as args.
9741         (breakParagraphConservative): ditto
9742         (mergeParagraph): ditto
9743         (TeXDeeper): add a ParagraphList arg
9744         (TeXEnvironment): ditto
9745         (TeXOnePar): ditto
9746
9747         * buffer.C (readLyXformat2): adjust
9748         (insertStringAsLines): adjust
9749         (latexParagraphs): adjust
9750
9751         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9752         (cutSelection): adjust
9753         (pasteSelection): adjust
9754
9755         * BufferView_pimpl.C (insertInset): adjust
9756
9757 2003-03-05  Angus Leeming  <leeming@lyx.org>
9758
9759         * commandtags.h:
9760         * LyXAction.C (init):
9761         * BufferView_pimpl.C (dispatch):
9762         * lyxfunc.C (getStatus):
9763         remove LFUN_CHILD_INSERT.
9764
9765         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9766
9767 2003-03-05  Angus Leeming  <leeming@lyx.org>
9768
9769         * commandtags.h:
9770         * LyXAction.C (init):
9771         * src/factory.C (createInset):
9772         * lyxfunc.C (getStatus):
9773         * text3.C (dispatch):
9774         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9775
9776         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9777
9778 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9779
9780         * ParagraphList.C (insert): handle insert right before end()
9781         (erase): fix cases where it can be first or last paragraph.
9782
9783 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9784
9785         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9786         Paragraph::next and Paragraph::previous
9787         (TeXOnePar): ditto
9788
9789         * text.C (breakParagraph): adjust
9790
9791         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9792         BufferParams& as arg.
9793         (breakParagraph): use ParagraphList::insert
9794         (breakParagraphConservative): take a Buffer* instead of a
9795         BufferParams& as arg.
9796         (breakParagraphConservative): use ParagraphList::insert.
9797
9798         * buffer.C (insertStringAsLines): un-const it
9799         (insertStringAsLines): adjust
9800
9801         * ParagraphList.C (insert): new function
9802
9803         * CutAndPaste.C (pasteSelection): adjust
9804
9805         * text.C (backspace): adjust
9806
9807         * tabular.C (SetMultiColumn): adjust
9808
9809         * CutAndPaste.C (cutSelection): adjust
9810         (pasteSelection): adjust
9811
9812         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9813         Buffer const * as arg
9814
9815         * ParagraphList.C (erase): new function
9816         * paragraph_funcs.C (mergeParagraph): use it
9817         (mergeParagraph): make it take a Buffer* instead of a
9818         BufferParams* as arg
9819
9820         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9821         as arg
9822         (breakParagraphConservative): ditto
9823
9824         * paragraph.h: remove the breakParagraph friend
9825
9826         * paragraph.C (eraseIntern): new function
9827         (setChange): new function
9828
9829         * paragraph_funcs.C (mergeParagraph): make it take a
9830         ParagraphList::iterator instead of a Paragraph *, adjust
9831         accordingly.
9832
9833         * paragraph.h: move an #endif so that the change tracking stuff
9834         also works in the NO_NEXT case.
9835
9836 2003-03-04  Angus Leeming  <leeming@lyx.org>
9837
9838         * commandtags.h:
9839         * LyXAction.C: new LFUN_INSET_MODIFY.
9840
9841         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9842         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9843
9844 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9845
9846         * several files: ws changes only
9847
9848         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9849         (TeXEnvironment): ditto
9850         (TeXDeeper): ditto
9851
9852         * buffer.C (makeLaTeXFile): adjust
9853         (latexParagraphs): make it take ParagraphList::iterator as args
9854
9855 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9856
9857         * buffer.C (latexParagraphs): adjust
9858
9859         * paragraph.C (TeXOnePar): move function...
9860         (optArgInset): move function...
9861         (TeXEnvironment): move function...
9862         * paragraph_pimpl.C (TeXDeeper): move function...
9863         * paragraph_funcs.C: ...here
9864
9865         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9866
9867 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9868
9869         * buffer.C (readInset): remove compability code for old Figure and
9870         InsetInfo insets
9871
9872 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9873
9874         * buffer.C: ws changes
9875         (readInset):
9876
9877         * BufferView_pimpl.C: ditto
9878         * author.C: ditto
9879         * buffer.h: ditto
9880         * bufferlist.h: ditto
9881         * changes.h: ditto
9882         * lyxfunc.C: ditto
9883
9884 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9885
9886         * converter.[Ch]: split into itself +
9887         * graph.[Ch]
9888         * format.[Ch]
9889         * Makefile.am: += graph.[Ch] + format.[Ch]
9890         * MenuBackend.C
9891         * buffer.C
9892         * exporter.C
9893         * importer.C
9894         * lyx_main.C
9895         * lyxfunc.C
9896         * lyxrc.C: added #include "format.h"
9897
9898 2003-02-27  Angus Leeming  <leeming@lyx.org>
9899
9900         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9901           a label.
9902
9903         * factory.C (createInset): add "label" to the factory.
9904
9905         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9906           string and do no more.
9907
9908 2003-02-27  Angus Leeming  <leeming@lyx.org>
9909
9910         * commandtags.h:
9911         * LyXAction.C (init):
9912         * factory.C (createInset):
9913         * BufferView_pimpl.C (dispatch):
9914           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9915
9916         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9917
9918         * lyxfunc.C (dispatch):
9919         * text3.C (dispatch): pass name to params2string.
9920
9921 2003-02-26  Angus Leeming  <leeming@lyx.org>
9922
9923         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9924           blocks together.
9925           Rearrange the ~includes. Strip out the unnecessary ones.
9926
9927         * factory.C (createInset): reformat.
9928           create new insets for the various LFUN_XYZ_APPLY lfuns.
9929
9930 2003-02-26  John Levon  <levon@movementarian.org>
9931
9932         * lyxrow.h:
9933         * lyxrow.C: add isParStart,isParEnd helpers
9934
9935         * paragraph.h: make isInserted/DeletedText take refs
9936
9937         * paragraph_funcs.h:
9938         * paragraph_funcs.C: remove #if 0'd code
9939
9940         * lyxtext.h:
9941         * text3.C:
9942         * text2.C:
9943         * text.C: use lyxrow helpers above.
9944           Move draw and paint routines to RowPainter.
9945           Make several methods use refs not pointers.
9946           Make backgroundColor() const.
9947           Add markChangeInDraw(), isInInset().
9948           Merge changeRegionCase into changeCase.
9949           Make workWidth() shouldn't-happen code into an Assert.
9950
9951         * rowpainter.h:
9952         * rowpainter.C: new class for painting a row.
9953
9954         * vspace.h:
9955         * vspace.C: make inPixels take a ref
9956
9957 2003-02-26  Angus Leeming  <leeming@lyx.org>
9958
9959         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9960         LFUN_REF_APPLY.
9961
9962 2003-02-25  John Levon  <levon@movementarian.org>
9963
9964         * ispell.C: give the forked command a more accurate name
9965
9966 2003-02-22  John Levon  <levon@movementarian.org>
9967
9968         * toc.h:
9969         * toc.C: make TocItem store an id not a Paragraph *
9970           (bug #913)
9971
9972 2003-02-21  Angus Leeming  <leeming@lyx.org>
9973
9974         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9975           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9976           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9977           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9978           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9979           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9980
9981         * BufferView_pimpl.C (dispatch):
9982         * LyXAction.C (init):
9983         * factory.C (createInset):
9984         * lyxfunc.C (getStatus, dispatch):
9985         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9986
9987 2003-02-21  Angus Leeming  <leeming@lyx.org>
9988
9989         * BufferView_pimpl.C (MenuInsertLyXFile):
9990         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9991         * lyxfunc.C (menuNew, open, doImport):
9992           no longer pass a LyXView & to fileDlg.
9993
9994 2003-02-21  Angus Leeming  <leeming@lyx.org>
9995
9996         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9997         * LyXAction.C: change, BIBKEY to BIBITEM.
9998         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9999         Change InsetBibKey to InsetBibitem.
10000         Change BIBKEY_CODE to BIBITEM_CODE.
10001         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10002         * factory.C: replace insetbib.h with insetbibitem.h.
10003         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10004         * paragraph.C: replace insetbib.h with insetbibitem.h.
10005         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10006         Change bibkey() to bibitem().
10007         * text.C: remove insetbib.h.
10008         * text2.C: replace insetbib.h with insetbibitem.h.
10009         change bibkey() to bibitem().
10010         * text3.C: remove insetbib.h.
10011         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10012
10013 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10014
10015         * lyxrc.C (output): enclose user email in quotes (in case there are
10016         several words)
10017
10018 2003-02-18  John Levon  <levon@movementarian.org>
10019
10020         * buffer.h: add std::
10021
10022 2003-02-17  John Levon  <levon@movementarian.org>
10023
10024         * SpellBase.h:
10025         * ispell.h:
10026         * ispell.C:
10027         * pspell.h:
10028         * pspell.C: reworking. Especially in ispell, a large
10029           number of clean ups and bug fixes.
10030
10031         * lyxfunc.C: fix revert to behave sensibly
10032
10033 2003-02-17 André Pönitz <poenitz@gmx.net>
10034
10035         * LyXAction.C:
10036         * commandtags.h: new LFUN_INSERT_BIBKEY
10037
10038         * layout.h:
10039         * lyxlayout.C:
10040         * buffer.C:
10041         * factory.C:
10042         * text.C:
10043         * text2.C:
10044         * text3.C:
10045         * paragraph.[Ch]:
10046         * paragraph_func.C: remove special bibkey handling
10047
10048 2003-02-17  John Levon  <levon@movementarian.org>
10049
10050         * text.C (Delete): fix case where delete at the end of
10051           the very first paragraph would not merge the pars
10052
10053 2003-02-17  John Levon  <levon@movementarian.org>
10054
10055         * lyxrow.C: fix lastPrintablePos()
10056
10057 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10058
10059         * bufferparams.C (writeLaTeX): add a std:here
10060
10061         * buffer.C: and remove a using directive there
10062
10063 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10064
10065         * buffer.C (makeLaTeXFile): move the code that generates the
10066           preamble...
10067
10068         * bufferparams.C (writeLaTeX): ... in this new method
10069
10070         * LaTeXFeatures.C (getEncodingSet): make const
10071           (getLanguages): make const
10072
10073         * MenuBackend.C (binding): returns the binding associated to this
10074           action
10075           (add): sets the status of each item by calling getStatus. Adds
10076           some intelligence.
10077           (read): add support for OptSubMenu
10078           (expand): remove extra separator at the end of expanded menu
10079
10080 2003-02-15  John Levon  <levon@movementarian.org>
10081
10082         * BufferView.C:
10083         * BufferView_pimpl.C:
10084         * bufferlist.h:
10085         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10086           inset code that had no actual effect. Remove unneeded status
10087           code.
10088
10089 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10090
10091         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10092           in preamble
10093
10094 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10095
10096         * text.C (drawLengthMarker): also draw an arrow marker for
10097           symbolic lengths (medskip...)
10098
10099 2003-02-14  John Levon  <levon@movementarian.org>
10100
10101         * tabular.h:
10102         * tabular.C: better method names
10103
10104 2003-02-14  John Levon  <levon@movementarian.org>
10105
10106         * BufferView_pimpl.C:
10107         * bufferlist.C:
10108         * buffer.C:
10109         * converter.C:
10110         * lyx_cb.C:
10111         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10112           it's a more accurate name. Remove some pointless uses.
10113
10114 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10115
10116         * text2.C (LyXText): change order of initilizers to shut off
10117           warnings
10118
10119 2003-02-14  John Levon  <levon@movementarian.org>
10120
10121         * buffer.C: use ParIterator for getParFromID()
10122
10123         * paragraph.h:
10124         * paragraph.C:
10125         * paragraph_pimpl.h:
10126         * paragraph_pimpl.C: remove unused getParFromID()
10127
10128 2003-02-14  John Levon  <levon@movementarian.org>
10129
10130         * buffer.C: remove some very old #if 0'd parse code
10131
10132 2003-02-13  John Levon  <levon@movementarian.org>
10133
10134         * text.h:
10135         * text.C:
10136         * text2.C: move hfillExpansion(), numberOfSeparators(),
10137           rowLast(), rowLastPrintable(), numberofHfills(),
10138           numberOfLabelHfills() ...
10139
10140         * lyxrow.h:
10141         * lyxrow.C: ... to member functions here.
10142
10143         * paragraph.h:
10144         * paragraph.C:
10145         * lyxtext.h:
10146         * text.C: remove LyXText::beginningOfMainBody(), and call
10147           p->beginningOfMainBody() directly. Move the check for
10148           LABEL_MANUAL into the latter.
10149
10150         * text.h:
10151         * text.C:
10152         * text2.C:
10153         * vspace.C:
10154         * BufferView.h:
10155         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10156
10157         * text.h:
10158         * text.C:
10159         * text2.C:
10160         * text3.C:
10161         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10162           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10163
10164 2003-02-13  John Levon  <levon@movementarian.org>
10165
10166         * CutAndPaste.C: remove debug
10167
10168 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10169
10170         * paragraph.C (asString): remove two unused variables
10171
10172         * lyxtextclass.C (readTitleType):
10173           (Read):
10174           (LyXTextClass): handle new members titletype_ and titlename_
10175
10176         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10177
10178 2003-02-09  John Levon  <levon@movementarian.org>
10179
10180         * buffer.h:
10181         * buffer.C: replace hand-coded list with a map for the dep clean
10182
10183 2003-02-08  John Levon  <levon@movementarian.org>
10184
10185         * LaTeX.C: consolidate code into showRunMessage() helper
10186
10187 2003-02-08  John Levon  <levon@movementarian.org>
10188
10189         * lyxfind.C:
10190         * lyxtext.h:
10191         * text2.C:
10192         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10193           and pass the size in explicitly
10194
10195         * BufferView_pimpl.h:
10196         * BufferView_pimpl.C:
10197         * BufferView.h:
10198         * BufferView.C: add getCurrentChange()
10199
10200         * BufferView_pimpl.h:
10201         * BufferView_pimpl.C: handle change lfuns
10202
10203         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10204           for changes. Mark pasted paragraphs as new.
10205
10206         * support/lyxtime.h:
10207         * support/lyxtime.C:
10208         * DepTable.C: abstract time_t as lyx::time_type
10209
10210         * LColor.h:
10211         * LColor.C: add colours for new text, deleted text, changebars
10212
10213         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10214           package use "usenames" option.
10215
10216         * commandtags.h:
10217         * lyxfunc.C:
10218         * LyXAction.C: add change lfuns
10219
10220         * Makefile.am:
10221         * author.h:
10222         * author.C: author handling
10223
10224         * buffer.h:
10225         * buffer.C: add a per-buffer author list, with first entry as
10226           current author. Handle new .lyx tokens for change tracking. Output
10227           author list to .lyx file. Output dvipost stuff to .tex preamble.
10228           Bump lyx format to 222.
10229
10230         * bufferlist.h:
10231         * bufferlist.C: add setCurrentAuthor() to reset current author details
10232           in all buffers.
10233
10234         * bufferparams.h:
10235         * bufferparams.C: add param for tracking
10236
10237         * bufferview_funcs.C: output change info in minibuffer
10238
10239         * Makefile.am:
10240         * changes.h:
10241         * changes.C: add change-tracking structure
10242
10243         * debug.h:
10244         * debug.C: add CHANGES debug flag
10245
10246         * lyxfind.h:
10247         * lyxfind.C: add code for finding the next change piece
10248
10249         * lyxrc.h:
10250         * lyxrc.C: add user_name and user_email
10251
10252         * lyxrow.h:
10253         * lyxrow.C: add a metric for the top of the text line
10254
10255         * lyxtext.h:
10256         * text.C: implement accept/rejectChange()
10257
10258         * lyxtext.h:
10259         * text.C: paint changebars. Paint new/deleted text in the chosen
10260         colours. Strike through deleted text.
10261
10262         * paragraph.h:
10263         * paragraph.C:
10264         * paragraph_pimpl.h:
10265         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10266           in the current change to the insert functions. Rework erase to
10267           mark text as deleted, adding an eraseIntern() and a range-based
10268           erase(). Implement per-paragraph change lookup and
10269           accept/reject.
10270
10271         * paragraph_funcs.C: Fixup paste for change tracking.
10272
10273         * tabular.C: mark added row/columns as new.
10274
10275         * text.C: fix rowLast() to never return -1. Don't allow
10276           spellchecking of deleted text. Track transpose changes. Don't
10277           allow paragraph break or merge where appropriate.
10278
10279         * text2.C: leave cursor at end of selection after a cut.
10280
10281 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10282
10283         * text.C (getLengthMarkerHeight):
10284         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10285         visible on screen too.
10286
10287 2003-02-07  John Levon  <levon@movementarian.org>
10288
10289         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10290
10291 2003-02-05  Angus Leeming  <leeming@lyx.org>
10292
10293         * lyxserver.C (read_ready): revert my patch of 11 September last year
10294         as it sends PC cpu through the roof. Presumably this means that
10295         the lyxserver will no longer run on an Alpha...
10296
10297 2003-01-30  Angus Leeming  <leeming@lyx.org>
10298
10299         * factory.C (createInset): create an InsetCommandParam of type "index"
10300         and use it to 'do the right thing'.
10301
10302         * text2.C (getStringToIndex): ensure that cursor position is always
10303         reset to the reset_cursor position.
10304
10305 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10306
10307         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10308         disabled.
10309
10310 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10311
10312         * bufferview.C:
10313         * lyxcb.C:
10314         * lyxfunc.C: Output messages with identical spelling, punctuation,
10315         and spaces
10316
10317 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10318
10319         * MenuBackend.C (expandFormats): List only viewable export formats
10320         in "View" menu
10321
10322         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10323         message
10324
10325         * lyxfunc.C (getStatus): Make sure that formats other than
10326         "fax" can also be disabled
10327
10328 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10329
10330         * text3.C (dispatch): put the lfuns that insert insets in 3
10331         groups, and call doInsertInset with appropriate arguments.
10332         (doInsertInset): new function, that creates an inset and inserts
10333         it according to some boolean parameters.
10334
10335 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10336
10337         * buffer.C (readFile): remember to pass on 'par' when calling
10338         readFile recursively.
10339
10340 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10341
10342         * MenuBackend.C (expandFormats): add "..." to import formats.
10343
10344 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10345
10346         * paragraph.C (asString): Remove XForms RTL hacks.
10347
10348 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10349         * buffer.C: fix typo
10350
10351 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10352
10353         * Makefile.am (LIBS): delete var
10354         (lyx_LDADD): add @LIBS@ here instead.
10355
10356 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10357
10358         * Clarify the meaning of "wheel mouse jump"
10359
10360 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10361
10362         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10363         tabular in a float
10364
10365 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10366
10367         * importer.C (Loaders): do not preallocate 3 elements in the
10368         vector, since one ends up with 6 elements otherwise
10369
10370 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10371
10372         * DepTable.C (write): write the file name as last element of the
10373         .dep file (because it may contain spaces)
10374         (read): read info in the right order
10375
10376 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10377
10378         * paragraph_pimpl.C (simpleTeXBlanks):
10379         (simpleTeXSpecialChars):
10380         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10381
10382         * tabular.C (latex): add some missing case statements. Reindent.
10383
10384         * MenuBackend.C (expandToc): remove unused variable.
10385
10386 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10387
10388         * LColor.C:
10389         * LaTeX.C:
10390         * LyXAction.C:
10391         * MenuBackend.C:
10392         * buffer.C:
10393         * exporter.C:
10394         * lyxfunc.C:
10395         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10396         and the like.
10397
10398 2003-01-05  John Levon  <levon@movementarian.org>
10399
10400         * BufferView.h:
10401         * BufferView.C: add getEncoding()
10402
10403         * kbsequence.h:
10404         * kbsequence.C: do not store last keypress
10405
10406         * lyxfunc.h:
10407         * lyxfunc.C: store last keypress here instead. Pass encoding
10408           to getISOEncoded()
10409
10410 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10411
10412         * lyx_main.C (init): remove annoying error message when following
10413         symbolic links (bug #780)
10414
10415 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10416
10417         * text.C (insertChar):
10418         * lyxrc.C (getDescription): remove extra spaces
10419
10420 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10421
10422         * lyxrc.C (getDescription): remove extra spaces
10423
10424 2002-12-20  John Levon  <levon@movementarian.org>
10425
10426         * text3.C: hack fix for page up/down across tall rows
10427
10428 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10429
10430         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10431         not been invoked
10432
10433 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10434
10435         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10436         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10437         thesaurus is not compiled in
10438
10439 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10440
10441         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10442
10443 2002-12-16  Angus Leeming  <leeming@lyx.org>
10444
10445         * lyxrc.[Ch]:
10446         * lyx_main.C (init): remove override_x_deadkeys stuff.
10447
10448 2002-12-12  John Levon  <levon@movementarian.org>
10449
10450         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10451           insert. Only remove shift modifier under strict
10452           circumstances.
10453
10454 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10455
10456         * MenuBackend.C (expandToc): fix crash.
10457
10458 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10459
10460         * MenuBackend.C (expandToc): gettext on float names.
10461
10462 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10463
10464         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10465         implement bool empty() [bug 490]
10466
10467 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10468
10469         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10470
10471 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10472
10473         * several files: ws changes
10474
10475 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10476
10477         * text2.C (setCounter): clean up a bit, use boost.format.
10478         (updateCounters): initialize par upon declaration.
10479
10480         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10481         if the layout exists. We do not just store the layout any more.
10482         (SwitchLayoutsBetweenClasses): use boost.format
10483
10484 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * converter.C (convert): if from and to files are the same, use a
10487         temporary files as intermediary
10488
10489 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10490
10491         * commandtags.h:
10492         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10493
10494 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10495
10496         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10497
10498 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10499
10500         * tabular.C (asciiPrintCell): use string(size, char) instead of
10501         explicit loop.
10502
10503         * sgml.C (openTag): fix order of arguments to string constructor
10504         (closeTag): ditto
10505
10506         * lyxfunc.C (dispatch): use boost.format
10507
10508         * lots of files: change "c" -> 'c'
10509
10510 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10511
10512         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10513
10514 2002-11-25  Angus Leeming  <leeming@lyx.org>
10515
10516         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10517
10518         * lyx_main.C (init): compile fix.
10519
10520 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10521
10522         * lyx_cb.C (start): boost.formatify
10523         do not include <iostream>
10524
10525         * lengthcommon.C: ws only
10526
10527         * boost-inst.C,BoostFormat.h: add more explict instantations
10528
10529 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10530
10531         * lots of files: handle USE_BOOST_FORMAT
10532
10533 2002-11-21  John Levon  <levon@movementarian.org>
10534
10535         * pspell.C: fix compile
10536
10537 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10538
10539         * lyxfunc.C (dispatch): use boost::format
10540         (open): ditto
10541         (doImport): ditto
10542
10543         * lyxfont.C (stateText): use boost::format
10544
10545         * lyx_main.C (LyX): use boost::format
10546         (init): ditto
10547         (queryUserLyXDir): ditto
10548         (readRcFile): ditto
10549         (parse_dbg): ditto
10550         (typedef boost::function): use the recommened syntax.
10551
10552         * importer.C (Import): use boost::format
10553
10554         * debug.C (showLevel): use boost::format
10555
10556         * converter.C (view): use boost::format
10557         (convert): ditto
10558         (move): ditto
10559         (scanLog): ditto
10560
10561         * bufferview_funcs.C (currentState): use boost::format
10562
10563         * bufferlist.C (emergencyWrite): use boost::format
10564
10565         * buffer.C (readLyXformat2): use boost::format
10566         (parseSingleLyXformat2Token): ditto
10567
10568         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10569
10570         * LaTeX.C (run): use boost::format
10571
10572         * Chktex.C (scanLogFile): use boost::format
10573
10574         * BufferView_pimpl.C (savePosition): use boost::format
10575         (restorePosition): ditto
10576         (MenuInsertLyXFile): ditto
10577
10578         * BoostFormat.h: help file for explicit instation.
10579
10580 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10581
10582         * tabular.C (latex): Support for block alignment in fixed width
10583         columns.
10584
10585 2002-11-17  John Levon  <levon@movementarian.org>
10586
10587         * BufferView_pimpl.C:
10588         * lyx_cb.C:
10589         * lyxfunc.C: split filedialog into open/save
10590
10591 2002-11-08  Juergen Vigna  <jug@sad.it>
10592
10593         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10594         by my last patch (hopefully).
10595
10596 2002-11-08  John Levon  <levon@movementarian.org>
10597
10598         * iterators.h:
10599         * iterators.C:
10600         * buffer.h:
10601         * buffer.C:
10602         * paragraph.h:
10603         * paragraph.C:
10604         * toc.h:
10605         * toc.C: ParConstIterator, and use it (from Lars)
10606
10607 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10608
10609         * lyxtextclass.[Ch]: revise and add doxygen comments
10610
10611 2002-11-07  John Levon  <levon@movementarian.org>
10612
10613         * text.C: fix progress value for spellchecker
10614
10615         * toc.C: fix navigate menu for insetwrap inside minipage
10616
10617         * paragraph_funcs.C: added FIXME for suspect code
10618
10619 2002-11-07  John Levon  <levon@movementarian.org>
10620
10621         * BufferView_pimpl.C: fix redrawing of insets
10622           on buffer switch
10623
10624 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10625
10626         * text2.C (updateCounters): fix bug 668
10627
10628 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10629
10630         * text3.C (dispatch): Do not make the buffer dirty when moving the
10631         cursor.
10632
10633 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10634
10635         * vc-backend.C: STRCONV
10636         (scanMaster): ditto
10637
10638         * text2.C (setCounter): STRCONV
10639
10640         * paragraph.C (asString): STRCONV
10641
10642         * lyxlength.C (asString): STRCONV
10643         (asLatexString): ditto
10644
10645         * lyxgluelength.C (asString): STRCONV
10646         (asLatexString): ditto
10647
10648         * lyxfunc.C (dispatch): STRCONV
10649         (open): ditto
10650
10651         * lyxfont.C (stateText): STRCONV
10652
10653         * importer.C (Import): STRCONV
10654
10655         * counters.C (labelItem): STRCONV
10656         (numberLabel): ditto
10657         (numberLabel): remove unused ostringstream o
10658
10659         * chset.C: STRCONV
10660         (loadFile): ditto
10661
10662         * bufferview_funcs.C (currentState): STRCONV
10663
10664         * buffer.C (readFile): STRCONV
10665         (asciiParagraph): ditto
10666         (makeLaTeXFile): ditto
10667
10668         * Spacing.C (writeEnvirBegin): STRCONV
10669
10670         * LaTeXFeatures.C (getLanguages): STRCONV
10671         (getPackages): ditto
10672         (getMacros): ditto
10673         (getBabelOptions): ditto
10674         (getTClassPreamble): ditto
10675         (getLyXSGMLEntities): ditto
10676         (getIncludedFiles): ditto
10677
10678         * LaTeX.C: STRCONV
10679         (run): ditto
10680         (scanAuxFile): ditto
10681         (deplog): ditto
10682
10683         * LString.h: add the STRCONV macros
10684
10685         * BufferView_pimpl.C (savePosition): STRCONV
10686         (restorePosition): ditto
10687         (MenuInsertLyXFile): ditto
10688
10689         * vc-backend.C (scanMaster): change from submatch[...] to
10690         submatch.str(...)
10691
10692         * funcrequest.C: include config.h
10693
10694         * factory.C: include config.h
10695
10696         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10697
10698         * box.C: include config.h
10699
10700         * LaTeX.C (scanAuxFile): change from submatch[...] to
10701         submatch.str(...)
10702         (deplog): ditto
10703
10704 2002-10-25  Angus Leeming  <leeming@lyx.org>
10705
10706         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10707
10708         * ispell.[Ch] (setError): new method.
10709         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10710         Use setError() insetead of goto END.
10711
10712         * lyx_cb.C (AutoSave): move out child process into new class
10713         AutoSaveBuffer.
10714
10715 2002-10-30  John Levon  <levon@movementarian.org>
10716
10717         * text3.C: make start appendix undoable
10718
10719 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10720
10721         * lyxlength.C (inPixels): Fix returned value.
10722
10723         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10724         environment.
10725
10726 2002-10-24  Angus Leeming  <leeming@lyx.org>
10727
10728         * lyxgluelength.h: no need to forward declare BufferParams
10729         or BufferView, so don't.
10730
10731 2002-10-21  John Levon  <levon@movementarian.org>
10732
10733         * BufferView.C: menuUndo ->undo, redo
10734
10735         * BufferView.h: document, remove dead, make some methods private
10736
10737         * paragraph_funcs.h:
10738         * paragraph_funcs.C:
10739         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10740
10741         * buffer.h:
10742         * buffer.C:
10743         * sgml.h:
10744         * sgml.C: move sgml open/close tag into sgml.C
10745
10746         * bufferview_funcs.h: unused prototype
10747
10748         * lyxfunc.h:
10749         * lyxfunc.C: remove unused
10750
10751         * lyxtext.h:
10752         * text.C: remove unused
10753
10754 2002-10-21  John Levon  <levon@movementarian.org>
10755
10756         * BufferView.h:
10757         * BufferView.C:
10758         * BufferView_pimpl.h:
10759         * BufferView_pimpl.C: fix mouse wheel handling based on
10760           patch from Darren Freeman
10761
10762 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10763
10764         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10765
10766 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10767
10768         * lyxlength.C (inPixels): Fix hanfling of negative length.
10769         Fix LyXLength::MU case.
10770
10771 2002-10-16  John Levon  <levon@movementarian.org>
10772
10773         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10774
10775 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10776
10777         * converter.C (view): add support for $$i (file name) and $$p
10778         (file path) for the viewer command. If $$i is not specified, then
10779         it is appended to the command (for compatibility with old syntax)
10780
10781 2002-10-14  Juergen Vigna  <jug@sad.it>
10782
10783         * undo_funcs.C (textHandleUndo): alter the order in which the
10784         new undopar is added to the LyXText, as we have to set first
10785         the right prev/next and then add it as otherwise the rebuild of
10786         LyXText is not correct. Also reset the cursor to the right paragraph,
10787         with this IMO we could remove the hack in "redoParagraphs()".
10788
10789 2002-10-09  Angus Leeming  <leeming@lyx.org>
10790
10791         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10792         to turn off an optimisation if a new inset is to be inserted.
10793
10794 2002-10-11 André Pönitz <poenitz@gmx.net>
10795
10796         * lyxtext.h: make some functions public to allow access
10797         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10798
10799 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10800
10801         * text3.C (dispatch): when changing layout, avoid an infinite loop
10802         [bug #652]
10803
10804 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10805
10806         * lyxrc.C (read): treat a viewer or converter command of "none" as
10807         if it were empty.
10808
10809         * MenuBackend.C (expandFormats): for an update, also allow the
10810         formats that are not viewable
10811
10812         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10813         script if it is newer than the lyxrc.defaults in user directory
10814
10815 2002-10-07 André Pönitz <poenitz@gmx.net>
10816
10817         * text.C: Vitaly Lipatov's small i18n fix
10818
10819 2002-09-25  Angus Leeming  <leeming@lyx.org>
10820
10821         * ispell.h: doxygen fix.
10822
10823 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10824
10825         * buffer.h (readFile): Add a new argument to the method, to allow
10826         reading of old-format templates.
10827
10828 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10829
10830         * toc.C (getTocList): Get TOC from InsetWrap.
10831
10832 2002-09-16  John Levon  <levon@movementarian.org>
10833
10834         * lyxfunc.C: check tabular for cut/copy too
10835
10836 2002-09-12  John Levon  <levon@movementarian.org>
10837
10838         * LyXAction.C: tidy
10839
10840         * factory.h:
10841         * factory.C: add header
10842
10843         * paragraph_funcs.h:
10844         * paragraph_funcs.C: cleanup
10845
10846 2002-09-11  John Levon  <levon@movementarian.org>
10847
10848         * PrinterParams.h: odd/even default to true
10849
10850 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10851
10852         * PrinterParams.h: update printer parameters for new xforms dialog
10853
10854 2002-09-11  Angus Leeming  <leeming@lyx.org>
10855
10856         * lyxserver.C (read_ready): re-write to make it more transparent
10857         and to make it work in coherent fashion under Tru64 Unix.
10858
10859 2002-09-11  André Pönitz <poenitz@gmx.net>
10860
10861         * commandtags.h:
10862         * LyXAction.C:
10863         * text3.C: implement LFUN_WORDSEL
10864
10865 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10866
10867         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10868         make floatlist_ a boost::shared_ptr<FloatList>
10869
10870         * lyxtextclass.C: include FloatList.h
10871         (LyXTextClass): initialize floatlist_
10872         (TextClassTags): add TC_NOFLOAT
10873         (Read): match "nofloat" to TC_NOFLOAT and use it.
10874         (readFloat): modify call to floatlist_
10875         (floats): ditto
10876         (floats): ditto
10877
10878         * FloatList.[Ch] (FloatList): remove commented out float
10879         initialization.
10880         (erase): new function
10881
10882 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10883
10884         * MenuBackend.C (expandToc): fix crash when there is no document
10885         open
10886
10887 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10888
10889         * many files: Add insetwrap.
10890
10891 2002-09-09  John Levon  <levon@movementarian.org>
10892
10893         * text2.C: remove confusing and awkward depth wraparound
10894
10895 2002-09-09  John Levon  <levon@movementarian.org>
10896
10897         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10898
10899         * buffer.h:
10900         * buffer.C: remove getIncludeonlyList()
10901
10902         * paragraph.C:
10903         * lyxfunc.C: remove headers
10904
10905 2002-09-09  Juergen Vigna  <jug@sad.it>
10906
10907         * text.C (getColumnNearX): fix form Michael this is most
10908         probably a cut&paste bug.
10909
10910 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10911
10912         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10913
10914         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10915         references, ws changes.
10916
10917         * text2.C (init): update counters after init
10918         (insertParagraph): no need to set counter on idividual paragraphs.
10919         (setCounter): access the counters object in the textclass object
10920         on in the buffer object.
10921         (updateCounters): ditto
10922
10923         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10924         shared_ptr<Counters> to avoid loading counters.h in all
10925         compilation units.
10926         (LyXTextClass): initialize ctrs_
10927         (TextClassTags): add TC_COUNTER, and ...
10928         (Read): use it here.
10929         (CounterTags): new tags
10930         (readCounter): new function
10931         (counters): new funtion
10932         (defaultLayoutName): return a const reference
10933
10934         * counters.C (Counters): remove contructor
10935         (newCounter): remove a couple of unneeded statements.
10936         (newCounter): simplify a bit.
10937         (numberLabel): some small formatting changes.
10938
10939         * buffer.[Ch]: remove all traces of counters, move the Counters
10940         object to the LyXTextClass.
10941
10942 2002-09-06  Alain Castera  <castera@in2p3.fr>
10943
10944         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10945         package to set the horizontal alignment on fixed width columns.
10946
10947         * lyx_sty.C:
10948         * lyx_sty.h: added tabularnewline macro def.
10949
10950         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10951
10952 2002-09-06  John Levon  <levon@movementarian.org>
10953
10954         * LyXAction.C: tooltips for sub/superscript
10955
10956         * MenuBackend.C: a bit more verbose
10957
10958         * lyxfunc.C: tiny clean
10959
10960         * undo_funcs.C: document undo_frozen
10961
10962 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10963
10964         * counters.C (Counters): add missing algorithm counter.
10965
10966         * text2.C (setCounter): lookup the counter with layouts latexname
10967         instead of by section number.
10968         (setCounter): use a hackish way to lookup the correct enum
10969         counter.
10970         a float name->type change
10971         reset enum couners with counter name directly instead of depth value.
10972
10973         * counters.C (Counters): remove the push_backs, change to use the
10974         float type not the float name.
10975         (labelItem): remove unused string, float name->type change
10976
10977         * counters.h: don't include vector, loose the enums and sects vectors
10978
10979 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10980
10981         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10982         (Read): add float->TC_FLOAT to textclassTags
10983         (Read): and handle it in the switch
10984         (readFloat): new function
10985
10986         * FloatList.C (FloatList): comment out the hardcoded float
10987         definitions.
10988
10989         * lyxlayout.h: ws change.
10990
10991 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10992
10993         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10994
10995 2002-09-03  Angus Leeming  <leeming@lyx.org>
10996
10997         * BufferView_pimpl.h: qualified name is not allowed in member
10998         declaration: WorkArea & Pimpl::workarea() const;
10999
11000         * factory.C: added using std::endl directive.
11001
11002         * text3.C: added using std::find and std::vector directives.
11003
11004 2002-08-29  André Pönitz <poenitz@gmx.net>
11005
11006         * lyxtext.h:
11007         * text2.C: remove unused member number_of_rows
11008
11009         * Makefile.am:
11010         * BufferView2.C: remove file, move contents to...
11011         * BufferView.C: ... here
11012
11013         * BufferView_pimpl.C:
11014         * factory.C: move more inset creation to factory
11015
11016         * vspace.C: avoid direct usage of LyXText, ws changes
11017
11018         * BufferView.[Ch]:
11019                 don't provide direct access to WorkArea, use two simple
11020                 acessors haveSelction() and workHeight() instead
11021
11022
11023 2002-08-29  John Levon  <levon@movementarian.org>
11024
11025         * BufferView_pimpl.C (dispatch): do not continue when
11026           no buffer
11027
11028 2002-08-28  André Pönitz <poenitz@gmx.net>
11029
11030         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11031
11032         * BufferView.h:
11033         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11034
11035 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11036
11037         * buffer.C: increment LYX_FORMAT to 221
11038
11039         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11040         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11041
11042         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11043
11044         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11045
11046 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11047
11048         * factory.C (createInset): use LyXTextClass::floats
11049
11050         * MenuBackend.C (expandFloatListInsert):
11051         (expandFloatInsert):
11052         (expandToc):
11053
11054         * text2.C (setCounter):
11055
11056         * LaTeXFeatures.C (useFloat):
11057         (getFloatDefinitions):
11058
11059         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11060
11061         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11062         floatlist_, with accessor floats().
11063
11064         * FloatList.h: remove global FloatList
11065
11066 2002-08-26  André Pönitz <poenitz@gmx.net>
11067
11068         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11069
11070         * BufferView.h:
11071         * BufferView2.C:
11072         * BufferView_pimpl.C:
11073         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11074
11075 2002-08-25  John Levon  <levon@movementarian.org>
11076
11077         * LyXAction.C: fix margin note description
11078
11079 2002-08-24  John Levon  <levon@movementarian.org>
11080
11081         * buffer.C:
11082         * bufferlist.C:
11083         * bufferview_funcs.C:
11084         * lyxfont.C:
11085         * undo_funcs.C: cleanups
11086
11087         * lyxfunc.C: disable CUT/COPY when no selection
11088
11089 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11090
11091         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11092         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11093
11094         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11095         Add backward compatibility to "mono", "gray" and "no".
11096
11097 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11098
11099         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11100         (and file_format >= 200).
11101
11102 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11103
11104         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11105
11106 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11107
11108         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11109
11110 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11111
11112         * BufferView_pimpl.C:
11113         * LyXAction.C:
11114         * buffer.C:
11115         * commandtags.h:
11116         * lyxfunc.C:
11117         * paragraph.[Ch]:
11118         * text2.C:
11119         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11120         inset and code to make it  work with the paragraph code. The inset
11121         can be anywhere in the paragraph, but will only do the expected
11122         thing in LaTeX if the layout file contains the parameter line
11123                         OptionalArgs    1
11124         (or more generally, a nonzero value) for that layout.
11125
11126 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11127
11128         * paragraph.h: remove the declaration of undefined counters class
11129         function.
11130
11131 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11132
11133         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11134         Dr. Richard Hawkins.
11135
11136 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11137
11138         * paragraph_funcs.h: remove some unneeded includes
11139
11140         * text.C (backspace): pasteParagraph now in global scipe
11141
11142         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11143         (pasteSelection): ditto
11144
11145         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11146         * paragraph_funcs.C (pasteParagraph): ... here
11147
11148 2002-08-20  André Pönitz <poenitz@gmx.net>
11149
11150         * commandtags.h: new LFUNs for swapping/copying table row/colums
11151
11152         * LyXAction.C:
11153         * lyxfunc.C: support for new lfuns
11154
11155 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11156
11157         * tabular.C:
11158         * buffer.[Ch]: remove NO_COMPABILITY stuff
11159
11160 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11161
11162         * boost.C (throw_exception): new file, with helper function for
11163         boost compiled without exceptions.
11164
11165         * paragraph.h:
11166         * lyxlength.C:
11167         * buffer.C:
11168         * ParameterStruct.h:
11169         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11170
11171         * bufferlist.C (emergencyWriteAll): use boost bind
11172
11173         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11174
11175         * text.C: include paragraph_funcs.h
11176         (breakParagraph): breakParagraph is now in global scope
11177
11178         * paragraph_funcs.[Ch]: new files
11179
11180         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11181         global scope
11182
11183         * buffer.C: include paragraph_funcs.h
11184         (insertStringAsLines): breakParagraph is now in global scope
11185
11186         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11187         paragraph_funcs.C
11188
11189         * CutAndPaste.C: include paragraph_funcs.h
11190         (cutSelection): breakParagraphConservative is now in global scope
11191         (pasteSelection): ditto
11192
11193         * buffer.h: declare oprator== and operator!= for
11194         Buffer::inset_iterator
11195
11196         * bufferlist.C (emergencyWrite): don't use fmt(...)
11197
11198         * text3.C: add using std::endl
11199
11200         * BufferView.C (moveCursorUpdate): remove default arg
11201
11202 2002-08-20  André Pönitz <poenitz@gmx.net>
11203
11204         * buffer.[Ch]: move inline functions to .C
11205
11206         * BufferView2.C:
11207         * BufferView_pimpl.C:
11208         * text.C:
11209         * buffer.[Ch]: use improved inset_iterator
11210
11211         * buffer.C:
11212         * paragraph.[Ch]: write one paragraph at a time
11213
11214 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11215
11216         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11217         style if style is not specified.
11218
11219 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11220
11221         * text2.C (setCounter): when searching for right label for a
11222         caption, make sure to recurse to parent insets (so that a caption
11223         in a minipage in a figure float works) (bug #568)
11224
11225 2002-08-20  André Pönitz <poenitz@gmx.net>
11226
11227         * text3.C: new file for LyXText::dispatch() and helpers
11228
11229         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11230
11231         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11232
11233 2002-08-19  André Pönitz <poenitz@gmx.net>
11234
11235         * lyxtext.h:
11236         * text.C: new LyXText::dispatch()
11237
11238         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11239
11240 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11241
11242         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11243
11244         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11245         Hebrew text.
11246
11247 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11248
11249         * Makefile.am: use $(variables) instead of @substitutions@
11250
11251 2002-08-15  André Pönitz <poenitz@gmx.net>
11252
11253         * lyxfunc.C:
11254         * BufferView_pimpl.C: streamlining mathed <-> outer world
11255         interaction
11256
11257         * commandtags.h:
11258         * LyXAction.C: remove unused LFUN_MATH
11259
11260 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11261
11262         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11263
11264 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11265
11266         * paragraph.C (Paragraph): reformat a bit
11267         (cutIntoMinibuffer): use builtin InsetList function instad of
11268         doing it manually.
11269         (getInset): ditto
11270
11271         * buffer.C: include boost/bind.hpp, add using std::for_each
11272         (writeFileAscii): use ParagraphList iterators
11273         (validate): use for_each for validate traversal of paragraphs
11274         (getBibkeyList): use ParagraphList iterators
11275         (resizeInsets): use for_each to resizeInsetsLyXText for all
11276         paragraphs.
11277         (getParFromID): use ParagraphList iterators
11278
11279         * BufferView2.C (lockInset): use paragraph list and iterators
11280
11281 2002-08-14  John Levon  <levon@movementarian.org>
11282
11283         * lyxserver.C: remove spurious xforms include
11284
11285 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11288
11289 2002-08-13  André Pönitz <poenitz@gmx.net>
11290
11291         * LyXAction.[Ch]:
11292         * lyxfunc.C: further cleaning
11293
11294 2002-08-13  André Pönitz <poenitz@gmx.net>
11295
11296         * funcrequest.h: new constructor
11297
11298         * funcrequest.C: move stuff here from .h
11299
11300         * Makefile.am:
11301         * BufferView_pimpl.C:
11302         * LyXAction.C:
11303         * toc.C:
11304         * lyxfunc.C: subsequent changes
11305
11306         * lyxfunc.h: new view() member function
11307
11308         * lyxfunc.C: subsequent changes
11309
11310 2002-08-13  Angus Leeming  <leeming@lyx.org>
11311
11312         * BufferView2.C:
11313         * BufferView_pimpl.C:
11314         * buffer.C:
11315         * converter.C:
11316         * importer.C:
11317         * lyxfunc.C:
11318         * lyxvc.C:
11319         * toc.C:
11320         * vc-backend.C:
11321         changes due to the changed LyXView interface that now returns references
11322         to member variables not pointers.
11323
11324 2002-08-13  Angus Leeming  <leeming@lyx.org>
11325
11326         * WordLangTuple (word, lang_code): return references to strings,
11327         not strings.
11328
11329         * BufferView.h:
11330         * SpellBase.h:
11331         * lyxtext.h: forward-declare WordLangTuple.
11332
11333         * BufferView2.C:
11334         * ispell.C:
11335         * pspell.C:
11336         * text.C: #include "WordLangTuple.h".
11337
11338         * lyxtext.h:
11339         * text.C: (selectNextWordToSpellcheck): constify return type.
11340
11341 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11342
11343         * buffer.C:
11344         * buffer.h:
11345         * lyxtext.h:
11346         * paragraph.C:
11347         * paragraph_pimpl.h:
11348         * text.C:
11349         * text2.C:
11350         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11351         suggested by Angus.
11352         Made updateCounter always count from start of buffer, and removed
11353         second argument (par).
11354         Reverted floats number display to '#'. Perhaps I'll try again when the
11355         code base is sanitized a bit.
11356
11357 2002-08-12  Angus Leeming  <leeming@lyx.org>
11358
11359         * buffer.[Ch] (getLabelList): constify.
11360
11361 2002-08-07  André Pönitz <poenitz@gmx.net>
11362
11363         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11364
11365         * funcrequest.h: extension to keep mouse (x,y) position
11366
11367 2002-08-12  Juergen Vigna  <jug@sad.it>
11368
11369         * BufferView2.C (insertErrors): forbid undo when inserting error
11370         insets.
11371
11372         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11373
11374 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11375
11376         * ParagraphList.[Ch]: new files
11377
11378         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11379
11380         * BufferView2.C (lockInset): ParagraphList changes
11381         * toc.C: ditto
11382         * text2.C: ditto
11383         * bufferlist.C: ditto
11384         * buffer.h: ditto
11385         * buffer.C: ditto
11386
11387 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11388
11389         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11390         unused class variable counter_,
11391
11392         * paragraph.[Ch] (getFirstCounter): delete unused function
11393
11394         * counters.C: include LAssert.h
11395         (reset): add a new function with no arg, change other version to
11396         not have def. arg and to not allow empty arg.
11397
11398         * text2.C (setCounter): remove empty arg from call to Counters::reset
11399
11400 2002-08-11  John Levon  <levon@movementarian.org>
11401
11402         * Makefile.am: add WordLangTuple.h
11403
11404 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11405
11406         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11407         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11408
11409         * insets/insettext.C: InsetList changes
11410
11411         * graphics/GraphicsSupport.C (operator()): InsetList changes
11412
11413         * toc.C (getTocList): InsetList changes
11414
11415         * paragraph_pimpl.[Ch]: InsetList changes
11416
11417         * paragraph.[Ch]: InsetList changes
11418
11419         * buffer.C (inset_iterator): InsetList changes
11420         (setParagraph): ditto
11421         * buffer.h (inset_iterator): ditto
11422         * iterators.C (operator++): ditto
11423         * iterators.h: ditto
11424
11425         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11426
11427         * InsetList.[Ch]: new files, most InsetList handling moved out of
11428         paragraph.C.
11429
11430         * BufferView2.C (removeAutoInsets): InsetList changes
11431         (lockInset): ditto
11432         (ChangeInsets): ditto
11433
11434 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11435
11436         * paragraph_pimpl.h (empty): new function
11437
11438         * paragraph.[Ch] (empty): new function
11439
11440         * other files: use the new Paragraph::empty function
11441
11442 2002-08-09  John Levon  <levon@movementarian.org>
11443
11444         * lyxtext.h: remove unused refresh_height
11445
11446 2002-08-09  John Levon  <levon@movementarian.org>
11447
11448         * Makefile.am:
11449         * sgml.h:
11450         * sgml.C:
11451         * buffer.C:
11452         * paragraph.h:
11453         * paragraph.C: move sgml char escaping out of paragraph
11454
11455         * paragraph.h:
11456         * paragraph.C: remove id setter
11457
11458         * buffer.C:
11459         * paragraph.C:
11460         * paragraph_pimpl.C: remove dead tex_code_break_column
11461
11462         * bufferview_funcs.C: small cleanup
11463
11464         * lyxfunc.C: remove dead proto
11465
11466         * lyxtext.h: make some stuff private. Remove some dead stuff.
11467
11468         * lyxgluelength.C: make as[LyX]String() readable
11469
11470 2002-08-08  John Levon  <levon@movementarian.org>
11471
11472         * LyXAction.h:
11473         * LyXAction.C:
11474         * MenuBackend.C:
11475         * ToolbarDefaults.C:
11476         * lyxfunc.C:
11477         * lyxrc.C:
11478         * toc.C: lyxaction cleanup
11479
11480 2002-08-08  John Levon  <levon@movementarian.org>
11481
11482         * BufferView2.C: small cleanup
11483
11484         * lyxfind.h:
11485         * lyxfind.C: move unnecessary header into the .C
11486
11487 2002-08-08  John Levon  <levon@movementarian.org>
11488
11489         * funcrequest.h: just tedious nonsense
11490
11491         * lyx_main.h:
11492         * lyx_main.C: cleanups
11493
11494         * buffer.C:
11495         * vspace.C: remove dead header lyx_main.h
11496
11497 2002-08-07  Angus Leeming  <leeming@lyx.org>
11498
11499         * Paragraph.[Ch]:
11500         * paragraph_pimpl.h:
11501         Forward declare class Counters in paragraph.h by moving the ctrs member
11502         variable into Paragraph::Pimpl.
11503         (counters): new method, returning a reference to pimpl_->ctrs.
11504
11505         * text2.C: ensuing changes.
11506
11507 2002-08-07  John Levon  <levon@movementarian.org>
11508
11509         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11510
11511         * BufferView_pimpl.C: announce X selection on double/triple
11512           click
11513
11514         * lyx_main.C: use correct bool in batch dispatch
11515
11516         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11517
11518 2002-08-07  André Pönitz <poenitz@gmx.net>
11519
11520         * funcrequest.h: new class to wrap a kb_action and its argument
11521
11522         * BufferView.[Ch]:
11523         * BufferView_pimpl[Ch]:
11524         * LaTeX.C:
11525         * LyXAction.[Ch]:
11526         * lyxfunc.[Ch]:
11527         * lyxrc.C: subsequent changes
11528
11529
11530 2002-08-07  John Levon  <levon@movementarian.org>
11531
11532         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11533           document options change.
11534
11535 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11536
11537         * counters.[Ch]
11538         * text2.C
11539         * paragraph.[Ch]
11540         * makefile.am: move counters functionality over from
11541         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11542
11543 2002-08-06  John Levon  <levon@movementarian.org>
11544
11545         * WordLangTuple.h: new file for word + language code tuple
11546
11547         * SpellBase.h:
11548         * pspell.h:
11549         * pspell.C:
11550         * ispell.h:
11551         * ispell.C:
11552         * lyxtext.h:
11553         * text.C:
11554         * text2.C:
11555         * BufferView.h:
11556         * BufferView2.C: use WordLangTuple
11557
11558         * layout.h:
11559         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11560
11561 2002-08-06  John Levon  <levon@movementarian.org>
11562
11563         * lyx_main.C: fix cmdline batch handling
11564
11565 2002-08-06  André Pönitz <poenitz@gmx.net>
11566
11567         * lyxrc.C: set default for show_banner to true
11568
11569 2002-08-06  John Levon  <levon@movementarian.org>
11570
11571         * pspell.C: fix a crash, and allow new aspell to work
11572
11573 2002-08-06  John Levon  <levon@movementarian.org>
11574
11575         * lyxfunc.C:
11576         * kbmap.C: small cleanup
11577
11578         * vspace.h:
11579         * vspace.C: add const
11580
11581 2002-08-05  John Levon  <levon@movementarian.org>
11582
11583         * LyXAction.C: back to tabular-insert
11584
11585 2002-08-04  John Levon  <levon@movementarian.org>
11586
11587         * BufferView.h:
11588         * BufferView.C: cosmetic change
11589
11590         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11591
11592         * bufferlist.C:
11593         * buffer.h:
11594         * buffer.C:
11595         * lyxcb.h:
11596         * lyxcb.C:
11597         * lyxserver.C:
11598         * lyxvc.C:
11599         * vc-backend.C:
11600         * BufferView2.C: purge all "Lyx" not "LyX" strings
11601
11602         * lyxcursor.h:
11603         * lyxcursor.C: attempt to add some documentation
11604
11605         * lyxfunc.C:
11606         * commandtags.h:
11607         * LyXAction.C:
11608         * ToolbarDefaults.C:
11609         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11610           merge with LFUN_TABULAR_INSERT
11611
11612         * Makefile.am:
11613         * SpellBase.h:
11614         * ispell.h:
11615         * ispell.C:
11616         * pspell.h:
11617         * pspell.C: split up i/pspell implementations into separate
11618           files, many cleanups
11619
11620         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11621
11622         * text2.C: some cleanup
11623
11624         * lyxfunc.C: don't check for isp_command == "none" any more, it
11625           didn't make any sense
11626
11627 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11628
11629         * counters.[Ch]
11630         * text2.C
11631         * paragraph.[Ch]
11632         * makefile.am: move counters functionality over
11633         from text2.C/paragraph.[Ch] to counters.[Ch], and
11634         make proper C++.
11635 2002-08-02  John Levon  <levon@movementarian.org>
11636
11637         * buffer.C: s/lyxconvert/lyx2lyx/
11638
11639 2002-08-02  Angus Leeming  <leeming@lyx.org>
11640
11641         * lyxlex.C: revert John's change as it breaks reading of the user
11642         preamble.
11643
11644 2002-08-02  Angus Leeming  <leeming@lyx.org>
11645
11646         * importer.C (Import):
11647         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11648         changes due to LyXView::view() now returning a boost::shared_ptr.
11649
11650 2002-08-02  John Levon  <levon@movementarian.org>
11651
11652         * lyxlex.C: small cleanup
11653
11654 2002-08-02  John Levon  <levon@movementarian.org>
11655
11656         * text2.C (status): small cleanup, no logic change
11657
11658 2002-08-01  John Levon  <levon@movementarian.org>
11659
11660         * buffer.h:
11661         * buffer.C (writeFile): don't output alerts, caller
11662           handles this
11663
11664         * bufferlist.C:
11665         * lyx_cb.C: from above
11666
11667         * lyxfunc.C: allow to open non-existent files
11668
11669 2002-07-31  John Levon  <levon@movementarian.org>
11670
11671         * lyxserver.C: don't let incidental errors get
11672           in the way (errno)
11673
11674 2002-07-30  John Levon  <levon@movementarian.org>
11675
11676         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11677
11678 2002-07-30  John Levon  <levon@movementarian.org>
11679
11680         * lyxserver.h:
11681         * lyxserver.C: remove I/O callback too
11682
11683 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11684
11685         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11686         log.
11687
11688 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11689
11690         * many files: strip,frontStrip -> trim,ltrim,rtrim
11691
11692 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11693
11694         * PrinterParams.h: remove extern containsOnly, and include
11695         support/lstrings.h instead.
11696
11697         * LaTeX.C (scanAuxFile): modify because of strip changes
11698         (deplog): ditto
11699         * buffer.C (makeLaTeXFile): ditto
11700         * bufferparams.C (writeFile): ditt
11701         * lyxfont.C (stateText): ditto
11702         * lyxserver.C (read_ready): ditto
11703         * vc-backend.C (scanMaster): ditto
11704
11705         * BufferView_pimpl.h: ws changes
11706
11707         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11708
11709 2002-07-26  André Pönitz <poenitz@gmx.net>
11710
11711         * kb_sequence.C: remove unnedred usings
11712
11713 2002-07-26  Juergen Vigna  <jug@sad.it>
11714
11715         * lyxfind.C (LyXReplace): we have to check better if the returned
11716         text is not of theLockingInset()->getLockingInset().
11717
11718 2002-07-25  Juergen Vigna  <jug@sad.it>
11719
11720         * lyxfind.C (LyXReplace): don't replace if we don't get the
11721         right LyXText.
11722
11723         * undo_funcs.C (createUndo): remove debugging code.
11724
11725 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11726
11727         * buffer.C (parseSingleLyXformat2Token): Use default placement
11728         when reading old floats.
11729
11730         * FloatList.C (FloatList): Change the default placement of figure
11731         and tables to "tbp".
11732
11733 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11734
11735         * MenuBackend.C: using std::max
11736
11737 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11738
11739         * MenuBackend.C (expandToc):
11740         (expandToc2): code moved from xforms menu frontend. It is now
11741         generic and TOCs are transparent to menu frontends.
11742
11743 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11744
11745         * toc.C (getTocList): protect against buf=0
11746
11747         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11748         Menu as first parameter. Now, this calls itself recursively to
11749         expand a whole tree (this will be useful for TOC handling)
11750         (expandFloatInsert): remove 'wide' version of floats
11751
11752         * MenuBackend.h (submenuname): returns the name of the submenu.
11753         (submenu): returns the submenu itself, provided it has been
11754         created by MenuBackend::expand
11755
11756 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11757
11758         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11759         insets which have noFontChange == true. (bug #172)
11760
11761 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * BufferView_pimpl.C: add connection objects and use them...
11764         (Pimpl): here.
11765
11766 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11767
11768         * MenuBackend.C (expandLastfiles):
11769         (expandDocuments):
11770         (expandFormats):
11771         (expandFloatListInsert):
11772         (expandFloatInsert):
11773         (expand): split expand in parts
11774
11775 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11776
11777         * lyx_gui.C: use lyx_gui::exit()
11778
11779 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11780
11781         * LyXAction.C: show the failing pseudo action
11782
11783 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11784
11785         * buffer.C (readFile): Run the lyxconvert script in order to read
11786         old files.
11787
11788 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11789
11790         * LyXAction.C:
11791         * commandtags.h:
11792         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11793
11794 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * LyXAction.C:
11797         * commandtags.h:
11798         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11799
11800 2002-07-22  Herbert Voss  <voss@lyx.org>
11801
11802         * lengthcommon.C:
11803         * lyxlength.[Ch]: add support for the vertical lengths
11804
11805 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11806
11807         * toc.[Ch]: std:: fixes
11808
11809 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810
11811         * lyxrc.C: do not include lyx_main.h
11812
11813         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11814         for layouts
11815
11816         * lyxrc.C:
11817         * encoding.C:
11818         * bufferlist.C:
11819         * BufferView2.C: include "lyxlex.h"
11820
11821         * tabular.h:
11822         * bufferparams.h: do not #include "lyxlex.h"
11823
11824         * lyxtextclasslist.C (Add): remove method
11825         (classlist): renamed to classlist_
11826
11827         * paragraph_pimpl.C:
11828         * paragraph.C:
11829         * text2.C:
11830         * CutAndPaste.C:
11831         * bufferview_funcs.C:
11832         * bufferlist.C:
11833         * text.C:
11834         * LaTeXFeatures.C:
11835         * buffer.C:
11836         * toc.C (getTocList): use BufferParams::getLyXTextClass
11837
11838         * toc.C (getTocList): use InsetFloat::addToToc
11839
11840         * toc.[Ch]: new files, containing helper functions to handle table
11841         of contents
11842
11843         * lyxfunc.C (dispatch): no need to remove spaces around command
11844         given as a string
11845         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11846         first command of the sequence; it is not very clever, but I do not
11847         have a better idea, actually
11848
11849         * LyXAction.C (LookupFunc): make sure to remove space at the
11850         beginning and end of the command
11851
11852 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * MenuBackend.C (getMenubar): new method: return the menubar of
11855         this menu set
11856         (read): treat differently reading of menu and menubar (in
11857         particular, the menubar has no name now)
11858         (Menu::menubar): remove
11859
11860         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11861         saving is finished
11862
11863 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11864
11865         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11866         a bibitem inset in a RTL paragraph.
11867
11868 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * paragraph_pimpl.C: constify
11871
11872         * BufferView_pimpl.C:
11873         * LaTeX.C:
11874         * lyxfunc.C: fix dispatch in a nicer way
11875
11876 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11877
11878         * lyxfunc.C (dispatch):
11879         * BufferView_pimpl.C:
11880         * BufferView_pimpl.h:
11881         * BufferView.C:
11882         * BufferView.h: rename Dispatch() to dispatch()
11883
11884         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11885
11886         * lyxlayout.C (Read): honor DependsOn tag
11887
11888         * lyxlayout.[Ch] (depends_on): new method
11889
11890         * version.C.in: update lyx_docversion
11891
11892         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11893
11894         * paragraph.C (validate): remove from here...
11895         * paragraph_pimpl.C (validate): ... and move here
11896         (isTextAt): make it const
11897
11898         * buffer.C (getLists): ws cleanup
11899
11900 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11901
11902         * language.C (read): Use iso8859-1 encoding in latex_lang
11903         (this prevents LyX from crashing when using iso10646-1 encoding).
11904
11905 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11906
11907         * text2.C (toggleInset): if cursor is inside an inset, close the
11908         inset and leave cursor _after_ it
11909
11910 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11911
11912         * lyxfunc.C: move minibuffer completion handling out of here
11913
11914 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * BufferView_pimpl.C:
11917         * LaTeX.C: fix dispatch calls
11918
11919 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11920
11921         * text.C (drawChars): Fix Arabic text rendering.
11922
11923 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * LyXAction.C:
11926         * commandtags.h:
11927         * lyxfunc.C: remove message-push/pop
11928
11929         * lyxserver.C:
11930         * lyxfunc.h:
11931         * lyxfunc.C: rationalise some code by removing verboseDispatch
11932           in favour of a bool argument to dispatch()
11933
11934 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * lyx_main.C (init): make sure to read symlinks as absolute paths
11937
11938 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * lyxfunc.h:
11941         * lyxfunc.C: no need for commandshortcut to be a member
11942
11943 2002-07-15  André Pönitz <poenitz@gmx.net>
11944
11945         * converter.C: add support for $$s (scripts from lib/scripts dir)
11946         * lyx_main.C: white space
11947
11948 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11949
11950         * bufferlist.C:
11951         * lyxrc.h:
11952         * lyxrc.C: remove second exit confirmation
11953
11954 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11955
11956         * BufferView.h:
11957         * BufferView.C:
11958         * BufferView2.C:
11959         * BufferView_pimpl.h:
11960         * BufferView_pimpl.C:
11961         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11962
11963 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11964
11965         * MenuBackend.C (expand): add numeric shortcuts to document menu
11966
11967         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11968
11969 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11970
11971         * lyxfont.C (setLyXFamily):
11972         (setLyXSeries):
11973         (setLyXShape):
11974         (setLyXSize):
11975         (setLyXMisc):
11976         (lyxRead):
11977         * debug.C (value):
11978         * buffer.C (asciiParagraph): use ascii_lowercase
11979
11980 2002-07-15  Mike Fabian  <mfabian@suse.de>
11981
11982         * lyxlex_pimpl.C (search_kw):
11983         * lyxlex.C (getLongString):
11984         * converter.h (operator<):
11985         * converter.C (operator<):
11986         * buffer.C (parseSingleLyXformat2Token):
11987         (asciiParagraph):
11988         * ToolbarDefaults.C (read):
11989         * MenuBackend.C (checkShortcuts):
11990         (read):
11991         * LColor.C (getFromGUIName):
11992         (getFromLyXName): use the compare_ascii_no_case instead of
11993         compare_no_case, because in turkish, 'i' is not the lowercase
11994         version of 'I', and thus turkish locale breaks parsing of tags.
11995
11996 2002-07-16  Angus Leeming  <leeming@lyx.org>
11997
11998         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11999         now takes a Buffer const & argument.
12000
12001 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * BufferView.C (resize): check there's a buffer to resize
12004
12005 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * lyxfunc.C: remove dead code
12008
12009         * lyxserver.h:
12010         * lyxserver.C: use lyx_guii::set_read_callback
12011
12012 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12013
12014         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12015         an inset in a RTL paragraph.
12016
12017 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * lyxfunc.C: repaint after a font size update
12020
12021 2002-07-15  André Pönitz <poenitz@gmx.net>
12022
12023         * lyxlength.C: inBP should be able to return negative values
12024
12025 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * lyxfunc.C: use lyx_gui::update_fonts()
12028
12029 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * lyxfunc.C: use lyx_gui::update_color()
12032
12033 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * bufferlist.C:
12036         * lyxfunc.h:
12037         * lyxfunc.C:
12038         * lyxrc.h:
12039         * lyxrc.C: remove file->new asks for name option, and let
12040           buffer-new take an argument
12041
12042 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * BufferView_pimpl.C: remove unneeded extra repaint()
12045
12046 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * LyXAction.C: allow command-sequence with NoBuffer
12049
12050         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12051
12052 2002-07-10  Angus Leeming  <leeming@lyx.org>
12053
12054         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12055
12056 2002-07-09  Angus Leeming  <leeming@lyx.org>
12057
12058         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12059
12060 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12061
12062         * lengthcommon.h: whitespace
12063
12064         * lyxfunc.C: update scrollbar after goto paragraph
12065
12066         * lyxtext.h: factor out page break drawing, and fix it so
12067           page break/added space paints as selected nicely
12068
12069 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12070
12071         * BufferView_pimpl.C: add FIXMEs, clean up a little
12072
12073 2002-07-09  André Pönitz <poenitz@gmx.net>
12074
12075         * lyxfont.[Ch]: support for wasy symbols
12076
12077 2002-07-08  André Pönitz <poenitz@gmx.net>
12078
12079         * BufferView_pimpl.C: apply John's patch for #93.
12080
12081 2002-07-05  Angus Leeming  <leeming@lyx.org>
12082
12083         * BufferView_pimpl.C (buffer): generate previews if desired.
12084
12085         * LColor.h: add "preview" to the color enum.
12086
12087         * LColor.C (LColor): add a corresponding entry to the items array.
12088
12089         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12090         with this buffer.
12091
12092 2002-07-05  Angus Leeming  <leeming@lyx.org>
12093
12094         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12095         The body of the code is now in the method that is passed an ostream &
12096         rather than a file name.
12097         Pass an additional only_preamble parameter, useful for the forthcoming
12098         preview stuff.
12099
12100 2002-07-03  André Pönitz <poenitz@gmx.net>
12101
12102         * lyxfunc.C: simplify getStatus() a bit for math stuff
12103
12104 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12105
12106         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12107
12108 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12109
12110         * text.C (changeRegionCase): do not change case of all the
12111         document when region ends at paragraph end (bug #461)
12112
12113 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12114
12115         * paragraph.C (startTeXParParams):
12116         (endTeXParParams): add \protect when necessary
12117
12118 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12119
12120         * BufferView_pimpl.C (workAreaExpose): remove warning
12121
12122 2002-06-27  Angus Leeming  <leeming@lyx.org>
12123
12124         * Makefile.am: add lyxlayout_ptr_fwd.h.
12125
12126 2002-06-26  André Pönitz <poenitz@gmx.net>
12127
12128         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12129
12130 2002-06-25  Angus Leeming  <leeming@lyx.org>
12131
12132         * lyxfunc.C (dispatch): Comment out the call to
12133         grfx::GCache::changeDisplay. The method no longer exists now that the
12134         pixmap generation part of the graphics loader has been moved into
12135         InsetGraphics.
12136
12137 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12138
12139         * text2.C: layout as layout
12140
12141         * text.C: layout as layout
12142
12143         * tabular.C (OldFormatRead): layout as layout
12144
12145         * paragraph_pimpl.C (TeXDeeper): layout as layout
12146         (realizeFont): layout as layout
12147
12148         * paragraph.C (writeFile): layout as layout
12149         (validate): layout as layout
12150         (getFont): layout as layout
12151         (getLabelFont): layout as layout
12152         (getLayoutFont): layout as layout
12153         (breakParagraph): layout as layout
12154         (stripLeadingSpaces): layout as layout
12155         (getEndLabel): layout as layout
12156         (getMaxDepthAfter): layout as layout
12157         (applyLayout): layout as layout
12158         (TeXOnePar): layout as layout
12159         (simpleTeXOnePar): layout as layout
12160         (TeXEnvironment): layout as layout
12161         (layout): layout as layout
12162         (layout): layout as layout
12163
12164         * lyxtextclass.C (compare_name): new functor to work with
12165         shared_ptr, layout as layout
12166         (Read): layout as layout
12167         (hasLayout): layout as layout
12168         (operator): layout as layout
12169         (delete_layout): layout as layout
12170         (defaultLayout): layout as layout
12171
12172         * lyxlayout_ptr_fwd.h: new file
12173
12174         * lyxlayout.C (Read): layout as layout
12175
12176         * lyx_cb.C (MenuInsertLabel): layout as layout
12177
12178         * bufferlist.C (newFile): layout as layout
12179
12180         * buffer.C (readLyXformat2): layout as layout
12181         (parseSingleLyXformat2Token): layout as layout
12182         (insertStringAsLines): layout as layout
12183         (asciiParagraph): layout as layout
12184         (latexParagraphs): layout as layout
12185         (makeLinuxDocFile): layout as layout
12186         (simpleLinuxDocOnePar): layout as layout
12187         (makeDocBookFile): layout as layout
12188         (simpleDocBookOnePar): layout as layout
12189         (getLists): layout as layout
12190
12191         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12192
12193         * CutAndPaste.C (cutSelection): layout as layout
12194         (pasteSelection): layout as layout
12195         (SwitchLayoutsBetweenClasses): layout as layout
12196
12197         * BufferView_pimpl.C (Dispatch): layout as layout
12198         (smartQuote): layout as layout
12199
12200         * BufferView2.C (unlockInset): layout as layout
12201
12202 2002-06-24  André Pönitz <poenitz@gmx.net>
12203
12204         * lyxfunc.C: fix #487
12205
12206 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * lyxrc.h:
12209         * lyxrc.C:
12210         * lyxfunc.C: remove display_shortcuts, show_banner
12211
12212 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12213
12214         * Buffer_pimpl.C: oops, update on resize
12215
12216 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * buffer.C:
12219         * converter.C:
12220         * exporter.C:
12221         * lyxfunc.C:
12222         * BufferView.h:
12223         * BufferView.C: use repaint()
12224
12225         * BufferView_pimpl.h:
12226         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12227           as it's a clearer description. Remove superfluous
12228           redraws.
12229
12230 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * text.C: fix bug 488. Not ideal, but getting
12233           getWord() to work properly for the insets that
12234           matter is more difficult ...
12235
12236 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12237
12238         * BufferView_pimpl.C:
12239         * LyXAction.C:
12240         * commandtags.h:
12241         * lyxfunc.C: remove the six million index lyxfuncs to just
12242           one, and DTRT (bug 458)
12243
12244 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12245
12246         * BufferView.h:
12247         * BufferView.C:
12248         * BufferView_pimpl.h:
12249         * BufferView_pimpl.C: clean up resize() stuff,
12250           and unnecessary updateScreen()s
12251
12252 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * BufferView.h:
12255         * BufferView.C:
12256         * BufferView_pimpl.h:
12257         * BufferView_pimpl.C:
12258         * lyxfind.h:
12259         * lyxfind.C:
12260         * minibuffer.C: remove focus management of workarea,
12261           not needed. Use screen's greyOut()
12262
12263 2002-06-17  Herbert Voss  <voss@lyx.org>
12264
12265         * converter.C: (convert) do not post a message, when converting
12266         fails, let the calling function decide what to do in this case
12267
12268 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * lyxfunc.C: tidy up a little
12271
12272 2002-06-16    <alstrup@diku.dk>
12273
12274         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12275         Got rid of FORMS_H_LOCATION include. Now we are
12276         GUII.
12277
12278 2002-06-15  LyX Development team  <lyx@rilke>
12279
12280         * buffer.[Ch] (sgmlOpenTag):
12281         (sgmlCloseTag): Added support for avoiding pernicious mixed
12282         content. Return number of lines written.
12283
12284         (makeLinuxDocFile):
12285         (makeDocBookFile): Fixed calls to sgml*Tag.
12286         Simple white space clean.
12287
12288         (simpleDocBookOnePar): Simple white space clean.
12289
12290         * tabular.[Ch] (docBook): Renamed to docbook and got another
12291         argument to related with the pernicious mixed content.
12292
12293         (docbookRow): Fixed calls for docbook inset method.
12294
12295 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12296
12297         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12298         so it's X11 independent.
12299
12300         * kb*.[Ch]: ditto.
12301
12302         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12303
12304 2002-06-15  Lyx Development team  <lyx@electronia>
12305
12306         * intl.h: Renamed getTrans to getTransManager.
12307
12308 2002-06-14  Angus Leeming  <leeming@lyx.org>
12309
12310         * Makefile.am: nuke forgotten stl_string_fwd.h.
12311
12312 2002-06-12  Angus Leeming  <leeming@lyx.org>
12313
12314         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12315
12316 2002-06-13  Angus Leeming  <leeming@lyx.org>
12317
12318         * LaTeX.C:
12319         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12320
12321 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12322
12323         * kbmap.C (getiso): add support for cyrillic and greek
12324
12325 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * BufferView.h:
12328         * BufferView.C:
12329         * BufferView_pimpl.h:
12330         * BufferView_pimpl.C: move bogus scrolling logic
12331           to xforms
12332
12333 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * lyxfunc.C:
12336         * BufferView_pimpl.C: view->resize() change
12337
12338 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * BufferView_pimpl.C: topCursorVisible
12341           prototype change
12342
12343 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12344
12345         * Makefile.am:
12346         * lyx_gui.h:
12347         * lyx_gui.C: move to frontends/
12348
12349         * main.C:
12350         * lyx_main.h:
12351         * lyx_main.C: changes from above
12352
12353 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12354
12355         * intl.C:
12356         * intl.h:
12357         * kbmap.C:
12358         * kbsequence.C:
12359         * lyx_cb.C:
12360         * lyx_main.C: minor tidy
12361
12362 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12363
12364         * BufferView_pimpl.h:
12365         * BufferView_pimpl.C:
12366         * BufferView.h:
12367         * BufferView.C: make painter() const,
12368           remove dead code
12369
12370         * BufferView2.C: use screen() accessor
12371
12372         * lyx_main.h:
12373         * lyx_main.C: some minor cleanup
12374
12375 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12376
12377         * BufferView_pimpl.h:
12378         * BufferView_pimpl.C: remove enter/leaveView,
12379           use workHeight()
12380
12381 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12382
12383         * BufferView.h:
12384         * BufferView.C:
12385         * BufferView2.C:
12386         * BufferView_pimpl.h:
12387         * BufferView_pimpl.C: only construct screen once,
12388           rename
12389
12390         * lyxrc.C: remove pointless comment
12391
12392 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12393
12394         * BufferView.h:
12395         * BufferView.C: remove active() and belowMouse()
12396
12397         * BufferView_pimpl.h:
12398         * BufferView_pimpl.C: use workarea() not workarea_,
12399           and make it use a scoped_ptr instead
12400
12401 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12402
12403         * lyx_gui.C: add debug message on BadWindow
12404
12405 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12406
12407         * sp_spell.C: fdopen is not part of the C++ standard.
12408
12409         * paragraph.C (InsetIterator): use >= instead of ==
12410
12411 2002-06-07  Angus Leeming  <leeming@lyx.org>
12412
12413         Fixes needed to compile with Compaq cxx 6.5.
12414         * BufferView_pimpl.C:
12415         * DepTable.C:
12416         * buffer.C:
12417         * converter.C:
12418         * encoding.C:
12419         * lyx_gui.C:
12420         * lyx_main.C:
12421         * lyxtextclasslist.C:
12422         * minibuffer.C:
12423         * sp_spell.C:
12424         * tabular_funcs.C:
12425         * vc-backend.C:
12426         all c-library variables have been moved into namespace std. Wrap
12427         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12428
12429         * lyxlength.C:
12430         * tabular-old.C:
12431         * tabular.C:
12432         Add a using std::abs declaration.
12433
12434         * kbmap.h (modifier_pair):
12435         * paragraph.h (InsetTable, InsetList):
12436         * lyxfont.h (FontBits):
12437         type definition made public.
12438
12439         * bufferlist.C (emergencyWriteAll): the compiler complains that
12440         there is more than one possible lyx::class_fun template to choose from.
12441         I re-named the void specialisation as lyx::void_class_fun.
12442
12443         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12444
12445         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12446         the compiler is is unable to find tostr in write_attribute.
12447
12448 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12449
12450         * buffer.C (sgmlError): hide #warning
12451
12452 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12453
12454         * xtl/*: get rid of xtl, which is not in use anyway
12455
12456         * LyXAction.C (init):
12457         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12458         were unimplemented xtl experimentation
12459
12460 2002-06-04  André Pönitz <poenitz@gmx.net>
12461
12462         * lyxfunc.C: disable array operation on simple formulae
12463
12464 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * converter.C: constify a bit
12467
12468 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12469
12470         * lyx_gui.C: check xforms version correctly
12471
12472 2002-04-30  Herbert Voss  <voss@lyx.org>
12473
12474         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12475         "keep" option
12476
12477 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12480           attempt to register it with a VCS)
12481
12482 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12483
12484         * lyx_main.C (init): honor variables LYX_DIR_13x and
12485         LYX_USERDIR_13x
12486
12487 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12488
12489         * buffer.h:
12490         * buffer.C:
12491         * lyx_main.C: fix a crash on bad command line,
12492           and give a useful exit status on error
12493
12494         * lyxfunc.C (doImport): allow -i lyx to work
12495
12496 2002-03-30  André Pönitz <poenitz@gmx.net>
12497
12498         * lyxfunc.C: mathed font changes
12499
12500 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * LaTeX.C:
12503         * importer.h:
12504         * importer.C:
12505         * lyx_sty.h:
12506         * lyx_sty.C:
12507         * lyxlex.C:
12508         * lyxrow.h:
12509         * lyxtext.h:
12510         * paragraph.h:
12511         * paragraph.C:
12512         * texrow.h:
12513         * texrow.C:
12514         * text.C:
12515         * trans_mgr.h: srcdocs, and some minor cleanups
12516
12517 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12518
12519         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12520         call getFont all the time)
12521
12522 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12523
12524         * switch from SigC signals to boost::signals
12525
12526 2002-05-29  André Pönitz <poenitz@gmx.net>
12527
12528         * paragraph_pimpl.C (getChar): don't call size() too often...
12529
12530 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12531
12532         * paragraph_pimpl.C (insertChar): do not try to update tables when
12533         appending (pos == size())
12534
12535         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12536         in order to reduce drastically the number of comparisons needed to
12537         parse a large document
12538
12539 2002-05-29  André Pönitz <poenitz@gmx.net>
12540
12541         * text.C:
12542         * text2.C:
12543         * lyxtextclass.C:
12544         * sp_pspell.h:
12545         * textclasslist.[Ch]:
12546         * sp_ispell.h: whitespace change
12547
12548 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12549
12550         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12551         lyxaction directly now.
12552
12553 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12554
12555         * trans.C:
12556         * lyxfont.C:
12557         * lyxvc.C: remove unused headers
12558
12559 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12560
12561         * Makefile.am:
12562         * buffer.h:
12563         * undostack.h:
12564         * undostack.C:
12565         * undo_funcs.h:
12566         * undo_funcs.C: some cleanups. Use shared_ptr
12567           and a template for the undo stacks.
12568
12569 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12570
12571         * BufferView_pimpl.h:
12572         * BufferView_pimpl.C:
12573         * kbmap.h:
12574         * kbmap.C:
12575         * kbsequence.h:
12576         * kbsequence.C:
12577         * lyxfunc.h:
12578         * lyxfunc.C:
12579         * text2.C: use key_state/mouse_state
12580
12581 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12582
12583         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12584         and LSubstring
12585
12586         * chset.C: change include order
12587         (loadFile): use boost regex and get rid of LRegex and LSubstring
12588
12589         * Makefile.am (BOOST_LIBS): new variable
12590         (lyx_LDADD): use it
12591
12592         * LaTeX.C: change include order.
12593         (scanAuxFile): use boost regex and get rid of LRegex and
12594         LSubstring
12595         (deplog): ditto
12596
12597 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12598
12599         * ColorHandler.h:
12600         * ColorHandler.C:
12601         * FontInfo.h:
12602         * FontInfo.C: moved to frontends/xforms/
12603
12604         * FontLoader.h:
12605         * FontLoader.C: moved into frontends for GUIIzation
12606
12607         * Makefile.am:
12608         * lyx_gui.C:
12609         * lyxfont.C:
12610         * lyxfunc.C: changes from above
12611
12612 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12613
12614         * LColor.C: remove spurious X include
12615
12616         * BufferView_pimpl.C:
12617         * Makefile.am:
12618         * font.h:
12619         * font.C:
12620         * text.C:
12621         * text2.C: move font metrics to frontends/
12622
12623 2002-05-24  Juergen Vigna  <jug@sad.it>
12624
12625         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12626         setting the undo_cursor.
12627
12628         * ParagraphParameters.h: include local includes first.
12629
12630 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12631
12632         * BufferView_pimpl.C:
12633         * BufferView_pimpl.h:
12634         * Makefile.am:
12635         * WorkArea.h:
12636         * WorkArea.C:
12637         * screen.C: move WorkArea into frontends/
12638
12639         * lyxscreen.h:
12640         * screen.C:
12641         * text.C:
12642         * BufferView.C:
12643         * BufferView2.C: move LyXScreen into frontends/
12644
12645         * lyxlookup.h:
12646         * lyxlookup.C:
12647         * lyx_gui.C: move lyxlookup into frontends/xforms/
12648
12649 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * BufferView2.C:
12652         * BufferView_pimpl.C:
12653         * FontLoader.C:
12654         * LyXView.h:
12655         * LyXView.C:
12656         * Makefile.am:
12657         * WorkArea.C:
12658         * XFormsView.h:
12659         * XFormsView.C:
12660         * buffer.C:
12661         * bufferlist.C:
12662         * bufferview_funcs.C:
12663         * converter.C:
12664         * importer.C:
12665         * lyx_cb.C:
12666         * lyx_gui.C:
12667         * lyx_main.C:
12668         * lyx_find.C:
12669         * lyxfunc.C:
12670         * lyxvc.C:
12671         * minibuffer.C:
12672         * text.C:
12673         * text2.C:
12674         * trans.C:
12675         * vc-backend.C: move LyX/XFormsView into frontends/
12676
12677 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12678
12679         * Makefile.am:
12680         * PainterBase.C:
12681         * PainterBase.h:
12682         * Painter.C:
12683         * Painter.h:
12684         * WorkArea.C:
12685         * WorkArea.h:
12686         * screen.C:
12687         * tabular.C:
12688         * text.C:
12689         * text2.C: move Painter to frontends/
12690
12691 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * buffer.C: comment out some some code that depend upon lyx_format
12694         < 220
12695
12696         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12697         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12698
12699         * buffer.h (NO_COMPABILITY): turn off compability
12700
12701         * ColorHandler.C: include scoped_array.hpp
12702
12703         * font.C: Use more specific smart_ptr header.
12704         * Painter.C: ditto
12705         * gettext.C: ditto
12706         * ShareContainer.h: ditto
12707         * lyx_main.h: ditto
12708         * kbmap.h: ditto
12709         * FontInfo.h: ditto
12710         * BufferView_pimpl.h: ditto
12711         * ColorHandler.h: ditto
12712
12713         * kbmap.C (defkey): change call to shared_ptr::reset
12714
12715 2002-05-21  Juergen Vigna  <jug@sad.it>
12716
12717         * buffer.C (insertErtContents): fix to insert ert asis if it is
12718         non empty. Skip it completely if it contains only whitespaces.
12719
12720 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12721
12722         * BufferView_pimpl.C:
12723         * BufferView2.C: clear selection on paste (bug 393)
12724
12725 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12726
12727         * DepTable.C: include ctime
12728
12729 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12730
12731         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12732
12733 2002-05-14  Juergen Vigna  <jug@sad.it>
12734
12735         * text.C (breakParagraph): fixed function to honor the keepempty
12736         layout in the right maner and also to permit the right breaking
12737         algorithm on empty or non empyt keepempty paragraphs.
12738
12739         * paragraph.C (breakParagraph): we have to check also if the par
12740         is really empty (!size()) for isempty otherwise we do the wrong
12741         paragraph break.
12742
12743 2002-05-10  Juergen Vigna  <jug@sad.it>
12744
12745         * buffer.[Ch] : The following are only changes to the ert
12746         compatibility read reading old LaTeX layout and font stuff and
12747         convert it to ERTInsets.
12748
12749         * buffer.h: added isErtInset().
12750
12751         * buffer.C (struct ErtComp): add a fromlayout bool to check
12752         if we're inside a LaTeX layout.
12753         (isErtInset): new helper function.
12754         (insertErtContents): look for other ert insets before this one
12755         and insert the contents there, so that we don't have subsequent
12756         ERT insets with nothing between them. This way we create only one
12757         inset with multiple paragraphs. Also check if we don't insert only
12758         spaces ' ' as they are ignored anyway afterwards in the .tex file
12759         so if we have only spaces we will ignore this latex part in the
12760         new file.
12761         (parseSingleLyXformat2Token \\layout): better compatibility when
12762         reading layout-latex stuff.
12763         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12764         language tag.
12765         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12766         stuff after reading the inset only get the information back from
12767         the stack.
12768
12769 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12770
12771         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12772
12773         * LaTeXFeatures.C (getBabelOptions): New method.
12774
12775 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * BufferView_pimpl.C (Dispatch): work around missing argument for
12778         'layout'
12779
12780 2002-05-08  Juergen Vigna  <jug@sad.it>
12781
12782         * text.C (leftMargin): handle paragraph leftindent.
12783
12784         * paragraph.C (writeFile): write the new \\leftindent tag.
12785         (validate): handle leftindent code.
12786         (TeXEnvironment): handle paragraphleftindent code again.
12787
12788         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12789
12790         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12791         for paragrap_extra indent code and new token \\leftindent.
12792         (latexParagraphs): handle the leftindent as environment.
12793
12794         * ParameterStruct.h: added leftindent support.
12795
12796         * ParagraphParameters.C (leftIndent): added support functions for
12797         the paragraph left indent.
12798
12799         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12800         more appropriate.
12801
12802 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12803
12804         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12805         inside insetERT.
12806
12807         * text.C (computeBidiTables): No bidi in insetERT.
12808
12809         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12810         in RTL documents.
12811
12812 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * version.C.in: pre 5
12815
12816 2002-05-02  José Matos  <jamatos@fep.up.pt>
12817         * buffer.C (makeDocBookFile): white space changes, add newline to
12818         command styles.
12819         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12820
12821         * tabular.C (docBook): fix typo.
12822
12823 2002-05-03  Juergen Vigna  <jug@sad.it>
12824
12825         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12826         change in LyXText as we can not be sure it was not freed.
12827         (drawOneRow): remove unused code.
12828
12829         * text.C (drawInset): redo the calculation of the need_break_row as
12830         it could have a row which was already freed.
12831         (draw): look at the return value of drawInset and return false if
12832         it also returned false.
12833         (paintRowText): look at the return value of draw and return false if
12834         it also returned false.
12835
12836         * lyxtext.h: added bool return type to drawInset() and draw() so that
12837         if we have a change in the row so that the rowbreak has to be redone
12838         we abort drawing as it will be called again.
12839
12840 2002-05-02  Juergen Vigna  <jug@sad.it>
12841
12842         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12843         a change in the maintext also if we're inside an inset.
12844         (Dispatch): set the cursor again after a break line and after the
12845         screen has been updated as it could be we're in a different row.
12846
12847         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12848         to set the cursor behind the pargraph with > size().
12849         (setCursor): check also for the same paragraph when checking where
12850         to put the cursor if we have a NFR inset.
12851
12852         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12853         parts of layout read further up as it still was in the wrong
12854         position.
12855
12856 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * screen.C (drawFromTo): change sine fullRebreak always return
12859         true.
12860
12861         * buffer.C (parseSingleLyXformat2Token): reindent some
12862
12863         * BufferView_pimpl.C (update): change since fullRebreak always
12864         return true.
12865         (Dispatch): git rid of the last hardcoded "Standard"s.
12866
12867 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * text2.[Ch] (fullRebreak): make it return void now that we always
12870         returned true.
12871
12872 2002-04-30  Juergen Vigna  <jug@sad.it>
12873
12874         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12875         ert compatibility check for "latex" layout.
12876
12877 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12878
12879         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12880         minipages: use col% instead of p%, and also use the current font.
12881         (makeLaTeXFile): Fix use babel condition.
12882         (parseSingleLyXformat2Token): Correct font when reading old floats.
12883
12884 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12885
12886         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12887         inserting list of floats.
12888
12889 2002-04-25  Herbert Voss  <voss@lyx.org>
12890
12891         * MenuBackend.C (expand): don't add the graphics extensions to the
12892         export menu
12893
12894 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12895
12896         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12897         non-existing layout, do not complain if it was the default layout
12898         of the original class (bug #342)
12899
12900 2002-04-24  Juergen Vigna  <jug@sad.it>
12901
12902         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12903         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12904
12905 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12906
12907         * buffer.C (getBibkeyList): If using \bibliography, return the
12908         option field with the reference itself. Enables us to provide natbib
12909         support when using \bibliography.
12910
12911 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12912
12913         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12914
12915         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12916         natbib is provided by the LaTeX class.
12917
12918 2002-04-23  Juergen Vigna  <jug@sad.it>
12919
12920         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12921         Wakeup functions.
12922
12923         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12924
12925 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12926
12927         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12928
12929         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12930         ensuremath around textordmasculine, textordfeminine and
12931         textdegree.
12932
12933 2002-04-19  Juergen Vigna  <jug@sad.it>
12934
12935         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12936         reinitializing the buffer otherwise row-dimensions may be wrong.
12937         (update): reset also the selection cursors if they do exits otherwise
12938         their x/y positions may be wrong.
12939
12940         * text2.C (cursorDown): don't enter the inset if we came from a row
12941         above and are one row over the inset.
12942
12943         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12944         really leaving an inset.
12945
12946 2002-04-18  Juergen Vigna  <jug@sad.it>
12947
12948         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12949         of the selected paragraph does not have the selected layout also if
12950         the last one had!
12951
12952         * text2.C (setLayout): fixed bug which did not change last selected
12953         paragraph.
12954
12955         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12956         changed the read and substituted \\end_float with \\end_inset!
12957
12958         * BufferView_pimpl.C (cursorPrevious):
12959         (cursorNext): fixed to make it work with rows heigher than the work
12960         area without moving the cursor only the draw of the row.
12961         (workAreaMotionNotify): fix jumping over high rows.
12962
12963 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12966         Ressler.
12967
12968 2002-04-16  Juergen Vigna  <jug@sad.it>
12969
12970         * text2.C (setCursor): set also the irow().
12971         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12972         (cursorUp):
12973         (cursorDown): support for locking an inset if the x_fix value goes
12974         inside it. That way I can transverse insets too with cursor up/down.
12975
12976         * lyxrow.h: added irow helper function same as other (i) functions.
12977
12978         * BufferView_pimpl.C (cursorPrevious):
12979         (cursorNext): fixed for insets!
12980
12981 2002-04-15  Juergen Vigna  <jug@sad.it>
12982
12983         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12984         position otherwise it is wrong in some cases.
12985
12986         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12987         inside the inset before the call.
12988
12989 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12990
12991         * buffer.[Ch] (getBibkeyList): make it const.
12992
12993 2002-04-12  Juergen Vigna  <jug@sad.it>
12994
12995         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12996
12997         * text2.C (getCursorX): new helper function
12998         (setCursor): compute also ix_
12999         (setCursorFromCoordinates): set also ix.
13000
13001         * lyxcursor.h: added ix_ and helper functions.
13002
13003         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13004
13005         * buffer.C (insertStringAsLines): dont break paragraph if the this
13006         paragraph is inside an inset which does not permit it!
13007
13008         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13009         also with no chars on this paragraph.
13010         (paintRowText): only paint stuff if it's inside the workarea!
13011
13012         * paragraph.C (breakParagraph): honor keepempty flag and break the
13013         paragraph always below not above.
13014
13015         * BufferView2.C (unlockInset): update the paragraph layout on inset
13016         unlock as we changed paragraph in such a case.
13017
13018         * lyxfind.C (LyXFind): clear the former selection if not found!
13019
13020         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13021         again called in insertChar().
13022
13023         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13024         an inset which uses the whole row!
13025         (rightMargin): ditto.
13026         (insertChar): force a rebreak if we inserted an inset!
13027
13028 2002-03-28  Herbert Voss  <voss@lyx.org>
13029
13030         * lyxlength.[Ch]: add inBP() to get the right PS-point
13031         units (BigPoint). With inPixels we have rounding errors
13032
13033 2002-04-11  Juergen Vigna  <jug@sad.it>
13034
13035         * text2.C (setCursorFromCoordinates): set iy to the right value.
13036         (setCursor): add check if row->previous exists!
13037
13038         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13039         an old float_type as this was the case in the old code!
13040
13041         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13042
13043         * BufferView2.C (showLockedInsetCursor): use iy
13044         (fitLockedInsetCursor): ditto
13045
13046         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13047         locked insets as there we have the right value now.
13048
13049         * lyxcursor.C: added iy_ variable and iy functions to set to the
13050         baseline of cursor-y of the locked inset.
13051
13052         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13053         (setCursor): fixed for insets which need a full row.
13054
13055         * text.C (rowLastPrintable): don't ignore the last space when before
13056         an inset which needs a full row.
13057         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13058         as last character of a row when before a inset which needs a full row.
13059
13060 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13061
13062         * version.C.in: update date
13063
13064         * text2.C (fullRebreak): try to always return true and see what
13065         happens...
13066
13067 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13068
13069         * MenuBackend.C (expand): use Floating::listName
13070
13071         * FloatList.C (FloatList): add listName argument to the built-in
13072         floats
13073
13074         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13075         text associated with the float.
13076
13077 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13078
13079         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13080
13081 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13082
13083         * ShareContainer.h: add a couple of missing typenames.
13084
13085 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13086
13087         * lyxrc.C (getDescription): use _() correctly rather than N_().
13088
13089 2002-03-28  Herbert Voss  <voss@lyx.org>
13090
13091         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13092         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13093
13094 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13095
13096         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13097         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13098
13099 2002-03-29  Juergen Vigna  <jug@sad.it>
13100
13101         * lyxfunc.C (dispatch): add a missing fitCursor call.
13102
13103         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13104         it was scrolled by a cursor move, so return the bool status.
13105
13106         * BufferView.C (fitCursor): return the bool flag also to the outside
13107         world as this is needed.
13108
13109         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13110
13111         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13112         call the edit() as it is not needed (and wrong) IMO.
13113         (workAreaButtonPress): set the screen_first variable before evt.
13114         unlock the inset as this may change screen_first and then we have
13115         a wrong y position for the click!
13116
13117 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13118
13119         * MenuBackend.C (expand): another translation that I missed
13120
13121 2002-03-28  Juergen Vigna  <jug@sad.it>
13122
13123         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13124
13125         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13126
13127 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13128
13129         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13130
13131         * MenuBackend.C (expand): fix export/view/update when there is no
13132         document open.
13133
13134 2002-03-27  Herbert Voss  <voss@lyx.org>
13135
13136         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13137         and text%
13138
13139 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13140
13141         * bufferview_funcs.C (currentState): only show paragraph number
13142         for is DEVEL_VERSION is set.
13143
13144         * lyxfunc.C (dispatch): put warning in INFO channel
13145
13146         * MenuBackend.C (expand): translate the name of floats
13147
13148         * FloatList.C (FloatList): mark the float names for translation
13149
13150         * converter.C (convert): use LibScriptSearch
13151
13152 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13153
13154         * MenuBackend.C (defaults): fix default menu (we might as well get
13155         rid of it...)
13156
13157 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13158
13159         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13160         directory.
13161
13162 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * lyxvc.C: reorder includes.
13165
13166 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13167
13168         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13169           properly
13170
13171 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13172
13173         * CutAndPaste.C: change layouts earlier on paste
13174           to avoid crashing when calling getFont()
13175
13176 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13177
13178         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13179         irritating #error.
13180
13181 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * WorkArea.C: remove 'Pending' debug message.
13184
13185         * most files: ws cleanup
13186
13187         * buffer.[Ch]: ws changes
13188
13189         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13190
13191 2002-03-21  Juergen Vigna  <jug@sad.it>
13192
13193         * tabular.C (SetMultiColumn): collapse also the contents of the
13194         cells and set the last border right. Added a Buffer const * param.
13195
13196 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13197
13198         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13199         linking or not.
13200
13201 2002-03-19  Juergen Vigna  <jug@sad.it>
13202
13203         * text2.C (clearSelection): reset also xsel_cache.
13204
13205         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13206         where it needs to be called (John tells us to do so too :)
13207         (selectionLost): reset sel_cache.
13208
13209         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13210
13211 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13212
13213         * text2.C (setCursorIntern): put debuging code in INSETS channel
13214
13215 2002-03-19  André Pönitz <poenitz@gmx.net>
13216
13217         * lyxfunc.C: tiny whitespace change
13218
13219 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13220
13221         * ToolbarDefaults.C (init):
13222         * LyXAction.C (init):
13223         * commandtags.h:
13224         * BufferView_pimpl.C (Dispatch):
13225         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13226
13227 2002-03-19  Allan Rae  <rae@lyx.org>
13228
13229         * exporter.C (Export): removeAutoInsets before doing anything else.
13230         While I've just introduced a dependency on BufferView this really is
13231         the best place to clean the buffer otherwise you need to cleanup in
13232         a dozen places before calling export or cleanup in a dozen functions
13233         that export calls.
13234
13235         * converter.C (runLaTeX):
13236         (scanLog): Better handling of removeAutoInsets and screen updates.
13237
13238         * lyxfunc.C (dispatch): small whitespace changes
13239
13240 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13241
13242         * WorkArea.C (C_WorkAreaEvent): return a value.
13243         (event_cb): return 1 if we handled the event, 0 otherwise.
13244
13245         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13246
13247 2002-03-18  Juergen Vigna  <jug@sad.it>
13248
13249         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13250         (GetAdditionalWidth): ditto.
13251         (RightLine): ditto.
13252         (LeftLine): ditto.
13253
13254         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13255         inset if we're there actually (probably not used right now but this
13256         is the direction to go for unifying code).
13257         (paste): disable code to clear the selection.
13258
13259         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13260         inside an InsetText and move the check further up as it is in the
13261         wrong place.
13262
13263         * text2.C (pasteSelection): set a selection over the pasted text.
13264
13265 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13266
13267         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13268         and libgraphics to build on Cygwin.
13269
13270 2002-03-15  Juergen Vigna  <jug@sad.it>
13271
13272         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13273         inserting an Inset into the paragraph. I know this is not the best
13274         fix but we already use current_view in CutAndPaste so we will remove
13275         all of it's using at the same time.
13276
13277         * buffer.C (sgmlError): deactivated function till it is rewritten in
13278         the right mode, now it can create problems.
13279
13280         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13281         before accessing it.
13282
13283 2002-03-14  Juergen Vigna  <jug@sad.it>
13284
13285         * undo_funcs.C (textHandleUndo): do the right thing when updating
13286         the inset after the undo/redo.
13287
13288         * text2.C (setCursor): just some testcode for #44 not ready yet.
13289
13290         * undo_funcs.C (textHandleUndo): set the next() and previous()
13291         pointers of the paragraph to 0 before deleting otherwise we have
13292         problems with the Paragraph::[destructor].
13293
13294         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13295         on a paragraph insertion.
13296
13297 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * buffer.C (asciiParagraph): use += operator for char append to
13300         string.
13301
13302         * paragraph.C (getFontSettings): compare >= not just >
13303         (highestFontInRange): ditto
13304         (setFont): ditto
13305
13306 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13307
13308         * paragraph.C: change several algorithm to be more appripriate for
13309         the problem domain. This is lookip in FontList and in the InsetList.
13310
13311 2002-03-13  André Pönitz <poenitz@gmx.net>
13312
13313         * commandtags.h:
13314         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13315
13316 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13317
13318         * commandtags.h:
13319         * LyXAction.C:
13320         * lyxfunc.C:
13321         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13322
13323 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13324
13325         * Painter.C (display): anon helper function, adjust code for this
13326         change.
13327         (pixmap): remove function.
13328
13329         * Painter.h: remove private display variable.
13330
13331         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13332
13333 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13334
13335         * WorkArea.[Ch]: remove figinset_canvas cruft.
13336
13337 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13338
13339         * lyxtextclass.C (operator): add one item cache optimization.
13340
13341         * bufferlist.h: doxy changes
13342
13343         * bufferlist.C: ws changes
13344
13345         * DepTable.[Ch] (ext_exist): place const in the right spot.
13346
13347         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13348         call resizeInsets.
13349         (workAreaExpose): call resizeInsets when the with BufferView changes.
13350         (Dispatch): adjust for protectedBlank removal
13351         (specialChar): call updateInset if the insert went ok.
13352
13353         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13354         specialChar instead.
13355
13356         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13357
13358         * BufferView.h: doxy change
13359
13360         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13361
13362         * lyxtextclass.C (operator[]): remove non-const version
13363         (defaultLayout): remove non-const version
13364
13365 2002-03-12  Juergen Vigna  <jug@sad.it>
13366
13367         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13368         did resize the LyXText too.
13369
13370         * buffer.C (readLyXformat2): set layout information on newly allocated
13371         paragraphs.
13372
13373         * tabular.C (OldFormatRead): set layout information on the paragraph.
13374
13375 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13376
13377         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13378
13379 2002-03-11  Juergen Vigna  <jug@sad.it>
13380
13381         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13382         plainly wrong.
13383         (resizeCurrentBuffer): force also the insets to resize themselfes.
13384         (moveCursorUpdate): fixed up for InsetText.
13385
13386 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13387
13388         * commandtags.h:
13389         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13390         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13391         value of Dialogs::tooltipsEnabled().
13392         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13393
13394 2002-03-08  Juergen Vigna  <jug@sad.it>
13395
13396         * BufferView_pimpl.C (updateInset): update inset inside inset also
13397         if it isn't inside theLockingInset().
13398
13399 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13400
13401         * buffer.C (asciiParagraph): redo some of the word and line length
13402         handling.
13403         (getLists): look for Caption instead of caption.
13404
13405 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13406
13407         * buffer.C (Buffer): initialize niceFile to true
13408         (makeLaTeXFile):
13409         (makeLinuxDocFile):
13410         (makeDocBookFile): make sure niceFile is true on exit
13411
13412 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13413
13414         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13415
13416 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13417
13418         * LyXSendto.C: remove.
13419         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13420         * lyx_gui.C: remove now-redundant comment.
13421         * ColorHandler.h: remove forward declaration of class WorkArea.
13422         * lyxfunc.C: remove #include "WorkArea.h".
13423
13424 2002-03-07  Juergen Vigna  <jug@sad.it>
13425
13426         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13427         got moved away with the DEPM and also set the inset_owner always
13428         right which before could have been omitted.
13429
13430 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13431
13432         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13433         wanted layout is not found.
13434
13435 2002-03-07  Juergen Vigna  <jug@sad.it>
13436
13437         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13438
13439 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13440
13441         * paragraph.C (breakParagraph): use default layout not layout of
13442         prev paragraph.
13443         (Paragraph): clear ParagraphParameters.
13444
13445 2002-03-06  Juergen Vigna  <jug@sad.it>
13446
13447         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13448         otherwise it would not be a valid lenght. Fixed a special case in
13449         the minipage compatibility read where we end the document with a
13450         minipage.
13451
13452         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13453         was set as it could be 0 for InsetTexts first entry.
13454
13455 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13456
13457         * paragraph.C (writeFile): if layout is empty write out
13458         defaultLayoutName().
13459
13460         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13461         file without named layout we set layout to defaultLayoutName().
13462
13463 2002-03-06  Juergen Vigna  <jug@sad.it>
13464
13465         * CutAndPaste.C (copySelection): set layout for new paragraph.
13466
13467         * text.C (prepareToPrint): leave ERT inset left aligned
13468         (leftMargin): don't indent paragraphs inside ERT insets
13469
13470 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * paragraph.C (breakParagraph): dont call clear do the work manually
13473
13474         * paragraph.[Ch] (clear): remove function
13475
13476 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * paragraph.C (Paragraph): dont call clear, the work has already
13479         been done.
13480
13481         * lyxtextclass.C (operator): assert if n is empty
13482
13483         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13484         work manually instead.
13485
13486 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13487
13488         * BufferView_pimpl.C: protect selectionLost against text == 0
13489
13490 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13491
13492         * text.C (breakParagraph): fix a setting layout to '0' problem.
13493
13494 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13495
13496         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13497         final location of file, for the included files, and graphics.
13498
13499 2002-03-05  Juergen Vigna  <jug@sad.it>
13500
13501         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13502
13503 2002-03-04  Juergen Vigna  <jug@sad.it>
13504
13505         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13506
13507         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13508         last column of multicolumn cells.
13509         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13510
13511 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13512
13513         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13514         file if it doesn't go to a temporary file.
13515
13516         * buffer.C (sgmlOpenTag):
13517         (sgmlCloseTag):  remove extra newline insertion.
13518
13519 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13520
13521         * text.C (getRowNearY): comment out debug msg
13522
13523 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * text2.C: first -> first_y
13526
13527         * text.C (getRowNearY): add some attemts at a possible
13528         optimization, not working.
13529
13530         * tabular.[Ch]: add BufferParams to several function so that newly
13531         created paragraph can be initialized to he default layotu for the
13532         buffers textclass.
13533
13534         * tabular-old.C (ReadOld): add buf->params to call of Init
13535
13536         * screen.C: rename text->first to text->first_y
13537
13538         * paragraph.C (breakParagraph): always set layout in the broken
13539         paragraph
13540
13541         * lyxtextclass.C (Read): remove lowercase
13542         (hasLayout): ditto
13543         (operator): ditto
13544         (delete_layout): ditto
13545
13546         * lyxtext.h: rename first -> first_y
13547
13548         * lyxlayout.C (Read): remove lowercase
13549         (name): ditto
13550         (setName): ditto
13551         (obsoleted_by): ditto
13552
13553         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13554
13555         * buffer.C (insertErtContents): add params are to InsetERT
13556         (parseSingleLyXformat2Token): add code to check if a paragraphs
13557         layout really exist.
13558         (parseSingleLyXformat2Token): add params to several inset
13559         constructors
13560         (asciiParagraph): remove lowercase, do the layout comparisons with
13561         no_case
13562
13563         * BufferView_pimpl.C (cursorNext): first -> first_y
13564         (resizeCurrentBuffer): first -> first_y
13565         (updateScrollbar): first -> first_y
13566         (scrollCB): first -> first_y
13567         (workAreaMotionNotify): first -> first_y
13568         (workAreaButtonPress): first -> first_y
13569         (checkInsetHit): first -> first_y
13570         (cursorPrevious): first -> first_y
13571         (cursorNext): first -> first_y
13572         (Dispatch): add buffer_->params to severl inset contructors
13573
13574 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * lyxlayout.C (Read): remove some debug info that I forgot.
13577
13578         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13579         clean up the code slightly.
13580         (makeLinuxDocFile): ditto
13581         (makeDocBookFile): ditto
13582
13583         * text2.C: layout as string
13584
13585         * text.C: layout as string
13586
13587         * paragraph_pimpl.C: layout as string
13588
13589         * paragraph.[Ch]: layout as string
13590
13591         * lyxtextclasslist.[Ch]: layout as string
13592
13593         * lyxtextclass.[Ch]: layout as string
13594
13595         * lyxtext.h: layout as string
13596
13597         * lyxlayout.[Ch]: layout as string
13598
13599         * lyx_cb.C: layout as string
13600
13601         * bufferview_funcs.C: layout as string
13602
13603         * bufferparams.C: layout as string
13604
13605         * buffer.C: layout as string
13606
13607         * LyXView.[Ch]: layout as string
13608
13609         * LaTeXFeatures.[Ch]: layout as string
13610
13611         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13612
13613         * BufferView_pimpl.C: change current_layout to string, remove
13614         lyx::layout_type.
13615         (Dispatch):
13616         (smartQuote):
13617         (insertInset):
13618         (workAreaButtonRelease): layout as string
13619
13620         * BufferView2.C (unlockInset): adjust
13621
13622         * vspace.C (asLatexCommand): use an explict temp variable.
13623
13624 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13625
13626         * Makefile.am: use FRONTEND_*
13627
13628 2002-03-01  Juergen Vigna  <jug@sad.it>
13629
13630         * tabular.C (SetWidthOfMulticolCell): changed to something better
13631         I hope but still work in progress.
13632         (recalculateMulticolumnsOfColumn): renamed function from
13633         recalculateMulticolCells as it is more appropriate now.
13634         (SetWidthOfCell): calculate multicols better.
13635
13636 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13637
13638         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13639
13640         * lyxfunc.C (processKeySym): print sequence also if it is
13641         `deleted' (complete)
13642
13643         * kbsequence.C (print): print sequence even if it is deleted
13644         (complete would be a better word, actually).
13645
13646         * lyxfunc.C (dispatch): print complete options after a prefix key
13647
13648         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13649
13650 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13651
13652         * text2.C (setCharFont): eliminate setCharFont code duplication.
13653
13654 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13655
13656         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13657         LFUN_TABULAR_FEATURE (bug #177)
13658
13659 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13660
13661         * Makefile.am: remove figure.h
13662
13663 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * Bufferview_pimpl.C:
13666         * CutAndPasteC:
13667         * LaTeX.C:
13668         * LyXSendto.C:
13669         * buffer.C:
13670         * bufferlist.C:
13671         * converter.C:
13672         * language.C:
13673         * lyxfunc.C:
13674         * lyxvc.C:
13675         * paragraph.C:
13676         * text.C:
13677         * text2.C: remove #include "lyx_gui_misc.h".
13678
13679         * LaTeX.C: added #include <cstdio>
13680
13681 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13682
13683         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13684         that the paragraph following this one can have.
13685
13686         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13687
13688         * vspace.C (asLatexCommand): fix bogus gcc warning
13689
13690         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13691
13692 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13693
13694         * text2.C (setLayout): get rid of redundant code
13695
13696 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13697
13698         * text2.C (incDepth): make sure depth cannot be increased beyond
13699         reasonable values.
13700
13701 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13702
13703         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13704         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13705
13706         * PainterBase.h (image):
13707         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13708         a LyXImage const *.
13709
13710 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13711
13712         * BufferView.C:
13713         * BufferView.h:
13714         * BufferView_pimpl.C:
13715         * BufferView_pimpl.h:
13716         * LaTeXFeatures.C:
13717         * LyXAction.C:
13718         * LyXView.C:
13719         * Makefile.am:
13720         * UpdateList.h:
13721         * UpdateList.C:
13722         * buffer.C:
13723         * figure.h:
13724         * figureForm.C:
13725         * figureForm.h:
13726         * figure_form.C:
13727         * figure_form.h:
13728         * lyx_cb.C:
13729         * lyx_gui.C:
13730         * lyx_gui_misc.C:
13731         * lyxfunc.C:
13732         * sp_base.h:
13733         * sp_ispell.h:
13734         * sp_pspell.h:
13735         * sp_spell.C: remove fig inset, and the crap house of
13736           cards that follows it
13737
13738 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13739
13740         * Makefile.am:
13741         * lyxserver.C:
13742         * os2_defines.h:
13743         * os2_errortable.h:
13744         * nt_defines.h: move .h into support/
13745
13746         * vms_defines.h: remove
13747
13748         * WorkArea.C: add space in debug output
13749
13750         * text2.C:
13751         * paragraph.C:
13752         * buffer.C: add WITH_WARNINGS
13753
13754         * vc-backend.h:
13755         * vc-backend.C:
13756         * bufferlist.C: s/retrive/retrieve/, add docs
13757
13758         * vspace.h:
13759         * vspace.C:
13760         * kbmap.h:
13761         * lyxlength.h:
13762         * lyxgluelength.h:
13763         * length_common.h:
13764         * chset.h:
13765         * chset.C: add docs
13766
13767         * lyxgui.C: add ID to X error handler
13768
13769         * lyxtestclass.c: fix typo
13770
13771 2002-02-26  Juergen Vigna  <jug@sad.it>
13772
13773         * tabular_funcs.C (write_attribute): changed so that some default
13774         attributes are not written at all.
13775         (getTokenValue): set default values before trying to read the
13776         value so we have the return value always set as default if we don't
13777         find the token we search for.
13778
13779         * tabular.C (Write): write bools as bools not as strings!
13780
13781 2002-02-22  Juergen Vigna  <jug@sad.it>
13782
13783         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13784         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13785
13786         * text.C (leftMargin): don't add an indent for paragraphs inside
13787         tabular cells (fix #208).
13788
13789 2002-02-21  José Matos  <jamatos@fep.up.pt>
13790
13791         * tabular.C (docBook): fixed support for long tables.
13792
13793 2002-02-20  Juergen Vigna  <jug@sad.it>
13794
13795         * text2.C (getFont): get the drawing font of the Inset if this
13796         paragraph is inside an inset (only important for InsetERT for now).
13797
13798         * buffer.C (insertErtContents): use new lanugage params in ERT
13799         constructor.
13800
13801         * CutAndPaste.C: commenting out seemingly uneeded code.
13802
13803 2002-02-19  Allan Rae  <rae@lyx.org>
13804
13805         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13806         Iterators might be simple to use but they also get invalidated.
13807         (removeAutoInsets): renamed saved cursor tracking variables and added
13808         some comments to clarify what everything does.
13809
13810 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13811
13812         * Chktex.C:
13813         * LaTeX.C:
13814         * LyXSendto.C:
13815         * converter.C:
13816         * lyx_cb.C:
13817         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13818         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13819
13820         * lyxfunc.C:
13821         * vc-backend.h: remove #include "support/syscall.h"
13822
13823         * LaTeX.C:
13824         * LyXSendto.C:
13825         * converter.C: rearrange #includes in Lars' approved fashion.
13826
13827         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13828         forward declare class Timeout in the header file.
13829
13830         * XFormsView.C: changes due to the above.
13831
13832         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13833         similar to LyXView.
13834
13835         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13836         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13837
13838 2002-02-18  José Matos  <jamatos@fep.up.pt>
13839
13840         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13841         insets contents.
13842
13843 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13844
13845         * a lot of small ws changes
13846         * add a lot of using std::XXX
13847         * use std construcs some places where approp.
13848         * use some exisint stuff from lyxfunctional where approp.
13849         * Make file changes to use partial linking (lets test this now...)
13850
13851 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13852
13853         * Chktex.C:
13854         * buffer.C:
13855         remove #include "support/syscontr.h" as it's redundant. Always has been.
13856
13857         * Chktex.C:
13858         * LaTeX.C:
13859         * LyXSendto.C:
13860         * converter.C:
13861         * lyx_cb.C:
13862         * vc-backend.C:
13863         change Systemcalls::System to Systemcalls::Wait and
13864         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13865         No change of functionality, just reflects the stripped down Systemcalls
13866         class.
13867
13868 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13869
13870         * debug.[Ch]: add a GRAPHICS type to the enum.
13871
13872 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13873
13874         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13875
13876         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13877         there is an inset.
13878
13879 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13880
13881         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13882         match the changes below.
13883
13884         * text2.C (toggleInset): if there is not editable inset at cursor
13885         position, try to see if cursor is _inside_ a collapsable inset
13886         and close it.
13887
13888 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13889
13890         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13891         document menu has a nice checkbox
13892
13893 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13894
13895         * lyxlength.C (asLatexString): change PW to output as percent of
13896         \textwidth.
13897
13898         * lengthcommon.C: change '%' to 't%'
13899
13900         * lyxfunc.C (dispatch): a few comments from Martin
13901
13902 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13903
13904         * WorkArea.h:
13905         * WorkArea.C:
13906         * BufferView_pimpl.h:
13907         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13908           the X selection.
13909
13910 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13911
13912         * vspace.C (inPixels): fix compiler warning
13913
13914 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13915
13916         * lyxfunc.C (getStatus): fix status message for disabled commands.
13917
13918 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13919
13920         * BufferView_pimpl.C: fix crash on close buffer
13921         during selection (#227)
13922
13923 2002-01-27  Herbert Voss  <voss@lyx.org>
13924
13925         * buffer.C: link old Figure to new graphic inset
13926
13927 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13928
13929         * FontLoader.C (getFontinfo): Change the latex font names in order
13930         to match the names of type1inst.
13931
13932 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13933
13934         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13935
13936         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13937         (extchanged): ditto
13938         (ext_exist): ditto
13939         (remove_files_with_extension): ditto
13940         (remove_file): ditto
13941         (write): ditto
13942
13943         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13944         document is smaller than the work area height. Do not initialize
13945         static variables to 0.
13946
13947 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13948
13949         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13950
13951         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13952         LFUN_LAYOUT_PARAGRAPHS.
13953
13954         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13955         tabular. It is possible to provide a possible cell, which will
13956         typically be the actcell from the corresponding insettabular
13957
13958         * lyxfunc.C (getStatus): small cleanup; disable
13959         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13960         true
13961
13962 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13963
13964         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13965
13966         * paragraph.C (startTeXParParams):
13967         (endTeXParParams): new methods. The LaTeX code to
13968         start/end paragraph formatting
13969         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13970         empty (fixes bug #200)
13971
13972         * vspace.C (inPixels): adapt to the change below
13973         (inPixels): [later] more cleanups (remove unused variables)
13974
13975         * lyxlength.C (inPixels): change to use a width and a height as
13976         parameter.
13977
13978 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13979
13980         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13981         Replaced with \paperwidth
13982
13983         * DepTable.C (insert): add std:: qualifier
13984
13985 2002-01-18  Allan Rae  <rae@lyx.org>
13986
13987         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13988         updated also?
13989
13990         * text.C (drawInset): Turned out I didn't know enough about how
13991         rebreaking worked.  This fixes most of the redraw problems.  I see
13992         an occasional cursor trail when a line is broken now and the cursor
13993         placement can seem out by a few pixels also after a rebreak.
13994
13995 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13996
13997         * buffer.C (parseSingleLyXformat2Token): update because minipage
13998         width is now a LyXLength
13999
14000         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14001
14002         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14003         math insets
14004
14005 2002-01-17  Juergen Vigna  <jug@sad.it>
14006
14007         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14008
14009         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14010         is set correctly and the inset is updated correctly.
14011
14012 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14013
14014         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14015         the beginning of the loop.
14016
14017 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14018
14019         * lyxrc.C: improve help for use_scalable_fonts
14020
14021 2002-01-17  Allan Rae  <rae@lyx.org>
14022
14023         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14024
14025 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14026
14027         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14028         make sure to set their inset_owner to the right value (bug #171)
14029
14030 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14031
14032         * DepTable.h
14033         * DepTable.C: Implement mtime checking to reduce time spent doing
14034         CRCs.
14035
14036 2002-01-16  Juergen Vigna  <jug@sad.it>
14037
14038         * tabular.C (GetAdditionalHeight): one of error fixed.
14039
14040         * lyxrc.C (output): small fix in writing use_pspell.
14041
14042 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14043
14044         * sp_base.h: #include LString.h
14045
14046 2002-01-16  Allan Rae  <rae@lyx.org>
14047
14048         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14049         Can someone check this please?
14050
14051         * text.C (drawInset): It was possible that p.row would be removed by
14052         breakAgainOneRow upsetting a few other settings.  There may be another
14053         small tweak possible by setting need_break_row = 0 when p.row has been
14054         removed but I don't know enough about the logic here.
14055
14056 2002-01-15  Allan Rae  <rae@lyx.org>
14057
14058         * text.C (insertChar): removed conditional truism.
14059
14060         * BufferView2.C (removeAutoInsets): More tweaks.
14061         cur_par_prev could be a stray pointer.  Check for trailing empty line
14062         in case last line was cur_par and only had an error inset on it.
14063
14064 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14065
14066         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14067         absolute
14068
14069         * vc-backend.C (most methods):
14070         * exporter.C (Export):
14071         * converter.C (convert):
14072         (runLaTeX):
14073         * LyXSendto.C (SendtoApplyCB):
14074         * lyxfunc.C (dispatch):
14075         (menuNew):
14076         (open):
14077         (doImport):
14078         * lyx_cb.C (AutoSave):
14079         (InsertAsciiFile):
14080         * BufferView_pimpl.C (MenuInsertLyXFile):
14081         * buffer.C (runChktex): use Buffer::filePath().
14082
14083         * buffer.h: rename filename to filename_; rename filepath to
14084         filepath_ and make it private
14085         (filePath): new method
14086
14087         * buffer.C (writeFile): use fileName()
14088         (getLatexName):
14089
14090         * lyx_main.C (init): fix starting  of LyX when the binary is a
14091         link from so,ewhere else.
14092
14093         * minibuffer.C: include <cctype> for isprint
14094
14095 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14096
14097         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14098         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14099         name clash with InsetCollapsable's width function.
14100
14101 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14102
14103         * lastfiles.C: include <iterator>
14104
14105 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14106
14107         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14108         std::count.
14109
14110         * buffer.C (makeLaTeXFile): ditto.
14111         Also make loop operation more transparent.
14112
14113 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14114
14115         * ToolbarDefaults.C: remove trailing comma closing namespace.
14116
14117         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14118
14119         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14120         as in WorkArea.
14121
14122         * trans.C (Load): comment out unused variable, allowed.
14123
14124 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14125
14126         * minibuffer.[Ch] (append_char): new method to recieve input from the
14127         drop-down completion browser. If a key was pressed, then recieve this
14128         char and append it to the existing string.
14129         (peek_event): modify the positioning data passed to the completion
14130         browser so that it can be placed above the minibuffer rather than below.
14131 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14132
14133         * LyXAction.C (init): alloe error-next for readonly documents.
14134
14135         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14136         count.
14137
14138 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14139
14140         * bufferlist.C (readFile): create the buffer _after_ checking that
14141         the file exists.
14142
14143         * lyxfunc.C (verboseDispatch): fix handling of arguments
14144
14145         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14146
14147         * lyxrc.C: use string::erase() instead of initializing to "".
14148
14149
14150 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14151
14152         * BufferView_pimpl.h:
14153         * BufferView_pimpl.C:
14154         * WorkArea.h:
14155         * WorkArea.C:
14156         * text2.C: tell X when we have made a selection for copying
14157
14158 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14159
14160         * BufferView_pimpl.C (MenuInsertLyXFile):
14161         * lyxfunc.C (menuNew):
14162         (open):
14163         (doImport): add shortcuts to directory buttons
14164
14165         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14166         open a float)
14167
14168         * lyxfunc.C (setStatusMessage):
14169         (getStatusMessage): new methods
14170         (getStatus):use setStatusMessage instead of setErrorMessage
14171         (dispatch): when function is disabled, set error message here
14172         [instead of in getStatus previously]
14173
14174         * BufferView_pimpl.C (workAreaButtonRelease): update
14175         toolbar/menubar here too.
14176
14177 2002-01-13  Allan Rae  <rae@lyx.org>
14178
14179         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14180         Now seems indestructible.  Remaining task is to audit all other
14181         code affected by deleteEmptyParagraphMechanism.  One small quirk
14182         left is that an empty document with an error in the preamble can
14183         be made to report an error but no error box appears.  I don't know
14184         where it goes.
14185         (removeAutoInsets): Improved comments.
14186
14187 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14188
14189         * Thesaurus.h:
14190         * Thesaurus.C: update for Aiksaurus 0.14
14191
14192 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14193
14194         * text2.C (firstParagraph): removed member function, all uses
14195         replaces with ownerParagraph
14196         (redoParagraphs): here
14197         (updateInset): here
14198         (toggleAppendix): here
14199         * BufferView2.C (insertErrors): here
14200         (setCursorFromRow): here
14201
14202 2002-01-13  Allan Rae  <rae@lyx.org>
14203
14204         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14205         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14206         There is still a way to segfault this although you may have to do this
14207         multiple times: Have an InsetERT with an unknown command in it.
14208         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14209         <down-arrow>, <Enter> again, View->DVI, BANG!
14210
14211         * text2.C (setCursor):
14212         (deleteEmptyParagraphMechanism):
14213         * lyxtext.h (setCursor):
14214         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14215         Making use of the return value may help fix other bugs.
14216
14217 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14218
14219         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14220
14221         * LyXView.C (updateMenubar): call MenuBar::update here
14222         (updateToolbar): but not here
14223         (showState): do not update toolbar/menubar
14224
14225         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14226         should need to care about that.
14227
14228         * lyxfunc.C (verboseDispatch): simplify a bit
14229         (getStatus): have a version which takes a pseudoaction, and
14230         another which requires a (kb_action,string).
14231
14232         * LyXAction.C (retrieveActionArg): make it work also when action
14233         is not a pseudo-action.
14234         (getActionName): simplify a bit
14235         (helpText):
14236
14237 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14238
14239         * lyxfunc.C (verboseDispatch): new families of methods with
14240         several ways to specify a command and a bool to indicate whether
14241         the command name and shortcut should be displayed in minibuffer
14242         (eventually, we could extend that to a finer bitmask like
14243         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14244         (dispatch): the pristine dispatch command which just, well,
14245         dispatchs! Note it still sets its result to minibuffer; I'm not
14246         sure we want that.
14247
14248         * lyxfunc.h: remove setHintMessage
14249
14250         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14251
14252 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14253
14254         * BufferView_pimpl.C (specialChar): delete new inset if we have
14255         not been able to insert it.
14256
14257         * kbmap.C: revert to using int instead of kb_action, since all we
14258         are dealing with is pseudo-actions.
14259
14260         * LyXAction.C (searchActionArg): change to return int instead of
14261         kb_action, since the result is a pseudoaction.
14262
14263 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14264
14265         * buffer.C (insertErtContents): Fix (partially) the font bug.
14266
14267 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14268
14269         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14270         as the other one is broken on my machine!
14271
14272 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14273
14274         * commandtags.h:
14275         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14276
14277 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14278
14279         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14280         reflect their actual use. Provide compatibility code for older lyxrc
14281         files.
14282
14283         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14284         FL_NORMAL_STYLE.
14285         change names of popup font variables in line with the changes to lyxrc.C
14286
14287 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14288
14289         * buffer.C (asciiParagraph): avoid outputing a word twice after
14290         an inset.
14291
14292         * lyxrc.C (getDescription): document that document_path and
14293         template_path can be empty.
14294
14295 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14296
14297         * LaTeXFeatures.C (getMacros):
14298         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14299
14300         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14301
14302         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14303         getPackages.
14304         (getPackages): rename feature "floats" to "float". Use an array to
14305         iterate over 'simple' features (i.e. just a \usepackage). Add
14306         handling of "amsmath" (renamed from "amsstyle").
14307
14308 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14309
14310         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14311         features list.
14312
14313 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14314
14315         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14316         FuncStaus::FuncStatus & FuncStaus::some_method().
14317
14318 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14319
14320         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14321         of the func_satus stuff. Edited and massaged in various ways by
14322         JMarc.
14323
14324         * lyxfunc.C (getStatus): use FuncStatus
14325
14326 2002-01-08  Juergen Vigna  <jug@sad.it>
14327
14328         * text.C (nextBreakPoint): use function Inset::isChar().
14329
14330         * paragraph.C (TeXOnePar): use function
14331         Inset::forceDefaultParagraphs.
14332
14333         * buffer.C (latexParagraphs): use function
14334         Inset::forceDefaultParagraphs.
14335
14336 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14337
14338         * lyx_gui.C (init): set the style of the menu popups to
14339         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14340
14341 2002-01-07  Juergen Vigna  <jug@sad.it>
14342
14343         * text.C (setHeightOfRow): small fix
14344         (prepareToPrint): don't look at alignment if we don't have the place
14345         for doing it.
14346
14347 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14348
14349         * box.C: New file. Move the Box methods and functions out of box.h,
14350         following Lars' suggestion.
14351
14352 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14353
14354         * box.h: #include "support/LOstream.h", needed for inlined function.
14355
14356         * lyxtextclass.C:
14357         * lyxtextclasslist.C: added some using std declarations.
14358
14359 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14360
14361         * box.h: make signed dimensions to allow insets wider than
14362           the screen (bug #162)
14363
14364         * BufferView_pimpl.C: add some insetHit debug
14365
14366 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14367
14368         * vc-backend.C: add FIXME
14369
14370 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14371
14372         * lyxfunc.C (getStatus): enable code for showing math font status
14373         in toolbar/menu.
14374
14375 2002-01-07  Juergen Vigna  <jug@sad.it>
14376
14377         * text.C (nextBreakPoint): removed debug output not needed anymore.
14378
14379 2002-01-06  Juergen Vigna  <jug@sad.it>
14380
14381         * text.C (nextBreakPoint): fixed up this function we had this bug
14382         since ever but now hopefully we break row better.
14383         (insertChar): we have to check if an inset is the next char as it
14384         could now happen that a large inset is causing a break.
14385
14386 2002-01-05  Juergen Vigna  <jug@sad.it>
14387
14388         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14389         if it doesn't like to be drawed.
14390
14391 2002-01-04  Juergen Vigna  <jug@sad.it>
14392
14393         * BufferView2.C (lockInset): forgot to set a cursor.
14394
14395         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14396
14397 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14398
14399         * FormMathsPanel.C:
14400         * FormMathsPanel.h
14401         * MathsSymbols.C:
14402         * form_maths_panel.C:
14403         * form_maths_panel.h:
14404         * form_maths_panel.fd: implemented sub- and super- buttons in math
14405         panel.
14406
14407         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14408         (or ^ space) to be used as in TeX (req'd by Andr�.
14409
14410         * lyxfunc.C: Allow ^ and _ again to be used both as
14411         super/subscript (mathed) and as themselves (in text).
14412
14413 2002-01-03  Allan Rae  <rae@lyx.org>
14414
14415         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14416         "LyX" or the filename of the current buffer if it has one.  This is a
14417         modified form of John Levon's patch.
14418
14419         * XFormsView.C (setWindowTitle): also set icon title.
14420
14421         * LyXView.h (setWindowTitle): signature changed.
14422         * XFormsView.h (setWindowTitle): ditto.
14423
14424 2002-01-02  Juergen Vigna  <jug@sad.it>
14425
14426         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14427
14428 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14429
14430         * screen.C (topCursorVisible): introduce a temp var for
14431         text->cursor.row(), handle the case where this row is null. (kindo
14432         hachish)
14433
14434         * text2.C (setCursor): add a couple of asserts.
14435
14436         * paragraph.h (inset_iterator): add -> operator
14437
14438         * paragraph.[Ch] (autoDeleteInsets): remove member function
14439
14440         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14441         cursor pos correctly and handle inset deletion by itself.
14442         (insertErrors): move iterator declaration out of for expression
14443
14444         * lyxtextclass.C: add <algorithm>
14445
14446         * Makefile.am: added the new files to sources, removed layout.C
14447
14448         * layout.C: removed file
14449
14450         * layout.h: remove LYX_DUMMY_LAYOUT
14451
14452         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14453         layout.
14454
14455         * lyxlayout.[Ch]:
14456         * lyxtextclass.[Ch]:
14457         * lyxtextclasslist.[Ch]: new files
14458
14459         * include order changes to a lot of files, also changes because of
14460         the six new files.
14461
14462 2001-12-27  Juergen Vigna  <jug@sad.it>
14463
14464         * buffer.C (asciiParagraph): more fixes.
14465
14466         * tabular.C (ascii): make ascii export support export of only the
14467         data separated by a column-delimiter.
14468         (ascii): better support for ascii export.
14469
14470         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14471
14472 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14473
14474         * tabular_funcs.C: use a "using std::getline" instead of the
14475         previous fix from Angus (necessary for cxx + lyxstring)
14476
14477 2001-12-24  Juergen Vigna  <jug@sad.it>
14478
14479         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14480
14481         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14482         problems. First check a minipage also if we have some ert-contents
14483         (not only on par->size(), second set the right depth of the paragraph
14484         on the relink to the root-paragraph-list!
14485
14486         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14487         which then did not anymore update the main paragraphs on undo/redo!
14488
14489 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14490
14491         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14492         code. Support all font-changing funcs (even those which are not in
14493         menu currently). Support for reporting font settings in
14494         mathed (disabled until Andre provides a function on mathed's side).
14495
14496         * func_status.h (toggle): small helper function to set toggle
14497         state on a flag.
14498
14499 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14500
14501         * tabular_funcs.C: getline -> std::getline
14502
14503 2001-12-21  Juergen Vigna  <jug@sad.it>
14504
14505         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14506         accessed and could be 0 (I couldn't generate this but it seems
14507         Michael could!).
14508
14509 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14510
14511         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14512         * tabular_funcs.h: here and include iosfwd
14513
14514 2001-12-20  Juergen Vigna  <jug@sad.it>
14515
14516         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14517         inside inset but undo_par was.
14518
14519 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14520
14521         * Thesaurus.C: always include <config.h> in sources.
14522
14523         * Painter.h:
14524         * lyxlookup.h:
14525         * box.h: do not include <config.h> in header files
14526
14527         * text.C (paintLastRow): remove unused variable
14528
14529         * text.C (transformChar):
14530         (insertChar):
14531         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14532
14533         * Painter.C (text):
14534         * font.C (width): rewrite to use uppercase() instead of
14535         islower/toupper.
14536
14537         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14538
14539 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14540
14541         * lyxfind.C: clean up of find failure position change
14542
14543 2001-12-20  Juergen Vigna  <jug@sad.it>
14544
14545         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14546
14547         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14548         (TeXRow): added to LaTeX a single tabular row.
14549         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14550         (Latex): simplified and finally good LT-h/f support.
14551         (various_functions): just small adaptions for LT-h/f support.
14552
14553         * tabular_funcs.[hC]: added and moved here all not classfunctions
14554         of LyXTabular.
14555
14556 2001-12-19  Juergen Vigna  <jug@sad.it>
14557
14558         * tabular.[Ch]: better support for longtabular options (not finished
14559         yet!)
14560
14561 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14562
14563         * text.C (paintLastRow): use the label font instead of the font of
14564         the last character to compute the size of *_BOX. This makes more
14565         sense and avoids a crash with empty paragraphs.
14566         Use Painter::rectangle to draw EMPTY_BOX.
14567
14568 2001-12-19  Juergen Vigna  <jug@sad.it>
14569
14570         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14571         the paragraphs if the replaced paragraph is not the first one!
14572         Tried to delete not used paragraphs but does not work yet so for
14573         now it's inside #ifdef's and by default off!
14574
14575 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14576
14577         * MenuBackend.C: include "lyx_main.h" instead of declaring
14578         lastfiles (actually was declared as LastFiles* instead of a
14579         scoped_ptr).
14580
14581 2001-12-17  Juergen Vigna  <jug@sad.it>
14582
14583         * tabular.C (AppendColumn): applied John's fix
14584
14585 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14586
14587         * BufferView.h:
14588         * BufferView.C:
14589         * BufferView_pimpl.h:
14590         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14591
14592         * Makefile.am:
14593         * box.h: new start of class for above
14594
14595         * lyxfunc.C: ignore space-only minibuffer dispatches.
14596           Show the command name when it doesn't exist
14597
14598         * minibuffer.C: don't add empty lines to the history
14599
14600         * minibuffer.C: add a space on dropdown completion
14601
14602 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * text.C: fix line above/below drawing in insets
14605
14606 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14607
14608         * lyxlength.C (LyXLength): Initialize private variables.
14609
14610 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14611
14612         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14613         when inserting error insets.
14614
14615 2001-12-13  Juergen Vigna  <jug@sad.it>
14616
14617         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14618         actually sometimes the before-paragraph.
14619         (setUndo): don't clear the redostack if we're not actually undoing!
14620
14621 2001-12-06  Juergen Vigna  <jug@sad.it>
14622
14623         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14624         and fixed redoing of main paragraph, so we can use it now ;)
14625
14626         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14627
14628 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14629
14630         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14631         Juergen's request
14632
14633 2001-12-13  André Pönitz <poenitz@gmx.net>
14634
14635         * undostack.[Ch]:
14636         * undo_func.C: minor cleanup
14637
14638 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14639
14640         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14641         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14642         font in urw-fonts package which is marked as -urw-fontspecific and
14643         does not work (incidentally, changing the encoding in the
14644         fonts.dir of this package to -adobe-fontspecific fixes the
14645         problem).
14646
14647         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14648         is a crash when undoing first paragraph (Juergen, please take a
14649         look). THis does not mean the undo fix is wrong, just that it
14650         uncovers problems.
14651
14652         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14653         the (Paragraph*) version when needed instead of duplicating the
14654         code.
14655
14656         * text.C (workWidth): use Inset::parOwner to find out where the
14657         inset has been inserted. This is a huge performance gain for large
14658         documents with lots of insets. If Inset::parOwner is not set, fall
14659         back on the brute force method
14660
14661         * paragraph_pimpl.C (insertInset):
14662         * paragraph.C (Paragraph):
14663         (cutIntoMinibuffer): set parOwner of insets when
14664         inserting/removing them
14665
14666         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14667
14668 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14669
14670         * commandtags.h:
14671         * LyXAction.C:
14672         * lyx_main.C:
14673         * lyxfunc.C:
14674         * mathed/formulabase.C:
14675         * mathed/math_cursor.[Ch]:
14676         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14677
14678
14679 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14680
14681         * lyxlength.[Ch] (operator!=): new function
14682
14683 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14684
14685         * text.C (workWidth): use Inset::parOwner to find out where the
14686         inset has been inserted. This is a huge performance gain for large
14687         documents with lots of insets. If Inset::parOwner is not set, fall
14688         back on the brute force method
14689
14690         * paragraph_pimpl.C (insertInset):
14691         * paragraph.C (Paragraph):
14692         (cutIntoMinibuffer): set parOwner of insets when
14693         inserting/removing them
14694
14695         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14696
14697 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14698
14699         * tabular-old.C (getTokenValue):
14700         * tabular.C (getTokenValue):
14701         (write_attribute): new versions for LyXLength
14702         (everywhere): adjust the use of widths
14703
14704         * tabular.h: change the type of widths from string to LyXLength
14705
14706 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14707
14708         * paragraph.C: fixed missing line number count when exporting
14709         Environments to LaTeX file
14710
14711         * buffer.C: added informational message for checking line numbers.
14712
14713 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14714
14715         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14716         paragraph, do the 'double space' part, but not the 'empty
14717         paragraph' one.
14718
14719         * text.C (workWidth): small optimization
14720         (getLengthMarkerHeight): use minimal size for negative lengths.
14721
14722 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14723
14724         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14725
14726         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14727
14728 2001-12-11  André Pönitz <poenitz@gmx.net>
14729
14730         * FontLoader.C:
14731         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14732
14733 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14734
14735         * text2.C: keep selection on a setFont()
14736
14737 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14738
14739         * lyx_cb.C: another bv->text misuse, from insert label
14740
14741 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14742
14743         * kbsequence.h:
14744         * kbsequence.C: re-instate nmodifier mask
14745
14746 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14747
14748         * lyx_main.h: make lyxGUI private.
14749
14750 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14751
14752         * lyxfind.C: place the cursor correctly on failed search
14753
14754 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14755
14756         * text.C (getLengthMarkerHeight): for small heights, the arrows
14757         are not always on top/bottom of the text
14758         (drawLengthMarker): smaller arrows; take the left margin in
14759         account; draw also vfills.
14760         (paintFirstRow):
14761         (paintLastRow): remove special code for vfill and standard spaces,
14762         since everything is handled in drawLengthMarker now.
14763
14764 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * buffer.C (insertErtContents): try to handle font and language
14767         interaction a bit better.g
14768
14769         * ColorHandler.C (updateColor): change the hash to cover the whole
14770         LColor enum, ws cleanup
14771         (getGCLinepars): ditto
14772         (getGCLinepars): only lookup in the linecache once.
14773
14774 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14775
14776         * iterators.C (operator++): Make the iterator more robust
14777
14778         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14779         (John's patch)
14780         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14781
14782 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14783
14784         * lyxtext.h:
14785         * text.C: better added space drawing
14786
14787 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14788
14789         * LyXView.C:
14790         * BufferView2.C: fix layout combo update on inset unlock
14791
14792 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14793
14794         * Makefile.am: don't compile unused files
14795
14796 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14797
14798         * lyxfunc.C:
14799         * commandtags.h:
14800         * LyXAction.C: remove old LFUN_LAYOUTNO
14801
14802 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14803
14804         * paragraph_pimpl.h:
14805         * paragraph_pimpl.C: isTextAt() doesn't need font param
14806
14807 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14808
14809         * lyxlex.h:
14810         * lyxlex.C: little cleanup
14811
14812 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14813
14814         * BufferView_pimpl.C: fix insertAscii for insets
14815
14816 2001-12-05  Juergen Vigna  <jug@sad.it>
14817
14818         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14819         set the right font on the "multi" paragraph paste!
14820
14821 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14822
14823         * trans_decl.h:
14824         * trans_mgr.[Ch]:
14825         * trans.[Ch]:
14826         * lyxgluelength.C:
14827         * lyxlength.C: remove out-commented code.
14828
14829         * BufferView_pimpl:
14830         * CutAndPaste.C:
14831         * DepTable.C:
14832         * buffer.C:
14833         * chset.C:
14834         * lastfiles.C:
14835         * lyxlex.C:
14836         * lyxlex_pimpl.C:
14837         * lyxserver.C:
14838         * screen.C:
14839         * tabular-old.C:
14840         * tabular.C:
14841         * text.C:
14842         * trans_mgr.C:
14843         * vc-backend.C: change "while(" to "while ("
14844
14845         * lyxlength.[Ch]: add zero function to check if length is zero or
14846         not
14847         * lyxgluelength.C: use it
14848
14849 2001-12-05  Allan Rae  <rae@lyx.org>
14850
14851         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14852         Works for 2.95.3, from what I understand of Garst's reports this should
14853         work for other g++ versions.  We're screwed if the abs(int) definition
14854         changed between bugfix releases of gcc.
14855
14856 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14857
14858         * text.C: fix chapter label offset !
14859
14860 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14861
14862         * lyxtext.h:
14863         * text.C: fix hfill at end of line, clean up
14864
14865 2001-12-04  Juergen Vigna  <jug@sad.it>
14866
14867         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14868         that we force an update of the inset and it's owners if neccessary.
14869
14870 2001-12-03  Juergen Vigna  <jug@sad.it>
14871
14872         * text.C (rowLast): simplified code
14873
14874 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14875
14876         * lyxfunc.C: fix show options on timeout
14877
14878 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14879
14880         * screen.C (topCursorVisible): scroll half a page when the cursor
14881         reached top of bottom of screen
14882
14883 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14884
14885         * minibuffer.C: deactivate on loss of focus
14886
14887 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14888
14889         * vspace.[Ch] (operator!=): add operator.
14890
14891 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14892
14893         * BufferView_pimpl.C: refuse to open an inset when
14894         there's a selection.
14895
14896 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14897
14898         * BufferView_pimpl.C: allow to click on RHS of full row insets
14899
14900 2001-11-30  Juergen Vigna  <jug@sad.it>
14901
14902         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14903         insets for undo reasons.
14904
14905 2001-11-28  André Pönitz <poenitz@gmx.net>
14906
14907         * vspace.[Ch]: cosmetical changes
14908
14909 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14910
14911         * LyXAction.h:
14912         * LyXAction.C:
14913         * lyxfunc.h:
14914         * lyxfunc.C:
14915         * kbmap.h:
14916         * kbmap.C:
14917         * lyxrc.C:
14918         * kbsequence.h:
14919         * kbsequence.C: part re-write of old kb code
14920
14921         * Painter.C:
14922         * WorkArea.C: remove Lgb_bug_find_hack
14923
14924 2001-11-30  José Matos <jamatos@fep.up.pt>
14925
14926         * buffer.C (makeDocBookFile): add a comment to point a hack.
14927         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14928         Fixed a double write of labels.
14929
14930 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14931
14932         * LaTeX.C:
14933         * LaTeX.h Fixed bug in LaTeX class where it would not
14934         re-run latex if no depfiles were changed, but the .dvi was removed.
14935
14936 2001-11-28  André Pönitz <poenitz@gmx.net>
14937
14938         * all the files from the change on 2001/11/26:
14939         use lyx::layout_type instead of LyXTextClass::size_type
14940         use lyx::textclass_type instead of LyXTextClassList::size_type
14941
14942 2001-11-29  Juergen Vigna  <jug@sad.it>
14943
14944         * text.C: added support for paragraph::isFreeSpacing()
14945
14946         * buffer.C: same as above
14947
14948         * paragraph.h: inserted isFreeSpacing() function to enable
14949         FreeSpacing inside InsetERT.
14950
14951         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14952         of the paragraph's in the cut/copy buffer to 0!
14953
14954         * text2.C (removeRow): remove the assert as it can!
14955
14956         * lyxtext.h: added helper function firstRow returning firstrow and
14957         made firstrow private again.
14958
14959         * BufferView2.C (lockInset): don't relock if we're already locked!
14960
14961         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14962         the only paragraph.
14963         (removeRow): added Assert::(firstrow)
14964
14965         * debug.C: forgot to add INSETTEXT here.
14966
14967 2001-11-28  Juergen Vigna  <jug@sad.it>
14968
14969         * sp_spell.C (initialize): changed error text to more general
14970         spellchecker command use (not only ispell!)
14971
14972         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14973
14974         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14975
14976 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14977
14978         * vspace.C: initialise lyxgluelength on failure
14979
14980 2001-11-28  Allan Rae  <rae@lyx.org>
14981
14982         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14983         declaration & definition that looks like a function declaration.
14984
14985 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14986
14987         * BufferView2.C (copy):
14988         (copyEnvironment): do not clear the selection when doing a copy.
14989
14990         * text.C (paintFirstRow): compilation fix
14991
14992 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14993
14994         * tabular.C (Latex): correct line count when writing latex.
14995
14996 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14997
14998         * paragraph_pimpl.h:
14999         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15000           bug a bit
15001
15002 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15003
15004         * text.C:
15005         * LColor.h:
15006         * LColor.C: change vfillline->added_space
15007
15008         * text.C: add markers and text for added space
15009
15010         * vspace.C: fix comment
15011
15012 2001-11-28  André Pönitz <poenitz@gmx.net>
15013
15014         * paragraph.C: whitespace changes
15015         * all the other files from the change on 2001/11/26:
15016         change *::pos_type into lyx::pos_type
15017
15018 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15019
15020         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15021         language of the document when inserting error insets.
15022
15023 2001-11-26  André Pönitz <poenitz@gmx.net>
15024
15025         * BufferView_pimpl.[Ch]:
15026         *       CutAndPaste.C:
15027         * buffer.[Ch]:
15028         * lyxcursor.[Ch]:
15029         * lyxfind.C:
15030         * lyxfunc.C:
15031         * lyxrow.[Ch]:
15032         * paragraph.[Ch]:
15033         * paragraph_pimpl.[Ch]:
15034         * sp_spell.C:
15035         * text.C:
15036         * text2.C: reduce header dependencies, introduce type for positions
15037
15038 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15039
15040         * <various>: change to use Alert.h
15041
15042 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15043
15044         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15045         when encountering an unknown token.
15046         (readLyXformat2): Show an error message if there were unknown tokens.
15047
15048 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15049
15050         * BufferView2.C:
15051         * BufferView_pimpl.C:
15052         * buffer.C:
15053         * paragraph.h:
15054         * text.C:
15055         * text2.C: use par->isInset()
15056
15057 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15058
15059         * paragraph_pimpl.h:
15060         * paragraph_pimpl.C: cleanup
15061
15062 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * text2.C (removeRow):
15065         * text.C (setHeightOfRow): remove useless (and costly) call to
15066         getRow.
15067
15068 2001-11-20  Allan Rae  <rae@lyx.org>
15069
15070         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15071         Now need Inset*::checkInsertChar() to return true for appropriate
15072         cases so that the characters in the minibuffer will actually be
15073         inserted.
15074
15075 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15076
15077         * text.C: change the order of the includes.
15078         (workWidth): initialize it at once.
15079         (workWidth): make maxw unsigned
15080         (setHeightOfRow): remove unused variable (inset)
15081         (selectSelectedWord): remove unused variable (inset)
15082         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15083
15084 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15085
15086         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15087         server is not running.
15088         (openConnection):
15089         (closeConnection): add debug info when server is disabled.
15090
15091         * ColorHandler.C (getGCForeground): send debug message to GUI
15092         channel.
15093
15094         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15095
15096         * kbmap.C (bind): modify because return conventions of
15097         kb_sequence::parse have changed.
15098
15099         * kbsequence.C (parse): only ignore spaces and not any stupid
15100         control character. This avoids tests like s[i] <= ' ', which are
15101         guaranteed to fail with 8bit characters and signed chars.
15102         Change return code to string::npos when there have been no error
15103         (0 was a bad idea when error is at first character)
15104
15105 2001-11-14  José Matos  <jamatos@fep.up.pt>
15106
15107         * buffer.h:
15108         * buffer.C (simpleDocBookOnePar): removed unused argument.
15109
15110 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15111
15112         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15113         insets which are part of a word. Paragraph::isLetter takes care of
15114         that now. Use Paragraph::isInset to identify insets.
15115         (selectSelectedWord): do not test for hyphenation break.
15116
15117         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15118         that protected spaces are considered as spaces.
15119
15120         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15121         Inset::isLetter.
15122
15123 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * lyxserver.h:
15126         * lyxserver.C: fix it. and small cleanup.
15127
15128 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15129
15130         * BufferView_pimpl.C: use inline helpers
15131
15132         * LaTeXFeatures.h:
15133         * LaTeXFeatures.C: fix typos
15134
15135         * Spacing.h:
15136         * Spacing.C: move spacing_string into class
15137
15138         * ToolbarDefaults.C: move stuff into namespace anon
15139
15140         * layout.h: update enum
15141
15142         * lyxfunc.C: use better debug
15143
15144         * minibuffer.h: fix typo
15145
15146         * debug.h:
15147         * debug.C:
15148         * WorkArea.C: add and use Debug::WORKAREA
15149
15150         * lyxtext.h:
15151         * text.C:
15152         * text2.C: code re-organisation, inline helpers
15153
15154 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15155
15156         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15157         std::vector.empty().
15158
15159 2001-11-09  Allan Rae  <rae@lyx.org>
15160
15161         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15162         '\n's after tables.  Tabular and ERT inset work now makes this no
15163         longer necessary.
15164
15165 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15166
15167         * minibuffer.h:
15168         * minibuffer.C: fix crash, improve drop-down completion
15169
15170 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15171
15172         * lyxserver.h:
15173         * lyxserver.C: invalidate fd's when doing endPipe()
15174
15175 2001-11-08  José Matos  <jamatos@fep.up.pt>
15176
15177         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15178         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15179
15180         * paragraph.h:
15181         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15182
15183 2001-11-07  José Matos  <jamatos@fep.up.pt>
15184
15185         * buffer.h:
15186         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15187         const qualifier.
15188
15189         * buffer.C (sgmlOpenTag):
15190         * buffer.C (sgmlCloseTag): removed debug info.
15191
15192         * buffer.h (sgmlOpenTag):
15193         * buffer.h (sgmlCloseTag): made public.
15194
15195 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15196
15197         * buffer.C (saveParamsAsDefaults):
15198         * lyx_cb.C (MenuLayoutSave): remove
15199
15200         * LyXAction.C (init):
15201         * commandtags.h:
15202         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15203
15204 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15205
15206         * buffer.C (setPaperStuff): removed from here...
15207
15208         * bufferparams.C (setPaperStuff): ... and moved there.
15209
15210 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15211
15212         * minibuffer.h:
15213         * minibuffer.C:
15214         * XFormsView.C: add support for drop-down completion
15215
15216 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15217
15218         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15219         commands.
15220
15221 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15222
15223         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15224         disabled.
15225
15226 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15227
15228         * lyx_main.C: change ref to known bugs
15229
15230 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15231
15232         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15233         to work around older babel problems.
15234
15235 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15236
15237         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15238
15239 2001-10-24  Juergen Vigna  <jug@sad.it>
15240
15241         * tabular-old.C (ReadOld): below variable changes reflected.
15242
15243         * tabular.[Ch]: added ltType struct for longtable header/footer
15244         defines and changed all instances where they are used. Added
15245         future support for double top/bottom rows.
15246
15247 2001-10-24  José Matos  <jamatos@fep.up.pt>
15248
15249         * buffer.h (docbookHandleCaption):
15250         * buffer.C (docbookHandleCaption): removed unused function.
15251         (makeDocBookFile): moved docbook supported version to v4.1.
15252
15253 2001-10-24  José Matos  <jamatos@fep.up.pt>
15254
15255         * tabular.h:
15256         * tabular.C (docbookRow): new function to export docbook code of a row.
15257         (DocBook): now honors the longtable flags.
15258
15259 2001-10-23  José Matos  <jamatos@fep.up.pt>
15260
15261         * LaTeXFeatures.h:
15262         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15263         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15264
15265         * buffer.C (makeLinuxDocFile):
15266         (makeDocBookFile): reworked the preamble, more clean, and with
15267         support for lyx defined entities. Changed the document declaration
15268         to be more XML friendly.
15269
15270         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15271         if we need to output XML that should be done with a filter.
15272
15273 2001-10-22  Juergen Vigna  <jug@sad.it>
15274
15275         * sp_pspell.h (class PSpell): add alive function needed in the
15276         controller to see if the spellchecker could be started.
15277
15278 2001-10-22  Juergen Vigna  <jug@sad.it>
15279
15280         * buffer.C (insertStringAsLines): modify the font for inserting
15281         chars in certain conditions by calling checkInsertChar(font).
15282
15283 2001-10-19  Juergen Vigna  <jug@sad.it>
15284
15285         * text.C (workWidth): use getRow instead of wrong algorithm.
15286         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15287
15288 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15289
15290         * lyxserver.h:
15291         * lyxserver.C:
15292         * lyx_main.h:
15293         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15294
15295 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15296
15297         * text.C (workWidth): do not search for the exact row when
15298         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15299         optimization for big documents.
15300
15301 2001-10-18  Juergen Vigna  <jug@sad.it>
15302
15303         * text.C (workWidth): new function with added Inset * parameter.
15304
15305 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15306
15307         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15308
15309         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15310         change return type of getColumnNearX.
15311
15312
15313         * text.C (changeRegionCase): use uppercase/lowercase instead of
15314         toupper/tolower.
15315         (leftMargin):
15316         (rightMargin): simplify code by factoring out the uses of
15317         textclasslist.
15318         (labelFill):
15319         (numberOfHfills):
15320         (setHeightOfRow):
15321         (appendParagraph): use Paragraph::size_type
15322
15323 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * vspace.C (asLatexString): add a missing break
15326
15327 2001-10-15  Herbert Voss  <voss@perce.de>
15328
15329         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15330
15331 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15334         is not available.
15335
15336 2001-10-10  André Pönitz <poenitz@gmx.net>
15337
15338         * lyxfunc.C: removed greek_kb_flag.
15339
15340 2001-10-10  Herbert Voss  <voss@perce.de>
15341
15342         * lyx_main.C: delete global string help_lyxdir.
15343
15344 2001-10-09  Herbert Voss  <voss@perce.de>
15345
15346         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15347
15348         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15349
15350         * lyx_main.C: added global string help_lyxdir.
15351
15352         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15353
15354 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15355
15356         * lyxrc.C (set_font_norm_type): support iso8859-4
15357
15358 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15359
15360         * LaTeX.C (deplog): add another regex for MikTeX
15361
15362 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15363
15364         * lyxrc.C (set_font_norm_type): support iso8859-3
15365
15366 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15367
15368         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15369
15370         * LaTeXFeatures.C: remove special case of french and index
15371
15372         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15373         before \begin{document}). This solves several incompatibilities.
15374
15375 2001-10-03  Garst Reese  <reese@isn.net>
15376
15377         * lyx_cb.C: change CheckTex error msg.
15378
15379 2001-10-03  José Matos  <jamatos@fep.up.pt>
15380
15381         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15382
15383 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15384
15385         * .cvsignore: update
15386
15387         * lyx_main.C (commandLineVersionInfo): use new style version info.
15388
15389         * buffer.C (writeFile):
15390         (makeLaTeXFile):
15391         (makeLinuxDocFile):
15392         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15393
15394         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15395
15396         * version.h: update to use stuff in version.C
15397
15398         * version.C.in: new file. Contains version information determined
15399         at compile time. This is a merging of version.h and
15400         version_info.h.in.
15401
15402 2001-10-03  Juergen Vigna  <jug@sad.it>
15403
15404         * BufferView_pimpl.C (update): don't change "dirty" status in
15405         updateInset call.
15406
15407 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15408
15409         * WorkArea.C (c-tor): re-position version string slightly.
15410
15411 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15412
15413         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15414         revert to previous code.
15415
15416         WorkArea.[Ch]: (show, destroySplash): methods removed.
15417
15418         WorkArea.C: rework code so that it's an amalgam of the codes before and
15419         after the splash screen was moved to WorkArea.
15420
15421 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15422
15423         * lyxrc.C (read):
15424         * vspace.C (inPixels):
15425         (lyx_advance):
15426         * kbmap.C (bind):
15427         * buffer.C (insertStringAsLines):
15428         (asciiParagraph): fix types to be large enough
15429
15430         * lyxlex_pimpl.h: change member status from short to int
15431
15432         * layout.h: fix type of endlabeltype
15433
15434         * kbmap.C (bind):
15435         * kbsequence.C (parse): change return type to string::size_type
15436
15437         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15438         variable
15439
15440         * Bullet.C (bulletSize):
15441         (bulletEntry): do not use short ints as parameters
15442
15443         * BufferView2.C (insertLyXFile): change a char to an int.
15444
15445         * WorkArea.C (WorkArea): remove unneeded floats in computation
15446
15447 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15448
15449         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15450
15451         * paragraph.C (asString): Do not ignore newline/hfill chars when
15452         copying to the clipboard.
15453
15454 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15455
15456         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15457         after a multi-line inset.
15458
15459 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15460
15461         * paragraph.C (validate): Set NeedLyXFootnoteCode
15462
15463 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15464
15465         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15466         and decrease-error to decrease.
15467
15468 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15469
15470         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15471         it more readable (should be equivalent)
15472
15473 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15474
15475         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15476
15477 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15478
15479         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15480         of a cursor (row, etc.) after a character has been deleted
15481         (deleteEmptyParagraphMechanism): call the method above on _all_
15482         cursors held by the LyXText when a double space has been
15483         detected/deleted.
15484
15485 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15486
15487         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15488         pixmap.
15489         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15490
15491         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15492         background. Use greyOut() and the new show() methods to toggle between
15493         the foreground and background. Add code to remove the splash after
15494         its initial showing.
15495
15496         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15497         (create_forms): no longer call Dialogs::showSplash.
15498
15499 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15500
15501         * .cvsignore: add version_info.h
15502
15503 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * version_info.h.in: new file
15506
15507         * Makefile.am: add version_info.h.in
15508
15509         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15510         version_info.h instead of VERSION_INFO
15511
15512 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15513
15514         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15515         The ERT inset now returns string().
15516
15517 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15518
15519         * lyxtext.h, text.C (selectNextWord): renamed as
15520         selectNextWordToSpellcheck.
15521
15522         * text.C (selectNextWordToSpellcheck): Modified to not select
15523         words inside an ERT inset.
15524
15525 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15526
15527         * lyx_cb.C (MenuLayoutSave): change a bit the question
15528
15529         * sp_base.h: include <sys/types.h>
15530
15531 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15532
15533         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15534
15535 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15536
15537         * several files: fix typos in user-visible strings
15538
15539 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15540
15541         * text2.C (pasteSelection): do not set the selection, since it
15542         will be cleared later. Actually, the intent was to fix the way the
15543         selection was set, but I figured rmoving the code was just as good.
15544
15545 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15546
15547         * FontLoader.C (available): Check if font is available without
15548         loading the font.
15549
15550 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15551
15552         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15553
15554 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15555
15556         * lyxrc.[Ch]: added display_graphics variable and associated code.
15557
15558 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15559
15560         * bufferparams.C (hasClassDefaults): new method. Returns true if
15561         the buffer parameters correspond to known class defaults
15562
15563 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15564
15565         * XFormsView.C (show): set minimum size to the main window.
15566
15567 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15568
15569         * text2.C (copySelection):
15570         (cutSelection):
15571         * lyxfind.C (LyXReplace):
15572         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15573         LyXText::selectionAsString.
15574
15575         * paragraph.C (asString): add "label" argument to the second form
15576
15577         * text2.C (selectionAsString): add "label" argument and pass it to
15578         Paragraph::asString.
15579
15580 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15581
15582         * lyx_main.C (commandLineHelp): remove version information
15583
15584 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15585
15586         * lyx_main.C: add -version commandline option
15587
15588 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15589
15590         * paragraph.h: make the optional constructor arg required instead.
15591         some modifications to other files because of this.
15592
15593         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15594
15595         * lyxserver.C (C_LyXComm_callback): make it static
15596
15597         * lyx_main.C (error_handler): make it static
15598
15599         * lyx_gui.C (LyX_XErrHandler): make it static
15600
15601         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15602
15603         * WorkArea.C: make the extern "C" methods static.
15604
15605         * Makefile.am (lyx_LDADD): simplify
15606
15607 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15608
15609         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15610         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15611
15612         * LyXAction.C (init):
15613         * lyxfunc.C (dispatch): associated code removal.
15614
15615 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15616
15617         * lyxfont.h (isSymbolFont): shut off warning
15618
15619         * text.C (setHeightOfRow):
15620         (getVisibleRow): fix crash with empty paragraphs which have a
15621         bottom line
15622
15623 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15624
15625         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15626         code.
15627
15628 2001-09-04  José Matos  <jamatos@fep.up.pt>
15629         * buffer.C
15630         * buffer.h
15631         * tabular.C (docbook): rename docBook method to docbook.
15632
15633 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15634
15635         * Makefile.am: add dependencies to main.o.
15636
15637 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15638
15639         * FontLoader.C (available): Return false if !lyxrc.use_gui
15640
15641 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15642
15643         * FontInfo.C (query):
15644         * converter.C (view):
15645         * importer.C (Import):
15646         * exporter.C (Export): Can not -> cannot.
15647
15648 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15649
15650         * BufferView_pimpl.C: allow to create index inset even if
15651           string is empty
15652
15653 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15654
15655         * buffer.C (getLists): replace boost::tie code with an explicit pair
15656         as boost::tie can break some compilers.
15657
15658         * iterators.h: Added a std:: declaration to the return type of
15659         ParIterator::size.
15660
15661 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15662
15663         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15664           case.
15665
15666 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15667
15668         * iterators.[Ch]: New files. Provide paragraph iterators.
15669
15670         * buffer.C (changeLanguage): Use paragraph iterators.
15671         (isMultiLingual): ditto
15672
15673         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15674
15675 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15676
15677         * FontLoader.C: Support for cmr font.
15678
15679 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15680
15681         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15682         (available): New method.
15683
15684         * FontInfo.C (getFontname): Use scalable fonts even when
15685         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15686         found.
15687
15688 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15689
15690         * converter.C (Formats::view): reverted! Incorrect fix.
15691
15692 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15693
15694         * converter.C (Formats::view): only output the -paper option
15695         if the dvi viewer is xdvi, thereby fixing bug #233429.
15696
15697 2001-08-23  Herbert Voss  <voss@perce>
15698
15699         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15700
15701 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15702
15703         * Spacing.h (Spacing): Set space to Default on in the default
15704         constructor.
15705
15706 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15707
15708         * vc-backend.h (RCS::versionString): add RCS to version
15709         (CVS::versionString): add CVS to version
15710
15711         * vc-backend.C (scanMaster): do not add CVS to version.
15712         (scanMaster): do not add RCS to version
15713
15714         * lyxvc.C (versionString): new method
15715
15716         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15717
15718 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15719
15720         * Spacing.C (set): initialize fval
15721
15722 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15723
15724         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15725         " or \.
15726
15727 2001-08-16  Juergen Vigna  <jug@sad.it>
15728
15729         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15730
15731 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15732
15733         * BufferView_pimpl.C:
15734         * figureForm.C:
15735         * lyxtext.h:
15736         * text2.C: setParagraph takes linespacing now
15737
15738 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15739
15740         * LyxAction.C: add internal LFUN_CITATION_INSERT
15741
15742         * LyXView.C: actually apply fix
15743
15744         * bufferlist.C: fix open non-existent file
15745
15746         * lyxfind.C: fix indentation
15747
15748         * lyxfunc.C: remove unneeded assert, fix typo
15749
15750 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15751
15752         * MenuBackend.C: use "Floatname List"
15753
15754 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15755
15756         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15757         when converting LaTeX layout to insetERT.
15758         Generate a non-collapsed float when reading old float
15759
15760 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15761
15762         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15763         ERT insets.
15764
15765 2001-08-13  Juergen Vigna  <jug@sad.it>
15766
15767         * text.C (fill): return 0 instead of 20 as this seems to be the more
15768         correct value.
15769
15770 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15771
15772         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15773         lyxrc.font_norm.
15774
15775 2001-08-13  Juergen Vigna  <jug@sad.it>
15776
15777         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15778         casesensitive off.
15779         (SearchBackward): comment out the unlocking of the inset_owner this
15780         should not be needed!
15781
15782 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15783
15784         * Many files: Remove inherit_language, and add latex_language
15785
15786         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15787         collapsible insets.
15788
15789 2001-08-10  Juergen Vigna  <jug@sad.it>
15790
15791         * text.C (prepareToPrint): fixed hfill-width in draw!
15792
15793         * BufferView2.C (selectLastWord): save the selection cursor as this
15794         now is cleared in the function LyXText::clearSelection!
15795
15796 2001-08-08  Juergen Vigna  <jug@sad.it>
15797
15798         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15799         BACKSPACE type functions.
15800
15801         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15802         is only cutted from the document but not put in the cut-buffer, where
15803         still the old stuff should be.
15804
15805         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15806
15807         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15808
15809         * tabular.C (SetWidthOfCell): fixed special case where the width
15810         was not updated!
15811         (LeftLine): handle '|' in align_special.
15812         (RightLine): ditto
15813         (LeftAlreadyDrawed): ditto
15814         (SetWidthOfCell): ditto
15815
15816 2001-08-07  Juergen Vigna  <jug@sad.it>
15817
15818         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15819
15820 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15821
15822         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15823         * lyxlex.[hC]: ditto
15824
15825 2001-08-06  Juergen Vigna  <jug@sad.it>
15826
15827         * text.C (getVisibleRow): fix up row clearing a bit.
15828
15829 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15830
15831         * minibuffer.C: make sure the X server sees the changes in the input.
15832
15833 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15834
15835         * paragraph.C (getFont): split into...
15836         (getLabelFont): this
15837         (getLayoutFont): and this
15838         * paragraph_pimpl.C (realizeFont): calling this
15839
15840         * text2.C (getFont): split into...
15841         (getLayoutFont): this
15842         (getLabelFont): and this
15843         (realizeFont): all three calling this
15844
15845         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15846         files where used.
15847
15848 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15849
15850         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15851
15852 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15853
15854         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15855         layouts from the Quote inset insertion.
15856
15857 2001-08-03  Juergen Vigna  <jug@sad.it>
15858
15859         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15860
15861         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15862         only if status not is already CHANGED_IN_DRAW (second level).
15863
15864         * text.C (draw): don't set the need_break_row when inside an
15865         InsetText LyXText.
15866
15867 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15868
15869         * buffer.C (parseSingleLyXformat2Token): handle more latex
15870         conversion cases.
15871
15872         * bufferview_funcs.[hC]: change function names to
15873         begin with small char, adjust other files.
15874
15875 2001-08-02  André Pönitz <poenitz@gmx.net>
15876
15877         * lyxfunc.C:
15878         BufferView_pimpl.C: remove broken special code for math-greek
15879
15880 2001-08-02  Juergen Vigna  <jug@sad.it>
15881
15882         * BufferView_pimpl.C (update): redone this function so that we
15883         update the text again if there was a CHANGE_IN_DRAW.
15884
15885         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15886         (drawFromTo): added a new internal bool which is used by draw() and
15887         redraw() function.
15888         (general): some cursor drawing problems fixed.
15889
15890 2001-08-01  Juergen Vigna  <jug@sad.it>
15891
15892         * lyxfind.C (LyXFind): fixed
15893         (SearchForward): ditto
15894         (SearchBackward): ditto
15895
15896         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15897         spurius drawing of the cursor in the main area.
15898
15899         * text2.C (status): small fix which could lead to a segfault!
15900         (clearSelection): remove unneeded BufferView param.
15901
15902 2001-08-01  André Pönitz <poenitz@gmx.net>
15903
15904         * lyxfunc.C: small change due to changed mathed interface
15905
15906 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15907
15908         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15909
15910 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15911
15912         * lyxfunc.c: fail gracefully if file doesn't exist
15913
15914         * LyXSendto.C:
15915         * buffer.C:
15916         * lyxfunc.C:
15917         * BufferView_pimpl.C: IsDirWriteable() proto changed
15918
15919         * LyXView.C: fix updateWindowTitle() to store the last title
15920
15921 2001-07-31  Juergen Vigna  <jug@sad.it>
15922
15923         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15924         the font (wrong since using of Paragraph::highestFontInRange).
15925
15926         * paragraph.C (highestFontInRange): added a default_size parameter.
15927
15928         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15929         (setHeightOfRow): reformat
15930
15931 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * converter.[hC] + affected files: move to (inital-char)lowercase
15934         function names.
15935
15936         * ParagraphParameters.C (ParagraphParameters): remove commented code
15937
15938         * PainterBase.[Ch]: remove commented code
15939
15940         * LaTeXFeatures.h: add "bool floats" for float.sty
15941
15942         * LaTeXFeatures.C (LaTeXFeatures): init floats
15943         (require): handle float
15944         (getPackages): do it with floats
15945
15946 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15947
15948         * BufferView_pimpl.C (Dispatch): improve handling of
15949         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15950
15951         * commandtags.h: #include lyxfont.h here temporarily to avoid
15952         keybinding bug.
15953
15954         * bufferlist.h: include LString.h here.
15955
15956 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15957
15958         * text2.C (getStringToIndex): new method.
15959
15960 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15961
15962         * *: Reduced header file dependencies all over.
15963
15964 2001-07-30  Baruch Even  <baruch@lyx.org>
15965
15966         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15967
15968 2001-07-29  Baruch Even  <baruch@lyx.org>
15969
15970         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15971
15972 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15973
15974         * ParameterStruct.h (endif): add a default constructor to make
15975         sure that all variables is initialized.
15976
15977         * ParagraphParameters.C (ParagraphParameters): adjust
15978
15979 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15980
15981         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15982         index; also, check that there is something to index, and that it
15983         does not span over several paragraphs.
15984         (doubleClick): use WHOLE_WORD_STRICT for double click.
15985
15986         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15987
15988         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15989         scheme.
15990
15991 2001-07-26  Baruch Even  <baruch@lyx.org>
15992
15993         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15994         an InsetFig figure, backwards compatible reading of old figure code.
15995
15996 2001-07-27  Juergen Vigna  <jug@sad.it>
15997
15998         * text2.C: font.realize function adaption.
15999
16000         * text.C (draw): add a warnings lyxerr text if needed.
16001
16002         * layout.C: font.realize function adaption.
16003
16004         * language.C: add inherit_language and implement it's handlings
16005
16006         * bufferview_funcs.C (StyleReset): remove language parameter from
16007         font creation (should be language_inherit now).
16008
16009         * bufferparams.C (writeFile): handle ignore_language.
16010
16011         * paragraph.C (getFontSettings): the language has to be resolved
16012         otherwise we have problems in LyXFont!
16013
16014         * lyxfont.C (lyxWriteChanges): added document_language parameter
16015         (update): removed unneeded language parameter
16016
16017         * paragraph.C (validate): fixed wrong output of color-package when
16018         using interface colors for certain fonts in certain environments,
16019         which should not seen as that on the final output.
16020
16021 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16022
16023         * BufferView_pimpl.C:
16024         * Thesaurus.h:
16025         * Thesaurus.C:
16026         * Makefile.am:
16027         * commandtags.h:
16028         * LyXAction.C: add thesaurus support
16029
16030         * lyxfind.h:
16031         * lyxfind.C: add "once" parameter, for thesaurus, to not
16032           move to the next match
16033
16034 2001-07-26  Juergen Vigna  <jug@sad.it>
16035
16036         * lyxfont.C (realize): honor ignore_language too!
16037         (resolved): ditto.
16038
16039         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16040
16041         * text.C (draw): one place more for ignore_language to not draw
16042         itself!
16043
16044 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16045
16046         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16047
16048 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16049
16050         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16051         the minipage conversion problem.
16052
16053 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16054
16055         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16056         insert an inset.
16057
16058 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16059
16060         * BufferView.h: don't forward declare WorkArea
16061
16062         * BufferView.C: don't include WorkArea.h
16063
16064 2001-07-25  André Pönitz <poenitz@gmx.net>
16065
16066         * commandtags.h:
16067         * LyXAction.C:
16068         * lyxfunc.C:  new LFUN 'math-space'
16069
16070         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16071
16072 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16073
16074         * text2.C (toggleInset): call open/close
16075
16076 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16077
16078         * lyxfunc.C (dispatch): add debug for the disabled case
16079
16080         * font.C (buttonText): make similar to rectText
16081
16082         * buffer.C (readInset): comment out parsing of insetlist and
16083         insttheorem
16084
16085         * PainterBase.C (rectText): small correction
16086
16087         * BufferView_pimpl.C: comment out insettheorem and insetlist
16088         * LyXAction.C: ditto
16089         * commandtags.h: ditto
16090
16091 2001-07-24  Juergen Vigna  <jug@sad.it>
16092
16093         * text.C (draw): honor the ignore_language.
16094
16095         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16096
16097 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16098
16099         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16100         char inset.
16101
16102 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16103
16104         * lyxtext.h: remove unused (and unimplemented) methods
16105
16106 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16107
16108         * text.C (getVisibleRow): honor background color
16109
16110         * PainterBase.h:
16111         * Painter.h: remove default color argument for fillRectangle
16112
16113         * text.C (backgroundColor): new method
16114
16115 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16116
16117         * text.C (getVisibleRow): adjust
16118
16119         * font.[Ch] (rectText): new method, metrics
16120         (buttonText): new method, metrics
16121
16122         * PainterBase.[hC]: make rectText and buttonText always draw and take
16123         fewer paramteres.
16124
16125 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16126
16127         * ToolbarDefaults.C (read):
16128         * MenuBackend.C (read): allow escaping in all strings
16129
16130         * BufferView_pimpl.C (insertAndEditInset): new method.
16131         (Dispatch): use insertAndEditInset whenever appropriate.
16132
16133         * BufferView_pimpl.C (insertNote): removed
16134
16135         * BufferView_pimpl.C (smartQuote): new method, moved from
16136         BufferView; if an insetquote cannot be inserted, insert a '"'
16137         character instead.
16138
16139         * BufferView2.C: remove insertCorrectQuote();
16140
16141         * lyxfunc.C (getStatus): Add support for all remaingin
16142         inset-insert lfuns.
16143
16144         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16145
16146         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16147         command (necessary to pass " as parameter of self-insert.
16148
16149         * text.C (selectWordWhenUnderCursor):
16150         (selectWord): add word_location parameter
16151         (selectWordWhenUnderCursor): same + remove special code for word
16152         boundary.
16153         (selectNextWord): use kind() to guess type of insetspecialchar,
16154         not latex().
16155
16156         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16157         (insertErtContents): create ert insets as collapsed.
16158         (readInset): better compatibility code for Info inset.
16159
16160 2001-07-20  Juergen Vigna  <jug@sad.it>
16161
16162         * lyxfunc.C (dispatch): use always LyXFind now!
16163
16164         * text2.C (init): add a reinit flag so that the LyXText can be
16165         reinited instead of deleted and reallocated (used in InsetText).
16166
16167         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16168
16169         * text.C: ditto
16170
16171         * text2.C: ditto
16172
16173 2001-07-18  Juergen Vigna  <jug@sad.it>
16174
16175         * text.C (selectNextWord): handle insets inside inset by calling
16176         always the bv->text functions so that we can go up the_locking_inset!
16177
16178         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16179         in strange locations when inside an inset!
16180
16181         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16182         handling to include insets.
16183
16184         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16185
16186 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16187
16188         * LyXAction.C (init):
16189         * commandtags.h:
16190         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16191         LIGATURE_BREAK, since the name is so stupid.
16192
16193 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16194
16195         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16196         InsetInfos.
16197
16198         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16199
16200         * sp_form.[Ch]: remove.
16201
16202         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16203
16204         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16205         InsetInfo.
16206
16207         * src/buffer.C (readInset): ditto.
16208
16209 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16210
16211         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16212         menuSeparator(), endOfSentenceDot(), ldots() and
16213         hyphenationPoint(), which are therefore removed.
16214         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16215
16216         * LyXAction.C (init):
16217         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16218
16219         * paragraph.C (getWord): removed.
16220
16221         * BufferView_pimpl.C (Dispatch): use last word or selection for
16222         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16223
16224         * lyx_main.C (queryUserLyXDir): do not ask before creating
16225         user_dir, except if it has been named explicitely.
16226
16227 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16228
16229         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16230         a document of zero size.
16231
16232 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16233
16234         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16235         approriately in the c-tor and in require().
16236         (getPackages): output the appropriate LaTeX for natbib support.
16237
16238         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16239         variables "use_natbib" and "use_numerical_citations" when reading the
16240         LyX file.
16241         (readInset): read the various natbib cite commands.
16242         (validate): white-space change.
16243
16244         * bufferparams.[Ch]: new variables "bool use_natbib" and
16245         "bool use_numerical_citations".
16246         (writeFile): output them in the LyX file.
16247
16248 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16249
16250         * lyxfunc.C (getStatus): add support for all the inset insertion
16251         commands.
16252
16253         * text2.C (insertInset):
16254         * paragraph.C (insetAllowed):
16255         * BufferView_pimpl.C (insertInset): update to take in account the
16256         renaming of insertInsetAllowed
16257
16258         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16259
16260         * text2.C (getInset): new method. returns inset at cursor position.
16261
16262         * BufferView_pimpl.C (Dispatch): changes because of this.
16263
16264         * LyXAction.C (init): rename open-stuff to inset-toggle.
16265
16266         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16267
16268         * text2.C (toggleInset): renamed from openStuff; use
16269         Inset::open().
16270
16271 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16272
16273         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16274
16275         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16276
16277 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16278
16279         * buffer.C (readLyXformat2): Add filename to the error dialog
16280
16281 2001-07-18  Juergen Vigna  <jug@sad.it>
16282
16283         * tabular.C (GetCellNumber): put an assert here instead of the check!
16284
16285 2001-07-17  Juergen Vigna  <jug@sad.it>
16286
16287         * BufferView_pimpl.C (toggleSelection): adapted too.
16288
16289         * text.C (selectNextWord): adapted for use with insets.
16290         (selectSelectedWord): ditto
16291
16292 2001-07-17  Juergen Vigna  <jug@sad.it>
16293
16294         * sp_spell.C (PSpell): fix initialitation order.
16295
16296 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16297
16298         * paragraph.C: spacing
16299
16300 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16301
16302         * sp_spell.C: repair language selection for pspell
16303
16304 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16305
16306         * lyxfunc.h: change more methods to begin with lower char.
16307
16308 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16309
16310         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16311         for unknown layouts.
16312
16313 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16314
16315         * buffer.C (readLyXformat2): Generate an error dialog if there are
16316         unknown layouts.
16317
16318 2001-07-16  Juergen Vigna  <jug@sad.it>
16319
16320         * sp_spell.C: always compile ISpell part.
16321
16322         * lyxrc.C: added use_pspell entry and it's handling.
16323
16324 2001-07-13  Juergen Vigna  <jug@sad.it>
16325
16326         * sp_spell.C: removed double includes.
16327
16328 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16329
16330         Consistent use of Lsstream.h:
16331         * Lsstream.h: added using std::stringstream for consistencies sake.
16332
16333         * buffer.C: removed using std::stringstream
16334
16335         * lyxfont.C (stateText):
16336         * paragraph.C (asString):
16337         * text.C (selectNextWord, selectSelectedWord):
16338         * text2.C (setCounter):
16339         * vspace.C (asString, asLatexString):
16340         std::ostringstream -> ostringstream.
16341
16342 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16343
16344         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16345         * commandtags.h: add LFUN_HELP_ABOUTLYX
16346         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16347
16348 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16349
16350         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16351         cursorToggle()
16352         * lyx_gui_misc.C: remove spellchecker
16353         * lyxfunc.C: showSpellchecker
16354         * sp_base.h: added
16355         * sp_ispell.h: added
16356         * sp_pspell.h: added
16357         * sp_spell.C: added
16358         * sp_form.[Ch]: removed
16359         * spellchecker.[Ch]: removed
16360
16361 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16362
16363         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16364         is set.
16365         (simpleTeXSpecialChars): Simply print the input character without
16366         any special translation if pass_thru is set.
16367
16368         * layout.h: Added bool pass_thru to layout class for being able to
16369         implement pass through of a paragraph for Literate Programming.
16370
16371         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16372         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16373         * layout.C (Read): add "passthru" to list of layout tags and add
16374         code to set the pass_thru boolean when it is read.
16375
16376 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16377
16378         * trans_decl.h: remove allowed from KmodInfo
16379
16380         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16381         remove allowed code
16382         (Load): adjust
16383
16384         * paragraph_pimpl.C (erase): use boost::prior
16385
16386         * Painter.C (text): use data() instead of c_str() when length is
16387         also provided.
16388         * WorkArea.C (putClipboard): ditto
16389         * font.h (width): ditto
16390
16391         * BufferView2.C: use it-> instead of (*it). for iterators
16392         * texrow.C: ditto
16393         * paragraph_pimpl.C: ditto
16394         * paragraph.C: ditto
16395         * minibuffer.C: ditto
16396         * language.C: ditto
16397         * kbmap.C: ditto
16398         * encoding.C: ditto
16399         * counters.C: ditto
16400         * converter.C: ditto
16401         * chset.C: ditto
16402         * Variables.C: ditto
16403         * TextCache.C: ditto
16404         * MenuBackend.C: ditto
16405         * LyXAction.C: ditto
16406         * LColor.C: ditto
16407         * FloatList.C: ditto
16408         * DepTable.C: ditto
16409         * ColorHandler.C (LyXColorHandler): ditto
16410
16411 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16412
16413         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16414
16415         * text2.C (openStuff): reintroduce this method (which had been
16416         nuked in NEW_INSETS frenzy).
16417
16418         * lyxfunc.C (Dispatch): when an action has not been handled, use
16419         its name in the error message, not its number.
16420
16421         * paragraph.C (inInset): change method name to begin with lowercase.
16422
16423         * undo_funcs.C:
16424         * text2.C: updates because of this.
16425
16426 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16427
16428         * ToolbarDefaults.C (add): add spaces in error message
16429
16430 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16431
16432         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16433         (readLyXformat2): rename return_par to first_par, use lyxlex's
16434         pushToken and remove the manual push handling.
16435         (parseSingleLyXformat2Token): add another ert comp. variable:
16436         in_tabular, rename return_par to first_par. handle newlines better
16437
16438 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16439
16440         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16441
16442 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16443
16444         * text2.C (getParFromID): removed
16445
16446         * buffer.C (getParFromID): new method moved form lyxtext.
16447         * BufferView2.C (insertErrors): adjust
16448         (setCursorFromRow): adjust
16449         * BufferView_pimpl.C (restorePosition): adjust
16450         * lyxfunc.C (Dispatch): adjust
16451         * undo_funcs.C (textUndo): adjust
16452         (textRedo): adjust
16453         (textHandleUndo): adjust
16454         (textHandleUndo): adjust
16455
16456 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16457
16458         * buffer.C: up' the LYX_FORMAT
16459
16460         * lyxfont.h: turn NO_LATEX on as default
16461
16462         * buffer.C (insertErtContents): new methods of tex style compability.
16463         (parseSingleLyXformat2Token): use it several places.
16464         * tabular.C (OldFormatRead): and here
16465
16466 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16467
16468         * text2.C: remove some commented code.
16469         reindent file.
16470
16471         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16472         * trans.C: changes because of the above.
16473
16474 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16475
16476         * text2.C (setCounter): Fix counters bug with bibliography layout.
16477
16478 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16479
16480         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16481         own member functions
16482         (simpleTeXSpecialChars): ditto
16483
16484 2001-07-06  Juergen Vigna  <jug@sad.it>
16485
16486         * a lot of files: changed the access to LyXText::status and the
16487         call of undo-functions.
16488
16489         * undo.[Ch]: added a inset_id to the undo informations.
16490
16491         * undo_funcs.[Ch]: added and moved here all undo functions.
16492
16493         * lyxtext.h: give the status enum a weight, made status_ a private
16494         variable and made accessor functions for it, removed the whole bunch
16495         of undo-functions as they are now in their own file, make some
16496         functions publically available. Added function ownerParagraph with
16497         int parameter.
16498
16499         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16500         made InInset() a const function, added getParFromID() function.
16501
16502         * buffer.[Ch]: added const version for inset_iterator functions,
16503         added getInsetFromID() function.
16504
16505         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16506         changed undo functions for new version.
16507
16508 2001-07-05  Juergen Vigna  <jug@sad.it>
16509
16510         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16511         unknow mechanism does not call the proper constructor but only this
16512         one also if I request the other!?
16513
16514 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16515
16516         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16517
16518         * text2.C (LyXText): use initialization lists.
16519
16520         * lyxtext.h (Selection): initialize set_ and mark_
16521         (init): remove method
16522
16523 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16524
16525         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16526
16527 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16528
16529         * screen.[Ch]: change method names to begin with lowercase
16530
16531         * BufferView_pimpl.C (updateScrollbar): simplify further and
16532         hopefully make it a bit faster.
16533
16534 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16537         calling directly xforms functions.
16538
16539         * Painter.C (Painter):
16540         * lyx_cb.C (MenuWrite):
16541         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16542         fl_display.
16543
16544         * lyx_gui.C: remove bogus guiruntime extern declaration.
16545
16546 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16547
16548         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16549         in NEW_INSETS
16550         (redoDrawingOfParagraph): ditto
16551         (redoParagraphs): ditto
16552         (cutSelection): don't create a object for CutAndPaste use the
16553         static method directly
16554         (pasteSelection): ditto
16555
16556         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16557         LyXview (+ rename)
16558
16559 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16560
16561         * modifications to some other files because of this.
16562
16563         * Makefile.am (lyx_SOURCES): add XFormsView
16564
16565         * XFormsView.[Ch]: new files
16566
16567         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16568         the main window. Move the gui dependent stuff to XFormsView
16569
16570 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16571
16572         * tabular.C (GetCellInset): update cur_cell also in the row/col
16573         version of this function.
16574
16575         * lyxfunc.C: no need to include figure_form.h here.
16576
16577         * FontLoader.h:
16578         * lyxfunc.h:
16579         * lyxscreen.h:
16580         * text2.C:
16581         * lyxvc.C: no need to include forms.h here.
16582
16583 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16584
16585         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16586
16587         * lyxfunc.C (Dispatch):
16588         * Spacing.C (set):
16589         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16590         constructor argument.
16591
16592 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16593
16594         * paragraph.C (Paragraph): dont't clear, and just set layout.
16595         (makeSameLayout): use params's copy contructor.
16596
16597         * ParagraphParameters.[Ch] (makeSame): delete method
16598
16599 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16600
16601         * Variables.[Ch]: fix indentation, rename set to isSet
16602
16603 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16604
16605         * lyxfunc.C (Dispatch): fix typo
16606
16607 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16608
16609         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16610         upper_bound.
16611
16612         * bufferlist.C: include assert.h for emergencyWrite().
16613
16614 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16615
16616         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16617           give up at last (bug #425202) !
16618
16619 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16620
16621         * lyx_gui_misc.C:
16622         * sp_form.h:
16623         * sp_form.C:
16624         * spellchecker.h:
16625         * spellchecker.C: strip spellchecker options and bring up
16626           preferences tab instead
16627
16628 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16629
16630         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16631         the istringstream constructor
16632
16633 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16634
16635         * paragraph.C (getLayout): fix return value
16636
16637         * paragraph.h: do not declare getLayout as inline.
16638
16639         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16640
16641 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16642
16643         * lyxcursor.h (operator<): new func
16644         (operator>): new func
16645         (operator>=): new func
16646         (operator<=): new func
16647
16648         * text.C (changeCase): use selection.start and selection.end
16649         (changeRegionCase): require from to be <= to. Require par to be a
16650         valid paragraph.
16651
16652         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16653
16654 2001-06-27  Juergen Vigna  <jug@sad.it>
16655
16656         * text.C (cursorLeftOneWord): changed to return the cursor and added
16657         overlay with BufferView * parameter which calls this one.
16658         (getWord): added
16659         (selectWord): use new getWord function.
16660         (changeCase): renamed from changeWordCase as and extended to work
16661         also on selections.
16662
16663         * lyxtext.h: added enum word_location
16664
16665         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16666         changeCase as this operates now also on selections.
16667
16668 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16669
16670         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16671
16672         * many files: send debug output to Debug::INFO instead of
16673         Debug::ANY.
16674
16675         * converter.C (View):
16676         (Convert):
16677         (Move): send debug output to Debug::FILES instead of console.
16678
16679 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16680
16681         * lyxfunc.C (getStatus): use func_status
16682
16683         * func_status.h: new header, describing the results of
16684         LyXFunc::getStatus;
16685
16686         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16687         LFUN_MATH_HALIGN.
16688
16689 2001-06-25  The LyX Project  <jug@sad.it>
16690
16691         * buffer.C (sgmlOpenTag):
16692         (sgmlCloseTag):
16693         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16694
16695 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16696
16697         * text2.C: remove some dead code
16698
16699         * tabular.C (GetCellInset): store the last cell checked (gotten)
16700
16701         * tabular.h: add the helper for the speedup
16702
16703         * lyxtext.h: remove some dead code
16704
16705 2001-06-26  The LyX Project  <Asger>
16706
16707         * paragraph.C: Change export to LaTeX of alignment to
16708         \begin{center} and family for better roundtrip work with reLyX.
16709
16710         * Tune the math drawing a bit.
16711
16712 2001-06-25  The LyX Project  <Asger>
16713
16714         * LColor.C (LColor): New color for math background. New color
16715         for buttons.
16716
16717 2001-06-25  The LyX Project  <jug@sad.it>
16718
16719         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16720
16721         * lyxfunc.C (Open):
16722         * bufferlist.C (newFile): do not restrict to files ending with
16723         .lyx
16724
16725         * BufferView_pimpl.C (MenuInsertLyXFile):
16726
16727 2001-06-24  The LyX Project  <jug@sad.it>
16728
16729         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16730         of compare_no_case
16731
16732 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16733
16734         * lyxtext.h: rename most methods to begin with a small char.
16735         Lots of changes because of this.
16736
16737         * paragraph.C (Paragraph): do not call fitToSize
16738         (erase): call Pimpl::erase
16739         (insertChar): call Pimpl::insertChar
16740         (insertInset): call Pipl::insertInset
16741         (breakParagraph): do not call fitToSize
16742         (breakParagraphConservative): do not call fitToSize
16743         (fitToSize): remove method
16744
16745         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16746
16747 2001-06-24  The LyX Project  <Asger>
16748
16749         * Fix Qt compilation^2
16750
16751 2001-06-24  The LyX Project  <jug@sad.it>
16752
16753         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16754         depthHook(getDepth()-1).
16755
16756         * paragraph.h:
16757         * ParagraphParameters.h:
16758         * ParameterStruct.h: change type of depth to unsigned int ==
16759         depth_type. Many adaptations to other files before of that.
16760
16761 2001-06-24  The LyX Project  <Asger>
16762
16763         * Fix Qt compilation.
16764
16765 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16766
16767         * paragraph.h: renamed several methods to begin with small letter.
16768         several changes to many parts of the code because of this.
16769
16770 2001-06-23  The LyX Project  <jug@sad.it>
16771
16772         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16773         rewritten to discard all double spaces when KeepEmpty is off
16774         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16775         to only handle newlines but not fiddle with spaces and friends.
16776
16777         * lyxfunc.C (MenuNew): when doing 'new from template', use
16778         template_path as default directory
16779
16780 2001-06-23  The LyX Project  <Asger>
16781
16782         * Clean-up of header file includes all over
16783         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16784
16785 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16786
16787         * paragraph.h: renamed from lyxparagraph.h
16788
16789 2001-06-23  Asger  <lyx@violet.home.sad.it>
16790
16791         * Buffer.h: Removed Buffer::resize
16792         * BufferList.h: Removed BufferList::resize
16793         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16794         the document lazily when we change the width, or the font settings.
16795
16796 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16797
16798         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16799
16800 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16801
16802         * buffer.h: remove out of date comment
16803
16804 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16805
16806         * lyxscreen.h:
16807         * screen.C: fix "theoretical" GC leak
16808
16809 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16810
16811         * LaTeX.C (scanAuxFile):
16812         (deplog): remove trailing \r when reading stream (useful under
16813         win32)
16814
16815 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16816
16817         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16818         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16819         and BufferView::theLockingInset(Inset*), so should use them and not
16820         access bv_->text->the_locking_inset directly.
16821
16822         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16823
16824 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16825
16826         * Makefile.am:
16827         * tex-defs.h: remove old unused file
16828
16829 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16830
16831         * BufferView_pimpl.C: fix typo, remove minibuffer message
16832           when buffer has loaded
16833
16834 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16835
16836         * lyxfunc.C (Dispatch): use stringstream
16837         (MenuNew): use stringstream
16838         (Open): use stringstream
16839
16840         * importer.C (Import): use stringstream
16841
16842         * bufferview_funcs.C (CurrentState): use stringstream
16843
16844         * LaTeX.C (run): use stringstream
16845
16846         * BufferView_pimpl.C (savePosition): use stringstream
16847         (restorePosition): use stringstream
16848         (MenuInsertLyXFile): use stringstream
16849
16850 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16851
16852         * BufferView.C:
16853         * Bullet.C:
16854         * ColorHandler.C:
16855         * FontInfo.C:
16856         * FontLoader.C:
16857         * LColor.C:
16858         * LaTeXFeatures.C:
16859         * Painter.C:
16860         * gettext.C:
16861         * lyx_gui_misc.C:
16862         * lyxserver.C:
16863         * vspace.C: removed // -*- C++ -*- as first line.
16864
16865         * lyxfind.h:
16866         * version.h: added // -*- C++ -*- as first line.
16867
16868 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16869
16870         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16871
16872         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16873         of string
16874
16875 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16876
16877         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16878         of floats.
16879
16880 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16881
16882         * gettext.C: include LString.h even when --disable-nls is on.
16883
16884 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16885
16886         * converter.h (Get): changed argument type from int to
16887         FormatList::size_type to avoid unnecessary conversion.
16888
16889         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16890         before using it.
16891
16892 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16893
16894         * gettext.h: include LString.h even when --disable-nls is on.
16895
16896 2001-06-07  Juergen Vigna  <jug@sad.it>
16897
16898         * text.C (BreakAgain): subst spaces with tabs.
16899
16900         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16901         (resizeInsetsLyXText): set force on resizeLyXText.
16902
16903 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16904
16905         * gettext.h (gettext_init):
16906         (locale_init): use a real definition instead of a macro
16907
16908 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16909
16910         * Bufferview_pimpl.C:
16911         * LColor.h:
16912         * LColor.C: further lcolor tidies
16913
16914 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16915
16916         * BufferView_pimpl.C (updateScrollbar): simplify.
16917
16918         * BufferView2.C: don't include insets/insetinfo.h, change
16919         prototype for insertInset and call the Pimpl version. let
16920         updateInset call Pimpl version.
16921
16922         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16923         gotoInset to BufferView::Pimpl
16924
16925 2001-06-01  Juergen Vigna  <jug@sad.it>
16926
16927         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16928         inside a LockingInset (is the update needed at all?).
16929
16930 2001-05-31  Juergen Vigna  <jug@sad.it>
16931
16932         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16933         here not the old one otherwise how should we compare it afterwards
16934         if it's the same!
16935
16936 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16937
16938         * lyxfont.C:
16939         * tabular.C:
16940         * tabular-old.C:
16941         * FontInfo.C: bring C functions into global namespace when
16942         necessary
16943
16944 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16945
16946         * LString.h: make sure config.h has been loaded before LString.h.
16947
16948         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16949         (one for each char read by EatLine!).
16950
16951         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16952         variables.
16953
16954 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16955
16956         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16957         to the same as the par we break from
16958
16959 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16960
16961         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16962
16963         * MenuBackend.C (expand): also create menu entries for wide
16964         versions of the floats.
16965
16966         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16967
16968         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16969
16970         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16971         frontends/Makefile.am
16972
16973         * text2.C: adjust
16974         * text.C: adjust
16975
16976
16977         * tabular.C (getTokenValue): add std::
16978
16979         * tabular-old.C (getTokenValue): add std::
16980         (getTokenValue): ditto
16981         (getTokenValue): ditto
16982
16983         * screen.C (ToggleSelection): adjust
16984
16985         * lyxtext.h: put selection cursors inside a Selection struct.
16986
16987         * lyxfunc.C (moveCursorUpdate): adjust
16988
16989         * lyxfont.C (latexWriteStartChanges): add std::
16990
16991         * lyxfind.C: adjust
16992
16993         * font.h: delete with(char const *, LyXFont const &)
16994
16995         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16996
16997         * FontInfo.C (getFontname): add std::
16998
16999         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17000         (workAreaButtonPress): adjust
17001         (tripleClick): adjust
17002         (update): adjust
17003         (moveCursorUpdate): adjust
17004         (Dispatch): adjust
17005
17006         * BufferView2.C (gotoInset): adjust
17007
17008 2001-05-30  Juergen Vigna  <jug@sad.it>
17009
17010         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17011         to check pspell I add this as default as I now have new pspell
17012         libraries and they seem to use this.
17013
17014 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17015
17016         * text2.C (CutSelection): make the cursor valid before the call to
17017         ClearSelection.
17018
17019 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17020
17021         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17022         relied on 0 terminated strings and other horrors. Bug found due to
17023         the new assert in lyxstring!
17024
17025         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17026         KP_ keys.
17027
17028 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17029
17030         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17031         to latinkeys.bind.
17032
17033         * lyxfunc.C (processKeySym): change method of getting to the
17034         self-insert char.
17035
17036         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17037         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17038         * BufferView_pimpl.[Ch]: here as private methods.
17039
17040 2001-05-28  Juergen Vigna  <jug@sad.it>
17041
17042         * text.C (SetHeightOfRow): added the update() call again as it is
17043         needed to initialize inset dimensions!
17044
17045 2001-05-16  Juergen Vigna  <jug@sad.it>
17046
17047         * text2.C (SetCharFont): Add new function with BufferView * and
17048         bool toggleall parameters for setting insets internal fonts.
17049         (SetFont): Freeze the undo as we may change fonts in Insets and
17050         all this change should be inside only one Undo!
17051
17052         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17053         setting font's in insets as for them we have the SetFont function!
17054
17055 2001-05-15  Juergen Vigna  <jug@sad.it>
17056
17057         * text2.C (ClearSelection): to be sure we REALLY don't have any
17058         selection anymore!
17059
17060         * tabular.C (TeXCellPreamble): fixed the left border problem for
17061         multicolumn cells.
17062
17063 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17064
17065         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17066         dependancy file
17067
17068 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17069
17070         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17071         LFUN_BREAKPARAGRAPH.
17072
17073         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17074         help test to "internal only", similar for LFUN_INSERT_URL
17075
17076         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17077         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17078         auto_region_delete and deadkeys.
17079
17080 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17081
17082         * LColor.h:
17083         * LColor.C: remove some dead entries, tidy a little
17084
17085 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17086
17087         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17088         commented code.
17089         (Dispatch): implement LFUN_ESCAPE
17090
17091         * commandtags.h: add LFUN_ESCAPE
17092
17093         * LyXAction.C (init): add entry for LFUN_ESCAPE
17094
17095         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17096         Remove commented code.
17097         (insertNote): moved here
17098         (open_new_inset): moved here
17099
17100         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17101         BufferView_pimpl
17102
17103 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17104
17105         * kbmap.C (findbinding): clean it up and make it work correctly.
17106
17107         * lyx_main.C (init): do not pass argc and argv as parameters
17108
17109 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17110
17111         * buffer.C: fix path for OS/2 & Win32
17112
17113         * lyx_gui.C:
17114         * lyx_main:
17115         * lyx_main.C: Added os:: class.
17116
17117         * os2_defines.h: update
17118
17119 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17120
17121         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17122         better by trying again with reduced state.
17123
17124 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17125
17126         * lyxrc.C (read): print error about invalid key sequence only when
17127         debugging (because not all latinX keysyms are known to some X
17128         servers)
17129
17130         * kbsequence.C (getiso): add a few std:: qualifiers
17131         (getiso): comment out extra return statement.
17132
17133 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17134
17135         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17136         handling.
17137         (Dispatch): enhance the accent inset a bit. (not perfect)
17138
17139 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17140
17141         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17142
17143 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17144
17145         * bufferlist.C (emergencyWrite): fix assert() call
17146
17147 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17148
17149         * text.C (InsertChar): Added trivial patch to only send the "you
17150         can not do multiple spaces this way" message once during a
17151         session.
17152
17153 2001-05-08  Baruch Even  <baruch@lyx.org>
17154
17155         * Makefile.am: Changed order of libraries to get LyX to link properly
17156         with the gnome frontend.
17157
17158 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17159
17160         * LaTeXFeatures.h: add a std:: qualifier
17161
17162 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17163
17164         * paragraph.C (String): use stringstream
17165
17166 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17167
17168         * paragraph.C (writeFile): remove footflag arg
17169
17170         * buffer.C (makeLaTeXFile): use stringstream
17171         (latexParagraphs): remove footnot gurba
17172
17173         * LaTeXFeatures.C (getPackages): use stringstream
17174         (getMacros): likewise
17175         (getTClassPreamble): likewise
17176         (getFloatDefinitions): new method
17177
17178         * paragraph.C (writeFile): reindent
17179         (Erase): reindent
17180
17181         * WorkArea.h: revert the xpos + etc changes.
17182
17183         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17184
17185         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17186
17187         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17188         (pasteSelection): likewise
17189         * text2.C (CreateUndo): likewise
17190
17191 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17192
17193         * minibuffer.C (peek_event): temporarily reduce the functionality
17194         of the minibuffer (to allow args on lfuns)
17195
17196         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17197         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17198
17199         * buffer.C (readInset): add compability reading of old float
17200         lists, add reading of new style float list.
17201         (readInset): avoid reevaluation of inscmd.getCmdName()
17202         (getLists): reindent
17203
17204         * MenuBackend.C (MenuItem): implement parsing of
17205         md_floatlistinsert and md_floatinsert.
17206         (expand::LastFiles): move initalizaton of iterators out of loop,
17207         avoid reevaluation.
17208         (expand::Documents): introduce typdedef vector<string> Strings,
17209         and use it.
17210         (expand::ExportFormats): introduce typedef vector<Format const *>
17211         Formats, and use it.
17212         (expand): implement FloatListInsert and FloatInsert.
17213
17214         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17215         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17216         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17217
17218         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17219         handling.
17220         (Dispatch::LFUN_FLOAT_LIST): implement
17221
17222 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17223
17224         * LaTeX.C (run): Fix problem with --export code.
17225
17226 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17227
17228         * BufferView.[Ch] (workarea): removed.
17229         (getClipboard) new method; wrapper for workarea()->getClipboard()
17230
17231         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17232         bug.
17233
17234         * WorkArea.h (width, height, xpos, ypos): These methods all
17235         returned the dimensions of the work_area sub-area of WorkArea,
17236         resulting in a position error if the WorkArea were resized. Now
17237         return the dimensions of the entire WorkArea.
17238
17239         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17240
17241 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17242
17243         * LaTeX.C (deplog): correct the syntax of regex reg1
17244
17245 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17246
17247         * undo.C: remove !NEW_INSETS cruft
17248
17249 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17250
17251         * text2.C: remove !NEW_INSETS cruft
17252
17253         * text.C: remove !NEW_INSETS cruft
17254
17255         * tabular.C: remove !NEW_INSETS cruft
17256
17257         * spellchecker.C: remove !NEW_INSETS cruft
17258
17259         * lyxtext.h: remove !NEW_INSETS cruft
17260
17261         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17262
17263         * lyxfunc.C: remove !NEW_INSETS cruft
17264
17265         * lyxfind.C: remove !NEW_INSETS cruft
17266
17267         * lyx_cb.C: remove !NEW_INSETS cruft
17268
17269         * figureForm.C: remove  !NEW_INSETS cruft
17270
17271         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17272
17273         * buffer.[Ch]: remove !NEW_INSETS cruft
17274
17275         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17276
17277         * CutAndPaste.C: remove !NEW_INSETS cruft
17278
17279         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17280
17281         * BufferView2.C: remove !NEW_INSETS cruft
17282
17283         * BufferView.h: remove !NEW_INSETS cruft
17284
17285 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17286
17287         * Lsstream.h: include LString.h before the sstream headers to
17288         fix problem with gcc 2.95.3 and lyxstring
17289
17290 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17291
17292         * lyx_main.C: add using directives when needed for C functions
17293         declared in std:: namespace.
17294
17295 2001-04-27  Juergen Vigna  <jug@sad.it>
17296
17297         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17298         (SetHeightOfRow): comment out the update call should not be needed!
17299
17300 2001-04-13  Juergen Vigna  <jug@sad.it>
17301
17302         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17303         (LyXTabular): tried to minimize operator= operations (and realized
17304         hopfully Lars wish).
17305
17306 2001-04-27  Juergen Vigna  <jug@sad.it>
17307
17308         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17309
17310 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17311
17312         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17313
17314         * buffer.C (readInset): hack to make listof algorithm work
17315
17316         * BufferView_pimpl.C: hack to make listof algorithm work
17317
17318 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17319
17320         * LyXAction.C: removed all !NEW_INSETS cruft
17321         (init): moved lfun_item in method
17322
17323         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17324
17325 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17326
17327         * BufferView2.C (theLockingInset): white space.
17328
17329 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17330
17331         * minibuffer.C: include <iostream>
17332
17333         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17334
17335         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17336
17337         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17338
17339         * text.[Ch] (TransposeChars): new method
17340
17341 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17342
17343         * call message directly through LyXView instead of through LyXFunc
17344         * BufferView2.C: adjust
17345         * BufferView_pimpl.C: adjust
17346         * FontLoader.C: adjust
17347         * buffer.C: adjust
17348         * bufferview_funcs.C: adjust
17349         * converter.C: adjust
17350         * figureForm.C: adjust
17351         * importer.C: adjust
17352         * lyx_cb.C: adjust
17353         * lyx_gui_misc.C: adjust
17354         * lyxfunc.C: adjust
17355         * lyxvc.C: adjust
17356         * text2.C: adjust
17357         + more files in subdirs
17358
17359         * lyxparagraph.h (size): move up int file
17360         (GetLayout): ditto
17361
17362         * adjust all uses of Assert to lyx::Assert.
17363
17364         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17365         lyxfunctional in namespace lyx
17366         * layout.C (hasLayout): ditto
17367         (GetLayout): ditto
17368         (GetLayout): ditto
17369         (delete_layout): ditto
17370         (NumberOfClass): ditto
17371         * converter.C (GetFormat): ditto
17372         (GetNumber): ditto
17373         (Add): ditto
17374         (Delete): ditto
17375         (SetViewer): ditto
17376         * bufferlist.C (getFileNames): ditto
17377         (emergencyWriteAll): ditto
17378         (exists): ditto
17379         (getBuffer): ditto
17380         * MenuBackend.C (hasSubmenu): ditto
17381         (hasMenu): ditto
17382         (getMenu): ditto
17383         * BufferView_pimpl.C (getInsetByCode): ditto
17384
17385 2001-04-18  Juergen Vigna  <jug@sad.it>
17386
17387         * vspace.C (asLatexString): fixed the 100% problem.
17388
17389 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17390
17391         * lyxfunc.C (Dispatch):
17392         * minibuffer.C:
17393         * minibuffer.h: add a few std:: qualifiers
17394
17395 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17396
17397         * minibuffer.[Ch]: reimplement so that commands is initiated and
17398         run from lyxfunc, simplified som handling, and made the completion
17399         and history code for complete. wip.
17400
17401         * lyxfunc.C (processKeySym): call message
17402         (miniDispatch): new temporary method
17403         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17404         (LFUN_MESSAGE): implement
17405         (LFUN_MESSAGE_PUSH): implement
17406         (LFUN_MESSAGE_POP): implement
17407         (initMiniBuffer): the initial/defualt minibuffer message.
17408
17409         * lyxfont.[Ch]: inline some more getters
17410
17411         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17412
17413         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17414
17415         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17416         (AutoSave): use LFUN_MESSAGE
17417         (Reconfigure): ditto
17418
17419         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17420
17421         * figureForm.C: use LFUN_MESSAGE
17422
17423         * converter.C (runLaTeX): use LFUN_MESSAGE
17424
17425         * bufferview_funcs.C: use LFUN_MESSAGE
17426         (Melt): ditto
17427         (changeDepth): ditto
17428
17429         * bufferparams.h: use boost::
17430
17431         * bufferlist.h: inherit privately from noncopyable
17432
17433         * bufferlist.C (loadLyXFile): remove some commented code.
17434
17435         * buffer.C (runChktex): use LFUN_MESSAGE
17436
17437         * ShareContainer.h: inherit privately from noncopyable
17438
17439         * ParagraphParameters.[hC] (depth): inline it.
17440
17441         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17442         methods.
17443         (message): new method
17444         (messagePush): ditto
17445         (messagePop): ditto
17446         (show): init minibuffer
17447         (showState): direct call
17448
17449         * LaTeX.[Ch]: inherit privately from noncopyable
17450         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17451         instead of WriteStatus.
17452
17453         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17454
17455         * BufferView_pimpl.C (buffer): don't init minibuffer
17456         (workAreaButtonPress): use LFUN_MESSAGE
17457         (workAreaButtonRelease): ditto
17458         (savePosition): ditto
17459         (restorePosition): ditto
17460         (MenuInsertLyXFile): ditto
17461         (workAreaExpose): don't init minibuffer
17462         (update): remove commented code, simplify
17463
17464         * BufferView2.C (openStuff): use LFUN_MESSAGE
17465         (toggleFloat): ditto
17466         (menuUndo): ditto
17467         (menuRedo): ditto
17468         (copyEnvironment): ditto
17469         (pasteEnvironment): ditto
17470         (copy): ditto
17471         (cut): ditto
17472         (paste): ditto
17473         (gotoInset): ditto
17474         (updateInset): remove some commented code
17475
17476         * lastfiles.h: inherit privately from noncopyable
17477         * layout.h: ditto
17478         * lyx_gui.h: ditto
17479         * lyx_main.h: ditto
17480         * lyxlex.h: ditto
17481         * lyxlex_pimpl.h: ditto
17482
17483         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17484         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17485         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17486
17487         * LyXAction.h: inherit privately from noncopyable, add methods
17488         func_begin, func_end, returning iterators to the func map.
17489
17490         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17491         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17492         (func_begin): new method
17493         (func_end): new method
17494
17495         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17496         and not)
17497         (copySelection): ditto
17498         (pasteSelection): ditto
17499
17500         * BufferView.C: whitespace change
17501         * BufferView.h: inherit privately from noncopyable
17502
17503 2001-04-16  Allan Rae  <rae@lyx.org>
17504
17505         * tabular-old.C (l_getline):
17506         * spellchecker.C (sc_check_word):
17507         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17508         an unrecognised preprocessor directive.  So ensure they're wrapped.
17509
17510 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17511
17512         * src/exporter.C (Export): Give an error message when path to file
17513         contains spaces.
17514
17515 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17516
17517         * LaTeX.C (deplog): Always check that foundfile exists.
17518
17519 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17520
17521         * lyx_main.h:
17522         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17523
17524 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17525
17526         * tabular.[Ch] (getLabelList): implement new method
17527
17528         * minibuffer.h: comment ouf setTiimer
17529
17530         * minibuffer.C (ExecutingCB): constify res
17531         (peek_event): constify s
17532         (Set): constify ntext
17533         (Init): constify nicename
17534
17535         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17536
17537         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17538         (savePosition): use two params to Minibuffer::Set
17539         (restorePosition): ditto
17540
17541 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17542
17543         * lyx_main.C: include language.h
17544
17545         * Makefile.am (lyx_main.o): add language.h
17546
17547 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17548
17549         * exporter.C:
17550         * paragraph.C:
17551         * screen.C:
17552         * tabular.C:
17553         * CutAndPaste.C: include gettext.h
17554
17555         * lyxfont.h: remove old hack with ON and OFF.
17556
17557         * lyxparagraph.h:
17558         * lyxfont.h: do not include language.h...
17559
17560         * BufferView2.C:
17561         * LaTeXFeatures.C:
17562         * Painter.C:
17563         * bufferview_funcs.C:
17564         * font.C:
17565         * lyxfont.C:
17566         * text.C:
17567         * text2.C:
17568         * trans_mgr.C:
17569         * paragraph.C: ... but do it here instead
17570
17571 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17572
17573         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17574
17575         * tabular.C: small reformat
17576
17577         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17578         NEW_INSETS version
17579         (GetChar): ditto
17580         (BreakParagraph): ditto
17581         (SetOnlyLayout): ditto
17582         (SetLayout): ditto
17583
17584         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17585         with one arg less.
17586
17587         * lastfiles.C: removed most using decl, add std:: where needed
17588
17589         * buffer.C: ws changes
17590
17591         * MenuBackend.C (class compare_format): put into anon namespace
17592         (expand): constify label, names, action, action2
17593         (expand):
17594
17595         * text.C (SingleWidth): constify font
17596         (IsBoundary): constify rtl2
17597         (GetVisibleRow): constify ww
17598
17599         * LaTeX.C (deplog): constify logfile
17600
17601         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17602         start_x, end_x
17603         (workAreaExpose): constify widthChange, heightChange
17604
17605         * lyxrow.C (par): moved
17606         (height): moved
17607         (next): moved
17608         * lyxrow.h: as inlines here
17609
17610         * lyxfont.h (shape): moved from lyxfont.C
17611         (emph): moved from lyxfont.C
17612
17613         * lyxfont.C (LyXFont): use initialization list for all
17614         constructors
17615         (shape): move to lyxfont.h as inline
17616         (emph): move to lyxfont.h as inline
17617
17618
17619 2001-04-04  Juergen Vigna  <jug@sad.it>
17620
17621         * vspace.C: had to include stdio.h for use of sscanf
17622
17623 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17624
17625         * BufferView.h:
17626         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17627         independent of xforms.
17628
17629 2001-04-02  Juergen Vigna  <jug@sad.it>
17630
17631         * spellchecker.C: fixed namespace placing!
17632
17633 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17634
17635         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17636         the LyXParagraph * is 0.
17637
17638 2001-03-29  Juergen Vigna  <jug@sad.it>
17639
17640         * vspace.C: added support for %, c%, p%, l%.
17641         (stringFromUnit): added helper function.
17642         (asLatexString): changed to give right results for the %-values.
17643
17644         * buffer.C: convert the widthp in a width%.
17645
17646 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17647
17648         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17649         figureForm.[Ch].
17650
17651         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17652         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17653
17654         * lyx_cb.[Ch]: see above.
17655
17656         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17657         form1.[Ch].
17658
17659         * form1.[Ch]:
17660         * lyx.[Ch]: replaced by figure_form.[Ch].
17661
17662         * lyx_gui.C:
17663         * lyx_gui_misc.C:
17664         * lyxfunc.C: changed headers associated with above changes.
17665
17666 2001-03-27  Juergen Vigna  <jug@sad.it>
17667
17668         * BufferView_pimpl.C: set the temporary cursor right!
17669
17670 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17671
17672         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17673
17674 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17675
17676         * LString.h: removed "using std::getline"!
17677
17678         * BufferView_pimpl.C (Dispatch): changes due to changes in
17679         InsetInclude::Params.
17680
17681         * buffer.C (tag_name): removed redundant break statements as they were
17682         producing lots of warnings with my compiler.
17683
17684 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17685
17686         * LString.h: add "using std::getline" when using the real <string>.
17687
17688 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17689
17690         * buffer.C: removed bitset usage.
17691         PAR_TAG moved to an anonymous name space.
17692         (tag_name): new funtion, also in the anonymous namespace.
17693         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17694         (makeDocBookFile): clean code. Completed transition from string arrays
17695         to string vectors.
17696         (SimpleDocBookOnePar): code clean.
17697
17698 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17699
17700         * tabular.C: add some comments.
17701
17702 2001-03-22  Juergen Vigna  <jug@sad.it>
17703
17704         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17705         compatibility read a bit and fixed bug with minipage in different
17706         depth.
17707
17708 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17709
17710         * buffer.C (pop_tag): removed.
17711         (push_tag): removed.
17712         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17713         array replaced with vector. Added support for CDATA sections.
17714         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17715         at any nest level.
17716         (makeDocBookFile): XML conformant declaration of CDATA section,
17717         fixed bug related to <emphasis> in the first paragraph char.
17718         (sgmlOpenTag): exclude empty tags.
17719         (sgmlCloseTag): ditto.
17720
17721         * buffer.h (pop_tag): removed.
17722         (push_tag): removed.
17723
17724 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17725
17726         * language.h (Languages): added size_type and size().
17727
17728 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17729
17730         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17731         response on compability reading of minipages. One probliem is that
17732         the old usage of minipages was flertydig
17733
17734         * several files here and in subdirs: don't use static at file
17735         scope use anon namespaces instead.
17736
17737 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17738
17739         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17740         LaTeX output. This is necessary for Literate document
17741         processing.
17742
17743 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17744
17745         * buffer.C: insert hfill when needed.
17746
17747         * tabular.C (l_getline): use string::erase, small whitespace change.
17748
17749         * BufferView_pimpl.C: try the anon namespace.
17750         * WorkArea.C: ditto
17751
17752 2001-03-16  Juergen Vigna  <jug@sad.it>
17753
17754         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17755         otherwise it won't open options-dialogs.
17756
17757         * buffer.C: honor pextraWidth(p) on converting minipages.
17758
17759         * tabular.C (l_getline): changed the functions to strip trailing \r.
17760
17761 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17762
17763         * BufferView_pimpl.C:
17764         * minibuffer..C: added "using SigC::slot" declaration.
17765
17766 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17767
17768         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17769
17770         * text2.C: ditto
17771
17772         * text.C: ditto
17773
17774         * paragraph.C: ditto
17775
17776         * lyxtext.h: NO_PEXTRA
17777
17778         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17779
17780         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17781         * ParameterStruct.h: ditto
17782         * ParagraphParameters.h: ditto
17783         * lyxparagraph.h: ditto
17784
17785 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17786
17787         * buffer.C: add compability for minipage alignment.
17788         (latexParagraphs): remove unwanted pextra check.
17789
17790         * several files: remove CXX_WORKING_NAMESPACES
17791
17792         * buffer.C (pop_tag): tie is in namespace boost
17793
17794         * BufferView.h: noncopyable is in namespace boost
17795         * lyxlex.h: ditto
17796         * lyx_main.h: ditto
17797         * lyx_gui.h: ditto
17798         * layout.h: ditto
17799         * lastfiles.h: ditto
17800         * bufferlist.h: ditto
17801         * ShareContainer.h: ditto
17802         * LyXView.h: ditto
17803         * LyXAction.h: ditto
17804         * LaTeX.h: ditto
17805
17806 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17807
17808         * Merging changes from BRANCH_MVC back into HEAD.
17809
17810         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17811
17812 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17813
17814         * BufferView_pimpl.C: change from intl.C
17815
17816         * combox.h:
17817         * combox.C:
17818         * Makefile.am: move combox.*
17819
17820         * form1.h:
17821         * form1.C:
17822         * lyx_gui.C:
17823         * intl.h:
17824         * intl.C: remove dialog (covered by prefs)
17825
17826 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17827
17828         * lyxfunc.C (Dispatch): removed redundant break statement.
17829
17830 2001-03-14  Juergen Vigna  <jug@sad.it>
17831
17832         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17833
17834 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17835
17836         * buffer.C: add hack to fix compability reading of minipages.
17837
17838 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17839
17840         * buffer.C (getLists): Cleanup.
17841
17842 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17843
17844         * lyxfont.C (update): don't honor toggleall on font size.
17845
17846 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17847
17848         * bmtable.c:
17849         * bmtable.h:
17850         * Makefile.am: moved to frontends/xforms/
17851
17852         * lyx_gui_misc.C:
17853         * lyxfunc.C:
17854         * BufferView_pimpl.C: changes for moved mathpanel
17855
17856 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17857
17858         * gettext.h: fix gettext_init() in --disable-nls
17859
17860 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17861
17862         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17863
17864 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17865
17866         * lyx.C:
17867         * lyx.h: strip external form
17868
17869 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17870
17871         * BufferView_pimpl.C: add comment, destroySplash()
17872
17873 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17874
17875         * BufferView_pimpl.C:
17876         * LyXAction.C:
17877         * buffer.C:
17878         * commandtags.h:
17879         * lyxfunc.C: use re-worked insetinclude
17880
17881 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17882
17883         * buffer.C: add using std::stringstream.
17884
17885         * lyx_cb.C: readd using std::ios.
17886
17887         * buffer.C: add using std::map.
17888
17889         * BufferView_pimpl.C: add using std::vector.
17890
17891         * ShareContainer.h: add std:: to swap.
17892
17893         * buffer.h: add some typedefs
17894         * buffer.C (getLists): use them
17895         (getLists): renamed from getTocList.
17896         add a counter for the different float types and use it in the
17897         generated string.
17898         (getLists): use the same counter for the NEW_INSETS and the "non"
17899         NEW_INSETS
17900
17901         * lyx_cb.h: remove unused items, includes, using etc.
17902
17903         * ShareContainer.h: remove some commented code, add more comments
17904         and "documentation".
17905
17906 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17907
17908         * buffer.C (getTocList): make the list also when NEW_INSETS is
17909         defined.
17910
17911         * buffer.h: remove TocType
17912
17913         * buffer.C (getTocList): change to return a map<string,
17914         vector<TocItem> >, implement for dynamic number of list.
17915
17916         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17917         * text2.C (PasteSelection): adjust
17918         * CutAndPaste.C (pasteSelection): adjust
17919
17920         * FloatList.C (FloatList): update from the new_insets branch.
17921         * Floating.[Ch]: ditto
17922         * LaTeXFeatures.C: ditto
17923         * buffer.C: ditto
17924         * lyxlex_pimpl.C: ditto
17925
17926         * paragraph.C (Last): remove when NEW_INSETS is defined.
17927
17928         * other file: changes because of the above.
17929
17930 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17931
17932         * lyxparagraph.h: rename next to next_, previous to previous_,
17933         make them private for NEW_INSETS. Rename Next() to next(),
17934         Previous() to previous().
17935
17936         * other files: changes because of the above.
17937
17938 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17939
17940         * BufferView.h:
17941         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17942         problem.
17943
17944 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17945
17946         * main.C (main): pass lyx_localedir to gettext_init().
17947
17948         * gettext.h: remove locale_init and gettext_init macros
17949
17950         * gettext.C (locale_init): new function
17951         (gettext_init): new function
17952
17953         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17954         setlocale().
17955
17956 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17957
17958         * Moved credits to frontends:
17959         * credits.[Ch]: removed
17960         * credits_form.[Ch]: removed
17961         * lyx_gui_misc.C: remove credits stuff
17962         * Makefile.am:
17963
17964 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17965
17966         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17967
17968         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17969         unneeded destructor.
17970
17971         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17972         a standalone pointer again.
17973
17974         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17975
17976 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17977
17978         * Makefile.am:
17979         * filedlg.h:
17980         * filedlg.C:
17981         * LyXAction.C:
17982         * ToolbarDefaults.C:
17983         * bufferlist.C:
17984         * commandtags.h:
17985         * form1.C:
17986         * form1.h:
17987         * lyx_cb.C:
17988         * lyx_cb.h:
17989         * lyxfunc.h:
17990         * lyxfunc.C:
17991         * BufferView_pimpl.C: use new file dialog in GUII
17992
17993         * lyx_cb.h:
17994         * lyx_cb.C: remove LayoutsCB to Toolbar
17995
17996 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17997
17998         * ShareContainer.h (get): add std:: qualifier
17999
18000 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18001
18002         * ShareContainer.h: define a proper ShareContainer::value_type
18003         type (and use typename to please compaq cxx)
18004
18005 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18006
18007         * lyxparagraph.h: move serveral local vars to
18008         ParameterStruct/ParagraphParameters., use ShareContainer in
18009         FontTable., make vars in FontTable private and add getter and
18010         setter.
18011
18012         * paragraph.C: changes because of the above.
18013
18014         * lyxfont.h: remove copy constructor and copy assignment. (the
18015         default ones is ok), move number inside FontBits. move inlines to
18016         lyxfont.C
18017
18018         * lyxfont.C: add number to initializaton of statics, move several
18019         inlines here. constify several local vars. some whitespace
18020         cleanup. Dont hide outerscope variables.
18021
18022         * Spacing.h: add two new constructors to match the set methods.
18023
18024         * ShareContainer.h: new file, will perhaps be moved to support
18025
18026         * ParameterStruct.h: new file
18027
18028         * ParagraphParameters.h: new file
18029
18030         * ParagraphParameters.C: new file
18031
18032         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18033         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18034
18035         * BufferView_pimpl.C: ParagraphParameter changes.
18036         * buffer.C: Likewise.
18037         * bufferview_funcs.C: Likewise.
18038         * text.C: Likewise.
18039         * text2.C: Likewise.
18040
18041 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18042
18043         * lyxfind.C (LyXReplace): do not redefine default argument in
18044         implementation.
18045         (IsStringInText): ditto
18046         (SearchForward): ditto
18047         (SearchBackward): ditto
18048
18049 2001-03-06  Juergen Vigna  <jug@sad.it>
18050
18051         * lyxfind.C (IsStringInText): put parentes around expressions.
18052
18053 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18054
18055         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18056
18057 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18058
18059         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18060
18061         * stl_string_fwd.h: add comment
18062
18063         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18064
18065         * tabular.h:
18066         * tabular.C: remove unused DocBook methods
18067
18068         * intl.C:
18069         * language.C:
18070         * paragraph.C:
18071         * buffer.C:
18072         killed DO_USE_DEFAULT_LANGUAGE
18073
18074 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18075
18076         * lyx_gui.C: do not include language.h.
18077
18078         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18079         arguments in function implementation.
18080
18081 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18082
18083         * BufferView_pimpl.C: add <ctime>
18084
18085 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18086
18087         * BufferView_pimpl.C: add using std::find_if
18088
18089 2001-02-27  José Matos  <jamatos@fep.up.pt>
18090
18091         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18092         by OnlyPath.
18093
18094 2001-02-11  José Matos  <jamatos@fep.up.pt>
18095
18096         * buffer.C (makeDocBookFile): command styles now have a parameter as
18097         "title" by default.
18098
18099 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18100
18101         * layout_forms.[Ch]: removed
18102         * lyx_cb.[Ch]: out character
18103         * lyx_gui.C: out character
18104         * lyx_gui_misc.C: out character
18105         * bufferview_funcs.C: : out character,
18106         added toggleall as parameter in ToggleAndShow
18107
18108 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18109
18110         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18111
18112         * text2.C (SetCurrentFont): Disable number property at boundary.
18113
18114 2001-02-26  Juergen Vigna  <jug@sad.it>
18115
18116         * lyxfunc.C (getStatus): added a string argument override function so
18117         that this is correctly called from LyXFunc::Dispatch if it contains a
18118         do_not_use_argument which is used!
18119         (Dispatch): added check for "custom" export and call appropriate func.
18120
18121 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18122
18123         * lyxrc.C: Add language_command_local, language_use_babel and
18124         language_global_options.
18125
18126         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18127
18128         * buffer.C (makeLaTeXFile): Use language_use_babel and
18129         language_global_options.
18130
18131 2001-02-23  Juergen Vigna  <jug@sad.it>
18132
18133         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18134         which works with LyXText and putted it inside BufferView. Here now we
18135         only call for that part the BufferView::Dispatch() function.
18136
18137         * BufferView.C (Dispatch): added.
18138
18139         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18140         functions which needs to use a LyXText over from LyXFunc.
18141         (MenuInsertLyXFile): added
18142         (getInsetByCode): added
18143         (moveCursorUpdate): added
18144         (static TEXT): added
18145
18146 2001-02-22  Juergen Vigna  <jug@sad.it>
18147
18148         * BufferView_pimpl.C (update): call a status update to see if LyXText
18149         needs it.
18150
18151 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18152
18153         * vc-backend.C (revert): implement for CVS
18154         (getLog): implement for CVS
18155
18156 2001-02-20  Juergen Vigna  <jug@sad.it>
18157
18158         * text2.C (ClearSelection): added BufferView param for inset_owner call
18159
18160         * lyxfunc.C (TEXT): added this function and use it instead of
18161         directly owner->view()-text of getLyXText().
18162
18163 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18164
18165         * src/layout_forms.C: out preamble
18166         * src/layout_forms.h: out preamble
18167         * src/lyx_cb.C: out preamble
18168         * src/lyx_cb.h: out preamble
18169         * src/lyx_gui.C: out preamble
18170         * src/lyx_gui_misc.C: out preamble
18171         * src/lyxfunc.C: connect with guii preamble
18172
18173 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18174
18175         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18176
18177 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18178
18179         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18180         whether to run bibtex.
18181
18182 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18183
18184         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18185
18186 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18187
18188         * Makefile.am (lyx_SOURCES): removed bibforms.h
18189
18190         * vspace.h: doxygen
18191
18192         * text.C (GetVisibleRow): make several local vars const
18193
18194         * tabular.C: small cleanup.
18195
18196         * lyxserver.C (callback): use compare instead of strncmp
18197
18198         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18199         inlines to after class or to paragraph.C
18200
18201         * lyxfont.h: remove friend operator!=
18202
18203         * converter.h: move friend bool operator< to non friend and after
18204         class def.
18205
18206         * combox.h: small cleanup
18207
18208         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18209         to inlines after class def.
18210
18211         * buffer.C (pop_tag): use string operations instead of strcmp
18212
18213         * bmtable.c: doxygen, small cleanup
18214
18215         * LaTeX.h: remove friend operator==
18216
18217 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18218
18219         * screen.C:
18220         * lyxrc.[Ch]:
18221         * lyxfunc.C:
18222         * lyxfont.[Ch]:
18223         * lyx_cb.C:
18224         * intl.[Ch]:
18225         * commandtags.h:
18226         * buffer.C:
18227         * WorkArea.[Ch]:
18228         * LyXAction.C:
18229         * BufferView_pimpl.C:
18230         * BufferView.[Ch]: remove cruft
18231
18232 2001-02-14  Juergen Vigna  <jug@sad.it>
18233
18234         * lyxfunc.C: removed #if 0 unused code
18235
18236         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18237
18238         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18239
18240         * text2.C (SetSelection): added a BufferView * parameter
18241
18242 2001-02-13  Juergen Vigna  <jug@sad.it>
18243
18244         * lyxfunc.C (Dispatch): fixed protected blank problem.
18245         * BufferView2.C (protectedBlank): added LyxText * parameter.
18246
18247         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18248         (AppendColumn): same as above for column_info.
18249
18250         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18251         (moveCursorUpdate): use a LyXText param for support of InsetText.
18252
18253         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18254         (tripleClick): ditto
18255
18256         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18257
18258         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18259
18260         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18261
18262         * text2.C (SetSelection): set correct update status if inset_owner
18263         (ToggleFree): ditto
18264
18265 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18266
18267         * tabular.C: remove some commented code.
18268
18269 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18270
18271         * BufferView_pimpl.C: call hideSplash()
18272
18273         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18274
18275         * include_form.h:
18276         * bibforms.h: remove
18277
18278         * lyxfunc.C:
18279         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18280           add LFUN_CHILD_CREATE
18281
18282         * counters.h: fix tiny typo
18283
18284         * lyx_cb.C:
18285         * lyx.h:
18286         * lyx_gui.C:
18287         * lyx.C: move splash to frontends/xforms/
18288
18289         * lyx_gui_misc.C: move Include and Bibform to frontends
18290
18291         * lyxvc.h: clarify comment
18292
18293         * vspace.C: tiny housekeeping
18294
18295 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18296
18297         * text.C (PrepareToPrint): RTL Fix.
18298
18299         * paragraph.C (GetUChar): New method.
18300         (String):  Use GetUChar.
18301
18302         * buffer.C (asciiParagraph): Use GetUChar.
18303
18304 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18305
18306         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18307
18308 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18309
18310         * buffer.h:
18311         * buffer.C: rename to getLogName(), handle
18312           build log / latex log nicely
18313
18314 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18315
18316         * MenuBackend.C:
18317         * MenuBackend.h: remove support for reference menuitem type.
18318
18319 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18320
18321         * BufferView_pimpl.C: housekeeping
18322         * BufferView_pimpl.h:
18323         * LyXView.h:
18324         * Makefile.am:
18325         * Timeout.C:
18326         * Timeout.h:
18327         * minibuffer.h: move Timeout GUI-I
18328
18329 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18330
18331         * lyxrc.C (read): Update converters data-structures.
18332
18333 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18334
18335         * LaTeX.h (operator!=): add operator != for Aux_Info
18336
18337 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18338
18339         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18340
18341         * LaTeXLog.C: deleted, useful code moved to Buffer
18342
18343         * buffer.h:
18344         * buffer.C: new function getLatexLogName()
18345
18346         * lyx_gui_misc.C:
18347         * lyx_gui.C:
18348         * lyxvc.C:
18349         * lyxvc.h:
18350         * lyxfunc.C: use frontends for LaTeX and VC logs
18351
18352 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18353
18354         * LaTeX.h: yet another std:: that Allan forgot.
18355
18356         * Variables.C (set): renamed from isset(), because this clashes
18357         with some HP-UX macros (grr).
18358
18359 2001-02-06  Allan Rae  <rae@lyx.org>
18360
18361         * LaTeX.h: Another bug fix.  Missing std:: this time.
18362
18363 2001-02-04  Allan Rae  <rae@lyx.org>
18364
18365         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18366         floats problem. I've left it commented out because it's not quite
18367         correct.  It should also test that the current object is a table or
18368         figure inset.  But I haven't gotten around to figuring out how to do
18369         that.  I *think* it'll be something like: "table" == inset.type()
18370
18371         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18372         bool.
18373
18374 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18375
18376         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18377         all the citation/databases/styles in the auxilary file.
18378         (run): Rerun latex if there was a babel language error.
18379
18380 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18381
18382         * text.C (Backspace): Preserve the font when changing newline char
18383         with a space.
18384         (BreakParagraph): If the cursor is before a space, delete the space.
18385
18386         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18387
18388 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18389
18390         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18391         new argument (code).
18392         (ChangeCitationsIfUnique): New method.
18393
18394         * paragraph.C (GetPositionOfInset): Handle bibkey.
18395
18396 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18397
18398         * BufferView_pimpl.h: change type of Position::par_pos to
18399         LyXParagraph::size_type.
18400
18401 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18402
18403         * BufferView_pimpl.C (savePosition, restorePosition): Write
18404         messages to minibuffer.
18405
18406 2001-01-28  José Matos  <jamatos@fep.up.pt>
18407
18408         * buffer.C (makeDocBookFile): adds support for document language.
18409         A silly restriction on the name of LatexCommand types where removed.
18410         Added support for CDATA sections, allows to chars unescaped, used
18411         among others in code, to avoid escape < and >.
18412
18413 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18414
18415         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18416         saved positions instrad of a stack. Furthermore, a position is
18417         stored using paragraph id/paragraph position.
18418
18419         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18420         Remove LFUN_REF_BACK.
18421
18422 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18423
18424         * converter.C (dvipdfm_options): New method.
18425
18426 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18427
18428         * vspace.C (isValidLength): Fix for empty input string.
18429
18430 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18431
18432         * LyXAction.C (init): change description of LFUN_FIGURE to
18433         "Insert Graphics"
18434
18435 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18436
18437         * LaTeX.C: add using directive
18438
18439 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18440
18441         * MenuBackend.C (expand): Fix the sorting of the formats.
18442
18443 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18444
18445         * lyx_main.C: tiny error message fix
18446
18447 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18448
18449         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18450         calling fl_initialize(). This fixes the problem with ',' as
18451         decimal separator in text files.
18452
18453 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18454
18455         * trans.C (process): Fix the keymap bug.
18456
18457 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18458
18459         * LaTeX.C (scanAuxFiles): New method. Provides support for
18460         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18461         (scanLogFile) Scan for "run BibTeX" messages.
18462
18463         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18464         OT1 font encoding. Also, load the aecompl package if the ae
18465         package is loaded.
18466
18467         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18468
18469 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18470
18471         * texrow.C (increasePos): turn two error messages into debug
18472         messages.
18473
18474 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18475
18476         * LaTeX.C (scanAux): Handle the \@input macro.
18477         (runBibTeX): Use scanAux().
18478
18479         * language.C (latex_options_): New field.
18480
18481         * LaTeXFeatures.C (getMacros): Add language macros.
18482
18483         * buffer.C (makeLaTeXFile): Small fix.
18484
18485 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18486
18487         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18488
18489         * text2.C: add a using directive.
18490
18491 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18492
18493         * BufferView2.C:
18494         * lyx_gui_misc.h:
18495         * lyxfr1.C:
18496         * lyxfunc.C: kill LyXBell.
18497
18498 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18499
18500         * text.C (IsBoundary): Remove the error message
18501
18502         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18503
18504         * lyxrc.C (setDefaults): Correct initialization value for
18505         font_norm_type.
18506
18507 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18508
18509         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18510         gotoError().
18511
18512         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18513         and GotoNextNote().
18514
18515         * src/LyXAction.C: Added reference-next.
18516
18517         * text.C (InsertChar): Use contains instead of strchr.
18518
18519         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18520
18521 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18522
18523         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18524         alignment commands (when needed).
18525
18526         * text.C (InsertChar): Add ':' to number separator chars.